- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 540 for callback (0.14 seconds)
-
internal/stmt_store/stmt_store.go
// // This function defines an onEvicted callback that is invoked when a cache entry is evicted. // The callback ensures that if the evicted value (v) is not nil, its Close method is called asynchronously // to release associated resources. // // Returns: // - A Store instance implemented by lruStore, which internally uses an LRU cache with the specified size, // eviction callback, and TTL. func New(size int, ttl time.Duration) Store {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
listener = new MockFutureListener(resultFuture); } public void testFutureGetBeforeCallback() throws Exception { // Verify that get throws a timeout exception before the callback is called. assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS)); } public void testFutureGetThrowsWrappedException() throws Exception { inputFuture.setException(EXCEPTION);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
* * @param request the chat request * @param callback the streaming callback * @throws LlmException if too many concurrent requests or interrupted */ protected void streamChatWithConcurrencyControl(final LlmChatRequest request, final LlmStreamCallback callback) { if (concurrencyLimiter == null) { streamChat(request, callback); return; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
* limitations under the License. */ package okhttp.android.testapp import android.os.Bundle import androidx.activity.ComponentActivity import okhttp3.Call import okhttp3.Callback import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response import okhttp3.internal.platform.AndroidPlatform import okio.IOException
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Aug 19 08:10:39 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
client.newCall(Request.Builder().url(server.url("/a")).build()).enqueue(callback) callback.await(server.url("/a")).assertBody("abc") client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback) callback.await(server.url("/b")).assertBody("def") client.newCall(Request.Builder().url(server.url("/c")).build()).enqueue(callback) callback.await(server.url("/c")).assertBody("ghi")
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) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
val latch = CountDownLatch(1) val exceptionRef = AtomicReference<Throwable>() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) call.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { exceptionRef.set(e) latch.countDown() } @Throws(IOException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
} /** * Starts a new process with the given session ID and command list. * Uses default buffer size and no output callback. * * @param sessionId unique identifier for the process session * @param cmdList list of command and arguments to execute * @param pbCall callback to configure the ProcessBuilder * @return JobProcess representing the started process */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
responseCallback.onResponse(this@RealCall, response) } catch (e: IOException) { if (signalledCallback) { // Do not signal the callback twice! Platform.get().log("Callback failure for ${toLoggableString()}", Platform.INFO, e) } else { responseCallback.onFailure(this@RealCall, e) } } catch (t: Throwable) { cancel()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 19.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java
void callback(CQ query, CF filter); } @FunctionalInterface public interface OperatorCall<CQ extends EsAbstractConditionQuery> { void callback(CQ query); } @FunctionalInterface public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> { void callback(CC creator); } @FunctionalInterfaceCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 21.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java
void callback(CQ query, CF filter); } @FunctionalInterface public interface OperatorCall<CQ extends EsAbstractConditionQuery> { void callback(CQ query); } @FunctionalInterface public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> { void callback(CC creator); } @FunctionalInterfaceCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 21.1K bytes - Click Count (0)