- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 338 for iter (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/s3select/simdj/record.go
if elem == nil { return nil, nil } return iterToValue(elem.Iter) } func iterToValue(iter simdjson.Iter) (*sql.Value, error) { switch iter.Type() { case simdjson.TypeString: v, err := iter.String() if err != nil { return nil, err } return sql.FromString(v), nil case simdjson.TypeFloat: v, err := iter.Float() if err != nil { return nil, err } return sql.FromFloat(v), nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
} }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
assertNotNull(set, "No artifacts"); assertTrue(set.size() > 0, "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size()); while (iter.hasNext()) { Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
List<Integer> result = Lists.newArrayListWithCapacity(initial.size()); for (Iterator<Integer> iter = q.iterator(); iter.hasNext(); ) { Integer value = iter.next(); result.add(value); if (value == 8) { iter.remove(); } } assertIntact(q); assertThat(result).containsExactly(1, 15, 13, 8, 14); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n"); Iterator<String> iter = keySet().iterator(); while (iter.hasNext()) { String key = iter.next(); buffer.append(key).append('=').append(get(key)); if (iter.hasNext()) { buffer.append('\n'); } } return buffer.toString(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(1, (int) iter.next()); assertTrue(iter.hasNext()); assertEquals(2, (int) iter.next()); assertTrue(iter.hasNext()); assertEquals(3, (int) iter.next()); assertFalse(iter.hasNext()); } public void testAsEnumerationEmpty() { Iterator<Integer> iter = emptyIterator(); Enumeration<Integer> enumer = Iterators.asEnumeration(iter);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(1, (int) iter.next()); assertTrue(iter.hasNext()); assertEquals(2, (int) iter.next()); assertTrue(iter.hasNext()); assertEquals(3, (int) iter.next()); assertFalse(iter.hasNext()); } public void testAsEnumerationEmpty() { Iterator<Integer> iter = emptyIterator(); Enumeration<Integer> enumer = Iterators.asEnumeration(iter);
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-tests/test/com/google/common/collect/EnumBiMapTest.java
Currency.FRANC, Country.SWITZERLAND); EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); Iterator<Currency> iter = bimap.keySet().iterator(); assertEquals(Currency.DOLLAR, iter.next()); assertEquals(Currency.FRANC, iter.next()); iter.remove(); // forward map ordered by currency assertThat(bimap.keySet()).containsExactly(Currency.DOLLAR, Currency.PESO).inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.8K bytes - Viewed (0)