Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RegisterCompressor (0.26 sec)

  1. src/cmd/distpack/pack.go

    			extra := ""
    			if f.Name != "" {
    				extra = " " + f.Name
    			}
    			log.Fatalf("writing %s%s: %v", name, extra, err)
    		}
    	}()
    
    	zw := zip.NewWriter(out)
    	zw.RegisterCompressor(zip.Deflate, func(out io.Writer) (io.WriteCloser, error) {
    		return flate.NewWriter(out, flate.BestCompression)
    	})
    	for _, f = range a.Files {
    		h := check(zip.FileInfoHeader(f.Info()))
    		h.Name = f.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Writer).Copy", Method, 17},
    		{"(*Writer).Create", Method, 0},
    		{"(*Writer).CreateHeader", Method, 0},
    		{"(*Writer).CreateRaw", Method, 17},
    		{"(*Writer).Flush", Method, 4},
    		{"(*Writer).RegisterCompressor", Method, 6},
    		{"(*Writer).SetComment", Method, 10},
    		{"(*Writer).SetOffset", Method, 5},
    		{"Compressor", Type, 2},
    		{"Decompressor", Type, 2},
    		{"Deflate", Const, 0},
    		{"ErrAlgorithm", Var, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top