Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for reflectData (0.15 sec)

  1. src/runtime/map.go

    func isEmpty(x uint8) bool {
    	return x <= emptyOne
    }
    
    // A header for a Go map.
    type hmap struct {
    	// Note: the format of the hmap is also encoded in cmd/compile/internal/reflectdata/reflect.go.
    	// Make sure this stays in sync with the compiler's definition.
    	count     int // # live cells == size of map.  Must be first (used by len() builtin)
    	flags     uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    				// but if we perform this load at compile time then the dictionary
    				// might be dead.
    				reflectdata.MarkTypeSymUsedInInterface(r.Sym, f.fe.Func().Linksym())
    			} else if strings.HasPrefix(r.Sym.Name, "go:itab") {
    				// Same, but if we're using an itab we need to record that the
    				// itab._type might be put in an interface.
    				reflectdata.MarkTypeSymUsedInInterface(r.Sym, f.fe.Func().Linksym())
    			}
    			return r.Sym
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/reflect/type.go

    // FieldByName may return one of the fields named x or may report that there are none.
    // See https://golang.org/issue/4876 for more details.
    
    /*
     * These data structures are known to the compiler (../cmd/compile/internal/reflectdata/reflect.go).
     * A few are known to ../runtime/type.go to convey to debuggers.
     * They are also known to ../runtime/type.go.
     */
    
    // A Kind represents the specific kind of type that a [Type] represents.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top