Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for sresource (1.43 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	// resource is NOT registered in the root scope
    	w := httptest.NewRecorder()
    	handler.ServeHTTP(w, &http.Request{Method: "GET", URL: &url.URL{Path: "/" + prefix + "/simple/test/sub"}})
    	if w.Code != http.StatusNotFound {
    		t.Errorf("expected not found: %#v", w)
    	}
    
    	// resource is registered in the namespace scope
    	w = httptest.NewRecorder()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top