Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 480 for yoff (0.17 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/main/java/jcifs/smb/SmbCopyUtil.java

                            long ioff = 0;
                            for ( int i = 0; i < chunks; i++ ) {
                                long absoff = ooff + ioff;
                                int csize = i == chunks - 1 ? lastChunkSize : maxChunkSize;
                                chunkInfo[ i ] = new SrvCopychunk(absoff, absoff, csize);
                                ioff += maxChunkSize;
                            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

        private long sourceOffset;
        private long targetOffset;
        private int length;
    
    
        /**
         * @param soff
         * @param toff
         * @param len
         */
        public SrvCopychunk ( long soff, long toff, int len ) {
            this.sourceOffset = soff;
            this.targetOffset = toff;
            this.length = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  5. src/internal/syscall/unix/copy_file_range_linux.go

    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
    	r1, _, errno := syscall.Syscall6(copyFileRangeTrap,
    		uintptr(rfd),
    		uintptr(unsafe.Pointer(roff)),
    		uintptr(wfd),
    		uintptr(unsafe.Pointer(woff)),
    		uintptr(len),
    		uintptr(flags),
    	)
    	n = int(r1)
    	if errno != 0 {
    		err = errno
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 28 00:59:36 UTC 2020
    - 556 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top