- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for compMem1 (1.16 sec)
-
test/codegen/comparisons.go
var r bool func CmpFold(x uint32) { // amd64:`SETHI\t.*\(SB\)` r = x > 4 } // Test that direct comparisons with memory are generated when // possible func CmpMem1(p int, q *int) bool { // amd64:`CMPQ\t\(.*\), [A-Z]` return p < *q } func CmpMem2(p *int, q int) bool { // amd64:`CMPQ\t\(.*\), [A-Z]` return *p < q } func CmpMem3(p *int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 16:31:02 UTC 2024 - 15.2K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
func close2() { f1 := func() (ch chan int) { return } f2 := func() (ch chan int, x int) { return } close(f0 /* ERROR "used as value" */ ()) close(f1()) close(f2()) // ERROR "too many arguments" } func complex1() { var i32 int32 var f32 float32 var f64 float64 var c64 complex64 var c128 complex128 _ = complex() // ERROR "not enough arguments" _ = complex(1) // ERROR "not enough arguments"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0)