MCPcopy Create free account
hub / github.com/AI45Lab/Code / next

Method next

core/tests/test_persisted_schema_roundtrip.rs:65–72  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

63 .wrapping_add(0x1234_5678))
64 }
65 fn next(&mut self) -> u64 {
66 let mut x = self.0;
67 x ^= x >> 12;
68 x ^= x << 25;
69 x ^= x >> 27;
70 self.0 = x;
71 x.wrapping_mul(0x2545_F491_4F6C_DD1D)
72 }
73 fn below(&mut self, n: u64) -> u64 {
74 if n == 0 {
75 0

Callers 4

belowMethod · 0.45
booleanMethod · 0.45
u64_smallMethod · 0.45
i32_smallMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected