MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / require

Function require

tests/unittests/test_sentencepiece_tokenizer1.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void require(bool condition, const std::string & message) {
18 if (!condition) {
19 throw std::runtime_error(message);
20 }
21}
22
23std::string join_ids(const std::vector<int32_t> & ids) {
24 std::ostringstream oss;

Calls

no outgoing calls

Tested by

no test coverage detected