Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for typelink (0.19 sec)

  1. src/cmd/link/internal/ld/main.go

    	ctxt.setArchSyms()
    	ctxt.addexport()
    	bench.Start("Gentext")
    	thearch.Gentext(ctxt, ctxt.loader) // trampolines, call stubs, etc.
    
    	bench.Start("textaddress")
    	ctxt.textaddress()
    	bench.Start("typelink")
    	ctxt.typelink()
    	bench.Start("buildinfo")
    	ctxt.buildinfo()
    	bench.Start("pclntab")
    	containers := ctxt.findContainerSyms()
    	pclnState := ctxt.pclntab(containers)
    	bench.Start("findfunctab")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf_test.go

    						}
    						t.Fatalf("test %s failed", test.name)
    					}
    				}
    			}
    		})
    	}
    }
    
    // This program is intended to be just big/complicated enough that
    // we wind up with decent-sized .data.rel.ro.{typelink,itablink,gopclntab}
    // sections.
    const ifacecallsProg = `
    package main
    
    import "reflect"
    
    type A string
    type B int
    type C float64
    
    type describer interface{ What() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    	}
    
    	/* typelink */
    	sect = state.allocateNamedDataSection(seg, genrelrosecname(".typelink"), []sym.SymKind{sym.STYPELINK}, relroSecPerm)
    
    	typelink := ldr.CreateSymForUpdate("runtime.typelink", 0)
    	ldr.SetSymSect(typelink.Sym(), sect)
    	typelink.SetType(sym.SRODATA)
    	state.datsize += typelink.Size()
    	state.checkdatsize(sym.STYPELINK)
    	sect.Length = uint64(state.datsize) - sect.Vaddr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    // Write writes to the current file in the tar archive.
    // Write returns the error [ErrWriteTooLong] if more than
    // Header.Size bytes are written after [Writer.WriteHeader].
    //
    // Calling Write on special types like [TypeLink], [TypeSymlink], [TypeChar],
    // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [ErrWriteTooLong]) regardless
    // of what the [Header.Size] claims.
    func (tw *Writer) Write(b []byte) (int, error) {
    	if tw.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/objfile.go

    func (s *Sym) Dupok() bool         { return s.Flag()&SymFlagDupok != 0 }
    func (s *Sym) Local() bool         { return s.Flag()&SymFlagLocal != 0 }
    func (s *Sym) Typelink() bool      { return s.Flag()&SymFlagTypelink != 0 }
    func (s *Sym) Leaf() bool          { return s.Flag()&SymFlagLeaf != 0 }
    func (s *Sym) NoSplit() bool       { return s.Flag()&SymFlagNoSplit != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/elf.go

    	}
    	shstrtabAddstring(relro_prefix + ".typelink")
    	shstrtabAddstring(relro_prefix + ".itablink")
    	shstrtabAddstring(relro_prefix + ".gosymtab")
    	shstrtabAddstring(relro_prefix + ".gopclntab")
    
    	if ctxt.IsExternal() {
    		*FlagD = true
    
    		shstrtabAddstring(elfRelType + ".text")
    		shstrtabAddstring(elfRelType + ".rodata")
    		shstrtabAddstring(elfRelType + relro_prefix + ".typelink")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/link/internal/loader/loader.go

    // Returns whether this is a Go type symbol.
    func (l *Loader) IsGoType(i Sym) bool {
    	return l.SymAttr(i)&goobj.SymFlagGoType != 0
    }
    
    // Returns whether this symbol should be included in typelink.
    func (l *Loader) IsTypelink(i Sym) bool {
    	return l.SymAttr(i)&goobj.SymFlagTypelink != 0
    }
    
    // Returns whether this symbol is an itab symbol.
    func (l *Loader) IsItab(i Sym) bool {
    	if l.IsExternal(i) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. 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)
Back to top