Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ py_put
Method
py_put
imperative/python/src/utils.cpp:455–458 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
453
}
454
455
void py_put(std::string category, std::string key, std::string value) {
456
get_impl()->put(
457
category, {key.data(), key.size()}, {value.data(), value.size()});
458
}
459
460
void flush() {
461
if (impl) {
Callers
nothing calls this directly
Calls
3
put
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected