Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 541 for allocable (0.16 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    			}
    
    			allocation, createErr := controller.Allocate(tCtx, tc.model)
    			if createErr != nil {
    				if !tc.expectAllocateErr {
    					tCtx.Fatalf("unexpected allocate error: %v", createErr)
    				}
    				return
    			}
    			if tc.expectAllocateErr {
    				tCtx.Fatalf("did not get expected allocate error")
    			}
    
    			expectAllocation := []*resourceapi.NamedResourcesAllocationResult{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/qos_container_manager_linux.go

    	resources := m.getNodeAllocatable()
    	allocatableResource, ok := resources[v1.ResourceMemory]
    	if !ok {
    		klog.V(2).InfoS("Allocatable memory value could not be determined, not setting QoS memory limits")
    		return
    	}
    	allocatable := allocatableResource.Value()
    	if allocatable == 0 {
    		klog.V(2).InfoS("Allocatable memory reported as 0, might be in standalone mode, not setting QoS memory limits")
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/ipallocator.go

    	return nil
    }
    
    // Allocate attempts to reserve the provided IP. ErrNotInRange or
    // ErrAllocated will be returned if the IP is not valid for this range
    // or has already been reserved.  ErrFull will be returned if there
    // are no addresses left.
    // Only for testing, it will fail to create the IPAddress object because
    // the Service reference is required.
    func (a *Allocator) Allocate(ip net.IP) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1.CSINode.json

          }
        ]
      },
      "spec": {
        "drivers": [
          {
            "name": "nameValue",
            "nodeID": "nodeIDValue",
            "topologyKeys": [
              "topologyKeysValue"
            ],
            "allocatable": {
              "count": 1
            }
          }
        ]
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1beta1.CSINode.json

          }
        ]
      },
      "spec": {
        "drivers": [
          {
            "name": "nameValue",
            "nodeID": "nodeIDValue",
            "topologyKeys": [
              "topologyKeysValue"
            ],
            "allocatable": {
              "count": 1
            }
          }
        ]
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1.CSINode.json

          }
        ]
      },
      "spec": {
        "drivers": [
          {
            "name": "nameValue",
            "nodeID": "nodeIDValue",
            "topologyKeys": [
              "topologyKeysValue"
            ],
            "allocatable": {
              "count": 1
            }
          }
        ]
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. pkg/apis/storage/validation/validation_test.go

    				TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    				Allocatable:  &storage.VolumeNodeResources{Count: utilpointer.Int32(20)},
    			}, {
    				Name:         "io.kubernetes.storage.csi.driver-3",
    				NodeID:       nodeID,
    				TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    				Allocatable:  &storage.VolumeNodeResources{Count: utilpointer.Int32(30)},
    			}},
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/cidrallocator_test.go

    			return false, nil
    		}
    		allocator.ipAddressSynced = func() bool { return true }
    		return allocator.ready.Load(), nil
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	// allocate one IP from the new allocator
    	err = r.Allocate(netutils.ParseIPSloppy("10.0.0.11"))
    	if err != nil {
    		t.Fatalf("error allocating IP 10.0.0.11 from new allocator: %v", err)
    	}
    	count++
    	for r.Free() > 0 {
    		ip, err := r.AllocateNext()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. src/runtime/os_wasm.go

    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func sigsave(p *sigset) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_types.h

      static TFRTypeStorage* construct(TypeStorageAllocator& allocator, KeyTy key) {
        // Allocate a new storage instance.
        auto byteSize = TFRTypeStorage::totalSizeToAlloc<StringAttr>(key.size());
        auto rawMem = allocator.allocate(byteSize, alignof(TFRTypeStorage));
        auto result = ::new (rawMem) TFRTypeStorage(key.size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top