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

Function gguf_fread_el

ggml.c:19421–19425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19419};
19420
19421static bool gguf_fread_el(FILE * file, void * dst, size_t size, size_t * offset) {
19422 const size_t n = fread(dst, 1, size, file);
19423 *offset += n;
19424 return n == size;
19425}
19426
19427static bool gguf_fread_str(FILE * file, struct gguf_str * p, size_t * offset) {
19428 p->n = 0;

Callers 2

gguf_fread_strFunction · 0.85
gguf_init_from_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected