Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for yoff (0.03 sec)

  1. src/image/draw/draw_test.go

    	}
    }
    
    func TestDrawOverlap(t *testing.T) {
    	for _, op := range []Op{Over, Src} {
    		for yoff := -2; yoff <= 2; yoff++ {
    		loop:
    			for xoff := -2; xoff <= 2; xoff++ {
    				m := gradYellow(127).(*image.RGBA)
    				dst := m.SubImage(image.Rect(5, 5, 10, 10)).(*image.RGBA)
    				src := m.SubImage(image.Rect(5+xoff, 5+yoff, 10+xoff, 10+yoff)).(*image.RGBA)
    				b := dst.Bounds()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. src/image/jpeg/writer.go

    		ycbcr, _ := m.(*image.YCbCr)
    		for y := bounds.Min.Y; y < bounds.Max.Y; y += 16 {
    			for x := bounds.Min.X; x < bounds.Max.X; x += 16 {
    				for i := 0; i < 4; i++ {
    					xOff := (i & 1) * 8
    					yOff := (i & 2) * 4
    					p := image.Pt(x+xOff, y+yOff)
    					if rgba != nil {
    						rgbaToYCbCr(rgba, p, &b, &cb[i], &cr[i])
    					} else if ycbcr != nil {
    						yCbCrToYCbCr(ycbcr, p, &b, &cb[i], &cr[i])
    					} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  3. src/debug/dwarf/typeunit.go

    	tur.err = nil
    	doff := off - tur.tu.off
    	if doff < 0 || doff >= Offset(len(tur.tu.data)) {
    		tur.err = fmt.Errorf("%s: offset %d out of range; max %d", tur.tu.name, doff, len(tur.tu.data))
    		return
    	}
    	tur.b = makeBuf(tur.d, tur.tu, tur.tu.name, off, tur.tu.data[doff:])
    }
    
    // AddressSize returns the size in bytes of addresses in the current type unit.
    func (tur *typeUnitReader) AddressSize() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/staticinit/sched.go

    }
    
    // like staticassign but we are copying an already
    // initialized value r.
    func (s *Schedule) staticcopy(l *ir.Name, loff int64, rn *ir.Name, typ *types.Type) bool {
    	if rn.Class == ir.PFUNC {
    		// TODO if roff != 0 { panic }
    		staticdata.InitAddr(l, loff, staticdata.FuncLinksym(rn))
    		return true
    	}
    	if rn.Class != ir.PEXTERN || rn.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/runtime/cgocheck.go

    		cgoCheckBits(src, typ.GCData, off, size)
    		return
    	}
    
    	// The type has a GC program. Try to find GC bits somewhere else.
    	for _, datap := range activeModules() {
    		if cgoInRange(src, datap.data, datap.edata) {
    			doff := uintptr(src) - datap.data
    			cgoCheckBits(add(src, -doff), datap.gcdatamask.bytedata, off+doff, size)
    			return
    		}
    		if cgoInRange(src, datap.bss, datap.ebss) {
    			boff := uintptr(src) - datap.bss
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. tests/integration/ambient/testdata/beta-mtls-off.yaml

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: "default"
      annotations:
        test-suite: "beta-mtls-off"
    spec:
      mtls:
        mode: DISABLE
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: "default"
      annotations:
        test-suite: "beta-mtls-off"
    spec:
      host: "*.local"
      trafficPolicy:
        tls:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 382 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/liveness/plive.go

    	off := objw.Uint32(lsym, 0, uint32(nbitmap))
    	off = objw.Uint32(lsym, off, uint32(bv.N))
    	off = objw.BitVec(lsym, off, bv)
    
    	if fn.Type().NumResults() > 0 {
    		for _, p := range abiInfo.OutParams() {
    			if len(p.Registers) == 0 {
    				typebits.SetNoCheck(p.Type, p.FrameOffset(abiInfo), bv)
    			}
    		}
    		off = objw.BitVec(lsym, off, bv)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_amd64.go

    //sysnb	setrlimit(resource int, rlim *Rlimit) (err error) = SYS_SETRLIMIT
    //sys	Shutdown(fd int, how int) (err error)
    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    //sys	Statfs(path string, buf *Statfs_t) (err error)
    //sys	SyncFileRange(fd int, off int64, n int64, flags int) (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Ustat(dev int, ubuf *Ustat_t) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/staticdata/data.go

    // It's the caller responsibility to make sure lsym is from ONAME node.
    func InitSlice(n *ir.Name, noff int64, lsym *obj.LSym, lencap int64) {
    	s := n.Linksym()
    	s.WriteAddr(base.Ctxt, noff, types.PtrSize, lsym, 0)
    	s.WriteInt(base.Ctxt, noff+types.SliceLenOffset, types.PtrSize, lencap)
    	s.WriteInt(base.Ctxt, noff+types.SliceCapOffset, types.PtrSize, lencap)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go

    //sys	Shutdown(fd int, how int) (err error)
    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    
    func Stat(path string, stat *Stat_t) (err error) {
    	// Use fstatat, because Android's seccomp policy blocks stat.
    	return Fstatat(AT_FDCWD, path, stat, 0)
    }
    
    //sys	Statfs(path string, buf *Statfs_t) (err error)
    //sys	SyncFileRange(fd int, off int64, n int64, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top