Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 789 for NEXT (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3())));
              iterator.next();
            });
      }
    
      /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/SmallCharMatcher.java

       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
        while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
          tableSize <<= 1;
        }
        return tableSize;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

          resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
          List<V> expectedValues = copyToList(values);
    
          Entry<K, Collection<V>> asMapEntry = multimap().asMap().entrySet().iterator().next();
          List<V> asMapValue = (List<V>) asMapEntry.getValue();
          asMapValue.remove(i);
          expectedValues.remove(i);
    
          assertGet(k0(), expectedValues);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. cmd/lock-rest-server.go

    		// Verifies every minute for locks held more than 2 minutes.
    		select {
    		case <-ctx.Done():
    			return
    		case <-lkTimer.C:
    			globalLockServer.expireOldLocks(lockValidityDuration)
    
    			// Reset the timer for next cycle.
    			lkTimer.Reset(lockMaintenanceInterval)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          true
        } else {
          scheduleCloser()
          false
        }
      }
    
      fun evictAll() {
        val i = connections.iterator()
        while (i.hasNext()) {
          val connection = i.next()
          val socketToClose =
            connection.withLock {
              if (connection.calls.isEmpty()) {
                i.remove()
                connection.noNewExchanges = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        checkNotNull(comparator);
        if (!elements.hasNext()) {
          return emptySet(comparator);
        }
        SortedSet<E> delegate = new TreeSet<E>(comparator);
        while (elements.hasNext()) {
          E element = elements.next();
          checkNotNull(element);
          delegate.add(element);
        }
        return new RegularImmutableSortedSet<E>(delegate, false);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/NotifyResponseTest.java

            public void setNextResponse(CommonServerMessageBlockResponse nextResponse) {
                this.nextResponse = nextResponse;
            }
    
            @Override
            public void prepare(CommonServerMessageBlockRequest next) {
                // Mock implementation - do nothing
            }
    
            @Override
            public void reset() {
                // Mock implementation - reset state
                this.async = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    		{"THIS-BEGINS-WITH-UPPERCASe", false},
    		{"tHIS-ENDS-WITH-UPPERCASE", false},
    		{"ThisBeginsAndEndsWithUpperCasE", false},
    		{"una ñina", false},
    		{"dash-.may-not-appear-next-to-dot", false},
    		{"dash.-may-not-appear-next-to-dot", false},
    		{"dash-.-may-not-appear-next-to-dot", false},
    		{"lalalallalallalalalallalallalala-thestring-size-is-greater-than-63", false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        sortedTable.put("", 42, 'x');
        assertSame(Ordering.natural(), sortedTable.columnComparator());
        assertSame(
            Ordering.natural(),
            ((SortedMap<Integer, Character>) sortedTable.rowMap().values().iterator().next())
                .comparator());
    
        sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        sortedTable.put("", 42, 'x');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/UniAddress.java

                }
            }
    
            return calledName;
        }
    
        /**
         * Guess next called name to try for session establishment. This
         * method is used exclusively by the <code>jcifs.smb1.smb1</code> package.
         *
         * @return the next called name to try
         */
    
        public String nextCalledName() {
            if (addr instanceof NbtAddress) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top