MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / reset

Method reset

tests/binary/impl/src/main.rs:99–101  ·  view source on GitHub ↗

Reset the counter to zero

(&mut self)

Source from the content-addressed store, hash-verified

97 if self.is_at_limit() { // Calls &self method `is_at_limit`
98 // Already at limit, cannot increment
99 return false;
100 }
101
102 // Can increment
103 self.count += 1;
104 true // Return true indicating success

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected