- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 73 for Traverser (0.44 sec)
-
src/cmd/compile/internal/types2/resolver_test.go
} // Check that each identifier in the source is found in uses or defs or both. // We need the foundUses/Defs maps (rather than just deleting the found objects // from the uses and defs maps) because syntax.Walk traverses shared nodes multiple // times (e.g. types in field lists such as "a, b, c int"). foundUses := make(map[*syntax.Name]bool) foundDefs := make(map[*syntax.Name]bool) var both []string for _, f := range files {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc
auto cluster_id = cluster_func_op->getAttrOfType<StringAttr>(TF::kReplicationInfoAttr); if (!cluster_id) return WalkResult::advance(); llvm::SmallVector<int, 4> dynamic_shape_arg_index; // Traverse the operands of the cluster func op and find which operand // is returned by TPUAnnotateTensorsWithDynamicShapeOp. for (const auto& cluster_func_operand : llvm::enumerate(cluster_func_op.getOperands())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java
notifyListeners(node, parentListeners.get(node.getPath().getParent())); notifyListeners(node, listeners); if (!ancestorListeners.isEmpty()) { // Don't traverse path back to root when there is nothing that can possibly match for (ModelPath path = node.getPath().getParent(); path != null; path = path.getParent()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/SnapshotTaskInputsBuildOperationType.java
*/ @Deprecated String getPropertyNormalizationStrategyName(); } /** * Traverses the input properties that are file types (e.g. File, FileCollection, FileTree, List of File). * <p> * If there are no input file properties, visitor will not be called at all. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 17:46:30 UTC 2023 - 7.5K bytes - Viewed (0) -
src/crypto/internal/boring/bcache/cache.go
// the list that we've confirmed has no entry for k. // The next time down the list, we can stop at noK, // because new entries are inserted at the front of the list. // This guarantees we never traverse an entry // multiple times. // // 2. We only allocate the entry to be added once, // saving it in add for the next attempt. var add, noK *cacheEntry[K, V] n := 0 for { e := head.Load()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy.go
func (m *MapValue) Contains(key ref.Val) ref.Val { v, found := m.Find(key) if v != nil && types.IsUnknownOrError(v) { return v } return types.Bool(found) } // Iterator returns an iterator to traverse the map. func (m *MapValue) Iterator() traits.Iterator { return &iterator{parent: m, index: 0} } // Size returns the number of currently known fields func (m *MapValue) Size() ref.Val {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
if (replicate_attr) return mlir::WalkResult::interrupt(); return mlir::WalkResult::advance(); }); return walk_result.wasInterrupted(); } // Traverses each node in the graph and check if any of them is // TPUPartitionedCall. If so, return true. Otherwise, return false. bool DoesGraphContainTPUPartitionedCall(const Graph& graph) { for (const Node* node : graph.nodes()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0) -
src/internal/trace/mud.go
break } else if oldSorted[i].x < edges[j].x { newSorted[o] = oldSorted[i] i++ } else { newSorted[o] = edges[j] j++ } } d.sorted = newSorted } // Traverse edges in order computing a cumulative sum. csum, rate, prevX := 0.0, 0.0, 0.0 for _, e := range d.sorted { newCsum := csum + (e.x-prevX)*rate if newCsum >= y { // y was exceeded between the previous edge
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/selection.go
// 2. the list of methods of an interface type; or // 3. the list of fields of a struct type. // // The earlier index entries are the indices of the embedded fields implicitly // traversed to get from (the type of) x to f, starting at embedding depth 0. func (s *Selection) Index() []int { return s.index } // Indirect reports whether any pointer indirection was required to get from // x to f in x.f. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 5.8K bytes - Viewed (0) -
test/typeparam/orderedmapsimp.dir/a.go
return zero, false } return (*pn).val, true } // keyValue is a pair of key and value used while iterating. type keyValue[K, V any] struct { key K val V } // iterate returns an iterator that traverses the map. func (m *Map[K, V]) Iterate() *Iterator[K, V] { sender, receiver := Ranger[keyValue[K, V]]() var f func(*node[K, V]) bool f = func(n *node[K, V]) bool { if n == nil { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 28 21:40:40 UTC 2021 - 5.5K bytes - Viewed (0)