Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 172 for cc_test (0.09 sec)

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

    // license that can be found in the LICENSE file.
    
    //go:build cgo && !((ppc64 || ppc64le) && internal)
    
    // Test that we can link together two different cgo packages that both
    // 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" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 606 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue42495.go

    // Copyright 2020 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
    
    // typedef struct { } T42495A;
    // typedef struct { int x[0]; } T42495B;
    import "C"
    
    //export Issue42495A
    func Issue42495A(C.T42495A) {}
    
    //export Issue42495B
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 366 bytes
    - Viewed (0)
  3. src/net/internal/cgotest/empty_test.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
    
    import "testing"
    
    // Nothing to test here.
    // The test is that the package compiles at all.
    // See resstate.go.
    func Test(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 18:09:52 UTC 2024
    - 317 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue30527.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 30527: function call rewriting casts untyped
    // constants to int because of ":=" usage.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue30527"
    
    func issue30527G() {
    	issue30527.G(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 376 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/cgo_unix_test.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 && !windows
    
    package cgotest
    
    import "testing"
    
    func TestSigaltstack(t *testing.T) { testSigaltstack(t) }
    func TestSigprocmask(t *testing.T) { testSigprocmask(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 391 bytes
    - Viewed (0)
  6. 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 356 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue24161_darwin_test.go

    // Copyright 2018 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/issue24161arg"
    	"cmd/cgo/internal/test/issue24161e0"
    	"cmd/cgo/internal/test/issue24161e1"
    	"cmd/cgo/internal/test/issue24161e2"
    	"cmd/cgo/internal/test/issue24161res"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 716 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_version.txt

    import _ "example.net/b"
    
    -- b/go.mod --
    module example.net/b
    
    go 1.15
    -- b/b.go --
    package b
    -- b/b_test.go --
    package b_test
    
    import _ "example.net/c"
    
    -- c/go.mod --
    module example.net/c
    
    go 1.15
    -- c/c.go --
    package c
    -- c/c_test.go --
    package c_test
    
    import _ "example.net/d"
    
    -- d/go.mod --
    module example.net/d
    
    go 1.15
    -- d/d.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. 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"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 403 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/setgid2_linux.go

    // license that can be found in the LICENSE file.
    
    // Stress test setgid and thread creation. A thread
    // can get a SIGSETXID signal early on at thread
    // initialization, causing crash. See issue 53374.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    )
    
    func testSetgidStress(t *testing.T) {
    	const N = 50
    	ch := make(chan int, N)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 681 bytes
    - Viewed (0)
Back to top