Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Test1560 (0.14 sec)

  1. src/cmd/cgo/internal/test/cgo_test.go

    // so that they can use cgo (import "C").
    // These wrappers are here for gotest to find.
    
    func Test1328(t *testing.T)                  { test1328(t) }
    func Test1560(t *testing.T)                  { test1560(t) }
    func Test1635(t *testing.T)                  { test1635(t) }
    func Test3250(t *testing.T)                  { test3250(t) }
    func Test3729(t *testing.T)                  { test3729(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/testx.go

    }
    
    func Issue1560FromGo() {
    	atomic.AddInt32(&issue1560, 1)
    	for atomic.LoadInt32(&issue1560) != 2 {
    		runtime.Gosched()
    	}
    	atomic.AddInt32(&issue1560, 1)
    	issue1560Ch <- true
    }
    
    func test1560(t *testing.T) {
    	go Issue1560FromGo()
    	go C.Issue1560InC()
    	<-issue1560Ch
    	<-issue1560Ch
    }
    
    // issue 2462
    
    //export exportbyte
    func exportbyte() byte {
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/test.go

    	want := "yarn"
    	if got := C.GoString(C.Issue6907CopyString(want)); got != want {
    		t.Errorf("C.GoString(C.Issue6907CopyString(%q)) == %q, want %q", want, got, want)
    	}
    }
    
    // issue 7560
    
    func test7560(t *testing.T) {
    	// some mingw don't implement __packed__ correctly.
    	if C.offset7560() != 1 {
    		t.Skip("C compiler did not pack struct")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top