Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for AtomicBoolean (0.32 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. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

                if ((cacheMissInBuildLogic as AtomicBoolean).get() || (cacheMissInMainBuild as AtomicBoolean).get()) {
                    tag("CACHE_MISS")
                }
            }
        }
    }
    
    fun buildCacheEnabled() = gradle.startParameter.isBuildCacheEnabled
    
    abstract class CacheMissMonitorBuildService : AbstractBuildScanInfoCollectingService() {
        private val cacheMiss: AtomicBoolean = AtomicBoolean(false)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

    import assertk.assertions.isTrue
    import java.io.IOException
    import java.io.InputStreamReader
    import java.io.Reader
    import java.nio.charset.StandardCharsets
    import java.util.concurrent.atomic.AtomicBoolean
    import kotlin.test.assertFailsWith
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.internal.and
    import okio.Buffer
    import okio.BufferedSource
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        // This allows us to only start up a thread waiting on the delegate future when the first
        // listener is added.
        private final AtomicBoolean hasListeners = new AtomicBoolean(false);
    
        // The delegate future.
        private final Future<V> delegate;
    
        ListenableFutureAdapter(Future<V> delegate) {
          this(delegate, defaultAdapterExecutor);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            assertEquals("a_a", ldapManager.replaceWithUnderscores("a/a"));
        }
    
        public void test_allowEmptyGroupAndRole() {
            final AtomicBoolean allowEmptyPermission = new AtomicBoolean();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                public boolean isLdapAllowEmptyPermission() {
                    return allowEmptyPermission.get();
                }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  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/thumbnail/impl/CommandGenerator.java

            }
        }
    
        protected static class ProcessDestroyer extends TimerTask {
    
            private final Process p;
    
            private final InputStreamThread ist;
    
            private final AtomicBoolean executed = new AtomicBoolean(false);
    
            private final long timeout;
    
            public ProcessDestroyer(final Process p, final InputStreamThread ist, final long timeout) {
                this.p = p;
                this.ist = ist;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. 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)
Back to top