Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test9557 (0.15 sec)

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

    func Test8517(t *testing.T)                  { test8517(t) }
    func Test8694(t *testing.T)                  { test8694(t) }
    func Test8756(t *testing.T)                  { test8756(t) }
    func Test8811(t *testing.T)                  { test8811(t) }
    func Test9026(t *testing.T)                  { test9026(t) }
    func Test9510(t *testing.T)                  { test9510(t) }
    func Test9557(t *testing.T)                  { test9557(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/test.go

    	y: [3][0][1][2]C.char{},
    	z: [0][1][2][3]C.char{},
    }
    
    // issue 8811
    
    func test8811(t *testing.T) {
    	C.issue8811Execute()
    }
    
    // issue 9557
    
    func test9557(t *testing.T) {
    	// implicitly dereference a Go variable
    	foo := C.issue9557foo
    	if v := foo.a; v != 42 {
    		t.Fatalf("foo.a expected 42, but got %d", v)
    	}
    
    	// explicitly dereference a C variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go

    // relocations which may not be resolvable with the internal linker.
    func test8694(t *testing.T) { t.Skip("not supported on ppc64/ppc64le with internal linking") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 631 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue8517.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows
    
    package cgotest
    
    import "testing"
    
    func test8517(t *testing.T) {
    	t.Skip("skipping windows only test")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 286 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9510.go

    // use the same libgcc function.
    
    package cgotest
    
    import (
    	"runtime"
    	"testing"
    
    	"cmd/cgo/internal/test/issue9510a"
    	"cmd/cgo/internal/test/issue9510b"
    )
    
    func test9510(t *testing.T) {
    	if runtime.GOARCH == "arm" {
    		t.Skip("skipping because libgcc may be a Thumb library")
    	}
    	issue9510a.F(1, 1)
    	issue9510b.F(1, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 606 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue8517_windows.go

    	const current_process = ^uintptr(0)
    	var c uint32
    	r, _, err := getProcessHandleCount.Call(current_process, uintptr(unsafe.Pointer(&c)))
    	if r == 0 {
    		t.Fatal(err)
    	}
    	return int(c)
    }
    
    func test8517(t *testing.T) {
    	c1 := processHandleCount(t)
    	C.testHandleLeaks()
    	c2 := processHandleCount(t)
    	if c1+issue8517counter <= c2 {
    		t.Fatalf("too many handles leaked: issue8517counter=%v c1=%v c2=%v", issue8517counter, c1, c2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 990 bytes
    - Viewed (0)
Back to top