- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 184 for sum (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
public void testHashCode() { int expectedHashCode = 0; for (Entry<K, V> entry : getSampleEntries()) { expectedHashCode += hash(entry); } assertEquals( "A Map's hashCode() should be the sum of those of its entries.", expectedHashCode, getMap().hashCode()); } @CollectionSize.Require(absent = CollectionSize.ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
cmd/bitrot-whole.go
// Returns whole-file bitrot reader. func newWholeBitrotReader(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, tillOffset int64, sum []byte) *wholeBitrotReader { return &wholeBitrotReader{ disk: disk, volume: volume, filePath: filePath, verifier: &BitrotVerifier{algo, sum}, tillOffset: tillOffset, buf: nil, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAddable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 816 bytes - Click Count (0) -
cmd/object-lambda-handlers_test.go
req.Form = url.Values{"lambdaArn": []string{lambdaARN}} req.Header.Set("Host", "localhost") req.Header.Set("X-Amz-Date", time.Now().UTC().Format("20060102T150405Z")) sum := sha256.Sum256(body) req.Header.Set("X-Amz-Content-Sha256", hex.EncodeToString(sum[:])) req = signer.SignV4(*req, credentials.AccessKey, credentials.SecretKey, "", "us-east-1") rec := httptest.NewRecorder() api := objectAPIHandlers{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} } /** getAndAccumulate with sum adds given value to current, and returns previous value */ public void testGetAndAccumulateWithSum() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { for (double x : VALUES) { for (double y : VALUES) { aa.set(i, x); double z = aa.getAndAccumulate(i, y, Double::sum); assertBitEquals(x, z);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
lib/fips140/README.md
The file x.txt (for example, inprocess.txt, certified.txt) defines the meaning of the FIPS version alias x, listing the exact version to use. The zip files are created by cmd/go/internal/fips140/mkzip.go. The fips140.sum file lists checksums for the zip files.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Nov 20 20:28:34 GMT 2024 - 416 bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
for (int i = 0; i < elements.length; i++) { // add to either; sum should contain all if (i % 2 == 0) { multiset1.add(elements[i]); } else { multiset2.add(elements[i]); } } return sum(multiset1, multiset2); } }; } private static TestStringMultisetGenerator differenceGenerator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0) -
docs/debugging/s3-verify/main.go
targetFailed = true } }() wg.Wait() sobj.Close() tobj.Close() if !sourceFailed && !targetFailed { ssum := srcSha256.Sum(nil) tsum := tgtSha256.Sum(nil) allgood = bytes.Equal(ssum, tsum) if !allgood { fmt.Printf("sha256 sum mismatch: %s -> Expected(%x), Found(%x)\n", srcCtnt.Key, ssum, tsum) } } return allgood
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/cache/LongAddable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 885 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
} public void testSum() { AtomicLongMap<Object> map = AtomicLongMap.create(); long sum = 0; for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); sum += i; } assertEquals(ITERATIONS, map.size()); assertEquals(sum, map.sum()); } public void testEmpty() { AtomicLongMap<String> map = AtomicLongMap.create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0)