- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Accounting (0.17 sec)
-
src/runtime/mheap.go
// // If typ.manual() == false, allocSpan allocates a heap span of class spanclass // and updates heap accounting. If manual == true, allocSpan allocates a // manually-managed span (spanclass is ignored), and the caller is // responsible for any accounting related to its use of the span. Either // way, allocSpan will atomically add the bytes in the newly allocated // span to *sysStat. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/runtime/mgcpacer.go
if trace.ok() { trace.HeapAlloc(bytesMarked) traceRelease(trace) } } // markWorkerStop must be called whenever a mark worker stops executing. // // It updates mark work accounting in the controller by a duration of // work in nanoseconds and other bookkeeping. // // Safe to execute at any time. func (c *gcControllerState) markWorkerStop(mode gcMarkWorkerMode, duration int64) { switch mode {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// Only perform sys* operations if we're not in a test. // It's dangerous to do so otherwise. sysUnused(unsafe.Pointer(addr), uintptr(npages)*pageSize) // Update global accounting only when not in test, otherwise // the runtime's accounting will be wrong. nbytes := int64(npages * pageSize) gcController.heapReleased.add(nbytes) gcController.heapFree.add(-nbytes) stats := memstats.heapStats.acquire()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
if runtime.GOOS != "linux" { t.Skip("issue 35057 is only confirmed on Linux") } // Linux [5.9,5.16) has a kernel bug that can break CPU timers on newly // created threads, breaking our CPU accounting. major, minor := unix.KernelVersion() t.Logf("Running on Linux %d.%d", major, minor) defer func() { if t.Failed() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
strictDupMsgs int // number of strict-dup warning/errors, when FlagStrictDups is enabled errorReporter *ErrorReporter npkgsyms int // number of package symbols, for accounting nhashedsyms int // number of hashed symbols, for accounting } const ( pkgDef = iota hashed64Def hashedDef nonPkgDef nonPkgRef ) // objidx const ( nilObj = iota extObj goObjStart )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/time/time.go
return int(daysBefore[m] - daysBefore[m-1]) } // daysSinceEpoch takes a year and returns the number of days from // the absolute epoch to the start of that year. // This is basically (year - zeroYear) * 365, but accounting for leap days. func daysSinceEpoch(year int) uint64 { y := uint64(int64(year) - absoluteZeroYear) // Add in days from 400-year cycles. n := y / 400 y -= 400 * n d := daysPer400Years * n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
harmed connection reuse. * Fix: Ensure canceled and discarded HTTP/2 data is not permanently counted against the limited flow control window. We had a few bugs where window size accounting was broken when streams were canceled or reset. * Fix: Recover gracefully if the TLS session returns an unexpected version (`NONE`) or cipher suite (`SSL_NULL_WITH_NULL_NULL`).
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
src/runtime/mgc.go
return false } lastgc := int64(atomic.Load64(&memstats.last_gc_nanotime)) return lastgc != 0 && t.now-lastgc > forcegcperiod case gcTriggerCycle: // t.n > work.cycles, but accounting for wraparound. return int32(t.n-work.cycles.Load()) > 0 } return true } // gcStart starts the GC. It transitions from _GCoff to _GCmark (if // debug.gcstoptheworld == 0) or performs all of GC (if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/runtime/malloc.go
asanunpoison(x, userSize) } // TODO(mknyszek): We should really count the header as part // of gc_sys or something. The code below just pretends it is // internal fragmentation and matches the GC's accounting by // using the whole allocation slot. fullSize := span.elemsize if rate := MemProfileRate; rate > 0 { // Note cache c only valid while m acquired; see #47302 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
cmd/xl-storage.go
continue } if oi.DeleteMarker { sizeS.deleteMarkers++ } if oi.VersionID != "" && sz == actualSz { sizeS.versions++ } sizeS.totalSize += sz // Skip tier accounting if object version is a delete-marker or a free-version // tracking deleted transitioned objects switch { case oi.DeleteMarker, oi.TransitionedObject.FreeVersion: continue }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (0)