- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 224 for Empty (0.39 sec)
-
src/cmd/go/testdata/script/env_exp.txt
# Test GOEXPERIMENT variable # go env shows default empty GOEXPERIMENT go env stdout GOEXPERIMENT= # go env shows valid experiments env GOEXPERIMENT=fieldtrack,staticlockranking go env GOEXPERIMENT stdout '.*fieldtrack.*staticlockranking.*' go env stdout 'GOEXPERIMENT=.*fieldtrack.*staticlockranking.*' # go env rejects unknown experiments env GOEXPERIMENT=bad ! go env GOEXPERIMENT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 28 20:51:30 UTC 2021 - 421 bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
} } func (err *error_) empty() bool { return err.desc == nil } func (err *error_) pos() syntax.Pos { if err.empty() { return nopos } return err.desc[0].pos } // msg returns the formatted error message without the primary error position pos(). func (err *error_) msg() string { if err.empty() { return "no error" } var buf strings.Builder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/internal/modindex/index_format.txt
sourceFiles [n]uint32 - offset to source file (relative to start of index file) for each sourceFile: error - string offset // error is either produced by fmt.Errorf,errors.New or is io.EOF parseError - string offset // if non-empty, a json-encoded parseError struct (see below). Is either produced by io.ReadAll,os.ReadFile,errors.New or is scanner.Error,scanner.ErrorList synopsis - string offset name - string offset pkgName - string offset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 13 00:22:50 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_pgo.txt
[short] skip 'compiles and links executables' # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # build without PGO go build triv.go # build with PGO, should trigger rebuild # starting with an empty profile (the compiler accepts it) go build -x -pgo=prof -o triv.exe triv.go stderr 'preprofile.*-i.*prof' stderr 'compile.*-pgoprofile=.*triv.go' # check that PGO appears in build info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/go/internal/work/cover.go
// build action for the "go test -cover" run action 'runAct'. Note // that if the package has no functions the meta-data file will exist // but will be empty; in this case the return is an empty string. func BuildActionCoverMetaFile(runAct *Action) (string, error) { p := runAct.Package for i := range runAct.Deps { pred := runAct.Deps[i] if pred.Mode != "build" || pred.Package == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/go/internal/script/state.go
s.envMap[key] = value return nil } // Stdout returns the stdout output of the last command run, // or the empty string if no command has been run. func (s *State) Stdout() string { return s.stdout } // Stderr returns the stderr output of the last command run, // or the empty string if no command has been run. func (s *State) Stderr() string { return s.stderr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_asm.txt
! stdout '\tf\t*[0-9]' # Check for no coverage on the assembly function -- go.mod -- module coverasm go 1.16 -- p.go -- package p func f() func g() { println("g") } -- p.s -- // empty asm file, // so go test doesn't complain about declaration of f in p.go. -- p_test.go -- package p import "testing" func Test(t *testing.T) { g()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 604 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue48382.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type _ func /* ERROR function type must have no type parameters */ [ /* ERROR empty type parameter list */ ]() type _ func /* ERROR function type must have no type parameters */ [ x /* ERROR missing type constraint */ ]() type _ func /* ERROR function type must have no type parameters */ [P any]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 20:49:36 UTC 2022 - 736 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/numberlines.go
v = b.Values[i] firstPosIndex = i firstPos = v.Pos v.Pos = firstPos.WithDefaultStmt() // default to default break } } if firstPosIndex == -1 { // Effectively empty block, check block's own Pos, consider preds. line := src.NoXPos for _, p := range b.Preds { pbi := p.Block().ID if !endlines[pbi].SameFileAndLine(line) { if line == src.NoXPos {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 21:26:13 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_predicates.go
// // The behavior of Implements is unspecified if V is Typ[Invalid] or an uninstantiated // generic type. func Implements(V Type, T *Interface) bool { if T.Empty() { // All types (even Typ[Invalid]) implement the empty interface. return true } // Checker.implements suppresses errors for invalid types, so we need special // handling here. if !isValid(V.Underlying()) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 16:36:08 UTC 2024 - 3.3K bytes - Viewed (0)