Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TypeLinks (0.24 sec)

  1. src/runtime/type.go

    		}
    
    		if md.typemap == nil {
    			// If any of this module's typelinks match a type from a
    			// prior module, prefer that prior type by adding the offset
    			// to this module's typemap.
    			tm := make(map[typeOff]*_type, len(md.typelinks))
    			pinnedTypemaps = append(pinnedTypemaps, tm)
    			md.typemap = tm
    			for _, tl := range md.typelinks {
    				t := (*_type)(unsafe.Pointer(md.types + uintptr(tl)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/runtime/runtime1.go

    //
    //go:linkname reflect_typelinks reflect.typelinks
    func reflect_typelinks() ([]unsafe.Pointer, [][]int32) {
    	modules := activeModules()
    	sections := []unsafe.Pointer{unsafe.Pointer(modules[0].types)}
    	ret := [][]int32{modules[0].typelinks}
    	for _, md := range modules[1:] {
    		sections = append(sections, unsafe.Pointer(md.types))
    		ret = append(ret, md.typelinks)
    	}
    	return sections, ret
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/symtab.go

    		// except go:buildid which is generated late and not used by the program.
    		addRef("go:buildid")
    	}
    
    	// text section information
    	slice(textsectionmapSym, uint64(nsections))
    
    	// The typelinks slice
    	typelinkSym := ldr.Lookup("runtime.typelink", 0)
    	ntypelinks := uint64(ldr.SymSize(typelinkSym)) / 4
    	slice(typelinkSym, ntypelinks)
    
    	// The itablinks slice
    	itablinkSym := ldr.Lookup("runtime.itablink", 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    	covctrs, ecovctrs     uintptr
    	end, gcdata, gcbss    uintptr
    	types, etypes         uintptr
    	rodata                uintptr
    	gofunc                uintptr // go.func.*
    
    	textsectmap []textsect
    	typelinks   []int32 // offsets from types
    	itablinks   []*itab
    
    	ptab []ptabEntry
    
    	pluginpath string
    	pkghashes  []modulehash
    
    	// This slice records the initializing tasks that need to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top