Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for 9223372036854775807 (0.54 sec)

  1. src/net/http/transfer_test.go

    			wantErr: badStringError("bad Content-Length", "-3"),
    		},
    		{
    			// max int64, for safe conversion before returning
    			cl:      "9223372036854775807",
    			wantErr: nil,
    		},
    		{
    			cl:      "9223372036854775808",
    			wantErr: badStringError("bad Content-Length", "9223372036854775808"),
    		},
    	}
    
    	for _, tt := range tests {
    		if _, gotErr := parseContentLength([]string{tt.cl}); !reflect.DeepEqual(gotErr, tt.wantErr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. internal/config/api/api.go

    			Key:   apiRootAccess,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   apiSyncEvents,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   apiObjectMaxVersions,
    			Value: "9223372036854775807",
    		},
    	}
    )
    
    // Config storage class configuration
    type Config struct {
    	RequestsMax                 int           `json:"requests_max"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    			want:          int64(0),
    			assertOnError: assertNilError,
    		},
    		{
    			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)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        }
      }
    
      public void testParseLong() {
        assertThat(UnsignedLongs.parseUnsignedLong("18446744073709551615"))
            .isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.parseUnsignedLong("9223372036854775807"))
            .isEqualTo(0x7fffffffffffffffL);
        assertThat(UnsignedLongs.parseUnsignedLong("18382112080831834642"))
            .isEqualTo(0xff1a618b7f65ea12L);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        }
      }
    
      public void testParseLong() {
        assertThat(UnsignedLongs.parseUnsignedLong("18446744073709551615"))
            .isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.parseUnsignedLong("9223372036854775807"))
            .isEqualTo(0x7fffffffffffffffL);
        assertThat(UnsignedLongs.parseUnsignedLong("18382112080831834642"))
            .isEqualTo(0xff1a618b7f65ea12L);
    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. src/internal/fuzz/encoding_test.go

    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
    int(9223372036854775807)
    uint(18446744073709551615)`
    				default:
    					panic("unreachable")
    				}
    			}(),
    		},
    		{
    			desc: "windows new line",
    			in:   "go test fuzz v1\r\nint(0)\r\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    	unstructuredObj := gottenNoxuInstance.(*unstructured.Unstructured).Object
    	num := unstructuredObj["num"].(map[string]interface{})
    	num1 := num["num1"].(int64)
    	num2 := num["num2"].(int64)
    	if num1 != 9223372036854775807 || num2 != 1000000 {
    		t.Errorf("Expected %v, got %v, %v", `9223372036854775807, 1000000`, num1, num2)
    	}
    }
    
    func TestPatch(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64.s

    	AND	R1@>33, R2
    	AND	$(1<<63), R1                        // AND	$-9223372036854775808, R1       // 21004192
    	AND	$(1<<63-1), R1                      // AND	$9223372036854775807, R1        // 21f84092
    	ORR	$(1<<63), R1                        // ORR	$-9223372036854775808, R1       // 210041b2
    	ORR	$(1<<63-1), R1                      // ORR	$9223372036854775807, R1        // 21f840b2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 94.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    			ExpectedResult: `{"int64":1000000,"name":"newname"}`,
    		},
    		"int64 max": {
    			Old:            `{"int64":9223372036854775807}`,
    			New:            `{"int64":9223372036854775807,"name":"newname"}`,
    			ExpectedPatch:  `{"name":"newname"}`,
    			ExpectedResult: `{"int64":9223372036854775807,"name":"newname"}`,
    		},
    		"float32 max": {
    			Old:            `{"float32":3.4028234663852886e+38}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    			"638952175999932299156089414639761565182862536979208272237582" +
    			"511852109168640000000000000000000000", // -99!
    	},
    
    	// overflow situations
    	{math.MaxInt64 - 0, math.MaxInt64, "9223372036854775807"},
    	{math.MaxInt64 - 1, math.MaxInt64, "85070591730234615838173535747377725442"},
    	{math.MaxInt64 - 2, math.MaxInt64, "784637716923335094969050127519550606919189611815754530810"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top