- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for consistency (0.74 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
ndrShort1.encode(encodeBuffer); NdrShort ndrShort2 = new NdrShort(0); ndrShort2.decode(decodeBuffer); // Then: Should maintain masked value consistency verify(encodeBuffer).enc_ndr_short(maskedValue); verify(decodeBuffer).dec_ndr_short(); assertEquals(maskedValue, ndrShort1.value); assertEquals(maskedValue, ndrShort2.value);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertEquals("parentdomain", testConfig.getDefaultDomain()); // Inherited } @Test @DisplayName("Should validate configuration consistency") void testConfigurationValidation() throws CIFSException { // Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.minVersion", "SMB311");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} /** * Inner class for handling updates to the character mapping file. * This class manages the temporary file creation, writing operations, * and atomic updates to ensure data consistency during modifications. */ protected class MappingUpdater implements Closeable { /** Flag indicating whether changes should be committed to the file. */ protected boolean isCommit = false;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
TransWaitNamedPipeResponse testResponse = new TransWaitNamedPipeResponse(testConfig); // Assert assertNotNull(testResponse); } @Test @DisplayName("Test toString consistency across multiple calls") void testToStringConsistency() { // Act String result1 = response.toString(); String result2 = response.toString(); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
long time = System.currentTimeMillis(); // UTime is seconds since epoch, so divide by 1000 long unixTime = time / 1000L; // Mocking date for timezone consistency TimeZone original = TimeZone.getDefault(); try { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} // Then - no exceptions should have been thrown assertTrue(true); // If we reach here, no exceptions occurred } /** * Test consistency across multiple calls */ @Test @DisplayName("Test consistency across multiple calls") public void testConsistencyAcrossMultipleCalls() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
FileEntry[] entries1 = dfsRootEnum.getEntries(); FileEntry[] entries2 = dfsRootEnum.getEntries(); FileEntry[] entries3 = dfsRootEnum.getEntries(); // Verify consistency assertNotNull(entries1); assertNotNull(entries2); assertNotNull(entries3); assertEquals(entries1.length, entries2.length); assertEquals(entries2.length, entries3.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
} executor.shutdown(); assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout"); // Analyze timing consistency across threads if (!timings.isEmpty()) { double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testMultipleEncodeOperations() { long endOfFile = 0x1234567890ABCDEFL; FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile); // Encode multiple times to verify consistency byte[] buffer1 = new byte[8]; byte[] buffer2 = new byte[8]; int bytes1 = info.encode(buffer1, 0); int bytes2 = info.encode(buffer2, 0); assertEquals(8, bytes1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
for (Thread t : threads) { t.start(); } // Wait for completion for (Thread t : threads) { t.join(); } // Verify consistency SimpleCircuitBreaker.Statistics stats = breaker.getStatistics(); assertEquals(successCount.get() + failureCount.get(), stats.totalSuccesses + stats.totalFailures + stats.rejectedCalls); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0)