Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 90 for consistently (2.08 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then - response is created successfully
            assertNotNull(responseWithNull);
        }
    
        @Test
        @DisplayName("Should return consistent bytes read for valid structure")
        void testConsistentBytesRead() throws SMBProtocolDecodingException {
            // Given - 10 different valid buffers
            for (int i = 0; i < 10; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDTest.java

            return s;
        }
    
        @Nested
        @DisplayName("Basic Constructor and Utility Tests")
        class BasicTests {
    
            @Test
            @DisplayName("Textual constructor happy path and toString consistency")
            void testTextualConstructorAndToString() throws Exception {
                // Arrange
                SID sid = new SID("S-1-5-21-1-2-3-1029");
    
                // Act & Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
            Mockito.when(mockConfig.getSessionLimit()).thenReturn(10);
    
            // Clear buffer cache for consistent test results
            BufferCache.clearCache();
        }
    
        /**
         * Test connection pool scalability with concurrent access
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/PathValidator.java

            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertTrue(id.length() <= 445);
        }
    
        @Test
        public void testCreateSuggestTextIdConsistency() {
            // Test that same input always produces same output
            String text = "consistency test";
            String id1 = SuggestUtil.createSuggestTextId(text);
            String id2 = SuggestUtil.createSuggestTextId(text);
            assertEquals(id1, id2);
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    // fid based equality (null fileId, same fid and tree id)
                    Arguments.of(null, null, 200L, true));
        }
    
        @ParameterizedTest(name = "equals/hashCode consistent for treeId={2}")
        @MethodSource("equalsHashParams")
        void equalsAndHashCode_consistency(byte[] id1, byte[] id2, long treeId, boolean expectEqual) {
            lenient().when(cfg.isTraceResourceUsage()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // But should throw when trying to use the null path
            assertThrows(NullPointerException.class, () -> {
                reqWithNull.size();
            });
        }
    
        @Test
        @DisplayName("Should write consistent structure at different offsets")
        void testWriteBytesAtDifferentOffsets() throws Exception {
            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. docs/smb3-features/04-directory-leasing-design.md

        SmbFile[] updatedFiles = dir.listFiles();
        assertEquals(initialFiles.length + 1, updatedFiles.length);
    }
    ```
    
    ## 9. Error Handling
    
    ### 9.1 Cache Consistency
    ```java
    public class CacheConsistencyManager {
        public void handleInconsistency(String directoryPath, String fileName) {
            log.warn("Cache inconsistency detected for: {}/{}", directoryPath, fileName);
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. LICENSE

          the Work or Derivative Works thereof, You may choose to offer,
          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Apr 18 13:54:00 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top