- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 474 for incorrect (0.07 sec)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
try { int read = sis.read(buffer, 0, 10); // Should read all 5 available bytes assertEquals(5, read); // Verify correct data for (int i = 0; i < 5; i++) { assertEquals(i + 1, buffer[i]); } // Next read will try to read header and should fail
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/signature-v4.go
} // Verify if sha256 payload query is same. if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) { return ErrContentSHA256Mismatch } // Verify if security token is correct. if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 { return ErrInvalidToken } // Verify finally if signature is same. // Get canonical request.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
// Create a new digest for verification with same key SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey); // Verify should return false when signature is correct (no error) // The code returns true on line 281 when signatures DON'T match boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
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/org/codelibs/fess/util/WebApiUtilTest.java
} public void test_static_method_signatures() { // Verify all public static methods exist with correct signatures try { // setObject(String, Object) Method setObjectMethod = WebApiUtil.class.getMethod("setObject", String.class, Object.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Should write FileInformation data + 6 bytes padding assertEquals(36, written); // 30 + 6 // Verify encode was called with correct offset verify(mockFileInfo).encode(buffer, offset); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
CIFSException exception = assertThrows(CIFSException.class, () -> { AvPairs.decode(avPairData); }); assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message"); } /** * Test decode with invalid EOL (non-zero length) */ @Test @DisplayName("Decode should throw exception for invalid EOL length") void testDecodeInvalidEOL() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
misc/go_android_exec/main.go
return } // runtime.GOROOT is empty — perhaps go_android_exec was built with // -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback, // assuming that the 'go' command in $PATH is the correct one. cmd := exec.Command("go", "env", "GOROOT") cmd.Stderr = os.Stderr out, err := cmd.Output() if err != nil { gorootErr = fmt.Errorf("%v: %w", cmd, err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
VersionRange range2 = VersionRange.createFromVersionSpec("1.1"); VersionRange mergedRange = range1.restrict(range2); // TODO current policy is to retain the original version - is this correct, do we need strategies or is that // handled elsewhere? // assertEquals( "1.1", mergedRange.getRecommendedVersion().toString(), CHECK_VERSION_RECOMMENDATION );
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
} public void test_static_method_signatures() { // Verify all public static methods exist with correct signatures try { // parse(String) Method parseMethod = KuromojiCSVUtil.class.getMethod("parse", String.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
} } catch (final Exception e) { logger.warn(path + " is not an object.", e); } return null; } /** * Preprocesses a URI to ensure it has the correct storage protocol prefix. * @param uri the URI to preprocess * @return the preprocessed URI with storage:// prefix * @throws CrawlerSystemException if the URI is empty */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17.9K bytes - Viewed (2)