Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,571 for GO (1.48 sec)

  1. staging/src/k8s.io/cli-runtime/go.sum

    github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
    github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
    github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
    github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build.go

    // Copyright 2011 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.
    
    // This file is a lightly modified copy go/build/build.go with unused parts
    // removed.
    
    package modindex
    
    import (
    	"bytes"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/str"
    	"errors"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/build/constraint"
    	"go/token"
    	"io"
    	"io/fs"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. pkg/proxy/config/config_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apimachinery/pkg/watch"
    	informers "k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    	ktesting "k8s.io/client-go/testing"
    	klogtesting "k8s.io/klog/v2/ktesting"
    	"k8s.io/utils/ptr"
    )
    
    type sortedServices []*v1.Service
    
    func (s sortedServices) Len() int {
    	return len(s)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/pack/pack_test.go

    func TestIssue21703(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	dir := t.TempDir()
    
    	const aSrc = `package a; const X = "\n!\n"`
    	err := os.WriteFile(filepath.Join(dir, "a.go"), []byte(aSrc), 0666)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	const bSrc = `package b; import _ "a"`
    	err = os.WriteFile(filepath.Join(dir, "b.go"), []byte(bSrc), 0666)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/ptr_test.go

    		fail: true,
    	},
    	{
    		// Passing a pointer to an int field of a Go struct
    		// that (irrelevantly) contains a Go pointer.
    		name: "ok1",
    		c:    `struct s3 { int i; int *p; }; void f3(int *p) {}`,
    		body: `p := &C.struct_s3{i: 0, p: new(C.int)}; C.f3(&p.i)`,
    		fail: false,
    	},
    	{
    		// Passing a pointer to a pointer field of a Go struct.
    		name: "ptrfield",
    		c:    `struct s4 { int i; int *p; }; void f4(int **p) {}`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. src/debug/dwarf/line_test.go

    	{`//host/share/`, `foo/bar`, `//host/share/foo/bar`},
    
    	// Note: the Go compiler currently emits DWARF line table paths
    	// with '/' instead of '\' (see issues #19784, #36495). These
    	// tests are to cover cases that might come up for Windows Go
    	// binaries.
    	{`c:/workdir/go/src/x`, `y.go`, `c:/workdir/go/src/x/y.go`},
    	{`d:/some/thing/`, `b.go`, `d:/some/thing/b.go`},
    	{`e:\blah\`, `foo.c`, `e:\blah\foo.c`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. src/runtime/pinner.go

    	return pinState.isPinned()
    }
    
    // setPinned marks or unmarks a Go pointer as pinned, when the ptr is a Go pointer.
    // It will be ignored while try to pin a non-Go pointer,
    // and it will be panic while try to unpin a non-Go pointer,
    // which should not happen in normal usage.
    func setPinned(ptr unsafe.Pointer, pin bool) bool {
    	span := spanOfHeap(uintptr(ptr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/cmd/trace/main.go

    )
    
    const usageMessage = "" +
    	`Usage of 'go tool trace':
    Given a trace file produced by 'go test':
    	go test -trace=trace.out pkg
    
    Open a web browser displaying trace:
    	go tool trace [flags] [pkg.test] trace.out
    
    Generate a pprof-like profile from the trace:
        go tool trace -pprof=TYPE [pkg.test] trace.out
    
    [pkg.test] argument is required for traces produced by Go 1.6 and below.
    Go 1.7 does not require the binary argument.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/internal/testenv/testenv.go

    		// To run 'go build', we need to be able to exec a 'go' command.
    		// We somewhat arbitrarily choose to exec 'go tool -n compile' because that
    		// also confirms that cmd/go can find the compiler. (Before CL 472096,
    		// we sometimes ended up with cmd/go installed in the test environment
    		// without a cmd/compile it could use to actually build things.)
    		cmd := exec.Command("go", "tool", "-n", "compile")
    		cmd.Env = origEnv
    		out, err := cmd.Output()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/envcmd/env.go

    	"cmd/go/internal/cache"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/load"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/work"
    	"cmd/internal/quoted"
    	"cmd/internal/telemetry"
    )
    
    var CmdEnv = &base.Command{
    	UsageLine: "go env [-json] [-changed] [-u] [-w] [var ...]",
    	Short:     "print Go environment information",
    	Long: `
    Env prints Go environment information.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top