- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for logic (0.26 sec)
-
cmd/object-handlers_test.go
if err != nil { t.Fatalf("Test %d: %s: Failed to create HTTP request for Head Object: <ERROR> %v", i+1, instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler,`func (api objectAPIHandlers) GetObjectHandler` handles the request. apiRouter.ServeHTTP(rec, req) // Assert the response code with the expected status.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
let options = [ Option<"legacy_graph_export_", "legacy-graph-export", "bool", /*default=*/"true", "Determines whether or not this pass should execute logic that is " "reserved for the legacy graph export pipeline to maintain expected " "invariants. In the case of this pass, that means manually propagating "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// it should never leave regardless of the restart policy. The statuses // of such pods should not be changed, and there is no need to sync them. // TODO: the logic here does not handle two cases: // 1. If the containers were removed immediately after they died, kubelet // may fail to generate correct statuses, let alone filtering correctly.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
needBuild uint32 = 1 << iota needCgoHdr needVet needCompiledGoFiles needCovMetaFile needStale ) // build is the action for building a single package. // Note that any new influence on this logic must be reported in b.buildActionID above as well. func (b *Builder) build(ctx context.Context, a *Action) (err error) { p := a.Package sh := b.Shell(a) bit := func(x uint32, b bool) uint32 { if b {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
# limitations under the License. # This script is for configuring kubernetes master and node instances. It is # uploaded in the manifests tar ball. # TODO: this script duplicates templating logic from cluster/saltbase/salt # using sed. It should use an actual template parser on the manifest # files. set -o errexit set -o nounset set -o pipefail ### Hardcoded constants
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
} // normal update and verify if !updateAndVerify(t, testContext, registry, podB) { 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()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
<< output_dims[dnums.output_spatial_dimensions(i)]); } return tensorflow::GetTypeFromTFTensorShape(output_dims, element_type); } // TODO(hanxiongwang): The logic in this function need move to Op Verify method // when dependecy issue of adding header file // "third_party/tensorflow/compiler/xla/xla_data.pb.h" into // "third_party/tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc" is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
src/net/http/server.go
if u != nil { return RedirectHandler(u.String(), StatusMovedPermanently), u.Path, nil, nil } // Redo the match, this time with r.Host instead of r.URL.Host. // Pass a nil URL to skip the trailing-slash redirect logic. n, matches, _ = mux.matchOrRedirect(r.Host, r.Method, path, nil) } else { // All other requests have any port stripped and path cleaned // before passing to mux.handler. host = stripHostPort(r.Host)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
newObj: mustUnstructured(` foo: bar `), errors: []string{ `root.foo: Invalid value: "string": gotta be baz`, }, }, { name: "changing field path does not change ratcheting logic", schema: mustSchema(` type: object x-kubernetes-validations: - rule: self.foo == "baz" message: gotta be baz fieldPath: ".foo" properties: bar:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
} for _, test := range tests { status := getPhase(test.pod, test.pod.Status.ContainerStatuses, false) assert.Equal(t, test.status, status, "[test %s]", test.test) } } // No special init-specific logic for this, see RestartAlways case // func TestPodPhaseWithRestartOnFailureInitContainers(t *testing.T) { // } func TestConvertToAPIContainerStatuses(t *testing.T) { desiredState := v1.PodSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0)