Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for 0x7fff_ffff (0.27 sec)

  1. test/convinline.go

    			}
    			fallthrough
    		case "int32":
    			inputs = append(inputs, "-0x8000_0000", "-0x7fff_ffff", "-0x12_3456", "0x12_3456", "0x7fff_ffff")
    			fallthrough
    		case "int16":
    			inputs = append(inputs, "-0x8000", "-0x7fff", "-0x1234", "0x1234", "0x7fff")
    			fallthrough
    		case "int8":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite_test.go

    		{0x000000FF, 8, true, 24, 0xFF},
    		{0xF00000FF, 8, true, 24, 0xFF},
    		{0x0F0000FF, 4, false, 0, 0},
    		{0x00000000, 4, false, 0, 0},
    		{0xF0000000, 4, false, 0, 0},
    		{0xF0000000, 32, false, 0, 0},
    		{0xFFFFFFFF, 0, true, 0, 0xFFFFFFFF},
    	}
    	for i, v := range tests {
    		result := mergePPC64AndSrwi(v.and, v.srw)
    		if v.valid && result == 0 {
    			t.Errorf("mergePPC64AndSrwi(Test %d) did not merge", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 21:57:02 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/asm_test.go

    		{memAddr(REG_DI, REG_Z7), Yzvm},
    	}
    
    	oclassTestsAMD64 = []*oclassTest{
    		{immAddr(-200), Ys32},
    		{immAddr(500), Ys32},
    		{immAddr(0x7FFFFFFF), Ys32},
    		{immAddr(0x7FFFFFFF + 1), Yi32},
    		{immAddr(0xFFFFFFFF), Yi32},
    		{immAddr(0xFFFFFFFF + 1), Yi64},
    
    		{regAddr(REG_BPB), Yrb},
    		{regAddr(REG_SIB), Yrb},
    		{regAddr(REG_DIB), Yrb},
    		{regAddr(REG_R8B), Yrb},
    		{regAddr(REG_R12B), Yrb},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue42876.go

    // run
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var x = [4]int32{-0x7fffffff, 0x7fffffff, 2, 4}
    
    func main() {
    	if x[0] > x[1] {
    		panic("fail 1")
    	}
    	if x[2]&x[3] < 0 {
    		panic("fail 2") // Fails here
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 22:59:34 UTC 2020
    - 341 bytes
    - Viewed (0)
  5. test/intcvt.go

    	//	chki16(int16(f64), 0)
    
    	chki32(int32(i8), ci8&0xffffffff-1<<32)
    	chki32(int32(i16), ci16&0xffffffff-1<<32)
    	chki32(int32(i32), ci32&0xffffffff-1<<32)
    	chki32(int32(i64), ci64&0xffffffff)
    	chki32(int32(u8), cu8&0xffffffff)
    	chki32(int32(u16), cu16&0xffffffff)
    	chki32(int32(u32), cu32&0xffffffff-1<<32)
    	chki32(int32(u64), cu64&0xffffffff-1<<32)
    	//	chki32(int32(f32), 0)
    	//	chki32(int32(f64), 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/internal/notsha256/sha256.go

    	binary.BigEndian.PutUint32(digest[0:], d.h[0]^0xFFFFFFFF)
    	binary.BigEndian.PutUint32(digest[4:], d.h[1]^0xFFFFFFFF)
    	binary.BigEndian.PutUint32(digest[8:], d.h[2]^0xFFFFFFFF)
    	binary.BigEndian.PutUint32(digest[12:], d.h[3]^0xFFFFFFFF)
    	binary.BigEndian.PutUint32(digest[16:], d.h[4]^0xFFFFFFFF)
    	binary.BigEndian.PutUint32(digest[20:], d.h[5]^0xFFFFFFFF)
    	binary.BigEndian.PutUint32(digest[24:], d.h[6]^0xFFFFFFFF)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. test/fixedbugs/bug114.go

    package main
    
    const B32 = 1<<32 - 1
    const C32 = (-1) & ((1 << 32) - 1)
    const D32 = ^0
    
    func main() {
    	if B32 != 0xFFFFFFFF {
    		println("1<<32 - 1 is", B32, "should be", 0xFFFFFFFF)
    		panic("fail")
    	}
    	if C32 != 0xFFFFFFFF {
    		println("(-1) & ((1<<32) - 1) is", C32, "should be", 0xFFFFFFFF)
    		panic("fail")
    	}
    	if D32 != -1 {
    		println("^0 is", D32, "should be", -1)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:19:59 UTC 2012
    - 556 bytes
    - Viewed (0)
  8. test/fixedbugs/issue23305.go

    }
    
    var mask2 = mask1
    
    func main() {
    	res1 := mask1(0x1, 0xfffffffeffffffff)
    	res2 := mask2(0x1, 0xfffffffeffffffff)
    	if res1 != 0xffffffff {
    		println("got", res1, "want", 0xffffffff)
    		panic("FAIL")
    	}
    	if res2 != 0xffffffff {
    		println("got", res2, "want", 0xffffffff)
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 02 21:08:35 UTC 2018
    - 575 bytes
    - Viewed (0)
  9. test/float_lit2.go

    	{0x7f7fffff, float32(max32), float32(max32 - ulp32 + ulp32/2 + ulp32/two64), "max32 - ulp32 + ulp32/2 + ulp32/two64"},
    	{0x7f7fffff, float32(max32), float32(max32 - ulp32/2 + ulp32/two64), "max32 - ulp32/2 + ulp32/two64"},
    	{0x7f7fffff, float32(max32), float32(max32), "max32"},
    	{0x7f7fffff, float32(max32), float32(max32 + ulp32/2 - ulp32/two64), "max32 + ulp32/2 - ulp32/two64"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue15141.go

    	println(a[1], b[1], c[1], a[0xFFFFFFe], b[0xFFFFFFe], c[0xFFFFFFe])
    }
    
    //go:noinline
    func f(i, y int) (a [0xFFFFFFF]byte) {
    	a[i] = byte(y)
    	return
    }
    
    //go:noinline
    func g(i, y int) [0xFFFFFFF]byte {
    	var a [0xFFFFFFF]byte
    	a[i] = byte(y)
    	return a
    }
    
    //go:noinline
    func h(i, y int) (a [0xFFFFFFF]byte) {
    	a[i] = byte(y)
    	return a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:29:27 UTC 2016
    - 595 bytes
    - Viewed (0)
Back to top