- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Typelink (0.12 sec)
-
src/cmd/link/internal/ld/typelink.go
func (s byTypeStr) Swap(i, j int) { s[i], s[j] = s[j], s[i] } // typelink generates the typelink table which is used by reflect.typelinks(). // Types that should be added to the typelinks table are marked with the // MakeTypelink attribute by the compiler. func (ctxt *Link) typelink() { ldr := ctxt.loader typelinks := byTypeStr{} var itabs []loader.Sym for s := loader.Sym(1); s < loader.Sym(ldr.NSym()); s++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 03 21:13:25 UTC 2020 - 1.9K bytes - Viewed (0) -
src/encoding/pem/pem.go
rest = after } else { return nil, data } var typeLine []byte typeLine, rest = getLine(rest) if !bytes.HasSuffix(typeLine, pemEndOfLine) { continue } typeLine = typeLine[0 : len(typeLine)-len(pemEndOfLine)] p = &Block{ Headers: make(map[string]string), Type: string(typeLine), } for { // This loop terminates because getLine's second result is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.6K 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) -
src/cmd/link/internal/sym/symkind_string.go
_ = x[STYPERELRO-12] _ = x[SSTRINGRELRO-13] _ = x[SGOSTRINGRELRO-14] _ = x[SGOFUNCRELRO-15] _ = x[SGCBITSRELRO-16] _ = x[SRODATARELRO-17] _ = x[SFUNCTABRELRO-18] _ = x[SELFRELROSECT-19] _ = x[STYPELINK-20] _ = x[SITABLINK-21] _ = x[SSYMTAB-22] _ = x[SPCLNTAB-23] _ = x[SFirstWritable-24] _ = x[SBUILDINFO-25] _ = x[SELFSECT-26] _ = x[SMACHO-27] _ = x[SMACHOGOT-28] _ = x[SWINDOWS-29]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 2.7K 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/cmd/link/internal/sym/symkind.go
STYPERELRO SSTRINGRELRO SGOSTRINGRELRO SGOFUNCRELRO SGCBITSRELRO SRODATARELRO SFUNCTABRELRO SELFRELROSECT // Part of .data.rel.ro if it exists, otherwise part of .rodata. STYPELINK SITABLINK SSYMTAB SPCLNTAB // Writable sections. SFirstWritable SBUILDINFO SELFSECT SMACHO SMACHOGOT SWINDOWS SELFGOT SNOPTRDATA SINITARR SDATA SXCOFFTOC SBSS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 5.6K bytes - Viewed (0)