- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 195 for Remaining (0.04 sec)
-
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertTrue(bb.remaining() >= chunkSize); for (int i = 0; i < chunkSize; i++) { out.write(bb.get()); } } @Override protected void processRemaining(ByteBuffer bb) { assertFalse(remainingCalled); remainingCalled = true; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); assertTrue(bb.remaining() > 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertDoesNotThrow(() -> request.setMinimumCount(512)); assertDoesNotThrow(() -> request.setMinimumCount(Integer.MAX_VALUE)); } @Test @DisplayName("Should set remaining bytes correctly") void testSetRemainingBytes() { assertDoesNotThrow(() -> request.setRemainingBytes(0)); assertDoesNotThrow(() -> request.setRemainingBytes(1024));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
CharBuffer buf = CharBuffer.wrap(ASCII); assertEquals(ASCII.length(), CharStreams.exhaust(buf)); assertEquals(0, buf.remaining()); assertEquals(0, CharStreams.exhaust(buf)); CharBuffer empty = CharBuffer.wrap(""); assertEquals(0, CharStreams.exhaust(empty)); assertEquals(0, empty.remaining()); } public void testNullWriter() throws Exception { // create a null writer
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
CharBuffer buf = CharBuffer.wrap(ASCII); assertEquals(ASCII.length(), CharStreams.exhaust(buf)); assertEquals(0, buf.remaining()); assertEquals(0, CharStreams.exhaust(buf)); CharBuffer empty = CharBuffer.wrap(""); assertEquals(0, CharStreams.exhaust(empty)); assertEquals(0, empty.remaining()); } public void testNullWriter() throws Exception { // create a null writer
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
checkPositionIndexes(off, off + len, input.length); return newHasher(len).putBytes(input, off, len).hash(); } @Override 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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
} try { // For TCP fallback, simulate reading data through the TCP socket int bytesToRead = Math.min(length, buffer.remaining()); ByteBuffer tempBuffer = ByteBuffer.allocate(bytesToRead); int totalRead = 0; while (tempBuffer.hasRemaining() && totalRead < bytesToRead) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
IllegalArgumentException.class), // Name length larger than remaining bytes - use method reference Arguments.of("name length exceeds remaining", (java.util.function.Supplier<byte[]>) () -> { byte[] buf = buildBuffer(der, nameBytes); // Corrupt NAME_LEN to be larger than actual by +5
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
* Gets the number of bytes actually read * * @return the dataLength */ public int getDataLength() { return this.dataLength; } /** * Gets the number of bytes remaining to be read * * @return the dataRemaining */ public int getDataRemaining() { return this.dataRemaining; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
for (int i = 1; i < input.length(); i += 2) { int k1 = input.charAt(i - 1) | (input.charAt(i) << 16); k1 = mixK1(k1); h1 = mixH1(h1, k1); } // deal with any remaining characters if ((input.length() & 1) == 1) { int k1 = input.charAt(input.length() - 1); k1 = mixK1(k1); h1 ^= k1; } return fmix(h1, Chars.BYTES * input.length()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0)