- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for sub32 (0.12 sec)
-
src/math/bits/example_math_test.go
func ExampleSub32() { // First number is 33<<32 + 23 n1 := []uint32{33, 23} // Second number is 21<<32 + 12 n2 := []uint32{21, 12} // Sub them together without producing carry. d1, carry := bits.Sub32(n1[1], n2[1], 0) d0, _ := bits.Sub32(n1[0], n2[0], carry) nsum := []uint32{d0, d1} fmt.Printf("%v - %v = %v (carry bit was %v)\n", n1, n2, nsum, carry) // First number is 3<<32 + 2147483647 n1 = []uint32{3, 0x7fffffff}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 21:27:05 UTC 2021 - 6.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/dec64.rules
(Int64Make (Or32 <typ.UInt32> (Or32 <typ.UInt32> (Lsh32x32 <typ.UInt32> (Int64Hi x) s) (Rsh32Ux32 <typ.UInt32> (Int64Lo x) (Sub32 <typ.UInt32> (Const32 <typ.UInt32> [32]) s))) (Lsh32x32 <typ.UInt32> (Int64Lo x) (Sub32 <typ.UInt32> s (Const32 <typ.UInt32> [32])))) (Lsh32x32 <typ.UInt32> (Int64Lo x) s)) (Lsh64x16 x s) => (Int64Make (Or32 <typ.UInt32> (Or32 <typ.UInt32>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 19:35:46 UTC 2022 - 14.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
// x - (C - z) -> x + (z - C) -> (x + z) - C (Sub64 x (Sub64 i:(Const64 <t>) z)) && (z.Op != OpConst64 && x.Op != OpConst64) => (Sub64 (Add64 <t> x z) i) (Sub32 x (Sub32 i:(Const32 <t>) z)) && (z.Op != OpConst32 && x.Op != OpConst32) => (Sub32 (Add32 <t> x z) i) (Sub16 x (Sub16 i:(Const16 <t>) z)) && (z.Op != OpConst16 && x.Op != OpConst16) => (Sub16 (Add16 <t> x z) i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/math/bits/bits.go
func Sub(x, y, borrow uint) (diff, borrowOut uint) { if UintSize == 32 { d32, b32 := Sub32(uint32(x), uint32(y), uint32(borrow)) return uint(d32), uint(b32) } d64, b64 := Sub64(uint64(x), uint64(y), uint64(borrow)) return uint(d64), uint(b64) } // Sub32 returns the difference of x, y and borrow, diff = x - y - borrow. // The borrow input must be 0 or 1; otherwise the behavior is undefined.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritedec64.go
typ := &b.Func.Config.Types // match: (Lsh64x32 x s) // result: (Int64Make (Or32 <typ.UInt32> (Or32 <typ.UInt32> (Lsh32x32 <typ.UInt32> (Int64Hi x) s) (Rsh32Ux32 <typ.UInt32> (Int64Lo x) (Sub32 <typ.UInt32> (Const32 <typ.UInt32> [32]) s))) (Lsh32x32 <typ.UInt32> (Int64Lo x) (Sub32 <typ.UInt32> s (Const32 <typ.UInt32> [32])))) (Lsh32x32 <typ.UInt32> (Int64Lo x) s)) for { x := v_0 s := v_1 v.reset(OpInt64Make)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 65.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
{name: "Add64F", argLength: 2, commutative: true}, {name: "Sub8", argLength: 2}, // arg0 - arg1 {name: "Sub16", argLength: 2}, {name: "Sub32", argLength: 2}, {name: "Sub64", argLength: 2}, {name: "SubPtr", argLength: 2}, {name: "Sub32F", argLength: 2}, {name: "Sub64F", argLength: 2}, {name: "Mul8", argLength: 2, commutative: true}, // arg0 * arg1 {name: "Mul16", argLength: 2, commutative: true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_json_prints.txt
stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"Sub2"}' stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"--- PASS: Test/Sub1 \([\d.]+s\)\\n"}' stdout '"Action":"pass","Package":"p","Test":"Test/Sub1","Elapsed"' stdout '"Action":"output","Package":"p","Test":"Test/Sub3","Output":"foo bar"}' stdout '"Action":"output","Package":"p","Test":"Test/Sub3","Output":"baz\\n"}'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 19:50:36 UTC 2022 - 1.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
} def "runs all test tasks in multi project build when test class passed by name"() { setup: settingsFile << "include ':sub1', 'sub2', ':sub2:sub3', ':sub4'" ["sub1", "sub2/sub3"].each { projectFolderName -> file("${projectFolderName}/src/test/java/example/MyTest.java") << """ package example; public class MyTest {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
pkg/volume/util/nested_volumes_test.go
{MountPath: "/ignore", Name: "vol2"}, {MountPath: "/mnt/sub1/sub2/sub3", Name: "vol3"}, {MountPath: "/mnt/sub1/sub2/sub4", Name: "vol4"}, {MountPath: "/mnt/sub1/sub2/sub4/skip", Name: "vol5"}, {MountPath: "/mnt/sub1/sub2/sub4/skip2", Name: "vol5a"}, {MountPath: "/mnt/sub1/sub2/sub6", Name: "vol6"}, {MountPath: "/mnt7", Name: "vol7"}, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0)