- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of about 10,000 for GO (0.04 sec)
-
src/cmd/go/testdata/savedir.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. //go:build ignore // +build ignore // Savedir archives a directory tree as a txtar archive printed to standard output. // // Usage: // // go run savedir.go /path/to/dir >saved.txt // // Typically the tree is later extracted during a test with tg.extract("testdata/saved.txt").
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 19:41:54 UTC 2023 - 1.5K bytes - Viewed (0) -
test/fixedbugs/bug209.go
// errorcheck // 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 func main() { var buf [10]int; for ; len(buf); { // ERROR "bool" } } /* uetli:/home/gri/go/test/bugs gri$ 6g bug209.go bug209.go:5: Bus error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 339 bytes - Viewed (0) -
misc/cgo/gmp/gmp.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. /* An example of wrapping a C library in Go. This is the GNU multiprecision library gmp's integer type mpz_t wrapped to look like the Go package big's integer type Int. This is a syntactically valid Go program—it can be parsed with the Go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
test/fixedbugs/bug024.go
// run // 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 func main() { var i int; i = '\''; i = '\\'; var s string; s = "\""; _, _ = i, s; } /* bug.go:5: unknown escape sequence: ' bug.go:6: unknown escape sequence: \ bug.go:8: unknown escape sequence: "
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 389 bytes - Viewed (0) -
src/cmd/go/init_test.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 main_test import ( "internal/testenv" "sync/atomic" "testing" ) // BenchmarkExecGoEnv measures how long it takes for 'go env GOARCH' to run. // Since 'go' is executed, remember to run 'go install cmd/go' before running // the benchmark if any changes were done.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:21:26 UTC 2022 - 1.1K bytes - Viewed (0) -
test/fixedbugs/bug082.go
// run // 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 func main() { x := 0 x = ^x // unary ^ not yet implemented if x != ^0 { println(x, " ", ^0) panic("fail") } } /* uetli:~/Source/go/test/bugs gri$ 6g bug082.go bug082.go:7: fatal error: optoas: no entry COM-<int32>INT32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 413 bytes - Viewed (0) -
src/cmd/compile/internal/types2/package.go
cgo bool // uses of this package will be rewritten into uses of declarations from _cgo_gotypes.go goVersion string // minimum Go version required for package (by Config.GoVersion, typically from go.mod) } // NewPackage returns a new Package for the given package path and name. // The package is not complete and contains no explicit imports. func NewPackage(path, name string) *Package {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 06 13:09:19 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/go/internal/work/init.go
// Copyright 2017 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. // Build initialization (after flag parsing). package work import ( "bytes" "cmd/go/internal/base" "cmd/go/internal/cfg" "cmd/go/internal/fsys" "cmd/go/internal/modload" "cmd/internal/quoted" "fmt" "internal/platform" "os" "os/exec" "path/filepath"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 19:13:34 UTC 2023 - 12.2K bytes - Viewed (0) -
hack/tools/tools.go
// Package tools is used to track binary dependencies with go modules // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module package tools import ( // linting tools _ "github.com/aojea/sloppy-netparser" _ "github.com/client9/misspell/cmd/misspell" _ "github.com/golangci/golangci-lint/cmd/golangci-lint" _ "github.com/jcchavezs/porto/cmd/porto" _ "honnef.co/go/tools/cmd/staticcheck"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/test2json/main.go
// // Note that "go test -json" takes care of invoking test2json correctly, // so "go tool test2json" is only needed when a test binary is being run // separately from "go test". Use "go test -json" whenever possible. // // Note also that test2json is only intended for converting a single test // binary's output. To convert the output of a "go test" command that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0)