Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 491 for leastOf (0.07 seconds)

  1. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

           */
          /*
           * A CopyOnWriteArraySet<WeakReference> is faster than a newSetFromMap of a MapMaker map with
           * weakKeys() and concurrencyLevel(1), even up to at least 12 cached exception types.
           */
          private static final Set<WeakReference<Class<? extends Exception>>> validClasses =
              new CopyOnWriteArraySet<>();
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. cmd/bootstrap-peer-server.go

    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    					logger.Info(fmt.Sprintf("Following servers are currently offline or unreachable %s", offlineEndpoints))
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 01 22:13:18 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                    // Exponential backoff with overflow protection
                    if (retryDelayMs > 0) {
                        try {
                            // Safe calculation: ensure retryCount is at least 1 for proper exponential backoff
                            int safeShift = Math.min(MAX_BACKOFF_SHIFT, Math.max(1, retryCount));
                            long multiplier = 1L << safeShift;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       * comes up in practice (maybe through some kind of sanitizer-like testing that intentionally
       * inflicts spurious interrupts on us?), we might have to accept some flakiness or disable some
       * tests, at least under whichever environment (JRE or Android) we see such problems.
       */
    
      @SuppressWarnings("WaitNotInLoop") // see comment above
      public void testConditionAwaitTimeoutExceeded() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

        public Builder<K, V> expectedValuesPerKey(int expectedValuesPerKey) {
          checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
    
          // Always presize to at least 1, since we only bother creating a value collection if there's
          // at least one element.
          this.expectedValuesPerKey = max(expectedValuesPerKey, 1);
    
          return this;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/StandardTable.java

           * requireNonNull is safe because:
           *
           * - columnIterator started off pointing to an empty iterator, so we must have entered the
           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
           * - The only case in which rowEntry is cleared (during remove() below) happens only if the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  7. docs/smb3-features/03-multi-channel-design.md

        private final ChannelManager manager;
        private LoadBalancingStrategy strategy;
        
        public enum LoadBalancingStrategy {
            ROUND_ROBIN,      // Rotate through channels
            LEAST_LOADED,     // Select least busy channel
            WEIGHTED_RANDOM,  // Random selection weighted by score
            AFFINITY_BASED,   // Stick to same channel for related operations
            ADAPTIVE         // Dynamically adjust based on performance
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            return true
          }
        }
    
        // If we have a routes left, use 'em.
        if (routeSelection?.hasNext() == true) return true
    
        // If we haven't initialized the route selector yet, assume it'll have at least one route.
        val localRouteSelector = routeSelector ?: return true
    
        // If we do have a route selector, use its routes.
        return localRouteSelector.hasNext()
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       */
      private static final LittleEndianBytes byteArray = makeGetter();
    
      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
       * position + 8. The array must have at least 8 bytes from offset (inclusive).
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start
       * @return a long of a concatenated 8 bytes
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] packet = buildPacket(header, body, null, null);
    
            int read = resp.decode(packet, 0, false);
            assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body");
    
            // Validate simple getters
            assertEquals((byte) 0x7, resp.getOplockLevel());
            assertEquals((byte) 0x2, resp.getOpenFlags());
            assertEquals(0x11223344, resp.getCreateAction());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top