Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for Cond (0.06 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    	// pod maximum backoff duration.
    	podMaxBackoffDuration time.Duration
    	// the maximum time a pod can stay in the unschedulablePods.
    	podMaxInUnschedulablePodsDuration time.Duration
    
    	cond sync.Cond
    
    	// inFlightPods holds the UID of all pods which have been popped out for which Done
    	// hasn't been called yet - in other words, all pods that are currently being
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

      // CHECK-NOT: tf.While
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  3. src/html/template/escape_test.go

    	tests := []struct {
    		input string
    		err   string
    	}{
    		// Non-error cases.
    		{
    			"{{if .Cond}}<a>{{else}}<b>{{end}}",
    			"",
    		},
    		{
    			"{{if .Cond}}<a>{{end}}",
    			"",
    		},
    		{
    			"{{if .Cond}}{{else}}<b>{{end}}",
    			"",
    		},
    		{
    			"{{with .Cond}}<div>{{end}}",
    			"",
    		},
    		{
    			"{{range .Items}}<a>{{end}}",
    			"",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    		}
    
    	case arg_cond_AllowALNV_Normal:
    		cond := (x >> 12) & (1<<4 - 1)
    		return Cond{uint8(cond), false}
    
    	case arg_conditional:
    		cond := x & (1<<4 - 1)
    		return Cond{uint8(cond), false}
    
    	case arg_cond_NotAllowALNV_Invert:
    		cond := (x >> 12) & (1<<4 - 1)
    		if (cond >> 1) == 7 {
    			return nil
    		}
    		return Cond{uint8(cond), true}
    
    	case arg_Cm:
    		CRm := (x >> 8) & (1<<4 - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
  5. src/go/parser/parser.go

    	}
    
    	if condStmt != nil {
    		cond = p.makeExpr(condStmt, "boolean expression")
    	} else if semi.pos.IsValid() {
    		if semi.lit == "\n" {
    			p.error(semi.pos, "unexpected newline, expecting { after if clause")
    		} else {
    			p.error(semi.pos, "missing condition in if statement")
    		}
    	}
    
    	// make sure we have a valid AST
    	if cond == nil {
    		cond = &ast.BadExpr{From: p.pos, To: p.pos}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  6. pkg/controller/disruption/disruption_test.go

    		t.Fatalf("PDB %q status mismatch (-want,+got):\n%s", key, diff)
    	}
    
    	cond := apimeta.FindStatusCondition(actualConditions, policy.DisruptionAllowedCondition)
    	if cond == nil {
    		t.Fatalf("Expected condition %q, but didn't find it", policy.DisruptionAllowedCondition)
    	}
    	if disruptionsAllowed > 0 {
    		if cond.Status != metav1.ConditionTrue {
    			t.Fatalf("Expected condition %q to have status %q, but was %q",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Absorb InvertFlags
    (CMOVQ(EQ|NE|LT|GT|LE|GE|HI|CS|CC|LS) x y (InvertFlags cond))
        => (CMOVQ(EQ|NE|GT|LT|GE|LE|CS|HI|LS|CC) x y cond)
    (CMOVL(EQ|NE|LT|GT|LE|GE|HI|CS|CC|LS) x y (InvertFlags cond))
        => (CMOVL(EQ|NE|GT|LT|GE|LE|CS|HI|LS|CC) x y cond)
    (CMOVW(EQ|NE|LT|GT|LE|GE|HI|CS|CC|LS) x y (InvertFlags cond))
        => (CMOVW(EQ|NE|GT|LT|GE|LE|CS|HI|LS|CC) x y cond)
    
    // Absorb constants generated during lower
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  8. pkg/controller/replicaset/replica_set_test.go

    	for _, test := range tests {
    		cond := GetCondition(test.status, test.condType)
    		exists := cond != nil
    		if exists != test.expected {
    			t.Errorf("%s: expected condition to exist: %t, got: %t", test.name, test.expected, exists)
    		}
    	}
    }
    
    func TestSetCondition(t *testing.T) {
    	tests := []struct {
    		name string
    
    		status *apps.ReplicaSetStatus
    		cond   apps.ReplicaSetCondition
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256_asm_s390x.s

    	VST T1L, 0(res_ptr)
    	VST T1H, 16(res_ptr)
    	RET
    
    #undef res_ptr
    #undef in_ptr
    #undef T1L
    #undef T1H
    
    // ---------------------------------------
    // iff cond == 1  val <- -val
    // func p256NegCond(val *p256Element, cond int)
    #define P1ptr   R1
    #define CPOOL   R4
    
    #define Y1L   V0
    #define Y1H   V1
    #define T1L   V2
    #define T1H   V3
    
    #define PL    V30
    #define PH    V31
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    	s := new(ForStmt)
    	s.pos = p.pos()
    
    	s.Init, s.Cond, s.Post = p.header(_For)
    	s.Body = p.blockStmt("for clause")
    
    	return s
    }
    
    func (p *parser) header(keyword token) (init SimpleStmt, cond Expr, post SimpleStmt) {
    	p.want(keyword)
    
    	if p.tok == _Lbrace {
    		if keyword == _If {
    			p.syntaxError("missing condition in if statement")
    			cond = p.badExpr()
    		}
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top