Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for __callback (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        }
    
      /**
       * A callback to be invoked each time the dispatcher becomes idle (when the number of running
       * calls returns to zero).
       *
       * Note: The time at which a [call][Call] is considered idle is different depending on whether it
       * was run [asynchronously][Call.enqueue] or [synchronously][Call.execute]. Asynchronous calls
       * become idle after the [onResponse][Callback.onResponse] or [onFailure][Callback.onFailure]
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. test/linknameasm.dir/x.go

    package main
    
    import (
    	"runtime"
    	_ "unsafe"
    )
    
    //go:linkname asm
    func asm(*int)
    
    func main() {
    	x := new(int)
    	asm(x)
    }
    
    // called from asm
    func callback() {
    	runtime.GC() // scan stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 451 bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                    callbacks = {}
                    for callback in route.callbacks:
                        if isinstance(callback, routing.APIRoute):
                            (
                                cb_path,
                                cb_security_schemes,
                                cb_definitions,
                            ) = get_openapi_path(
                                route=callback,
                                operation_ids=operation_ids,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows.go

    	cbsLock()
    
    	// Check if this callback is already registered.
    	if n, ok := cbs.index[key]; ok {
    		cbsUnlock()
    		return callbackasmAddr(n)
    	}
    
    	// Register the callback.
    	if cbs.index == nil {
    		cbs.index = make(map[winCallbackKey]int)
    	}
    	n := cbs.n
    	if n >= len(cbs.ctxt) {
    		cbsUnlock()
    		throw("too many callback functions")
    	}
    	c := winCallback{key.fn, retPop, abiMap}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import kotlinx.coroutines.withContext
    import kotlinx.coroutines.withTimeout
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DisconnectAfterRequest
    import okhttp3.Callback
    import okhttp3.FailingCall
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	tests := []struct {
    		name           string
    		opCallback     func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error
    		verifyCallback func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error
    	}{
    		{
    			name: "marking volume mounted should remove volume from found during reconstruction",
    			opCallback: func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/multicluster_test.go

    	_ = s.Start(stop)
    
    	verifyControllers(t, mc, 1, "create local controller")
    
    	// Create the multicluster secret. Sleep to allow created remote
    	// controller to start and callback add function to be called.
    	err := createMultiClusterSecret(clientset, "test-secret-1", "test-remote-cluster-1")
    	if err != nil {
    		t.Fatalf("Unexpected error on secret create: %v", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/stream_executor/stream_executor.cc

      return base;
    }
    
    // Wrapper that allows passing std::function across C API.
    struct HostCallbackContext {
      absl::AnyInvocable<absl::Status() &&> callback;
    };
    
    // This wrapper allows calling `HostCallbackContext::callback` across C API.
    // This function matches `SE_StatusCallbackFn` signature and will be passed as
    // `callback_fn` to `host_callback` in `SP_StreamExecutor`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

              responseCallback.onResponse(this@RealCall, response)
            } catch (e: IOException) {
              if (signalledCallback) {
                // Do not signal the callback twice!
                Platform.get().log("Callback failure for ${toLoggableString()}", Platform.INFO, e)
              } else {
                responseCallback.onFailure(this@RealCall, e)
              }
            } catch (t: Throwable) {
              cancel()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/waiting_pods_map.go

    	defer m.mu.RUnlock()
    	return m.pods[uid]
    }
    
    // iterate acquires a read lock and iterates over the WaitingPods map.
    func (m *waitingPodsMap) iterate(callback func(framework.WaitingPod)) {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	for _, v := range m.pods {
    		callback(v)
    	}
    }
    
    // waitingPod represents a pod waiting in the permit phase.
    type waitingPod struct {
    	pod            *v1.Pod
    	pendingPlugins map[string]*time.Timer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top