Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for int1 (0.26 sec)

  1. 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)
  2. 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)
  3. src/cmd/internal/obj/arm64/asm7.go

    	// rest of exp and mantissa (cd-efgh)
    	n |= int((h >> 16) & 0x3f)
    
    	//print("match %.8lux %.8lux %d\n", l, h, n);
    	return n
    }
    
    /* form offset parameter to SYS; special register number */
    func SYSARG5(op0 int, op1 int, Cn int, Cm int, op2 int) int {
    	return op0<<19 | op1<<16 | Cn<<12 | Cm<<8 | op2<<5
    }
    
    func SYSARG4(op1 int, Cn int, Cm int, op2 int) int {
    	return SYSARG5(0, op1, Cn, Cm, op2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/asm9.go

    	n = int(p1.a1) - int(p2.a1)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a2) - int(p2.a2)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a3) - int(p2.a3)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a4) - int(p2.a4)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a5) - int(p2.a5)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a6) - int(p2.a6)
    	if n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/s390x/asmz.go

    type ocmp []Optab
    
    func (x ocmp) Len() int {
    	return len(x)
    }
    
    func (x ocmp) Swap(i, j int) {
    	x[i], x[j] = x[j], x[i]
    }
    
    func (x ocmp) Less(i, j int) bool {
    	p1 := &x[i]
    	p2 := &x[j]
    	n := int(p1.as) - int(p2.as)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a1) - int(p2.a1)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.a2) - int(p2.a2)
    	if n != 0 {
    		return n < 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K 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/_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)
  8. 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)
  9. 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)
  10. 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)
    	case Int32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top