Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for 1b7fffffffffffffff (0.29 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    		},
    		{
    			name:          "int64 max positive value",
    			in:            hex("1b7fffffffffffffff"), // 9223372036854775807
    			want:          int64(9223372036854775807),
    			assertOnError: assertNilError,
    		},
    		{
    			name: "max positive integer value supported by cbor: 2^64 - 1",
    			in:   hex("1bffffffffffffffff"), // 18446744073709551615
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/math_test.go

    		q = (int64(0x7fffffffffffffff) - int64(i) - (q & 1)) / -int64(i)
    	}
    	Output = int(q)
    }
    
    func BenchmarkDiv64NegDividend(b *testing.B) {
    	q := int64(-1)
    	for i := 1; i <= b.N; i++ {
    		q = -(int64(0x7fffffffffffffff) - int64(i) - (q & 1)) / int64(i)
    	}
    	Output = int(q)
    }
    
    func BenchmarkDiv64NegBoth(b *testing.B) {
    	q := int64(-1)
    	for i := 1; i <= b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. src/runtime/sys_wasm.s

    TEXT runtime·wasmTruncS(SB), NOSPLIT, $0-0
    	Get R0
    	Get R0
    	F64Ne // NaN
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    	F64Const $0x7ffffffffffffc00p0 // Maximum truncated representation of 0x7fffffffffffffff
    	F64Gt
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    	F64Const $-0x7ffffffffffffc00p0 // Minimum truncated representation of -0x8000000000000000
    	F64Lt
    	If
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/io/fs/format_test.go

    			isDir:   true,
    		},
    		"drwxr-xr-x 0 1970-01-01 12:00:00 home/gopher/",
    		"d home/gopher/",
    	},
    	{
    		formatTest{
    			name:    "big",
    			size:    0x7fffffffffffffff,
    			mode:    ModeIrregular | 0o644,
    			modTime: time.Date(1970, time.January, 1, 12, 0, 0, 0, time.UTC),
    			isDir:   false,
    		},
    		"?rw-r--r-- 9223372036854775807 1970-01-01 12:00:00 big",
    		"? big",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 17:59:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go

    var szs = []sizedTestData{
    	sizedTestData{name: "uint64", sn: "64", u: []uint64{0, 1, 4294967296, 0xffffFFFFffffFFFF}},
    	sizedTestData{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF,
    		-4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}},
    
    	sizedTestData{name: "uint32", sn: "32", u: []uint64{0, 1, 4294967295}},
    	sizedTestData{name: "int32", sn: "32", i: []int64{-0x80000000, -0x7FFFFFFF, -1, 0,
    		1, 0x7FFFFFFF}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    		},
    		{
    			example: hex("1a000f4240"),
    			decoded: int64(1000000),
    		},
    		{
    			example: hex("1b000000e8d4a51000"),
    			decoded: int64(1000000000000),
    		},
    		{
    			example: hex("1bffffffffffffffff"),
    			reject:  "2^64-1 overflows int64 and falling back to float64 (as with JSON) loses distinction between float and integer",
    		},
    		{
    			example: hex("c249010000000000000000"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    	{name: "uint64", sn: "64", u: []uint64{3, 5, 7, 9, 10, 11, 13, 19, 21, 25, 27, 37, 41, 45, 73, 81}, oponly: "mul"},
    
    	{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF,
    		-4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}},
    	{name: "int64", sn: "64", i: []int64{-9, -5, -3, 3, 5, 7, 9, 10, 11, 13, 19, 21, 25, 27, 37, 41, 45, 73, 81}, oponly: "mul"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. src/strconv/itoa_test.go

    	{1 << 15, 2, "1000000000000000"},
    
    	{-8, 8, "-10"},
    	{057635436545, 8, "57635436545"},
    	{1 << 24, 8, "100000000"},
    
    	{16, 16, "10"},
    	{-0x123456789abcdef, 16, "-123456789abcdef"},
    	{1<<63 - 1, 16, "7fffffffffffffff"},
    	{1<<63 - 1, 2, "111111111111111111111111111111111111111111111111111111111111111"},
    	{-1 << 63, 2, "-1000000000000000000000000000000000000000000000000000000000000000"},
    
    	{16, 17, "g"},
    	{25, 25, "10"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:09:39 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    }
    
    var szs []szD = []szD{
    	szD{name: "uint64", sn: "64", u: []uint64{0, 1, 4294967296, 0xffffFFFFffffFFFF}},
    	szD{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF,
    		-4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}},
    
    	szD{name: "uint32", sn: "32", u: []uint64{0, 1, 4294967295}},
    	szD{name: "int32", sn: "32", i: []int64{-0x80000000, -0x7FFFFFFF, -1, 0,
    		1, 0x7FFFFFFF}},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        } else if (frameLength == PAYLOAD_LONG.toLong()) {
          frameLength = source.readLong()
          if (frameLength < 0L) {
            throw ProtocolException(
              "Frame length 0x${frameLength.toHexString()} > 0x7FFFFFFFFFFFFFFF",
            )
          }
        }
    
        if (isControlFrame && frameLength > PAYLOAD_BYTE_MAX) {
          throw ProtocolException("Control frame must be less than ${PAYLOAD_BYTE_MAX}B.")
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top