| 169 | } |
| 170 | |
| 171 | uint32_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 | |
| 187 | uint32_t AFCTable::FindBool(const uint32_t index, bool value) const |
| 188 | { |