- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 346 for iterated (0.33 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/FilePropertyContainer.java
import org.gradle.api.tasks.TaskFilePropertyBuilder; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * Container for {@link TaskPropertyRegistration}s that might not have a name. The container * ensures that whenever parameters are iterated they are always assigned a name. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 2K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser_test.go
} if n := evs.Len(); n != N { t.Fatalf("got %d events, want %d", n, N) } var n int evs.All()(func(ev *Event) bool { n++ return true }) if n != N { t.Fatalf("iterated over %d events, expected %d", n, N) } const consume = eventsBucketSize + 50 for i := 0; i < consume; i++ { if _, ok := evs.Pop(); !ok { t.Fatalf("iteration failed after %d events", i) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
private final Deque<Iterator<T>> stack; PreOrderIterator(T root) { this.stack = new ArrayDeque<>(); stack.addLast(Iterators.singletonIterator(checkNotNull(root))); } @Override public boolean hasNext() { return !stack.isEmpty(); } @Override public T next() { Iterator<T> itr = stack.getLast(); // throws NSEE if empty
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
return !stack.isEmpty(); } @Override public T next() { Iterator<T> itr = stack.getLast(); // throws NSEE if empty T result = checkNotNull(itr.next()); if (!itr.hasNext()) { stack.removeLast(); } Iterator<T> childItr = children(result).iterator(); if (childItr.hasNext()) { stack.addLast(childItr); } return result;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/waiting_pods_map.go
} // get a WaitingPod from the map. func (m *waitingPodsMap) get(uid types.UID) *waitingPod { m.mu.RLock() defer m.mu.RUnlock() return m.pods[uid] } // iterate acquires a read lock and iterates over the WaitingPods map. func (m *waitingPodsMap) iterate(callback func(framework.WaitingPod)) { m.mu.RLock() defer m.mu.RUnlock() for _, v := range m.pods { callback(v) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/collect/PersistentListTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 09:24:00 UTC 2024 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/ZipFileTree.java
// The iteration order of zip.getEntries() is based on the hash of the zip entry. This isn't much use // to us. So, collect the entries in a map and iterate over them in alphabetical order. Iterator<ZipArchiveEntry> sortedEntries = entriesSortedByName(zip); while (!stopFlag.get() && sortedEntries.hasNext()) { ZipArchiveEntry entry = sortedEntries.next();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
signalPassFailure(); } } // Remove all attr_map attributes. module_op.walk([](Operation* op) { op->removeAttr(kAttrMapAttribute); }); // Perform selective quantization. Iterates over the quantization specs and // applies quantization methods to each matched lifted function. for (const QuantizationSpec& spec : quantization_specs_.specs()) { if (failed(ApplyQuantizationSpec(spec, module_op))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
/** * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to * this range map are guaranteed to read through to the returned {@code Map}. * * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the * {@code Range} entries. * * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}. */ Map<Range<K>, V> asMapOfRanges();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
{!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ``` ### Using the *path operation function* name as the operationId If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`. You should do it after adding all your *path operations*. ```Python hl_lines="2 12-21 24"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 7.7K bytes - Viewed (0)