MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / estimateWidth

Function estimateWidth

common/console.cpp:286–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 }
285
286 static int estimateWidth(char32_t codepoint) {
287#if defined(_WIN32)
288 (void)codepoint;
289 return 1;
290#else
291 return wcwidth(codepoint);
292#endif
293 }
294
295 static int put_codepoint(const char* utf8_codepoint, size_t length, int expectedWidth) {
296#if defined(_WIN32)

Callers 2

set_line_contentsFunction · 0.85
readline_advancedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected