Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Compact (0.19 sec)

  1. guava/src/com/google/common/collect/CompactHashing.java

      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
      static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
    
      /** Default size of a compact hash-based collection. */
      static final int DEFAULT_SIZE = 3;
    
      /**
       * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
      static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
    
      /** Default size of a compact hash-based collection. */
      static final int DEFAULT_SIZE = 3;
    
      /**
       * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

        if (availableCapacity(charBuffer) == 0) {
          if (charBuffer.position() > 0) {
            // (2) There is room in the buffer. Move existing bytes to the beginning.
            Java8Compatibility.flip(charBuffer.compact());
          } else {
            // (3) Entire buffer is full, need bigger buffer.
            charBuffer = grow(charBuffer);
          }
        }
    
        // (1) Read more characters into free space at end of array.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

          // we could limit the buffer to ensure process() does not read more than
          // chunkSize number of bytes, but we trust the implementations
          process(buffer);
        }
        buffer.compact(); // preserve any remaining data that do not make a full chunk
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/MediaType.java

       */
      public static final MediaType JAVASCRIPT_UTF_8 =
          createConstantUtf8(APPLICATION_TYPE, "javascript");
    
      /**
       * For <a href="https://tools.ietf.org/html/rfc7515">JWS or JWE objects using the Compact
       * Serialization</a>.
       *
       * @since 27.1
       */
      public static final MediaType JOSE = createConstant(APPLICATION_TYPE, "jose");
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

     * that {@linkplain #mightContain(Object)} will erroneously return {@code true} for an object that
     * has not actually been put in the {@code BloomFilter}.
     *
     * <p>Bloom filters are serializable. They also support a more compact serial representation via the
     * {@link #writeTo} and {@link #readFrom} methods. Both serialized forms will continue to be
     * supported by future versions of this library. However, serial forms generated by newer versions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * <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
     * as the traditional heap data structure used in {@link PriorityQueue}.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Striped.java

     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
     * and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a
     * very compact {@code Striped<Lock>} of {@code availableProcessors() * 4} stripes, instead of
     * possibly thousands of locks which could be created in a {@code Map<K, Lock>} structure.
     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/base/Preconditions.java

     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }</pre>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Detects Maven3 plugins using maven-compat Maven2 compatibility layer.
     *
     * @since 3.9.3
     */
    @Singleton
    @Named
    class Maven3CompatDependenciesValidator extends AbstractMavenPluginDependenciesValidator {
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 09:51:56 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top