- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for exclude (0.88 sec)
-
src/cmd/go/internal/mvs/mvs.go
var ( added = make(map[module.Version]bool) rdeps = make(map[module.Version][]module.Version) excluded = make(map[module.Version]bool) ) var exclude func(module.Version) exclude = func(m module.Version) { if excluded[m] { return } excluded[m] = true for _, p := range rdeps[m] { exclude(p) } } var add func(module.Version) add = func(m module.Version) { if added[m] {
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/go/internal/modcmd/edit.go
base.Fatalf("go: -droprequire=%s: %v", arg, err) } }) } // flagExclude implements the -exclude flag. func flagExclude(arg string) { path, version := parsePathVersion("exclude", arg) edits = append(edits, func(f *modfile.File) { if err := f.AddExclude(path, version); err != nil { base.Fatalf("go: -exclude=%s: %v", arg, err) } }) } // flagDropExclude implements the -dropexclude flag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
hint = x.Syntax } } f.Exclude = append(f.Exclude, &Exclude{Mod: module.Version{Path: path, Version: vers}, Syntax: f.Syntax.addLine(hint, "exclude", AutoQuote(path), vers)}) return nil } func (f *File) DropExclude(path, vers string) error { for _, x := range f.Exclude { if x.Mod.Path == path && x.Mod.Version == vers { x.Syntax.markRemoved() *x = Exclude{} } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/validtype.go
func makeObjList(tlist []*Named) []Object { olist := make([]Object, len(tlist)) for i, t := range tlist { olist[i] = t.obj } return olist } // Here is an example illustrating why we need to exclude the // instantiated type from nest when evaluating the validity of // a type parameter. Given the declarations // // var _ A[A[string]] // // type A[P any] struct { _ B[P] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/cmd/go/internal/work/security.go
"-arch", "-D", "-U", "-I", "-F", "-framework", "-include", "-isysroot", "-isystem", "--sysroot", "-target", "-x", } var invalidLinkerFlags = []*lazyregexp.Regexp{ // On macOS this means the linker loads and executes the next argument. // Have to exclude separately because -lfoo is allowed in general. re(`-lto_library`), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:34 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
fmt.Fprintf(&buf, "\t"+`.section .go.buildid,"e"`+"\n") } else if cfg.Goarch == "sparc" || cfg.Goarch == "sparc64" { fmt.Fprintf(&buf, "\t"+`.section ".go.buildid",#exclude`+"\n") } else { // cfg.Goarch == "386" || cfg.Goarch == "amd64" fmt.Fprintf(&buf, "\t"+`.section .go.buildid,#exclude`+"\n") } fmt.Fprintf(&buf, "\t.byte ") for i := 0; i < len(a.buildID); i++ { if i > 0 { if i%8 == 0 { fmt.Fprintf(&buf, "\n\t.byte ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
check.rawExpr(nil, x, e, nil, allowGeneric) check.exclude(x, 1<<novalue) check.singleValue(x) } // exclude reports an error if x.mode is in modeset and sets x.mode to invalid. // The modeset may contain any of 1<<novalue, 1<<builtin, 1<<typexpr. func (check *Checker) exclude(x *operand, modeset uint) { if modeset&(1<<x.mode) != 0 { var msg string var code Code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/module/module.go
// The element prefix up to the first dot must not be a reserved file name // on Windows, regardless of case (CON, com1, NuL, and so on). The element // must not have a suffix of a tilde followed by one or more ASCII digits // (to exclude paths elements that look like Windows short-names). // // CheckImportPath may be less restrictive in the future, but see the // top-level package documentation for additional information about // subtleties of Unicode.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 20:17:07 UTC 2024 - 26.9K bytes - Viewed (0) -
schema/field.go
// When a column has a (not Mul) UniqueIndex, Migrator always reports its gorm.ColumnType is Unique. // It causes field unnecessarily migration. // Therefore, we need to record the UniqueIndex on this column (exclude Mul UniqueIndex) for MigrateColumnUnique. UniqueIndex string } func (field *Field) BindName() string { return strings.Join(field.BindNames, ".") } // ParseField parses reflect.StructField to Field
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// excluded, or because all non-excluded files were test sources. type NoGoError struct { Package *Package } func (e *NoGoError) Error() string { if len(e.Package.IgnoredGoFiles) > 0 { // Go files exist, but they were ignored due to build constraints. return "build constraints exclude all Go files in " + e.Package.Dir }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0)