Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for conditional (0.27 sec)

  1. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    ((EQ|NE|LT|LE|GT|GE) (CMPWconst [0] x:(ANDconst [c] y)) yes no) && x.Uses == 1 => ((EQ|NE|LT|LE|GT|GE) (TSTWconst [int32(c)] y) yes no)
    
    // For conditional instructions such as CSET, CSEL.
    ((Equal|NotEqual|LessThan|LessEqual|GreaterThan|GreaterEqual) (CMPconst [0]  z:(AND        x y))) && z.Uses == 1 =>
    	((Equal|NotEqual|LessThan|LessEqual|GreaterThan|GreaterEqual) (TST x y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm9.go

    			p.Pc = pc
    			o = c.oplook(p)
    
    			// very large conditional branches
    			if (o.type_ == 16 || o.type_ == 17) && p.To.Target() != nil {
    				otxt = p.To.Target().Pc - pc
    				if otxt < -(1<<15)+10 || otxt >= (1<<15)-10 {
    					// Assemble the instruction with a target not too far to figure out BI and BO fields.
    					// If only the CTR or BI (the CR bit) are tested, the conditional branch can be inverted,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/asm7.go

    	case 57: /* floating point conditional compare */
    		o1 = c.oprrr(p, p.As)
    
    		cond := SpecialOperand(p.From.Offset)
    		if cond < SPOP_EQ || cond > SPOP_NV {
    			c.ctxt.Diag("invalid condition\n%v", p)
    		} else {
    			cond -= SPOP_EQ
    		}
    
    		nzcv := int(p.To.Offset)
    		if nzcv&^0xF != 0 {
    			c.ctxt.Diag("implausible condition\n%v", p)
    		}
    		rf := int(p.Reg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"foo": "baz",
    			},
    			schema: withRule(objectType(map[string]schema.Structural{
    				"foo": stringType,
    			}), `!oldSelf.hasValue() || self.foo == "bar"`),
    		},
    		{
    			name: "object - conditional field",
    			obj: map[string]interface{}{
    				"foo": "bar",
    			},
    			oldObj: map[string]interface{}{
    				"foo": "baz",
    			},
    			schema: withRule(objectType(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/asm6.go

    		p.As == obj.ARET || p.As == obj.ADUFFCOPY || p.As == obj.ADUFFZERO
    }
    
    // lookForJCC returns the first real instruction starting from p, if that instruction is a conditional
    // jump. Otherwise, nil is returned.
    func lookForJCC(p *obj.Prog) *obj.Prog {
    	// Skip any PCDATA, FUNCDATA or NOP instructions
    	var q *obj.Prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    	} else {
    		api.headObjectHandler(ctx, objectAPI, bucket, object, w, r)
    	}
    }
    
    // Extract metadata relevant for an CopyObject operation based on conditional
    // header values specified in X-Amz-Metadata-Directive.
    func getCpObjMetadataFromHeader(ctx context.Context, r *http.Request, userMeta map[string]string) (map[string]string, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/generic.rules

    //  - the first occurrence of a variable defines that variable.  Subsequent
    //    uses must match (be == to) the first use.
    //  - v is defined to be the value matched.
    //  - an additional conditional can be provided after the match pattern with "&&".
    // on the generated side
    //  - the type of the top-level expression is the same as the one on the left-hand side.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        Select values of 'x' if the corresponding value of 'condition' is true or
        the value of 'y' if false. There are valid condition input sizes:
    
        1. Either the same shape (in which case the select is elementwise), or
        2. condition must be Rank 1 and match over the first dimension.
      }];
    
      let arguments = (ins
        TFL_BoolTensor:$condition,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers_test.go

    		if !reflect.DeepEqual(test.expect, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expect, rows))
    		}
    	}
    }
    
    func TestPrintPodwide(t *testing.T) {
    	condition1 := "condition1"
    	condition2 := "condition2"
    	condition3 := "condition3"
    	tests := []struct {
    		pod    api.Pod
    		expect []metav1.TableRow
    	}{
    		{
    			// Test when the NodeName and PodIP are not none
    			api.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers.go

    }
    
    func hasPodReadyCondition(conditions []api.PodCondition) bool {
    	for _, condition := range conditions {
    		if condition.Type == api.PodReady && condition.Status == api.ConditionTrue {
    			return true
    		}
    	}
    	return false
    }
    
    func hasJobCondition(conditions []batch.JobCondition, conditionType batch.JobConditionType) bool {
    	for _, condition := range conditions {
    		if condition.Type == conditionType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top