Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 288 for curg (0.04 sec)

  1. src/runtime/runtime2.go

    	sigmask       sigset            // storage for saved signal mask
    	tls           [tlsSlots]uintptr // thread-local storage (for x86 extern register)
    	mstartfn      func()
    	curg          *g       // current running goroutine
    	caughtsig     guintptr // goroutine running during fatal signal
    	p             puintptr // attached p for executing go code (nil if not executing go code)
    	nextp         puintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  2. src/runtime/traceruntime.go

    }
    
    // GoStart emits a GoStart event.
    //
    // Must be called with a valid P.
    func (tl traceLocker) GoStart() {
    	gp := getg().m.curg
    	pp := gp.m.p
    	w := tl.eventWriter(traceGoRunnable, traceProcRunning)
    	w = w.write(traceEvGoStart, traceArg(gp.goid), gp.trace.nextSeq(tl.gen))
    	if pp.ptr().gcMarkWorkerMode != gcMarkWorkerNotWorker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. Dockerfile.release.fips

        chmod +x /go/bin/minio
    
    RUN if [ "$TARGETARCH" = "amd64" ]; then \
           curl -L -s -q https://github.com/moparisthebest/static-curl/releases/latest/download/curl-${TARGETARCH} -o /go/bin/curl; \
           chmod +x /go/bin/curl; \
        fi
    
    # Verify binary signature using public key "RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGavRUN"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 30 09:41:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. cmd/bucket-replication-metrics.go

    	sma     *SMA             `json:"-"`
    }
    
    // Clone returns a copy of XferStats
    func (rx *XferStats) Clone() *XferStats {
    	curr := rx.curr()
    	peak := rx.Peak
    	if curr > peak {
    		peak = curr
    	}
    	return &XferStats{
    		Curr:    curr,
    		Avg:     rx.Avg,
    		Peak:    peak,
    		N:       rx.N,
    		measure: rx.measure,
    	}
    }
    
    func newXferStats() *XferStats {
    	return &XferStats{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. Dockerfile.release

    # Download mc binary and signature file
    RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /go/bin/mc && \
        curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.minisig -o /go/bin/mc.minisig && \
        chmod +x /go/bin/mc
    
    RUN if [ "$TARGETARCH" = "amd64" ]; then \
           curl -L -s -q https://github.com/moparisthebest/static-curl/releases/latest/download/curl-${TARGETARCH} -o /go/bin/curl; \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 29 19:10:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. Dockerfile.release.old_cpu

    # Download mc binary and signature file
    RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /go/bin/mc && \
        curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.minisig -o /go/bin/mc.minisig && \
        chmod +x /go/bin/mc
    
    RUN if [ "$TARGETARCH" = "amd64" ]; then \
           curl -L -s -q https://github.com/moparisthebest/static-curl/releases/latest/download/curl-${TARGETARCH} -o /go/bin/curl; \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 30 09:41:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top