Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for MISMATCH (0.54 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. cmd/metacache-entries_test.go

    		},
    		{
    			name:         "modtime, signature mismatch",
    			m:            metaCacheEntries{inputSerialized[0], inputSerialized[0], inputSerialized[0], inputSerialized[1]},
    			r:            metadataResolutionParams{dirQuorum: 4, objQuorum: 4, strict: false},
    			wantSelected: &inputSerialized[0],
    			wantOk:       true,
    		},
    		{
    			name:         "modtime,signature mismatch, strict",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                byte[] buffer = new byte[10000];
                int bytesRead = fis.read(buffer);
                assertEquals(10000, bytesRead);
                for (int i = 0; i < largeData.length; i++) {
                    assertEquals("Mismatch at position " + i, largeData[i], buffer[i]);
                }
            } finally {
                // Clean up
                tempFile.delete();
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                int bytesRead = stream.read(readBuffer);
    
                assertEquals(1024, bytesRead);
                for (int i = 0; i < data.length; i++) {
                    assertEquals("Mismatch at position " + i, data[i], readBuffer[i]);
                }
            }
        }
    
        public void test_fileNotFoundException() {
            // Test with non-existent file
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. internal/hash/crc.go

    		if vec&1 != 0 {
    			sum ^= mat[0]
    		}
    		vec >>= 1
    		mat = mat[1:]
    	}
    	return sum
    }
    
    func gf2MatrixSquare(square, mat []uint64) {
    	if len(square) != len(mat) {
    		panic("square matrix size mismatch")
    	}
    	for n := range mat {
    		square[n] = gf2MatrixTimes(mat, mat[n])
    	}
    }
    
    // crc32Combine returns the combined CRC-32 hash value of the two passed CRC-32
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top