Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 139 for Logic (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

        /**
         * Determines whether the current request is authorized to access the API endpoint.
         * This default implementation returns false, requiring subclasses to override
         * and implement proper access control logic.
         *
         * @return true if access is allowed, false otherwise
         */
        protected boolean isAccessAllowed() {
            return false;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. .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: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Fri Oct 02 13:24:14 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all
     * exercised by [TaskRunnerTest].
     *
     * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the
     * busiest of CI servers.
     */
    @Tag("Slowish")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  7. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertFalse(Ascii.equalsIgnoreCase("x", ""));
        assertTrue(Ascii.equalsIgnoreCase(LOWER, UPPER));
        assertTrue(Ascii.equalsIgnoreCase(UPPER, LOWER));
        // Create new strings here to avoid early-out logic.
        assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED)));
        // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true
        assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top