- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 67 for MISMATCH (0.04 sec)
-
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
@Test void causeConstructor_setsCause_andDerivesMessageFromCauseToString() { // Arrange - use a real cause so message is derived from cause.toString() Throwable cause = new IllegalStateException("proto mismatch"); String expectedMessage = cause.toString(); // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(cause); // Assert - cause preserved, message derived from cause
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
<LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/"></LocationConstraint>`), errorResponse: APIErrorResponse{}, shouldPass: true, }, // Test case - 2. // Tests for signature mismatch error. { bucketName: bucketName, accessKey: "abcd", secretKey: "abcd", expectedRespStatus: http.StatusForbidden, locationResponse: []byte(""),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(readResponse.getOffset()).thenReturn(0); boolean result = digest.verify(data, 0, data.length, 0, readResponse); assertTrue(result); // Signature mismatch expected } @Test @DisplayName("Test verify method with invalid signature") void testVerifyWithInvalidSignature() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null"); assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "Codes/messages length mismatch"); // Exact content check to guard against accidental reordering or drift assertArrayEquals(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
// Compare actual bytes (up to encoded length) for (int i = 0; i < encoded1; i++) { assertEquals(buffer1[i], buffer2[i], "Mismatch at position " + i); assertEquals(buffer2[i], buffer3[i], "Mismatch at position " + i); } } @Test @DisplayName("Test with typical Windows pipe name format") void testWithTypicalWindowsPipeName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/bitrot.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param limit the maximum length limit * @param in the ASN.1 input stream * @return coded bytes of the tagged object * @throws IOException if reading fails or tag mismatch */ public static byte[] readUnparsedTagged(final int expectTag, final int limit, final ASN1InputStream in) throws IOException { final int ftag = in.read(); final int tag = readTagNumber(in, ftag);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
assertLockHeld() val routeUrl = route.address.url if (url.port != routeUrl.port) { return false // Port mismatch. } if (url.host == routeUrl.host) { return true // Host match. The URL is supported. } // We have a host mismatch. But if the certificate matches, we're still good. return !noCoalescedConnections && handshake != null && certificateSupportHost(url, handshake)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
assertEquals(1, od.getChunksWritten()); assertEquals(2, od.getChunkBytesWritten()); assertEquals(3, od.getTotalBytesWritten()); // Type mismatch should raise SmbException assertThrows(SmbException.class, () -> resp.getOutputData(SrvRequestResumeKeyResponse.class)); } @Test void decodesPipePeekOnBufferOverflowStatus() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
byte[] actualData = response.getData(); assertEquals(16, actualData.length); for (int i = 0; i < 16; i++) { assertEquals(expectedData[i], actualData[i], "Data mismatch at index " + i); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)