MCPcopy Create free account
hub / github.com/compilets/compilets / includes

Method includes

cpp/runtime/array.h:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 bool includes(const ValueType<T>& value, double start = 0) const {
139 for (size_t i = GetIndex(start); i < arr_.size(); ++i) {
140 if (Equal(arr_[i], value))
141 return true;
142 }
143 return false;
144 }
145
146 double indexOf(const ValueType<T>& value, double start = 0) const {
147 for (size_t i = GetIndex(start); i < arr_.size(); ++i) {

Callers 14

TEST_FFunction · 0.80
getNamespaceFromNodeFunction · 0.80
isBuiltinDeclarationFunction · 0.80
isNodeJsDeclarationFunction · 0.80
printMethod · 0.80
printMethod · 0.80
printMethod · 0.80
constructorMethod · 0.80
downloadNodeHeadersFunction · 0.80
constructorMethod · 0.80
parseClassElementMethod · 0.80
getFileTypeMethod · 0.80

Calls 1

EqualFunction · 0.85

Tested by 1

TEST_FFunction · 0.64