- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 234 for sum (0.01 seconds)
-
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.")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
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 sum } // set of inputs for uploading the objects before tests for // downloading is done. Data bytes are from DummyDataGen. objectInputs := []ObjectInput{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector = toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue, Integer::sum); CollectorTester.of(collector) .expectCollects(ImmutableTable.of()) .expectCollects( ImmutableTable.of("one", "uno", 3), immutableCell("one", "uno", 1),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.6K bytes - Click Count (0) -
android/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}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
} } /** * Safe integer addition with overflow check * * @param a first operand * @param b second operand * @return sum of a and b * @throws ArithmeticException if overflow occurs */ public static int safeAdd(int a, int b) { validateIntegerAddition(a, b, "Addition"); return a + b; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
max(0, saturatedSubtract(totalLoadTime, other.totalLoadTime)), max(0, saturatedSubtract(evictionCount, other.evictionCount))); } /** * Returns a new {@code CacheStats} representing the sum of this {@code CacheStats} and {@code * other}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
max(0, saturatedSubtract(totalLoadTime, other.totalLoadTime)), max(0, saturatedSubtract(evictionCount, other.evictionCount))); } /** * Returns a new {@code CacheStats} representing the sum of this {@code CacheStats} and {@code * other}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} } /** * Safely add integers checking for overflow * * @param a first value * @param b second value * @return sum * @throws SmbException if overflow would occur */ public int safeAdd(int a, int b) throws SmbException { totalValidations.incrementAndGet(); long result = (long) a + (long) b;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
api/go1.12.txt
pkg runtime/debug, type Module struct pkg runtime/debug, type Module struct, Path string pkg runtime/debug, type Module struct, Replace *Module pkg runtime/debug, type Module struct, Sum string pkg runtime/debug, type Module struct, Version string pkg strings, func ReplaceAll(string, string, string) string pkg strings, method (*Builder) Cap() int pkg syscall (freebsd-386), const S_IRWXG = 56
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 02 21:21:53 GMT 2019 - 13.5K bytes - Click Count (0) -
src/archive/tar/format.go
f.formatOctal(field[:7], chksum) // Never fails since 128776 < 262143 field[7] = ' ' } // computeChecksum computes the checksum for the header block. // POSIX specifies a sum of the unsigned byte values, but the Sun tar used // signed byte values. // We compute and return both. func (b *block) computeChecksum() (unsigned, signed int64) { for i, c := range b { if 148 <= i && i < 156 {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0)