MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / ggml_buffer_address_less

Function ggml_buffer_address_less

external/ggml/src/ggml-alloc.c:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103static const struct buffer_address GGML_BUFFER_ADDRESS_INVALID = { -1, SIZE_MAX };
104
105static bool ggml_buffer_address_less(struct buffer_address a, struct buffer_address b) {
106 return a.chunk != b.chunk ? a.chunk < b.chunk : a.offset < b.offset;
107}
108
109struct free_block {
110 size_t offset;

Callers 1

ggml_dyn_tallocr_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected