Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,571 for GO (0.12 sec)

  1. src/cmd/go/internal/workcmd/edit.go

    The -go=version flag sets the expected Go language version.
    
    The -toolchain=name flag sets the Go toolchain to use.
    
    The -print flag prints the final go.work in its text format instead of
    writing it back to go.mod.
    
    The -json flag prints the final go.work file in JSON format instead of
    writing it back to go.mod. The JSON output corresponds to these Go types:
    
    	type GoWork struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/cmd/go/internal/help/helpdoc.go

                            z.go
                    quux/              (go code in package main)
                        y.go
    
    
    The code in z.go is imported as "foo/internal/baz", but that
    import statement can only appear in source files in the subtree
    rooted at foo. The source files foo/f.go, foo/bar/x.go, and
    foo/quux/y.go can all import "foo/internal/baz", but the source file
    crash/bang/b.go cannot.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/download.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package modcmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"os"
    	"runtime"
    	"sync"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modfetch/codehost"
    	"cmd/go/internal/modload"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    	go tool fix -r cftype <pkg>
    	go tool fix -r jni <pkg>
    
    It will replace nil with 0 in the appropriate places.
    
    The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite
    to auto-update code from Go 1.11 and earlier:
    
    	go tool fix -r egl <pkg>
    
    The EGLConfig case was introduced in Go 1.15. Use the eglconf rewrite
    to auto-update code from Go 1.14 and earlier:
    
    	go tool fix -r eglconf <pkg>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/runtime/proc_test.go

    	default:
    		go perpetuumMobile()
    	}
    }
    
    func TestStopTheWorldDeadlock(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("no preemption on wasm yet")
    	}
    	if testing.Short() {
    		t.Skip("skipping during short test")
    	}
    	maxprocs := runtime.GOMAXPROCS(3)
    	compl := make(chan bool, 2)
    	go func() {
    		for i := 0; i != 1000; i += 1 {
    			runtime.GC()
    		}
    		compl <- true
    	}()
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    	"runtime"
    	"strings"
    	"testing"
    	"time"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/script"
    	"cmd/go/internal/script/scripttest"
    	"cmd/go/internal/vcweb/vcstest"
    
    	"golang.org/x/telemetry/counter/countertest"
    )
    
    var testSum = flag.String("testsum", "", `may be tidy, listm, or listall. If set, TestScript generates a go.sum file at the beginning of each test and updates test files if they pass.`)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/fetch.go

    	"cmd/go/internal/gover"
    	"cmd/go/internal/lockedfile"
    	"cmd/go/internal/par"
    	"cmd/go/internal/robustio"
    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    
    	"golang.org/x/mod/module"
    	"golang.org/x/mod/sumdb/dirhash"
    	modzip "golang.org/x/mod/zip"
    )
    
    var downloadCache par.ErrCache[module.Version, string] // version → directory
    
    var ErrToolchain = errors.New("internal error: invalid operation on toolchain module")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/go.sum

    github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
    github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
    github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/clean/clean.go

    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/str"
    	"cmd/go/internal/work"
    )
    
    var CmdClean = &base.Command{
    	UsageLine: "go clean [clean flags] [build flags] [packages]",
    	Short:     "remove object files and cached files",
    	Long: `
    Clean removes object files from package source directories.
    The go command builds most objects in a temporary directory,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/go.sum

    github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
    github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top