- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 379 for tnames (0.32 sec)
-
internal/event/name.go
return []Name{ ObjectManyVersions, ObjectLargeVersions, PrefixManyFolders, } case Everything: res := make([]Name, objectSingleTypesEnd-1) for i := range res { res[i] = Name(i + 1) } return res default: return []Name{name} } } // Mask returns the type as mask. // Compound "All" types are expanded. func (name Name) Mask() uint64 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
func (t *Named) methodIndex(name string, foldCase bool) int { if name == "_" { return -1 } if foldCase { for i, m := range t.methods { if strings.EqualFold(m.name, name) { return i } } } else { for i, m := range t.methods { if m.name == name { return i } } } return -1 } // Underlying returns the [underlying type] of the named type t, resolving all
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/go/types/named.go
func (t *Named) methodIndex(name string, foldCase bool) int { if name == "_" { return -1 } if foldCase { for i, m := range t.methods { if strings.EqualFold(m.name, name) { return i } } } else { for i, m := range t.methods { if m.name == name { return i } } } return -1 } // Underlying returns the [underlying type] of the named type t, resolving all
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
src/go/types/decl.go
// are not properly set yet. for _, name := range names { tname := NewTypeName(name.Pos(), check.pkg, name.Name, nil) tpar := check.newTypeParam(tname, Typ[Invalid]) // assigns type to tpar as a side-effect check.declare(check.scope, name, tname, scopePos) tparams = append(tparams, tpar) } if check.conf._Trace && len(names) > 0 { check.trace(names[0].Pos(), "type params = %v", tparams[len(tparams)-len(names):])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/go/types/resolver.go
if imp == nil { // create a new fake package // come up with a sensible package name (heuristic) name := path if i := len(name); i > 0 && name[i-1] == '/' { name = name[:i-1] } if i := strings.LastIndex(name, "/"); i >= 0 { name = name[i+1:] } imp = NewPackage(path, name) } // continue to use the package as best as we can
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test_h.golden
}; // Array of names of each positional argument, terminated by nullptr. static const char** StaticArgNames() { static const char* kNames[] = {"myfeed", nullptr}; return kNames; } // Array of names of each positional variable, terminated by nullptr. static const char** StaticVariableNames() { static const char* kNames[] = {"myvar_readonly", "myvar", "myvar2", nullptr};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
} type opSet struct { lo As names []string } // Not even worth sorting var aSpace []opSet // RegisterOpcode binds a list of instruction names // to a given instruction number range. func RegisterOpcode(lo As, Anames []string) { if len(Anames) > AllowedOpCodes { panic(fmt.Sprintf("too many instructions, have %d max %d", len(Anames), AllowedOpCodes)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0) -
src/go/doc/example.go
func nameWithoutInst(name string) string { start := strings.Index(name, "[") if start < 0 { return name } end := strings.LastIndex(name, "]") if end < 0 { // Malformed name, should contain closing bracket too. return name } return name[0:start] + name[end+1:] } // splitExampleName attempts to split example name s at index i, // and reports if that produces a valid split. The suffix may be
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/cmd/compile/internal/types2/decl.go
// constraints to make sure we don't rely on them if they // are not properly set yet. tname := NewTypeName(name.Pos(), check.pkg, name.Value, nil) tpar := check.newTypeParam(tname, Typ[Invalid]) // assigns type to tname as a side-effect check.declare(check.scope, name, tname, scopePos) return tpar } func (check *Checker) collectMethods(obj *TypeName) { // get associated methods
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
pkg := importPkg(t, "strings", ".") scope := pkg.Scope() for _, name := range scope.Names() { obj := scope.Lookup(name) if obj.Pkg() == nil { t.Errorf("no pkg for %s", obj) } if tname, _ := obj.(*types.TypeName); tname != nil { named := tname.Type().(*types.Named) for i := 0; i < named.NumMethods(); i++ { m := named.Method(i) if m.Pkg() == nil { t.Errorf("no pkg for %s", m) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0)