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

Method tell

examples/export-lora/export-lora.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 size_t tell() const {
50#ifdef _WIN32
51 __int64 ret = _ftelli64(fp);
52#else
53 long ret = std::ftell(fp);
54#endif
55 GGML_ASSERT(ret != -1); // this really shouldn't fail
56 return (size_t) ret;
57 }
58
59 void seek(size_t offset, int whence) {
60#ifdef _WIN32

Callers 2

load_loraFunction · 0.45
export_loraFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected