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

Method opt_u64

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

Source from the content-addressed store, hash-verified

130 }
131 }
132 fn opt_u64(&mut self) -> Option<u64> {
133 if self.boolean() {
134 Some(self.u64_small())
135 } else {
136 None
137 }
138 }
139 fn opt_usize(&mut self) -> Option<usize> {
140 if self.boolean() {
141 Some(self.usize_below(1_000_000))

Callers 2

gen_subagent_taskFunction · 0.80
gen_agent_eventFunction · 0.80

Calls 2

booleanMethod · 0.80
u64_smallMethod · 0.80

Tested by

no test coverage detected