Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for FileHeader (0.21 sec)

  1. 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)
  2. src/debug/elf/file.go

    /*
     * Internal ELF representation
     */
    
    // A FileHeader represents an ELF file header.
    type FileHeader struct {
    	Class      Class
    	Data       Data
    	Version    Version
    	OSABI      OSABI
    	ABIVersion uint8
    	ByteOrder  binary.ByteOrder
    	Type       Type
    	Machine    Machine
    	Entry      uint64
    }
    
    // A File represents an open ELF file.
    type File struct {
    	FileHeader
    	Sections  []*Section
    	Progs     []*Prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pe.go

    	if ctxt.LinkMode != LinkExternal {
    		h.pad(ctxt.Out, uint32(size))
    	}
    }
    
    // writeFileHeader writes COFF file header for peFile f.
    func (f *peFile) writeFileHeader(ctxt *Link) {
    	var fh pe.FileHeader
    
    	switch ctxt.Arch.Family {
    	default:
    		Exitf("unknown PE architecture: %v", ctxt.Arch.Family)
    	case sys.AMD64:
    		fh.Machine = pe.IMAGE_FILE_MACHINE_AMD64
    	case sys.I386:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  4. src/net/http/request.go

    // body has been handed off to a MultipartReader instead of ParseMultipartForm.
    var multipartByReader = &multipart.Form{
    	Value: make(map[string][]string),
    	File:  make(map[string][]*multipart.FileHeader),
    }
    
    // MultipartReader returns a MIME multipart reader if this is a
    // multipart/form-data or a multipart/mixed POST request, else returns nil and an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    	case "windows":
    		f, err := pe.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer f.Close()
    		if f.Section(".reloc") == nil {
    			t.Error(".reloc section is not present")
    		}
    		if (f.FileHeader.Characteristics & pe.IMAGE_FILE_RELOCS_STRIPPED) != 0 {
    			t.Error("IMAGE_FILE_RELOCS_STRIPPED flag is set")
    		}
    		var dc uint16
    		switch oh := f.OptionalHeader.(type) {
    		case *pe.OptionalHeader32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

        public static String tail(File file, int maxLines) throws TailReadingException {
            logDeprecation();
            BufferedReader reader = null;
            FileReader fileReader = null;
            try {
                fileReader = new FileReader(file);
                reader = new BufferedReader(fileReader);
    
                org.gradle.util.internal.LimitedDescription description = new org.gradle.util.internal.LimitedDescription(maxLines);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisher.java

            } catch (IOException ex) {
                throw new UncheckedIOException(ex);
            }
        }
    
        private Model readModelFromPom(File pomFile) throws IOException, XmlPullParserException {
            try (FileReader reader = new FileReader(pomFile)) {
                return new MavenXpp3Reader().read(reader);
            }
        }
    
        private void validateArtifacts(MavenNormalizedPublication publication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/GitIgnoreGenerator.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import org.gradle.api.UncheckedIOException;
    
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Set;
    import java.util.Spliterator;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracter.java

    import org.gradle.api.UncheckedIOException;
    
    import javax.annotation.Nullable;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.util.Set;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	}
    	hashes, err := tlog.TileHashReader(latest, &c.tileReader).ReadHashes([]int64{tlog.StoredHashIndex(0, id)})
    	if err != nil {
    		return err
    	}
    	if hashes[0] == tlog.RecordHash(data) {
    		return nil
    	}
    	return fmt.Errorf("cannot authenticate record data in server response")
    }
    
    // tileReader is a *Client wrapper that implements tlog.TileReader.
    // The separate type avoids exposing the ReadTiles and SaveTiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top