Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 1b7fffffffffffffff (0.17 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. 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)
  3. 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)
  4. src/internal/fuzz/encoding_test.go

    			want: `go test fuzz v1
    rune('\x00')
    rune('A')
    int32(-1)
    rune('�')
    int32(55296)
    rune('\U0010ffff')
    int32(1114112)`,
    		},
    		{
    			desc: "int overflow",
    			in: `go test fuzz v1
    int(0x7fffffffffffffff)
    uint(0xffffffffffffffff)`,
    			want: func() string {
    				switch strconv.IntSize {
    				case 32:
    					return `go test fuzz v1
    int(-1)
    uint(4294967295)`
    				case 64:
    					return `go test fuzz v1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K 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/runtime/mgcscavenge.go

    	case 8:
    		x = apply(x, 0x7f7f7f7f7f7f7f7f)
    	case 16:
    		x = apply(x, 0x7fff7fff7fff7fff)
    	case 32:
    		x = apply(x, 0x7fffffff7fffffff)
    	case 64: // == maxPagesPerPhysPage
    		x = apply(x, 0x7fffffffffffffff)
    	default:
    		throw("bad m value")
    	}
    	// Now, the top bit of each m-aligned group in x is set
    	// that group was all zero in the original x.
    
    	// From each group of m bits subtract 1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top