Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 284 for x1 (0.03 sec)

  1. src/internal/types/testdata/check/vardecl.go

    func (r T) _(a, b, c int) (u, v, w int) {
    	var x1 /* ERROR "declared and not used" */ int
    	var x2 /* ERROR "declared and not used" */ int
    	x1 = 1
    	(x2) = 2
    
    	y1 /* ERROR "declared and not used" */ := 1
    	y2 /* ERROR "declared and not used" */ := 2
    	y1 = 1
    	(y1) = 2
    
    	{
    		var x1 /* ERROR "declared and not used" */ int
    		var x2 /* ERROR "declared and not used" */ int
    		x1 = 1
    		(x2) = 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/image/internal/imageutil/impl.go

    	//
    	// in the spirit of the built-in copy function for 1-dimensional slices,
    	// that also allowed a CopyFromRGBA method if needed.
    
    	x0 := (r.Min.X - dst.Rect.Min.X) * 4
    	x1 := (r.Max.X - dst.Rect.Min.X) * 4
    	y0 := r.Min.Y - dst.Rect.Min.Y
    	y1 := r.Max.Y - dst.Rect.Min.Y
    	switch src.SubsampleRatio {
    
    	case image.YCbCrSubsampleRatio444:
    		for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  3. src/encoding/binary/example_test.go

    	fmt.Printf("% x\n", b)
    	// Output:
    	// e8 03 d0 07
    }
    
    func ExampleByteOrder_get() {
    	b := []byte{0xe8, 0x03, 0xd0, 0x07}
    	x1 := binary.LittleEndian.Uint16(b[0:])
    	x2 := binary.LittleEndian.Uint16(b[2:])
    	fmt.Printf("%#04x %#04x\n", x1, x2)
    	// Output:
    	// 0x03e8 0x07d0
    }
    
    func ExamplePutUvarint() {
    	buf := make([]byte, binary.MaxVarintLen64)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. src/image/draw/draw.go

    				drawCopySrc(
    					dst0.Pix[d0:], dst0.Stride, r, src0.Pix[s0:], src0.Stride, sp, 8*r.Dx())
    				return
    			}
    		}
    	}
    
    	x0, x1, dx := r.Min.X, r.Max.X, 1
    	y0, y1, dy := r.Min.Y, r.Max.Y, 1
    	if processBackward(dst, r, src, sp) {
    		x0, x1, dx = x1-1, x0-1, -1
    		y0, y1, dy = y1-1, y0-1, -1
    	}
    
    	// FALLBACK1.17
    	//
    	// Try the draw.RGBA64Image and image.RGBA64Image interfaces, part of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v0.AuxInt = int64ToAuxInt(c)
    		v0.AddArg2(x1, y)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (CMP x0 x1:(SRLconst [c] y))
    	// cond: clobberIfDead(x1)
    	// result: (CMPshiftRL x0 y [c])
    	for {
    		x0 := v_0
    		x1 := v_1
    		if x1.Op != OpARM64SRLconst {
    			break
    		}
    		c := auxIntToInt64(x1.AuxInt)
    		y := x1.Args[0]
    		if !(clobberIfDead(x1)) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  6. src/runtime/preempt_amd64.s

    	MOVQ R14, 96(SP)
    	MOVQ R15, 104(SP)
    	#ifdef GOOS_darwin
    	#ifndef hasAVX
    	CMPB internal∕cpu·X86+const_offsetX86HasAVX(SB), $0
    	JE 2(PC)
    	#endif
    	VZEROUPPER
    	#endif
    	MOVUPS X0, 112(SP)
    	MOVUPS X1, 128(SP)
    	MOVUPS X2, 144(SP)
    	MOVUPS X3, 160(SP)
    	MOVUPS X4, 176(SP)
    	MOVUPS X5, 192(SP)
    	MOVUPS X6, 208(SP)
    	MOVUPS X7, 224(SP)
    	MOVUPS X8, 240(SP)
    	MOVUPS X9, 256(SP)
    	MOVUPS X10, 272(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. src/internal/types/testdata/examples/types.go

    	f P
    }
    
    type T2[P any] struct {
    	f struct {
    		g P
    	}
    }
    
    var x1 T1[struct{ g int }]
    var x2 T2[int]
    
    func _() {
    	// This assignment is invalid because the types of x1, x2 are T1(...)
    	// and T2(...) respectively, which are two different defined types.
    	x1 = x2 // ERROR "assignment"
    
    	// This assignment is valid because the types of x1.f and x2.f are
    	// both struct { g int }; the type parameters act like type aliases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Closer.java

       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
          Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 {
        checkNotNull(e);
        thrown = e;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testerrors/testdata/err2.go

    )
    
    func main() {
    	s := ""
    	_ = s
    	C.malloc(s) // ERROR HERE
    
    	x := (*C.bar_t)(nil)
    	C.foop = x // ERROR HERE
    
    	// issue 13129: used to output error about C.unsignedshort with CC=clang
    	var x1 C.ushort
    	x1 = int(0) // ERROR HERE: C\.ushort
    
    	// issue 13423
    	_ = C.fopen() // ERROR HERE
    
    	// issue 13467
    	var x2 rune = '✈'
    	var _ rune = C.transform(x2) // ERROR HERE: C\.int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/runtime/cgo/asm_riscv64.s

    	MOV	X18, (8*6)(X2)
    	MOV	X19, (8*7)(X2)
    	MOV	X20, (8*8)(X2)
    	MOV	X21, (8*9)(X2)
    	MOV	X22, (8*10)(X2)
    	MOV	X23, (8*11)(X2)
    	MOV	X24, (8*12)(X2)
    	MOV	X25, (8*13)(X2)
    	MOV	X26, (8*14)(X2)
    	MOV	g, (8*15)(X2)
    	MOV	X1, (8*16)(X2)
    	MOVD	F8, (8*17)(X2)
    	MOVD	F9, (8*18)(X2)
    	MOVD	F18, (8*19)(X2)
    	MOVD	F19, (8*20)(X2)
    	MOVD	F20, (8*21)(X2)
    	MOVD	F21, (8*22)(X2)
    	MOVD	F22, (8*23)(X2)
    	MOVD	F23, (8*24)(X2)
    	MOVD	F24, (8*25)(X2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top