MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / FindInt64

Method FindInt64

src/plugin/kernel/src/AFCTable.cpp:171–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171uint32_t AFCTable::FindInt64(const uint32_t index, const int64_t value) const
172{
173 for (auto iter : data_)
174 {
175 auto pRowData = iter.second;
176 ARK_ASSERT_RET_VAL(pRowData != nullptr, 0u);
177
178 if (pRowData->GetInt64(index) == value)
179 {
180 return iter.first;
181 }
182 }
183
184 return 0u;
185}
186
187uint32_t AFCTable::FindBool(const uint32_t index, bool value) const
188{

Callers

nothing calls this directly

Calls 1

GetInt64Method · 0.45

Tested by

no test coverage detected