Home
last modified time | relevance | path

Searched refs:Long (Results 1 – 25 of 975) sorted by relevance

12345678910>>...39

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DLongArrayAsListTest.java37 private static List<Long> asList(Long[] values) { in asList()
49 @Override protected List<Long> create(Long[] elements) { in create()
55 @Override protected List<Long> create(Long[] elements) { in create()
56 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
57 Long[] all = concat(elements, suffix); in create()
63 @Override protected List<Long> create(Long[] elements) { in create()
64 Long[] prefix = {(long) 86, (long) 99}; in create()
65 Long[] all = concat(prefix, elements); in create()
71 @Override protected List<Long> create(Long[] elements) { in create()
72 Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
[all …]
DLongsTest.java19 import static java.lang.Long.MAX_VALUE;
20 import static java.lang.Long.MIN_VALUE;
57 Long.valueOf(x).compareTo(y), in testCompare()
287 List<Long> none = Arrays.<Long>asList(); in testToArray()
290 List<Long> one = Arrays.asList((long) 1); in testToArray()
295 List<Long> three = Arrays.asList((long) 0, (long) 1, 0x0FF1C1AL); in testToArray()
304 List<Long> list = Longs.asList(VALUES).subList(0, i); in testToArray_threadSafe()
305 Collection<Long> misleadingSize = in testToArray_threadSafe()
318 List<Long> list = Arrays.asList((long) 0, (long) 1, null); in testToArray_withNull()
333 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DLongArrayAsListTest.java45 private static List<Long> asList(Long[] values) { in asList()
55 List<ListTestSuiteBuilder<Long>> builders = in suite()
71 for (ListTestSuiteBuilder<Long> builder : builders) { in suite()
87 @Override protected List<Long> create(Long[] elements) { in create()
93 @Override protected List<Long> create(Long[] elements) { in create()
94 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create()
95 Long[] all = concat(elements, suffix); in create()
101 @Override protected List<Long> create(Long[] elements) { in create()
102 Long[] prefix = {(long) 86, (long) 99}; in create()
103 Long[] all = concat(prefix, elements); in create()
[all …]
DLongsTest.java19 import static java.lang.Long.MAX_VALUE;
20 import static java.lang.Long.MIN_VALUE;
59 ((Long) value).hashCode(), Longs.hashCode(value)); in testHashCode()
68 Long.valueOf(x).compareTo(y), in testCompare()
309 List<Long> none = Arrays.<Long>asList(); in testToArray()
312 List<Long> one = Arrays.asList((long) 1); in testToArray()
317 List<Long> three = Arrays.asList((long) 0, (long) 1, 0x0FF1C1AL); in testToArray()
326 List<Long> list = Longs.asList(VALUES).subList(0, i); in testToArray_threadSafe()
327 Collection<Long> misleadingSize = in testToArray_threadSafe()
340 List<Long> list = Arrays.asList((long) 0, (long) 1, null); in testToArray_withNull()
[all …]
/external/curl/tests/data/
Dtest108625 Long chunk of data that couldn't possibly be sent in the time allotted.
26 Long chunk of data that couldn't possibly be sent in the time allotted.
27 Long chunk of data that couldn't possibly be sent in the time allotted.
28 Long chunk of data that couldn't possibly be sent in the time allotted.
29 Long chunk of data that couldn't possibly be sent in the time allotted.
30 Long chunk of data that couldn't possibly be sent in the time allotted.
31 Long chunk of data that couldn't possibly be sent in the time allotted.
32 Long chunk of data that couldn't possibly be sent in the time allotted.
33 Long chunk of data that couldn't possibly be sent in the time allotted.
34 Long chunk of data that couldn't possibly be sent in the time allotted.
[all …]
Dtest111224 Long chunk of data that couldn't possibly be sent in the time allotted.
25 Long chunk of data that couldn't possibly be sent in the time allotted.
26 Long chunk of data that couldn't possibly be sent in the time allotted.
27 Long chunk of data that couldn't possibly be sent in the time allotted.
28 Long chunk of data that couldn't possibly be sent in the time allotted.
29 Long chunk of data that couldn't possibly be sent in the time allotted.
30 Long chunk of data that couldn't possibly be sent in the time allotted.
31 Long chunk of data that couldn't possibly be sent in the time allotted.
32 Long chunk of data that couldn't possibly be sent in the time allotted.
33 Long chunk of data that couldn't possibly be sent in the time allotted.
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
DEnvironmentCheck.java745 String foundSize = (String) jarVersions.get(new Long(jarSize)); in getApparentVersion()
1195 jarVersions.put(new Long(857192), "xalan.jar from xalan-j_1_1"); in jarVersions.put()
1196 jarVersions.put(new Long(440237), "xalan.jar from xalan-j_1_2"); in jarVersions.put()
1197 jarVersions.put(new Long(436094), "xalan.jar from xalan-j_1_2_1"); in jarVersions.put()
1198 jarVersions.put(new Long(426249), "xalan.jar from xalan-j_1_2_2"); in jarVersions.put()
1199 jarVersions.put(new Long(702536), "xalan.jar from xalan-j_2_0_0"); in jarVersions.put()
1200 jarVersions.put(new Long(720930), "xalan.jar from xalan-j_2_0_1"); in jarVersions.put()
1201 jarVersions.put(new Long(732330), "xalan.jar from xalan-j_2_1_0"); in jarVersions.put()
1202 jarVersions.put(new Long(872241), "xalan.jar from xalan-j_2_2_D10"); in jarVersions.put()
1203 jarVersions.put(new Long(882739), "xalan.jar from xalan-j_2_2_D11"); in jarVersions.put()
[all …]
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java100 public static DiscreteDomain<Long> longs() { in longs()
104 private static final class LongDomain extends DiscreteDomain<Long>
108 @Override public Long next(Long value) { in next()
110 return (l == Long.MAX_VALUE) ? null : l + 1; in next()
113 @Override public Long previous(Long value) { in previous()
115 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
118 @Override public long distance(Long start, Long end) { in distance()
121 return Long.MAX_VALUE; in distance()
124 return Long.MIN_VALUE; in distance()
129 @Override public Long minValue() { in minValue()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DMathTesting.java59 private static final Function<Integer, Long> TO_LONG = new Function<Integer, Long>() {
61 public Long apply(Integer n) {
62 return Long.valueOf(n);
67 private static final Function<Long, BigInteger> TO_BIGINTEGER =
68 new Function<Long, BigInteger>() {
70 public BigInteger apply(Long n) {
82 private static final Function<Long, Long> NEGATE_LONG = new Function<Long, Long>() {
84 public Long apply(Long x) {
138 static final ImmutableSet<Long> POSITIVE_LONG_CANDIDATES;
140 static final Iterable<Long> NEGATIVE_LONG_CANDIDATES;
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java22 HashMap<MediaDataBox, Long> mdatStartCache = new HashMap<MediaDataBox, Long>();
23 HashMap<MediaDataBox, Long> mdatEndCache = new HashMap<MediaDataBox, Long>();
80 Map<Long, Long> offsets2Sizes = new HashMap<Long, Long>(); in SampleList()
101 private void splitToArrays(Map<Long, Long> offsets2Sizes) { in splitToArrays() argument
102 List<Long> keys = new ArrayList<Long>(offsets2Sizes.keySet()); in splitToArrays()
120 Map<Long, Long> offsets2Sizes = new HashMap<Long, Long>(); in SampleList()
183 Map<Long, Long> getOffsets(MovieFragmentBox moof, long trackId, TrackExtendsBox trex) { in getOffsets()
184 Map<Long, Long> offsets2Sizes = new HashMap<Long, Long>(); in getOffsets()
/external/guava/guava/src/com/google/common/math/
DLongMath.java73 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree()
93 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
97 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
103 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
106 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
160 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor()
242 return (k < Long.SIZE) ? 1L << k : 0; in pow()
244 if (k < Long.SIZE) { in pow()
363 int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1)); in divide()
476 int aTwos = Long.numberOfTrailingZeros(a); in gcd()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DFrequency.java55 private final TreeMap<Comparable<?>, Long> freqTable;
61 freqTable = new TreeMap<Comparable<?>, Long>(); in Frequency()
71 … freqTable = new TreeMap<Comparable<?>, Long>((Comparator<? super Comparable<?>>) comparator); in Frequency()
136 obj = Long.valueOf(((Integer) v).longValue()); in addValue()
139 Long count = freqTable.get(obj); in addValue()
141 freqTable.put(obj, Long.valueOf(1)); in addValue()
143 freqTable.put(obj, Long.valueOf(count.longValue() + 1)); in addValue()
159 addValue(Long.valueOf(v)); in addValue()
170 addValue(Long.valueOf(v.longValue())); in addValue()
179 addValue(Long.valueOf(v)); in addValue()
[all …]
/external/zlib/src/old/
Dvisual-basic.txt34 As Long) As Integer
37 lcompr As Long) As Integer
39 String, ByVal mode As String) As Long
41 Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
44 Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
47 Long) As Integer
51 String, ByVal buflen As Long) As Integer
54 String, ByVal lcompr As Long) As Long
56 (ByVal file As String, ByVal mode As String) As Long
58 (ByVal file As Long, ByVal uncompr As String, ByVal
[all …]
/external/clang/test/Sema/
Dcast.c21 typedef long Long; typedef
34 (void) (Long) v; in testBool()
48 (void) (Long) v; in testInt()
67 void testLong(Long v) { in testLong()
70 (void) (Long) v; in testLong()
84 (void) (Long) v; in testFloat()
96 (void) (Long) v; in testDouble()
108 (void) (Long) v; in testCI()
120 (void) (Long) v; in testCLong()
132 (void) (Long) v; in testCFloat()
[all …]
/external/valgrind/none/tests/arm64/
Dcvtf_imm.c5 typedef signed long long int Long; typedef
15 __attribute__((noinline)) double do_scvtf_d_x_imm1 ( Long x ) in do_scvtf_d_x_imm1()
23 __attribute__((noinline)) double do_scvtf_d_x_imm32 ( Long x ) in do_scvtf_d_x_imm32()
31 __attribute__((noinline)) double do_scvtf_d_x_imm64 ( Long x ) in do_scvtf_d_x_imm64()
40 __attribute__((noinline)) double do_ucvtf_d_x_imm1 ( Long x ) in do_ucvtf_d_x_imm1()
48 __attribute__((noinline)) double do_ucvtf_d_x_imm32 ( Long x ) in do_ucvtf_d_x_imm32()
56 __attribute__((noinline)) double do_ucvtf_d_x_imm64 ( Long x ) in do_ucvtf_d_x_imm64()
70 U block[2]; block[0].i64 = (Long)x; block[1].i64 = 0; in do_scvtf_d_w_imm1()
78 U block[2]; block[0].i64 = (Long)x; block[1].i64 = 0; in do_scvtf_d_w_imm16()
86 U block[2]; block[0].i64 = (Long)x; block[1].i64 = 0; in do_scvtf_d_w_imm32()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DLongs.java56 public static final int BYTES = Long.SIZE / Byte.SIZE;
63 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2);
336 public static Long tryParse(String string) { in tryParse()
352 if (digit < 0 || digit > 9 || accum < Long.MIN_VALUE / 10) { in tryParse()
356 if (accum < Long.MIN_VALUE + digit) { in tryParse()
364 } else if (accum == Long.MIN_VALUE) { in tryParse()
371 private static final class LongConverter extends Converter<String, Long> implements Serializable {
375 protected Long doForward(String value) { in doForward()
376 return Long.decode(value); in doForward()
380 protected String doBackward(Long value) { in doBackward()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DLongMath.java68 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree()
88 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
92 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
98 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
101 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
145 int aTwos = Long.numberOfTrailingZeros(a); in gcd()
147 int bTwos = Long.numberOfTrailingZeros(b); in gcd()
159 long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1)); in gcd()
166 a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b in gcd()
219 return Long.MAX_VALUE; in binomial()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABService.java444 ArrayList<Long> uniqueRawContactIds = new ArrayList<Long>(); in checkForContactNumberChanges()
446 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges()
448 Long contactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges()
450 Long rawContactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges()
487 private void verifyInsertOrUpdateAction(Long dataId, Long contactId, in verifyInsertOrUpdateAction()
488 Long rawContactId, String phoneNumber, String displayName) { in verifyInsertOrUpdateAction()
547 private void checkForPhoneNumberDelete(ArrayList<Long> uniqueRawContactIds) { in checkForPhoneNumberDelete()
551 Long rawContactId = uniqueRawContactIds.get(i); in checkForPhoneNumberDelete()
619 ArrayList <Long> eabDataIdList = new ArrayList <Long>(); in checkForPhoneNumberDelete()
623 Long eabDataId = Long.valueOf(eabDbCursor.getLong(eabDbCursor in checkForPhoneNumberDelete()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java39 private static final Converter<String, Long> STR_TO_LONG =
40 new Converter<String, Long>() {
41 @Override public Long doForward(String object) {
42 return Long.valueOf(object);
45 @Override public String doBackward(Long object) {
54 private static final Long LONG_VAL = 12345L;
58 private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
64 Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS); in testConverter()
70 Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList); in testConvertAllIsView()
73 Iterator<Long> iterator = convertedValues.iterator(); in testConvertAllIsView()
[all …]
/external/testng/src/test/java/test/thread/
DHelper.java7 private static Map<String, Map<Long, Long>> m_maps = new HashMap<>();
9 public static Map<Long, Long> getMap(String className) { in getMap()
11 Map<Long, Long> result = m_maps.get(className); in getMap()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/
DExecutionDataStore.java30 private final Map<Long, ExecutionData> entries = new HashMap<Long, ExecutionData>();
47 final Long id = Long.valueOf(data.getId()); in put()
71 final Long id = Long.valueOf(data.getId()); in subtract()
100 return entries.get(Long.valueOf(id)); in get()
128 public ExecutionData get(final Long id, final String name, in get()
/external/guice/core/src/com/google/inject/internal/
DCycleDetectingLock.java52 ListMultimap<Long, ID> lockOrDetectPotentialLocksCycle(); in lockOrDetectPotentialLocksCycle()
91 private Map<Long, ReentrantCycleDetectingLock> lockThreadIsWaitingOn = Maps.newHashMap();
109 private final Multimap<Long, ReentrantCycleDetectingLock> locksOwnedByThread =
133 private Long lockOwnerThreadId = null;
146 @Override public ListMultimap<Long, ID> lockOrDetectPotentialLocksCycle() { in lockOrDetectPotentialLocksCycle()
150 ListMultimap<Long, ID> locksInCycle = detectPotentialLocksCycle(); in lockOrDetectPotentialLocksCycle()
233 private ListMultimap<Long, ID> detectPotentialLocksCycle() { in detectPotentialLocksCycle()
241 ListMultimap<Long, ID> potentialLocksCycle = Multimaps.newListMultimap( in detectPotentialLocksCycle()
242 new LinkedHashMap<Long, Collection<ID>>(), in detectPotentialLocksCycle()
253 Long threadOwnerThreadWaits = lockOwnerWaitingOn.lockOwnerThreadId; in detectPotentialLocksCycle()
[all …]
/external/junit/src/org/junit/experimental/max/
DMaxHistory.java63 private final Map<String, Long> fDurations= new HashMap<String, Long>();
65 private final Map<String, Long> fFailureTimestamps= new HashMap<String, Long>();
80 Long getFailureTimestamp(Description key) { in getFailureTimestamp()
92 Long getTestDuration(Description key) { in getTestDuration()
103 private Map<Description, Long> starts= new HashMap<Description, Long>();
143 private Long getFailure(Description key) { in getFailure()
144 Long result= getFailureTimestamp(key); in getFailure()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DLongTest.java41 private Long bar = Long.valueOf(42L);
43 public Long getBar() { in getBar()
47 public void setBar(Long bar) { in setBar()
56 repr.addClassTag(Long.class, new Tag("!!java.lang.Long")); in testLongRepresenter()
63 assertEquals(new Long(42L), foo2.getBar()); in testLongRepresenter()
71 assertEquals(new Long(42L), foo2.getBar()); in testLongConstructor()
/external/freetype/src/raster/
Dftraster.c311 typedef long Long, *PLong; typedef
320 Long l;
329 Long x;
330 Long y;
364 Long height; /* profile's height in scanlines */
365 Long start; /* profile's starting scanline */
389 ( ( sizeof ( TProfile ) + sizeof ( Alignment ) - 1 ) / sizeof ( Long ) )
451 #define TRUNC( x ) ( (Long)(x) >> ras.precision_bits )
453 #define SCALED( x ) ( ( (Long)(x) << ras.scale_shift ) - ras.precision_half )
491 Long lastX, lastY;
[all …]

12345678910>>...39