- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,472 for iterations (0.18 sec)
-
guava/src/com/google/common/collect/Multisets.java
return (Multiset<T>) iterable; } /** * Returns a copy of {@code multiset} as an {@link ImmutableMultiset} whose iteration order puts * the highest count first, with ties broken by the iteration order of the original multiset. * * @since 11.0 */ public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 41.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/api/specs/CompositeSpec.java
this.specs = uncheckedCast(Iterators.toArray(iterator, Spec.class)); } } } @SuppressWarnings({"unchecked", "TypeParameterUnusedInFormals"}) static <T> T uncheckedCast(Object object) { return (T) object; } // Not public. Evaluation of these specs is a major hot spot for large builds, so use an array for iteration Spec<? super T>[] getSpecsArray() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
checkNotNull(iterable); Iterators.checkNonnegative(position); if (iterable instanceof List) { List<? extends T> list = Lists.cast(iterable); return (position < list.size()) ? list.get(position) : defaultValue; } else { Iterator<? extends T> iterator = iterable.iterator(); Iterators.advance(iterator, position); return Iterators.getNext(iterator, defaultValue); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/tooling/provider/model/internal/DefaultToolingModelBuilderRegistry.java
import org.gradle.internal.build.BuildState; import org.gradle.internal.code.UserCodeApplicationContext; import org.gradle.internal.operations.BuildOperationContext; import org.gradle.internal.operations.BuildOperationDescriptor; import org.gradle.internal.operations.BuildOperationRunner; import org.gradle.internal.operations.CallableBuildOperation; import org.gradle.tooling.provider.model.ParameterizedToolingModelBuilder;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Sets.java
} } /** * Returns an immutable set instance containing the given enum elements. Internally, the returned * set will be backed by an {@link EnumSet}. * * <p>The iteration order of the returned set follows the enum's iteration order, not the order in * which the elements are provided to the method. * * @param anElement one of the elements the set should contain
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 78.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
// Picks the device for which XLA should compile a cluster that contains // operations placed in devices in `devices`. For instance a cluster that // contains operations solely placed on the CPU will be compiled into a CPU // executable by XLA, whereas a cluster that contains operations placed on the // CPU and also operations placed on the GPU will be compiled into a GPU // executable. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
checkNotNull(iterable); Iterators.checkNonnegative(position); if (iterable instanceof List) { List<? extends T> list = Lists.cast(iterable); return (position < list.size()) ? list.get(position) : defaultValue; } else { Iterator<? extends T> iterator = iterable.iterator(); Iterators.advance(iterator, position); return Iterators.getNext(iterator, defaultValue); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
if (graph.isDirected()) { return Iterators.unmodifiableIterator( Iterators.concat( Iterators.transform( graph.predecessors(node).iterator(), (N predecessor) -> EndpointPair.ordered(predecessor, node)), Iterators.transform(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0) -
src/reflect/all_test.go
kv.SetIterKey(iter) seenk ^= kv.Uint() kv.SetIterValue(iter) seenv ^= kv.Uint() } if seenk != 0b111 { t.Errorf("iteration yielded keys %b, want %b", seenk, 0b111) } if seenv != 0b1110 { t.Errorf("iteration yielded values %b, want %b", seenv, 0b1110) } } // Reset should not allocate. n := int(testing.AllocsPerRun(10, func() { iter.Reset(ValueOf(m2))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
if (graph.isDirected()) { return Iterators.unmodifiableIterator( Iterators.concat( Iterators.transform( graph.predecessors(node).iterator(), (N predecessor) -> EndpointPair.ordered(predecessor, node)), Iterators.transform(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0)