- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 104 for boundary$ (0.16 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals("abc", notifications.get(0).getFileName()); assertEquals("test", notifications.get(1).getFileName()); } @Test @DisplayName("Should handle buffer boundary conditions") void testBufferBoundaryConditions() throws Exception { // Given - notification exactly at buffer end byte[] buffer = new byte[104]; // Exact size needed int offset = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2; int expectedLongSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + longPath.length() * 2; // size8 method aligns to 8-byte boundary int alignedShortSize = (expectedShortSize + 7) & ~7; int alignedLongSize = (expectedLongSize + 7) & ~7; assertEquals(alignedShortSize, shortSize);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertDoesNotThrow(() -> { new Smb2TreeConnectResponse(null); }, "Should handle null configuration"); } @Test @DisplayName("Should handle boundary values for tree ID") void testBoundaryTreeIds() { Smb2TreeConnectResponse smb2Response = new Smb2TreeConnectResponse(mockConfig); // Test minimum valid TID
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
assertTrue(result.contains("path=null")); assertTrue(result.contains("altPath=null")); assertTrue(result.contains("node=NODE")); } // Edge Cases and Boundary Tests @Test public void testMaximumValues() { ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 3);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
fileAttributesField.setAccessible(true); assertEquals(0x01, fileAttributesField.get(response)); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @Test @DisplayName("Should handle negative time values") void testNegativeTimeValues() throws SMBProtocolDecodingException { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified"); } } @Test @DisplayName("Should encode at buffer boundary") void testEncodeAtBufferBoundary() { // Given SrvCopychunk chunk = new SrvCopychunk(111, 222, 333); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Should be path based on our initialization assertEquals("path", concretePath); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty FQDN in fixupHost")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When boolean valid = response.isValid(mockContext, mockRequest); // Then assertTrue(valid); // Should be aligned to 8-byte boundary assertEquals(32768 & ~0x7, response.getReceiveBufferSize()); assertEquals(32768 & ~0x7, response.getSendBufferSize()); assertTrue(response.getTransactionBufferSize() <= 65536); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
CHANGELOG.md
than 63 characters between dots), and empty labels. * New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with browsers and other HTTP clients.) * New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
okhttp/api/android/okhttp.api
public final fun -deprecated_parts ()Ljava/util/List; public final fun -deprecated_size ()I public final fun -deprecated_type ()Lokhttp3/MediaType; public final fun boundary ()Ljava/lang/String; public fun contentLength ()J public fun contentType ()Lokhttp3/MediaType; public fun isOneShot ()Z public final fun part (I)Lokhttp3/MultipartBody$Part;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.3K bytes - Viewed (0)