Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for compress (0.24 sec)

  1. 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)
  2. 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)
  3. doc/go_spec.html

    to those values. A type may be denoted by a <i>type name</i>, if it has one, which must be
    followed by <a href="#Instantiations">type arguments</a> if the type is generic.
    A type may also be specified using a <i>type literal</i>, which composes a type
    from existing types.
    </p>
    
    <pre class="ebnf">
    Type      = TypeName [ TypeArgs ] | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    TypeArgs  = "[" TypeList [ "," ] "]" .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    	return err
    }
    
    // RegisterCompressor registers or overrides a custom compressor for a specific
    // method ID. If a compressor for a given method is not found, [Writer] will
    // default to looking up the compressor at the package level.
    func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
    	if w.compressors == nil {
    		w.compressors = make(map[uint16]Compressor)
    	}
    	w.compressors[method] = comp
    }
    
    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)
Back to top