MCPcopy Create free account
hub / github.com/argumentcomputer/ix / dummy_constant

Function dummy_constant

crates/ixon/src/env.rs:394–400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392 // addressing guarantees identical bytes. (Alpha-collapsed blocks
393 // re-store the shared address once per member.) The cached mode
394 // keeps insert-overwrite: there a re-store can upgrade a
395 // cache-less lazy-loaded entry to a cached one.
396 if self.consts.contains_key(&addr) {
397 return;
398 }
399 self.consts.insert(addr, LazyConstant::from_constant_uncached(&constant));
400 } else {
401 self.consts.insert(addr, LazyConstant::from_constant(constant));
402 }
403 }

Callers 2

store_and_get_constFunction · 0.85
countsFunction · 0.85

Calls

no outgoing calls

Tested by 2

store_and_get_constFunction · 0.68
countsFunction · 0.68