Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for f12 (0.02 sec)

  1. test/writebarrier.go

    }
    
    func f10(x *byte, f func(interface{})) {
    	f(x)
    }
    
    func f11(x *unsafe.Pointer, y unsafe.Pointer) {
    	*x = unsafe.Pointer(uintptr(y) + 1) // ERROR "write barrier"
    }
    
    func f12(x []*int, y *int) []*int {
    	// write barrier for storing y in x's underlying array
    	x = append(x, y) // ERROR "write barrier"
    	return x
    }
    
    func f12a(x []int, y int) []int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 19:46:36 UTC 2021
    - 5.9K bytes
    - Viewed (0)
Back to top