| 3697 | void Prefill::set_pipe(double value) { g_pipe = value; } |
| 3698 | void Prefill::set_pipe_request(double value) { g_pipe_req = value; } |
| 3699 | double Prefill::pipe_setting() { return pipe_value(); } |
| 3700 | namespace { |
| 3701 | // b/a in whole tokens: 0 for none (or NaN), at most 2^20 (llround of an infinity is undefined - `pipe=inf` parses) |
| 3702 | int64_t ratio_tokens(double ratio) { return ratio > 0.0 ? (int64_t) std::llround(std::min(ratio, 1048576.0)) : 0; } |
nothing calls this directly
no test coverage detected