Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for cond_a (0.11 sec)

  1. src/go/build/build.go

    		// Parse GOOS/GOARCH stuff.
    		f := strings.Fields(line)
    		if len(f) < 1 {
    			return fmt.Errorf("%s: invalid #cgo line: %s", filename, orig)
    		}
    
    		cond, verb := f[:len(f)-1], f[len(f)-1]
    		if len(cond) > 0 {
    			ok := false
    			for _, c := range cond {
    				if ctxt.matchAuto(c, nil) {
    					ok = true
    					break
    				}
    			}
    			if !ok {
    				continue
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	testService = "test"
    )
    
    // eventually polls cond until it completes (returns true) or times out (resulting in a test failure).
    func eventually(t test.Failer, cond func() bool) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		if !cond() {
    			return fmt.Errorf("failed to get positive condition")
    		}
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	f.ruleMatches[key]++
    	return true
    }
    
    // warnRule generates compiler debug output with string s when
    // v is not in autogenerated code, cond is true and the rule has fired.
    func warnRule(cond bool, v *Value, s string) bool {
    	if pos := v.Pos; pos.Line() > 1 && cond {
    		v.Block.Func.Warnl(pos, s)
    	}
    	return true
    }
    
    // for a pseudo-op like (LessThan x), extract x.
    func flagArg(v *Value) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    		if s.Label != nil {
    			p.print(blank)
    			p.expr(s.Label)
    		}
    
    	case *ast.BlockStmt:
    		p.block(s, 1)
    
    	case *ast.IfStmt:
    		p.print(token.IF)
    		p.controlClause(false, s.Init, s.Cond, nil)
    		p.block(s.Body, 1)
    		if s.Else != nil {
    			p.print(blank, token.ELSE, blank)
    			switch s.Else.(type) {
    			case *ast.BlockStmt, *ast.IfStmt:
    				p.stmt(s.Else, nextIsRBrace)
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (If (FLessThan cc) yes no) => (FLT cc yes no)
    (If (FLessEqual cc) yes no) => (FLE cc yes no)
    (If (FGreaterThan cc) yes no) => (FGT cc yes no)
    (If (FGreaterEqual cc) yes no) => (FGE cc yes no)
    
    (If cond yes no) => (NE (CMPconst [0] (ANDconst [1] cond)) yes no)
    
    // Absorb boolean tests into block
    (NE (CMPconst [0] (ANDconst [1] ((Equal|NotEqual|LessThan|LessEqual|GreaterThan|GreaterEqual) cc))) yes no) => ((EQ|NE|LT|LE|GT|GE) cc yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/obj.go

    }
    
    func ParseSuffix(prog *obj.Prog, cond string) (err error) {
    	switch prog.As {
    	case AFCVTWS, AFCVTLS, AFCVTWUS, AFCVTLUS, AFCVTWD, AFCVTLD, AFCVTWUD, AFCVTLUD:
    		prog.Scond, err = rmSuffixEncode(strings.TrimPrefix(cond, "."))
    	}
    	return
    }
    
    var LinkRISCV64 = obj.LinkArch{
    	Arch:           sys.ArchRISCV64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (If (GreaterThan cc) yes no) => (GT cc yes no)
    (If (GreaterThanU cc) yes no) => (UGT cc yes no)
    (If (GreaterEqual cc) yes no) => (GE cc yes no)
    (If (GreaterEqualU cc) yes no) => (UGE cc yes no)
    
    (If cond yes no) => (NE (CMPconst [0] cond) yes no)
    
    // Absorb boolean tests into block
    (NE (CMPconst [0] (Equal cc)) yes no) => (EQ cc yes no)
    (NE (CMPconst [0] (NotEqual cc)) yes no) => (NE cc yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // TF_FinishWhile() or TF_AbortWhile().
    //
    // Missing functionality (TODO):
    // - Gradients
    // - Reference-type inputs
    // - Directly referencing external tensors from the cond/body graphs (this is
    //   possible in the Python API)
    TF_CAPI_EXPORT extern TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs,
                                                     int ninputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top