Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ xget_ref
Method
xget_ref
flow-message/src/cross/mod.rs:120–122 ·
view source on GitHub ↗
(&'a self, key: &Idx)
Source
from the content-addressed store, hash-verified
118
Idx: ?Sized,
119
{
120
fn xget_ref(&'a self, key: &Idx) -> Option<U> {
121
self.get_ref(key).map(|data| data::GetRef::get_ref(data))
122
}
123
}
124
125
impl<
'a, Idx, T, U> IndexGetMut<'
a, Idx, U> for T
Callers
1
test_basis
Function · 0.45
Calls
1
get_ref
Method · 0.45
Tested by
1
test_basis
Function · 0.36