summaryrefslogtreecommitdiff
path: root/random.c
Commit message (Expand)AuthorAgeFilesLines
* * random.c (limited_rand): Add a specialized path for the limit fits in 32 bit.akr2016-02-241-9/+19
* * *.c (*_memsize): do not check ptr.ko12015-12-091-1/+1
* random.c: fix filling sizenobu2015-12-051-1/+1
* explicit_bzero.c: needs windows.hnobu2015-12-011-0/+1
* * random.c (InitVM_Random): move Random::DEFAULT initializationkosaki2015-11-301-7/+12
* * random.c (Init_RandomSeed): move all Random::DEFAULTkosaki2015-11-301-29/+33
* * random.c (init_hashseed, init_siphash): extract initializekosaki2015-11-301-9/+24
* * random.c (init_randomseed): remove "initial" argument. It neverkosaki2015-11-301-3/+4
* * random.c: random_raw_seed don't use GRND_NONBLOCK. GRND_NONBLOCKkosaki2015-11-301-8/+11
* * missing/explicit_bzero.c: new file. define explicit_bzero.kosaki2015-11-301-1/+1
* random.c: comment [ci skip]nobu2015-10-181-3/+3
* Revert r52180kosaki2015-10-181-1/+5
* * random.c (fill_random_bytes_urandom): add a comment why usingkosaki2015-10-181-0/+5
* * random.c (fill_random_bytes_syscall): don't use GRND_NONBLOCK.kosaki2015-10-181-5/+1
* * random.c (fill_random_bytes_syscall): use ATOMIC_SET() forkosaki2015-10-181-1/+1
* random.c: get rid of blockingnobu2015-07-251-1/+7
* fix compile error with clangkazu2015-07-141-1/+1
* * random.c (fill_random_bytes_syscall): fix compile error.kazu2015-07-071-5/+6
* random.c: fix failures on old Linuxnormal2015-07-071-2/+2
* random.c: try getrandomnobu2015-07-071-1/+23
* random.c: separate fill_random_bytesnobu2015-07-071-15/+32
* random.c: refactornobu2015-06-251-7/+6
* random.c: fix handle to releasenobu2015-03-191-2/+2
* ruby.h: suppress false warningsnobu2015-03-161-2/+0
* ruby.h: suppress false warningsnobu2015-03-161-0/+2
* * random.c (random_raw_seed): Avoid calling fill_random_bytes()odaira2015-03-041-0/+1
* random.c: suppress a warningnobu2015-02-151-1/+1
* random.c: ArgumentError for invalid argumentnobu2015-02-141-4/+17
* random.c: allow negative argument to random_numbernobu2015-02-141-8/+17
* random.c: rand_random_numbernobu2015-02-141-50/+135
* random.c: use PRIsVALUEnobu2015-02-141-3/+1
* random.c: Random.raw_seednobu2015-02-141-28/+78
* use 0 for reservednobu2014-12-011-1/+1
* * internal.h: Include ruby.h and ruby/encoding.h to beakr2014-11-151-1/+0
* random.c: fix castsnobu2014-07-091-4/+4
* Init functions don't need ID cachesnobu2014-07-031-1/+8
* * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr2014-02-151-2/+2
* * random.c (rand_init): Make it possible to specify arbitrary arrayakr2013-11-201-6/+0
* * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only useko12013-10-291-0/+1
* * random.c (make_seed_value): a local array declaration was accessedmame2013-10-021-1/+1
* * include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().ko12013-09-251-1/+1
* random.c: coerce before check negativenobu2013-08-131-1/+1
* * random.c (random_load): use RARRAY_RAWPTR() instead ofko12013-08-071-2/+2
* * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo2013-06-121-1/+0
* * random.c (rand_int): Use rb_big_uminus.akr2013-06-111-2/+1
* * internal.h (INTEGER_PACK_NEGATIVE): Defined.akr2013-06-111-5/+5
* * bignum.c (rb_integer_pack): Returns sign instead of words.akr2013-06-101-4/+4
* * bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.akr2013-06-091-2/+2
* * bignum.c (rb_integer_pack): numwords_allocated argument removed.akr2013-06-091-4/+4
* * random.c (limited_big_rand): declare rnd, lim and mask as uint32_tcharliesome2013-06-081-3/+4