Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 118 for Logic (0.75 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    /**
     * Tests for {@link SmbAuthException}.
     *
     * These tests exercise the constructor and the mapping logic of
     * {@link SmbException#getMessageByCode(int)} and
     * {@link SmbException#getStatusByCode(int)}.
     */
    @DisplayName("SmbAuthException Tests")
    class SmbAuthExceptionTest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java

    /**
     * The Rule interface defines the contract for implementing rules that can be applied to
     * response data in a web crawler. Implementations of this interface should provide logic
     * to determine if a given response data matches the rule, retrieve the rule's identifier,
     * and obtain the associated response processor.
     */
    public interface Rule extends Serializable {
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

         * Tests a filter that uses directory path information.
         */
        @Test
        @DisplayName("filter can use SmbFile directory for decision logic")
        void filterCanUseSmbFileForDecision() throws Exception {
            // Stub the getPath method to return a specific value
            when(mockDir.getPath()).thenReturn("/share/folder/");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Abstract base action class for handling login functionality in Fess.
     * This action provides logic for redirecting authenticated users to appropriate
     * admin interfaces based on their roles and permissions.
     */
    public abstract class FessLoginAction extends FessSearchAction {
        /**
         * Default constructor.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.internal.smb2.create.Smb2CreateRequest;
    
    /**
     * Handles automatic reconnection of durable and persistent SMB handles.
     *
     * This class provides retry logic with exponential backoff for handle
     * reconnection after network failures or server issues.
     */
    public class HandleReconnector {
    
        private static final Logger log = LoggerFactory.getLogger(HandleReconnector.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  6. .github/workflows/codeql-analysis.yml

    # For most projects, this workflow file will not need changing; you simply need
    # to commit it to your repository.
    #
    # You may wish to alter this file to override the set of languages analyzed,
    # or to provide custom queries or build logic.
    name: "CodeQL"
    
    on:
      push:
        branches: [master]
      pull_request:
        # The branches below must be a subset of the branches above
        branches: [master]
      schedule:
        - cron: '0 11 * * 4'
    
    jobs:
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for the SmbFile class.
     * This class focuses on testing the logic of SmbFile without actual network communication,
     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
        protected JsonResponse<ApiResult> asJson(final ApiResult bean) {
            return new JsonResponse<>(bean);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

     * the underlying wire‑format helpers.
     */
    @ExtendWith(MockitoExtension.class)
    class NtTransQuerySecurityDescTest {
    
        /**
         * Helper that mimics the write logic used by
         * {@link NtTransQuerySecurityDesc#writeParametersWireFormat(byte[], int)}.
         */
        private static byte[] expectedParameters(int fid, int securityInformation) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

     * {@code ruleId} and {@code responseProcessor}.
     * </p>
     *
     * <p>
     * Subclasses should extend this class and implement the abstract methods
     * defined in the {@link Rule} interface to provide specific rule logic.
     * </p>
     *
     */
    public abstract class AbstractRule implements Rule {
    
        private static final long serialVersionUID = 1L;
    
        /** The rule ID. */
        protected String ruleId;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top