- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 435 for unready (1.31 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
FailedPlan(e) } } else -> return null // Nothing further to try. } // Already connected. Return it immediately. if (plan.isReady) return ConnectResult(plan) // Already failed? Return it immediately. if (plan is FailedPlan) return plan.result // Connect TCP asynchronously. tcpConnectsInFlight += plan
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
val index = serialTaskQueue.indexOfFirst { it.isReady() } if (index == -1) return null val nextTask = serialTaskQueue.removeAt(index) currentTask = nextTask contextSwitchCount++ nextTask.start() return nextTask } private interface SerialTask { /** Returns true if this task is ready to start. */ fun isReady() = true
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
rawSocket?.closeQuietly() } } } override fun connectTlsEtc(): ConnectResult { val rawSocket = requireNotNull(rawSocket) { "TCP not connected" } check(!isReady) { "already connected" } val connectionSpecs = route.address.connectionSpecs var retryTlsConnection: ConnectPlan? = null var success = false
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt
/** Reuse a connection from the pool. */ internal class ReusePlan( val connection: RealConnection, ) : RoutePlanner.Plan { override val isReady = true override fun connectTcp() = error("already connected") override fun connectTlsEtc() = error("already connected") override fun handleSuccess() = connection override fun cancel() = error("unexpected cancel")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
} } /** * Returns an immediately-executable task for the calling thread to execute, sleeping as necessary * until one is ready. If there are no ready queues, or if other threads have everything under * control this will return null. If there is more than a single task ready to execute immediately * this will start another thread to handle that work. */ fun awaitTaskToRun(): Task? { assertLockHeld()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
private byte[] b; private int n; private boolean ready; private SmbFileOutputStream out; private SmbException e = null; WriterThread() { super("JCIFS-WriterThread"); this.ready = false; } /** * @return the ready */ boolean isReady() { return this.ready; } /** * @throws SmbException *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.start(); // Wait until writer thread is ready synchronized (w) { long deadline = System.currentTimeMillis() + 2000; while (!w.isReady() && System.currentTimeMillis() < deadline) { w.wait(10); } assertTrue(w.isReady(), "WriterThread should be ready"); // Submit a write that will throw inside the writer thread
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
service.startAsync(); } catch (IllegalStateException e) { // This can happen if the service has already been started or stopped (e.g. by another // service or listener). Our contract says it is safe to call this method if // all services were NEW when it was called, and this has already been verified above, so we // don't propagate the exception.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
void testPadCalculation() { // Test pad calculation with different alignment values assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned assertEquals(0, transaction.pad(8)); // Already aligned assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4 assertEquals(2, transaction.pad(2)); // Need 2 bytes to align to 4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
var canceled = false var connectState = ConnectState.READY val connection = factory.newConnection( pool = pool, route = factory.newRoute(address), idleAtNanos = defaultConnectionIdleAtNanos, ) var retry: FakePlan? = null var retryTaken = false var yieldBeforePlanReturns = false override val isReady: Boolean get() = connectState == ConnectState.TLS_CONNECTED
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0)