MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / tell

Method tell

llama.cpp:874–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872 }
873
874 size_t tell() const {
875#ifdef _WIN32
876 __int64 ret = _ftelli64(fp);
877#else
878 long ret = std::ftell(fp);
879#endif
880 GGML_ASSERT(ret != -1); // this really shouldn't fail
881 return (size_t) ret;
882 }
883
884 void seek(size_t offset, int whence) const {
885#ifdef _WIN32

Callers 3

write_tensor_dataMethod · 0.45
write_tensors_to_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected