Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ initialize
Function
initialize
flow-rs/src/registry.rs:116–118 ·
view source on GitHub ↗
(id: u64)
Source
from the content-addressed store, hash-verified
114
}
115
116
pub(crate) fn initialize(id: u64) {
117
INITIALIZE.read().unwrap().iter().for_each(|f| f(id));
118
}
119
120
pub(crate) fn finalize(id: u64) {
121
FINALIZE.read().unwrap().iter().for_each(|f| f(id));
Callers
3
new
Method · 0.85
new
Method · 0.85
test_basis
Function · 0.85
Calls
1
for_each
Method · 0.80
Tested by
1
test_basis
Function · 0.68