Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 898 for int2 (0.04 sec)

  1. src/cmd/compile/internal/ssa/value.go

    	}
    	return fmt.Sprintf("v%d", v.ID)
    }
    
    func (v *Value) AuxInt8() int8 {
    	if opcodeTable[v.Op].auxType != auxInt8 && opcodeTable[v.Op].auxType != auxNameOffsetInt8 {
    		v.Fatalf("op %s doesn't have an int8 aux field", v.Op)
    	}
    	return int8(v.AuxInt)
    }
    
    func (v *Value) AuxUInt8() uint8 {
    	if opcodeTable[v.Op].auxType != auxUInt8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    				case 4:
    					min = int64(int32(w.AuxInt) - int32(delta))
    					max = int64(int32(^uint32(0)>>1) - int32(delta))
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, min)
    					vmax = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, max)
    
    				case 2:
    					min = int64(int16(w.AuxInt) - int16(delta))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. test/codegen/comparisons.go

    func CmpZero1(a int32, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero2(a int64, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero3(a int32, ptr *int) {
    	if a >= 0 { // arm64:"TBNZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero4(a int64, ptr *int) {
    	if a >= 0 { // arm64:"TBNZ"
    		*ptr = 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/support.go

    	default:
    		errorf("unexpected channel dir %d", d)
    		return 0
    	}
    }
    
    var predeclared = []types.Type{
    	// basic types
    	types.Typ[types.Bool],
    	types.Typ[types.Int],
    	types.Typ[types.Int8],
    	types.Typ[types.Int16],
    	types.Typ[types.Int32],
    	types.Typ[types.Int64],
    	types.Typ[types.Uint],
    	types.Typ[types.Uint8],
    	types.Typ[types.Uint16],
    	types.Typ[types.Uint32],
    	types.Typ[types.Uint64],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/builtins0.go

    	_ = make([]int, 10, 2.3 /* ERROR "truncated" */)
    	_ = make([]int, 5, 10.0)
    	_ = make([]int, 0i)
    	_ = make([]int, 1.0)
    	_ = make([]int, 1.0<<s)
    	_ = make([]int, 1.1 /* ERROR "int" */ <<s)
    	_ = make([]int, - /* ERROR "must not be negative" */ 1, 10)
    	_ = make([]int, 0, - /* ERROR "must not be negative" */ 1)
    	_ = make([]int, - /* ERROR "must not be negative" */ 1, - /* ERROR "must not be negative" */ 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. src/encoding/gob/encoder_test.go

    }
    
    var ignoreTests = []ignoreTest{
    	// Decode normal struct into an empty struct
    	{&struct{ A int }{23}, &struct{}{}},
    	// Decode normal struct into a nil.
    	{&struct{ A int }{23}, nil},
    	// Decode singleton string into a nil.
    	{"hello, world", nil},
    	// Decode singleton slice into a nil.
    	{[]int{1, 2, 3, 4}, nil},
    	// Decode struct containing an interface into a nil.
    	{&Struct0{&NewType0{"value0"}}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	id            int64
    	mallocing     int32
    	throwing      throwType
    	preemptoff    string // if != "", keep curg running on this m
    	locks         int32
    	dying         int32
    	profilehz     int32
    	spinning      bool // m is out of work and is actively looking for work
    	blocked       bool // m is blocked on a note
    	newSigstack   bool // minit on C thread called sigaltstack
    	printlock     int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. src/runtime/os_openbsd_syscall2.go

    func kqueue() int32
    
    //go:noescape
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32
    
    func raiseproc(sig uint32)
    
    func getthrid() int32
    func thrkill(tid int32, sig int)
    
    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    func read(fd int32, p unsafe.Pointer, n int32) int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		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 {
    			break
    		}
    		c := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(int8(c)))
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go

    	Shift     int32
    	Stabil    int32
    	Jitcnt    int32
    	Calcnt    int32
    	Errcnt    int32
    	Stbcnt    int32
    	Tai       int32
    	_         [44]byte
    }
    
    type Time_t int32
    
    type Tms struct {
    	Utime  int32
    	Stime  int32
    	Cutime int32
    	Cstime int32
    }
    
    type Utimbuf struct {
    	Actime  int32
    	Modtime int32
    }
    
    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top