- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for sresource (0.33 sec)
-
pkg/printers/internalversion/printers_test.go
}, Spec: storagemigration.StorageVersionMigrationSpec{ Resource: storagemigration.GroupVersionResource{ Group: "test-group", Version: "test-version", Resource: "test-resource", }, }, } // Columns: Name, GVRTOMIGRATE expected := []metav1.TableRow{{Cells: []interface{}{"print-test", "test-resource.test-version.test-group"}}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
func @write_only_resource(%value: tensor<i32>, %resource: tensor<*x!tf_type.resource<tensor<i32>>>) { %resource_read = "tf.ReadVariableOp"(%resource) : (tensor<*x!tf_type.resource<tensor<i32>>>) -> tensor<i32> %0 = "tf_device.cluster_func"(%value, %resource_read) {func = @cluster} : (tensor<i32>, tensor<i32>) -> tensor<i32> "tf.AssignVariableOp"(%resource, %0) : (tensor<*x!tf_type.resource<tensor<i32>>>, tensor<i32>) -> () return
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_test.go
resourceQuantity0 := *resource.NewQuantity(int64(0), resource.DecimalSI) resourceQuantity1 := *resource.NewQuantity(int64(1), resource.DecimalSI) resourceQuantity2 := *resource.NewQuantity(int64(2), resource.DecimalSI) resourceQuantityInvalid := *resource.NewQuantity(int64(-1), resource.DecimalSI) allowedPodQuantity := *resource.NewQuantity(int64(10), resource.DecimalSI) nodes := []*v1.Node{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
} resources := make([]api.ResourceName, 0, len(resourceQuota.Status.Hard)) for resource := range resourceQuota.Status.Hard { resources = append(resources, resource) } sort.Sort(SortableResourceNames(resources)) requestColumn := bytes.NewBuffer([]byte{}) limitColumn := bytes.NewBuffer([]byte{}) for i := range resources { w := requestColumn resource := resources[i]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
for resource := range target.Limits { if resource != v1.ResourceCPU && resource != v1.ResourceMemory && resource != v1.ResourceEphemeralStorage { delete(target.Limits, resource) } } for resource := range target.Requests { if resource != v1.ResourceCPU && resource != v1.ResourceMemory && resource != v1.ResourceEphemeralStorage { delete(target.Requests, resource)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
DCOMMENT_OP(op, "Inferring shape for VarHandleOp"); Value resource = op.getResource(); if (!CanBeRefined(resource.getType())) return false; // Make sure there are only use cases from the `AssignVariableOp` and // `ReadVariableOp`. For other cases, we can skip to be conservative. for (auto& use : make_early_inc_range(resource.getUses())) { Operation* def = use.getOwner();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
Path: "/api/v1/test", Verb: "test", APIPrefix: "api", APIGroup: apiGroup, APIVersion: "v1", Namespace: "", Resource: resource, Subresource: "", Name: "", Parts: []string{"test"}, } } func TestQualifiedResource(t *testing.T) { podA := &example.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
CPU1AndMem1G := v1.ResourceList{v1.ResourceCPU: resource.MustParse("1"), v1.ResourceMemory: resource.MustParse("1Gi")} CPU1AndMem1GAndStorage2G := CPU1AndMem1G.DeepCopy() CPU1AndMem1GAndStorage2G[v1.ResourceEphemeralStorage] = resource.MustParse("2Gi") CPU1AndMem1GAndStorage2GAndCustomResource := CPU1AndMem1GAndStorage2G.DeepCopy() CPU1AndMem1GAndStorage2GAndCustomResource["unknown-resource"] = resource.MustParse("1")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
for _, c := range pod.Spec.Containers { if cs, ok := podutil.GetContainerStatus(podStatus.ContainerStatuses, c.Name); ok { if cs.Resources == nil { continue } if !cmp.Equal(c.Resources.Limits, cs.Resources.Limits) || !cmp.Equal(cs.AllocatedResources, cs.Resources.Requests) { return true } } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
}, }, { name: "If event with '*' Resource, queueing hint function for specified Resource is also executed", podInfo: &framework.QueuedPodInfo{ UnschedulablePlugins: sets.New("fooPlugin1"), PodInfo: mustNewPodInfo(st.MakePod().Name("pod1").Namespace("ns1").UID("1").Obj()), }, event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0)