- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 234 for sum (0.04 seconds)
-
maven-tests/mvnw
verbose " - Running Downloader.java ..." "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")" fi # If specified, validate the SHA-256 sum of the Maven distribution zip file if [ -n "${distributionSha256Sum-}" ]; then distributionSha256Result=false if [ "$MVN_CMD" = mvnd.sh ]; then echo "Checksum validation is not supported for maven-mvnd." >&2
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
} public void testToImmutableSortedMapMerging() { Collector<Entry<String, Integer>, ?, ImmutableSortedMap<String, Integer>> collector = toImmutableSortedMap(Entry::getKey, Entry::getValue, Integer::sum); Equivalence<ImmutableMap<String, Integer>> equivalence = Equivalence.equals().<Entry<String, Integer>>pairwise().onResultOf(ImmutableMap::entrySet); CollectorTester.of(collector, equivalence)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
->points.at(0) ->histogram_value.sum()); TFE_MonitoringSamplerCellAdd(cell, 5.0); metrics = collection_registry->CollectMetrics(options); EXPECT_EQ(6.0, metrics->point_set_map.at("test/sampler") ->points.at(0) ->histogram_value.sum()); TFE_MonitoringDeleteBuckets(buckets); TFE_MonitoringDeleteSampler0(sampler);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
{testBuckets[0], "unique/folder/1.txt", "content", nil, false}, {testBuckets[1], "unique/folder/1.txt", "content", nil, true}, } for _, object := range testObjects { md5Bytes := md5.Sum([]byte(object.content)) _, err = obj.PutObject(context.Background(), object.parentBucket, object.name, mustGetPutObjReader(t, bytes.NewBufferString(object.content),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
android/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. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) { // Calculate total weight int totalWeight = channels.stream() .mapToInt(ChannelInfo::getScore) .sum(); if (totalWeight == 0) { // All channels have zero score, pick randomly List<ChannelInfo> list = new ArrayList<>(channels);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
} } catch (IOException e) { throw new UncheckedIOException(e); } _defaultParallel = socketToCore.values().stream().mapToInt(i -> i).sum(); } else if (OS.current() == OS.MAC) { // Ask macOS to count physical CPUs for us ByteArrayOutputStream stdout = new ByteArrayOutputStream(); project.exec(spec -> {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
a >>= Integer.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b } return a << min(aTwos, bTwos); } /** * Returns the sum of {@code a} and {@code b}, provided it does not overflow. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link * Math#addExact(int, int)} instead. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
tests/scan_test.go
t.Errorf("Should find expected results, got %+v", results) } var ages int if err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("SUM(age)").Scan(&ages).Error; err != nil || ages != 30 { t.Fatalf("failed to scan ages, got error %v, ages: %v", err, ages) } var name string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0)