Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for 9223372036854775807 (0.24 sec)

  1. utils/utils_test.go

    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/math/rand/v2/regress_test.go

    	int64(183731176326946086),  // Int64N(1000000000000000000)
    	int64(680987186633600239),  // Int64N(1152921504606846976)
    	int64(4102454148908803108), // Int64N(9223372036854775806)
    	int64(8679174511200971228), // Int64N(9223372036854775807)
    	int64(0),                   // Int64N(1)
    	int64(3),                   // Int64N(10)
    	int64(27),                  // Int64N(32)
    	int64(665831),              // Int64N(1048576)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/decls1.go

    	v2 = c + 255
    	v3 = c + 256 /* ERROR "overflows" */
    	v4 = r + 2147483647
    	v5 = r + 2147483648 /* ERROR "overflows" */
    	v6 = 42
    	v7 = v6 + 9223372036854775807
    	v8 = v6 + 9223372036854775808 /* ERROR "overflows" */
    	v9 = i + 1 << 10
    	v10 byte = 1024 /* ERROR "overflows" */
    	v11 = xx/yy*yy - xx
    	v12 = true && false
    	v13 = nil /* ERROR "use of untyped nil" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top