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

Method size

examples/server/httplib.h:2296–2302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2294}
2295
2296inline size_t stream_line_reader::size() const {
2297 if (glowable_buffer_.empty()) {
2298 return fixed_buffer_used_size_;
2299 } else {
2300 return glowable_buffer_.size();
2301 }
2302}
2303
2304inline bool stream_line_reader::end_with_crlf() const {
2305 auto end = ptr() + size();

Callers 15

generate_kernelsFunction · 0.45
ggml_cl_h2d_tensor_2dFunction · 0.45
ggml_cl_mul_mat_q_f32Function · 0.45
replace_allFunction · 0.45
llama_token_to_pieceFunction · 0.45
~llama_modelMethod · 0.45
create_tensorMethod · 0.45
llm_load_vocabFunction · 0.45
llm_load_print_metaFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by 12

mainFunction · 0.36
test_top_kFunction · 0.36
test_top_pFunction · 0.36
test_tfsFunction · 0.36
test_typicalFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
test_roundtrip_on_layerFunction · 0.36