Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 771 for count (0.02 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

    import java.util.Iterator;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link SortedMultiset} interface.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertNotNull("ID should be set", dataMap.get("id"));
            assertNotNull("Doc ID should be set", dataMap.get("doc_id"));
            assertNotNull("Click count should be set", dataMap.get("click_count"));
            assertNotNull("Favorite count should be set", dataMap.get("favorite_count"));
            assertEquals(1, indexUpdateCallback.docList.size());
        }
    
        public void test_store_withoutUrl_throwsException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")}
    }
    
    func (d *openDir) ReadDir(count int) ([]fs.DirEntry, error) {
    	n := len(d.files) - d.offset
    	if count > 0 && n > count {
    		n = count
    	}
    	if n == 0 {
    		if count <= 0 {
    			return nil, nil
    		}
    		return nil, io.EOF
    	}
    	list := make([]fs.DirEntry, n)
    	for i := range list {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            int count = 0;
            boolean hasAsync = false;
    
            while (current != null) {
                count++;
                if (current.isAsync()) {
                    hasAsync = true;
                }
                current = current.getNextResponse();
            }
    
            // Then
            assertEquals(3, count);
            assertTrue(hasAsync);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                int count = 0;
                try {
                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
                            break;
                        }
                        for (final SearchHit hit : hits) {
                            array[count] = hit.getSourceAsMap();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. 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());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            });
        }
    
        /**
         * Gets the total number of documents that match the specified query.
         *
         * @param searchEngineClient the search engine client to use for the count
         * @param queryBuilder the query to count documents for
         * @param fessConfig the Fess configuration
         * @return the number of documents that match the query
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                // Verify structure
                assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count
    
                // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index)
                int lockSequence = SMBUtil.readInt4(buffer, 4);
                assertEquals(0, lockSequence); // Default values
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

        if (entries.isEmpty()) {
          return ImmutableMultiset.of();
        } else {
          return JdkBackedImmutableMultiset.create(entries);
        }
      }
    
      @Override
      public int count(@Nullable Object element) {
        throw new AssertionError();
      }
    
      @Override
      public ImmutableSet<E> elementSet() {
        throw new AssertionError();
      }
    
      @Override
      Entry<E> getEntry(int index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
          // held
          segment.expand();
          segment.table = oldTable;
          dummy += segment.count;
        }
        return dummy;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top