Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 196 for __callback (0.12 sec)

  1. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.os.Bundle
    import androidx.activity.ComponentActivity
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okio.IOException
    
    class MainActivity : ComponentActivity() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/bundle_v2.cc

                                     std::move(callback));
    }
    
    absl::Status SavedModelV2Bundle::RecurseObjectsToRestore(
        const SavedObject* saved_object, int saved_object_node_id,
        const TrackableObjectGraph::TrackableObject* trackable_object,
        std::string object_name, absl::flat_hash_set<int>* seen_trackable_node_ids,
        RestoreObjectsCallback callback) {
      // Callback if any attributes or slot variables.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_windows.go

    	}
    	// Only frames in the test package are checked.
    	want := []string{
    		"test._Cfunc_backtrace",
    		"test.testCallbackCallersSEH.func1.1",
    		"test.testCallbackCallersSEH.func1",
    		"test.goCallback",
    		"test._Cfunc_callback",
    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallersSEH",
    		"test.TestCallbackCallersSEH",
    	}
    	pc := make([]uintptr, 100)
    	n := 0
    	nestedCall(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource, ServerSentEventReader.Callback, Callback {
      private var call: Call? = null
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. pkg/config/mesh/networks_watcher.go

    // NetworksWatcher watches changes to the mesh networks config.
    type NetworksWatcher interface {
    	NetworksHolder
    
    	// AddNetworksHandler registers a callback handler for changes to the networks config.
    	AddNetworksHandler(func()) *WatcherHandlerRegistration
    
    	// DeleteNetworksHandler unregisters a callback handler when remote cluster is removed.
    	DeleteNetworksHandler(registration *WatcherHandlerRegistration)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/base/tests/tensor_test.cc

        Tensor::DeleterCallback callback = [&done](void* data, size_t len) {
          done = true;
        };
    
        Tensor tensor =
            Tensor::FromBuffer(/*dtype=*/TF_INT32, /*shape=*/shape,
                               /*data=*/data_vector.data(),
                               /*len=*/data_vector.size() * sizeof(int32_t),
                               /*deleter=*/callback, &status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.h

    // in the plugin for Training. The API takes in the context with indices for the
    // input and value tensors. It also accepts the copy callback provided by
    // pluggable vendor to do the copying of the tensors and the update callback to
    // apply the arithmetic operation. The caller takes ownership of the `source`,
    // `dest`, `tensor` and `value` tensors and is responsible for freeing them with
    // TF_DeleteTensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

    package okhttp3.coroutines
    
    import kotlin.coroutines.resumeWithException
    import kotlinx.coroutines.ExperimentalCoroutinesApi
    import kotlinx.coroutines.suspendCancellableCoroutine
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okio.IOException
    
    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. docs_src/openapi_callbacks/tutorial001.py

        * Send a notification back to the API user (the external developer), as a callback.
            * At this point is that the API will somehow send a POST request to the
                external API with the notification of the invoice event
                (e.g. "payment successful").
        """
        # Send the invoice, collect the money, send the notification (the callback)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top