Home
last modified time | relevance | path

Searched refs:numOfByteRead (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashingInputStreamTest.java63 int numOfByteRead = in.read(buf, 0, buf.length); in testRead_putByteArray() local
64 assertEquals(4, numOfByteRead); in testRead_putByteArray()
78 int numOfByteRead = in.read(buf, 0, 3); in testRead_putByteArrayAtPos() local
79 assertEquals(3, numOfByteRead); in testRead_putByteArrayAtPos()
80 for (int i = 0; i < numOfByteRead; i++) { in testRead_putByteArrayAtPos()
96 int numOfByteRead = in.read(buf, 0, 100); in testRead_putByteArrayOutOfBound() local
97 assertEquals(4, numOfByteRead); in testRead_putByteArrayOutOfBound()
98 for (int i = 0; i < numOfByteRead; i++) { in testRead_putByteArrayOutOfBound()
112 int numOfByteRead = in.read(buf, 0, buf.length); in testHash_hashesCorrectly() local
113 assertEquals(4, numOfByteRead); in testHash_hashesCorrectly()
[all …]
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashingInputStreamTest.java63 int numOfByteRead = in.read(buf, 0, buf.length); in testRead_putByteArray() local
64 assertEquals(4, numOfByteRead); in testRead_putByteArray()
78 int numOfByteRead = in.read(buf, 0, 3); in testRead_putByteArrayAtPos() local
79 assertEquals(3, numOfByteRead); in testRead_putByteArrayAtPos()
80 for (int i = 0; i < numOfByteRead; i++) { in testRead_putByteArrayAtPos()
96 int numOfByteRead = in.read(buf, 0, 100); in testRead_putByteArrayOutOfBound() local
97 assertEquals(4, numOfByteRead); in testRead_putByteArrayOutOfBound()
98 for (int i = 0; i < numOfByteRead; i++) { in testRead_putByteArrayOutOfBound()
112 int numOfByteRead = in.read(buf, 0, buf.length); in testHash_hashesCorrectly() local
113 assertEquals(4, numOfByteRead); in testHash_hashesCorrectly()
[all …]