Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for mp (0.04 sec)

  1. src/runtime/export_debug_test.go

    	// a signal handler. Add the go:nowritebarrierrec annotation and restructure
    	// this to avoid write barriers.
    
    	switch h.gp.atomicstatus.Load() {
    	case _Grunning:
    		if getg().m != h.mp {
    			println("trap on wrong M", getg().m, h.mp)
    			return false
    		}
    		// Save the signal context
    		h.saveSigContext(ctxt)
    		// Set PC to debugCallV2.
    		ctxt.setsigpc(uint64(abi.FuncPCABIInternal(debugCallV2)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/runtime/os3_plan9.go

    			return _NCONT
    		}
    		if sendNote(note) {
    			return _NCONT
    		}
    	}
    	if flags&_SigKill != 0 {
    		goto Exit
    	}
    	if flags&_SigThrow == 0 {
    		return _NCONT
    	}
    Throw:
    	mp.throwing = throwTypeRuntime
    	mp.caughtsig.set(gp)
    	startpanic_m()
    	print(notestr, "\n")
    	print("PC=", hex(c.pc()), "\n")
    	print("\n")
    	level, _, docrash = gotraceback()
    	if level > 0 {
    		goroutineheader(gp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/const1.go

    // constant conversions
    
    package const1
    
    import "math"
    
    const(
    	mi = ^int(0)
    	mu = ^uint(0)
    	mp = ^uintptr(0)
    
    	logSizeofInt     = uint(mi>>8&1 + mi>>16&1 + mi>>32&1)
    	logSizeofUint    = uint(mu>>8&1 + mu>>16&1 + mu>>32&1)
    	logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1)
    )
    
    const (
    	minInt8 = -1<<(8<<iota - 1)
    	minInt16
    	minInt32
    	minInt64
    	minInt = -1<<(8<<logSizeofInt - 1)
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/runtime/tracestatus.go

    		// _Gsyscall is the tracer's signal that the P its bound to is also in a syscall,
    		// so we need to emit a status that matches. See #64318.
    		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {
    			status = traceProcSyscall
    		}
    	case _Psyscall:
    		status = traceProcSyscall
    	default:
    		throw("attempt to trace invalid or unsupported P status")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. misc/ios/detect.go

    	fmt.Println("# will be overwritten when running Go programs.")
    	for _, mp := range mps {
    		fmt.Println()
    		f, err := os.CreateTemp("", "go_ios_detect_")
    		check(err)
    		fname := f.Name()
    		defer os.Remove(fname)
    
    		out := output(parseMobileProvision(mp))
    		_, err = f.Write(out)
    		check(err)
    		check(f.Close())
    
    		cert, err := plistExtract(fname, "DeveloperCertificates:0")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/base/base.go

    					goal, oldGogc, count, mp, gcConcurrency)
    			} else {
    				inUse := sample[ALLOCS].Value.Uint64() - sample[FREES].Value.Uint64()
    				overPct := 100 * (int(inUse) - int(requestedHeapGoal)) / int(requestedHeapGoal)
    				fmt.Fprintf(os.Stderr, "GCAdjust: AtExit goal %d gogc %d count %d maxprocs %d gcConcurrency %d overPct %d\n",
    					goal, oldGogc, count, mp, gcConcurrency, overPct)
    
    			}
    		})
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. src/runtime/traceevent.go

    	w := tl.writer()
    	if pp := tl.mp.p.ptr(); pp != nil && !pp.trace.statusWasTraced(tl.gen) && pp.trace.acquireStatus(tl.gen) {
    		w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep)
    	}
    	if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) {
    		w = w.writeGoStatus(uint64(gp.goid), int64(tl.mp.procid), goStatus, gp.inMarkAssist, 0 /* no stack */)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/runtime/sys_windows_amd64.s

    TEXT runtimeĀ·nanotime1(SB),NOSPLIT,$0-8
    	MOVQ	$_INTERRUPT_TIME, DI
    	MOVQ	time_lo(DI), AX
    	IMULQ	$100, AX
    	MOVQ	AX, ret+0(FP)
    	RET
    
    // func osSetupTLS(mp *m)
    // Setup TLS. for use by needm on Windows.
    TEXT runtimeĀ·osSetupTLS(SB),NOSPLIT,$0-8
    	MOVQ	mp+0(FP), AX
    	LEAQ	m_tls(AX), DI
    	CALL	runtimeĀ·settls(SB)
    	RET
    
    // This is called from rt0_go, which runs on the system stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/list.go

    		var match func(string) bool
    		if arg == "all" {
    			match = func(p string) bool { return !gover.IsToolchain(p) }
    		} else if strings.Contains(arg, "...") {
    			mp := pkgpattern.MatchPattern(arg)
    			match = func(p string) bool { return mp(p) && !gover.IsToolchain(p) }
    		} else {
    			var v string
    			if mg == nil {
    				var ok bool
    				v, ok = rs.rootSelected(arg)
    				if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. pkg/monitoring/monitoring.go

    	prom, err := otelprom.New(promOpts...)
    	if err != nil {
    		return nil, err
    	}
    
    	opts := []metric.Option{metric.WithReader(prom)}
    	opts = append(opts, knownMetrics.toHistogramViews()...)
    	mp := metric.NewMeterProvider(opts...)
    	otel.SetMeterProvider(mp)
    	handler := promhttp.HandlerFor(gatherer, promhttp.HandlerOpts{})
    	return handler, nil
    }
    
    // A Metric collects numerical observations.
    type Metric interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top