Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 1b7fffffffffffffff (0.14 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/testdata/fp_test.go

    		expect64(t, "a", a, 127)
    		expect64(t, "b", b, 255)
    		expect64(t, "c", c, 32767)
    		expect64(t, "d", d, 65535)
    		expect64(t, "e", e, float64(int32(0x7fffffff)))
    		expect64(t, "f", f, float64(uint32(0xffffffff)))
    		expect64(t, "g", g, float64(int64(0x7fffffffffffffff)))
    		expect64(t, "h", h, float64(uint64(0xffffffffffffffff)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          fail();
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testToString() {
        String[] tests = {
          "0",
          "ffffffffffffffff",
          "7fffffffffffffff",
          "ff1a618b7f65ea12",
          "5a4316b8c153ac4d",
          "6cf78a4b139a4e2a"
        };
        int[] bases = {2, 5, 7, 8, 10, 16};
        for (int base : bases) {
          for (String x : tests) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Frame length 0x8000000000000000 > 0x7FFFFFFFFFFFFFFF",
          )
        }
      }
    
      @Test fun serverHelloTwoChunks() {
        data.write("818537fa213d7f9f4d".decodeHex()) // Hel
        data.write("5158".decodeHex()) // lo
        serverReader.processNextFrame()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          fail();
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testToString() {
        String[] tests = {
          "0",
          "ffffffffffffffff",
          "7fffffffffffffff",
          "ff1a618b7f65ea12",
          "5a4316b8c153ac4d",
          "6cf78a4b139a4e2a"
        };
        int[] bases = {2, 5, 7, 8, 10, 16};
        for (int base : bases) {
          for (String x : tests) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. src/strconv/atoi_test.go

    	// base 8
    	{"-10", 8, -8, nil},
    	{"57635436545", 8, 057635436545, nil},
    	{"100000000", 8, 1 << 24, nil},
    
    	// base 16
    	{"10", 16, 16, nil},
    	{"-123456789abcdef", 16, -0x123456789abcdef, nil},
    	{"7fffffffffffffff", 16, 1<<63 - 1, nil},
    
    	// underscores
    	{"-0x_1_2_3_4_5", 0, -0x12345, nil},
    	{"0x_1_2_3_4_5", 0, 0x12345, nil},
    	{"-_0x12345", 0, 0, ErrSyntax},
    	{"_-0x12345", 0, 0, ErrSyntax},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/ipallocator_test.go

    			offset:  255,
    			want:    netip.MustParseAddr("192.168.0.255"),
    		},
    		{
    			name:    "IPv6 offset last",
    			address: netip.MustParseAddr("fd00:1:2:3::"),
    			offset:  0x7FFFFFFFFFFFFFFF,
    			want:    netip.MustParseAddr("fd00:1:2:3:7FFF:FFFF:FFFF:FFFF"),
    		},
    		{
    			name:    "IPv4 offset middle",
    			address: netip.MustParseAddr("192.168.0.0"),
    			offset:  128,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  10. src/syscall/zerrors_aix_ppc64.go

    	RLIMIT_DATA                   = 0x2
    	RLIMIT_FSIZE                  = 0x1
    	RLIMIT_NOFILE                 = 0x7
    	RLIMIT_STACK                  = 0x3
    	RLIM_INFINITY                 = 0x7fffffffffffffff
    	RTAX_AUTHOR                   = 0x6
    	RTAX_BRD                      = 0x7
    	RTAX_DST                      = 0x0
    	RTAX_GATEWAY                  = 0x1
    	RTAX_GENMASK                  = 0x3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 16:18:12 UTC 2019
    - 47.2K bytes
    - Viewed (0)
Back to top