Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,263 for GO (0.18 sec)

  1. src/cmd/go/internal/telemetrystats/telemetrystats.go

    	if !modload.WillBeEnabled() {
    		telemetry.Inc("go/mode:gopath")
    	} else if workfile := modload.FindGoWork(base.Cwd()); workfile != "" {
    		telemetry.Inc("go/mode:workspace")
    	} else {
    		telemetry.Inc("go/mode:module")
    	}
    	telemetry.Inc("go/platform/target/goos:" + cfg.Goos)
    	telemetry.Inc("go/platform/target/goarch:" + cfg.Goarch)
    	switch cfg.Goarch {
    	case "386":
    		telemetry.Inc("go/platform/target/go386:" + cfg.GO386)
    	case "amd64":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	const pkg = "example.com/pgo/devirtualize"
    
    	// Add a go.mod so we have a consistent symbol names in this temp dir.
    	goMod := fmt.Sprintf(`module %s
    go 1.21
    `, pkg)
    	if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte(goMod), 0644); err != nil {
    		t.Fatalf("error writing go.mod: %v", err)
    	}
    
    	// Run the test without PGO to ensure that the test assertions are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/mksyscall.go

    // Copyright 2016 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 generate
    
    package windows
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 379 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.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 directive defines an Analyzer that checks known Go toolchain directives.
    package directive
    
    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/go.mod

    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
    	github.com/emicklei/go-restful/v3 v3.11.0 // indirect
    	github.com/fxamacker/cbor/v2 v2.7.0-beta // indirect
    	github.com/go-errors/errors v1.4.2 // indirect
    	github.com/go-logr/logr v1.4.1 // indirect
    	github.com/go-openapi/jsonpointer v0.19.6 // indirect
    	github.com/go-openapi/jsonreference v0.20.2 // indirect
    	github.com/go-openapi/swag v0.22.4 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/versions/versions.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 versions
    
    import (
    	"strings"
    )
    
    // Note: If we use build tags to use go/versions when go >=1.22,
    // we run into go.dev/issue/53737. Under some operations users would see an
    // import of "go/versions" even if they would not compile the file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go

    // Copyright 2022 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 timeformat defines an Analyzer that checks for the use
    // of time.Format or time.Parse calls with a bad format.
    package timeformat
    
    import (
    	_ "embed"
    	"go/ast"
    	"go/constant"
    	"go/token"
    	"go/types"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.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.
    
    package unmarshal
    
    import (
    	_ "embed"
    	"go/ast"
    	"go/types"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/inspect"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    	"golang.org/x/tools/go/ast/inspector"
    	"golang.org/x/tools/go/types/typeutil"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modcmd/verify.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.
    
    package modcmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io/fs"
    	"os"
    	"runtime"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modload"
    
    	"golang.org/x/mod/module"
    	"golang.org/x/mod/sumdb/dirhash"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/swig/swig_test.go

    	}
    
    	// Check that swig was installed with Go support by checking
    	// that a go directory exists inside the swiglib directory.
    	// See https://golang.org/issue/23469.
    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    	swigDir := strings.TrimSpace(string(output))
    
    	_, err = os.Stat(filepath.Join(swigDir, "go"))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top