Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for 9223372036854775807 (0.18 sec)

  1. src/math/rand/regress_test.go

    	int64(543572285742637646),           // Int63n(1000000000000000000)
    	int64(355889821886249464),           // Int63n(1152921504606846976)
    	int64(8325060299420976708),          // Int63n(9223372036854775806)
    	int64(7837839688282259259),          // Int63n(9223372036854775807)
    	int64(0),                            // Int63n(1)
    	int64(0),                            // Int63n(10)
    	int64(25),                           // Int63n(32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    		},
    		{
    			input:  "9223372036854775807", // math.MaxInt64
    			output: IntOrString{Type: String, StrVal: "9223372036854775807"},
    		},
    		{
    			input:  "-9223372036854775808", // math.MinInt64
    			output: IntOrString{Type: String, StrVal: "-9223372036854775808"},
    		},
    		{
    			input:  "9223372036854775808", // math.MaxInt64+1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    	"k8s.io/client-go/discovery"
    	"k8s.io/client-go/dynamic"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/restmapper"
    	"k8s.io/client-go/scale"
    )
    
    const (
    	noxuInstanceNum int64 = 9223372036854775807
    )
    
    // AllowAllSchema doesn't enforce any schema restrictions
    func AllowAllSchema() *apiextensionsv1.CustomResourceValidation {
    	return &apiextensionsv1.CustomResourceValidation{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
Back to top