Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for FileHeader (0.14 sec)

  1. src/internal/xcoff/file.go

    type ImportedSymbol struct {
    	Name    string
    	Library string
    }
    
    // FileHeader holds information about an XCOFF file header.
    type FileHeader struct {
    	TargetMachine uint16
    }
    
    // A File represents an open XCOFF file.
    type File struct {
    	FileHeader
    	Sections     []*Section
    	Symbols      []*Symbol
    	StringTable  []byte
    	LibraryPaths []string
    
    	closer io.Closer
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/macho_update_uuid.go

    	defer outf.Close()
    
    	// Copy over the file.
    	if _, err := io.Copy(outf, exef); err != nil {
    		return err
    	}
    
    	// Locate the portion of the binary containing the load commands.
    	cmdOffset := unsafe.Sizeof(exem.FileHeader)
    	if is64bit := exem.Magic == macho.Magic64; is64bit {
    		// mach_header_64 has one extra uint32.
    		cmdOffset += unsafe.Sizeof(exem.Magic)
    	}
    	if _, err := outf.Seek(int64(cmdOffset), 0); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/debug/pe/symbol.go

    //
    // At the moment this package only provides APIs for looking at
    // aux symbols of format 5 (associated with section definition symbols).
    func readCOFFSymbols(fh *FileHeader, r io.ReadSeeker) ([]COFFSymbol, error) {
    	if fh.PointerToSymbolTable == 0 {
    		return nil, nil
    	}
    	if fh.NumberOfSymbols <= 0 {
    		return nil, nil
    	}
    	_, err := r.Seek(int64(fh.PointerToSymbolTable), io.SeekStart)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    // address to get symbol table address. For an executable, the base
    // is 0. Otherwise, it's a shared library, and the base is the
    // address where the mapping starts. The kernel needs special handling.
    func GetBase(fh *elf.FileHeader, loadSegment *elf.ProgHeader, stextOffset *uint64, start, limit, offset uint64) (uint64, error) {
    
    	if start == 0 && offset == 0 && (limit == ^uint64(0) || limit == 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/debug/macho/file.go

    import (
    	"bytes"
    	"compress/zlib"
    	"debug/dwarf"
    	"encoding/binary"
    	"fmt"
    	"internal/saferio"
    	"io"
    	"os"
    	"strings"
    )
    
    // A File represents an open Mach-O file.
    type File struct {
    	FileHeader
    	ByteOrder binary.ByteOrder
    	Loads     []Load
    	Sections  []*Section
    
    	Symtab   *Symtab
    	Dysymtab *Dysymtab
    
    	closer io.Closer
    }
    
    // A Load represents any Mach-O load command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	// value until we have a sample address for this mapping, so that we can
    	// correctly identify the associated program segment that is needed to compute
    	// the base.
    	if _, err := elfexec.GetBase(&ef.FileHeader, elfexec.FindTextProgHeader(ef), kernelOffset, start, limit, offset); err != nil {
    		return nil, fmt.Errorf("could not identify base for %s: %v", name, err)
    	}
    
    	if b.fast || (!b.addr2lineFound && !b.llvmSymbolizerFound) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. api/go1.9.txt

    pkg math/bits, func TrailingZeros32(uint32) int
    pkg math/bits, func TrailingZeros64(uint64) int
    pkg math/bits, func TrailingZeros8(uint8) int
    pkg mime, var ErrInvalidMediaParameter error
    pkg mime/multipart, type FileHeader struct, Size int64
    pkg mime/multipart, var ErrMessageTooLarge error
    pkg net, method (*IPConn) SyscallConn() (syscall.RawConn, error)
    pkg net, method (*TCPConn) SyscallConn() (syscall.RawConn, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  8. src/mime/multipart/formdata_test.go

    		t.Fatal("ReadForm:", err)
    	}
    	defer f.RemoveAll()
    
    	if g, e := f.Value["texta"][0], textaValue; g != e {
    		t.Errorf("texta value = %q, want %q", g, e)
    	}
    }
    
    func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
    	if fh.Filename != efn {
    		t.Errorf("filename = %q, want %q", fh.Filename, efn)
    	}
    	if fh.Size != int64(len(econtent)) {
    		t.Errorf("size = %d, want %d", fh.Size, len(econtent))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. api/go1.10.txt

    pkg archive/tar, type Header struct, Format Format
    pkg archive/tar, type Header struct, PAXRecords map[string]string
    pkg archive/zip, method (*Writer) SetComment(string) error
    pkg archive/zip, type FileHeader struct, Modified time.Time
    pkg archive/zip, type FileHeader struct, NonUTF8 bool
    pkg bufio, method (*Reader) Size() int
    pkg bufio, method (*Writer) Size() int
    pkg crypto/tls, const ECDSAWithSHA1 = 515
    pkg crypto/tls, const ECDSAWithSHA1 SignatureScheme
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  10. src/debug/buildinfo/buildinfo_test.go

    	// At location 0x3c, the stub has the file offset to the PE signature.
    	binary.Write(&buf, binary.LittleEndian, int32(0x3c+4))
    
    	buf.Write([]byte{'P', 'E', 0, 0})
    
    	binary.Write(&buf, binary.LittleEndian, pe.FileHeader{NumberOfSections: 1})
    
    	sh := pe.SectionHeader32{
    		Name:             [8]uint8{'t', 0},
    		SizeOfRawData:    uint32(paddingSize + len(buildInfoMagic)),
    		PointerToRawData: uint32(buf.Len()),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top