Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ZW (0.31 sec)

  1. lib/time/mkzip.go

    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    	seen := make(map[string]bool)
    	err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error {
    		if d.IsDir() {
    			return nil
    		}
    		data, err := os.ReadFile(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/distpack/pack.go

    			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
    		h.Method = zip.Deflate
    		w := check(zw.CreateHeader(h))
    		r := check(os.Open(f.Src))
    		check(io.Copy(w, r))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/image/png/writer.go

    	return filter
    }
    
    func (e *encoder) writeImage(w io.Writer, m image.Image, cb int, level int) error {
    	if e.zw == nil || e.zwLevel != level {
    		zw, err := zlib.NewWriterLevel(w, level)
    		if err != nil {
    			return err
    		}
    		e.zw = zw
    		e.zwLevel = level
    	} else {
    		e.zw.Reset(w)
    	}
    	defer e.zw.Close()
    
    	bitsPerPixel := 0
    
    	switch cb {
    	case cbG8:
    		bitsPerPixel = 8
    	case cbTC8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. src/compress/flate/deflate.go

    // same dictionary.
    func NewWriterDict(w io.Writer, level int, dict []byte) (*Writer, error) {
    	dw := &dictWriter{w}
    	zw, err := NewWriter(dw, level)
    	if err != nil {
    		return nil, err
    	}
    	zw.d.fillWindow(dict)
    	zw.dict = append(zw.dict, dict...) // duplicate dictionary for Reset method.
    	return zw, err
    }
    
    type dictWriter struct {
    	w io.Writer
    }
    
    func (w *dictWriter) Write(b []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. test/codegen/comparisons.go

    		return 1
    	}
    	return 0
    }
    
    func UintGtZero(a uint8, b uint16, c uint32, d uint64) int {
    	// arm64: `(CBN?ZW)`, `(CBN?Z[^W])`, -`(CMPW|CMP|BLS|BHI)`
    	if a > 0 || b > 0 || c > 0 || d > 0 {
    		return 1
    	}
    	return 0
    }
    
    func UintLeqZero(a uint8, b uint16, c uint32, d uint64) int {
    	// arm64: `(CBN?ZW)`, `(CBN?Z[^W])`, -`(CMPW|CMP|BHI|BLS)`
    	if a <= 0 || b <= 0 || c <= 0 || d <= 0 {
    		return 1
    	}
    	return 0
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. src/internal/profile/profile.go

    	}
    
    	return p, nil
    }
    
    // Write writes the profile as a gzip-compressed marshaled protobuf.
    func (p *Profile) Write(w io.Writer) error {
    	p.preEncode()
    	b := marshal(p)
    	zw := gzip.NewWriter(w)
    	defer zw.Close()
    	_, err := zw.Write(b)
    	return err
    }
    
    // CheckValid tests whether the profile is valid. Checks include, but are
    // not limited to:
    //   - len(Profile.Sample[n].value) == len(Profile.value_unit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	b := marshal(p)
    	p.encodeMu.Unlock()
    	return b
    }
    
    // Write writes the profile as a gzip-compressed marshaled protobuf.
    func (p *Profile) Write(w io.Writer) error {
    	zw := gzip.NewWriter(w)
    	defer zw.Close()
    	_, err := zw.Write(serialize(p))
    	return err
    }
    
    // WriteUncompressed writes the profile as a marshaled protobuf.
    func (p *Profile) WriteUncompressed(w io.Writer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. cmd/testdata/xl-meta-merge.zip

    B¬ it ¸…UxRqåNg|SVIÖBqq¥ <IEˆ¤{_UòC¼ gT3 ¸ ñhGmfq Ú3q\› ¼ GTBwÖºwmeqˆqyX`ªýh²sex»llo¸t1 l <qI=2 yl^w{nºlJYÙsGT–ˆ ñQTN¼EñW\¬[E~ˆæroG}ïP„Vyª˜PN^H¨1±‰„… Ž°˜¨ ’?Š‚Œ ¾^yº}nUÃÖ ¾añYT¼ÕG\|GÖˆhiÕ¨_|{Hnuf¼}ßOC}I[êwd~ËèÌÂÐþ’W" ¨¾ qê› ¼ÖUhQªmyx]ñZe¤ëv¢pizìos´Zw~ܤBUŽJeNã[^N¬ˆûx¼coßúKg & :{„IrUíÕ ¾q¼}ÐmåU` å¤toxzª{ÕKŠ|«¥y òKmôG§iì|HI}Õz¢Za²LqåU¾ã ExGEÏôåÇ ÕîüóööÁÑÝ ÃÒÐ Rm^ܪÀÐ%·¹ jSbé}°Vñ„{oZÕ}He^ÔÂ?ip 7<Ö rQÖig@ÕŠ@\ñqEeÖäG{KI_q ~qÓYK_^}ªÜuŠZneˆCéò@[qATgì¾Q{\\Gp8ÐsJT ¼_¬A”ªà»†“2–¬Œš™’£ Žl;ˆL{ jsò;ñT`_EUró¸twoXÕwvs...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Z   (MOVDconst [c]) yes no) && c != 0        => (First no yes)
    (NZ  (MOVDconst [0]) yes no)                  => (First no yes)
    (NZ  (MOVDconst [c]) yes no) && c != 0        => (First yes no)
    (ZW  (MOVDconst [c]) yes no) && int32(c) == 0 => (First yes no)
    (ZW  (MOVDconst [c]) yes no) && int32(c) != 0 => (First no yes)
    (NZW (MOVDconst [c]) yes no) && int32(c) == 0 => (First no yes)
    (NZW (MOVDconst [c]) yes no) && int32(c) != 0 => (First yes no)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  10. go.sum

    github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
    github.com/containerd/stargz-snapshotter/estargz v0.15.1 h1:eXJjw9RbkLFgioVaTG+G/ZW/0kEe2oEKCdS/ZxIyoCU=
    github.com/containerd/stargz-snapshotter/estargz v0.15.1/go.mod h1:gr2RNwukQ/S9Nv33Lt6UC7xEx58C+LHRdoqbEKjz1Kk=
    github.com/containerd/typeurl/v2 v2.1.1 h1:3Q4Pt7i8nYwy2KmQWIw2+1hTvwTE/6w9FqcttATPO/4=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
Back to top