- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 171 for callback1 (0.7 sec)
-
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
Map<String, Object> data = new HashMap<>(); callback1.store(params, data); assertEquals(11L, callback1.getDocumentSize()); callback2.store(params, data); assertEquals(21L, callback2.getDocumentSize()); // Test commit on both callback1.commit(); callback2.commit(); } public void test_store_with_null_parameters() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
String input = "callback1\ncallback2"; InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)); List<String> callbackResults = new ArrayList<>(); Consumer<String> callback = line -> callbackResults.add(line); InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, callback); thread.start(); thread.join(1000);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (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
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 8.8K bytes - Viewed (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.py hl[3,25] *} ### Create the callback *path operation* { #create-the-callback-path-operation } To create the callback *path operation* use the same `APIRouter` you created above.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
Request .Builder() .url(server.url("/a")) .build() try { val callbackA = RecordingCallback() client.newCall(requestA).enqueue(callbackA) callbackA.await(requestA.url).assertBody("a") } catch (e: Exception) { throw RuntimeException(e) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* java.util.concurrent.CompletableFuture#thenAcceptAsync}. * * @param callback The callback to invoke when this {@code Future} is completed. * @param executor The executor to run {@code callback} when the future completes. */ public final void addCallback(FutureCallback<? super V> callback, Executor executor) { Futures.addCallback(this, callback, executor); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * @param future The future attach the callback to. * @param callback The callback to invoke when {@code future} is completed. * @param executor The executor to run {@code callback} when the future completes. * @since 10.0 */ public static <V extends @Nullable Object> void addCallback( ListenableFuture<V> future, FutureCallback<? super V> callback, Executor executor) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
NameCallback nc = new NameCallback("user:"); PasswordCallback pc = new PasswordCallback("pass:", false); // Exercise callback handler with both callbacks supplied Callback[] cbs = new Callback[] { nc, pc }; auth.handle(cbs); // Name should be formatted as username@domain assertEquals("user@DOM", nc.getName()); // Password should be set
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
* {@inheritDoc} * * @see javax.security.auth.callback.CallbackHandler#handle(javax.security.auth.callback.Callback[]) */ @Override public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { for (Callback cb : callbacks) { if (log.isDebugEnabled()) { log.debug("Got callback " + cb.getClass().getName()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
private val call: Call?, private val request: Request, private val listener: EventSourceListener, ) : EventSource, ServerSentEventReader.Callback, Callback { constructor(call: Call, listener: EventSourceListener) : this(call, call.request(), listener) constructor(response: Response, listener: EventSourceListener) : this(null, response.request, listener) @Volatile private var canceled = false
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 3.3K bytes - Viewed (0)