- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 160 for SUM (0.01 sec)
-
cmd/object-handlers_test.go
} ) type ObjectInput struct { objectName string partLengths []int64 metaData map[string]string } objectLength := func(oi ObjectInput) (sum int64) { for _, l := range oi.partLengths { sum += l } return } // set of inputs for uploading the objects before tests for // downloading is done. Data bytes are from DummyDataGen. objectInputs := []ObjectInput{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/erasure-healing_test.go
if err != nil { t.Fatal(err) } actualH := sha256.New() _, err = io.Copy(actualH, bytes.NewReader(data)) if err != nil { return } actualSha256 := actualH.Sum(nil) z := obj.(*erasureServerPools) er := z.serverPools[0].getHashedSet(object) disks := er.getDisks() distribution := hashOrder(pathJoin(bucket, object), nDisks)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 48.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
*/ public ChannelStatistics getStatistics() { return new ChannelStatistics(sessionChannels.size(), sessionChannels.values().stream().mapToInt(ChannelGroup::getChannelCount).sum(), totalRequests.get(), totalChannelsCreated.get()); } /** * Channel statistics. */ public static class ChannelStatistics { private final int activeSessions;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element. * * @since 22.0 */ public static <T extends @Nullable Object, E>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* <Long>}: * * <ul> * <li>Improved memory compactness and locality. * <li>Can be queried without allocating garbage. * <li>Access to {@code LongStream} features (like {@link LongStream#sum}) using {@code stream()} * instead of the awkward {@code stream().mapToLong(v -> v)}. * </ul> * * <p>Disadvantages compared to {@code ImmutableList<Long>}: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* <Integer>}: * * <ul> * <li>Improved memory compactness and locality. * <li>Can be queried without allocating garbage. * <li>Access to {@code IntStream} features (like {@link IntStream#sum}) using {@code stream()} * instead of the awkward {@code stream().mapToInt(v -> v)}. * </ul> * * <p>Disadvantages compared to {@code ImmutableList<Integer>}: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
h := xxhash.New() for _, s := range setArgs { for _, d := range s { h.WriteString(d) } } layout.pools = append(layout.pools, poolDisksLayout{ cmdline: fmt.Sprintf("hash:%x", h.Sum(nil)), layout: setArgs, }) } return } // mergeDisksLayoutFromArgs supports with and without ellipses transparently. func mergeDisksLayoutFromArgs(args []string, ctxt *serverCtxt) (err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
public void testToImmutableSortedMapMerging() { Collector<Entry<String, Integer>, ?, ImmutableSortedMap<String, Integer>> collector = toImmutableSortedMap(naturalOrder(), Entry::getKey, Entry::getValue, Integer::sum); Equivalence<ImmutableMap<String, Integer>> equivalence = Equivalence.equals().<Entry<String, Integer>>pairwise().onResultOf(ImmutableMap::entrySet); CollectorTester.of(collector, equivalence)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
cmd/xl-storage.go
return int64(n), err } if _, err = h.Write(buffer); err != nil { return 0, err } if _, err = io.Copy(h, file); err != nil { return 0, err } if !bytes.Equal(h.Sum(nil), verifier.sum) { return 0, errFileCorrupt } return int64(len(buffer)), nil } func (s *xlStorage) openFileDirect(path string, mode int) (f *os.File, err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
b += minDeltaOrZero; // sets b to min(old a, b) a >>= Long.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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0)