HomeSort by relevance Sort by last modified time
    Searched refs:Long (Results 1 - 25 of 3560) 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/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() {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
ContactAggregatorHelper.java 41 public static void mergeComponentsWithDisjointAccounts(Set<Set<Long>> connectedRawContactSets,
42 Map<Long, Long> rawContactsToAccounts) {
44 final Map<Integer, Set<Long>> rawContactIds = new ArrayMap<>();
46 final Map<Long, Set<Integer>> accounts = new ArrayMap<>();
49 for (Set<Long> rIds : connectedRawContactSets) {
51 for (Long rId : rIds) {
52 long acctId = rawContactsToAccounts.get(rId);
64 for (Long accountId : accounts.keySet()) {
68 final Set<Long> rIdSet = rawContactIds.get(i)
    [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...]
  /external/desugar/test/java/com/google/devtools/build/android/desugar/
DesugarLongCompareTest.java 31 /** The test case for the rewriter rewriting a call of Long.compare(long, long) to lcmp. */
52 && owner.equals("java/lang/Long")
73 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MIN_VALUE))
75 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MAX_VALUE))
77 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MIN_VALUE, Long.MAX_VALUE)
    [all...]
  /external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
ClassCallingLongCompare.java 16 /** This class calls Long.compare(long, long) */
19 public static int compareLongByCallingLong_compare(long a, long b) {
20 return Long.compare(a, b);
23 public static String compareLongByCallingLong_compare2(long a, long b) {
24 if (Long.compare(a, b) == 0) {
27 if (Long.compare(a, b) > 0)
    [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);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiLinkLayerStats.java 39 public long rxmpdu_be;
41 public long txmpdu_be;
43 public long lostmpdu_be;
45 public long retries_be;
48 public long rxmpdu_bk;
50 public long txmpdu_bk;
52 public long lostmpdu_bk;
54 public long retries_bk;
57 public long rxmpdu_vi;
59 public long txmpdu_vi
    [all...]
  /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/curl/docs/cmdline-opts/
manual.d 0 Long: manual

Completed in 529 milliseconds

1 2 3 4 5 6 7 8 91011>>