Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRead_putByteArrayAtPos (0.11 sec)

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

        }
    
        verify(hasher).putBytes(testBytes, 0, testBytes.length);
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArrayAtPos() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        byte[] buf = new byte[3];
        int numOfByteRead = in.read(buf, 0, 3);
        assertEquals(3, numOfByteRead);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        }
    
        verify(hasher).putBytes(testBytes, 0, testBytes.length);
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArrayAtPos() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        byte[] buf = new byte[3];
        int numOfByteRead = in.read(buf, 0, 3);
        assertEquals(3, numOfByteRead);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top