MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / seq_pos_max

Method seq_pos_max

subprojects/llama.cpp/src/llama-batch.cpp:459–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459llama_pos llama_batch_allocr::seq_pos_max(llama_seq_id seq_id) const {
460 return seq_pos[seq_id].empty() ? -1 : *seq_pos[seq_id].rbegin();
461}
462
463void llama_batch_allocr::split_reset() {
464 out_ids.clear();

Callers 2

llama_memory_seq_pos_maxFunction · 0.45
initMethod · 0.45

Calls 1

emptyMethod · 0.65

Tested by

no test coverage detected