Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Int8 (0.06 sec)

  1. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int8
    			e int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int8; e int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/cmpConst_test.go

    func gt_neg1_int8(x int8) bool   { return x > -1 }
    func ge_neg1_int8(x int8) bool   { return x >= -1 }
    func eq_neg1_int8(x int8) bool   { return x == -1 }
    func ne_neg1_int8(x int8) bool   { return x != -1 }
    func lt_0_int8(x int8) bool      { return x < 0 }
    func le_0_int8(x int8) bool      { return x <= 0 }
    func gt_0_int8(x int8) bool      { return x > 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 103.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "SHRQconst", argLength: 1, reg: gp11, asm: "SHRQ", aux: "Int8", resultInArg0: true, clobberFlags: true},
    		{name: "SHRLconst", argLength: 1, reg: gp11, asm: "SHRL", aux: "Int8", resultInArg0: true, clobberFlags: true},
    		{name: "SHRWconst", argLength: 1, reg: gp11, asm: "SHRW", aux: "Int8", resultInArg0: true, clobberFlags: true},
    		{name: "SHRBconst", argLength: 1, reg: gp11, asm: "SHRB", aux: "Int8", resultInArg0: true, clobberFlags: true},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  4. src/cmd/compile/internal/ssa/_gen/generic.rules

      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    (StaticLECall {callAux} (Addr {scon} (SB)) sptr (Const64 [1]) mem)
      && isSameCall(callAux, "runtime.memequal")
      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  5. src/reflect/value.go

    // It panics if v's Kind is not [Int], [Int8], [Int16], [Int32], or [Int64], or if [Value.CanSet] returns false.
    func (v Value) SetInt(x int64) {
    	v.mustBeAssignable()
    	switch k := v.kind(); k {
    	default:
    		panic(&ValueError{"reflect.Value.SetInt", v.kind()})
    	case Int:
    		*(*int)(v.ptr) = int(x)
    	case Int8:
    		*(*int8)(v.ptr) = int8(x)
    	case Int16:
    		*(*int16)(v.ptr) = int16(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	// match: (MOVBreg x:(ANDI [c] y))
    	// cond: c >= 0 && int64(int8(c)) == c
    	// result: x
    	for {
    		x := v_0
    		if x.Op != OpRISCV64ANDI {
    			break
    		}
    		c := auxIntToInt64(x.AuxInt)
    		if !(c >= 0 && int64(int8(c)) == c) {
    			break
    		}
    		v.copyOf(x)
    		return true
    	}
    	// match: (MOVBreg (MOVDconst [c]))
    	// result: (MOVDconst [int64(int8(c))])
    	for {
    		if v_0.Op != OpRISCV64MOVDconst {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v.AddArg(x)
    		return true
    	}
    	// match: (MOVBreg (MOVVconst [c]))
    	// result: (MOVVconst [int64(int8(c))])
    	for {
    		if v_0.Op != OpLOONG64MOVVconst {
    			break
    		}
    		c := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(int8(c)))
    		return true
    	}
    	return false
    }
    func rewriteValueLOONG64_OpLOONG64MOVBstore(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.AddArg(x)
    		return true
    	}
    	// match: (MOVBreg (MOVVconst [c]))
    	// result: (MOVVconst [int64(int8(c))])
    	for {
    		if v_0.Op != OpMIPS64MOVVconst {
    			break
    		}
    		c := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(int8(c)))
    		return true
    	}
    	return false
    }
    func rewriteValueMIPS64_OpMIPS64MOVBstore(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    uint8(^1)  // illegal: same as uint8(-2), -2 cannot be represented as a uint8
    ^uint8(1)  // typed uint8 constant, same as 0xFF ^ uint8(1) = uint8(0xFE)
    int8(^1)   // same as int8(-2)
    ^int8(1)   // same as -1 ^ int8(1) = -2
    </pre>
    
    <p>
    Implementation restriction: A compiler may use rounding while
    computing untyped floating-point or complex constant expressions; see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/asm7.go

    	a3    uint8 // 3rd source operand, Prog.RestArgs[XXX]
    	a4    uint8 // Prog.To
    	a5    uint8 // 2nd destination operand, Prog.RegTo2 or Prog.RestArgs[XXX]
    	type_ int8
    	size_ int8 // the value of this field is not static, use the size() method to return the value
    	param int16
    	flag  int8
    	scond uint8
    }
    
    func IsAtomicInstruction(as obj.As) bool {
    	if _, ok := atomicLDADD[as]; ok {
    		return true
    	}
    	if _, ok := atomicSWP[as]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top