Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for hiter (0.07 sec)

  1. src/runtime/map.go

    		fatal("concurrent map writes")
    	}
    	h.flags &^= hashWriting
    }
    
    // mapiterinit initializes the hiter struct used for ranging over maps.
    // The hiter struct pointed to by 'it' is allocated on the stack
    // by the compilers order pass or on the heap by reflect_mapiterinit.
    // Both need to have zeroed hiter since the struct contains pointers.
    //
    // mapiterinit should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Enumeration<Integer> enumer = enumerate(1, 2, 3);
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
        assertTrue(iter.hasNext());
        assertEquals(2, (int) iter.next());
        assertTrue(iter.hasNext());
        assertEquals(3, (int) iter.next());
        assertFalse(iter.hasNext());
      }
    
      public void testAsEnumerationEmpty() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        if (visited.find(item.cluster) != visited.end()) continue;
        visited.insert(item.cluster);
    
        stack.push_back({item.cluster, true});
        const auto& iter = ancestors.find(item.cluster);
        if (iter != ancestors.end()) {
          for (const auto& ancestor : iter->second) {
            stack.push_back({ancestor, false});
          }
        }
      }
      CHECK(sorted->size() == clusters.size());
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        Iterator<Entry<String, String>> iter = copy.entrySet().iterator();
        assertTrue(iter.hasNext());
        Entry<String, String> entry = iter.next();
        assertEquals("Hello", entry.getKey());
        assertEquals("World", entry.getValue());
        assertTrue(iter.hasNext());
    
        entry = iter.next();
        assertEquals("first", entry.getKey());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  5. src/runtime/mheap.go

    	iter := &span.specials
    	found := false
    	for {
    		s := *iter
    		if s == nil {
    			break
    		}
    		if offset == uintptr(s.offset) && kind == s.kind {
    			found = true
    			break
    		}
    		if offset < uintptr(s.offset) || (offset == uintptr(s.offset) && kind < s.kind) {
    			break
    		}
    		iter = &s.next
    	}
    	return iter, found
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

        for (const OpDef::ArgDef& arg : fdef.signature().output_arg()) {
          const auto& iter = fdef.ret().find(arg.name());
          if (iter != fdef.ret().end()) {
            const auto& v = a_edges.insert({iter->second, arg.name()});
            ASSERT_TRUE(v.second) << "Duplicate edge " << iter->second << " -> "
                                  << arg.name() << ". fdef: " << fdef.DebugString();
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

                    "removeAll(Collection)": { container.removeAll([b]) },
                    "retainAll(Collection)": { container.retainAll([b]) },
                    "iterator().remove()": { def iter = container.iterator(); iter.next(); iter.remove() },
                    "configureEach(Action)": { container.configureEach(Actions.doNothing()) }
                ]
            }
    
            return methods + [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.cc

          } else {
            // Otherwise, try moving nodes from ready_enters to `ready`.
            for (auto iter = ready_enters_per_frame.begin();
                 iter != ready_enters_per_frame.end(); ++iter) {
              absl::string_view frame_name = iter->first;
              const std::vector<Node*>& ready_enters = iter->second;
              if (ready_enters.size() == num_enters_for_frame[frame_name]) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        if (!tensor_list_index.count(i)) {
          updated_types->push_back(std::get<0>(it));
          ++i;
          continue;
        }
        auto iter = tensor_list_map.find(i);
        if (iter != tensor_list_map.end()) {
          int arg_idx = iter->second;
          if (!resized_tensor_list_index.count(arg_idx)) {
            // If the mapped tensorlist argument's size isn't changed, we will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

    // increment operation control dependent on gradient update operations.
    TEST(XlaCompilationTest, IterationIncrementAndGroupDeps) {
      Scope scope = Scope::NewRootScope().ExitOnError();
    
      Output iter =
          ops::VarHandleOp(scope.WithOpName("iter"), DT_INT64, TensorShape({}));
      Output weights_0 = ops::VarHandleOp(scope.WithOpName("weights_0"), DT_FLOAT,
                                          TensorShape({1000}));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top