- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 498 for reallocated (0.36 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.h
SP_DeviceMemoryBase* mem); // Deallocate the device memory previously allocated via this interface. // Deallocation of a nullptr-representative value is permitted. void (*deallocate)(const SP_Device* device, SP_DeviceMemoryBase* memory); // Allocates a region of host memory and registers it with the platform API. // Memory allocated in this manner is required for use in asynchronous memcpy
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/ReservedPortRange.groovy
return getAvailablePort() } finally { lock.unlock() } } /** * Deallocate the given port * * @param port */ public void deallocate(int port) { try { lock.lock() allocated.removeAll(port) } finally { lock.unlock() } } private int getAvailablePort() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 14:46:58 UTC 2017 - 2.8K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/metrics.go
type metricsRecorderInterface interface { setAllocated(allocated int) setAvailable(available int) incrementAllocations(scope string) incrementAllocationErrors(scope string) } // metricsRecorder implements metricsRecorderInterface. type metricsRecorder struct{} func (m *metricsRecorder) setAllocated(allocated int) { nodePortAllocated.Set(float64(allocated)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 26 06:44:16 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/operation.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.2K bytes - Viewed (0) -
common-protos/k8s.io/api/resource/v1alpha2/generated.proto
// +optional repeated ResourceClaimConsumerReference reservedFor = 3; // DeallocationRequested indicates that a ResourceClaim is to be // deallocated. // // The driver then must deallocate this claim and reset the field // together with clearing the Allocation field. // // While DeallocationRequested is set, no new consumers may be added to // ReservedFor. // +optional
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/controller/repair.go
stored.Release(port) } else { // doesn't seem to be allocated nodePortRepairPortErrors.WithLabelValues("repair").Inc() c.recorder.Eventf(svc, nil, corev1.EventTypeWarning, "PortNotAllocated", "PortAllocation", "Port %d is not allocated; repairing", port) runtime.HandleError(fmt.Errorf("the node port %d for service %s/%s is not allocated; repairing", port, svc.Name, svc.Namespace)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 10.4K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/bitmap_test.go
if err != nil { t.Fatal(err) } r, err := NewInMemory(cidr) if err != nil { t.Fatal(err) } allocated := []net.IP{} for i := 0; i < 128; i++ { ip, err := r.AllocateNext() if err != nil { t.Fatal(err) } allocated = append(allocated, ip) } snapshot := api.RangeAllocation{} if err = r.Snapshot(&snapshot); err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel.go
} if !okay { continue } // Found a matching, unallocated instance. Let's use it. // // A more thorough search would include backtracking because // allocating one "large" instances for a "small" request may // make a following "large" request impossible to satisfy when // only "small" instances are left. instances[i].Allocated = true indices = append(indices, i) break } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:26:16 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/allocator_test.go
free: 2768 - 2, used: 2, allocated: 2, errors: 0, } expectMetrics(t, em) // try to allocate the same ports for s := range found { if !a.Has(s) { t.Fatalf("missing: %d", s) } if err := a.Allocate(s); err != ErrAllocated { t.Fatal(err) } } em = testMetrics{ free: 2768 - 2, used: 2, allocated: 2, errors: 2, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 14K bytes - Viewed (0) -
test/fixedbugs/issue67255.go
// max out their size class, which are the ones we want. // We also allocate from small to large, so that the object which // maxes out its size class is the last one allocated in that class. // This allocation pattern leaves the next object in the class // unallocated, which we need to reproduce the bug. objs = append(objs, make([]*byte, i)) } sink = objs // force heap allocation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 922 bytes - Viewed (0)