Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 172 for cc_test (0.17 sec)

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

    // Copyright 2024 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 && internal
    
    package cgotest
    
    import (
    	"internal/testenv"
    	"testing"
    )
    
    func TestCallbackCallersSEH(t *testing.T) {
    	testenv.SkipFlaky(t, 65116)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 06:52:00 UTC 2024
    - 334 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue41761.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 S41761 S41761;
    */
    import "C"
    
    import (
    	"cmd/cgo/internal/test/issue41761a"
    	"testing"
    )
    
    func test41761(t *testing.T) {
    	var x issue41761a.T
    	_ = (*C.struct_S41761)(x.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 371 bytes
    - Viewed (0)
  3. src/net/internal/cgotest/resstate.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.
    
    //go:build cgo && darwin
    
    package cgotest
    
    /*
    #include <resolv.h>
    */
    import "C"
    
    import (
    	"internal/syscall/unix"
    	"unsafe"
    )
    
    // This will cause a compile error when the size of
    // unix.ResState is too small.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 18:09:52 UTC 2024
    - 455 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_pgo_auto.txt

    go install -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go run -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go test -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go'
    stderr 'compile.*-pgoprofile=.*external_test.go'
    
    # go list commands should succeed as usual
    go list -pgo=auto ./a/a1
    
    go list -test -pgo=auto ./a/a1
    
    go list -deps -pgo=auto ./a/a1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testlife/life_test.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.
    
    package life_test
    
    import (
    	"bytes"
    	"cmd/cgo/internal/cgotest"
    	"internal/testenv"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 20:56:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/CppProjectInitDescriptor.java

            return Collections.singleton(BuildInitTestFramework.CPPTest);
        }
    
        @Override
        public BuildInitTestFramework getDefaultTestFramework(ModularizationOption modularizationOption) {
            return BuildInitTestFramework.CPPTest;
        }
    
        @Override
        public Optional<String> getFurtherReading(InitSettings settings) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 19:14:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_all.txt

    package a
    
    import _ "example.com/b"
    -- a/a_test.go --
    package a_test
    
    import _ "example.com/c"
    -- b/go.mod --
    module example.com/b
    
    go 1.15
    -- b/b.go --
    package b
    -- b/b_test.go --
    package b_test
    -- c/go.mod --
    module example.com/c
    
    go 1.15
    
    require example.com/d v0.1.0
    -- c/c.go --
    package c
    -- c/c_test.go --
    package c_test
    
    import _ "example.com/d"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 13.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_cov.txt

    # TODO(#51484): enabled debugging info to help diagnose a deadlock in the fuzzer
    env GODEBUG=fuzzdebug=1
    ! go test -fuzz=FuzzCov -v
    ! stderr 'cov instrumentation working'
    
    -- go.mod --
    module test
    
    -- cov_test.go --
    package cov
    
    import "testing"
    
    func FuzzCov(f *testing.F) {
    	f.Fuzz(func(t *testing.T, b []byte) {
    		if len(b) == 8 &&
    			b[0] == 'h' &&
    			b[1] == 'e' &&
    			b[2] == 'l' &&
    			b[3] == 'l' &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 787 bytes
    - Viewed (0)
  9. src/internal/trace/mud_test.go

    					t.Errorf("inverse(%g) = %g, not ∈ [%g, %g)", trackMass, inv, l, u)
    				}
    			}
    		}
    	}
    }
    
    // aeq returns true if x and y are equal up to 8 digits (1 part in 100
    // million).
    // TODO(amedee) dup of gc_test.go
    func aeq(x, y float64) bool {
    	if x < 0 && y < 0 {
    		x, y = -x, -y
    	}
    	const digits = 8
    	factor := 1 - math.Pow(10, -digits+1)
    	return x*factor <= y && y*factor <= x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_test.go

    	}
    	p.PodSandboxStatus.Id = strings.ReplaceAll(string(uuid.NewUUID()), "-", "")
    	return p
    }
    
    func makeFakeContainer(sandbox *critest.FakePodSandbox, name string, attempt uint32, terminated bool) *critest.FakeContainer {
    	sandboxID := sandbox.PodSandboxStatus.Id
    	c := &critest.FakeContainer{
    		SandboxID: sandboxID,
    		ContainerStatus: runtimeapi.ContainerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top