Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for sresource (2.1 sec)

  1. 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)
  2. pkg/kubelet/eviction/helpers_test.go

    		pod5: newPodDiskStats(pod5, resource.MustParse("500Mi"), resource.MustParse("200Mi"), resource.MustParse("100Mi")), // -200 relative to request
    		pod6: newPodDiskStats(pod6, resource.MustParse("50Mi"), resource.MustParse("100Mi"), resource.MustParse("50Mi")),   // -800 relative to request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/api/pod/util_test.go

    						Image:              "image",
    						AllocatedResources: api.ResourceList{api.ResourceCPU: resource.MustParse("100m")},
    						Resources: &api.ResourceRequirements{
    							Requests: api.ResourceList{api.ResourceCPU: resource.MustParse("200m")},
    							Limits:   api.ResourceList{api.ResourceCPU: resource.MustParse("300m")},
    						},
    					},
    				},
    			},
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/eviction_manager_test.go

    	case "container-ephemeral-storage-limit":
    		podStats = newPodMemoryStats(pod, *resource.NewQuantity(limits.StorageEphemeral().Value(), resource.BinarySI))
    	case "pod-ephemeral-storage-limit":
    		podStats = newPodMemoryStats(pod, *resource.NewQuantity(limits.StorageEphemeral().Value()*2, resource.BinarySI))
    	default:
    		podStats = newPodMemoryStats(pod, resource.MustParse(memoryWorkingSet))
    	}
    	return pod, podStats
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. 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)
  8. pkg/scheduler/schedule_one_test.go

    					v1.ResourceCPU:    *(resource.NewQuantity(cpu/2, resource.DecimalSI)),
    					v1.ResourceMemory: *(resource.NewQuantity(mem/5, resource.DecimalSI)),
    					v1.ResourcePods:   *(resource.NewQuantity(10, resource.DecimalSI)),
    				},
    				Allocatable: v1.ResourceList{
    					v1.ResourceCPU:    *(resource.NewQuantity(cpu/2, resource.DecimalSI)),
    					v1.ResourceMemory: *(resource.NewQuantity(mem/5, resource.DecimalSI)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top