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

Method u64_small

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

Source from the content-addressed store, hash-verified

84 self.below(n) as usize
85 }
86 fn u64_small(&mut self) -> u64 {
87 self.next() % 1_000_000_000
88 }
89 fn i32_small(&mut self) -> i32 {
90 (self.next() % 512) as i32 - 256
91 }

Callers 7

opt_u64Method · 0.80
gen_trace_eventFunction · 0.80
gen_subagent_taskFunction · 0.80
gen_run_recordFunction · 0.80
gen_loop_checkpointFunction · 0.80
gen_session_dataFunction · 0.80
gen_workflow_checkpointFunction · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected