- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,556 for free1 (0.04 sec)
-
src/runtime/mgcwork.go
// list and move all workbuf spans to the free list. work.empty = 0 work.wbufSpans.free.takeAll(&work.wbufSpans.busy) unlock(&work.wbufSpans.lock) } // freeSomeWbufs frees some workbufs back to the heap and returns // true if it should be called again to free more. func freeSomeWbufs(preemptible bool) bool { const batchSize = 64 // ~1–2 µs per span. lock(&work.wbufSpans.lock)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 12.9K bytes - Viewed (0) -
cmd/admin-server-info.go
Version: Version, CommitID: CommitID, Network: network, MemStats: madmin.MemStats{ Alloc: memstats.Alloc, TotalAlloc: memstats.TotalAlloc, Mallocs: memstats.Mallocs, Frees: memstats.Frees, HeapAlloc: memstats.HeapAlloc, }, GoMaxProcs: runtime.GOMAXPROCS(0), NumCPU: runtime.NumCPU(), RuntimeVersion: runtime.Version(), GCStats: &madmin.GCStats{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/metrics_test.go
} if b, c := len(objects.free.Buckets), len(objects.free.Counts); b != c+1 { t.Errorf("frees-by-size has wrong bucket or counts length: %d buckets, %d counts", b, c) } if len(objects.alloc.Buckets) != len(objects.free.Buckets) { t.Error("allocs-by-size and frees-by-size buckets don't match in length") } else if len(objects.alloc.Counts) != len(objects.free.Counts) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
pkg/ctrlz/topics/assets/templates/mem.html
<td id="Mallocs">{{.Mallocs}} objects</td> <td>Cumulative count of heap objects allocated.</td> </tr> <tr> <td>Frees</td> <td id="Frees">{{.Frees}} objects</td> <td>Cumulative count of heap objects freed.</td> </tr> <tr> <td>Live</td> <td id="Live">0 objects</td> <td>Count of live heap objects.</td> </tr> <tr>
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.2K bytes - Viewed (0) -
src/runtime/mprof.go
// active. future [3]memRecordCycle } // memRecordCycle type memRecordCycle struct { allocs, frees uintptr alloc_bytes, free_bytes uintptr } // add accumulates b into a. It does not zero b. func (a *memRecordCycle) add(b *memRecordCycle) { a.allocs += b.allocs a.frees += b.frees a.alloc_bytes += b.alloc_bytes a.free_bytes += b.free_bytes }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.c
if (stack1 == NULL) { perror("malloc"); exit(1); } // Allocate the second stack before freeing the first to ensure we don't get // the same address from malloc. // // Will be freed in stackSwitchThread2. stack2 = malloc(STACK_SIZE); if (stack1 == NULL) { perror("malloc"); exit(1); } if (getcontext(&uctx_switch) == -1) { perror("getcontext"); exit(1); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 15:17:33 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/runtime2.go
sudoglock mutex sudogcache *sudog // Central pool of available defer structs. deferlock mutex deferpool *_defer // freem is the list of m's waiting to be freed when their // m.exited is set. Linked through m.freelink. freem *m gcwaiting atomic.Bool // gc is waiting to run stopwait int32 stopnote note sysmonwait atomic.Bool sysmonnote note
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h
* be created and added but the error code will be set to CUE_DUP_SUITE. * The duplicate suite will not be accessible by name.<br /><br /> * * NOTE - the CU_pSuite pointer returned should NOT BE FREED BY * THE USER. The suite is freed by the CUnit system when * CU_cleanup_registry() is called. <b>This function must not * be called during a test run (checked by assertion)</b>. <br /><br /> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 40.4K bytes - Viewed (0) -
src/runtime/traceallocfree.go
tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvSpanAlloc, traceSpanID(s), traceArg(s.npages), traceSpanTypeAndClass(s)) } // SpanFree records an event indicating that the span is about to be freed. func (tl traceLocker) SpanFree(s *mspan) { tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvSpanFree, traceSpanID(s)) } // traceSpanID creates a trace ID for the span s for the trace.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:32:51 UTC 2024 - 5.9K bytes - Viewed (0) -
src/runtime/stack.go
mheap_.freeManual(s, spanAllocStack) } s = next } unlock(&stackpool[order].item.mu) } // Free large stack spans. lock(&stackLarge.lock) for i := range stackLarge.free { for s := stackLarge.free[i].first; s != nil; { next := s.next stackLarge.free[i].remove(s) osStackFree(s) mheap_.freeManual(s, spanAllocStack) s = next } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0)