Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for i0 (0.05 sec)

  1. src/image/draw/draw.go

    				colorIndex := uint8(dst0.Palette.Index(src0.C))
    				i0 := dst0.PixOffset(r.Min.X, r.Min.Y)
    				i1 := i0 + r.Dx()
    				for i := i0; i < i1; i++ {
    					dst0.Pix[i] = colorIndex
    				}
    				firstRow := dst0.Pix[i0:i1]
    				for y := r.Min.Y + 1; y < r.Max.Y; y++ {
    					i0 += dst0.Stride
    					i1 += dst0.Stride
    					copy(dst0.Pix[i0:i1], firstRow)
    				}
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/abiutils_test.go

    	// func(x int32) int32
    	i32 := types.Types[types.TINT32]
    	ft := mkFuncType(nil, []*types.Type{i32}, []*types.Type{i32})
    
    	// expected results
    	exp := makeExpectedDump(`
            IN 0: R{ I0 } spilloffset: 0 typ: int32
            OUT 0: R{ I0 } spilloffset: -1 typ: int32
            offsetToSpillArea: 0 spillAreaSize: 8
    `)
    
    	abitest(t, ft, exp)
    }
    
    func TestABIUtilsBasic2(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/issues0.go

    	// a few more - less exhaustive now
    
    	f := func(I1, I2){}
    	f(i0 /* ERROR "missing method foo" */ , i1 /* ERROR "wrong type for method foo" */ )
    
    	_ = [...]I1{i0 /* ERRORx `cannot use i0 .* as I1 value in array or slice literal: I0 does not implement I1 \(missing method foo\)` */ }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/img/publishing-process.graffle

    HelveticaNeue;\f1\fnil\fcharset0 Menlo-Regular;\f2\fnil\fcharset0 Menlo-Italic; } {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \deftab720 \pard\pardeftab720\qc\partightenfactor0 \f0\fs24 \cf0 Task \f1 publish \f2\i MyLib \f1\i0 PublicationTo \f2\i MyRepo \f1\i0 Repository}WrapNOBounds{{336.3999964594841, 32.099998712539673}, {144, 67.83999964594841}}ClassShapedGraphicFo{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;}...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. src/image/image.go

    func (p *RGBA) Opaque() bool {
    	if p.Rect.Empty() {
    		return true
    	}
    	i0, i1 := 3, p.Rect.Dx()*4
    	for y := p.Rect.Min.Y; y < p.Rect.Max.Y; y++ {
    		for i := i0; i < i1; i += 4 {
    			if p.Pix[i] != 0xff {
    				return false
    			}
    		}
    		i0 += p.Stride
    		i1 += p.Stride
    	}
    	return true
    }
    
    // NewRGBA returns a new [RGBA] image with the given bounds.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/printer.go

    }
    
    func (p *printer) printFieldList(fields []*Field, tags []*BasicLit, sep token) {
    	i0 := 0
    	var typ Expr
    	for i, f := range fields {
    		if f.Name == nil || f.Type != typ {
    			if i0 < i {
    				p.printFields(fields, tags, i0, i)
    				p.print(sep, newline)
    				i0 = i
    			}
    			typ = f.Type
    		}
    	}
    	p.printFields(fields, tags, i0, len(fields))
    }
    
    func (p *printer) printMethodList(methods []*Field) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. src/runtime/proc_test.go

    		}
    	}
    	return m
    }
    
    func matmult(done chan<- struct{}, A, B, C Matrix, i0, i1, j0, j1, k0, k1, threshold int) {
    	di := i1 - i0
    	dj := j1 - j0
    	dk := k1 - k0
    	if di >= dj && di >= dk && di >= threshold {
    		// divide in two by y axis
    		mi := i0 + di/2
    		done1 := make(chan struct{}, 1)
    		go matmult(done1, A, B, C, i0, mi, j0, j1, k0, k1, threshold)
    		matmult(nil, A, B, C, mi, i1, j0, j1, k0, k1, threshold)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  8. src/go/printer/testdata/comments.input

    type SZ interface {}
    
    // The I0 interface; no method is exported.
    type I0 interface {
    	f(x int) int  // unexported method
    }
    
    // The I1 interface; some methods are not exported.
    type I1 interface {
    	I0
    	F(x float) float  // exported methods
    	g(x int) int  // unexported method
    }
    
    // The I2 interface; all methods are exported.
    type I2 interface {
    	I0
    	F(x float) float  // exported method
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  9. src/go/printer/testdata/comments.golden

    type SZ interface{}
    
    // The I0 interface; no method is exported.
    type I0 interface {
    	f(x int) int	// unexported method
    }
    
    // The I1 interface; some methods are not exported.
    type I1 interface {
    	I0
    	F(x float) float	// exported methods
    	g(x int) int		// unexported method
    }
    
    // The I2 interface; all methods are exported.
    type I2 interface {
    	I0
    	F(x float) float	// exported method
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  10. test/codegen/arithmetic.go

    }
    
    // The reassociate rules "x - (z + C) -> (x - z) - C" and
    // "(z + C) -x -> C + (z - x)" can optimize the following cases.
    func constantFold1(i0, j0, i1, j1, i2, j2, i3, j3 int) (int, int, int, int) {
    	// arm64:"SUB","ADD\t[$]2"
    	// ppc64x:"SUB","ADD\t[$]2"
    	r0 := (i0 + 3) - (j0 + 1)
    	// arm64:"SUB","SUB\t[$]4"
    	// ppc64x:"SUB","ADD\t[$]-4"
    	r1 := (i1 - 3) - (j1 + 1)
    	// arm64:"SUB","ADD\t[$]4"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top