Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 973 for pcount (0.04 sec)

  1. guava/src/com/google/common/collect/AbstractSortedMultiset.java

    import java.util.Iterator;
    import java.util.NavigableSet;
    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: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

         *
         * @return the offset
         */
        public final int getOffset() {
            return this.offset;
        }
    
        /**
         * Adjusts the offset by the specified amount.
         *
         * @param n the amount to adjust the offset
         */
        public void adjustOffset(final int n) {
            this.offset += n;
        }
    
        /**
         * Gets the data length.
         *
         * @return the dataLength
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-config-kv.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	count, err := strconv.Atoi(vars["count"])
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	chEntries, err := listServerConfigHistory(ctx, objectAPI, true, count)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        return isEmpty() ? null : getEntry(0);
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return isEmpty() ? null : getEntry(length - 1);
      }
    
      @Override
      public int count(@Nullable Object element) {
        int index = elementSet.indexOf(element);
        return (index >= 0) ? getCount(index) : 0;
      }
    
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          }
        }
      }
    
      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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new MultiEdgesConnecting<E>(outEdgeMap, node) {
          @Override
          public int size() {
            return successorsMultiset().count(node);
          }
        };
      }
    
      @Override
      public N removeInEdge(E edge, boolean isSelfLoop) {
        N node = super.removeInEdge(edge, isSelfLoop);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new MultiEdgesConnecting<E>(outEdgeMap, node) {
          @Override
          public int size() {
            return successorsMultiset().count(node);
          }
        };
      }
    
      @Override
      public N removeInEdge(E edge, boolean isSelfLoop) {
        N node = super.removeInEdge(edge, isSelfLoop);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray.of().forEach(i -> fail());
        ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableIntArray.of().stream().forEach(i -> fail());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * Represents a response for a suggest request.
     * This class holds the details of the response including the index, time taken, words, total count, and suggested items.
     */
    public class SuggestResponse implements Response {
        /** The index name. */
        protected final String index;
    
        /** The time taken in milliseconds. */
        protected final long tookMs;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.parseUnsignedLong(decimalStrings[j]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top