Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ read_string
Method
read_string
smallthinker/src/llama-io.cpp:10–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
}
9
10
void llama_io_read_i::read_string(std::string & str) {
11
uint32_t str_size;
12
read_to(&str_size, sizeof(str_size));
13
14
str.assign((const char *) read(str_size), str_size);
15
}
Callers
1
state_read_data
Method · 0.45
Calls
2
read
Function · 0.50
assign
Method · 0.45
Tested by
no test coverage detected