Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for dispatchTo (0.28 sec)

  1. pkg/kubelet/kubelet.go

    			break
    		}
    		kl.syncLoopMonitor.Store(kl.clock.Now())
    	}
    }
    
    // syncLoopIteration reads from various channels and dispatches pods to the
    // given handler.
    //
    // Arguments:
    // 1.  configCh:       a channel to read config events from
    // 2.  handler:        the SyncHandler to dispatch pods to
    // 3.  syncCh:         a channel to read periodic sync events from
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. src/net/http/server.go

    // TODO(jba): replace with maps.Keys when it is defined.
    func mapKeys[K comparable, V any](m map[K]V) []K {
    	var ks []K
    	for k := range m {
    		ks = append(ks, k)
    	}
    	return ks
    }
    
    // ServeHTTP dispatches the request to the handler whose
    // pattern most closely matches the request URL.
    func (mux *ServeMux) ServeHTTP(w ResponseWriter, r *Request) {
    	if r.RequestURI == "*" {
    		if r.ProtoAtLeast(1, 1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				// avoiding empty list error with min and max by appending an acceptable default minimum value
    				"([0] + self.emptyInts).min() == 0",
    
    				// handle CEL's dynamic dispatch appropriately (special cases to handle an empty list)
    				"dyn([]).sum() == 0",
    				"dyn([1, 2]).sum() == 3",
    				"dyn([1.0, 2.0]).sum() == 3.0",
    
    				"[].sum() == 0", // An empty list returns an 0 int
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  4. fastapi/applications.py

                return response
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_middleware(BaseHTTPMiddleware, dispatch=func)
                return func
    
            return decorator
    
        def exception_handler(
            self,
            exc_class_or_status_code: Annotated[
                Union[int, Type[Exception]],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      mlir::SmallVector<mlir::Value, 4> operands(result.operands);
      operands.append(control_operands.begin(), control_operands.end());
    
      auto loc = result.location;
      // Dispatch based on the name and create the appropriate operation.
      if (node.IsSwitch()) {
        // Switch and _SwitchN both are in switch class, differentiate based on
        // op name.
        if (node.op_def().name() == "_SwitchN") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top