Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for bonded (0.14 sec)

  1. android/guava/src/com/google/common/cache/LoadingCache.java

       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheLoader.java

      /** Constructor for use by subclasses. */
      protected CacheLoader() {}
    
      /**
       * Computes or retrieves the value corresponding to {@code key}.
       *
       * @param key the non-null key whose value should be loaded
       * @return the value associated with {@code key}; <b>must not be null</b>
       * @throws Exception if unable to load the result
       * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        this.executor = checkNotNull(executor);
      }
    
      /**
       * Creates a TimeLimiter instance using the given executor service to execute method calls.
       *
       * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills
       * up, any time callers spend waiting for a thread may count toward their time limit, and in this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
     * <p>A discrete domain always represents the <i>entire</i> set of values of its type; it cannot
     * represent partial domains such as "prime integers" or "strings of length 5."
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        new WildcardSubtypingTests().testAllDeclarations();
      }
    
      /**
       * This test reproduces the bug in canonicalizeWildcardType() when the type variable is
       * recursively bounded.
       */
      public void testRecursiveWildcardSubtypeBug() throws Exception {
        Exception e =
            assertThrows(
                Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       * Hashing} class is loaded. <b>Do not use this method</b> if hash codes may escape the current
       * process in any way, for example being sent over RPC, or saved to disk. For a general-purpose,
       * non-cryptographic hash function that will never change behavior, we suggest {@link
       * #murmur3_128}.
       *
       * <p>Repeated calls to this method on the same loaded {@code Hashing} class, using the same value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ContiguousSet.java

    /**
     * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DiscreteDomain.java

     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
     * <p>A discrete domain always represents the <i>entire</i> set of values of its type; it cannot
     * represent partial domains such as "prime integers" or "strings of length 5."
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

            // in.available() always returns 0 (the default).
            int skip = (int) Math.min(remaining, BUFFER_SIZE);
            if (buf == null) {
              // Allocate a buffer bounded by the maximum size that can be requested, for
              // example an array of BUFFER_SIZE is unnecessary when the value of remaining
              // is smaller.
              buf = new byte[skip];
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * its comparator (which might be the element that was just added). This is different from
     * conventional bounded queues, which either block or reject new elements when full.
     *
     * <p>This implementation is based on the <a
     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top