- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 128 for curg (0.05 sec)
-
src/runtime/malloc.go
func deductAssistCredit(size uintptr) *g { var assistG *g if gcBlackenEnabled != 0 { // Charge the current user G for this allocation. assistG = getg() if assistG.m.curg != nil { assistG = assistG.m.curg } // Charge the allocation against the G. We'll account // for internal fragmentation at the end of mallocgc. assistG.gcAssistBytes -= int64(size) if assistG.gcAssistBytes < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/os_windows.go
if gp := mp.g0; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi { return gp } if gp := mp.gsignal; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi { return gp } if gp := mp.curg; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi { return gp } return nil } func profileLoop() { stdcall2(_SetThreadPriority, currentThread, _THREAD_PRIORITY_HIGHEST) for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/runtime/export_test.go
// allocate and skew the stats. metricsLock() initMetrics() systemstack(func() { // Donate the racectx to g0. readMetricsLocked calls into the race detector // via map access. getg().racectx = getg().m.curg.racectx // Read the metrics once before in case it allocates and skews the metrics. // readMetricsLocked is designed to only allocate the first time it is called
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/mgc.go
startTime := nanotime() mp := acquirem() mp.preemptoff = "gcing" mp.traceback = 2 curgp := mp.curg // N.B. The execution tracer is not aware of this status // transition and handles it specially based on the // wait reason. casGToWaitingForGC(curgp, _Grunning, waitReasonGarbageCollection) // Run gc on the g0 stack. We do this so that the g stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/util.go
} return out } // returns a set of objects that are in `old` but not in `curr` // For example: // old = {a1, a2, a3} // curr = {a1, a2, a4, a5} // difference(old, curr) = {a3} func difference(old, curr map[types.NamespacedName]*config.Config) []types.NamespacedName { var out []types.NamespacedName for key := range old { if _, ok := curr[key]; !ok { out = append(out, key) } } return out }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 1.9K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/order.go
g = unordered return } } func transitionReady(g uint64, curr, init gState) bool { return g == unordered || (init.seq == noseq || init.seq == curr.seq) && init.status == curr.status } func transition(gs map[uint64]gState, g uint64, init, next gState) error { if g == unordered { return nil } curr := gs[g] if !transitionReady(g, curr, init) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
OLD_VERSION=RELEASE.2024-03-26T22-10-45Z OLD_BINARY_LINK=https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${OLD_VERSION} __init__() { if which curl &>/dev/null; then echo "curl is already installed" else echo "Installing curl:" sudo apt install curl -y fi export GOPATH=/tmp/gopath export PATH="${PATH}":"${GOPATH}"/bin if which mc &>/dev/null; then echo "mc is already installed" else
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/metrics-v3-replication.go
m.Set(replicationMaxQueuedCount, float64(qt.Max.Count)) m.Set(replicationLastMinuteQueuedBytes, float64(qt.Curr.Bytes)) m.Set(replicationLastMinuteQueuedCount, float64(qt.Curr.Count)) qa := qs.ActiveWorkers m.Set(replicationAverageActiveWorkers, float64(qa.Avg)) m.Set(replicationCurrentActiveWorkers, float64(qa.Curr)) m.Set(replicationMaxActiveWorkers, float64(qa.Max)) if len(qs.XferStats) > 0 { tots := qs.XferStats[Total]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 07:41:18 UTC 2024 - 4.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller.go
registry.AppendServiceHandler(c.handlers.NotifyServiceHandlers) registry.AppendServiceHandler(func(prev, curr *model.Service, event model.Event) { for _, handlers := range c.getClusterHandlers() { handlers.NotifyServiceHandlers(prev, curr, event) } }) } func (c *Controller) getClusterHandlers() []*model.ControllerHandlers { c.storeLock.Lock() defer c.storeLock.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/vi/docs/python-types.md
Nếu bạn có thể sử dụng **phiên bản cuối cùng của Python**, sử dụng những ví dụ cho phiên bản cuối, những cái đó sẽ có **cú pháp đơn giản và tốt nhât**, ví dụ, "**Python 3.10+**". #### List Ví dụ, hãy định nghĩa một biến là `list` các `str`. === "Python 3.9+" Khai báo biến với cùng dấu hai chấm (`:`). Tương tự kiểu dữ liệu `list`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 21.9K bytes - Viewed (0)