- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 504 for callback (0.14 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt
e: IOException, ) /** * Called when the HTTP response was successfully returned by the remote server. The callback may * proceed to read the response body with [Response.body]. The response is still live until its * response body is [closed][ResponseBody]. The recipient of the callback may consume the response * body on another thread. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.6K bytes - Click Count (0) -
callbacks.go
var callbacks []*callback removedMap := map[string]bool{} for _, callback := range p.callbacks { if callback.match == nil || callback.match(p.db) { callbacks = append(callbacks, callback) } if callback.remove { removedMap[callback.name] = true } } if len(removedMap) > 0 { callbacks = removeCallbacks(callbacks, removedMap) } p.callbacks = callbacks
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:26:07 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/en/docs/advanced/openapi-callbacks.md
/// ### Create a callback `APIRouter` { #create-a-callback-apirouter } First create a new `APIRouter` that will contain one or more callbacks. {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *} ### Create the callback *path operation* { #create-the-callback-path-operation } To create the callback *path operation* use the same `APIRouter` you created above.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
assertTrue("Then callback should complete", latch.await(10, TimeUnit.SECONDS)); Thread.sleep(100); // Wait a bit to ensure error callback isn't called assertEquals("Then callback should be invoked", 1, thenCount.get()); assertEquals("Error callback should not be invoked", 0, errorCount.get()); } @TestCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
IndexUpdateCallback callback1 = createMockCallback(10, 500); IndexUpdateCallback callback2 = createMockCallback(20, 1000); assertEquals(10L, callback1.getDocumentSize()); assertEquals(500L, callback1.getExecuteTime()); assertEquals(20L, callback2.getDocumentSize()); assertEquals(1000L, callback2.getExecuteTime()); // Test store operations
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
tests/callbacks_test.go
}, { callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5, before: "c4"}}, results: []string{"c1", "c2", "c3", "c5", "c4"}, }, { callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4, after: "c5"}, {h: c5}}, results: []string{"c1", "c2", "c3", "c5", "c4"}, }, { callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4, after: "c5"}, {h: c5, before: "c4"}},Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
DataStoreParams params = new DataStoreParams(); // Execute store dataStore.store(config, callback, params); // Verify callback was used correctly assertEquals(2, callback.getDocumentSize()); assertTrue(callback.isCommitted()); } @Test public void test_multiple_datastore_instances() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback("foo"); addCallback(f, callback, directExecutor()); f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
boolean ran = false; @Nullable Callback callback = null; SimpleTearDown() {} SimpleTearDown(Callback callback) { this.callback = callback; } @Override public void tearDown() throws Exception { if (callback != null) { callback.run(); } ran = true; } } private interface Callback { void run(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0)