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

Function zeros

llama.cpp:165–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163#endif
164
165static void zeros(std::ofstream & file, size_t n) {
166 char zero = 0;
167 for (size_t i = 0; i < n; ++i) {
168 file.write(&zero, 1);
169 }
170}
171
172LLAMA_ATTRIBUTE_FORMAT(1, 2)
173static std::string format(const char * fmt, ...) {

Callers 1

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected