Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for justru (0.02 sec)

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

      }
    
      /** Identifies just tryEnterXxx methods (a subset of {@link #isAnyEnter}), which never block. */
      private static boolean isTryEnter(Method method) {
        return method.getName().startsWith("tryEnter");
      }
    
      /**
       * Identifies just enterIfXxx methods (a subset of {@link #isAnyEnter}), which are mostly like the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

    import com.google.caliper.Param;
    import java.lang.reflect.Constructor;
    import java.util.concurrent.BlockingQueue;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for {@link Monitor}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class MonitorBenchmark {
    
      @Param({"10", "100", "1000"})
      int capacity;
    
      @Param({"Array", "Priority"})
      String queueType;
    
      @Param boolean useMonitor;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            errorResponse.status(Status.BAD_REQUEST);
            ApiResult result = errorResponse.result();
    
            assertNotNull(result);
            // Cannot directly access protected fields, just verify the result is not null
        }
    
        // Test configuration for JSON response
        public void test_configurationSettings() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

                assertEquals("fuzzy", fuzzyQueryBuilder.value());
                assertEquals(1.8f, fuzzyQueryBuilder.boost());
            } else {
                // For DefaultQueryBuilder or DisMaxQueryBuilder, we just verify it was created
                assertTrue(result instanceof DefaultQueryBuilder || result instanceof DisMaxQueryBuilder);
            }
        }
    
        public void test_execute_withNestedBoostQuery() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        }
    
        @Override
        public void run() {
          while (true) {
            try {
              Thread.sleep(everyMillis);
            } catch (InterruptedException e) {
              // ok. just stop sleeping.
            }
            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
          shouldStop = true;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumBiMap.java

       * could use null, but that messes with our nullness checking, including under J2KT. We could
       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            // Override purge to avoid client operations
            ThumbnailManager testManager = new ThumbnailManager() {
                @Override
                public long purge(long expiry) {
                    // Just count files that would be deleted
                    return 1L;
                }
            };
            testManager.baseDir = tempDir;
    
            long result = testManager.purge(1L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            FuzzyQuery fuzzyQuery = new FuzzyQuery(term);
    
            QueryBuilder result = fuzzyQueryCommand.convertFuzzyQuery(context, fuzzyQuery, 1.0f);
            assertNotNull(result);
            // Just check it's a FuzzyQueryBuilder
            assertTrue(result instanceof FuzzyQueryBuilder);
        }
    
        // Test with transpositions disabled
        public void test_convertFuzzyQuery_withTranspositionsDisabled() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

        }
    
        // Test that close method exists (inherited)
        public void test_closeMethodExists() {
            // Test that close method is available (inherited from parent)
            try {
                // Just verify the method exists, don't actually call it
                crawlerEngineClient.getClass().getMethod("close");
                assertTrue(true);
            } catch (NoSuchMethodException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top