- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 420 for Multiply (0.06 seconds)
-
cmd/dummy-data-generator_test.go
} if skipOffset < 0 { panic("Negative rotations are not allowed") } skipOffset %= int64(len(alphabets)) const multiply = 100 as := bytes.Repeat(alphabets, multiply) b := as[skipOffset : skipOffset+int64(len(alphabets)*(multiply-1))] return &DummyDataGen{ length: totalLength, b: b, } } func (d *DummyDataGen) Read(b []byte) (n int, err error) { k := len(b)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/grid/benchmark_test.go
} atomic.AddInt64(&ops, int64(n)) atomic.AddInt64(&lat, latency) }) spent := time.Since(t) if spent > 0 && n > 0 { // Since we are benchmarking n parallel servers we need to multiply by n. // This will give an estimate of the total ops/s. latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond) b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
try { BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY); BigInteger undone = quotient.multiply(q); if (!p.equals(undone)) { failFormat("expected %s.multiply(%s) = %s; got %s", quotient, q, p, undone); } assertTrue(dividesEvenly); } catch (ArithmeticException e) { assertFalse(dividesEvenly);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Nov 19 01:35:24 GMT 2025 - 27.1K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/riscv64.s
VFRDIVVF F10, V2, V0, V3 // d7512584 // 31.13.5: Vector Widening Floating-Point Multiply VFWMULVV V1, V2, V3 // d79120e2 VFWMULVV V1, V2, V0, V3 // d79120e0 VFWMULVF F10, V2, V3 // d75125e2 VFWMULVF F10, V2, V0, V3 // d75125e0 // 31.13.6: Vector Single-Width Floating-Point Fused Multiply-Add Instructions VFMACCVV V2, V1, V3 // d79120b2 VFMACCVV V2, V1, V0, V3 // d79120b0
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 73.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long b : TEST_LONGS) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); long expected = aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).longValue(); UnsignedLong unsignedMul = aUnsigned.times(bUnsigned); assertThat(unsignedMul.longValue()).isEqualTo(expected); } } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 10.4K bytes - Click Count (0) -
guava/src/com/google/common/math/LongMath.java
// It's definitely safe to multiply into numerator and denominator. numerator *= n; denominator *= i; numeratorBits += nBits; } else { // It might not be safe to multiply into numerator and denominator, // so multiply (numerator / denominator) into result.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 03 21:01:09 GMT 2025 - 46.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long b : TEST_LONGS) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); long expected = aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).longValue(); UnsignedLong unsignedMul = aUnsigned.times(bUnsigned); assertThat(unsignedMul.longValue()).isEqualTo(expected); } } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
.functionScoreQuery(QueryBuilders.matchAllQuery(), flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()])) .boostMode(CombineFunction.MULTIPLY)); reader.addSort(SortBuilders.fieldSort(fessConfig.getIndexFieldClickCount())); reader.addSort(SortBuilders.scoreSort()); return reader; }, docPerReq, () -> {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
*/ open fun header( name: String, value: String, ) = apply { headers[name] = value } /** * Adds a header with [name] and [value]. Prefer this method for multiply-valued * headers like "Cookie". * * Note that for some headers including `Content-Length` and `Content-Encoding`, * OkHttp may replace [value] with a header derived from the request body. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Integer overflow detected"); } return (int) result; } /** * Safely multiply integers checking for overflow * * @param a first value * @param b second value * @return product * @throws SmbException if overflow would occur */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0)