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

Method read

smallthinker/src/llama-context.cpp:1555–1559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1553 }
1554
1555 const uint8_t * read(size_t size) override {
1556 temp_buffer.resize(size);
1557 read_to(temp_buffer.data(), size);
1558 return temp_buffer.data();
1559 }
1560
1561 size_t n_bytes() override {
1562 return size_read;

Callers 6

state_read_dataMethod · 0.45
state_read_dataMethod · 0.45
get_chat_templateFunction · 0.45
plotFunction · 0.45

Calls 2

resizeMethod · 0.45
dataMethod · 0.45

Tested by 1