HomeSort by relevance Sort by last modified time
    Searched full:max_value (Results 1 - 25 of 1059) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tools/vm-tests/src/dot/junit/opcodes/rsub_int/
Test_rsub_int.java 70 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE
71 * 2: a = Short.MAX_VALUE, b = 0, b-a = -Short.MAX_VALUE
75 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE));
76 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE));
100 * 1: a = 0, b = Short.MAX_VALUE, b-a = Short.MAX_VALUE
    [all...]
  /cts/tools/vm-tests/src/dot/junit/opcodes/rsub_int_lit8/
Test_rsub_int_lit8.java 70 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE
71 * 2: a = Byte.MAX_VALUE, b = 0, b-a = -Byte.MAX_VALUE
75 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE));
76 assertEquals(-Byte.MAX_VALUE, t.run(Byte.MAX_VALUE));
100 * 1: a = 0, b = Byte.MAX_VALUE, b-a = Byte.MAX_VALUE
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/
Test_rsub_int.java 58 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE
59 * 2: a = Short.MAX_VALUE, b = 0, b-a = -Short.MAX_VALUE
63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE));
64 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE));
88 * 1: a = 0, b = Short.MAX_VALUE, b-a = Short.MAX_VALUE
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.3.2-2.js 24 ECMA Section: 15.7.3.2 Number.MAX_VALUE
28 this test checks the DontDelete attribute of Number.MAX_VALUE
37 var TITLE = "Number.MAX_VALUE: DontDelete Attribute";
49 array[item++] = new TestCase( SECTION, "delete( Number.MAX_VALUE ); Number.MAX_VALUE", 1.7976931348623157e308, "delete( Number.MAX_VALUE );Number.MAX_VALUE" );
50 array[item++] = new TestCase( SECTION, "delete( Number.MAX_VALUE )", false, "delete( Number.MAX_VALUE )" );
15.7.3.2-3.js 24 ECMA Section: 15.7.3.2 Number.MAX_VALUE
28 this test checks the ReadOnly attribute of Number.MAX_VALUE
37 var TITLE = "Number.MAX_VALUE";
51 "Number.MAX_VALUE=0; Number.MAX_VALUE",
53 eval("Number.MAX_VALUE=0; Number.MAX_VALUE") );
15.7.3.2-1.js 24 ECMA Section: 15.7.3.2 Number.MAX_VALUE
28 this test checks the value of MAX_VALUE
37 var TITLE = "Number.MAX_VALUE";
49 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE", 1.7976931348623157e308, Number.MAX_VALUE );
15.7.3.2-4.js 24 ECMA Section: 15.7.3.2 Number.MAX_VALUE
28 this test checks the DontEnum attribute of Number.MAX_VALUE
36 var TITLE = "Number.MAX_VALUE: DontEnum Attribute";
47 "var string = ''; for ( prop in Number ) { string += ( prop == 'MAX_VALUE' ) ? prop : '' } string;",
49 eval("var string = ''; for ( prop in Number ) { string += ( prop == 'MAX_VALUE' ) ? prop : '' } string;")
  /cts/tools/dx-tests/src/dxc/junit/opcodes/isub/
Test_isub.java 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647));
58 * @title Arguments = 0, Integer.MAX_VALUE
62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE));
66 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
74 * @title Arguments = Integer.MAX_VALUE, -1
78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1));
86 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1))
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/
Test_rsub_int_lit8.java 58 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE
59 * 2: a = Byte.MAX_VALUE, b = 0, b-a = -Byte.MAX_VALUE
63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE));
64 assertEquals(-Byte.MAX_VALUE, t.run(Byte.MAX_VALUE));
88 * 1: a = 0, b = Byte.MAX_VALUE, b-a = Byte.MAX_VALUE
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
CredentialsTest.java 60 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
61 assertEquals(Integer.MAX_VALUE, cred.getGid());
62 assertEquals(Integer.MAX_VALUE, cred.getPid());
63 assertEquals(Integer.MAX_VALUE, cred.getUid());
  /external/v8/test/mjsunit/
override-read-only-property.js 38 var original_number_max = Number.MAX_VALUE;
43 assertEquals(original_number_max, f.MAX_VALUE);
44 f.MAX_VALUE = 42;
45 assertEquals(42, f.MAX_VALUE);
51 MAX_VALUE = 42;
53 assertEquals(42, f.MAX_VALUE);
56 Number.MAX_VALUE = 42;
57 assertEquals(original_number_max, Number.MAX_VALUE);
  /frameworks/media/libvideoeditor/osal/src/
M4OSA_Random.c 62 * @fn M4OSA_ERR M4OSA_rand(M4OSA_Int32* out_value, M4OSA_UInt32 max_value)
63 * @brief This function gives a random number between 1 and max_value
65 * returns this number in out_value. For instance, a max_value
69 * @param max_value (IN): max expected value
74 M4OSA_ERR M4OSA_rand(M4OSA_Int32* out_value, M4OSA_UInt32 max_value)
76 if( (out_value == M4OSA_NULL) || (max_value < 1) )
83 won't overflow, which means that max_value typically shouldn't go over the range of
85 (*out_value) = (((*out_value) * max_value) / ((M4OSA_UInt32)RAND_MAX + 1)) + 1;
  /libcore/luni/src/test/java/libcore/java/lang/
OldFloatTest.java 33 Float f = new Float(Double.MAX_VALUE);
64 assertTrue(new Float(Float.MAX_VALUE).hashCode() != new Float(Float.MIN_VALUE).hashCode());
78 assertEquals(Integer.MAX_VALUE, new Float(Float.MAX_VALUE).intValue());
84 assertFalse(Float.isNaN(Float.MAX_VALUE));
89 assertEquals(Long.MAX_VALUE, new Float(Float.MAX_VALUE).longValue());
OldLongTest.java 65 assertEquals(Long.MAX_VALUE, new Long(Long.MAX_VALUE).floatValue(), 0F);
70 assertEquals(-1, new Long(Long.MAX_VALUE).intValue());
75 assertEquals(Long.MAX_VALUE, new Long(Long.MAX_VALUE).longValue());
80 assertEquals(-1, new Long(Long.MAX_VALUE).shortValue());
  /libcore/luni/src/test/java/libcore/java/text/
OldParsePositionTest.java 23 ParsePosition pp = new ParsePosition(Integer.MAX_VALUE);
31 pp1.setIndex(Integer.MAX_VALUE);
40 pp.setErrorIndex(Integer.MAX_VALUE);
41 assertEquals("getErrorIndex failed.", Integer.MAX_VALUE,
43 assertEquals("getErrorIndex failed.", Integer.MAX_VALUE,
OldFieldPositionTest.java 54 fpos.setBeginIndex(Integer.MAX_VALUE);
55 assertEquals("beginIndex should have been set to Integer.MAX_VALUE",
56 Integer.MAX_VALUE, fpos.getBeginIndex());
71 fpos.setEndIndex(Integer.MAX_VALUE);
72 assertEquals("endIndex should have been set to Integer.MAX_VALUE",
73 Integer.MAX_VALUE, fpos.getEndIndex());
  /cts/tools/dx-tests/src/dxc/junit/opcodes/iadd/
Test_iadd.java 74 * @title Arguments = 0, Integer.MAX_VALUE
78 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE));
82 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
86 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
90 * @title Arguments = Integer.MAX_VALUE, 1
94 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1));
  /cts/tools/vm-tests/src/dot/junit/opcodes/sub_int/
Test_sub_int.java 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647));
71 * @title Arguments = 0, Integer.MAX_VALUE
75 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE));
79 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
83 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
87 * @title Arguments = Integer.MAX_VALUE, -1
91 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1));
99 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1))
    [all...]
  /cts/tools/vm-tests/src/dot/junit/opcodes/sub_int_2addr/
Test_sub_int_2addr.java 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647));
70 * @title Arguments = 0, Integer.MAX_VALUE
74 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE));
78 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
82 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
86 * @title Arguments = Integer.MAX_VALUE, -1
90 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1));
98 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1))
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/
Test_sub_int.java 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647));
59 * @title Arguments = 0, Integer.MAX_VALUE
63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE));
67 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
71 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
75 * @title Arguments = Integer.MAX_VALUE, -1
79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1));
87 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1))
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/
Test_sub_int_2addr.java 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647));
58 * @title Arguments = 0, Integer.MAX_VALUE
62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE));
66 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
74 * @title Arguments = Integer.MAX_VALUE, -1
78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1));
86 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1))
    [all...]
  /dalvik/dx/tests/072-dex-switch-edge-cases/
Blort.java 48 // Single element: Integer.MAX_VALUE.
51 case Integer.MAX_VALUE: return 0;
67 // Two elements: 0 and Integer.MAX_VALUE.
71 case Integer.MAX_VALUE: return 1;
77 // Two elements: Integer.MIN_VALUE and Integer.MAX_VALUE.
81 case Integer.MAX_VALUE: return 1;
  /cts/tools/vm-tests/src/dot/junit/opcodes/add_int_lit16/d/
T_add_int_lit16_8.java 22 return Integer.MAX_VALUE + Short.MAX_VALUE;
  /cts/tools/vm-tests/src/dot/junit/opcodes/add_int_lit8/d/
T_add_int_lit8_8.java 22 return Integer.MAX_VALUE + Byte.MAX_VALUE;
  /cts/tools/vm-tests/src/dot/junit/opcodes/if_ge/
Test_if_ge.java 44 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
48 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
52 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE
56 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE));
60 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE
64 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));

Completed in 832 milliseconds

1 2 3 4 5 6 7 8 91011>>