Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for typelink (0.13 sec)

  1. src/archive/tar/common.go

    		h.ChangeTime = sys.ChangeTime
    		if sys.Xattrs != nil {
    			h.Xattrs = make(map[string]string)
    			for k, v := range sys.Xattrs {
    				h.Xattrs[k] = v
    			}
    		}
    		if sys.Typeflag == TypeLink {
    			// hard link
    			h.Typeflag = TypeLink
    			h.Size = 0
    			h.Linkname = sys.Linkname
    		}
    		if sys.PAXRecords != nil {
    			h.PAXRecords = make(map[string]string)
    			for k, v := range sys.PAXRecords {
    				h.PAXRecords[k] = v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/link/internal/wasm/asm.go

    	data []byte
    }
    
    var dataSects []wasmDataSect
    
    func asmb(ctxt *ld.Link, ldr *loader.Loader) {
    	sections := []*sym.Section{
    		ldr.SymSect(ldr.Lookup("runtime.rodata", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.typelink", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.itablink", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.symtab", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.pclntab", 0)),
    		ldr.SymSect(ldr.Lookup("runtime.noptrdata", 0)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/symtab.go

    		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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top