Home
last modified time | relevance | path

Searched refs:pcg32 (Results 1 – 25 of 96) sorted by relevance

1234

/dports/lang/v/v-0.1.29/vlib/rand/pcg32/
H A Dpcg32_test.v2 import pcg32
19 mut rng := pcg32.PCG32RNG{}
56 mut rng := pcg32.PCG32RNG{}
86 mut rng := pcg32.PCG32RNG{}
111 mut rng := pcg32.PCG32RNG{}
120 mut rng := pcg32.PCG32RNG{}
133 mut rng := pcg32.PCG32RNG{}
147 mut rng := pcg32.PCG32RNG{}
161 mut rng := pcg32.PCG32RNG{}
175 mut rng := pcg32.PCG32RNG{}
[all …]
/dports/graphics/blender/blender-2.91.0/extern/quadriflow/3rd/pcg32/pcg32/
H A Dpcg32.h39 struct pcg32 { struct
41 pcg32() : state(PCG32_DEFAULT_STATE), inc(PCG32_DEFAULT_STREAM) {} in pcg32() function
44 pcg32(uint64_t initstate, uint64_t initseq = 1u) { seed(initstate, initseq); }
175 int64_t operator-(const pcg32 &other) const { argument
200 bool operator==(const pcg32 &other) const { return state == other.state && inc == other.inc; } argument
203 bool operator!=(const pcg32 &other) const { return state != other.state || inc != other.inc; }
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/ext/pcg32/
H A Dpcg32.h39 struct pcg32 { struct
41 pcg32() : state(PCG32_DEFAULT_STATE), inc(PCG32_DEFAULT_STREAM) {} in pcg32() function
44 pcg32(uint64_t initstate, uint64_t initseq = 1u) { seed(initstate, initseq); }
174 int64_t operator-(const pcg32 &other) const { argument
199 bool operator==(const pcg32 &other) const { return state == other.state && inc == other.inc; } argument
202 bool operator!=(const pcg32 &other) const { return state != other.state || inc != other.inc; }
H A DMakefile1 pcg32-demo: pcg32-demo.cpp
4 rm -f pcg32-demo
H A Dpcg32-demo.cpp45 pcg32 rng; in main()
62 sizeof(pcg32)); in main()
/dports/games/openclonk/openclonk-release-8.1-src/src/lib/
H A DC4Random.cpp29 static pcg32 SeededRng() in SeededRng()
32 return pcg32(seed_source); in SeededRng()
35 static pcg32 RandomRng, UnsyncedRandomRng = SeededRng();
72 pcg32 rng(iSeed); in SeededRandom()
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/
H A D.gitmodules4 [submodule "ext/pcg32"]
5 path = ext/pcg32
6 url = https://github.com/wjakob/pcg32
/dports/net/tcpkali/tcpkali-1.1.1/deps/pcg-c-basic/
H A DREADME.md37 cat pcg_basic.c pcg32-demo.c | tcc -run
41 This command will build the three provided demo programs, `pcg32-global-demo`
42 (which uses the global rng), `pcg32-demo` (which uses a local generator), and
48 ./pcg32-demo
52 ./pcg32-demo -r
H A DMakefile.am6 check_pcg32_demo_SOURCES = pcg32-demo.c
8 check_pcg32_global_demo_SOURCES = pcg32-global-demo.c
H A D.gitignore35 pcg32-demo
36 pcg32-global-demo
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/util/
H A Dpcg_random.h25 using pcg32 = ::arrow_vendored::pcg32; variable
/dports/devel/pcg-cpp/pcg-cpp-0.98.1-59-g5b5cac8/sample/
H A Dcppref-sample.cpp51 pcg32 rng(seed_source); in main()
62 pcg32 rng_checkpoint = rng; in main()
/dports/devel/pcg-cpp/pcg-cpp-0.98.1-59-g5b5cac8/test-high/
H A Drun-tests.sh28 ./check-pcg32 > actual/check-pcg32.out
30 ./check-pcg32 > /dev/null
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/misc/broot/broot-1.7.0/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/devel/rust-bindgen/bindgen-0.59.2/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/lang/gleam/gleam-0.18.2/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/shells/nsh/nsh-0.4.2/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/devel/grex/grex-1.3.0/cargo-crates/rand_core-0.6.2/src/
H A Dlib.rs303 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
322 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
326 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()
/dports/devel/grcov/grcov-0.8.2/cargo-crates/rand_core-0.6.3/src/
H A Dlib.rs308 fn pcg32(state: &mut u64) -> [u8; 4] { in seed_from_u64() function
327 chunk.copy_from_slice(&pcg32(&mut state)); in seed_from_u64()
331 rem.copy_from_slice(&pcg32(&mut state)[..rem.len()]); in seed_from_u64()

1234