Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xShug0/audio.cpp
/ utf8_size
Method
utf8_size
external/sentencepiece/src/unigram_model.cc:89–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
int Lattice::utf8_size() const { return sentence_.size(); }
90
91
const char *Lattice::sentence() const { return sentence_.data(); }
92
Callers
2
TEST
Function · 0.80
PopulateNodes
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
1
TEST
Function · 0.64