Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for cond_a (0.12 sec)

  1. cmd/kubeadm/app/phases/upgrade/health.go

    		if err != nil {
    			lastError = err
    			klog.V(2).Infof("could not get Job %q in the namespace %q, retrying: %v", jobName, ns, err)
    			return false, nil
    		}
    		for _, cond := range job.Status.Conditions {
    			if cond.Type == batchv1.JobComplete {
    				return true, nil
    			}
    		}
    		lastError = errors.Errorf("no condition of type %v", batchv1.JobComplete)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/xla_cluster_formation.mlir

    // performance.
    // CHECK-LABEL: func.func @nested_calls
    func.func @nested_calls(%arg0: tensor<i32>) -> tensor<i32> attributes {tf.entry_function = {}} {
        %0 = "tf.While"(%arg0) {cond = @while_cond_func, body = @while_body_func, is_stateless = true} : (tensor<i32>) -> (tensor<i32>)
        func.return %0 : tensor<i32>
    }
    
    // CHECK-LABEL: func.func @while_cond_func
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/go/types/return.go

    			cc := s.(*ast.CommClause)
    			if !check.isTerminatingList(cc.Body, "") || hasBreakList(cc.Body, label, true) {
    				return false
    			}
    
    		}
    		return true
    
    	case *ast.ForStmt:
    		if s.Cond == nil && !hasBreak(s.Body, label, true) {
    			return true
    		}
    	}
    
    	return false
    }
    
    func (check *Checker) isTerminatingList(list []ast.Stmt, label string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go

    // <endcallsites>
    // <endfuncpreamble>
    func T_two_calls_feed_ifswitch(q int) int {
    	// This case we don't handle; for the heuristic to kick in,
    	// all names in a given if/switch cond have to come from the
    	// same callsite
    	x := meaning(q)
    	y := meaning(-q)
    	if x < y {
    		switch x + y {
    		case 42:
    			return 1
    		}
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:01 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/par/work.go

    	f       func(T) // function to run for each item
    	running int     // total number of runners
    
    	mu      sync.Mutex
    	added   map[T]bool // items added to set
    	todo    []T        // items yet to be run
    	wait    sync.Cond  // wait when todo is empty
    	waiting int        // number of runners waiting for todo
    }
    
    func (w *Work[T]) init() {
    	if w.added == nil {
    		w.added = make(map[T]bool)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizeVariablesPass)
      explicit QuantizeVariablesPass() = default;
    
      void runOnOperation() override;
    
     private:
      // Outlines the regions of the WhileOp's cond and body and insert function
      // calls instead.
      void QuantizeVariable(OpBuilder &builder,
                            const std::vector<VarHandleOp> &var_handle_op);
    };
    
    void QuantizeVariablesPass::QuantizeVariable(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/events.md

    Do mesmo modo, você pode definir a lógica (código) que será executada quando a aplicação estiver sendo **encerrada**. Nesse caso, este código será executado **uma vez**, **depois** de ter possivelmente tratado **várias requisições**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/tf_to_corert_pipeline.mlir

        // CHECK-NEXT: tfrt.merge.chains
        // CHECK-NEXT: tfrt.return
        %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %1 = "tf.While"(%0) { cond = @while_cond_lt9, body = @while_body_add2, is_stateless = false, parallel_iterations = 1} : (tensor<i32>) -> (tensor<i32>)
        func.return %1 : tensor<i32>
      }
      // CHECK: func @"[[while_func_prefix]]/tfrt_body_1"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

      %2 = mhlo.constant dense<20> : tensor<i32>
      // CHECK-NEXT: mhlo.while
      %3, %4, %5 = mhlo.while(%iterArg = %1, %iterArg_0 = %0, %iterArg_1 = %1) : tensor<i32>, tensor<i32>, tensor<i32>
       cond {
        %17 = mhlo.compare  LT, %iterArg_1, %2 : (tensor<i32>, tensor<i32>) -> tensor<i1>
        mhlo.return %17 : tensor<i1>
      } do {
        mhlo.return %0, %0, %0 : tensor<i32>, tensor<i32>, tensor<i32>
      }
      return
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/regexp/backtrack.go

    }
    
    // backtrack runs a backtracking search of prog on the input starting at pos.
    func (re *Regexp) backtrack(ib []byte, is string, pos int, ncap int, dstCap []int) []int {
    	startCond := re.cond
    	if startCond == ^syntax.EmptyOp(0) { // impossible
    		return nil
    	}
    	if startCond&syntax.EmptyBeginText != 0 && pos != 0 {
    		// Anchored match, past beginning of text.
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top