1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Subhomoy Haldar
3647fb4def
rand: move dist functions to top module and PRNG interface; minor cleanup () 2022-05-22 13:21:52 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Delyan Angelov
a0e7a46be4 rand: speed up MT19937RNG.u64 2022-04-10 13:07:35 +03:00
Delyan Angelov
6c25f5b291 rand: fix needless array allocation in MT19937RNG.u64() 2022-04-10 13:02:31 +03:00
Subhomoy Haldar
022fae1e7f
rand: make mt19937 automatically seeded, add seed_len to wyrand () 2022-04-07 16:00:30 +03:00
Subhomoy Haldar
a0d9e6e1c2
rand: extend PRNG interface, add buffering support () 2022-02-28 13:17:54 +02:00
Subhomoy Haldar
114a341f5f
rand: simplify rand.PRNG, move to optional types for error handling () 2022-02-23 12:36:14 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Delyan Angelov
8837712f2b
rand: fix leaks with -autofree 2021-09-23 12:24:03 +03:00
Subhomoy Haldar
08da33fa5a
rand: add non uniform distributions in the rand.dist module () 2021-03-12 21:24:43 +02:00
yuyi
a547e889af
checker: check array literal modify error () 2021-03-11 14:57:04 +02:00
Subhomoy Haldar
97103f680a
rand: separate rand.util and rand.seed submodules () 2021-01-26 15:55:09 +02:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 () 2021-01-18 13:20:06 +01:00
Larpon
ed6ba0a2b8
rand: document all functions, document range notation form, fix copy-pasta () 2020-12-27 20:06:17 +02:00
Delyan Angelov
dab66593fc vlib: run vfmt over vlib files, so that v doc -m vlib/ can run without warnings 2020-10-21 12:54:10 +03:00
Daniel Däschle
3a146a6dbe
checker: fix error pos on default value () 2020-09-09 15:34:41 +02:00
Alexander Medvednikov
ea31f75098 checker: more default field fixes 2020-09-09 14:14:44 +02:00
Delyan Angelov
9c9533dad9
checker: add error for fn f() Struct { return &Struct{} } () 2020-07-29 21:40:43 +02:00
Takeru Tanaka
f61a7bf3df
os,rand.mt19937: fix broken links in code comments () 2020-07-12 16:18:52 +03:00
Hungry Blue Dev
e649cf84e3
rand: reorganize: phase 2 2020-06-09 15:06:07 +02:00