- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TypeLinks (0.11 sec)
-
src/cmd/link/internal/ld/typelink.go
if ldr.IsTypelink(s) { typelinks = append(typelinks, typelinkSortKey{decodetypeStr(ldr, ctxt.Arch, s), s}) } else if ldr.IsItab(s) { itabs = append(itabs, s) } } sort.Sort(typelinks) tl := ldr.CreateSymForUpdate("runtime.typelink", 0) tl.SetType(sym.STYPELINK) ldr.SetAttrLocal(tl.Sym(), true) tl.SetSize(int64(4 * len(typelinks))) tl.Grow(tl.Size()) relocs := tl.AddRelocs(len(typelinks))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 03 21:13:25 UTC 2020 - 1.9K bytes - Viewed (0) -
test/fixedbugs/issue22605.go
// run // Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // We were picking up a special noalg type from typelinks. package main import "reflect" func f(m map[string]int) int { return m["a"] } func g(m map[[8]string]int) int { t := reflect.ArrayOf(8, reflect.TypeOf("")) a := reflect.New(t).Elem()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 22:29:48 UTC 2017 - 504 bytes - Viewed (0) -
src/reflect/export_test.go
gcdata := ft.GcSlice(0, (nptrs+7)/8) for i := uintptr(0); i < nptrs; i++ { gc = append(gc, gcdata[i/8]>>(i%8)&1) } } return } func TypeLinks() []string { var r []string sections, offset := typelinks() for i, offs := range offset { rodata := sections[i] for _, off := range offs { typ := (*rtype)(resolveTypeOff(rodata, off)) r = append(r, typ.String()) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 3.8K bytes - Viewed (0)