Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for compress (0.23 sec)

  1. src/archive/zip/register.go

    func RegisterCompressor(method uint16, comp Compressor) {
    	if _, dup := compressors.LoadOrStore(method, comp); dup {
    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    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_test.go

    // Copyright 2011 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 (
    	"bytes"
    	"compress/flate"
    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"math/rand"
    	"os"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"time"
    )
    
    // TODO(adg): a more sophisticated test suite
    
    type WriteTest struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  3. api/go1.17.txt

    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
    pkg compress/lzw, method (*Writer) Reset(io.Writer, Order, int)
    pkg compress/lzw, method (*Writer) Write([]uint8) (int, error)
    pkg compress/lzw, type Reader struct
    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)
  4. src/archive/zip/reader_test.go

    //			log.Fatal(err)
    //		}
    //		if err := w.Close(); err != nil {
    //			log.Fatal(err)
    //		}
    //		return buf.Bytes()
    //	}
    //
    // The 4 GB of zeros compresses to 4 MB, which compresses to 20 kB,
    // which compresses to 1252 bytes (in the hex dump below).
    //
    // It's here in hex for the same reason as rZipBytes above: to avoid
    // problems with on-disk virus scanners or other zip processors.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VADDPD 15(CX)(AX*2), X29, X28 // 6261950058a4410f000000
    	VADDPD 15(CX)(AX*2), X29, X10 // 627195005894410f000000
    	VADDPD 15(CX)(AX*2), X10, X28 // 6261ad0858a4410f000000
    	// EVEX: compressed displacement (Disp8).
    	VADDPD 2032(DX), X29, X0        // 62f1950058427f
    	VADDPD 2032(DX), X1, X29        // 6261f508586a7f
    	VADDPD 2032(DX), X29, X28       // 6261950058627f
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    <p>
    A type determines a set of values together with operations and methods specific
    to those values. A type may be denoted by a <i>type name</i>, if it has one,
    or specified using a <i>type literal</i>, which composes a type from existing types.
    </p>
    
    <pre class="ebnf">
    Type      = TypeName | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.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 tar
    
    import (
    	"bytes"
    	"compress/bzip2"
    	"crypto/md5"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"os"
    	"path"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestReader(t *testing.T) {
    	vectors := []struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. api/go1.21.txt

    pkg crypto/x509, type RevocationList struct, RevokedCertificateEntries []RevocationListEntry #53573
    pkg crypto/x509, type RevocationList struct, RevokedCertificates //deprecated #53573
    pkg debug/elf, const COMPRESS_ZSTD = 2 #55107
    pkg debug/elf, const COMPRESS_ZSTD CompressionType #55107
    pkg debug/elf, const DF_1_CONFALT = 8192 #56887
    pkg debug/elf, const DF_1_CONFALT DynFlag1 #56887
    pkg debug/elf, const DF_1_DIRECT = 256 #56887
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg archive/zip, type FileHeader struct, ModifiedTime //deprecated
    pkg archive/zip, type FileHeader struct, UncompressedSize //deprecated
    pkg compress/flate, type ReadError //deprecated
    pkg compress/flate, type WriteError //deprecated
    pkg crypto/rc4, method (*Cipher) Reset //deprecated
    pkg crypto/tls, const VersionSSL30 //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)
  10. src/archive/zip/struct.go

    	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.
    	// If either the uncompressed or compressed size of the file
    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)
Back to top