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

Method below

core/tests/test_persisted_schema_roundtrip.rs:73–79  ·  view source on GitHub ↗
(&mut self, n: u64)

Source from the content-addressed store, hash-verified

71 x.wrapping_mul(0x2545_F491_4F6C_DD1D)
72 }
73 fn below(&mut self, n: u64) -> u64 {
74 if n == 0 {
75 0
76 } else {
77 self.next() % n
78 }
79 }
80 fn boolean(&mut self) -> bool {
81 self.next() & 1 == 1
82 }

Callers 15

usize_belowMethod · 0.80
f64_finiteMethod · 0.80
string_vecMethod · 0.80
json_valueMethod · 0.80
gen_tool_result_fieldFunction · 0.80
gen_content_blockFunction · 0.80
gen_messageFunction · 0.80
gen_verification_statusFunction · 0.80
gen_verification_reportFunction · 0.80
gen_subagent_taskFunction · 0.80
gen_agent_eventFunction · 0.80
gen_run_statusFunction · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected