- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 174 for _iteration (0.34 sec)
-
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
SmbResource r2 = it.next(); assertNotNull(r2); assertEquals("bar/", r2.getName(), "Second child name should match with trailing slash"); // End of iteration behavior assertFalse(it.hasNext(), "No more elements expected"); assertNull(it.next(), "next() returns null when exhausted in this implementation"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
cmd/namespace-lock_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
public void testNoConcurrentModificationException() throws Exception { // Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int iterations = 1000; ExecutorService executor = Executors.newFixedThreadPool(2); CountDownLatch endLatch = new CountDownLatch(2); AtomicInteger successCount = new AtomicInteger(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
size += entry.getCount(); } return Ints.saturatedCast(size); } /** * 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
size += entry.getCount(); } return Ints.saturatedCast(size); } /** * 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
throwable.printStackTrace(new PrintWriter(stringWriter)); return stringWriter.toString(); } /** * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full * trace but faster iteration over parts of the trace. Here, "slower" and "faster" are defined in * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
public NetworkBuilder<N, E> expectedEdgeCount(int expectedEdgeCount) { this.expectedEdgeCount = Optional.of(checkNonNegative(expectedEdgeCount)); return this; } /** * Specifies the order of iteration for the elements of {@link Network#nodes()}. * * <p>The default value is {@link ElementOrder#insertion() insertion order}. */ public <N1 extends N> NetworkBuilder<N1, E> nodeOrder(ElementOrder<N1> nodeOrder) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
private long measureEqualsTime(NtlmPasswordAuthenticator auth1, NtlmPasswordAuthenticator auth2, int iterations) { // Warm up for (int i = 0; i < 100; i++) { auth1.equals(auth2); } // Measure actual timing long startTime = System.nanoTime(); for (int i = 0; i < iterations; i++) { auth1.equals(auth2); } long endTime = System.nanoTime();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
runLeastOfComparison(10, 30, 2); } private static void runLeastOfComparison(int iterations, int elements, int seeds) { Random random = new Random(42); Ordering<Integer> ordering = Ordering.natural(); for (int i = 0; i < iterations; i++) { List<Integer> list = new ArrayList<>(); for (int j = 0; j < elements; j++) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
runLeastOfComparison(10, 30, 2); } private static void runLeastOfComparison(int iterations, int elements, int seeds) { Random random = new Random(42); Ordering<Integer> ordering = Ordering.natural(); for (int i = 0; i < iterations; i++) { List<Integer> list = new ArrayList<>(); for (int j = 0; j < elements; j++) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0)