Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for 24 (0.16 sec)

  1. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
            if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) {
              int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24);
              k1 = mixK1(k1);
              h1 = mixH1(h1, k1);
              i += 4;
              len += 4;
            } else {
              break;
            }
          }
    
          long buffer = 0;
          int shift = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheStatsTest.java

      }
    
      public void testSingle() {
        CacheStats stats = new CacheStats(11, 13, 17, 19, 23, 27);
        assertEquals(24, stats.requestCount());
        assertEquals(11, stats.hitCount());
        assertEquals(11.0 / 24, stats.hitRate());
        assertEquals(13, stats.missCount());
        assertEquals(13.0 / 24, stats.missRate());
        assertEquals(17, stats.loadSuccessCount());
        assertEquals(19, stats.loadExceptionCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

     * @author Daniel J. Bernstein
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class SipHashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction SIP_HASH_24 =
          new SipHashFunction(2, 4, 0x0706050403020100L, 0x0f0e0d0c0b0a0908L);
    
      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Fingerprint2011.java

        long part1 = load64(bytes, offset);
        long part2 = load64(bytes, offset + 8);
        long part3 = load64(bytes, offset + 16);
        long part4 = load64(bytes, offset + 24);
    
        seedA += part1;
        seedB = rotateRight(seedB + seedA + part4, 51);
        long c = seedA;
        seedA += part2;
        seedA += part3;
        seedB += rotateRight(seedA, 23);
        output[0] = seedA + part4;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        ticker.advance((long) (2.5 * 60 * 60 * 1000000000L));
        assertEquals("2.500 h", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (7.25 * 24 * 60 * 60 * 1000000000L));
        assertEquals("7.250 d", stopwatch.toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
            ReentrantReadWriteLock.class.getMethods().length);
      }
    
      private enum MyOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    
      private enum OtherOrder {
        FIRST,
        SECOND,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        static int computeForWord(int word) {
          return STRIDE_TABLE[3][word & 0xFF]
              ^ STRIDE_TABLE[2][(word >>> 8) & 0xFF]
              ^ STRIDE_TABLE[1][(word >>> 16) & 0xFF]
              ^ STRIDE_TABLE[0][word >>> 24];
        }
    
        static int combine(int csum, int crc) {
          csum ^= crc;
          for (int i = 0; i < 4; i++) {
            csum = (csum >>> 8) ^ BYTE_TABLE[csum & 0xFF];
          }
          return csum;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

            case 14:
              k2 ^= (long) toInt(bb.get(13)) << 40; // fall through
            case 13:
              k2 ^= (long) toInt(bb.get(12)) << 32; // fall through
            case 12:
              k2 ^= (long) toInt(bb.get(11)) << 24; // fall through
            case 11:
              k2 ^= (long) toInt(bb.get(10)) << 16; // fall through
            case 10:
              k2 ^= (long) toInt(bb.get(9)) << 8; // fall through
            case 9:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * <p><b>For users targeting Android API level 24 or higher:</b> This class will eventually
     * implement {@code BiPredicate<T, T>} (as it does in the main Guava artifact), but we currently
     * target a lower API level. In the meantime, if you have support for method references you can use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top