- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Remaining (0.18 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
} @ParameterizedTest @DisplayName("Should read various remaining values") @ValueSource(ints = { 0, 1, 100, 1024, 65536, Integer.MAX_VALUE }) void testReadVariousRemainingValues(int remaining) throws SMBProtocolDecodingException { byte[] buffer = createValidWriteResponse(0, remaining); int bytesRead = response.readBytesWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8")); // Read remaining bytes byte[] remaining = new byte[20]; int remainingBytes = stream.read(remaining); assertEquals(8, remainingBytes); // ", World!" assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8")); } }
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @ParameterizedTest @DisplayName("Should handle various remaining bytes values") @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, Integer.MAX_VALUE }) void testVariousRemainingBytes(int remaining) { assertDoesNotThrow(() -> request.setRemainingBytes(remaining)); } } @Nested @DisplayName("Size Calculation Tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Skip 3 bytes assertEquals(3, sis.skip(3)); // Read remaining 2 bytes byte[] remaining = new byte[2]; assertEquals(2, sis.read(remaining, 0, 2)); assertArrayEquals(new byte[] { 40, 50 }, remaining); } @Test @DisplayName("Skip handles amount larger than available")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} public int getLocalKey() { return localKey; } public int getRemoteKey() { return remoteKey; } public long getAddress() { return address; } public int getSize() { return buffer.remaining(); } public boolean hasAccess(RdmaAccess access) { return accessFlags.contains(access); } /** * Invalidate this memory region */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
*/ public String getService() { return this.service; } /** * Get lifetime of current user. * * @return the remaining lifetime in seconds. If the default lifetime is * used, this value have no meaning. * */ public int getUserLifeTime() { return this.userLifetime; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0)