Home
last modified time | relevance | path

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

12345678910>>...98

/external/guava/guava-tests/test/com/google/common/primitives/
DLongArrayAsListTest.java43 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 …]
DImmutableLongArrayTest.java105 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()
202 List<Long> list = new ArrayList<>(); in doIt()
213 List<Long> list = new ArrayList<>(); in doIt()
452 List<ListTestSuiteBuilder<Long>> builders =
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DLongArrayAsListTest.java43 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 …]
DImmutableLongArrayTest.java104 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/okio/okio/src/commonMain/kotlin/okio/
DBufferedSource.kt37 fun require(byteCount: Long)
43 fun request(byteCount: Long): Boolean
161 fun readLong(): Long
192 fun readLongLe(): Long
211 fun readDecimalLong(): Long
230 fun readHexadecimalUnsignedLong(): Long
236 fun skip(byteCount: Long)
242 fun readByteString(byteCount: Long): ByteString
275 fun readByteArray(byteCount: Long): ByteArray
299 fun readFully(sink: Buffer, byteCount: Long)
[all …]
DBuffer.kt36 var size: Long
48 offset: Long = 0L, in emitCompleteSegments()
49 byteCount: Long in emitCompleteSegments()
58 offset: Long = 0L in emitCompleteSegments()
65 fun completeSegmentByteCount(): Long in emitCompleteSegments()
68 operator fun get(pos: Long): Byte in emitCompleteSegments()
77 override fun skip(byteCount: Long) in emitCompleteSegments()
116 override fun write(source: Source, byteCount: Long): Buffer in emitCompleteSegments()
128 override fun writeLong(v: Long): Buffer in emitCompleteSegments()
130 override fun writeLongLe(v: Long): Buffer in emitCompleteSegments()
[all …]
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DBufferedSource.kt23 actual fun require(byteCount: Long)
25 actual fun request(byteCount: Long): Boolean
37 actual fun readLong(): Long
39 actual fun readLongLe(): Long
41 actual fun readDecimalLong(): Long
43 actual fun readHexadecimalUnsignedLong(): Long
45 actual fun skip(byteCount: Long)
49 actual fun readByteString(byteCount: Long): ByteString
55 actual fun readByteArray(byteCount: Long): ByteArray
63 actual fun readFully(sink: Buffer, byteCount: Long)
[all …]
DRealBufferedSource.kt55 override fun read(sink: Buffer, byteCount: Long): Long = commonRead(sink, byteCount)
57 override fun require(byteCount: Long): Unit = commonRequire(byteCount)
58 override fun request(byteCount: Long): Boolean = commonRequest(byteCount)
61 override fun readByteString(byteCount: Long): ByteString = commonReadByteString(byteCount)
64 override fun readByteArray(byteCount: Long): ByteArray = commonReadByteArray(byteCount)
70 override fun readFully(sink: Buffer, byteCount: Long): Unit = commonReadFully(sink, byteCount)
71 override fun readAll(sink: Sink): Long = commonReadAll(sink)
73 override fun readUtf8(byteCount: Long): String = commonReadUtf8(byteCount)
75 override fun readUtf8LineStrict() = readUtf8LineStrict(Long.MAX_VALUE)
76 override fun readUtf8LineStrict(limit: Long): String = commonReadUtf8LineStrict(limit)
[all …]
DBuffer.kt74 actual var size: Long = 0L in <lambda>()
85 override fun require(byteCount: Long) { in <lambda>()
89 override fun request(byteCount: Long): Boolean = size >= byteCount in <lambda>()
95 offset: Long, in <lambda>()
96 byteCount: Long in <lambda>()
101 offset: Long in <lambda>()
104 actual operator fun get(pos: Long): Byte = commonGet(pos) in <lambda>()
106 actual fun completeSegmentByteCount(): Long = commonCompleteSegmentByteCount() in <lambda>()
114 override fun readLong(): Long = commonReadLong() in <lambda>()
120 override fun readLongLe(): Long = readLong().reverseBytes() in <lambda>()
[all …]
/external/okio/okio/src/jvmMain/kotlin/okio/
DBufferedSource.kt38 actual fun require(byteCount: Long)
41 actual fun request(byteCount: Long): Boolean
59 actual fun readLong(): Long
62 actual fun readLongLe(): Long
65 actual fun readDecimalLong(): Long
68 actual fun readHexadecimalUnsignedLong(): Long
71 actual fun skip(byteCount: Long)
77 actual fun readByteString(byteCount: Long): ByteString
86 actual fun readByteArray(byteCount: Long): ByteArray
98 actual fun readFully(sink: Buffer, byteCount: Long)
[all …]
DRealBufferedSource.kt65 override fun read(sink: Buffer, byteCount: Long): Long = commonRead(sink, byteCount) in buffer()
67 override fun require(byteCount: Long): Unit = commonRequire(byteCount) in buffer()
68 override fun request(byteCount: Long): Boolean = commonRequest(byteCount) in buffer()
71 override fun readByteString(byteCount: Long): ByteString = commonReadByteString(byteCount) in buffer()
74 override fun readByteArray(byteCount: Long): ByteArray = commonReadByteArray(byteCount) in buffer()
89 override fun readFully(sink: Buffer, byteCount: Long): Unit = commonReadFully(sink, byteCount) in readFully()
90 override fun readAll(sink: Sink): Long = commonReadAll(sink) in readFully()
92 override fun readUtf8(byteCount: Long): String = commonReadUtf8(byteCount) in readFully()
99 override fun readString(byteCount: Long, charset: Charset): String { in readString()
105 override fun readUtf8LineStrict() = readUtf8LineStrict(Long.MAX_VALUE) in readUtf8Line()
[all …]
DThrottler.kt43 private var allocatedUntil: Long
45 private var bytesPerSecond: Long = 0L
46 private var waitByteCount: Long = 8 * 1024 // 8 KiB.
47 private var maxByteCount: Long = 256 * 1024 // 256 KiB.
54 bytesPerSecond: Long, in bytesPerSecond()
55 waitByteCount: Long = this.waitByteCount, in bytesPerSecond()
56 maxByteCount: Long = this.maxByteCount in bytesPerSecond()
74 internal fun take(byteCount: Long): Long { in take()
93 internal fun byteCountOrWaitNanos(now: Long, byteCount: Long): Long { in byteCountOrWaitNanos()
124 private fun Long.nanosToBytes() = this * bytesPerSecond / 1_000_000_000L in Long() method
[all …]
DBuffer.kt80 actual var size: Long = 0L in <lambda>()
112 override fun require(byteCount: Long) { in <lambda>()
116 override fun request(byteCount: Long) = size >= byteCount in <lambda>()
149 offset: Long = 0L, in <lambda>()
150 byteCount: Long = size - offset in <lambda>()
179 offset: Long, in <lambda>()
180 byteCount: Long in <lambda>()
185 offset: Long in <lambda>()
191 fun writeTo(out: OutputStream, byteCount: Long = size): Buffer { in <lambda>()
218 readFrom(input, Long.MAX_VALUE, true) in <lambda>()
[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/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerCallImplTest.java64 @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 …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDesugarLongCompareTest.java73 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/
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/libcups/data/
Dmedia.defs24 #media "A0.Transverse/A0 Long Edge" 3370 2384
26 #media "A1.Transverse/A1 Long Edge" 2384 1684
28 #media "A2.Transverse/A2 Long Edge" 1684 1191
30 #media "A3.Transverse/A3 Long Edge" 1191 842
32 #media "A3Extra.Transverse/A3 Oversize Long Edge" 913 1262
33 #media "A3Rotated/A3 Long Edge" 1191 842
37 #media "A4Rotated/A4 Long Edge" 842 595
39 #media "A4.Transverse/A4 Long Edge" 842 595
42 #media "A5Rotated/A5 Long Edge" 595 420
43 #media "A5.Transverse/A5 Long Edge" 595 420
[all …]
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/
DAtomicFU.common.kt40 public expect fun atomic(initial: Long): AtomicLong in atomic()
325 public var value: Long
330 public fun lazySet(value: Long) in lazySet()
335 public fun compareAndSet(expect: Long, update: Long): Boolean in lazySet()
340 public fun getAndSet(value: Long): Long in lazySet()
345 public fun getAndIncrement(): Long in lazySet()
350 public fun getAndDecrement(): Long in lazySet()
355 public fun getAndAdd(delta: Long): Long in lazySet()
360 public fun addAndGet(delta: Long): Long in lazySet()
365 public fun incrementAndGet(): Long in lazySet()
[all …]
/external/guava/android/guava/src/com/google/common/math/
DLongMath.java55 @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2);
72 return 1L << -Long.numberOfLeadingZeros(x - 1); in ceilingPowerOfTwo()
88 return 1L << ((Long.SIZE - 1) - Long.numberOfLeadingZeros(x)); in floorPowerOfTwo()
109 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree()
129 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
133 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
139 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
142 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
196 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor()
280 return (k < Long.SIZE) ? 1L << k : 0; in pow()
[all …]
/external/guava/guava/src/com/google/common/math/
DLongMath.java55 @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2);
72 return 1L << -Long.numberOfLeadingZeros(x - 1); in ceilingPowerOfTwo()
88 return 1L << ((Long.SIZE - 1) - Long.numberOfLeadingZeros(x)); in floorPowerOfTwo()
109 return (int) (~~(x - y) >>> (Long.SIZE - 1)); in lessThanBranchFree()
129 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x); in log2()
133 return Long.SIZE - Long.numberOfLeadingZeros(x - 1); in log2()
139 int leadingZeros = Long.numberOfLeadingZeros(x); in log2()
142 int logFloor = (Long.SIZE - 1) - leadingZeros; in log2()
196 int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)]; in log10Floor()
280 return (k < Long.SIZE) ? 1L << k : 0; in pow()
[all …]
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java114 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/android/guava/src/com/google/common/collect/
DDiscreteDomain.java114 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/
DEventLoop.common.kt53 public open fun processNextEvent(): Long { in <lambda>()
54 if (!processUnconfinedEvent()) return Long.MAX_VALUE in <lambda>()
60 protected open val nextTime: Long in <lambda>()
62 val queue = unconfinedQueue ?: return Long.MAX_VALUE in <lambda>()
63 return if (queue.isEmpty) Long.MAX_VALUE else 0L in <lambda>()
149 private const val MAX_MS = Long.MAX_VALUE / MS_TO_NS
155 private const val MAX_DELAY_NS = Long.MAX_VALUE / 2
157 internal fun delayToNanos(timeMillis: Long): Long = when { in delayToNanos()
159 timeMillis >= MAX_MS -> Long.MAX_VALUE in delayToNanos()
163 internal fun delayNanosToMillis(timeNanos: Long): Long = in delayNanosToMillis()
[all …]

12345678910>>...98