Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 104 for unneeded (0.04 sec)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Since we can't mock the internal transport operations easily without real network,
            // we'll test the simpler case where no NTLM negotiation is needed
            when(request.getHeader("Authorization")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    
            // Should challenge the client
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            byte[] invalidProtocolId = { 'I', 'N', 'V', 'D' };
    
            // When/Then
            // Protocol ID validation not applicable for transform header - method does not exist
            // No validation needed as transform header handles protocol ID internally
        }
    
        @Test
        @DisplayName("Should handle null protocol ID")
        void testNullProtocolId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryCommand.java

                return QueryBuilders.prefixQuery(f, text);
            }
            return QueryBuilders.matchPhraseQuery(f, text);
        }
    
        /**
         * Gets the actual search field, replacing default field placeholder if needed.
         * @param defaultField The default field to use if field is the default placeholder.
         * @param field The field name to check.
         * @return The actual field name to use for searching.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                this.process = process;
                this.timeout = timeout;
            }
    
            /**
             * Runs the monitor thread, sleeping for the timeout duration and terminating the process if needed.
             */
            @Override
            public void run() {
                ThreadUtil.sleepQuietly(timeout);
    
                if (!finished) {
                    try {
                        process.destroy();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertDoesNotThrow(() -> context.secureWipeKeys(), "Should handle multiple wipe calls");
        }
    
        @Test
        @DisplayName("Should detect when key rotation is needed based on bytes encrypted")
        void testKeyRotationByBytes() {
            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            // Verify
            assertFalse(result);
        }
    
        public void test_saveSession() {
            // Execute - should be a no-op
            service.saveSession("session123");
    
            // No verification needed as it's a no-op method
        }
    
        public void test_generateUrlQueues() {
            // Setup
            String previousSessionId = "prevSession";
            String sessionId = "newSession";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. README.md

    ### Performance Optimizations
    - **Caching** - Bean descriptors and reflection metadata are cached for improved performance
    - **Lazy initialization** - Resources and expensive operations are initialized only when needed  
    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

    @ExtendWith(MockitoExtension.class)
    @DisplayName("Type3Message Tests")
    class Type3MessageTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @BeforeEach
        void setUp() {
            // Basic setup for mock context if needed
        }
    
        /**
         * Helper method to create properly configured mock context
         */
        private CIFSContext createMockContext() {
            CIFSContext mockCtx = mock(CIFSContext.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. docs/smb3-features/04-directory-leasing-design.md

                    // Remove from cache to force refresh
                    entry.removeChild(childName);
                    break;
                    
                case DIRECTORY_RENAMED:
                    // Full invalidation needed
                    entry.invalidate();
                    break;
            }
        }
        
        public void handleDirectoryLeaseBreak(Smb2LeaseKey leaseKey, int newState) {
    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. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        @Mock
        private CreateContextRequest mockCreateContext;
    
        private Smb2CreateRequest request;
    
        @BeforeEach
        void setUp() {
            // Setup will be done in individual tests when needed
        }
    
        @Test
        @DisplayName("Test constructor with path initialization")
        void testConstructor() {
            // Test with normal path
            request = new Smb2CreateRequest(mockConfig, "test\\file.txt");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top