Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for conditional (0.47 sec)

  1. 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)
  2. 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)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

          MockResponse(
            headers = headersOf("ETag", "v1"),
            body = "A",
          ),
        )
        executeSynchronously("/")
          .assertCode(200)
          .assertBody("A")
    
        // Attempt conditional cache validation and a DNS miss.
        client =
          client.newBuilder()
            .dns(FakeDns())
            .build()
        executeSynchronously("/").assertFailure(UnknownHostException::class.java)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		t.Errorf("Unexpected error updating podB")
    	}
    
    	// unconditional update
    	// NOTE: The logic for unconditional updates doesn't make sense to me, and imho should be removed.
    	// doUnconditionalUpdate := resourceVersion == 0 && e.UpdateStrategy.AllowUnconditionalUpdate()
    	// ^^ That condition can *never be true due to the creation of root objects.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
              "type": "string"
            },
            "type": {
              "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
              "type": "string"
            }
          },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  10. pkg/registry/batch/job/strategy_test.go

    			},
    			wantErrs: field.ErrorList{
    				{Type: field.ErrorTypeInvalid, Field: "status.conditions"},
    			},
    		},
    		"invalid removal of terminal condition Complete=True": {
    			enableJobManagedBy: true,
    			job: &batch.Job{
    				ObjectMeta: validObjectMeta,
    				Status: batch.JobStatus{
    					Conditions: []batch.JobCondition{
    						{
    							Type:   batch.JobComplete,
    							Status: api.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
Back to top