Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for f33 (0.03 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    		// to unsafe.Pointer still just checks that field.
    		// Issue #25941.
    		name:    "structfield",
    		c:       `void f33(void* p) {}`,
    		imports: []string{"unsafe"},
    		support: `type S33 struct { p *int; a [8]byte; u uintptr }`,
    		body:    `s := &S33{p: new(int)}; C.f33(unsafe.Pointer(&s.a))`,
    		fail:    false,
    	},
    	{
    		// Test that converting multiple struct field
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. test/live.go

    }
    
    //go:noescape
    func call32(func())
    
    // temporaries introduced during if conditions and && || expressions
    // should die once the condition has been acted upon.
    
    var m33 map[interface{}]int
    
    func f33() {
    	if m33[byteptr()] == 0 { // ERROR "stack object .autotmp_[0-9]+ interface \{\}$"
    		printnl()
    		return
    	} else {
    		printnl()
    	}
    	printnl()
    }
    
    func f34() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. test/live_regabi.go

    }
    
    //go:noescape
    func call32(func())
    
    // temporaries introduced during if conditions and && || expressions
    // should die once the condition has been acted upon.
    
    var m33 map[interface{}]int
    
    func f33() {
    	if m33[byteptr()] == 0 { // ERROR "stack object .autotmp_[0-9]+ interface \{\}$"
    		printnl()
    		return
    	} else {
    		printnl()
    	}
    	printnl()
    }
    
    func f34() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top