MCPcopy Create free account
hub / github.com/catboost/catboost / GetValuePointer

Method GetValuePointer

library/cpp/json/writer/json_value.cpp:734–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732 }
733
734 bool TJsonValue::GetValuePointer(const size_t index, const TJsonValue** value) const noexcept {
735 if (Type == JSON_ARRAY && index < Value.Array->size()) {
736 *value = &(*Value.Array)[index];
737 return true;
738 }
739 return false;
740 }
741
742 bool TJsonValue::GetValuePointer(const TStringBuf key, const TJsonValue** value) const noexcept {
743 if (Type == JSON_MAP) {

Callers 3

GetMapPointerFunction · 0.45
GetArrayPointerFunction · 0.45
MergeSubprocessReportMethod · 0.45

Calls 3

sizeMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected