Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for ready (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        @GuardedBy("monitor")
        final Map<Service, Stopwatch> startupTimers = Maps.newIdentityHashMap();
    
        /**
         * These two booleans are used to mark the state as ready to start.
         *
         * <p>{@link #ready}: is set by {@link #markReady} to indicate that all listeners have been
         * correctly installed
         *
         * <p>{@link #transitioned}: is set by {@link #transitionService} to indicate that some
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleWithWait() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00
        stopwatch.sleepMillis(200); // U0.20, we are ready for the next request...
        limiter.acquire(); // R0.00, ...which is granted immediately
        limiter.acquire(); // R0.20
        assertEvents("R0.00", "U0.20", "R0.00", "R0.20");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                }
    
                crawler.setBackground(true);
                crawler.setThreadPriority(crawlerPriority);
    
                crawlerList.add(crawler);
                crawlerStatusList.add(Constants.READY);
            }
    
            // File
            for (final FileConfig fileConfig : fileConfigList) {
                final String sid = ComponentUtil.getCrawlingConfigHelper().store(sessionId, fileConfig);
    
    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)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleWithWait() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00
        stopwatch.sleepMillis(200); // U0.20, we are ready for the next request...
        limiter.acquire(); // R0.00, ...which is granted immediately
        limiter.acquire(); // R0.20
        assertEvents("R0.00", "U0.20", "R0.00", "R0.20");
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/Constants.java

        public static final String SCORE = "score";
    
        public static final String SEARCHER = "searcher";
    
        public static final String ON = "on";
    
        public static final String READY = "ready";
    
        public static final String RUNNING = "running";
    
        public static final String DONE = "done";
    
        public static final String OK = "ok";
    
        public static final String FAIL = "fail";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                dataCrawlingThread.setName(sid);
                dataCrawlingThread.setDaemon(true);
    
                dataCrawlingThreadList.add(dataCrawlingThread);
                dataCrawlingThreadStatusList.add(Constants.READY);
    
            }
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            while (startedCrawlerNum < dataCrawlingThreadList.size()) {
                // Force to stop crawl
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                        String command;
                        while (true) {
                            try {
                                while (!reader.ready()) {
                                    ThreadUtil.sleep(1000L);
                                }
                                command = reader.readLine().trim();
                                if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  8. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * translates to "almost empty buffers", which can be filled immediately.
       *
       * On the other hand, past underutilization could mean that "the server responsible for handling
       * the request has become less ready for future requests", i.e. its caches become stale, and
       * requests become more likely to trigger expensive operations (a more extreme case of this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        return result;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      /**
       * Ensures that all of the internal structures in the HashBiMap are ready for this many elements.
       */
      private void ensureCapacity(int minCapacity) {
        if (nextInBucketKToV.length < minCapacity) {
          int oldCapacity = nextInBucketKToV.length;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

          InputStream in2 = closer.register(other.openStream());
          while (true) {
            int read1 = ByteStreams.read(in1, buf1, 0, buf1.length);
            int read2 = ByteStreams.read(in2, buf2, 0, buf2.length);
            if (read1 != read2 || !Arrays.equals(buf1, buf2)) {
              return false;
            } else if (read1 != buf1.length) {
              return true;
            }
          }
        } catch (Throwable e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top