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

Function optional_bool

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

Source from the content-addressed store, hash-verified

109 return default_value;
110 }
111 return value->as_i64();
112}
113
114inline int optional_i32(const Value & object, const std::string & key, int default_value) {
115 return static_cast<int>(optional_i64(object, key, default_value));
116}
117

Callers 15

parse_configFunction · 0.85
parse_lm_configFunction · 0.85
parse_dit_configFunction · 0.85
parse_configFunction · 0.85
parse_astral_configFunction · 0.85
parse_diffusion_configFunction · 0.85
resolve_adapter_scaleFunction · 0.85
parse_tokenizer_configFunction · 0.85
parse_decoder_configFunction · 0.85
parse_configFunction · 0.85
parse_processor_configFunction · 0.85
parse_configFunction · 0.85

Calls 3

is_boolMethod · 0.80
as_boolMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected