Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for Logic (0.05 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            assertTrue("OnConnectListener list should be thread-safe",
                    fesenClient.onConnectListenerList instanceof java.util.concurrent.CopyOnWriteArrayList);
        }
    
        /**
         * Test: Retry logic correctly enforces maxRetryCount
         * Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries)
         */
        @Test
        public void testRetryLogicMaxRetryCount() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    - Add lease break handling in `SmbTransport`
    
    ---
    
    ### Phase 2: Persistent Handles
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
            // let's test the actual validation logic instead
            byte[] buffer2 = createBasicNegotiateResponseBuffer();
            // Set maximum 16-bit value
            SMBUtil.writeInt2(65535, buffer2, 58);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

    import java.net.SocketTimeoutException;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * RDMA error handling and recovery logic.
     *
     * This class provides centralized error handling for RDMA operations,
     * including retry logic and fallback mechanisms.
     */
    public class RdmaErrorHandler {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            Subject first = orig.getSubject();
            // In test environments, getSubject() may return null if JAAS is not configured
            // This is acceptable behavior - the test should focus on the cloning logic
    
            // Clone and verify basic fields copied
            JAASAuthenticator copy = (JAASAuthenticator) orig.clone();
            assertEquals(orig.getUsername(), copy.getUsername());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
        /**
         * Creates a duplicate host entity based on the form and current user context.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should correctly verify signatures - regression test for inverted logic bug")
            void testVerifySignatureLogicRegression() throws Exception {
                // This test ensures the signature verification logic is not inverted
                // Previously there was a bug where verify returned true for invalid signatures
    
                // Set signed flag
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            }
        }
        
        public void shutdown() {
            scheduler.shutdown();
            persistHandles();  // Final persist before shutdown
        }
    }
    ```
    
    ## 5. Handle Reconnection Logic
    
    ### 5.1 Automatic Reconnection Handler
    ```java
    package jcifs.internal.smb2.persistent;
    
    import java.util.concurrent.CompletableFuture;
    import java.util.concurrent.TimeUnit;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
    
        /**
         * Gets a key match entity based on the form and current user info.
         *
         * @param form the create form
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.2K bytes
    - Viewed (0)
Back to top