- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 258 for goflags (0.12 sec)
-
src/cmd/go/internal/base/goflags.go
where := "$GOFLAGS" if runtime.GOOS == "windows" { where = "%GOFLAGS%" } for _, goflag := range goflags { name, value, hasValue := goflag, "", false // Ignore invalid flags like '=' or '=value'. // If it is not reported in InitGOFlags it means we don't want to report it. if i := strings.Index(goflag, "="); i == 0 { continue } else if i > 0 { name, value, hasValue = goflag[:i], goflag[i+1:], true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/goflags.txt
env GOFLAGS=-f ! go list runtime stderr '^go: flag needs an argument: -f \(from (\$GOFLAGS|%GOFLAGS%)\)$' env GOFLAGS=-e=asdf ! go list runtime stderr '^go: invalid boolean value \"asdf\" for flag -e \(from (\$GOFLAGS|%GOFLAGS%)\)' # except in go bug (untested) and go env go env stdout GOFLAGS # Flags listed in GOFLAGS should be safe to duplicate on the command line. env GOFLAGS=-tags=magic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 16:47:27 UTC 2022 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/vet_flags.txt
# enabled via GOFLAGS. env GOFLAGS='-tags=buggy -printf' ! go vet -unsafeptr stderr 'possible Printf formatting directive' # Analyzer flags don't exist unless we're running 'go vet', # and we shouldn't run the vet tool to discover them otherwise. # (Maybe someday we'll hard-code the analyzer flags for the default vet # tool to make this work, but not right now.) env GOFLAGS='-unsafeptr' ! go list .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 21 14:58:44 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/flags.go
package driver import ( "flag" "strings" ) // GoFlags implements the plugin.FlagSet interface. type GoFlags struct { UsageMsgs []string } // Bool implements the plugin.FlagSet interface. func (*GoFlags) Bool(o string, d bool, c string) *bool { return flag.Bool(o, d, c) } // Int implements the plugin.FlagSet interface. func (*GoFlags) Int(o string, d int, c string) *int { return flag.Int(o, d, c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 19 21:26:10 UTC 2020 - 1.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tagged_import_cycle.txt
stdout '^example.com/chiral$\n^example.com/right$' env GOFLAGS='-tags=mirror' go mod why example.com/left stdout '^example.com/chiral$\n^example.com/left$' go mod why example.com/right stdout '^example.com/chiral$\n^example.com/right$' env GOFLAGS='' # 'go mod tidy' should successfully handle the cycle. env GOFLAGS=-mod=readonly go mod tidy # 'go mod vendor' should copy in both packages without crashing. go mod vendor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 21 19:58:38 UTC 2020 - 2.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_sanitize.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 14:28:38 UTC 2023 - 331 bytes - Viewed (0) -
src/cmd/go/testdata/script/modfile_flag.txt
# Recursive go commands started with 'go generate' should not get an explicitly # passed -modfile, but they should see arguments from GOFLAGS. cp go.alt.mod go.gen.mod env OLD_GOFLAGS=$GOFLAGS env GOFLAGS=-modfile=go.gen.mod go generate -modfile=go.alt.mod . env GOFLAGS=$OLD_GOFLAGS grep example.com/exclude go.gen.mod ! grep example.com/exclude go.alt.mod # The original files should not have been modified.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:16 UTC 2022 - 2.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
c.cFlags = append(c.cFlags, "-fPIC") c.ldFlags = append(c.ldFlags, "-fPIC", "-static-libtsan") } case "address": c.goFlags = append(c.goFlags, "-asan") // Set the debug mode to print the C stack trace. c.cFlags = append(c.cFlags, "-g") case "fuzzer": c.goFlags = append(c.goFlags, "-tags=libfuzzer", "-gcflags=-d=libfuzzer") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_flags.txt
stderr '-test.outputdir=[^ ]' exists ./cover.out ! exists ./x/cover.out # Test flags from GOFLAGS should be forwarded to the test binary, # with the 'test.' prefix in the GOFLAGS entry... env GOFLAGS='-test.timeout=24h0m0s -count=1' go test -v -x ./x stdout 'timeout: 24h0m0s$' stderr '-test.count=1' # ...or without. env GOFLAGS='-timeout=24h0m0s -count=1' go test -v -x ./x stdout 'timeout: 24h0m0s$' stderr '-test.count=1'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:53:14 UTC 2023 - 3.9K bytes - Viewed (0) -
hack/make-rules/test.sh
testargs=() eval "testargs=(${KUBE_TEST_ARGS:-})" # Used to filter verbose test output. go_test_grep_pattern=".*" goflags=() # The junit report tool needs full test case information to produce a # meaningful report. if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then goflags+=(-v) goflags+=(-json) # Show only summary lines by matching lines like "status package/test"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 10.8K bytes - Viewed (0)