- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of about 10,000 for GO (0.41 sec)
-
src/cmd/go/internal/cfg/cfg.go
// case go/build falls back to the runtime constants), so // go/build.Default.GOOS/GOARCH == runtime.GOOS/GOARCH. // So ctxt.CgoEnabled (== go/build.Default.CgoEnabled) is correct // as is and can be left unmodified. // // All that said, starting in Go 1.20 we layer one more rule // on top of the go/build decision: if CC is unset and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/go/types/self_test.go
// Copyright 2013 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 types_test import ( "go/ast" "go/importer" "go/parser" "go/token" "internal/testenv" "path" "path/filepath" "testing" "time" . "go/types" ) func TestSelf(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:39:00 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/cover/cover_test.go
}) } // Execute this command sequence: // // replace the word LINE with the line number < testdata/test.go > testdata/test_line.go // testcover -mode=count -var=CoverTest -o ./testdata/test_cover.go testdata/test_line.go // go run ./testdata/main.go ./testdata/test.go func TestCover(t *testing.T) { testenv.MustHaveGoRun(t) t.Parallel() dir := tempDir(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:28 UTC 2023 - 18.4K bytes - Viewed (0) -
test/fixedbugs/bug088.dir/bug1.go
// Copyright 2009 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 main import P "./bug0" func main() { a0 := P.V0(); // works a1 := P.V1(); // works a2, b2 := P.V2(); // doesn't work _, _, _, _ = a0, a1, a2, b2; } /* uetli:~/Source/go1/test/bugs/bug088.dir gri$ 6g bug0.go && 6g bug1.go bug1.go:8: shape error across :=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 550 bytes - Viewed (0) -
test/fixedbugs/issue9862_run.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 662 bytes - Viewed (0) -
src/cmd/go/go_test.go
"strconv" "strings" "testing" "time" "cmd/go/internal/base" "cmd/go/internal/cache" "cmd/go/internal/cfg" "cmd/go/internal/gover" "cmd/go/internal/robustio" "cmd/go/internal/search" "cmd/go/internal/toolchain" "cmd/go/internal/vcs" "cmd/go/internal/vcweb/vcstest" "cmd/go/internal/web" "cmd/go/internal/work" "cmd/internal/sys" cmdgo "cmd/go" ) func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/go/internal/fmtcmd/fmt.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. // Package fmtcmd implements the “go fmt” command. package fmtcmd import ( "context" "errors" "fmt" "os" "path/filepath" "cmd/go/internal/base" "cmd/go/internal/cfg" "cmd/go/internal/load" "cmd/go/internal/modload" "cmd/internal/sys" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 12:16:35 UTC 2022 - 3K bytes - Viewed (0) -
src/internal/types/errors/generrordocs.go
//go:build ignore // 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. // generrordocs creates a Markdown file for each (compiler) error code // and its associated documentation. // Note: this program must be run in this directory. // go run generrordocs.go <dir> //go:generate go run generrordocs.go errors_markdown package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 03:14:42 UTC 2023 - 3K bytes - Viewed (0) -
src/go/build/build_test.go
data string match bool }{ {ctxtP9, "foo_arm.go", "", true}, {ctxtP9, "foo1_arm.go", "// +build linux\n\npackage main\n", false}, {ctxtP9, "foo_darwin.go", "", false}, {ctxtP9, "foo.go", "", true}, {ctxtP9, "foo1.go", "// +build linux\n\npackage main\n", false}, {ctxtP9, "foo.badsuffix", "", false}, {ctxtAndroid, "foo_linux.go", "", true}, {ctxtAndroid, "foo_android.go", "", true}, {ctxtAndroid, "foo_plan9.go", "", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0) -
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)