Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for zip (0.14 sec)

  1. src/archive/zip/register.go

    // Copyright 2010 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 zip
    
    import (
    	"compress/flate"
    	"errors"
    	"io"
    	"sync"
    )
    
    // A Compressor returns a new compressing writer, writing to w.
    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"strings"
    	"unicode/utf8"
    )
    
    var (
    	errLongName  = errors.New("zip: FileHeader.Name too long")
    	errLongExtra = errors.New("zip: FileHeader.Extra too long")
    )
    
    // Writer implements a zip file writer.
    type Writer struct {
    	cw          *countWriter
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/archive/zip/example_test.go

    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  4. doc/godebug.md

    There is no plan to remove any of these settings.
    
    ### Go 1.20
    
    Go 1.20 introduced support for rejecting insecure paths in tar and zip archives,
    controlled by the [`tarinsecurepath` setting](/pkg/archive/tar/#Reader.Next)
    and the [`zipinsecurepath` setting](/pkg/archive/zip/#NewReader).
    These default to `tarinsecurepath=1` and `zipinsecurepath=1`,
    preserving the behavior of earlier versions of Go.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg archive/zip, method (*Writer) SetOffset(int64)
    pkg bufio, method (*Reader) Discard(int) (int, error)
    pkg bufio, method (ReadWriter) Discard(int) (int, error)
    pkg bytes, func LastIndexByte([]uint8, uint8) int
    pkg bytes, method (*Buffer) Cap() int
    pkg bytes, method (*Reader) Size() int64
    pkg crypto, const SHA512_224 = 14
    pkg crypto, const SHA512_224 Hash
    pkg crypto, const SHA512_256 = 15
    pkg crypto, const SHA512_256 Hash
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. misc/ios/go_ios_exec.go

    		//
    		// Typical apps have the zoneinfo.zip in the root of their app bundle,
    		// read by the time package as the working directory at initialization.
    		// As we move the working directory to the GOROOT pkg directory, we
    		// install the zoneinfo.zip file in the pkgpath.
    		err := cp(
    			filepath.Join(dstbase, pkgpath),
    			filepath.Join(cwd, "lib", "time", "zoneinfo.zip"),
    		)
    		if err != nil {
    			return "", err
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  7. api/go1.17.txt

    pkg archive/zip, method (*File) OpenRaw() (io.Reader, error)
    pkg archive/zip, method (*Writer) Copy(*File) error
    pkg archive/zip, method (*Writer) CreateRaw(*FileHeader) (io.Writer, error)
    pkg compress/lzw, method (*Reader) Close() error
    pkg compress/lzw, method (*Reader) Read([]uint8) (int, error)
    pkg compress/lzw, method (*Reader) Reset(io.Reader, Order, int)
    pkg compress/lzw, method (*Writer) Close() error
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg archive/zip, method (*FileHeader) SetMode(os.FileMode)
    pkg archive/zip, method (*ReadCloser) Close() error
    pkg archive/zip, method (*Writer) Close() error
    pkg archive/zip, method (*Writer) Create(string) (io.Writer, error)
    pkg archive/zip, method (*Writer) CreateHeader(*FileHeader) (io.Writer, error)
    pkg archive/zip, type File struct
    pkg archive/zip, type File struct, embedded FileHeader
    pkg archive/zip, type FileHeader struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  9. api/go1.22.txt

    pkg archive/tar, method (*Writer) AddFS(fs.FS) error #58000
    pkg archive/zip, method (*Writer) AddFS(fs.FS) error #54898
    pkg cmp, func Or[$0 comparable](...$0) $0 #60204
    pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665
    pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178
    pkg crypto/x509, method (OID) Equal(OID) bool #60665
    pkg crypto/x509, method (OID) EqualASN1OID(asn1.ObjectIdentifier) bool #60665
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg archive/zip, method (*File) ModTime //deprecated
    pkg archive/zip, method (*File) SetModTime //deprecated
    pkg archive/zip, method (*FileHeader) ModTime //deprecated
    pkg archive/zip, method (*FileHeader) SetModTime //deprecated
    pkg archive/zip, type FileHeader struct, CompressedSize //deprecated
    pkg archive/zip, type FileHeader struct, ModifiedDate //deprecated
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top