Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,021 for Count (0.1 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

            NullPointerException.class, () -> ImmutableMultiset.copyOf((Iterator<String>) iterator));
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
      public void testCopyOf_plainIterable() {
        CountingIterable iterable = new CountingIterable();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

       * Returns the number of {@code values} that are {@code true}.
       *
       * @since 16.0
       */
      public static int countTrue(boolean... values) {
        int count = 0;
        for (boolean value : values) {
          if (value) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. cmd/admin-handlers.go

    	peerLocks := globalNotificationSys.GetLocks(ctx, r)
    
    	topLocks := topLockEntries(peerLocks, stale)
    
    	// Marshal API response upto requested count.
    	if len(topLocks) > count && count > 0 {
    		topLocks = topLocks[:count]
    	}
    
    	jsonBytes, err := json.Marshal(topLocks)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  4. src/main/resources/fess_config.properties

    indexer.unprocessed.document.size=1000
    # Whether to enable click count tracking in the indexer.
    indexer.click.count.enabled=true
    # Whether to enable favorite count tracking in the indexer.
    indexer.favorite.count.enabled=true
    # Commit margin time (ms) for webfs in the indexer.
    indexer.webfs.commit.margin.time=5000
    # Maximum number of empty lists for webfs in the indexer.
    indexer.webfs.max.empty.list.count=3600
    # Update interval (ms) for webfs in the indexer.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        }
    
        @Test
        public void test_addEventHandler_multipleHandlers() {
            final AtomicInteger count = new AtomicInteger(0);
            coordinatorHelper.addEventHandler("config_updated", event -> count.incrementAndGet());
            coordinatorHelper.addEventHandler("config_updated", event -> count.incrementAndGet());
    
            final EventInfo event = new EventInfo();
            event.name = "config_updated";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max "
                    + byteCountToDisplaySize(maxBytes) + "}";
        }
    
        /**
         * Converts byte count to human-readable size format.
         *
         * @param size the size in bytes
         * @return formatted size string
         */
        public static String byteCountToDisplaySize(final long size) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          return Multisets.linearTimeSizeImpl(this);
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equals(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @Override
        public boolean remove(@Nullable Object key) {
          int count = 0;
          Collection<V> collection = map().remove(key);
          if (collection != null) {
            count = collection.size();
            collection.clear();
            totalSize -= count;
          }
          return count > 0;
        }
    
        @Override
        public void clear() {
          Iterators.clear(iterator());
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

     *
     * <ul>
     *   <li><b>Total nodes:</b> 65535 (16-bit index in the trie)
     *   <li><b>String pool size:</b> 65535 characters (16-bit offset in the String Pool)
     *   <li><b>Max children per node:</b> 2047 (11-bit count in the bitfield)
     * </ul>
     *
     * <p>As of Jan 2026, the capacity usage is approximately:
     *
     * <ul>
     *   <li>Total nodes: ~16% (10k / 65k)
     *   <li>String pool size: ~79% (52k / 65k)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    : this.transportContext.getConfig().getWinsServers()[this.nbnsIndex];
        }
    
        static class Sem {
    
            Sem(final int count) {
                this.count = count;
            }
    
            int count;
        }
    
        static class QueryThread extends Thread {
    
            private final Sem sem;
            private final String host, scope;
            private final int type;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
Back to Top