MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / expect_context_not_null

Function expect_context_not_null

tests/test-gguf.cpp:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static bool expect_context_not_null(const enum handcrafted_file_type hft) {
96 if (hft < offset_has_kv) {
97 return hft >= HANDCRAFTED_HEADER_EMPTY;
98 }
99 if (hft < offset_has_tensors) {
100 return hft >= HANDCRAFTED_KV_SUCCESS;
101 }
102 if (hft < offset_has_data) {
103 return hft >= HANDCRAFTED_TENSORS_SUCCESS;
104 }
105 return hft >= HANDCRAFTED_DATA_SUCCESS;
106}
107
108typedef std::pair<enum ggml_type, std::array<int64_t, GGML_MAX_DIMS>> tensor_config_t;
109

Callers 2

get_handcrafted_fileFunction · 0.85
test_handcrafted_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected