- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 229 for Subtract (0.5 sec)
-
src/runtime/time_windows_arm.s
MOVW $0,R7 MULALU R2,R3,(R7,R6) // unscale by discarding low 32 bits, shifting the rest by 29 MOVW R6>>29,R6 // R7:R6 = (R7:R6:R5 >> 61) ORR R7<<3,R6 MOVW R7>>29,R7 // subtract (10**9 * sec) from nsec to get nanosecond remainder MOVW $1000000000, R5 // 10**9 MULLU R6,R5,(R9,R8) // R9:R8 = R7:R6 * R5 MULA R7,R5,R9,R9 SUB.S R8,R1 // R2:R1 -= R9:R8 SBC R9,R2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 17:19:45 UTC 2023 - 2K bytes - Viewed (0) -
src/net/netip/uint128_test.go
package netip import ( "testing" ) func TestUint128AddSub(t *testing.T) { const add1 = 1 const sub1 = -1 tests := []struct { in uint128 op int // +1 or -1 to add vs subtract want uint128 }{ {uint128{0, 0}, add1, uint128{0, 1}}, {uint128{0, 1}, add1, uint128{0, 2}}, {uint128{1, 0}, add1, uint128{1, 1}}, {uint128{0, ^uint64(0)}, add1, uint128{1, 0}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 01:28:01 UTC 2021 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts
val set: Set<File> = collection.files val list: List<File> = collection.toList() val path: String = collection.asPath val file: File = collection.singleFile // Add and subtract collections val union = collection + projectLayout.files("src/file2.txt") val difference = collection - projectLayout.files("src/file2.txt") // end::usage[] } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 13:55:00 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go
result[key] = zero } } for key := range b { if _, found := result[key]; !found { result[key] = zero } } return result } // Subtract returns the result of a - b for each named resource func Subtract(a corev1.ResourceList, b corev1.ResourceList) corev1.ResourceList { result := corev1.ResourceList{} for key, value := range a { quantity := value.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 06 23:11:22 UTC 2021 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 15 10:40:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls_linux.go
// after an unshare since os.Getwd might just check the // environment, or use some other mechanism. var buf [4096]byte n, err := syscall.Getcwd(buf[:]) if err != nil { return "", err } // Subtract one for null terminator. return string(buf[:n-1]), nil } func unshareFs() error { err := syscall.Unshare(syscall.CLONE_FS) if testenv.SyscallIsNotSupported(err) { return errNotPermitted } return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
} public void testIsPowerOfTwo() { for (BigInteger x : ALL_BIGINTEGER_CANDIDATES) { // Checks for a single bit set. boolean expected = x.signum() > 0 & x.and(x.subtract(ONE)).equals(ZERO); assertEquals(expected, BigIntegerMath.isPowerOfTwo(x)); } } public void testLog2ZeroAlwaysThrows() { for (RoundingMode mode : ALL_ROUNDING_MODES) { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:58:33 UTC 2024 - 27.8K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519_test.go
ZZ.Square(&p.z) ZZZZ.Square(&ZZ) // -x² + y² = 1 + dx²y² // -(X/Z)² + (Y/Z)² = 1 + d(X/Z)²(Y/Z)² // (-X² + Y²)/Z² = 1 + (dX²Y²)/Z⁴ // (-X² + Y²)*Z² = Z⁴ + dX²Y² var lhs, rhs field.Element lhs.Subtract(&YY, &XX).Multiply(&lhs, &ZZ) rhs.Multiply(d, &XX).Multiply(&rhs, &YY).Add(&rhs, &ZZZZ) if lhs.Equal(&rhs) != 1 { t.Errorf("X, Y, and Z do not specify a point on the curve\nX = %v\nY = %v\nZ = %v", p.x, p.y, p.z) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 18:45:00 UTC 2022 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 15 10:40:05 UTC 2024 - 3.5K bytes - Viewed (0)