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

Method seq_pos_min

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

Source from the content-addressed store, hash-verified

453}
454
455llama_pos llama_batch_allocr::seq_pos_min(llama_seq_id seq_id) const {
456 return seq_pos[seq_id].empty() ? -1 : *seq_pos[seq_id].begin();
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();

Callers 2

llama_memory_seq_pos_minFunction · 0.45
initMethod · 0.45

Calls 2

emptyMethod · 0.65
beginMethod · 0.45

Tested by

no test coverage detected