- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for lookup_type (0.44 sec)
-
src/go/doc/reader.go
func (r *reader) isVisible(name string) bool { return r.mode&AllDecls != 0 || token.IsExported(name) } // lookupType returns the base type with the given name. // If the base type has not been encountered yet, a new // type with the given name but no associated declaration // is added to the type map. func (r *reader) lookupType(name string) *namedType { if name == "" || name == "_" { return nil // no type docs for anonymous types }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
wi := readWasmImport(ldr, lsym) hostImportMap[fn] = int64(len(hostImports)) hostImports = append(hostImports, &wasmFunc{ Module: wi.Module, Name: wi.Name, Type: lookupType(&wasmFuncType{ Params: fieldsToTypes(wi.Params), Results: fieldsToTypes(wi.Results), }, &types), }) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/lookup.go
prev := make(map[Type]int) // index at which type was previously seen for _, e := range list { if i, found := lookupType(prev, e.typ); found { list[i].multiples = true // ignore this entry } else { prev[e.typ] = n list[n] = e n++ } } return list[:n] } func lookupType(m map[Type]int, typ Type) (int, bool) { // fast path: maybe the types are equal if i, found := m[typ]; found {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 19.8K bytes - Viewed (0) -
src/go/types/lookup.go
prev := make(map[Type]int) // index at which type was previously seen for _, e := range list { if i, found := lookupType(prev, e.typ); found { list[i].multiples = true // ignore this entry } else { prev[e.typ] = n list[n] = e n++ } } return list[:n] } func lookupType(m map[Type]int, typ Type) (int, bool) { // fast path: maybe the types are equal if i, found := m[typ]; found {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 19.9K bytes - Viewed (0)