Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makeHash (6.59 sec)

  1. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        Sink(int chunkSize) {
          super(chunkSize);
          this.chunkSize = chunkSize;
          this.bufferSize = chunkSize;
        }
    
        @Override
        protected HashCode makeHash() {
          return HashCode.fromBytes(out.toByteArray());
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          processCalled++;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        Sink(int chunkSize) {
          super(chunkSize);
          this.chunkSize = chunkSize;
          this.bufferSize = chunkSize;
        }
    
        @Override
        protected HashCode makeHash() {
          return HashCode.fromBytes(out.toByteArray());
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          processCalled++;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingTest.java

            Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32(), Hashing.murmur3_128()).bits());
      }
    
      public void testConcatenatingHashFunction_makeHash() {
        byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes();
        byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes();
        byte[] combined = new byte[md5Hash.length + murmur3Hash.length];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

            Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32(), Hashing.murmur3_128()).bits());
      }
    
      public void testConcatenatingHashFunction_makeHash() {
        byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes();
        byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes();
        byte[] combined = new byte[md5Hash.length + murmur3Hash.length];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

                "the number of bits (%s) in hashFunction (%s) must be divisible by 8",
                function.bits(),
                function);
          }
        }
    
        @Override
        HashCode makeHash(Hasher[] hashers) {
          byte[] bytes = new byte[bits() / 8];
          int i = 0;
          for (Hasher hasher : hashers) {
            HashCode newHash = hasher.hash();
    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)
Back to top