Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedInputSize (0.06 sec)

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

      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        Preconditions.checkArgument(expectedInputSize >= 0);
        return new BufferingHasher(expectedInputSize);
      }
    
      @Override
      public HashCode hashInt(int input) {
        return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractHashFunction.java

      public HashCode hashBytes(ByteBuffer input) {
        return newHasher(input.remaining()).putBytes(input).hash();
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        checkArgument(
            expectedInputSize >= 0, "expectedInputSize must be >= 0 but was %s", expectedInputSize);
        return newHasher();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top