- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 778 for iterations (0.09 sec)
-
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> { public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.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) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
import static com.google.common.collect.Iterators.advance; import static com.google.common.collect.Iterators.all; import static com.google.common.collect.Iterators.any; import static com.google.common.collect.Iterators.elementsEqual; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Iterators.filter; import static com.google.common.collect.Iterators.find;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* * <p><i>Notes:</i> This is an implementation of the algorithm for Lexicographical Permutations * Generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7, * Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the * first permutation will be in ascending order, and the last will be in descending order. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 23.1K 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) -
guava/src/com/google/common/collect/ImmutableCollection.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
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) -
SECURITY.md
your code interacts with the filesystem, network, etc. and uses checkpointed variables as part of those interactions (ex: using a string variable to build a filesystem path), a maliciously created checkpoint might be able to change the targets of those operations, which could result in arbitrary read/write/executions. ### Running a TensorFlow server
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 16 16:10:43 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
assertEquals(1, Iterators.size(registry.getSubscribers(1))); registry.register(new IntegerSubscriber()); assertEquals(3, Iterators.size(registry.getSubscribers(""))); assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); assertEquals(2, Iterators.size(registry.getSubscribers(1))); } public void testGetSubscribers_returnsImmutableSnapshot() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
*/ public MultiIterator(final Iterator<E>... iterators) { assertArgumentNotNull("iterators", iterators); this.iterators = iterators; } @Override public boolean hasNext() { for (; index < iterators.length; ++index) { if (iterators[index].hasNext()) { return true; } } return false; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0)