- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 1,443 for expected (0.07 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertTrue(result > 0); assertNotNull(response.getSecurityDescriptor()); } @Test @DisplayName("Test toString returns expected format") void testToString() { String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
} final int flags = SMBUtil.readInt4(data, offset + 16); if ((flags & ServerMessageBlock2.SMB2_FLAGS_SIGNED) == 0) { log.error("The server did not sign a message we expected to be signed"); return true; } final byte[] sig = new byte[SIGNATURE_LENGTH]; System.arraycopy(data, offset + SIGNATURE_OFFSET, sig, 0, SIGNATURE_LENGTH);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/erasure-heal_test.go
} if err == nil && test.shouldFail { t.Errorf("Test %d: should fail but it passed", i) } if err == nil { // Verify that checksums of staleDisks // match expected values for i := range staleWriters { if staleWriters[i] == nil { continue } if !bytes.Equal(bitrotWriterSum(staleWriters[i]), bitrotWriterSum(writers[i])) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
tests/associations_has_one_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
* This handler extends {@link URLStreamHandler} to provide a way to open connections to storage objects * using URLs with the "storage" protocol. * * <p> * The URL format is expected to be: {@code storage://bucketName/objectName}. * The bucket name and object name are extracted from the URL. * </p> * * <p> * The handler relies on environment variables for configuration: * </p> * <ul>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks") void testGetters() throws Exception { // Use mocking to test getters without complex PAC data creation PacLogonInfo logonInfo = mock(PacLogonInfo.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
cmd/data-usage-cache.go
} e.AllTierStats.merge(other.AllTierStats) } } // mod returns true if the hash mod cycles == cycle. // If cycles is 0 false is always returned. // If cycles is 1 true is always returned (as expected). func (h dataUsageHash) mod(cycle uint32, cycles uint32) bool { if cycles <= 1 { return cycles == 1 } return uint32(xxhash.Sum64String(string(h)))%cycles == cycle%cycles }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Act & Assert assertNotSame(response1, response2); // Both instances have the same initial state, so toString() will be the same // This is expected behavior since they're created with the same configuration assertEquals(response1.toString(), response2.toString()); } @Test @DisplayName("All write methods should consistently return 0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
long startTime = System.currentTimeMillis(); try { dataIndexHelper.crawl("performance-test"); } catch (Exception e) { // Expected } long duration = System.currentTimeMillis() - startTime; // Test should complete in under 1 second (much less than the original 25+ seconds)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
try { labelTypeHelper.getMatchedLabelValueSet(null); fail("Should handle null path gracefully or throw appropriate exception"); } catch (Exception e) { // Expected behavior for null path assertNotNull(e); } } public void test_buildLabelTypeItems() { List<LabelType> labelTypeList = createTestLabelTypeList(); try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0)