- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for IsExported (0.44 sec)
-
src/go/types/errsupport.go
alt = obj.Name() if obj.Pkg() == check.pkg { assert(alt != sel) // otherwise there is no lookup error e = misspelled } else if isExported(sel) { if isExported(alt) { e = misspelled } else if tail(sel) == tail(alt) { e = unexported } } else if isExported(alt) { if tail(sel) == tail(alt) { e = misspelled } } else if sel == alt { e = inaccessible } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.5K 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/reflect/export_test.go
} return mname.Bytes } type OtherPkgFields struct { OtherExported int otherUnexported int } func IsExported(t Type) bool { typ := t.(*rtype) n := typ.nameOff(typ.t.Str) return n.IsExported() } func ResolveReflectName(s string) { resolveReflectName(newName(s, "", false, false)) } type Buffer struct { buf []byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc
if (!global_tensor.getIsMutable()) { return false; } // An exported global tensor that is not already known to be immutable might // be externally mutated. if (IsExported(global_tensor)) { return false; } // A global tensor is immutable if the resource analyzer deems it so. for (auto& global_tensor_use : global_tensor_uses) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K 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) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ModuleDependency.java
*/ @Override public String getScope() { return scope; } @Override public void setScope(String scope) { this.scope = scope; } public boolean isExported() { return exported; } public void setExported(boolean exported) { this.exported = exported; } @Override public void addToNode(Node parentNode) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 3.4K 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) -
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/internal/reflectlite/export_test.go
typ := field.Typ // Inherit permission bits from v, but clear flagEmbedRO. fl := v.flag&(flagStickyRO|flagIndir|flagAddr) | flag(typ.Kind()) // Using an unexported field forces flagRO. if !field.Name.IsExported() { if field.Embedded() { fl |= flagEmbedRO } else { fl |= flagStickyRO } } // Either flagIndir is set and v.ptr points at struct, // or flagIndir is not set and v.ptr is the actual struct data.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0)