HomeSort by relevance Sort by last modified time
    Searched refs:Long (Results 1 - 25 of 2403) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/upstream-openbsd/android/include/
arith.h 20 #define Long int
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
LongTest.java 37 * java.lang.Long#byteValue()
40 // Test for method byte java.lang.Long.byteValue()
41 Long l = new Long(127);
43 assertEquals("Returned incorrect byte value", -1, new Long(Long.MAX_VALUE)
48 * java.lang.Long#compareTo(java.lang.Long)
51 // Test for method int java.lang.Long.compareTo(java.lang.Long)
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
LongTest.java 29 assertNull(Long.getLong("testIncLong"));
30 assertEquals(new Long(4), Long.getLong("testIncLong", 4L));
31 assertEquals(new Long(4), Long.getLong("testIncLong", new Long(4)));
38 final long min = Long.MIN_VALUE;
39 final long zero = 0L;
40 final long max = Long.MAX_VALUE
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
LongArrayAsListTest.java 30 * Test suite covering {@link Longs#asList(long[])}.
37 private static List<Long> asList(Long[] values) {
38 long[] temp = new long[values.length];
49 @Override protected List<Long> create(Long[] elements) {
55 @Override protected List<Long> create(Long[] elements) {
56 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue203/
ContentIdentifierImpl.java 20 private Long id;
22 public ContentIdentifierImpl(Long id) {
26 public Long getId() {
ContentIdentifier.java 18 public interface ContentIdentifier extends Identifiable<Long> {};
  /external/guava/guava-tests/test/com/google/common/primitives/
LongArrayAsListTest.java 38 * Test suite covering {@link Longs#asList(long[])}.
45 private static List<Long> asList(Long[] values) {
46 long[] temp = new long[values.length];
55 List<ListTestSuiteBuilder<Long>> builders =
71 for (ListTestSuiteBuilder<Long> builder : builders) {
87 @Override protected List<Long> create(Long[] elements) {
93 @Override protected List<Long> create(Long[] elements)
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ConcurrentHashMap8Test.java 336 long v = adder.sumThenReset();
338 long v2 = adder.sum();
564 static ConcurrentHashMap<Long, Long> longMap;
566 static ConcurrentHashMap<Long, Long> longMap() {
568 longMap = new ConcurrentHashMap<Long, Long>(SIZE);
570 longMap.put(Long.valueOf(i), Long.valueOf(2 *i))
    [all...]
  /external/testng/src/test/java/test/thread/
Helper.java 7 private static Map<String, Map<Long, Long>> m_maps = new HashMap<>();
9 public static Map<Long, Long> getMap(String className) {
11 Map<Long, Long> result = m_maps.get(className);
15 //result = Collections.synchronizedMap(new HashMap<Long, Long>());
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
GLLongProperty.java 19 /** Properties that hold a long value. */
21 private final Long mDefaultValue;
22 private Long mCurrentValue;
25 public GLLongProperty(GLStateType name, Long defaultValue, DisplayRadix radix) {
32 public GLLongProperty(GLStateType name, Long defaultValue) {
41 public void setValue(Long newValue) {
48 return String.format("0x%08x", Long.valueOf(mCurrentValue));
61 if (value instanceof Long) {
62 mCurrentValue = (Long) value;
  /external/jcommander/src/main/java/com/beust/jcommander/converters/
LongConverter.java 24 * Convert a string to a long.
28 public class LongConverter extends BaseConverter<Long> {
34 public Long convert(String value) {
36 return Long.parseLong(value);
38 throw new ParameterException(getErrorString(value, "a long"));
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue193/
BeanA1.java 20 private Long id;
22 public Long getId() {
26 public void setId(Long id) {
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
WebContent.java 29 private final Long mExpireTimeMillis;
31 public WebContent(String content, Long expireTimeMillis) {
39 public Long getExpireTimeMillis() {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
LongHashtable.java 23 public void put(long key, int value) {
25 table.remove(new Long(key));
27 table.put(new Long(key), new Integer(value));
31 public int get(long key) {
32 Integer value = table.get(new Long(key));
38 private Map<Long, Integer> table = new HashMap<Long, Integer>();
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
LongHashtable.java 22 public void put(long key, int value) {
24 table.remove(new Long(key));
26 table.put(new Long(key), new Integer(value));
30 public int get(long key) {
31 Integer value = table.get(new Long(key));
37 private Map<Long, Integer> table = new HashMap<Long, Integer>();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
ContactAggregatorHelper.java 40 public static void mergeComponentsWithDisjointAccounts(Set<Set<Long>> connectedRawContactSets,
41 Map<Long, Long> rawContactsToAccounts) {
43 final Map<Integer, Set<Long>> rawContactIds = new HashMap<>();
45 final Map<Long, Set<Integer>> accounts = new HashMap<>();
48 for (Set<Long> rIds : connectedRawContactSets) {
50 for (Long rId : rIds) {
51 long acctId = rawContactsToAccounts.get(rId);
63 for (Long accountId : accounts.keySet()) {
67 final Set<Long> rIdSet = rawContactIds.get(i)
    [all...]
RawContactMatchingCandidates.java 33 private Set<Long> mRawContactIds = null;
34 private Map<Long, Long> mRawContactToContact = null;
35 private Map<Long, Long> mRawContactToAccount = null;
63 public Set<Long> getRawContactIdSet() {
70 public Map<Long, Long> getRawContactToAccount() {
77 public Long getContactId(Long rawContactId)
    [all...]
  /art/test/041-narrowing/src/
Main.java 10 + Long.toHexString(Double.doubleToRawLongBits(Double.POSITIVE_INFINITY)));
12 + Long.toHexString(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY)));
14 + Long.toHexString(Double.doubleToRawLongBits(Float.POSITIVE_INFINITY)));
16 + Long.toHexString(Double.doubleToRawLongBits(Float.NEGATIVE_INFINITY)));
18 + Long.toHexString(Double.doubleToRawLongBits(Double.NaN)));
20 + Long.toHexString(Double.doubleToRawLongBits(Float.NaN)));
24 + (Long.toHexString((byte)dbl2).equals("0") ? "00" : Long.toHexString((byte)dbl2)
32 System.out.println("(long) Double.NaN = "
33 + (Long.toHexString((long)dbl2).equals("0") ? "0000000000000000" : Lon
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/
TagsTest.java 43 assertEquals(new Long(42L), foo2.getBar());
47 private Long bar = Long.valueOf(42L);
49 public Long getBar() {
53 public void setBar(Long bar) {
  /external/vogar/src/vogar/
CommandBugDatabase.java 36 @Override public Set<Long> bugsToOpenBugs(Set<Long> bugs) {
42 Set<Long> openBugsSet = new LinkedHashSet<Long>();
44 openBugsSet.add(Long.parseLong(bug));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
TransactionContext.java 35 private HashMap<Long, Long> mInsertedRawContactsAccounts;
36 private HashSet<Long> mUpdatedRawContacts;
37 private HashSet<Long> mMetadataDirtyRawContacts;
38 private HashSet<Long> mBackupIdChangedRawContacts;
39 private HashSet<Long> mDirtyRawContacts;
44 private HashSet<Long> mChangedRawContacts;
45 private HashSet<Long> mStaleSearchIndexRawContacts;
46 private HashSet<Long> mStaleSearchIndexContacts;
47 private HashMap<Long, Object> mUpdatedSyncStates
    [all...]
  /cts/tests/vm/src/android/vm/cts/opcodes/add_long/
AddLongTest.java 47 * @title Arguments = 0 + Long.MAX_VALUE
51 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE));
55 * @title Arguments = 0 + Long.MIN_VALUE
59 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE));
71 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE
75 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE));
79 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALU
    [all...]
  /cts/tests/vm/src/android/vm/cts/opcodes/add_long_2addr/
AddLong2AddrTest.java 46 * @title Arguments = 0 + Long.MAX_VALUE
50 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE));
54 * @title Arguments = 0 + Long.MIN_VALUE
58 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE));
70 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE
74 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE));
78 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALU
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/
Test_add_long.java 50 * @title Arguments = 0 + Long.MAX_VALUE
54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE));
58 * @title Arguments = 0 + Long.MIN_VALUE
62 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE));
74 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE
78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE));
82 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALU
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/
Test_add_long_2addr.java 50 * @title Arguments = 0 + Long.MAX_VALUE
54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE));
58 * @title Arguments = 0 + Long.MIN_VALUE
62 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE));
74 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE
78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE));
82 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALU
    [all...]

Completed in 1197 milliseconds

1 2 3 4 5 6 7 8 91011>>