Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bitmask (0.17 sec)

  1. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      private static final int MAXIMUM_CAPACITY = 1 << 30;
    
      static final float DEFAULT_LOAD_FACTOR = 1.0f;
    
      /** Bitmask that selects the low 32 bits. */
      private static final long NEXT_MASK = (1L << 32) - 1;
    
      /** Bitmask that selects the high 32 bits. */
      private static final long HASH_MASK = ~NEXT_MASK;
    
      static final int DEFAULT_SIZE = 3;
    
      // used to indicate blank table entries
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    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)
  3. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    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)
  4. android/guava/src/com/google/common/math/LongMath.java

        // The alternative (x + y) / 2 fails for large values.
        // The alternative (x + y) >>> 1 fails for negative values.
        return (x & y) + ((x ^ y) >> 1);
      }
    
      /*
       * This bitmask is used as an optimization for cheaply testing for divisibility by 2, 3, or 5.
       * Each bit is set to 1 for all remainders that indicate divisibility by 2, 3, or 5, so
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/MediaType.java

       *
       * @since 20.0
       */
      public static final MediaType VTT_UTF_8 = createConstantUtf8(TEXT_TYPE, "vtt");
    
      /* image types */
      /**
       * <a href="https://en.wikipedia.org/wiki/BMP_file_format">Bitmap file format</a> ({@code bmp}
       * files).
       *
       * @since 13.0
       */
      public static final MediaType BMP = createConstant(IMAGE_TYPE, "bmp");
    
      /**
    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)
Back to top