- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for 1L (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
inCompletionOrder( ImmutableList.<ListenableFuture<Long>>of(future1, future2, future3, future4, future5)); future2.set(1L); future5.set(2L); future1.set(3L); future3.set(4L); future4.set(5L); long expectedResult = 1L; for (ListenableFuture<Long> future : futures) { assertEquals((Long) expectedResult, getDone(future)); expectedResult++; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
inCompletionOrder( ImmutableList.<ListenableFuture<Long>>of(future1, future2, future3, future4, future5)); future2.set(1L); future5.set(2L); future1.set(3L); future3.set(4L); future4.set(5L); long expectedResult = 1L; for (ListenableFuture<Long> future : futures) { assertEquals((Long) expectedResult, getDone(future)); expectedResult++; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val requestBody: RequestBody = object : RequestBody() { override fun contentType(): MediaType? = null override fun contentLength(): Long = if (uploadKind === TransferKind.CHUNKED) -1L else n.toLong() override fun writeTo(sink: BufferedSink) { if (writeKind == WriteKind.BYTE_BY_BYTE) { for (i in 0 until n) { sink.writeByte('x'.code) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
Arrays.fill(buffer, 'x'.code.toByte()) return object : RequestBody() { override fun contentType() = "text/plain; charset=utf-8".toMediaType() override fun contentLength(): Long = if (chunked) -1L else size override fun writeTo(sink: BufferedSink) { var count = 0 while (count < size) { sink.write(buffer, 0, Math.min(size - count, writeSize.toLong()).toInt())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
// CONTAINS_VALUE_RETRIES increases, though without locking it is theoretically possible. long now = ticker.read(); Segment<K, V>[] segments = this.segments; long last = -1L; for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) { long sum = 0L; for (Segment<K, V> segment : segments) { // ensure visibility of most recent completed writeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
/** * The keys for message. * @author FreeGen */ public class FessMessages extends FessLabels { /** The serial version UID for object serialization. (Default) */ private static final long serialVersionUID = 1L; /** The key of the message: */ public static final String ERRORS_front_header = "{errors.front_header}"; /** The key of the message: */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 126.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java
/** * The keys for message. * @author FreeGen */ public class FessLabels extends UserMessages { /** The serial version UID for object serialization. (Default) */ private static final long serialVersionUID = 1L; /** The key of the message: Realm */ public static final String LABELS_AUTH_REALM = "{labels.authRealm}"; /** The key of the message: Status */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:54:13 GMT 2026 - 172.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
// CONTAINS_VALUE_RETRIES increases, though without locking it is theoretically possible. long now = ticker.read(); Segment<K, V>[] segments = this.segments; long last = -1L; for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) { long sum = 0L; for (Segment<K, V> segment : segments) { // ensure visibility of most recent completed writeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0)