- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for callback1 (0.16 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) -
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) -
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) -
tests/hooks_test.go
} p2.Code = "dont_save" if DB.Save(&p2).Error == nil { t.Fatalf("An error from before save callbacks happened when update with invalid value") } p3 := Product{Code: "dont_delete", Price: 100} DB.Save(&p3) if DB.Delete(&p3).Error == nil { t.Fatalf("An error from before delete callbacks happened when delete") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* **TLS configuration updated.** OkHttp now explicitly enables TLSv1.2, TLSv1.1 and TLSv1.0 where they are supported. It will continue to perform only one fallback, to SSLv3. Applications can now configure this with the `ConnectionSpec` class. To disable TLS fallback: ```java client.setConnectionSpecs(Arrays.asList( ConnectionSpec.MODERN_TLS, ConnectionSpec.CLEARTEXT)); ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
gorm.go
func (db *DB) InstanceGet(key string) (interface{}, bool) { return db.Statement.Settings.Load(fmt.Sprintf("%p", db.Statement) + key) } // Callback returns callback manager func (db *DB) Callback() *callbacks { return db.callbacks } // AddError add error to db func (db *DB) AddError(err error) error { if err != nil { if db.Config.TranslateError {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
// Test that the functional interface works correctly XContentBuilderCallback callback = (builder, params) -> { builder.startObject(); builder.field("callback", "test"); builder.endObject(); return builder; }; assertNotNull(callback); // Verify the interface can be used in context
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at most * one of the listener's callbacks will execute at once. However, multiple listeners' callbacks * may execute concurrently, and listeners may execute in an order different from the one in which * they were registered.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0)