- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,043 for iteration (0.06 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.base.Preconditions; import java.util.Random; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ public class MultisetIteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.base.Preconditions; import java.util.Random; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ public class MultisetIteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
this.e4 = e4; } @Override public Iterator<E> iterator() { return asList().iterator(); } public List<E> asList() { return Arrays.asList(e0(), e1(), e2(), e3(), e4()); } public static class Strings extends SampleElements<String> { public Strings() { // elements aren't sorted, to better test SortedSet iteration ordering super("b", "a", "c", "d", "e"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/testing/61515.md
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 20 19:09:41 UTC 2024 - 118 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
this.e4 = e4; } @Override public Iterator<E> iterator() { return asList().iterator(); } public List<E> asList() { return Arrays.asList(e0(), e1(), e2(), e3(), e4()); } public static class Strings extends SampleElements<String> { public Strings() { // elements aren't sorted, to better test SortedSet iteration ordering super("b", "a", "c", "d", "e"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* need for a distinct {@code ImmutableBiMultimap} type. * * <p><a id="iteration"></a> * * <p><b>Key-grouped iteration.</b> All view collections follow the same iteration order. In all * current implementations, the iteration order always keeps multiple entries with the same key * together. Any creation method that would customarily respect insertion order (such as {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements * according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If all * occurrences of an element are removed, after which that element is added to the multiset, the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
} /** * Returns an immutable copy of the provided table. * * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration * ordering of all views in the returned table. Note that some views of the original table and the * copied table may have different iteration orders. For more control over the ordering, create a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements * according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If all * occurrences of an element are removed, after which that element is added to the multiset, the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
* with each iteration, so this algorithm takes O(log(digits)) iterations. * * We start out with a double-precision approximation, which may be higher or lower than the * true value. Therefore, we perform at least one Newton iteration to get a guess that's * definitely >= floor(sqrt(x)), and then continue the iteration until we reach a fixed point. */ BigInteger sqrt0; int log2 = log2(x, FLOOR);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 18.8K bytes - Viewed (0)