Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for AtomicBoolean (0.2 sec)

  1. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

    import org.opensearch.index.query.QueryBuilders;
    
    public class QueryProcessorTest extends UnitFessTestCase {
    
        public void test_executeWithFilter() {
            final AtomicBoolean called = new AtomicBoolean(false);
            QueryProcessor queryProcessor = new QueryProcessor() {
                protected FilterChain createDefaultFilterChain() {
                    return (context, query, boost) -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          final Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        final AtomicBoolean actualIsOccupied = new AtomicBoolean();
        final AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        final AtomicInteger actualOccupiedDepth = new AtomicInteger();
        final AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
      private static class CheckSetUpHashMapGenerator extends WrappedHashMapGenerator {
        private final AtomicBoolean setUpRan;
    
        CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) {
          this.setUpRan = setUpRan;
        }
    
        @Override
        Map<String, String> wrap(HashMap<String, String> map) {
          @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
      private static class CheckSetUpHashMapGenerator extends WrappedHashMapGenerator {
        private final AtomicBoolean setUpRan;
    
        CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) {
          this.setUpRan = setUpRan;
        }
    
        @Override
        Map<String, String> wrap(HashMap<String, String> map) {
          @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testCancel_interrupted() throws Exception {
        final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        final CountDownLatch enterLatch = new CountDownLatch(1);
        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<Integer> task =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRemovalNotification_clear() throws InterruptedException {
        // If a clear() happens while a computation is pending, we should not get a removal
        // notification.
    
        final AtomicBoolean shouldWait = new AtomicBoolean(false);
        final CountDownLatch computingLatch = new CountDownLatch(1);
        CacheLoader<String, String> computingFunction =
            new CacheLoader<String, String>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        final AtomicReference<AbstractFuture<String>> setFutureFuture = Atomics.newReference();
        final AtomicBoolean setFutureSetSuccess = new AtomicBoolean();
        final AtomicBoolean setFutureCompletionSuccess = new AtomicBoolean();
        final AtomicBoolean cancellationSuccess = new AtomicBoolean();
        Runnable cancelRunnable =
            new Runnable() {
              @Override
              public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testCancel_interrupted() throws Exception {
        final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        final CountDownLatch enterLatch = new CountDownLatch(1);
        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<Integer> task =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                            logger.info("Target URL: {}", u);
                        }
                    }
                }));
    
                // set included urls
                final AtomicBoolean urlEncodeDisabled = new AtomicBoolean(false);
                split(includedUrlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).forEach(line -> {
                    if (!line.startsWith("#")) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRemovalNotification_clear() throws InterruptedException {
        // If a clear() happens while a computation is pending, we should not get a removal
        // notification.
    
        final AtomicBoolean shouldWait = new AtomicBoolean(false);
        final CountDownLatch computingLatch = new CountDownLatch(1);
        CacheLoader<String, String> computingFunction =
            new CacheLoader<String, String>() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top