index
:
ruby.git
feature/enumerable-first-with-block
feature/logger-constructor-level
feature/openssl-110-old
feature/openssl-110-v1
feature/openssl-110-v2
feature/openssl-110-v3
fix/git-worktree-detection
fix/openssl-segv-free
fix/openssl-segv-free-just-fix-it
fix/set-sortedset-comparison
ky/ruby_2_7-openssl-2.1.4
master
matchdata-hash-fix
rhe-tools
rmatch-regs-is-never-null
topic/fix-throw-false
topic/iseq-disasm-kwargs
topic/net-http-unstarted-sslsocket
topic/openssl-110
topic/openssl-ccm
topic/openssl-clear-error-queue
topic/openssl-doc
topic/openssl-ecpoint-mul-bug
topic/openssl-fail-read-write-not-started-socket
topic/openssl-get-rid-of-time_t
topic/openssl-inspect
topic/openssl-pkey-ec
topic/re-matchdata-fixes
topic/read-ahead
topic/ripper-unnamed-kwrest
topic/string-expand-improvements
topic/string-integer-overflow
wip-topic/2-power-string-length
wip-topic/dont-check-prototype-arg-support
wip-topic/pack-integer-overflow
wip-topic/signed-integer-overflow
wip-topic/thread-fix-start-with-empty-iseq
wip/cleanup-configure
wip/cleanup-num-macros
work
work2
rhe's working repository
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
test
/
ruby
/
test_rand.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
* test/lib/envutil.rb: Moved from test/ruby/.
akr
2014-11-13
1
-1
/
+0
*
* test/ruby: get rid of warnings.
usa
2014-03-05
1
-2
/
+3
*
test/ruby: better assertions
nobu
2013-12-13
1
-5
/
+5
*
* random.c (rand_init): Make it possible to specify arbitrary array
akr
2013-11-20
1
-1
/
+1
*
* test/ruby/test_rand.rb: fix r43224. local variable `e' is
ko1
2013-10-09
1
-1
/
+1
*
test/ruby: assert_raise_with_message
nobu
2013-10-09
1
-4
/
+2
*
call GC.start before fork-related tests to decrease GC cost on fork children
naruse
2013-07-11
1
-0
/
+1
*
* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError
shugo
2013-06-12
1
-12
/
+0
*
random.c: increase limit for generic rand
nobu
2013-02-24
1
-0
/
+8
*
random.c: fix error message
nobu
2013-02-22
1
-0
/
+15
*
random.c, rational.c: make marshal methods private
nobu
2012-12-03
1
-5
/
+5
*
array.c: use rb_random_ulong_limited
nobu
2012-10-09
1
-2
/
+3
*
[Bug #6540]
nobu
2012-06-22
1
-0
/
+8
*
random.c: check initialize and load
nobu
2012-06-22
1
-0
/
+21
*
* random.c (random_s_rand): ensure default PRNG is re-initialized
nobu
2012-03-11
1
-2
/
+31
*
* test/ruby/test_rand.rb (test_random_bytes): fold mysteriously
nobu
2011-06-30
1
-2
/
+6
*
* random.c (random_s_rand, Init_Random): Random.rand should behave as
mrkn
2011-04-24
1
-2
/
+16
*
* lib/test/unit.rb (assert_include): add alias.
nobu
2011-02-12
1
-1
/
+1
*
* random.c (random_rand): get rid of overflow.
nobu
2010-11-20
1
-0
/
+2
*
* array.c (rb_ary_shuffle_bang, rb_ary_sample): add optional
nobu
2010-08-23
1
-0
/
+1
*
* complex.c (nucomp_marshal_load): should check the argument.
nobu
2010-08-05
1
-0
/
+7
*
* random.c (Init_Random): add Random::DEFAULT.
nobu
2010-08-03
1
-0
/
+12
*
add an assertion message.
akr
2010-06-05
1
-1
/
+1
*
* random.c (random_rand): subtraction method of non-numeric can
nobu
2010-05-26
1
-0
/
+3
*
add a test.
akr
2010-04-12
1
-0
/
+7
*
* random.c (rand_init): ignore higher bits if all they are same as
nobu
2010-04-07
1
-0
/
+7
*
* random.c (random_rand): raise ArgumentError on nil, as the
nobu
2010-04-03
1
-0
/
+1
*
* random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]
naruse
2010-03-15
1
-0
/
+10
*
* random.c (random_rand): fixed for edge cases of ranges.
nobu
2009-08-26
1
-0
/
+8
*
* random.c (random_rand): unified random_int and random_float.
nobu
2009-08-26
1
-44
/
+50
*
* random.c (rb_random_int): arguments have to be converted to
nobu
2009-08-02
1
-0
/
+1
*
* test/ruby/test_rand.rb: add tests for Random#float's rejection
mame
2009-08-02
1
-0
/
+3
*
* random.c (rand_int): prevent from GC.
nobu
2009-08-02
1
-1
/
+12
*
* test/ruby/test_rand.rb: add tests for Random class.
mame
2009-07-30
1
-0
/
+190
*
* test/ruby/test_rand.rb (test_big_seed): tests also instance methods.
nobu
2009-07-21
1
-2
/
+1
*
* random.c (rand_init): array length of random seed was broken, which
mame
2009-07-21
1
-0
/
+5
*
* random.c (rb_random_t): objectified. [EXPERIMENTAL]
nobu
2009-07-16
1
-80
/
+80
*
* random.c (rb_f_rand): type check simplified. strings are no
matz
2008-12-29
1
-1
/
+1
*
* test/ruby/test_rand.rb: add tests to achieve over 95% test coverage
mame
2008-03-25
1
-0
/
+36
*
add test_rand_0x100000000.
akr
2005-02-07
1
-0
/
+7
*
* random.c (init_by_array): imported from mt19937ar-cok.tgz.
akr
2005-01-04
1
-0
/
+124