Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for 9223372036854775807 (0.56 sec)

  1. src/crypto/tls/conn.go

    	N int64
    }
    
    func (r *atLeastReader) Read(p []byte) (int, error) {
    	if r.N <= 0 {
    		return 0, io.EOF
    	}
    	n, err := r.R.Read(p)
    	r.N -= int64(n) // won't underflow unless len(p) >= n > 9223372036854775809
    	if r.N > 0 && err == io.EOF {
    		return n, io.ErrUnexpectedEOF
    	}
    	if r.N <= 0 && err == nil {
    		return n, io.EOF
    	}
    	return n, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{"0.9n", decQuantity(1, -9, DecimalSI)},
    		{"0.00000012345", decQuantity(124, -9, DecimalSI)},
    		{"0.00000012354", decQuantity(124, -9, DecimalSI)},
    		{"9Ei", Quantity{d: maxAllowed, Format: BinarySI}},
    		{"9223372036854775807Ki", Quantity{d: maxAllowed, Format: BinarySI}},
    		{"12E", decQuantity(12, 18, DecimalSI)},
    
    		// We'll accept fractional binary stuff, too.
    		{"100.035Ki", decQuantity(10243584, -2, BinarySI)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/arith_test.go

    			if e, ok := r.(runtime.Error); ok {
    				t.Logf("%v\n", e.Error())
    			}
    		}
    	}()
    	var w int8 = -128
    	var x int16 = -32768
    	var y int32 = -2147483648
    	var z int64 = -9223372036854775808
    
    	for i := -5; i < 0; i++ {
    		g8 = w / int8(i)
    		g16 = x / int16(i)
    		g32 = y / int32(i)
    		g64 = z / int64(i)
    		g8 = w % int8(i)
    		g16 = x % int16(i)
    		g32 = y % int32(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  4. src/time/time_test.go

    	// 9007199254740993 = 1<<53+1 cannot be stored precisely in a float64
    	{"9007199254740993ns", (1<<53 + 1) * Nanosecond},
    	// largest duration that can be represented by int64 in nanoseconds
    	{"9223372036854775807ns", (1<<63 - 1) * Nanosecond},
    	{"9223372036854775.807us", (1<<63 - 1) * Nanosecond},
    	{"9223372036s854ms775us807ns", (1<<63 - 1) * Nanosecond},
    	{"-9223372036854775808ns", -1 << 63 * Nanosecond},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top