Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 303 for isSynchronized (0.1 seconds)

  1. guava/src/com/google/common/io/ByteStreams.java

        public int available() throws IOException {
          return (int) min(in.available(), left);
        }
    
        // it's okay to mark even if mark isn't supported, as reset won't work
        @Override
        public synchronized void mark(int readLimit) {
          in.mark(readLimit);
          mark = left;
        }
    
        @Override
        public int read() throws IOException {
          if (left == 0) {
            return -1;
          }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

         *
         * @return The configured SPNEGO authenticator instance
         * @throws SsoLoginException if SPNEGO initialization fails
         */
        protected synchronized org.codelibs.spnego.SpnegoAuthenticator getAuthenticator() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.8K bytes
    - Click Count (3)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            final Queue<OpenSearchUrlQueue> crawlingQueue = queueHolder.crawlingQueue;
    
            OpenSearchUrlQueue urlQueue = waitingQueue.poll();
            if (urlQueue == null) {
                synchronized (queueHolder) {
                    urlQueue = waitingQueue.poll();
                    if (urlQueue == null) {
                        final List<OpenSearchUrlQueue> urlQueueList = fetchUrlQueueList(sessionId);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                if (totalProjects <= 1) {
                    infoMain(building);
                } else {
                    // display progress [i/n]
                    int number;
                    synchronized (this) {
                        number = ++currentVisitedProjectCount;
                    }
                    String progress = " [" + number + '/' + totalProjects + ']';
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        /**
         * Creates a new SmbClient instance.
         */
        public SmbClient() {
            super();
        }
    
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
                return;
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing SmbClient...");
            }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testOrderingUnmodifiable() {
        SetMultimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(Multimaps.unmodifiableMultimap(multimap));
      }
    
      @J2ktIncompatible // Synchronized
      public void testOrderingSynchronized() {
        SetMultimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(synchronizedMultimap(multimap));
      }
    
      @J2ktIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

                                assertNotNull(name);
                                assertTrue(name.startsWith("thread"));
                            }
                        } catch (Exception e) {
                            synchronized (exceptions) {
                                exceptions.add(e);
                            }
                        } finally {
                            endLatch.countDown();
                        }
                    }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        boolean isRootOrShare() {
            // length == 0 should not happen
            return getUNCPath().length() <= 1;
        }
    
        /**
         * @throws MalformedURLException
         *
         */
        private synchronized void canonicalizePath() {
            final char[] in = this.url.getPath().toCharArray();
            final char[] out = new char[in.length];
            final int length = in.length;
            int prefixLen = 0, state = 0;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

         */
        protected Storage storage;
    
        /**
         * Creates a new GcsClient instance.
         */
        public GcsClient() {
            super();
        }
    
        @Override
        public synchronized void init() {
            if (isInit) {
                return;
            }
    
            super.init();
    
            final String projectId = getInitParameter("projectId", null, String.class);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

                                crawlerContext.getRobotsTxtUrlSet().add("http://thread" + threadId + ".com/robots.txt");
                            }
                        } catch (Exception e) {
                            synchronized (exceptions) {
                                exceptions.add(e);
                            }
                        } finally {
                            endLatch.countDown();
                        }
                    }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top