/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | LongArrayAsListTest.java | 43 private static List<Long> asList(Long[] values) { in asList() 53 List<ListTestSuiteBuilder<Long>> builders = in suite() 64 for (ListTestSuiteBuilder<Long> builder : builders) { in suite() 82 protected List<Long> create(Long[] elements) { in create() 89 protected List<Long> create(Long[] elements) { in create() 90 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create() 91 Long[] all = concat(elements, suffix); in create() 98 protected List<Long> create(Long[] elements) { in create() 99 Long[] prefix = {(long) 86, (long) 99}; in create() 100 Long[] all = concat(prefix, elements); in create() [all …]
|
D | ImmutableLongArrayTest.java | 104 Iterable<Long> iterable = iterable(Collections.<Long>emptySet()); in testCopyOf_iterable_notCollection_empty() 109 List<Long> list = Arrays.asList(0L, 1L, 3L); in testCopyOf_iterable_notCollection_nonempty() 116 Iterable<Long> iterable = Collections.emptySet(); in testCopyOf_iterable_collection_empty() 121 List<Long> list = Arrays.asList(0L, 1L, 3L); in testCopyOf_iterable_collection_nonempty() 122 ImmutableLongArray iia = ImmutableLongArray.copyOf((Iterable<Long>) list); in testCopyOf_iterable_collection_nonempty() 128 Collection<Long> iterable = Collections.emptySet(); in testCopyOf_collection_empty() 133 List<Long> list = Arrays.asList(0L, 1L, 3L); in testCopyOf_collection_nonempty() 193 List<Long> list = new ArrayList<>(); in doIt() 204 List<Long> list = new ArrayList<>(); in doIt() 417 List<ListTestSuiteBuilder<Long>> builders = [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | LongArrayAsListTest.java | 43 private static List<Long> asList(Long[] values) { in asList() 53 List<ListTestSuiteBuilder<Long>> builders = in suite() 64 for (ListTestSuiteBuilder<Long> builder : builders) { in suite() 82 protected List<Long> create(Long[] elements) { in create() 89 protected List<Long> create(Long[] elements) { in create() 90 Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; in create() 91 Long[] all = concat(elements, suffix); in create() 98 protected List<Long> create(Long[] elements) { in create() 99 Long[] prefix = {(long) 86, (long) 99}; in create() 100 Long[] all = concat(prefix, elements); in create() [all …]
|
D | ImmutableLongArrayTest.java | 105 Iterable<Long> iterable = iterable(Collections.<Long>emptySet()); in testCopyOf_iterable_notCollection_empty() 110 List<Long> list = Arrays.asList(0L, 1L, 3L); in testCopyOf_iterable_notCollection_nonempty() 117 Iterable<Long> iterable = Collections.emptySet(); in testCopyOf_iterable_collection_empty() 122 List<Long> list = Arrays.asList(0L, 1L, 3L); in testCopyOf_iterable_collection_nonempty() 123 ImmutableLongArray iia = ImmutableLongArray.copyOf((Iterable<Long>) list); in testCopyOf_iterable_collection_nonempty() 129 Collection<Long> iterable = Collections.emptySet(); in testCopyOf_collection_empty() 134 List<Long> list = Arrays.asList(0L, 1L, 3L); in testCopyOf_collection_nonempty() 201 List<Long> list = new ArrayList<>(); in doIt() 212 List<Long> list = new ArrayList<>(); in doIt() 451 List<ListTestSuiteBuilder<Long>> builders = [all …]
|
/external/curl/tests/data/ |
D | test1112 | 24 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 …]
|
D | test1086 | 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. 34 Long chunk of data that couldn't possibly be sent in the time allotted. [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ServerCallImplTest.java | 64 @Mock private ServerCall.Listener<Long> callListener; 67 private ServerCallImpl<Long, Long> call; 70 private static final MethodDescriptor<Long, Long> UNARY_METHOD = 71 MethodDescriptor.<Long, Long>newBuilder() 78 private static final MethodDescriptor<Long, Long> CLIENT_STREAMING_METHOD = 79 MethodDescriptor.<Long, Long>newBuilder() 92 call = new ServerCallImpl<Long, Long>(stream, UNARY_METHOD, requestHeaders, context, in setUp() 115 call = new ServerCallImpl<Long, Long>(stream, UNARY_METHOD, requestHeaders, context, in callTracer0() 220 MethodDescriptor<Long, Long> method) { in sendMessage_serverSendsOne_closeOnSecondCall() argument 221 ServerCallImpl<Long, Long> serverCall = new ServerCallImpl<Long, Long>( in sendMessage_serverSendsOne_closeOnSecondCall() [all …]
|
D | KeepAliveManagerTest.java | 73 ArgumentCaptor<Long> delayCaptor = ArgumentCaptor.forClass(Long.class); in sendKeepAlivePings() 78 Long delay = delayCaptor.getValue(); in sendKeepAlivePings() 83 .when(scheduler).schedule(isA(Runnable.class), isA(Long.class), isA(TimeUnit.class)); in sendKeepAlivePings() 110 .when(scheduler).schedule(isA(Runnable.class), isA(Long.class), isA(TimeUnit.class)); in keepAlivePingDelayedByIncomingData() 115 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), isA(Long.class), in keepAlivePingDelayedByIncomingData() 128 ArgumentCaptor<Long> delayCaptor = ArgumentCaptor.forClass(Long.class); in keepAlivePingDelayedByIncomingData() 131 Long delay = delayCaptor.getValue(); in keepAlivePingDelayedByIncomingData() 173 .schedule(sendPingCaptor.capture(), isA(Long.class), isA(TimeUnit.class)); in onTransportTerminationCancelsShutdownFuture() 178 .when(scheduler).schedule(isA(Runnable.class), isA(Long.class), isA(TimeUnit.class)); in onTransportTerminationCancelsShutdownFuture() 194 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), isA(Long.class), in keepAlivePingTimesOut() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | DesugarLongCompareTest.java | 73 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MIN_VALUE)) in testCompareLongWithLambda() 75 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MAX_VALUE)) in testCompareLongWithLambda() 77 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MIN_VALUE, Long.MAX_VALUE)) in testCompareLongWithLambda() 87 ClassCallingLongCompare.compareLongWithMethodReference(Long.MAX_VALUE, Long.MIN_VALUE)) in testCompareLongWithMethodReference() 90 ClassCallingLongCompare.compareLongWithMethodReference(Long.MAX_VALUE, Long.MAX_VALUE)) in testCompareLongWithMethodReference() 93 ClassCallingLongCompare.compareLongWithMethodReference(Long.MIN_VALUE, Long.MAX_VALUE)) in testCompareLongWithMethodReference() 104 Long.MAX_VALUE, Long.MIN_VALUE)) in testcompareLongByCallingLong_compare() 108 Long.MAX_VALUE, Long.MAX_VALUE)) in testcompareLongByCallingLong_compare() 112 Long.MIN_VALUE, Long.MAX_VALUE)) in testcompareLongByCallingLong_compare() 124 Long.MAX_VALUE, Long.MIN_VALUE)) in testcompareLongByCallingLong_compare2() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
D | EnvironmentCheck.java | 745 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/android/guava/src/com/google/common/math/ |
D | LongMath.java | 54 @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2); 71 return 1L << -Long.numberOfLeadingZeros(x - 1); in ceilingPowerOfTwo() 87 return 1L << ((Long.SIZE - 1) - Long.numberOfLeadingZeros(x)); in floorPowerOfTwo() 108 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree() 128 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2() 132 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2() 138 int leadingZeros = Long.numberOfLeadingZeros(x); in log2() 141 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2() 195 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor() 279 return (k < Long.SIZE) ? 1L << k : 0; in pow() [all …]
|
/external/guava/guava/src/com/google/common/math/ |
D | LongMath.java | 54 @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2); 71 return 1L << -Long.numberOfLeadingZeros(x - 1); in ceilingPowerOfTwo() 87 return 1L << ((Long.SIZE - 1) - Long.numberOfLeadingZeros(x)); in floorPowerOfTwo() 108 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree() 128 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2() 132 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2() 138 int leadingZeros = Long.numberOfLeadingZeros(x); in log2() 141 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2() 195 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor() 279 return (k < Long.SIZE) ? 1L << k : 0; in pow() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | DiscreteDomain.java | 114 public static DiscreteDomain<Long> longs() { in longs() 118 private static final class LongDomain extends DiscreteDomain<Long> implements Serializable { 126 public Long next(Long value) { in next() 128 return (l == Long.MAX_VALUE) ? null : l + 1; in next() 132 public Long previous(Long value) { in previous() 134 return (l == Long.MIN_VALUE) ? null : l - 1; in previous() 138 Long offset(Long origin, long distance) { in offset() 148 public long distance(Long start, Long end) { 151 return Long.MAX_VALUE; 154 return Long.MIN_VALUE; [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | DiscreteDomain.java | 114 public static DiscreteDomain<Long> longs() { in longs() 118 private static final class LongDomain extends DiscreteDomain<Long> implements Serializable { 126 public Long next(Long value) { in next() 128 return (l == Long.MAX_VALUE) ? null : l + 1; in next() 132 public Long previous(Long value) { in previous() 134 return (l == Long.MIN_VALUE) ? null : l - 1; in previous() 138 Long offset(Long origin, long distance) { in offset() 148 public long distance(Long start, Long end) { 151 return Long.MAX_VALUE; 154 return Long.MIN_VALUE; [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | EventLoop.common.kt | 52 public open fun processNextEvent(): Long { in <lambda>() 53 if (!processUnconfinedEvent()) return Long.MAX_VALUE in <lambda>() 59 protected open val nextTime: Long in <lambda>() 61 val queue = unconfinedQueue ?: return Long.MAX_VALUE in <lambda>() 62 return if (queue.isEmpty) Long.MAX_VALUE else 0L in <lambda>() 148 private const val MAX_MS = Long.MAX_VALUE / MS_TO_NS 154 private const val MAX_DELAY_NS = Long.MAX_VALUE / 2 156 internal fun delayToNanos(timeMillis: Long): Long = when { in delayToNanos() 158 timeMillis >= MAX_MS -> Long.MAX_VALUE in delayToNanos() 162 internal fun delayNanosToMillis(timeNanos: Long): Long = in delayNanosToMillis() [all …]
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/ |
D | IterableFlowTckTest.kt | 22 class IterableFlowTckTest : PublisherVerification<Long>(TestEnvironment()) { 24 private fun generate(num: Long): Array<Long> { in generate() 28 override fun createPublisher(elements: Long): Publisher<Long> { in createPublisher() 33 override fun createFailedPublisher(): Publisher<Long>? { in createFailedPublisher() 41 pub.subscribe(object : Subscriber<Long> by subscriber as Subscriber<Long> { in createFailedPublisher() 53 val collected = ArrayList<Long>() in testStackOverflowTrampoline() 58 publisher.subscribe(object : Subscriber<Long> { in testStackOverflowTrampoline() 66 override fun onNext(aLong: Long) { in testStackOverflowTrampoline() 88 val collected = ArrayList<Long>() in testConcurrentRequest() 93 publisher.subscribe(object : Subscriber<Long> { in testConcurrentRequest() [all …]
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathTesting.java | 58 private static final Function<Integer, Long> TO_LONG = 59 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) { 83 private static final Function<Long, Long> NEGATE_LONG = 84 new Function<Long, Long>() { 86 public Long apply(Long x) { [all …]
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | MathTesting.java | 58 private static final Function<Integer, Long> TO_LONG = 59 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) { 83 private static final Function<Long, Long> NEGATE_LONG = 84 new Function<Long, Long>() { 86 public Long apply(Long x) { [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | SampleList.java | 22 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/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
D | Frequency.java | 55 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/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/ |
D | NumbersBenchmark.kt | 46 for (i in 2L..Long.MAX_VALUE) emit(i) in <lambda>() 49 private fun primesFlow(): Flow<Long> = flow { in <lambda>() 59 Flowable.generate(Callable { 1L }, BiFunction<Long, Emitter<Long>, Long> { state, emitter -> in <lambda>() 65 private fun generateRxPrimes(): Flowable<Long> = Flowable.generate(Callable { rxNumbers() }, in <lambda>() 66 BiFunction<Flowable<Long>, Emitter<Long>, Flowable<Long>> { state, emitter -> in <lambda>() 102 …first.zipWith(second, BiFunction<Long, Long, Long> { v1, v2 -> v1 + v2 }).filter { it % 3 == 0L }.… in <lambda>() 116 fun transformationsRx(): Long { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/ |
D | TestCoroutineDispatcher.kt | 63 …override fun scheduleResumeAfterDelay(timeMillis: Long, continuation: CancellableContinuation<Unit… in <lambda>() 68 override fun invokeOnTimeout(timeMillis: Long, block: Runnable): DisposableHandle { in <lambda>() 85 private fun postDelayed(block: Runnable, delayTime: Long) = in <lambda>() 91 private fun safePlus(currentTime: Long, delayTime: Long): Long { in <lambda>() 94 if (result < currentTime) return Long.MAX_VALUE // clam on overflow in <lambda>() 98 private fun doActionsUntil(targetTime: Long) { in <lambda>() 111 override fun advanceTimeBy(delayTimeMillis: Long): Long { in <lambda>() 122 private fun advanceUntilTime(targetTime: Long) { in <lambda>() 128 override fun advanceUntilIdle(): Long { in <lambda>() 202 private val count: Long = 0, in run() [all …]
|
/external/clang/test/Sema/ |
D | cast.c | 21 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/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
D | Tensors.java | 315 public static Tensor<Long> create(long data) { in create() 316 return Tensor.create(data, Long.class); in create() 325 public static Tensor<Long> create(long[] data) { in create() 326 return Tensor.create(data, Long.class); in create() 335 public static Tensor<Long> create(long[][] data) { in create() 336 return Tensor.create(data, Long.class); in create() 345 public static Tensor<Long> create(long[][][] data) { in create() 346 return Tensor.create(data, Long.class); in create() 355 public static Tensor<Long> create(long[][][][] data) { in create() 356 return Tensor.create(data, Long.class); in create() [all …]
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | EABService.java | 461 ArrayList<Long> uniqueRawContactIds = new ArrayList<Long>(); in checkForContactNumberChanges() 463 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges() 465 Long contactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges() 467 Long rawContactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges() 511 private void verifyInsertOrUpdateAction(Long dataId, Long contactId, in verifyInsertOrUpdateAction() 512 Long rawContactId, String phoneNumber, String displayName) { in verifyInsertOrUpdateAction() 574 private void checkForPhoneNumberDelete(ArrayList<Long> uniqueRawContactIds) { in checkForPhoneNumberDelete() 578 Long rawContactId = uniqueRawContactIds.get(i); in checkForPhoneNumberDelete() 646 ArrayList <Long> eabDataIdList = new ArrayList <Long>(); in checkForPhoneNumberDelete() 651 Long eabDataId = Long.valueOf(eabDbCursor.getLong(eabDbCursor in checkForPhoneNumberDelete() [all …]
|