Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for sresource (4.35 sec)

  1. pkg/apis/apps/validation/validation_test.go

    			StorageClassName: &storageClass,
    			Resources: api.VolumeResourceRequirements{
    				Requests: api.ResourceList{
    					api.ResourceStorage: resource.MustParse("1Gi"),
    				},
    			},
    		},
    	}
    	validPVCTemplateChangedSize := *validPVCTemplate.DeepCopy()
    	validPVCTemplateChangedSize.Spec.Resources.Requests[api.ResourceStorage] = resource.MustParse("2Gi")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    )
    
    // ResourceID represents a 16-bit resource identifier, traditionally created with the MAKEINTRESOURCE macro.
    type ResourceID uint16
    
    // ResourceIDOrString must be either a ResourceID, to specify a resource or resource type by ID,
    // or a string, to specify a resource or resource type by name.
    type ResourceIDOrString interface{}
    
    // Predefined resource names and types.
    var (
    	// Predefined names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller_test.go

    		Containers: []v1.Container{{
    			Resources: v1.ResourceRequirements{
    				Requests: allocatableResources(memory, cpu),
    			},
    		}},
    	}
    }
    
    func allocatableResources(memory, cpu string) v1.ResourceList {
    	return v1.ResourceList{
    		v1.ResourceMemory: resource.MustParse(memory),
    		v1.ResourceCPU:    resource.MustParse(cpu),
    		v1.ResourcePods:   resource.MustParse("100"),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/networking/v1beta1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Resource == nil {
    				m.Resource = &v11.TypedLocalObjectReference{}
    			}
    			if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                           ResourceEffects::TPUExecute::get());
    
      // Conservatively mark resource handles as read and write, as without
      // analyzing TPUCompile, there is not sufficient information to determine
      // effects on resources. For the MLIR bridge, this op will never be
      // populated with resource handles and tf.TPUExecuteAndUpdateVariables is
      // used instead.
      for (Value value : getArgs()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/api/authorization/v1/generated.pb.go

    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
    	i--
    	dAtA[i] = 0x3a
    	i -= len(m.Subresource)
    	copy(dAtA[i:], m.Subresource)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subresource)))
    	i--
    	dAtA[i] = 0x32
    	i -= len(m.Resource)
    	copy(dAtA[i:], m.Resource)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
    	i--
    	dAtA[i] = 0x2a
    	i -= len(m.Version)
    	copy(dAtA[i:], m.Version)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 100.9K bytes
    - Viewed (0)
  10. 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)
Back to top