- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 206 for sum (0.02 sec)
-
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
trySplit.estimateSize(), originalSize)); } } if (subsized) { if (trySplit != null) { assertEquals( "sum of estimated sizes of trySplit and original spliterator after trySplit", originalSize, trySplit.estimateSize() + spliterator.estimateSize()); } else { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
getMultiset().count(element)); int size = 0; for (Multiset.Entry<E> entry : getMultiset().entrySet()) { size += entry.getCount(); } assertEquals( "multiset.size() should be the sum of the counts of all entries", size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
expectAddFailure(multiset, entry); } } private static int totalSize(Iterable<? extends Entry<?>> entries) { int sum = 0; for (Entry<?> entry : entries) { sum += entry.getCount(); } return sum; } private enum SubMultisetSpec { TAIL_CLOSED { @Override <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
} if missingAll > 0 { out += ".incomplete" fmt.Println(missingAll, "bytes missing.") } else { if wantMD5 != "" { sum := md5.Sum(combined) gotMD5 := hex.EncodeToString(sum[:]) if gotMD5 != wantMD5 { fmt.Println("MD5 mismatch. Expected", wantMD5, "got", gotMD5) out += ".mismatch" } else { fmt.Println("MD5 verified.")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 05 11:57:44 UTC 2024 - 40.3K bytes - Viewed (0) -
internal/crypto/error.go
ErrSecretKeyMismatch = Errorf("The secret key does not match the secret key used during upload") // ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the // computed MD5 sum. This means that the client provided either the wrong key for // a certain MD5 checksum or the wrong MD5 for a certain key. ErrCustomerKeyMD5Mismatch = Errorf("The provided SSE-C key MD5 does not match the computed MD5 of the SSE-C key")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
* operations at random. Each thread keeps track of the per-key deltas that it's directly * responsible for; after all threads have completed, we sum the per-key deltas and compare to the * existing multiset values. * * @author mike nonemacher */ public class ConcurrentHashMultisetBasherTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} sum -= segment.modCount; } return sum == 0L; } return true; } long longSize() { Segment<K, V>[] segments = this.segments; long sum = 0; for (Segment<K, V> segment : segments) { sum += segment.count; } return sum; } @Override public int size() { return Ints.saturatedCast(longSize());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java
regA(builder); return builder; } protected SumAggregationBuilder regSumA(String name, String field) { SumAggregationBuilder builder = AggregationBuilders.sum(name).field(field); regA(builder); return builder; } protected ExtendedStatsAggregationBuilder regExtendedStatsA(String name, String field) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.4K bytes - Viewed (0) -
common/Makefile.common.mk
tidy-go: @find -name go.mod -execdir go mod tidy \; mod-download-go: @-GOFLAGS="-mod=readonly" find -name go.mod -execdir go mod download \; # go mod tidy is needed with Golang 1.16+ as go mod download affects go.sum # https://github.com/golang/go/issues/43994 @find -name go.mod -execdir go mod tidy \; format-go: tidy-go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 14:37:27 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
// vol. 2, Knuth, 4.2.2, (16) to the two-variable case. We have two value series x_i and y_i. // We define the arithmetic means X_n = 1/n \sum_{i=1}^n x_i, and Y_n = 1/n \sum_{i=1}^n y_i. // We also define the sum of the products of the differences from the means // C_n = \sum_{i=1}^n x_i y_i - n X_n Y_n // for all n >= 1. Then for all n > 1: // C_{n-1} = \sum_{i=1}^{n-1} x_i y_i - (n-1) X_{n-1} Y_{n-1}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0)