Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ResourceInfo (1.22 sec)

  1. pkg/controller/podautoscaler/replica_calculator_test.go

    		resource: &resourceInfo{
    			name:     v1.ResourceCPU,
    			requests: []resource.Quantity{resource.MustParse("1.0")},
    			levels:   [][]int64{{0}},
    		},
    		container: "container2",
    	}
    	tc.runTest(t)
    }
    
    func TestReplicaCalcScaleUp(t *testing.T) {
    	tc := replicaCalcTestCase{
    		currentReplicas:  3,
    		expectedReplicas: 5,
    		resource: &resourceInfo{
    			name:     v1.ResourceCPU,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	for _, path := range paths {
    		apiResource, resourceInfo, err := a.registerResourceHandlers(path, a.group.Storage[path], ws)
    		if err != nil {
    			errors = append(errors, fmt.Errorf("error in registering resource: %s, %v", path, err))
    		}
    		if apiResource != nil {
    			apiResources = append(apiResources, *apiResource)
    		}
    		if resourceInfo != nil {
    			resourceInfos = append(resourceInfos, resourceInfo)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      static LogicalResult HoistResourcesOutOfWhileRegion(TF::WhileRegionOp op);
    
      Operation* op_;
    
      // Per resource information about accesses to that resource.
      struct ResourceInfo {
        // Is this resource read in any of the regions?
        bool is_read;
        // Is this resource written in any of the regions?
        bool is_written;
        // Is this resource written in all of the regions?
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top