- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for IsExported (0.21 sec)
-
src/cmd/doc/pkg.go
values = append(values, typ.Vars...) for _, value := range values { for _, name := range value.Names { if isExported(name) { pkg.valueDoc(value, printed) break } } } funcs := typ.Funcs funcs = append(funcs, typ.Methods...) for _, fun := range funcs { if isExported(fun.Name) { pkg.emit(fun.Doc, fun.Decl) if fun.Doc == "" { pkg.newlines(2) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/doc/main.go
usage() } symbol = elem[0] return } // isExported reports whether the name is an exported identifier. // If the unexported flag (-u) is true, isExported returns true because // it means that we treat the name as if it is exported. func isExported(name string) bool { return unexported || token.IsExported(name) } // findNextPackage returns the next full file name path that matches the
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/compile/internal/types2/object.go
setScopePos(pos syntax.Pos) } func isExported(name string) bool { ch, _ := utf8.DecodeRuneInString(name) return unicode.IsUpper(ch) } // Id returns name if it is exported, otherwise it // returns the name qualified with the package path. func Id(pkg *Package, name string) string { if isExported(name) { return name } // unexported names need the package path for differentiation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java
} else { dependency = DefaultEclipseExternalDependency.createResolved(file, javadoc, source, library.getModuleVersion(), library.isExported(), createAttributes(library), createAccessRules(library)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 26.3K bytes - Viewed (0) -
src/go/types/object.go
setScopePos(pos token.Pos) } func isExported(name string) bool { ch, _ := utf8.DecodeRuneInString(name) return unicode.IsUpper(ch) } // Id returns name if it is exported, otherwise it // returns the name qualified with the package path. func Id(pkg *Package, name string) string { if isExported(name) { return name } // unexported names need the package path for differentiation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
} b.WriteByte(' ') switch { case f.Sym == nil: // Check first that a symbol is defined for this type. // Wrong interface definitions may have types lacking a symbol. break case IsExported(f.Sym.Name): sconv2(b, f.Sym, 'S', mode) default: if mode != fmtTypeIDName { mode = fmtTypeID } sconv2(b, f.Sym, 'v', mode) } tconv2(b, f.Type, 'S', mode, visited) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
.attachNote(p.first->getSecond()->getLoc()) .append("previously seen here"); } } } for (auto func : module.getOps<func::FuncOp>()) { const bool is_exported = IsExported(func); if (is_exported && !func.isPublic()) { return func.emitError() << "exported function @" << func.getName() << " should be public"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
src/go/ast/ast.go
func NewIdent(name string) *Ident { return &Ident{token.NoPos, name, nil} } // IsExported reports whether name starts with an upper-case letter. func IsExported(name string) bool { return token.IsExported(name) } // IsExported reports whether id starts with an upper-case letter. func (id *Ident) IsExported() bool { return token.IsExported(id.Name) } func (id *Ident) String() string { if id != nil { return id.Name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/go/doc/example.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 21.4K bytes - Viewed (0) -
src/internal/reflectlite/type.go
type name struct { bytes *byte } func (n name) data(off int, whySafe string) *byte { return (*byte)(add(unsafe.Pointer(n.bytes), uintptr(off), whySafe)) } func (n name) isExported() bool { return (*n.bytes)&(1<<0) != 0 } func (n name) hasTag() bool { return (*n.bytes)&(1<<1) != 0 } func (n name) embedded() bool { return (*n.bytes)&(1<<3) != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0)