- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 986 for Long (0.01 seconds)
-
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
public class FakeTicker extends Ticker { private final AtomicLong nanos = new AtomicLong(); private volatile long autoIncrementStepNanos; /** Advances the ticker value by {@code time} in {@code timeUnit}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
private String lastMethodCalled = ""; private long lastTimeoutInMillis = -1; private final ExecutorService inline = newDirectExecutorService(); void assertLastMethodCalled(String method) { assertEquals(method, lastMethodCalled); } void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) { assertLastMethodCalled(method + "Timeout");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 9.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); final long startNanos = System.nanoTime(); final Call call = client.newCall(request); // Schedule a job to cancel the call in 1 second. executor.schedule(() -> {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
keepAliveDuration: Long, timeUnit: TimeUnit, internal val connectionListener: ConnectionListener, ) { internal val keepAliveDurationNs: Long = timeUnit.toNanos(keepAliveDuration) private val cleanupQueue: TaskQueue = taskRunner.newQueue() private val cleanupTask = object : Task("$okHttpName ConnectionPool connection closer") { override fun runOnce(): Long = closeConnections(System.nanoTime()) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 11.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
assertThat(request.tag(String::class)).isSameAs(stringTag) // TODO check for Jvm or handle Long/long correctly // assertThat(request.tag(Long::class)).isSameAs(longTag) } /** Confirm that we don't accidentally share the backing map between objects. */ @Test fun tagsAreImmutable() { val builder = Request .Builder() .url("https://square.com")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:36:14 GMT 2025 - 10.9K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
* */ public class MojoFailureException extends AbstractMojoExecutionException { /** * Construct a new <code>MojoFailureException</code> exception providing the source and a short and long message: * these messages are used to improve the message written at the end of Maven build. * * @param source * @param shortMessage * @param longMessage */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py
}, "summary": "Create an item", "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item", "operationId": "create_item_items__post",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
out.write(0xFF & (v >> 24)); } /** * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using * little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeLong(long v) throws IOException { ((DataOutputStream) out).writeLong(Long.reverseBytes(v)); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
final int characteristics() { return spliterator.characteristics(); } final long estimateSize() { return spliterator.estimateSize(); } final @Nullable Comparator<? super E> getComparator() { return spliterator.getComparator(); } final long getExactSizeIfKnown() { return spliterator.getExactSizeIfKnown(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 12.1K bytes - Click Count (0)