| 153 | |
| 154 | template <typename T> |
| 155 | static void helper_write(FILE * file, const T & val) { |
| 156 | GGML_ASSERT(fwrite(&val, 1, sizeof(val), file) == sizeof(val)); |
| 157 | } |
| 158 | |
| 159 | static void helper_write(FILE * file, const void * data, const size_t nbytes) { |
| 160 | GGML_ASSERT(fwrite(data, 1, nbytes, file) == nbytes); |
no outgoing calls
no test coverage detected