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

Function parse_float_option

src/framework/runtime/options.cpp:129–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129std::optional<float> parse_float_option(
130 const std::unordered_map<std::string, std::string> & options,
131 std::initializer_list<std::string_view> keys) {
132 if (const auto match = find_option_match(options, keys)) {
133 return parse_float_value(match->value, match->key);
134 }
135 return std::nullopt;
136}
137
138std::optional<float> parse_finite_float_option(
139 const std::unordered_map<std::string, std::string> & options,

Callers 11

ace_step_parse_requestFunction · 0.85
runMethod · 0.85
make_voice_clone_configFunction · 0.85
make_requestMethod · 0.85

Calls 2

find_option_matchFunction · 0.85
parse_float_valueFunction · 0.85

Tested by

no test coverage detected