Home
last modified time | relevance | path

Searched refs:new_i (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/untrusted/src/
Duntrusted.rs297 let new_i = self.i.checked_add(num_bytes).ok_or(EndOfInput)?; in read_bytes() localVariable
300 .subslice(self.i..new_i) in read_bytes()
303 self.i = new_i; in read_bytes()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set.h1596 size_t new_i = target.offset;
1598 set_ctrl(new_i, H2(hash));
1599 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
1640 size_t new_i = target.offset;
1652 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
1656 if (IsEmpty(ctrl_[new_i])) {
1660 set_ctrl(new_i, H2(hash));
1661 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
1664 assert(IsDeleted(ctrl_[new_i]));
1665 set_ctrl(new_i, H2(hash));
[all …]
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h1616 size_t new_i = target.offset;
1618 set_ctrl(new_i, H2(hash));
1619 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
1660 const size_t new_i = target.offset;
1672 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
1676 if (IsEmpty(ctrl_[new_i])) {
1680 set_ctrl(new_i, H2(hash));
1681 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
1684 assert(IsDeleted(ctrl_[new_i]));
1685 set_ctrl(new_i, H2(hash));
[all …]
/external/abseil-cpp/absl/container/internal/
Draw_hash_set.h1522 size_t new_i = target.offset;
1524 set_ctrl(new_i, H2(hash));
1525 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
1566 size_t new_i = target.offset;
1577 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
1581 if (IsEmpty(ctrl_[new_i])) {
1585 set_ctrl(new_i, H2(hash));
1586 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
1589 assert(IsDeleted(ctrl_[new_i]));
1590 set_ctrl(new_i, H2(hash));
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h1542 size_t new_i = target.offset;
1544 set_ctrl(new_i, H2(hash));
1545 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
1586 size_t new_i = target.offset;
1597 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
1601 if (IsEmpty(ctrl_[new_i])) {
1605 set_ctrl(new_i, H2(hash));
1606 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
1609 assert(IsDeleted(ctrl_[new_i]));
1610 set_ctrl(new_i, H2(hash));
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set.h1542 size_t new_i = target.offset;
1544 set_ctrl(new_i, H2(hash));
1545 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
1586 size_t new_i = target.offset;
1597 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
1601 if (IsEmpty(ctrl_[new_i])) {
1605 set_ctrl(new_i, H2(hash));
1606 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
1609 assert(IsDeleted(ctrl_[new_i]));
1610 set_ctrl(new_i, H2(hash));
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h1522 size_t new_i = target.offset;
1524 set_ctrl(new_i, H2(hash));
1525 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
1566 size_t new_i = target.offset;
1577 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
1581 if (IsEmpty(ctrl_[new_i])) {
1585 set_ctrl(new_i, H2(hash));
1586 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
1589 assert(IsDeleted(ctrl_[new_i]));
1590 set_ctrl(new_i, H2(hash));
[all …]
/external/python/cpython3/Python/
Dhamt.c1853 Py_ssize_t new_i = 0; in hamt_node_array_without() local
1886 new->b_array[new_i] = key; in hamt_node_array_without()
1888 new->b_array[new_i + 1] = val; in hamt_node_array_without()
1891 new->b_array[new_i] = NULL; in hamt_node_array_without()
1893 new->b_array[new_i + 1] = (PyObject*)node; in hamt_node_array_without()
1910 new->b_array[new_i] = NULL; in hamt_node_array_without()
1912 new->b_array[new_i + 1] = (PyObject*)node; in hamt_node_array_without()
1915 new_i += 2; in hamt_node_array_without()
/external/rust/crates/hashbrown/src/raw/
Dmod.rs740 let new_i = guard.find_insert_slot(hash); in rehash_in_place() localVariable
747 if likely(guard.is_in_same_group(i, new_i, hash)) { in rehash_in_place()
754 let prev_ctrl = guard.replace_ctrl_h2(new_i, hash); in rehash_in_place()
760 guard.bucket(new_i).copy_from_nonoverlapping(&item); in rehash_in_place()
767 mem::swap(guard.bucket(new_i).as_mut(), item.as_mut()); in rehash_in_place()
1314 fn is_in_same_group(&self, i: usize, new_i: usize, hash: u64) -> bool { in is_in_same_group()
1318 probe_index(i) == probe_index(new_i) in is_in_same_group()
/external/tensorflow/tensorflow/python/debug/lib/
Dsession_debug_testlib.py463 new_i = math_ops.add(i, 1)
465 new_i = control_flow_ops.with_dependencies([op], new_i)
466 return [new_i]
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_ops_py_test.py2001 new_i = math_ops.add(i, 1)
2003 return [new_i, new_j]
2060 new_i = math_ops.add(i, 1)
2062 return [new_i, new_j]