Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for is_ready (0.25 sec)

  1. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

      }
    
      Block::iterator next_unscheduled_op = ops.begin();
      const Block::iterator end = ops.end();
    
      // An operation is ready to be scheduled if all its operands are ready. An
      // operand is ready if:
      const auto is_ready = [&](Value value, Operation *top) {
        Operation *parent = value.getDefiningOp();
        // - it is a block argument,
        if (parent == nullptr) return true;
        Operation *ancestor = block->findAncestorOpInBlock(*parent);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. cni/pkg/install/install_test.go

    				MountedCNINetDir: tempDir,
    				ChainedCNIPlugin: c.chainedCNIPlugin,
    			}
    			cniConfigFilepath := filepath.Join(tempDir, c.cniConfigFilename)
    			isReady := &atomic.Value{}
    			setNotReady(isReady)
    			in := NewInstaller(cfg, isReady)
    			in.cniConfigFilepath = cniConfigFilepath
    
    			if err := file.AtomicCopy(filepath.Join("testdata", c.saFilename), tempDir, c.saFilename); err != nil {
    				t.Fatal(err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cni/pkg/install/install.go

    	}
    	return nil
    }
    
    // Sets isReady to true.
    func setReady(isReady *atomic.Value) {
    	installReady.Record(1)
    	isReady.Store(true)
    }
    
    // Sets isReady to false.
    func setNotReady(isReady *atomic.Value) {
    	installReady.Record(0)
    	isReady.Store(false)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/workload_manager.go

    	for _, w := range m.workloads {
    		if w.pod.Name == pod.Name {
    			prevReady := w.IsReady()
    			if err := w.Update(*pod); err != nil {
    				return err
    			}
    
    			// Defer notifying the handler until after we release the mutex.
    			if !prevReady && w.IsReady() {
    				workloadReady = w
    			} else if prevReady && !w.IsReady() {
    				workloadNotReady = w
    			}
    			return nil
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. pkg/proxy/endpoint.go

    	Port() int
    
    	// IsLocal returns true if the endpoint is running on the same host as kube-proxy.
    	IsLocal() bool
    	// IsReady returns true if an endpoint is ready and not terminating, or
    	// if PublishNotReadyAddresses is set on the service.
    	IsReady() bool
    	// IsServing returns true if an endpoint is ready. It does not account
    	// for terminating state.
    	IsServing() bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:38:25 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/rangefunc/rewrite.go

    	{
    		var #next int
    		var #state1 = abi.RF_READY
    		f(func() {
    			if #state1 != abi.RF_READY{ runtime.panicrangestate(#state1) }
    			#state1 = abi.RF_PANIC
    			var #state2 = abi.RF_READY
    			g(func() {
    				if #state2 != abi.RF_READY { runtime.panicrangestate(#state2) }
    				#state2 = abi.RF_PANIC
    				...
    				var #state3 bool = abi.RF_READY
    				h(func() {
    					if #state3 != abi.RF_READY { runtime.panicrangestate(#state3) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. src/internal/abi/rangefuncconsts.go

    // and panic indicators, and the runtime, which turns them into more meaningful strings
    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  8. pkg/proxy/topology.go

    	if svcInfo.UsesClusterEndpoints() {
    		useTopology = canUseTopology(endpoints, svcInfo, nodeLabels)
    		clusterEndpoints = filterEndpoints(endpoints, func(ep Endpoint) bool {
    			if !ep.IsReady() {
    				return false
    			}
    			if useTopology && !availableForTopology(ep, nodeLabels) {
    				return false
    			}
    			return true
    		})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 06:46:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server.go

    		return nil, fmt.Errorf("error starting cni server: %w", err)
    	}
    	s.cniServerStopFunc = cniServer.Stop
    
    	return s, nil
    }
    
    func (s *Server) Ready() {
    	s.isReady.Store(true)
    }
    
    func (s *Server) NotReady() {
    	s.isReady.Store(false)
    }
    
    // buildKubeClient creates the kube client
    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ReusePlan.kt

     */
    package okhttp3.internal.connection
    
    /** Reuse a connection from the pool. */
    internal class ReusePlan(
      val connection: RealConnection,
    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top