Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for 9223372036854775807 (0.17 sec)

  1. src/go/parser/parser_test.go

    // TestIssue59180 tests that line number overflow doesn't cause an infinite loop.
    func TestIssue59180(t *testing.T) {
    	testcases := []string{
    		"package p\n//line :9223372036854775806\n\n//",
    		"package p\n//line :1:9223372036854775806\n\n//",
    		"package p\n//line file:9223372036854775806\n\n//",
    	}
    
    	for _, src := range testcases {
    		_, err := ParseFile(token.NewFileSet(), "", src, ParseComments)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

            if (isAndroid && a == -4294967296L && b == 2147483648L) {
              /*
               * Bug in older versions of Android we test against, since fixed: -9223372036854775808L /
               * -4294967296L = -9223372036854775808L!
               *
               * To be clear, this bug affects not the test's computation of the expected result but the
               * _actual prod code_. But it probably affects only unusual cases.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/LongMathTest.java

            if (isAndroid && a == -4294967296L && b == 2147483648L) {
              /*
               * Bug in older versions of Android we test against, since fixed: -9223372036854775808L /
               * -4294967296L = -9223372036854775808L!
               *
               * To be clear, this bug affects not the test's computation of the expected result but the
               * _actual prod code_. But it probably affects only unusual cases.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(Adapters.INTEGER_AS_LONG.toDer(Long.MIN_VALUE)).isEqualTo(bytes)
      }
    
      @Test fun `bigger than max long`() {
        val bytes = "0209008000000000000001".decodeHex()
        val bigInteger = BigInteger("9223372036854775809")
        assertThat(Adapters.INTEGER_AS_BIG_INTEGER.fromDer(bytes)).isEqualTo(bigInteger)
        assertThat(Adapters.INTEGER_AS_BIG_INTEGER.toDer(bigInteger)).isEqualTo(bytes)
      }
    
      @Test fun `utf8 string`() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. test/codegen/arithmetic.go

    		// and the normal JMP generated at the end of the block.
    		d += e
    	}
    	return d, e
    }
    
    func NoFix64B(divd int64) (int64, int64) {
    	var d int64
    	var e int64
    	var divr int64 = -1
    	if divd > -9223372036854775808 {
    		d = divd / divr // amd64:-"JMP"
    		e = divd % divr // amd64:-"JMP"
    		d += e
    	}
    	return d, e
    }
    
    func NoFix32A(divr int32) (int32, int32) {
    	var d int32 = 42
    	var e int32 = 84
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		},
    		// too big of the integer
    		{
    			filenames:    []string{"92233720368547758089223372036854775808.log.rotated"},
    			restartCount: 0,
    		},
    		// mix of log files
    		{
    			filenames:    []string{"9223372036854775808.log.rotated", "23.log", "23a.log", "1aaa.log.rotated", "2.log", "3.log.rotated"},
    			restartCount: 24,
    		},
    		// prefixed
    		{
    			filenames:    []string{"rotated.23.log"},
    			restartCount: 0,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              assertEquals(expected, BigIntegerMath.divide(p, q, mode));
            }
          }
        }
      }
    
      private static final BigInteger BAD_FOR_ANDROID_P = new BigInteger("-9223372036854775808");
      private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1");
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZeroExact() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top