Home
last modified time | relevance | path

Searched refs:val_idx (Results 1 – 2 of 2) sorted by relevance

/external/icing/icing/legacy/index/
Dicing-dynamic-trie_test.cc177 uint32_t val_idx = it_all.GetValueIndex(); in TEST_F() local
178 EXPECT_EQ(it_all.GetValue(), trie.GetValueAtIndex(val_idx)); in TEST_F()
608 uint32_t val_idx; in TEST_F() local
609 trie.Insert("abcd", &kOne, &val_idx, false); in TEST_F()
610 trie.SetProperty(val_idx, 0); in TEST_F()
611 trie.SetProperty(val_idx, 3); in TEST_F()
616 EXPECT_TRUE(reader.HasProperty(val_idx)); in TEST_F()
625 EXPECT_FALSE(reader.HasProperty(val_idx)); in TEST_F()
629 trie.Insert("abcd", &kOne, &val_idx, false); in TEST_F()
630 trie.SetProperty(val_idx, 1); in TEST_F()
[all …]
/external/python/cpython3/Python/
Dhamt.c616 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_clone_without() local
625 for (i = val_idx + 1; i < (uint32_t)Py_SIZE(o); i++) { in hamt_node_bitmap_clone_without()
731 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc() local
733 assert(val_idx < (size_t)Py_SIZE(self)); in hamt_node_bitmap_assoc()
736 PyObject *val_or_node = self->b_array[val_idx]; in hamt_node_bitmap_assoc()
761 Py_SETREF(ret->b_array[val_idx], (PyObject*)sub_node); in hamt_node_bitmap_assoc()
787 Py_SETREF(ret->b_array[val_idx], val); in hamt_node_bitmap_assoc()
815 Py_SETREF(ret->b_array[val_idx], (PyObject *)sub_node); in hamt_node_bitmap_assoc()
924 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc() local
948 new_node->b_array[val_idx] = val; in hamt_node_bitmap_assoc()
[all …]