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

Function int_arg

tests/vibevoice/vibevoice_warm_bench.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37int int_arg(int argc, char ** argv, const std::string & name, int fallback) {
38 return std::stoi(arg_value(argc, argv, name, std::to_string(fallback)));
39}
40
41bool has_arg(int argc, char ** argv, const std::string & name) {
42 for (int i = 1; i < argc; ++i) {

Callers 1

mainFunction · 0.70

Calls 2

arg_valueFunction · 0.70
to_stringFunction · 0.50

Tested by

no test coverage detected