Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for FileHeader (0.14 sec)

  1. src/debug/pe/string.go

    func cstring(b []byte) string {
    	i := bytes.IndexByte(b, 0)
    	if i == -1 {
    		i = len(b)
    	}
    	return string(b[:i])
    }
    
    // StringTable is a COFF string table.
    type StringTable []byte
    
    func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) {
    	// COFF string table is located right after COFF symbol table.
    	if fh.PointerToSymbolTable <= 0 {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt

        gradleJars: Iterable<File>,
        pluginDependenciesSpecQualifiedName: String,
        pluginDependencySpecQualifiedName: String,
    ) {
        file.bufferedWriter().use { writer ->
            writer.appendReproducibleNewLine(fileHeader)
            pluginIdExtensionDeclarationsFor(
                gradleJars,
                pluginDependenciesSpecQualifiedName,
                pluginDependencySpecQualifiedName
            ).forEach { extension ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:07 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/debug/pe/pe.go

    // Copyright 2009 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.
    
    package pe
    
    type FileHeader struct {
    	Machine              uint16
    	NumberOfSections     uint16
    	TimeDateStamp        uint32
    	PointerToSymbolTable uint32
    	NumberOfSymbols      uint32
    	SizeOfOptionalHeader uint16
    	Characteristics      uint16
    }
    
    type DataDirectory struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 01:21:43 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  4. src/debug/macho/macho.go

    // For cloned PDF see:
    // https://github.com/aidansteele/osx-abi-macho-file-format-reference
    
    package macho
    
    import "strconv"
    
    // A FileHeader represents a Mach-O file header.
    type FileHeader struct {
    	Magic  uint32
    	Cpu    Cpu
    	SubCpu uint32
    	Type   Type
    	Ncmd   uint32
    	Cmdsz  uint32
    	Flags  uint32
    }
    
    const (
    	fileHeaderSize32 = 7 * 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. lib/time/mkzip.go

    		if err != nil {
    			log.Fatal(err)
    		}
    		if strings.HasSuffix(path, ".zip") {
    			log.Fatalf("unexpected file during walk: %s", path)
    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    			Method:             zip.Store,
    			CompressedSize64:   uint64(len(data)),
    			UncompressedSize64: uint64(len(data)),
    			CRC32:              crc32.ChecksumIEEE(data),
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt

    import org.gradle.kotlin.dsl.concurrent.IO
    import org.gradle.kotlin.dsl.concurrent.withAsynchronousIO
    import org.gradle.kotlin.dsl.concurrent.writeFile
    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.fileHeader
    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.kotlinDslPackagePath
    import org.gradle.kotlin.dsl.internal.sharedruntime.support.appendReproducibleNewLine
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. src/debug/elf/file_test.go

    	}
    	defer f.Close()
    
    	wantFileHeader := FileHeader{
    		Class:     ELFCLASS32,
    		Data:      ELFDATA2LSB,
    		Version:   EV_CURRENT,
    		OSABI:     ELFOSABI_NONE,
    		ByteOrder: binary.LittleEndian,
    		Type:      ET_REL,
    		Machine:   EM_386,
    	}
    	if f.FileHeader != wantFileHeader {
    		t.Errorf("\nhave %#v\nwant %#v\n", f.FileHeader, wantFileHeader)
    	}
    
    	wantSectionNum := 65298
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	if textsect == nil {
    		return fmt.Errorf("missing __text section")
    	}
    
    	cmdOffset := unsafe.Sizeof(exem.FileHeader)
    	if is64bit := exem.Magic == macho.Magic64; is64bit {
    		// mach_header_64 has one extra uint32.
    		cmdOffset += unsafe.Sizeof(exem.Magic)
    	}
    	dwarfCmdOffset := uint32(cmdOffset) + exem.FileHeader.Cmdsz
    	availablePadding := textsect.Offset - dwarfCmdOffset
    	if availablePadding < realdwarf.Len {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"File", Type, 0},
    		{"File.FileHeader", Field, 0},
    		{"FileHeader", Type, 0},
    		{"FileHeader.CRC32", Field, 0},
    		{"FileHeader.Comment", Field, 0},
    		{"FileHeader.CompressedSize", Field, 0},
    		{"FileHeader.CompressedSize64", Field, 1},
    		{"FileHeader.CreatorVersion", Field, 0},
    		{"FileHeader.ExternalAttrs", Field, 0},
    		{"FileHeader.Extra", Field, 0},
    		{"FileHeader.Flags", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt

    import org.gradle.kotlin.dsl.concurrent.withAsynchronousIO
    import org.gradle.kotlin.dsl.concurrent.withSynchronousIO
    import org.gradle.kotlin.dsl.concurrent.writeFile
    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.fileHeader
    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.fileHeaderFor
    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.kotlinDslPackagePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top