- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 101 for conditional (0.52 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/controller/daemon/daemon_controller_test.go
daemonPods, _ := manager.podLister.Pods(ds.Namespace).List(selector) for _, pod := range daemonPods { condition := v1.PodCondition{Type: v1.PodReady, Status: v1.ConditionTrue} pod.Status.Conditions = append(pod.Status.Conditions, condition) } expectSyncDaemonSets(t, manager, ds, podControl, 0, 0, 0) if updated.Status.NumberReady != 2 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0)