Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 540 for callback (0.12 seconds)

  1. docs/recipes.md

            }
          }
        ```
    
    ### Asynchronous Get ([.kt][AsynchronousGetKotlin], [.java][AsynchronousGetJava])
    
    Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a response body in parts.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

    import java.net.SocketTimeoutException
    import java.util.ArrayDeque
    import java.util.Random
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.EventListener
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.WebSocket
    import okhttp3.WebSocketListener
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. docs/SMB3_IMPLEMENTATION_PLAN.md

    ```
    
    #### 6.2 Implementation Tasks
    - [ ] Implement Witness RPC protocol
    - [ ] Create witness service discovery
    - [ ] Implement client registration
    - [ ] Add notification callback mechanism
    - [ ] Create resource monitoring
    - [ ] Implement automatic re-registration
    - [ ] Add cluster node tracking
    - [ ] Create failover coordination
    
    #### 6.3 Integration Points
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Assert
            assertEquals("Status of test-cluster is changed to RED.", result);
            // Note: Notification sending is tested but we don't verify the mock since it uses complex callback mechanism
        }
    
        // Test state change with empty notification addresses
        @Test
        public void test_execute_stateChangeEmptyNotificationAddresses() {
            // Setup mock components
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

            ).eventListenerFactory(clientTestRule.wrap(listener1))
            .build()
        val request = Request.Builder().url(sanUrl).build()
        val call1 = client1.newCall(request)
        call1.enqueue(
          object : Callback {
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

                accessResult.setStatus(200);
                accessResult.setUrl("http://www.example.com/page" + i);
    
                dataService.store(accessResult);
            }
    
            // Test getAccessResultList with callback
            final List<OpenSearchAccessResult> results = dataService.getAccessResultList(builder -> {
                builder.setQuery(QueryBuilders.termQuery("sessionId", sessionId));
                builder.setSize(10);
            });
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/openapi-callbacks.md

    ///
    
    ### Crea un `APIRouter` de callback { #create-a-callback-apirouter }
    
    Primero crea un nuevo `APIRouter` que contendrá uno o más callbacks.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Crea la *path operation* del callback { #create-the-callback-path-operation }
    
    Para crear la *path operation* del callback usa el mismo `APIRouter` que creaste arriba.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/openapi-callbacks.md

    ///
    
    ### Bir callback `APIRouter` oluşturun { #create-a-callback-apirouter }
    
    Önce bir veya daha fazla callback içerecek yeni bir `APIRouter` oluşturun.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Callback *path operation*'ını oluşturun { #create-the-callback-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  10. docs/debugging/inspect/export.go

    		return 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions)
    	}
    	return versions, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (1)
Back to Top