Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getBytesInternal (0.26 sec)

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

            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal();
          long hash1 = lowerEight(bytes);
          long hash2 = upperEight(bytes);
    
          boolean bitsChanged = false;
          long combinedHash = hash1;
          for (int i = 0; i < numHashFunctions; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/BloomFilterStrategies.java

            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal();
          long hash1 = lowerEight(bytes);
          long hash2 = upperEight(bytes);
    
          boolean bitsChanged = false;
          long combinedHash = hash1;
          for (int i = 0; i < numHashFunctions; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hashCode = HashCode.fromBytes(bytes);
    
        assertEquals(0x0000abcd, hashCode.asInt());
        assertEquals("cdab0000", hashCode.toString());
    
        hashCode.getBytesInternal()[0] = (byte) 0x00;
    
        assertEquals(0x0000ab00, hashCode.asInt());
        assertEquals("00ab0000", hashCode.toString());
      }
    
      public void testPadToLong() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top