summaryrefslogtreecommitdiff
path: root/random.c
AgeCommit message (Expand)Author
2016-02-24* random.c (limited_rand): Add a specialized path for the limit fits in 32 bit.akr
2015-12-09* *.c (*_memsize): do not check ptr.ko1
2015-12-05random.c: fix filling sizenobu
2015-12-01explicit_bzero.c: needs windows.hnobu
2015-11-30* random.c (InitVM_Random): move Random::DEFAULT initializationkosaki
2015-11-30* random.c (Init_RandomSeed): move all Random::DEFAULTkosaki
2015-11-30* random.c (init_hashseed, init_siphash): extract initializekosaki
2015-11-30* random.c (init_randomseed): remove "initial" argument. It neverkosaki
2015-11-30* random.c: random_raw_seed don't use GRND_NONBLOCK. GRND_NONBLOCKkosaki
2015-11-30* missing/explicit_bzero.c: new file. define explicit_bzero.kosaki
2015-10-18random.c: comment [ci skip]nobu
2015-10-18Revert r52180kosaki
2015-10-18* random.c (fill_random_bytes_urandom): add a comment why usingkosaki
2015-10-18* random.c (fill_random_bytes_syscall): don't use GRND_NONBLOCK.kosaki
2015-10-18* random.c (fill_random_bytes_syscall): use ATOMIC_SET() forkosaki
2015-07-25random.c: get rid of blockingnobu
2015-07-14fix compile error with clangkazu
2015-07-07* random.c (fill_random_bytes_syscall): fix compile error.kazu
2015-07-07random.c: fix failures on old Linuxnormal
2015-07-07random.c: try getrandomnobu
2015-07-07random.c: separate fill_random_bytesnobu
2015-06-25random.c: refactornobu
2015-03-19random.c: fix handle to releasenobu
2015-03-16ruby.h: suppress false warningsnobu
2015-03-16ruby.h: suppress false warningsnobu
2015-03-04* random.c (random_raw_seed): Avoid calling fill_random_bytes()odaira
2015-02-15random.c: suppress a warningnobu
2015-02-14random.c: ArgumentError for invalid argumentnobu
2015-02-14random.c: allow negative argument to random_numbernobu
2015-02-14random.c: rand_random_numbernobu
2015-02-14random.c: use PRIsVALUEnobu
2015-02-14random.c: Random.raw_seednobu
2014-12-01use 0 for reservednobu
2014-11-15* internal.h: Include ruby.h and ruby/encoding.h to beakr
2014-07-09random.c: fix castsnobu
2014-07-03Init functions don't need ID cachesnobu
2014-02-15* internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr
2013-11-20* random.c (rand_init): Make it possible to specify arbitrary arrayakr
2013-10-29* add RUBY_TYPED_FREE_IMMEDIATELY to data types which only useko1
2013-10-02* random.c (make_seed_value): a local array declaration was accessedmame
2013-09-25* include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().ko1
2013-08-13random.c: coerce before check negativenobu
2013-08-07* random.c (random_load): use RARRAY_RAWPTR() instead ofko1
2013-06-12* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo
2013-06-11* random.c (rand_int): Use rb_big_uminus.akr
2013-06-11* internal.h (INTEGER_PACK_NEGATIVE): Defined.akr
2013-06-10* bignum.c (rb_integer_pack): Returns sign instead of words.akr
2013-06-09* bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.akr
2013-06-09* bignum.c (rb_integer_pack): numwords_allocated argument removed.akr
2013-06-08* random.c (limited_big_rand): declare rnd, lim and mask as uint32_tcharliesome