- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 799 for free1 (0.33 sec)
-
src/runtime/mpallocbits.go
func (b *pallocBits) allocAll() { (*pageBits)(b).setAll() } // free1 frees a single page in the pallocBits at i. func (b *pallocBits) free1(i uint) { (*pageBits)(b).clear(i) } // free frees the range [i, i+n) of pages in the pallocBits. func (b *pallocBits) free(i, n uint) { (*pageBits)(b).clearRange(i, n) } // freeAll frees all the bits of b. func (b *pallocBits) freeAll() { (*pageBits)(b).clearAll()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 15:13:43 UTC 2024 - 12.5K bytes - Viewed (0) -
src/runtime/mpagealloc_test.go
} tests := map[string]struct { before map[ChunkIdx][]BitRange after map[ChunkIdx][]BitRange npages uintptr frees []uintptr }{ "Free1": { npages: 1, before: map[ChunkIdx][]BitRange{ BaseChunkIdx: {{0, PallocChunkPages}}, }, frees: []uintptr{ PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx, 1), PageBase(BaseChunkIdx, 2), PageBase(BaseChunkIdx, 3),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 19:16:48 UTC 2021 - 32.6K bytes - Viewed (0) -
src/runtime/mpagealloc.go
p.chunkOf(sc).free(si, pallocChunkPages-si) p.scav.index.free(sc, si, pallocChunkPages-si) for c := sc + 1; c < ec; c++ { p.chunkOf(c).freeAll() p.scav.index.free(c, 0, pallocChunkPages) } p.chunkOf(ec).free(0, ei+1) p.scav.index.free(ec, 0, ei+1) } } p.update(base, npages, true, false) } const ( pallocSumBytes = unsafe.Sizeof(pallocSum(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 39.2K bytes - Viewed (0) -
src/runtime/mstats.go
Lookups uint64 // Mallocs is the cumulative count of heap objects allocated. // The number of live objects is Mallocs - Frees. Mallocs uint64 // Frees is the cumulative count of heap objects freed. Frees uint64 // Heap memory statistics. // // Interpreting the heap statistics requires some knowledge of // how Go organizes memory. Go divides the virtual address
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0) -
src/runtime/mgcsweep.go
// objects, because a fresh span that had been allocated into, // wasn't totally filled, but then swept, still has all of its // free slots zeroed. s.needzero = 1 stats := memstats.heapStats.acquire() atomic.Xadd64(&stats.smallFreeCount[spc.sizeclass()], int64(nfreed)) memstats.heapStats.release() // Count the frees in the inconsistent, internal stats.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
src/runtime/mpallocbits_test.go
npages: 2, frees: []uint{0, 2, 4, 6, 8, 10}, afterInv: []BitRange{{0, 12}}, }, "NoneFree5": { npages: 5, frees: []uint{0, 5, 10, 15, 20}, afterInv: []BitRange{{0, 25}}, }, "NoneFree64": { npages: 64, frees: []uint{0, 64, 128}, afterInv: []BitRange{{0, 192}}, }, "NoneFree65": { npages: 65, frees: []uint{0, 65, 130},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 22:00:17 UTC 2020 - 13.7K bytes - Viewed (0) -
tensorflow/c/ops.h
// otherwise in the given status. // // `builder` is freed whether the op was successfully registered or not. You // must call either this function or TF_DeleteOpDefinitionBuilder to free the // builder, but never both. TF_CAPI_EXPORT extern void TF_RegisterOpDefinition( TF_OpDefinitionBuilder* builder, TF_Status* status); // Frees the given op definition builder. You must call either this function or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 16.3K bytes - Viewed (0) -
src/runtime/arena.go
// that were exhausted when allocating into the arena. Once the arena is freed, // it frees all full chunks it references, and places the active one onto a reuse // list for a future arena to use. Each arena keeps its list of referenced chunks // explicitly live until it is freed. Each user arena also maps to an object which // has a finalizer attached that ensures the arena's chunks are all freed even if // the arena itself is never explicitly freed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/runtime/export_test.go
} slow.Frees += m.tinyAllocCount + m.largeFreeCount slow.Mallocs += slow.Frees slow.TotalAlloc = slow.Alloc + m.largeFree + smallFree for i := range slow.BySize { slow.BySize[i].Mallocs = bySize[i].Mallocs slow.BySize[i].Frees = bySize[i].Frees } for i := mheap_.pages.start; i < mheap_.pages.end; i++ { chunk := mheap_.pages.tryChunkOf(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/metrics/description.go
Kind: KindUint64, }, { Name: "/memory/classes/heap/released:bytes", Description: "Memory that is completely free and has been returned to the underlying system. This " + "metric is the runtime's estimate of free address space that is still mapped into the process, " + "but is not backed by physical memory.",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 17:59:12 UTC 2023 - 19.6K bytes - Viewed (0)