HomeSort by relevance Sort by last modified time
    Searched refs:Long (Results 1 - 25 of 2907) 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...]
  /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> {};
  /libcore/luni/src/test/java/libcore/java/lang/
LongTest.java 30 assertNull(Long.getLong("testIncLong"));
31 assertEquals(new Long(4), Long.getLong("testIncLong", 4L));
32 assertEquals(new Long(4), Long.getLong("testIncLong", new Long(4)));
39 final long min = Long.MIN_VALUE;
40 final long zero = 0L;
41 final long max = Long.MAX_VALUE
    [all...]
  /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 25 public void put(long key, int value) {
27 table.remove(new Long(key));
29 table.put(new Long(key), new Integer(value));
33 public int get(long key) {
34 Integer value = table.get(new Long(key));
40 private Map<Long, Integer> table = new HashMap<Long, Integer>();
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
LongHashtable.java 24 public void put(long key, int value) {
26 table.remove(new Long(key));
28 table.put(new Long(key), new Integer(value));
32 public int get(long key) {
33 Integer value = table.get(new Long(key));
39 private Map<Long, Integer> table = new HashMap<Long, Integer>();
  /tools/loganalysis/src/com/android/loganalysis/item/
DmesgServiceInfoItem.java 64 public Long getStartTime() {
65 return (Long) getAttribute(SERVICE_START_TIME);
71 public void setStartTime(Long startTime) {
78 public Long getEndTime() {
79 return (Long) getAttribute(SERVICE_END_TIME);
85 public void setEndTime(Long endTime) {
92 public Long getServiceDuration() {
DmesgStageInfoItem.java 49 public DmesgStageInfoItem(String name, Long startTime, Long duration) {
73 public Long getStartTime() {
74 return (Long) getAttribute(STAGE_START_TIME);
80 public void setStartTime(Long startTime) {
87 public Long getDuration() {
88 return (Long) getAttribute(STAGE_DURATION);
94 public void setDuration(Long duration) {
  /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/015-switch/src/
Main.java 115 // Long packed-switch that might lead to not creating chained-ifs.
116 public static long packedSwitch7(int value) {
157 long temp = value;
158 temp = Long.rotateLeft(temp, value);
159 temp = Long.rotateLeft(temp, value);
160 temp = Long.rotateLeft(temp, value);
161 temp = Long.rotateLeft(temp, value);
162 temp = Long.rotateLeft(temp, value);
163 temp = Long.rotateLeft(temp, value);
164 temp = Long.rotateLeft(temp, value)
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKDuration.java 105 private static final long CYCLE_SECS = 146097L * 86400L;
117 // ofSeconds(long)
121 for (long i = -2; i <= 2; i++) {
129 // ofSeconds(long,long)
133 for (long i = -2; i <= 2; i++) {
161 Duration.ofSeconds(Long.MAX_VALUE, 1000000000);
165 // ofMillis(long)
185 public void factory_millis_long(long millis, long expectedSeconds, int expectedNanoOfSecond)
    [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...]
  /frameworks/base/vr/java/com/google/vr/platform/
Dvr.java 11 * @return A Long object describing the handle returned by dlopen.
13 public static Long loadLibrary() {
21 private static native long nativeLoadLibrary(String library);
  /libcore/ojluni/src/test/java/time/jdk/testlibrary/
RandomFactory.java 30 * Factory class which generates and prints to STDOUT a long-valued seed
40 private static Long getSystemSeed() {
41 Long seed = null;
43 // note that Long.valueOf(null) also throws a
46 seed = Long.valueOf(System.getProperty("seed"));
59 private static long getRandomSeed() {
71 public static long getSeed() {
72 Long seed = getSystemSeed();
  /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) {

Completed in 1320 milliseconds

1 2 3 4 5 6 7 8 91011>>