Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 3bffffffffffffffff (0.21 sec)

  1. test/intcvt.go

    	chki64(int64(i8), ci8&0xffffffffffffffff-1<<64)
    	chki64(int64(i16), ci16&0xffffffffffffffff-1<<64)
    	chki64(int64(i32), ci32&0xffffffffffffffff-1<<64)
    	chki64(int64(i64), ci64&0xffffffffffffffff-1<<64)
    	chki64(int64(u8), cu8&0xffffffffffffffff)
    	chki64(int64(u16), cu16&0xffffffffffffffff)
    	chki64(int64(u32), cu32&0xffffffffffffffff)
    	chki64(int64(u64), cu64&0xffffffffffffffff-1<<64)
    	//	chki64(int64(f32), 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)
  2. src/internal/runtime/atomic/atomic_andor_test.go

    		}
    	}
    }
    
    func TestAnd64(t *testing.T) {
    	// Basic sanity check.
    	x := uint64(0xffffffffffffffff)
    	sink = &x
    	for i := uint64(0); i < 64; i++ {
    		old := x
    		v := atomic.And64(&x, ^(1 << i))
    		if r := uint64(0xffffffffffffffff) << (i + 1); x != r || v != old {
    			t.Fatalf("clearing bit %#x: want %#x, got new %#x and old %#v", uint64(1<<i), r, x, v)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 27 20:49:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/math/floor_amd64.s

    	CMPQ	DX,CX
    	JAE     isBig_floor
    	MOVQ	AX, X0 // X0 = x
    	CVTTSD2SQ	X0, AX
    	CVTSQ2SD	AX, X1 // X1 = float(int(x))
    	CMPSD	X1, X0, 1 // compare LT; X0 = 0xffffffffffffffff or 0
    	MOVSD	$(-1.0), X2
    	ANDPD	X2, X0 // if x < float(int(x)) {X0 = -1} else {X0 = 0}
    	ADDSD	X1, X0
    	MOVSD	X0, ret+8(FP)
    	RET
    isBig_floor:
    	MOVQ    AX, ret+8(FP) // return x
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testerrors/testdata/malloc.go

    package main
    
    // #include <stdlib.h>
    import "C"
    
    import (
    	"fmt"
    	"runtime"
    )
    
    func main() {
    	var size C.size_t
    	size--
    
    	// The Dragonfly libc succeeds when asked to allocate
    	// 0xffffffffffffffff bytes, so pass a different value that
    	// causes it to fail.
    	if runtime.GOOS == "dragonfly" {
    		size = C.size_t(0x7fffffff << (32 * (^uintptr(0) >> 63)))
    	}
    
    	p := C.malloc(size)
    	if p == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 766 bytes
    - Viewed (0)
  5. src/runtime/sys_wasm.s

    TEXT runtime·wasmTruncU(SB), NOSPLIT, $0-0
    	Get R0
    	Get R0
    	F64Ne // NaN
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    	F64Const $0xfffffffffffff800p0 // Maximum truncated representation of 0xffffffffffffffff
    	F64Gt
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    	F64Const $0.
    	F64Lt
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    	I64TruncF64U
    	Return
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/runtime/conv_wasm_test.go

    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      -0x7ffffffffffffdfe,
    			convInt64:  -0x7ffffffffffffc00,
    			convUInt64: 0x8000000000000000,
    		},
    		// umax +- 1
    		{
    			input:      0xffffffffffffffff,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      0x10000000000000000,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 06 13:55:00 UTC 2020
    - 3K bytes
    - Viewed (0)
  7. test/asmhdr.dir/main.go

    	// fits in uint64. go/constant uses a different representation for
    	// values larger than int64, but the cmd/asm parser can't parse
    	// anything bigger than a uint64.
    	bigInt = 0xffffffffffffffff
    
    	stringVal = "test"
    
    	longStringVal = "this_is_a_string_constant_longer_than_seventy_characters_which_used_to_fail_see_issue_50253"
    )
    
    var (
    	smallIntAsm   int64
    	bigIntAsm     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4_test.go

    		want    uint64
    		wantErr string
    	}
    	tests := []testCase{
    		{"x", 0, "invalid byte in chunk length"},
    		{"0000000000000000", 0, ""},
    		{"0000000000000001", 1, ""},
    		{"ffffffffffffffff", 1<<64 - 1, ""},
    		{"FFFFFFFFFFFFFFFF", 1<<64 - 1, ""},
    		{"000000000000bogus", 0, "invalid byte in chunk length"},
    		{"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. src/internal/fuzz/encoding_test.go

    			// break the parser. Verify that integers in the opposite bases still
    			// parse correctly.
    			in: `go test fuzz v1
    int(0x0)
    int32(0x41)
    int64(0xfffffffff)
    uint32(0xcafef00d)
    uint64(0xffffffffffffffff)
    uint8(0b0000000)
    byte(0x0)
    byte('\000')
    byte('\u0000')
    byte('\'')
    math.Float64frombits(9221120237041090562)
    math.Float32frombits(2143289345)`,
    			want: `go test fuzz v1
    int(0)
    rune('A')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/s390x/rotate_test.go

    	tests := []struct {
    		// inputs
    		src  RotateParams
    		mask uint64
    
    		// results
    		in  *RotateParams
    		out *RotateParams
    	}{
    		{
    			src:  RotateParams{Start: 48, End: 15, Amount: 16},
    			mask: 0xffffffffffffffff,
    			in:   &RotateParams{Start: 48, End: 15, Amount: 16},
    			out:  &RotateParams{Start: 48, End: 15, Amount: 16},
    		},
    		{
    			src:  RotateParams{Start: 16, End: 47, Amount: 0},
    			mask: 0x00000000ffffffff,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:17:59 UTC 2020
    - 3.6K bytes
    - Viewed (0)
Back to top