- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 700 for counts (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
ms.add(Color.RED); assertEquals(0, ms.count(Color.BLUE)); assertEquals(1, ms.count(Color.YELLOW)); assertEquals(2, ms.count(Color.RED)); } public void testCollectionCreate() { Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED)); assertEquals(0, ms.count(Color.BLUE)); assertEquals(1, ms.count(Color.YELLOW)); assertEquals(2, ms.count(Color.RED)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
this.openTimeout = 0xFFFFFFFF; } /** * Gets the maximum count of bytes to read. * * @return the maxCount */ public final int getMaxCount() { return this.maxCount; } /** * Sets the maximum count of bytes to read. * * @param maxCount * the maxCount to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
public int setCount(@ParametricNullness E element, int count) { return delegate().setCount(element, count); } @CanIgnoreReturnValue @Override public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) { return delegate().setCount(element, oldCount, newCount); } /** * A sensible definition of {@link #contains} in terms of {@link #count}. If you override {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
* values.count(); } yStats.addAll(values.yStats()); } /** Returns an immutable snapshot of the current statistics. */ public PairedStats snapshot() { return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas); } /** Returns the number of pairs in the dataset. */ public long count() { return xStats.count(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/erasure-healing-common.go
} maxima = 0 // Counter for remembering max occurrence of elements. latest := int64(0) // Find the common cardinality from previously collected // occurrences of elements. for nano, count := range timeOccurrenceMap { if count < maxima { continue } // We are at or above maxima if count > maxima || nano > latest { maxima = count latest = nano } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UUID.java
* */ public class UUID extends rpc.uuid_t { private static int hex_to_bin(final char[] arr, final int offset, final int length) { int value = 0; int ai, count; count = 0; for (ai = offset; ai < arr.length && count < length; ai++) { value <<= 4; switch (arr[ai]) { case '0': case '1': case '2': case '3':
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
public <T> T[] toArray(T[] a) { E[] items = this.items; Monitor monitor = this.monitor; monitor.enter(); try { if (a.length < count) a = ObjectArrays.newArray(a, count); int k = 0; int i = takeIndex; while (k < count) { // This cast is not itself safe, but the following statement // will fail if the runtime type of items[i] is not assignable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteResponse.java
count = readInt2(buffer, bufferIndex) & 0xFFFFL; return 8; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() { return ("SmbComWriteResponse[" + super.toString() + ",count=" + count + "]"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
docs/resiliency/resiliency-initial-script.sh
for idx in {1..10}; do # generate random nr of blocks COUNT=$((RANDOM % 100 + 100)) # generate random content dd if=/dev/urandom bs=50K count="${COUNT}" of="${SRC_DIR}"/file"$idx" done # create small object that will be inlined into xl.meta dd if=/dev/urandom bs=50K count=1 of="${INLINED_DIR}"/inlined
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
} } assertEquals(expectedUrl, t.url, "URL should be correctly parsed"); assertEquals(2, t.numThreads, "Thread count should be parsed"); assertEquals(5, t.numIter, "Iteration count should be parsed"); assertEquals(100L, t.delay, "Delay should be parsed"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)