Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for cgosotest (0.29 sec)

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

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue27340"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 377 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue26743.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26743: typedef of uint leads to inconsistent typedefs error.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 356 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue23555.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Test that we can have two identical cgo packages in a single binary.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue23555a"
    	_ "cmd/cgo/internal/test/issue23555b"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 403 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // extern int notoc_func(void);
    // int TestPPC64Stubs(void) {
    //	return notoc_func();
    // }
    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 15:06:17 GMT 2023
    - 540 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/backdoor.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import _ "unsafe"
    
    //go:linkname lockedOSThread runtime.lockedOSThread
    //extern runtime_lockedOSThread
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 307 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue29563.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo && !windows
    
    // Issue 29563: internal linker fails on duplicate weak symbols.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 363 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue21897b.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !darwin || !cgo || internal
    
    package cgotest
    
    import "testing"
    
    func test21897(t *testing.T) {
    	t.Skip("test runs only on darwin+cgo")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 308 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue26430.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26430: incomplete typedef leads to inconsistent typedefs error.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 359 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/gcc68255.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/gcc68255"
    )
    
    func testGCC68255(t *testing.T) {
    	if !gcc68255.F() {
    		t.Error("C global variable was not initialized")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 361 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue20266.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20266: use -I with a relative path.
    
    package cgotest
    
    /*
    #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
    #include "issue20266.h"
    */
    import "C"
    
    import "testing"
    
    func test20266(t *testing.T) {
    	if got, want := C.issue20266, 20266; got != want {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 463 bytes
    - Viewed (0)
Back to top