Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for AtomicBoolean (0.1 sec)

  1. 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)
    Registered: 2024-11-06 11:36
    - Last Modified: 2024-03-07 05:49
    - 4.6K bytes
    - Viewed (0)
  2. 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) -> {
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 3.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

        private static final Logger logger = LoggerFactory.getLogger(AccessTimeoutTarget.class);
    
        private static final int MAX_LOOP_COUNT = 10;
    
        protected Thread runningThread;
    
        protected AtomicBoolean running = new AtomicBoolean();
    
        public AccessTimeoutTarget(final Thread thread) {
            runningThread = thread;
            running.set(true);
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: 2024-11-10 03:50
    - Last Modified: 2024-02-22 01:36
    - 1.8K 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")
    Registered: 2024-11-01 12:43
    - Last Modified: 2023-04-19 19:24
    - 11.9K bytes
    - Viewed (0)
  5. 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(
    Registered: 2024-11-01 12:43
    - Last Modified: 2023-09-06 17:04
    - 4.9K bytes
    - Viewed (0)
  6. 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(
    Registered: 2024-11-01 12:43
    - Last Modified: 2023-09-06 17:04
    - 4.9K bytes
    - Viewed (0)
  7. 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")
    Registered: 2024-11-01 12:43
    - Last Modified: 2023-04-19 19:24
    - 11.5K bytes
    - Viewed (0)
  8. 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();
                }
    
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 5.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(final Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        Interruptenator(final Thread interruptee, final AtomicBoolean shutdown) {
          super(
              new Runnable() {
                @Override
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-17 02:42
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        private static final Logger logger = LogManager.getLogger(ESSourceReader.class);
    
        protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>();
        protected final AtomicBoolean isFinished = new AtomicBoolean(false);
        protected final Random random = new Random();
    
        protected final Client client;
        protected final SuggestSettings settings;
        protected final String indexName;
    Registered: 2024-11-08 09:08
    - Last Modified: 2024-10-12 00:10
    - 7.5K bytes
    - Viewed (0)
Back to top