Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 759 for Count (0.05 sec)

  1. guava/src/com/google/common/cache/AbstractCache.java

        public SimpleStatsCounter() {}
    
        /** @since 11.0 */
        @Override
        public void recordHits(int count) {
          hitCount.add(count);
        }
    
        /** @since 11.0 */
        @Override
        public void recordMisses(int count) {
          missCount.add(count);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
        public void recordLoadSuccess(long loadTime) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

      private static <E extends @Nullable Object> Entry<E> entry(final E element, final int count) {
        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
            }
    
            int totalCount = 0;
            int count = 1;
            final ExecutorService executorService = Executors.newFixedThreadPool(options.numOfThreads);
            try {
                while (count != 0) {
                    count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup);
                    totalCount += count;
                }
                executorService.shutdown();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/ztunnel.libsonnet

          panels.timeSeries.base(
            'XDS Connections', queries.ztunnelXdsConnections, |||
              Count of XDS connection terminations.
              This will typically spike every 30min for each instance.
            |||
          ),
          panels.timeSeries.xdsPushes(
            'XDS Pushes', queries.ztunnelXdsMessages, |||
              Count of XDS messages, by type.
            |||
          ),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

         */
        @Override
        public void expired() {
            int count = 0;
            while (running.get() && count < MAX_LOOP_COUNT) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupt {}", runningThread);
                }
                runningThread.interrupt();
                ThreadUtil.sleepQuietly(1000L);
                count++;
            }
        }
    
        public void stop() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashMultiset.java

        return multiset;
      }
    
      private HashMultiset() {
        super(new HashMap<E, Count>());
      }
    
      private HashMultiset(int distinctElements) {
        super(Maps.<E, Count>newHashMapWithExpectedSize(distinctElements));
      }
    
      /**
       * @serialData the number of distinct elements, the first element, its count, the second element,
       *     its count, and so on
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

          Entry<E> entry = entriesArray[i];
          int count = entry.getCount();
          size += count;
          E element = checkNotNull(entry.getElement());
          delegateMap.put(element, count);
          if (!(entry instanceof Multisets.ImmutableEntry)) {
            entriesArray[i] = Multisets.immutableEntry(element, count);
          }
        }
        return new JdkBackedImmutableMultiset<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. cmd/os_unix.go

    	defer direntNamePool.Put(nameTmp)
    	tmp := *nameTmp
    
    	boff := 0 // starting read position in buf
    	nbuf := 0 // end valid data in buf
    
    	count := opts.count
    
    	for count != 0 {
    		if boff >= nbuf {
    			boff = 0
    			stop := globalOSMetrics.time(osMetricReadDirent)
    			nbuf, err = syscall.ReadDirent(fd, buf)
    			stop()
    			if err != nil {
    				if isSysErrNotDir(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Serialization.java

       * support concurrent multisets whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of distinct elements, the first element, its
       * count, the second element, its count, and so on.
       */
      static <E extends @Nullable Object> void writeMultiset(
          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
        int entryCount = multiset.entrySet().size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CountingOutputStream.java

      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top