Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for AtomicBoolean (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        /** Helper for managing content length limits */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /** Flag to track initialization status */
        protected AtomicBoolean isInit = new AtomicBoolean(false);
    
        /**
         * Constructs a new FileSystemClient.
         */
        public FileSystemClient() {
            // Default constructor
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicBoolean
    import okio.ByteString
    import okio.Source
    import okio.buffer
    
    internal abstract class BasePublicSuffixList : PublicSuffixList {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. 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("#")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertEquals(2, numCalls.get());
    
        assertTrue(Thread.interrupted());
      }
    
      public void testDelegateRejection() {
        AtomicInteger numCalls = new AtomicInteger();
        AtomicBoolean reject = new AtomicBoolean(true);
        SequentialExecutor executor =
            new SequentialExecutor(
                new Executor() {
                  @Override
                  public void execute(Runnable r) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                    } else {
                      return EndpointPair.ordered(connection.node, thisNode);
                    }
                  });
        }
    
        AtomicBoolean alreadySeenSelfLoop = new AtomicBoolean(false);
        return new AbstractIterator<EndpointPair<N>>() {
          @Override
          protected @Nullable EndpointPair<N> computeNext() {
            while (resultWithDoubleSelfLoop.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                final StringWriter writer = new StringWriter();
                final PDFTextStripper stripper = new PDFTextStripper();
                final AtomicBoolean done = new AtomicBoolean(false);
                final PDDocument doc = document;
                final Set<Exception> exceptionSet = new HashSet<>();
                final Thread task = new Thread(() -> {
                    try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals(0, permissions.length);
        }
    
        public void test_getPermissions_withLdapConfig() {
            // Test with LDAP configuration
            final AtomicBoolean activityHelperCalled = new AtomicBoolean(false);
            final AtomicReference<String[]> rolesFromCallback = new AtomicReference<>();
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            final List<String> sessionIdList = Arrays.asList("session1");
            indexUpdater.setSessionIdList(sessionIdList);
    
            final CountDownLatch latch = new CountDownLatch(1);
            final AtomicBoolean errorOccurred = new AtomicBoolean(false);
    
            indexUpdater.setUncaughtExceptionHandler((t, e) -> {
                errorOccurred.set(true);
                latch.countDown();
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * key}, or zero if there was no mapping for {@code key}.
       */
      long putIfAbsent(K key, long newValue) {
        AtomicBoolean noValue = new AtomicBoolean(false);
        Long result =
            map.compute(
                key,
                (k, oldValue) -> {
                  if (oldValue == null || oldValue == 0) {
                    noValue.set(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                }
            });
        }
    
        private void importBulk(final String fileName, final File tempFile) {
            final ObjectMapper mapper = new ObjectMapper();
            final AtomicBoolean resetJobs = new AtomicBoolean(false);
            try (CurlResponse response = ComponentUtil.getCurlHelper().post("/_bulk").onConnect((req, con) -> {
                con.setDoOutput(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top