Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for files (0.71 sec)

  1. src/archive/tar/writer.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"sort"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    	if err != nil {
    		t.Fatalf("NewReader: %v", err)
    	}
    	if got := len(zr.File); got != nFiles {
    		t.Fatalf("File contains %d files, want %d", got, nFiles)
    	}
    	for i := 0; i < nFiles; i++ {
    		want := fmt.Sprintf("%d.dat", i)
    		if zr.File[i].Name != want {
    			t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
    		}
    	}
    }
    
    func TestModTime(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	files := r.fileList
    	i := sort.Search(len(files), func(i int) bool {
    		idir, _, _ := split(files[i].name)
    		return idir >= dir
    	})
    	j := sort.Search(len(files), func(j int) bool {
    		jdir, _, _ := split(files[j].name)
    		return jdir > dir
    	})
    	return files[i:j]
    }
    
    type openDir struct {
    	e      *fileListEntry
    	files  []fileListEntry
    	offset int
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	FormatUSTAR
    
    	// FormatPAX represents the PAX header format defined in POSIX.1-2001.
    	//
    	// PAX extends USTAR by writing a special file with Typeflag TypeXHeader
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. doc/godebug.md

    Go 1.20 removed the preinstalled `.a` files for the standard library
    from the Go distribution.
    Installations now build and cache the standard library like
    packages in other modules.
    The [`installgoroot` setting](/cmd/go#hdr-Compile_and_install_packages_and_dependencies)
    restores the installation and use of preinstalled `.a` files.
    
    There is no plan to remove any of these settings.
    
    ### Go 1.19
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    them as part of the Go package. Any .c, .s, .S or .sx files will be
    compiled with the C compiler. Any .cc, .cpp, or .cxx files will be
    compiled with the C++ compiler. Any .f, .F, .for or .f90 files will be
    compiled with the fortran compiler. Any .h, .hh, .hpp, or .hxx files will
    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/archive/zip/struct.go

    	// CRC32 is the CRC32 checksum of the file content.
    	CRC32 uint32
    
    	// CompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    	// Deprecated: Use CompressedSize64 instead.
    	CompressedSize uint32
    
    	// UncompressedSize is the compressed size of the file in bytes.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. doc/asm.html

    MOVD $2, R0
    </pre>
    </p>
    
    <h3 id="data-offsets">Interacting with Go types and constants</h3>
    
    <p>
    If a package has any .s files, then <code>go build</code> will direct
    the compiler to emit a special header called <code>go_asm.h</code>,
    which the .s files can then <code>#include</code>.
    The file contains symbolic <code>#define</code> constants for the
    offsets of Go struct fields, the sizes of Go struct types, and most
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. api/go1.7.txt

    pkg encoding/json, method (*Encoder) SetIndent(string, string)
    pkg go/build, type Package struct, BinaryOnly bool
    pkg go/build, type Package struct, CgoFFLAGS []string
    pkg go/build, type Package struct, FFiles []string
    pkg go/doc, type Example struct, Unordered bool
    pkg io, const SeekCurrent = 1
    pkg io, const SeekCurrent ideal-int
    pkg io, const SeekEnd = 2
    pkg io, const SeekEnd ideal-int
    pkg io, const SeekStart = 0
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    // A sparse file can be represented as either a sparseDatas or a sparseHoles.
    // As long as the total size is known, they are equivalent and one can be
    // converted to the other form and back. The various tar formats with sparse
    // file support represent sparse files in the sparseDatas form. That is, they
    // specify the fragments in the file that has data, and treat everything else as
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top