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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /cts/tests/tests/net/src/android/net/cts/
CredentialsTest.java 33 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
34 assertEquals(Integer.MAX_VALUE, cred.getGid());
35 assertEquals(Integer.MAX_VALUE, cred.getPid());
36 assertEquals(Integer.MAX_VALUE, cred.getUid());
  /art/test/044-proxy/src/
ReturnsAndArgPassing.java 82 return returnType.getField("MAX_VALUE").get(null);
120 check(proxyMyInterface.byteFoo() == Byte.MAX_VALUE);
129 check(proxyMyInterface.charFoo() == Character.MAX_VALUE);
138 check(proxyMyInterface.shortFoo() == Short.MAX_VALUE);
147 check(proxyMyInterface.intFoo() == Integer.MAX_VALUE);
156 check(proxyMyInterface.longFoo() == Long.MAX_VALUE);
165 check(proxyMyInterface.floatFoo() == Float.MAX_VALUE);
174 check(proxyMyInterface.doubleFoo() == Double.MAX_VALUE);
445 check((Integer)proxyMyInterface.selectArg(0, Integer.MAX_VALUE, Long.MAX_VALUE,
    [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...]
  /external/chromium_org/gpu/command_buffer/service/
buffer_manager_unittest.cc 251 GLuint max_value; local
254 0, 10, GL_UNSIGNED_BYTE, &max_value));
255 EXPECT_EQ(10u, max_value);
258 4, 3, GL_UNSIGNED_BYTE, &max_value));
259 EXPECT_EQ(6u, max_value);
263 4, 3, GL_UNSIGNED_BYTE, &max_value));
264 EXPECT_EQ(120u, max_value);
265 max_value = 0;
267 0, 10, GL_UNSIGNED_BYTE, &max_value));
268 EXPECT_EQ(120u, max_value);
287 GLuint max_value; local
326 GLuint max_value; local
400 GLuint max_value; local
    [all...]
  /external/chromium_org/v8/test/mjsunit/
override-read-only-property.js 40 var original_number_max = Number.MAX_VALUE;
45 assertEquals(original_number_max, f.MAX_VALUE);
46 f.MAX_VALUE = 42;
47 assertEquals(original_number_max, f.MAX_VALUE);
53 MAX_VALUE = 42;
55 assertEquals(original_number_max, f.MAX_VALUE);
58 Number.MAX_VALUE = 42;
59 assertEquals(original_number_max, Number.MAX_VALUE);
  /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/av/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());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
StreamUtil.java 17 * @return length calculation or MAX_VALUE.
38 long size = (channel != null) ? channel.size() : Integer.MAX_VALUE;
40 if (size < Integer.MAX_VALUE)
51 if (MAX_MEMORY > Integer.MAX_VALUE)
53 return Integer.MAX_VALUE;
  /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());
  /art/test/082-inline-execute/src/
Main.java 227 Assert.assertEquals(Math.abs(Integer.MAX_VALUE), Integer.MAX_VALUE);
229 Assert.assertEquals(Math.abs(Integer.MIN_VALUE - 1), Integer.MAX_VALUE);
230 Assert.assertEquals(Math.abs(Integer.MIN_VALUE + 1), Integer.MAX_VALUE);
237 Assert.assertEquals(Math.abs(Long.MAX_VALUE), Long.MAX_VALUE);
239 Assert.assertEquals(Math.abs(Long.MIN_VALUE - 1), Long.MAX_VALUE);
246 Assert.assertEquals(Math.min(0, Integer.MAX_VALUE), 0);
248 Assert.assertEquals(Math.min(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MIN_VALUE);
255 Assert.assertEquals(Math.max(0, Integer.MAX_VALUE), Integer.MAX_VALUE)
    [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-tf/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-tf/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-tf/src/dot/junit/opcodes/if_ge/
Test_if_ge.java 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE
47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE));
51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE
55 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_gt/
Test_if_gt.java 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE
47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE));
51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE
55 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_le/
Test_if_le.java 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE
47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE));
51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE
55 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_lt/
Test_if_lt.java 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE
39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE
47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE));
51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE
55 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_long/
Test_mul_long.java 51 * @title Arguments = 0, Long.MAX_VALUE
55 assertEquals(0, t.run(0, Long.MAX_VALUE));
59 * @title Arguments = Long.MAX_VALUE, 1
63 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1));
75 * @title Arguments = Long.MAX_VALUE, Long.MIN_VALUE
79 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE,
92 * @title Arguments = Long.MAX_VALUE, -1
96 assertEquals(-9223372036854775807L, t.run(Long.MAX_VALUE, -1));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_long_2addr/
Test_mul_long_2addr.java 51 * @title Arguments = 0, Long.MAX_VALUE
55 assertEquals(0, t.run(0, Long.MAX_VALUE));
59 * @title Arguments = Long.MAX_VALUE, 1
63 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1));
75 * @title Arguments = Long.MAX_VALUE, Long.MIN_VALUE
79 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE,
92 * @title Arguments = Long.MAX_VALUE, -1
96 assertEquals(-9223372036854775807L, t.run(Long.MAX_VALUE, -1));

Completed in 346 milliseconds

1 2 3 4 5 6 7 8 91011>>