MCPcopy Index your code
hub / github.com/RustPython/RustPython / cooldown_adaptive_at

Method cooldown_adaptive_at

crates/vm/src/frame.rs:8100–8106  ·  view source on GitHub ↗
(&mut self, cache_base: usize)

Source from the content-addressed store, hash-verified

8098
8099 #[inline]
8100 fn cooldown_adaptive_at(&mut self, cache_base: usize) {
8101 unsafe {
8102 self.code
8103 .instructions
8104 .write_adaptive_counter(cache_base, ADAPTIVE_COOLDOWN_VALUE);
8105 }
8106 }
8107
8108 /// Commit a specialization result: replace op on success, backoff on failure.
8109 #[inline]

Callers 1

specialize_load_attrMethod · 0.80

Calls 1

Tested by

no test coverage detected