Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for Logic (2.1 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

            }
        }
        
        // ... rest of connection logic ...
    }
    
    // Caching methods based on lease state
    public boolean canCacheRead() {
        if (leaseKey != null) {
            LeaseEntry entry = leaseManager.getLease(leaseKey);
            return entry != null && entry.hasReadCache();
        }
        return false;  // Fall back to oplock logic
    }
    
    public boolean canCacheWrite() {
        if (leaseKey != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
        /**
         * Get a data config entity from a form.
         * @param form The create form.
         * @param username The username.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            Exception networkError = new java.io.IOException("Network connection failed");
            Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out");
    
            // Test fallback logic
            assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(0, dst[35], "Reserved byte should be 0");
        }
    
        @Test
        void testWriteParameterWordsWireFormat_ZeroCounts() {
            // Test with zero parameter and data counts to check conditional logic.
            smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT;
            smbComNtTransaction.parameterCount = 0;
            smbComNtTransaction.dataCount = 0;
            smbComNtTransaction.parameterOffset = 100;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        /**
         * Fetch a private field value via reflection.  This helper keeps the
         * test code tidy and is used where unit‑testing logic relies on
         * internally stored data.
         */
        private static Object getPrivateField(Object target, String name) {
            try {
                java.lang.reflect.Field f = target.getClass().getDeclaredField(name);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        }
    
        //===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
    
        private static OptionalEntity<StopwordsItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        protected ExecJob() {
            // Default constructor
        }
    
        /**
         * Executes the job and returns the result as a string.
         * This method contains the main business logic for the specific job implementation.
         *
         * @return the execution result message or summary
         */
        public abstract String execute();
    
        /**
         * Returns the execution type identifier for this job.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            byte[] blob = new byte[] { 9, 8, 7, 6 };
            // Place blob further ahead to exercise pad adjustment logic
            int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 16; // beyond current bodyIndex (64+8)
            int sessionFlags = Smb2SessionSetupResponse.SMB2_SESSION_FLAGS_IS_NULL;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * Interface for query processing filters.
         * Filters can modify, validate, or enhance queries before they are executed.
         */
        public interface Filter {
            /**
             * Executes the filter logic on the given query.
             *
             * @param context the query context containing search parameters and state
             * @param query the Lucene query to be processed
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmServletTest.java

    import jcifs.NameServiceClient;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmServlet class.
     * This class uses Mockito to simulate a servlet environment and test authentication logic.
     */
    @ExtendWith(MockitoExtension.class)
    class NtlmServletTest {
    
        // A concrete implementation of the abstract NtlmServlet for testing purposes.
        private static class TestNtlmServlet extends NtlmServlet {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top