- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 610 for iteration (0.08 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
void testTryWithResources() { // When & Then assertDoesNotThrow(() -> { try (EmptyIterator iterator = new EmptyIterator()) { assertFalse(iterator.hasNext(), "Iterator should be empty in try-with-resources"); assertNull(iterator.next(), "Iterator should return null in try-with-resources"); } catch (CIFSException e) { throw new RuntimeException(e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
TestIterator iterator = new TestIterator(null); // Verify iteration assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertFalse(iterator.hasNext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} else { return RegularImmutableMultiset.create(entries); } } ImmutableMultiset() {} @Override public UnmodifiableIterator<E> iterator() { Iterator<Entry<E>> entryIterator = entrySet().iterator(); return new UnmodifiableIterator<E>() { int remaining; @Nullable E element; @Override public boolean hasNext() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* multimap.put(key1, baz); * } * * ... the iteration order for {@link #keys()} is {@code [key1, key2, key1]}, and similarly for * {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistent * between keys, entries and values. For example, calling: * * {@snippet : * multimap.remove(key1, foo); * } * * <p>changes the entries iteration order to {@code [key2=bar, key1=baz]} and the key iteration
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
try { // Mix of success and failure final int iteration = i; String result = circuitBreaker.executeWithCircuitBreaker(() -> { if ((threadId + iteration) % 10 == 0) { throw new RuntimeException("Simulated failure"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
t.url = null; // Null URL t.numIter = 0; // No iterations to avoid NPE // Should not throw exception assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully"); assertEquals(1, t.numComplete, "numComplete should still be incremented"); } @Test @DisplayName("run method handles zero iterations") void testRunWithZeroIterations() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)