- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for catching (0.13 sec)
-
src/cmd/doc/main.go
return true } for _, dotPath := range dotPaths { if strings.HasPrefix(arg, dotPath) { return true } } return false } // importDir is just an error-catching wrapper for build.ImportDir. func importDir(dir string) *build.Package { pkg, err := build.ImportDir(dir, build.ImportComment) if err != nil { log.Fatal(err) } return pkg }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
if len(pkgArgs) == 0 { // Caching does not apply to "go test", // only to "go test foo" (including "go test ."). if cache.DebugTest { fmt.Fprintf(os.Stderr, "testcache: caching disabled in local directory mode\n") } c.disableCache = true return false } if a.Package.Root == "" { // Caching does not apply to tests outside of any module, GOPATH, or GOROOT.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// element in the sequence, if any. Possible parents of matches // are run with b.N=1 to identify sub-benchmarks. For example, // given -bench=X/Y, top-level benchmarks matching X are run // with b.N=1 to find any sub-benchmarks matching Y, which are // then run in full. // // -benchtime t // Run enough iterations of each benchmark to take t, specified
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
default: return fmt.Sprintf("Did not find a flag matching %s in -d=ssa/%s debug option (expected ssa/build/{debug,test,stats,dump=function_name})", flag, phase) } return "" } if phase == "genssa" { switch flag { case "dump": GenssaDump[valString] = true default: return fmt.Sprintf("Did not find a flag matching %s in -d=ssa/%s debug option (expected ssa/genssa/dump=function_name)", flag, phase)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
// defined type. This ensures that in a series of types, all matching against the // same type parameter, we infer a defined type if there is one, independent of // order. Type inference or assignment may fail, which is ok. // Selecting a defined type, if any, ensures that we don't lose the type name; // and since we have inexact unification, a value of equally named or matching // undefined type remains assignable (go.dev/issue/43056).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_pgo_auto_multi.txt
# nopgo should be built without PGO. ! stderr 'compile.*-pgoprofile=.*nopgo(/|\\\\)nopgo\.go' # Dependencies should also be built with and without PGO. # Here we want to match a compile action without -pgoprofile, # by matching 3 occurrences of "compile dep.go", among which # 2 of them have -pgoprofile (therefore one without). stderr -count=3 'compile.*dep(/|\\\\)dep.go' stderr -count=2 'compile.*-pgoprofile=.*dep(/|\\\\)dep\.go'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:38:19 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/labels.go
err.addAltDecl(alt) err.report() // ok to continue } else { b.insert(s) check.recordDef(s.Label, lbl) } // resolve matching forward jumps and remove them from fwdJumps i := 0 for _, jmp := range fwdJumps { if jmp.Label.Value == name { // match lbl.used = true check.recordUse(jmp.Label, lbl)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// that occur while matching or loading packages, and should not terminate the // process if such an error occurs. // // Errors encountered in the module graph will still be reported. // // The caller may retrieve the silenced package errors using the Lookup // function, and matching errors are still populated in the Errs field of the // associated search.Match.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
each of which can match any string, including the empty string and strings containing slashes. Such a pattern expands to all package directories found in the GOPATH trees with names matching the patterns. To make common patterns more convenient, there are two special cases. First, /... at the end of the pattern can match an empty string,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor_auto.txt
stderr '^\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo mod vendor$' # If the go version is still 1.13, 'go mod vendor' should write a # matching vendor/modules.txt containing the corrected 1.13 data. go mod vendor cmp $WORK/modules-1.13.txt vendor/modules.txt go list -mod=vendor -f {{.Dir}} -tags tools -e all stdout '^'$WORK'[/\\]auto$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 9.7K bytes - Viewed (0)