Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 540 for callback (0.17 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            loadIncludes(path, sp, callback);
            substitute(sp, callback);
            sp.forEach(properties::setProperty);
        }
    
        public static void substitute(MavenProperties props, UnaryOperator<String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

        dispatcher.maxRequests = 2
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://b/1")).enqueue(callback)
        client.newCall(newRequest("http://c/1")).enqueue(callback)
        client.newCall(newRequest("http://a/2")).enqueue(callback)
        client.newCall(newRequest("http://b/2")).enqueue(callback)
    
        val dispatcherQueueStartC1 = eventRecorder.removeUpToEvent<DispatcherQueueStart>()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. lib/wasm/wasm_exec.js

    			fchown(fd, uid, gid, callback) { callback(enosys()); },
    			fstat(fd, callback) { callback(enosys()); },
    			fsync(fd, callback) { callback(null); },
    			ftruncate(fd, length, callback) { callback(enosys()); },
    			lchown(path, uid, gid, callback) { callback(enosys()); },
    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    			mkdir(path, perm, callback) { callback(enosys()); },
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

            interpolate(properties, callback, null, true);
        }
    
        /**
         * Interpolates the values in the given map using the provided callback function.
         *
         * @param map The map containing key-value pairs to be interpolated.
         * @param callback The function to resolve variable values not found in the map.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/llm/LlmClient.java

         * The callback is invoked for each chunk of the response.
         *
         * @param request the chat request containing messages and parameters
         * @param callback the callback to receive streaming chunks
         * @throws LlmException if an error occurs during the request
         */
        void streamChat(LlmChatRequest request, LlmStreamCallback callback);
    
        /**
         * Returns the name of this LLM client.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.HashMap;
    
    import javax.security.auth.Subject;
    import javax.security.auth.callback.Callback;
    import javax.security.auth.callback.NameCallback;
    import javax.security.auth.callback.PasswordCallback;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/openapi-callbacks.md

    ///
    
    ### 加入回呼 router { #add-the-callback-router }
    
    此時你已經在先前建立的回呼 router 中,擁有所需的回呼「路徑操作(們)」(也就是「外部開發者」應該在「外部 API」中實作的那些)。
    
    現在在「你的 API 的路徑操作裝飾器」中使用參數 `callbacks`,將該回呼 router 的屬性 `.routes`(實際上就是一個由路由/「路徑操作」所組成的 `list`)傳入:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[33] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

         *
         * @param request the chat request
         * @param callback the callback to receive streaming chunks
         * @throws LlmException if LLM is not available or an error occurs
         */
        public void streamChat(final LlmChatRequest request, final LlmStreamCallback callback) {
            final long startTime = System.currentTimeMillis();
            final String llmType = getLlmType();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top