Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ seek
Method
seek
src/serialization/impl/file.cpp:77–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
void seek(size_t offset) override {
78
auto err = fseek(m_fptr, offset, SEEK_SET);
79
mgb_assert(!err);
80
}
81
82
size_t tell() override {
83
auto pos = ftell(m_fptr);
Callers
15
main
Function · 0.45
dump_graph
Function · 0.45
_download_zip_and_extract
Method · 0.45
run_index
Function · 0.45
test_metadata
Function · 0.45
test_replace_var
Function · 0.45
test_replace_opr
Function · 0.45
test_splice_network
Function · 0.45
test_modify_params
Function · 0.45
test_make_const
Function · 0.45
test_add_input
Function · 0.45
test_add_remove_output
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_metadata
Function · 0.36
test_replace_var
Function · 0.36
test_replace_opr
Function · 0.36
test_splice_network
Function · 0.36
test_modify_params
Function · 0.36
test_make_const
Function · 0.36
test_add_input
Function · 0.36
test_add_remove_output
Function · 0.36
test_query
Function · 0.36
test_optimize_for_inference
Function · 0.36
test_reset_batchsize
Function · 0.36
test_modify_opr_name
Function · 0.36