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

Function optional_f32

include/engine/framework/io/json.h:106–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104inline int64_t optional_nullable_i64(const Value & object, const std::string & key, int64_t default_value) {
105 const auto * value = object.find(key);
106 if (value == nullptr || value->is_null()) {
107 return default_value;
108 }
109 return value->as_i64();
110}
111
112inline int optional_i32(const Value & object, const std::string & key, int default_value) {

Callers 15

parse_configFunction · 0.85
parse_lm_configFunction · 0.85
parse_dit_configFunction · 0.85
parse_qwen_commonFunction · 0.85
parse_diffusion_configFunction · 0.85
resolve_adapter_scaleFunction · 0.85
parse_tokenizer_configFunction · 0.85
parse_decoder_configFunction · 0.85
parse_processor_configFunction · 0.85
load_decoder_configFunction · 0.85

Calls 3

is_numberMethod · 0.80
as_f32Method · 0.80
findMethod · 0.45

Tested by

no test coverage detected