- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of about 10,000 for GO (0.07 sec)
-
src/internal/trace/testdata/generate.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:generate go run mktests.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 209 bytes - Viewed (0) -
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) -
src/runtime/defs1_netbsd_arm.go
// created by cgo -cdefs and then converted to Go // cgo -cdefs defs_netbsd.go defs_netbsd_arm.go package runtime const ( _EINTR = 0x4 _EFAULT = 0xe _EAGAIN = 0x23 _O_WRONLY = 0x1 _O_NONBLOCK = 0x4 _O_CREAT = 0x200 _O_TRUNC = 0x400 _O_CLOEXEC = 0x400000 _PROT_NONE = 0x0 _PROT_READ = 0x1 _PROT_WRITE = 0x2 _PROT_EXEC = 0x4 _MAP_ANON = 0x1000 _MAP_PRIVATE = 0x2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/go/internal/gover/gover.go
// IsLang reports whether v denotes the overall Go language version // and not a specific release. Starting with the Go 1.21 release, "1.x" denotes // the overall language version; the first release is "1.x.0". // The distinction is important because the relative ordering is // // 1.21 < 1.21rc1 < 1.21.0 // // meaning that Go 1.21rc1 and Go 1.21.0 will both handle go.mod files that // say "go 1.21", but Go 1.21rc1 will not handle files that say "go 1.21.0".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.16 // +build go1.16 // Package buildtag defines an Analyzer that checks build tags. package buildtag import ( "go/ast" "go/build/constraint" "go/parser" "go/token" "strings" "unicode" "golang.org/x/tools/go/analysis"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
test/linkmain_run.go
run("go tool compile -p=main -importcfg", tmp("importcfg"), " -pack -o", tmp("linkmain.a"), "helloworld.go") run("go tool link -importcfg", tmp("importcfg"), "-o", tmp("linkmain.exe"), tmp("linkmain.o")) run("go tool link -importcfg", tmp("importcfg"), "-o", tmp("linkmain.exe"), tmp("linkmain.a")) // linkmain.go is not run("go tool compile -importcfg", tmp("importcfg"), "-p=notmain -o", tmp("linkmain1.o"), "linkmain.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.3K bytes - Viewed (0) -
src/go/ast/walk_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. package ast_test import ( "go/ast" "go/parser" "go/token" "testing" ) func TestPreorderBreak(t *testing.T) { // This test checks that Preorder correctly handles a break statement while // in the middle of walking a node. Previously, incorrect handling of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:34:10 UTC 2024 - 916 bytes - Viewed (0) -
src/go/version/version.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 version provides operations on [Go versions] // in [Go toolchain name syntax]: strings like // "go1.20", "go1.21.0", "go1.22rc2", and "go1.23.4-bigcorp". // // [Go versions]: https://go.dev/doc/toolchain#version // [Go toolchain name syntax]: https://go.dev/doc/toolchain#name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 19:56:48 UTC 2024 - 1.9K bytes - Viewed (0) -
src/strconv/doc.go
// The latter guarantees that the result is an ASCII string, by escaping // any non-ASCII Unicode with \u: // // q := strconv.Quote("Hello, 世界") // q := strconv.QuoteToASCII("Hello, 世界") // // [QuoteRune] and [QuoteRuneToASCII] are similar but accept runes and // return quoted Go rune literals. // // [Unquote] and [UnquoteChar] unquote Go string and rune literals.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 1.9K bytes - Viewed (0) -
src/sync/rwmutex_test.go
var activity int32 var rwm RWMutex cdone := make(chan bool) go writer(&rwm, num_iterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { go reader(&rwm, num_iterations, &activity, cdone) } go writer(&rwm, num_iterations, &activity, cdone) for ; i < numReaders; i++ { go reader(&rwm, num_iterations, &activity, cdone) } // Wait for the 2 writers and all readers to finish.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 29 17:13:13 UTC 2021 - 4.9K bytes - Viewed (0)