MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_copy_state_data

Function llama_copy_state_data

llama.cpp:10362–10367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10360}
10361
10362size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst) {
10363 llama_data_buffer_context data_ctx(dst);
10364 llama_copy_state_data_internal(ctx, &data_ctx);
10365
10366 return data_ctx.get_size_written();
10367}
10368
10369// Sets the state reading from the specified source address
10370size_t llama_set_state_data(struct llama_context * ctx, uint8_t * src) {

Callers 1

mainFunction · 0.50

Calls 2

get_size_writtenMethod · 0.45

Tested by

no test coverage detected