- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 91 for consistently (2.47 sec)
-
src/main/java/jcifs/SmbException.java
*/ package jcifs; import java.util.HashMap; import java.util.Map; /** * Base exception class for all SMB-related exceptions * * This class provides a consistent exception handling mechanism * with proper error context and recovery information. */ public class SmbException extends CIFSException { private static final long serialVersionUID = 1L; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
loadBalancer.setStrategy(LoadBalancingStrategy.AFFINITY_BASED); Smb2ReadRequest readRequest = mock(Smb2ReadRequest.class); when(readRequest.getTreeId()).thenReturn(123); // Set consistent tree ID for affinity when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Multiple calls with same file ID should return same channel
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
assertFalse("validateCalled should be false as exception thrown before flag set", extractor.isValidateCalled()); } } /** * Test that validateInputStream is consistent across multiple calls. */ public void test_validateInputStream_consistentAcrossMultipleCalls() { final InputStream in1 = new ByteArrayInputStream("data1".getBytes());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
assertNotNull(result.getContent()); assertTrue("Should contain test content", result.getContent().contains("ใในใ")); } /** * Test that error message format is consistent and descriptive. */ public void test_errorMessage_formatIsDescriptive() { final InputStream errorStream = new InputStream() { @Override public int read() throws IOException {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K 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/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/CharMappingItem.java
*/ public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /** * Sorts both the current inputs and new inputs arrays in place. * This ensures consistent ordering for comparison and equality operations. */ public void sort() { if (inputs != null) { Arrays.sort(inputs); } if (newInputs != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Wait for completion assertTrue(endLatch.await(10, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); // Then - Session should be in consistent state // The double-check pattern should prevent inconsistent cleanup assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should write consistent structure at different offsets") void testWriteBytesAtDifferentOffsets(int offset) { // Given Configuration mockConfig = mock(Configuration.class);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/smb/RequestParamTest.java
assertNotNull(rp); assertEquals(name, rp.name(), "name() must match input"); assertEquals(name, rp.toString(), "toString() should default to name()"); // Ordinal is consistent with declaration order switch (name) { case "NONE": assertEquals(0, rp.ordinal()); break; case "NO_TIMEOUT": assertEquals(1, rp.ordinal());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)