Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 172 for cc_test (0.08 sec)

  1. src/cmd/cgo/internal/test/issue21897.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
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"runtime/debug"
    	"testing"
    	"unsafe"
    )
    
    func test21897(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/testdata/issue42580.go

    // Copyright 2021 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 42580: cmd/cgo: shifting identifier position in ast
    
    package cgotest
    
    // typedef int (*intFunc) ();
    //
    // char* strarg = "";
    //
    // int func_with_char(char* arg, void* dummy)
    // {return 5;}
    //
    // int* get_arr(char* arg, void* dummy)
    // {return NULL;}
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/modifiers/BuildInitTestFramework.java

        NONE("none"),
        JUNIT("JUnit 4"),
        TESTNG("TestNG"),
        SPOCK("Spock"),
        KOTLINTEST("kotlin.test"),
        SCALATEST("ScalaTest"),
        JUNIT_JUPITER("JUnit Jupiter"),
        XCTEST("XCTest"),
        CPPTest("C++ executable");
    
        public static List<String> listSupported() {
            List<String> result = new ArrayList<>();
            for (BuildInitTestFramework testFramework : values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 19:41:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 363 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/typeparam.go

    // Copyright 2021 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
    
    // #include <stddef.h>
    import "C"
    
    func generic[T, U any](t T, u U) {}
    
    func useGeneric() {
    	const zero C.size_t = 0
    
    	generic(zero, zero)
    	generic[C.size_t, C.size_t](0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 353 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue52611.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 52611: inconsistent compiler behaviour when compiling a C.struct.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue52611a"
    	_ "cmd/cgo/internal/test/issue52611b"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 406 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test_unix.go

    // Copyright 2019 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 unix
    
    package cgotest
    
    import "syscall"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 254 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    		return
    	}
    	costEst, err := ruleEnv.EstimateCost(ast, estimator)
    	if err != nil {
    		compilationResult.Error = &apiservercel.Error{Type: apiservercel.ErrorTypeInternal, Detail: "cost estimation failed: " + err.Error()}
    		return
    	}
    	compilationResult.MaxCost = costEst.Max
    	compilationResult.MaxCardinality = maxCardinality
    	compilationResult.Program = prog
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 463 bytes
    - Viewed (0)
  10. 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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 308 bytes
    - Viewed (0)
Back to top