- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 92 for consistency (5.84 sec)
-
docs/smb3-features/01-smb3-lease-design.md
public static final int SMB2_LEASE_FULL = 0x07; // RWH } ``` ### 3.2 Lease Versions - **Lease V1**: Basic lease support (SMB 3.0) - **Lease V2**: Adds epoch support for better consistency (SMB 3.0.2+) ## 4. Data Structures ### 4.1 Lease Key Structure ```java package jcifs.internal.smb2.lease; import java.security.SecureRandom; import java.util.Arrays; public class Smb2LeaseKey {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
assertFalse((executeMask & ACE.FILE_WRITE_DATA) != 0, "Execute should not include write access"); } @Test @DisplayName("Should validate documented bit comment consistency") void shouldValidateDocumentedBitComments() { // Verify that comments in source match actual constant values (not bit positions)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
destPath = destPath.substring(1); } // Open the source file for renaming // Use share-relative path for consistency with destination path handling String sourcePath = getUncPath(); if (sourcePath.startsWith("\\")) { sourcePath = sourcePath.substring(1); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
// Then - should be same instances assertSame(config1, config2, "Configuration should be consistent"); assertSame(dfs1, dfs2, "DFS resolver should be consistent"); assertSame(cache1, cache2, "Buffer cache should be consistent"); } @Test @DisplayName("Context should provide working resource creation")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
} } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTest { @Test @DisplayName("Should handle repeated method calls consistently") void shouldHandleRepeatedMethodCallsConsistently() { SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
@Test @DisplayName("EmptyIterator should behave consistently across multiple calls") void testConsistentBehavior() { // When & Then - test multiple sequential calls for (int i = 0; i < 10; i++) { assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false"); assertNull(emptyIterator.next(), "next should consistently return null"); } } @RepeatedTest(5)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
jcifs.CIFSContext context = createDefaultContext(); // Create transport with multi-channel specific settings // Multi-channel transports should use signing consistently with the main session boolean forceSigning = context.getConfig().isSigningEnforced();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
return hasChanges; } /** * Get and increment inconsistency count * * @return the current inconsistency count */ public int getInconsistencyCount() { return inconsistencyCount.getAndIncrement(); } /** * Reset inconsistency count */ public void resetInconsistencyCount() { inconsistencyCount.set(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
README.md
- **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass()); @BeforeEach void baseSetUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0)