- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for FileHeader (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/archive/zip/struct.go
ExternalAttrs uint32 // Meaning depends on CreatorVersion } // FileInfo returns an fs.FileInfo for the [FileHeader]. func (h *FileHeader) FileInfo() fs.FileInfo { return headerFileInfo{h} } // headerFileInfo implements [fs.FileInfo]. type headerFileInfo struct { fh *FileHeader } func (fi headerFileInfo) Name() string { return path.Base(fi.fh.Name) } func (fi headerFileInfo) Size() int64 {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0) -
src/archive/zip/zip_test.go
t.Errorf("ModifiedDate: got %d, want %d\n", got, want) } if sysfh, ok := fi.Sys().(*FileHeader); !ok && sysfh != fh { t.Errorf("Sys didn't return original *FileHeader") } } func TestFileHeaderRoundTrip(t *testing.T) { fh := &FileHeader{ Name: "foo.txt", UncompressedSize: 987654321, ModifiedTime: 1234, ModifiedDate: 5678, }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
src/archive/zip/writer.go
// CreateHeader and CreateRaw. func (w *Writer) prepare(fh *FileHeader) error { if w.last != nil && !w.last.closed { if err := w.last.close(); err != nil { return err } } if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh { // See https://golang.org/issue/11144 confusion. return errors.New("archive/zip: invalid duplicate FileHeader") } return nil }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
src/archive/zip/reader.go
type ReadCloser struct { f *os.File Reader } // A File is a single file in a ZIP archive. // The file information is in the embedded [FileHeader]. // The file content can be accessed by calling [File.Open]. type File struct { FileHeader zip *Reader zipr io.ReaderAt headerOffset int64 // includes overall ZIP archive baseOffsetCreated: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
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)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Click Count (0) -
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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 06 05:00:01 GMT 2018 - 30.1K bytes - Click Count (0) -
api/go1.4.txt
pkg debug/elf, var ErrNoSymbols error # CL 106460044 debug/plan9obj, cmd/addr2line: on Plan 9 use a.out header, Aram Hăvărneanu <******@****.***> pkg debug/plan9obj, type FileHeader struct, HdrSize uint64 pkg debug/plan9obj, type FileHeader struct, LoadAddress uint64 # CL 122960043 encoding/xml: add InputOffset method to Decoder, Russ Cox <******@****.***> pkg encoding/xml, method (*Decoder) InputOffset() int64
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Dec 12 03:01:01 GMT 2014 - 34K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
import org.gradle.api.tasks.PathSensitivity; import org.gradle.api.tasks.TaskAction; import org.gradle.internal.UncheckedException; 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.nio.file.Files; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.TreeMap;
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 23:22:57 GMT 2026 - 12.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
appendFileContentsTo(document.head(), "<style>", releaseNotesCss, "</style>"); } private void appendFileContentsTo(Element element, String open, File file, String close) { try (FileReader reader = new FileReader(file)) { element.append(open + CharStreams.toString(reader) + close); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 03 01:59:51 GMT 2026 - 11.3K bytes - Click Count (0) -
src/archive/tar/reader.go
// physicalRemaining implements fileState.physicalRemaining. func (fr regFileReader) physicalRemaining() int64 { return fr.nb } // sparseFileReader is a fileReader for reading data from a sparse file entry. type sparseFileReader struct { fr fileReader // Underlying fileReader sp sparseHoles // Normalized list of sparse holes pos int64 // Current position in sparse file }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0)