Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 1024 (0.19 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            .containsExactly(
                1,
                2,
                4,
                8,
                16,
                32,
                64,
                128,
                256,
                512,
                1024,
                2048,
                4096,
                8192,
                16384,
                32768,
                65536,
                131072,
                262144,
                524288,
                1048576,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            .containsExactly(
                1,
                2,
                4,
                8,
                16,
                32,
                64,
                128,
                256,
                512,
                1024,
                2048,
                4096,
                8192,
                16384,
                32768,
                65536,
                131072,
                262144,
                524288,
                1048576,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/Utf8Test.java

              +
              // The possible number of two byte characters
              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
          0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES;
    
      // 2,650,112
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
    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. android/guava/src/com/google/common/escape/Platform.java

      private Platform() {}
    
      /** Returns a thread-local 1024-char array. */
      static char[] charBufferFromThreadLocal() {
        // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/Utf8Test.java

              +
              // The possible number of two byte characters
              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
          0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES;
    
      // 2,650,112
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top