- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for badexp (0.28 sec)
-
src/cmd/go/testdata/script/env_unset.txt
# Test that we can unset variables, even if initially invalid, # as long as resulting config is valid. env GOENV=badenv env GOOS= env GOARCH= env GOEXPERIMENT= ! go env stderr '^go(\.exe)?: unknown GOEXPERIMENT badexp$' go env -u GOEXPERIMENT ! go env stderr '^go: unsupported GOOS/GOARCH pair bados/badarch$' ! go env -u GOOS stderr '^go: unsupported GOOS/GOARCH pair \w+/badarch$' ! go env -u GOARCH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 15 00:06:54 UTC 2021 - 553 bytes - Viewed (0) -
src/cmd/go/testdata/script/env_write.txt
! go env -w GOMODCACHE=./test stderr 'go: GOMODCACHE entry is relative; must be absolute path: "./test"' # go env -w checks validity of GOEXPERIMENT env GOEXPERIMENT= ! go env -w GOEXPERIMENT=badexp stderr 'unknown GOEXPERIMENT badexp' go env -w GOEXPERIMENT=fieldtrack # go env -w and go env -u work on unknown fields already in the go/env file cp bad.env $GOENV go env GOENV cat $GOENV go env ! stdout UNKNOWN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 18:42:31 UTC 2024 - 5.9K bytes - Viewed (0) -
src/math/ldexp.go
package math // Ldexp is the inverse of [Frexp]. // It returns frac × 2**exp. // // Special cases are: // // Ldexp(±0, exp) = ±0 // Ldexp(±Inf, exp) = ±Inf // Ldexp(NaN, exp) = NaN func Ldexp(frac float64, exp int) float64 { if haveArchLdexp { return archLdexp(frac, exp) } return ldexp(frac, exp) } func ldexp(frac float64, exp int) float64 { // special cases switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go
switch n.(type) { case *ast.ArrayType: return 1 << nArrayType case *ast.AssignStmt: return 1 << nAssignStmt case *ast.BadDecl: return 1 << nBadDecl case *ast.BadExpr: return 1 << nBadExpr case *ast.BadStmt: return 1 << nBadStmt case *ast.BasicLit: return 1 << nBasicLit case *ast.BinaryExpr: return 1 << nBinaryExpr case *ast.BlockStmt: return 1 << nBlockStmt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
assert.False(t, uidExp.SatisfiedExpectations(logger, rcKey), "Controller %v satisfied expectations before deletion", rcKey) for _, p := range rcPodNames { uidExp.DeletionObserved(logger, rcKey, p) } assert.True(t, uidExp.SatisfiedExpectations(logger, rcKey), "Controller %v didn't satisfy expectations after deletion", rcKey) uidExp.DeleteExpectations(logger, rcKey)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_build_simple.txt
go tool covdata percent -i=data/goodexit stdout 'coverage:.*[1-9][0-9.]+%' # Program makes a direct call to os.Exit(1). env GOCOVERDIR=data/badexit ! exec ./example.exe badexit ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted' go tool covdata percent -i=data/badexit stdout 'coverage:.*[1-9][0-9.]+%' # Program invokes panic. env GOCOVERDIR=data/panic ! exec ./example.exe panic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_internal.txt
go get ./baddep ! go build ./baddep stderr golang.org[/\\]notx[/\\]useinternal stderr 'use of internal package golang.org/x/.* not allowed' # Replacing an internal module should keep it internal to the same paths. go mod edit -module=golang.org/notx go mod edit -replace golang.org/x/internal=./replace/golang.org/notx/internal go get ./throughdep go get ./baddep ! go build ./baddep
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_badtest.txt
! go test badtest/badexec ! stdout ^ok stdout ^FAIL\tbadtest/badexec ! go test badtest/badsyntax ! stdout ^ok stdout ^FAIL\tbadtest/badsyntax ! go test badtest/badvar ! stdout ^ok stdout ^FAIL\tbadtest/badvar ! go test notest ! stdout ^ok stderr '^notest.hello.go:6:1: syntax error: non-declaration statement outside function body' # Exercise issue #7108 -- badtest/badexec/x_test.go -- package badexec func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 06 15:47:54 UTC 2020 - 805 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_load_badzip.txt
env GO111MODULE=on ! go get rsc.io/badzip stderr 'zip for rsc.io/badzip@v1.0.0 has unexpected file rsc.io/badzip@v1.0.0.txt' ! grep rsc.io/badzip go.mod go mod edit -require rsc.io/badzip@v1.0.0 ! go build -mod=mod rsc.io/badzip stderr 'zip for rsc.io/badzip@v1.0.0 has unexpected file rsc.io/badzip@v1.0.0.txt' -- go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 403 bytes - Viewed (0) -
src/go/printer/testdata/parser.go
// TODO determine a better range for BadExpr below par.List = []*ast.Field{{Type: &ast.BadExpr{pos, pos}}} return par } // recv type must be of the form ["*"] identifier recv := par.List[0] base := deref(recv.Type) if _, isIdent := base.(*ast.Ident); !isIdent { p.errorExpected(base.Pos(), "(unqualified) identifier") par.List = []*ast.Field{{Type: &ast.BadExpr{recv.Pos(), recv.End()}}} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0)