Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for mstart0 (0.22 sec)

  1. src/runtime/os_netbsd.go

    // signal stack here before calling the regular mstart. It's a bit
    // baroque to remove a signal stack here only to add one in minit, but
    // it's a simple change that keeps NetBSD working like other OS's.
    // At this point all signals are blocked, so there is no race.
    //
    //go:nosplit
    func netbsdMstart0() {
    	st := stackt{ss_flags: _SS_DISABLE}
    	sigaltstack(&st, nil)
    	mstart0()
    }
    
    func osinit() {
    	ncpu = getncpu()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/runtime/mstats.go

    // Memory statistics
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    type mstats struct {
    	// Statistics about malloc heap.
    	heapStats consistentHeapStats
    
    	// Statistics about stacks.
    	stacks_sys sysMemStat // only counts newosproc0 stack in mstats; differs from MemStats.StackSys
    
    	// Statistics about allocation of low-level fixed-size structures.
    	mspan_sys    sysMemStat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

                        assert state1.hasMutableState()
                        assert state2.hasMutableState()
                    }
                }
                start(action)
                start(action)
                start(action)
                start(action)
                start(action)
            }
    
            then:
            noExceptionThrown()
        }
    
        def "thread can be granted uncontrolled access to a single project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/start.go

    // first running goroutine in the traceback.
    //
    // If either of these flags is set, Start re-executes the current
    // executable as a child process, in a special mode in which it
    // acts as a telemetry sidecar for the parent process (the application).
    // In that mode, the call to Start will never return, so Start must
    // be called immediately within main, even before such things as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/runtime/metrics_test.go

    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapIdle-mstats.HeapReleased)
    		case "/memory/classes/heap/released:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapReleased)
    		case "/memory/classes/heap/objects:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapAlloc)
    		case "/memory/classes/heap/unused:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapInuse-mstats.HeapAlloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/runtime/os_darwin.go

    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Finally, create the thread. It starts at mstart_stub, which does some low-level
    	// setup and then calls mstart.
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    			// Surround timing information w/ enough context to allow comparisons.
    			time := tEnd.Sub(tStart).Nanoseconds()
    			if p.time {
    				f.LogStat("TIME(ns)", time)
    			}
    			if p.mem {
    				var mEnd runtime.MemStats
    				runtime.ReadMemStats(&mEnd)
    				nBytes := mEnd.TotalAlloc - mStart.TotalAlloc
    				nAllocs := mEnd.Mallocs - mStart.Mallocs
    				f.LogStat("TIME(ns):BYTES:ALLOCS", time, nBytes, nAllocs)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/asm_test.go

    // REG_Vx & 63 == x + 32
    func TestRegValueAlignment(t *testing.T) {
    	tstFunc := func(rstart, rend, msk, rout int) {
    		for i := rstart; i <= rend; i++ {
    			if i&msk != rout {
    				t.Errorf("%v is not aligned to 0x%X (expected %d, got %d)\n", rconv(i), msk, rout, rstart&msk)
    			}
    			rout++
    		}
    	}
    	var testType = []struct {
    		rstart int
    		rend   int
    		msk    int
    		rout   int
    	}{
    		{REG_VS0, REG_VS63, 63, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/inline.go

    						d = 1
    					}
    					del := p.Text[0] == '~'
    					x := &Emph{Marker: p.Text[:d], Inner: append([]Inline(nil), dst[start.i+1:]...)}
    					start.Text = start.Text[:len(start.Text)-d]
    					p.Text = p.Text[d:]
    					if start.Text == "" {
    						dst = dst[:start.i]
    					} else {
    						dst = dst[:start.i+1]
    					}
    					trimStack()
    					if del {
    						dst = append(dst, (*Del)(x))
    					} else if d == 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// Remove the setting if value is "".
    	if value == "" {
    		start, sep, end, _ := t.findTypeForKey(key)
    		if start != sep {
    			// Remove a possible empty extension.
    			switch {
    			case t.str[start-2] != '-': // has previous elements.
    			case end == len(t.str), // end of string
    				end+2 < len(t.str) && t.str[end+2] == '-': // end of extension
    				start -= 2
    			}
    			if start == int(t.pVariant) && end == len(t.str) {
    				t.str = ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top