- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for NONE (0.17 sec)
-
src/cmd/asm/internal/asm/expr_test.go
t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error) } continue } if !strings.Contains(err.Error(), test.error) { t.Errorf("#%d: expected error %q; got %q", i, test.error, err) continue } } } func runBadTest(i int, test badExprTest, t *testing.T) (err error) { p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/mvs.go
// m.Version, or version "none" if no prior version is tagged. // // Since the version of a main module is not found in the version list, // it has no previous version. func previousVersion(ctx context.Context, m module.Version) (module.Version, error) { if m.Version == "" && MainModules.Contains(m.Path) { return module.Version{Path: m.Path, Version: "none"}, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:01:38 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/go/internal/mvs/mvs.go
"cmd/go/internal/par" "golang.org/x/mod/module" ) // A Reqs is the requirement graph on which Minimal Version Selection (MVS) operates. // // The version strings are opaque except for the special version "none" // (see the documentation for module.Version). In particular, MVS does not // assume that the version strings are semantic versions; instead, the Max method // gives access to the comparison operation. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 21:58:12 UTC 2024 - 14.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/line_test.go
parser := NewParser(ctxt, arch, tokenizer) err := tryParse(t, func() { parser.Parse() }) switch { case err == nil: t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error) case !strings.Contains(err.Error(), test.error): t.Errorf("#%d: %q: want error %q; have %q", i, test.input, test.error, err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/edit.go
} if *editGo != "" && *editGo != "none" { if !modfile.GoVersionRE.MatchString(*editGo) { base.Fatalf(`go work: invalid -go option; expecting something like "-go %s"`, gover.Local()) } } if *editToolchain != "" && *editToolchain != "none" { if !modfile.ToolchainRE.MatchString(*editToolchain) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
) var DebugFlags struct { MayMoreStack string `help:"call named function before all stack growth checks"` PCTab string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"` } var ( D MultiFlag I MultiFlag PrintOut int DebugV bool ) func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/type.go
} // A TypeAndValue records the type information, constant // value if known, and various other flags associated with // an expression. // This type is similar to types2.TypeAndValue, but exposes // none of types2's internals. type TypeAndValue struct { Type Type Value constant.Value exprFlags } type exprFlags uint16 func (f exprFlags) IsVoid() bool { return f&1 != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/query.go
qm.mayUseLatest = true case query == "upgrade": if current == "" || current == "none" { qm.mayUseLatest = true } else { qm.mayUseLatest = module.IsPseudoVersion(current) qm.filter = func(mv string) bool { return gover.ModCompare(qm.path, mv, current) >= 0 } } case query == "patch": if current == "" || current == "none" { return nil, &NoPatchBaseError{path} } if current == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 11 22:29:11 UTC 2023 - 44.7K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
patternAllQueries []*query // queries with the pattern "all" // Indexed "none" queries. These are also included in the slices above; // they are indexed here to speed up noneForPath. nonesByPath map[string]*query // path-literal "@none" queries indexed by path wildcardNones []*query // wildcard "@none" queries // resolvedVersion maps each module path to the version of that module that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/edit.go
// which will pull in its dependencies. Ensure that its dependencies are // included in the module graph. v := mg.g.Selected(p) if v == "none" { // Version “none” always has no requirements, so it doesn't need // an explicit node in the module graph. continue } m := module.Version{Path: p, Version: v}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 21:46:32 UTC 2024 - 34.1K bytes - Viewed (0)