Skip to content
1 viewer

rust 1,865,587 · typescript 236,264 · javascript 133,447 · python 20,429 · 6,423 files · digest 6c224c8775d8 · built in 1.4 s · crystals off

cap_headroom

cre8_app_metering::connection::cap_headroom

fn · cre8-app-metering · crates/cre8-app-metering/src/connection.rs:121 documented

28lines
3cyclomatic
1max nesting
10statements
1? exits
3params
1callers
4callees
0.9 (p74)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (1 direct callers, 4 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 3 sitesname · 1 sitepath · 1 sitemethod · 3 sitesmethod · 3 sitesname · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 sitehandle_metering_cap_headroomapp-metering · cc 1cre8_app_metering::connection::handle_metering_cap_headroomcap_headroomapp-metering · cc 3cre8_app_metering::connection::cap_headroomwith_graphapp-protocol · cc 6cre8_app_protocol::graph_store::with_graphnow_ms_i64platform-time · cc 1cre8_platform_time::now_ms_i64compute_cap_headroomapp-metering · cc 7cre8_app_metering::preflight::compute_cap_headroomgraph_errorapp-metering · cc 1cre8_app_metering::connection::graph_errornow_msplatform-time · cc 1cre8_platform_time::now_msHyperDbProtocolStore::graphapp-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graphMutex::lock_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::Mutex::lock_or_recoverHoldingProtocolStore::enterapp-protocol · cc 1cre8_app_protocol::graph_store::HoldingProtocolStore::enteropen_protocol_graphapp-protocol · cc 1cre8_app_protocol::graph_store::open_protocol_graphambient_protocol_storeapp-protocol · cc 1cre8_app_protocol::graph_store::ambient::ambient_protocol_storelive_protocol_store_for_fal…app-protocol · cc 2cre8_app_protocol::graph_store::live_protocol_store_for_fallbackManifoldRegistry::rebuild_f…app-manifold · cc 1cre8_app_manifold::contract_store::ManifoldRegistry::rebuild_fromAssetRef::matches_patternruntime-contracts · cc 1cre8_runtime_contracts::asset_ref::AssetRef::matches_patternManifoldRegistry::cap_rules…app-manifold · cc 1cre8_app_manifold::contract_store::ManifoldRegistry::cap_rules_for_asset

Control flow

Source not readable from this process.

Callers 1

Callees 4

Source not readable from this process.