Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 265 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 Apr 26 12:43:10 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/collect/MinMaxPriorityQueue.java

              E auntElement = elementData(auntIndex);
              if (ordering.compare(auntElement, parentElement) < 0) {
                parentIndex = auntIndex;
                parentElement = auntElement;
              }
            }
          }
          if (ordering.compare(parentElement, x) < 0) {
            queue[index] = parentElement;
            queue[parentIndex] = x;
            return parentIndex;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/util/PrunedTag.java

            }
            final PrunedTag other = (PrunedTag) obj;
            return StringUtils.compare(tag, other.tag) == 0 //
                    && StringUtils.compare(css, other.css) == 0 //
                    && StringUtils.compare(id, other.id) == 0 //
                    && StringUtils.compare(attrName, other.attrName) == 0 //
                    && StringUtils.compare(attrValue, other.attrValue) == 0;
        }
    
        public void setId(final String id) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top