- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for Typelink (0.21 sec)
-
src/archive/tar/reader.go
// until [Next] is called to advance to the next file. // // If the current file is sparse, then the regions marked as a hole // are read back as NUL-bytes. // // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar], // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [io.EOF]) regardless of what // the [Header.Size] claims. func (tr *Reader) Read(b []byte) (int, error) { if tr.err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
AttrCFunc AttrNoSplit AttrLeaf AttrWrapper AttrNeedCtxt AttrNoFrame AttrOnList AttrStatic // MakeTypelink means that the type should have an entry in the typelink table. AttrMakeTypelink // ReflectMethod means the function may call reflect.Type.Method or // reflect.Type.MethodByName. Matching is imprecise (as reflect.Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
Gid: 100, Uname: "vbatts", Gname: "users", ModTime: time.Unix(1425484303, 0), }, nil}, testWrite{"Slartibartfast\n", 15, nil}, testHeader{Header{ Typeflag: TypeLink, Name: "hard.txt", Linkname: "file.txt", Mode: 0644, Uid: 1000, Gid: 100, Uname: "vbatts", Gname: "users", ModTime: time.Unix(1425484303, 0),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
func (l *Loader) SymAttr(i Sym) uint8 { if l.IsExternal(i) { // TODO: do something? External symbols have different representation of attributes. // For now, ReflectMethod, NoSplit, GoType, and Typelink are used and they cannot be // set by external symbol. return 0 } r, li := l.toLocal(i) return r.Sym(li).Flag() } // Returns the size of the i-th symbol.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K 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/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) -
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)