- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ptrOneOffset (0.11 sec)
-
test/codegen/copy.go
// Check that no branches are generated when the pointers are [not] equal. func ptrEqual() { // amd64:-"JEQ",-"JNE" // ppc64x:-"BEQ",-"BNE" // s390x:-"BEQ",-"BNE" copy(x[:], x[:]) } func ptrOneOffset() { // amd64:-"JEQ",-"JNE" // ppc64x:-"BEQ",-"BNE" // s390x:-"BEQ",-"BNE" copy(x[1:], x[:]) } func ptrBothOffset() { // amd64:-"JEQ",-"JNE" // ppc64x:-"BEQ",-"BNE"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 14:09:29 UTC 2023 - 3.1K bytes - Viewed (0)