Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 196 for __callback (0.12 sec)

  1. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

    @Implements(DnsResolver::class)
    class ShadowDnsResolver {
      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/endpoint_test.go

    		}
    
    		callbackCount++
    		callbackChan <- callbackCount
    	}
    
    	p, e := esetup(t, devs, socket, "mock", callback)
    	defer ecleanup(t, p, e)
    
    	go e.client.Run()
    	// Wait for the first callback to be issued.
    	<-callbackChan
    
    	p.Update(updated)
    
    	// Wait for the second callback to be issued.
    	<-callbackChan
    
    	require.Equal(t, callbackCount, 2)
    }
    
    func TestAllocate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

      override fun query(
        hostname: String,
        callback: AsyncDns.Callback,
      ) {
        try {
          resolver.query(
            network,
            hostname,
            dnsClass.type,
            DnsResolver.FLAG_EMPTY,
            executor,
            null,
            object : DnsResolver.Callback<List<InetAddress>> {
              override fun onAnswer(
                addresses: List<InetAddress>,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 10:07:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/bundle_v2.h

      /// Restores objects, invoking the callback with the node id in the
      /// saved_object_graph() and the corresponding TrackableObject from the
      /// trackable_object_graph(). The callback may use the variable_reader() but
      /// must not modify the underlying saved_object_graph().
      Status VisitObjectsToRestore(RestoreObjectsCallback callback);
    
     private:
      Status RecurseObjectsToRestore(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:32:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. src/runtime/testdata/testwinlib/main.go

    package main
    
    // #include <windows.h>
    // typedef void(*callmeBackFunc)();
    // static void bridgeCallback(callmeBackFunc callback) {
    //	callback();
    //}
    import "C"
    
    // CallMeBack call backs C code.
    //
    //export CallMeBack
    func CallMeBack(callback C.callmeBackFunc) {
    	C.bridgeCallback(callback)
    }
    
    // Dummy is called by the C code before registering the exception/continue handlers simulating a debugger.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 15:44:05 UTC 2022
    - 925 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.h

                             callback);
    
    // Like above, except TPU clusters are not required to have a host device, and
    // no host device is passed to `callback`.
    mlir::LogicalResult WalkReachableFromTpuCluster(
        ModuleOp module,
        std::function<WalkResult(Operation*, tf_device::ClusterOp)> callback);
    
    }  // namespace TFTPU
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testso/testdata/so/cgoso.go

    #cgo windows LDFLAGS: -L. libcgosotest.a
    #cgo aix LDFLAGS: -L. -l cgosotest
    
    void init(void);
    void sofunc(void);
    */
    import "C"
    
    func Test() {
    	C.init()
    	C.sofunc()
    }
    
    //export goCallback
    func goCallback() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:41 UTC 2023
    - 761 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

    interface AsyncDns {
      /**
       * Query DNS records for `hostname`, in the order they are received.
       */
      fun query(
        hostname: String,
        callback: Callback,
      )
    
      /**
       * Callback to receive results from the DNS Queries.
       */
      @ExperimentalOkHttpApi
      interface Callback {
        /**
         * Return addresses for a dns query for a single class of IPv4 (A) or IPv6 (AAAA).
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. tests/test_additional_responses_custom_model_in_callback.py

                            },
                        },
                        "callbacks": {
                            "callback_route": {
                                "{$callback_url}/callback/": {
                                    "get": {
                                        "summary": "Callback Route",
                                        "operationId": "callback_route__callback_url__callback__get",
                                        "responses": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. docs/sts/web-identity.py

    authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth"
    token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
    
    # callback url specified when the application was defined
    callback_uri = "http://localhost:8000/oauth2/callback"
    
    # keycloak id and secret
    client_id = 'account'
    client_secret = 'daaa3008-80f0-40f7-80d7-e15167531ff0'
    
    sts_client = boto3.client(
        'sts',
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top