llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
batchGetOne
llama
batch
Wraps a raw token pointer into a batch; for C interop.
llama_batch
batchGetOne
(const(llama_token)[] tokens)
llama_batch
batchGetOne
(llama_token* tokens, int nTokens)
@
nogc
nothrow
llama_batch
batchGetOne
(
llama_token
*
tokens
,
int
nTokens
)
Meta
Source
See Implementation
llama
batch
functions
allocBatch
batchAdd
batchClear
batchGetOne
structs
OwnedBatch
Wraps a raw token pointer into a batch; for C interop.