- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 580 for deallocated (0.2 sec)
-
test/fixedbugs/issue14591.go
// Test to make sure we don't think values are dead // when they are assigned to a PPARAMOUT slot before // the last GC safepoint. package main import ( "fmt" "runtime" ) // When a T is deallocated, T[1] is certain to // get clobbered (the runtime writes 0xdeaddeaddeaddead there). type T [4]int func f() (r, s *T) { r = &T{0x30, 0x31, 0x32, 0x33} runtime.GC() s = &T{0x40, 0x41, 0x42, 0x43} runtime.GC()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 769 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy
} def "can reuse deallocated ports" () { _ * portDetector.isAvailable(_) >> { true } when: 10.times { range.allocate() } then: range.allocate() == -1 when: range.deallocate(103) range.deallocate(109) range.deallocate(102) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 06 13:37:30 UTC 2015 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
if (global.first_use < remat.begin) { // The tensor is created before the source range. if (global.last_use < remat.insert) { // It currently gets deallocated before the newly inserted range, so we // need to extend its lifetime: It will now be deallocated at its last // use in the inserted range. del_dealloc(global.last_use); add_dealloc(source_to_target(source.last_use)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 13.7K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
// clusterIP/clusterIPs (even "None" counts as a value), we might be able // to wipe some fields. if needsClusterIP(oldSvc) && !needsClusterIP(newSvc) { if sameClusterIPs(oldSvc, newSvc) { // These will be deallocated later. newSvc.Spec.ClusterIP = "" newSvc.Spec.ClusterIPs = nil } if sameIPFamilies(oldSvc, newSvc) { newSvc.Spec.IPFamilies = nil } if sameIPFamilyPolicy(oldSvc, newSvc) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
src/internal/poll/splice_linux_test.go
} expiredTime := time.NewTimer(timeout) defer expiredTime.Stop() // Trigger garbage collection repeatedly, waiting for all pipes in sync.Pool // to either be deallocated and closed, or to time out. for { runtime.GC() time.Sleep(10 * time.Millisecond) // Detect whether all pipes are closed properly. var leakedFDs []int pendingFDs.Range(func(k, v any) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tensor.h
// Assign the internal ShapedBuffer to new memory for the given dtype and // shape. If a ShapedBuffer exists already (has_shaped_buffer() == true), it // is replaced and the managed memory deallocated. Status AllocateShapedBuffer(DataType dtype, const xla::Shape& on_device_shape, xla::LocalClient* client, int device_ordinal);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/c/tf_tensor.h
// Return a new tensor that holds the bytes data[0,len-1]. // // The data will be deallocated by a subsequent call to TF_DeleteTensor via: // (*deallocator)(data, len, deallocator_arg) // Clients must provide a custom deallocator function so they can pass in // memory managed by something like numpy. // // May return NULL (and invoke the deallocator) if the provided data buffer
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 16:40:30 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h
// kept sorted + unique. SizeT alloc = 0; // The number of bytes that need to be allocated before // this operation. SizeT dealloc = 0; // The number of bytes that can be deallocated after // this operation. }; // Given the current state of `operations_` and `tensors_`, return a vector of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 12K bytes - Viewed (0) -
src/sync/pool.go
// Any item stored in the Pool may be removed automatically at any time without // notification. If the Pool holds the only reference when this happens, the // item might be deallocated. // // A Pool is safe for use by multiple goroutines simultaneously. // // Pool's purpose is to cache allocated but unused items for later reuse, // relieving pressure on the garbage collector. That is, it makes it easy to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 9.4K 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)