Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 935 for wall (0.04 sec)

  1. src/runtime/cgo.go

    // an unexported name). The calls serve two purposes:
    // 1) they are opaque to escape analysis, so the argument is considered to
    // escape to the heap.
    // 2) they keep the argument alive until the call site; the call is emitted after
    // the end of the (presumed) use of the argument by C.
    // cgoUse should not actually be called (see cgoAlwaysFalse).
    func cgoUse(any) { throw("cgoUse should not be called") }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/runtime/stubs.go

    // goexit is the return stub at the top of every goroutine call stack.
    // Each goroutine stack is constructed as if goexit called the
    // goroutine's entry point function, so that when the entry point
    // function returns, it will return to goexit, which will call goexit1
    // to perform the actual exit.
    //
    // This function must never be called directly. Call goexit1 instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. src/runtime/proflabel.go

    	// but we do the read in a signal handler and can't call the race runtime then.
    	//
    	// This uses racereleasemerge rather than just racerelease so
    	// the acquire in profBuf.read synchronizes with *all* prior
    	// setProfLabel operations, not just the most recent one. This
    	// is important because profBuf.read will observe different
    	// labels set by different setProfLabel operations on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    	f.frames = f.frameStore[:0]
    	return f
    }
    
    // Next returns a [Frame] representing the next call frame in the slice
    // of PC values. If it has already returned all call frames, Next
    // returns a zero [Frame].
    //
    // The more result indicates whether the next call to Next will return
    // a valid [Frame]. It does not necessarily indicate whether this call
    // returned one.
    //
    // See the [Frames] example for idiomatic usage.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/runtime/rand.go

    //go:linkname rand
    func rand() uint64 {
    	// Note: We avoid acquirem here so that in the fast path
    	// there is just a getg, an inlined c.Next, and a return.
    	// The performance difference on a 16-core AMD is
    	// 3.7ns/call this way versus 4.3ns/call with acquirem (+16%).
    	mp := getg().m
    	c := &mp.chacha8
    	for {
    		// Note: c.Next is marked nosplit,
    		// so we don't need to use mp.locks
    		// on the fast path, which is that the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/os/exec_unix.go

    	}
    
    	// If we can block until Wait4 will succeed immediately, do so.
    	ready, err := p.blockUntilWaitable()
    	if err != nil {
    		return nil, err
    	}
    	if ready {
    		// Mark the process done now, before the call to Wait4,
    		// so that Process.pidSignal will not send a signal.
    		p.pidDeactivate(statusDone)
    		// Acquire a write lock on sigMu to wait for any
    		// active call to the signal method to complete.
    		p.sigMu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/runtime/atomic_pointer.go

    // atomicwb performs a write barrier before an atomic pointer write.
    // The caller should guard the call with "if writeBarrier.enabled".
    //
    // atomicwb should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/bytedance/gopkg
    //   - github.com/songzhibin97/gkit
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/text/template/exec.go

    	truth, ok := isTrue(indirectInterface(val))
    	if !ok {
    		s.errorf("if/with can't use %v", val)
    	}
    	if truth {
    		if typ == parse.NodeWith {
    			s.walk(val, list)
    		} else {
    			s.walk(dot, list)
    		}
    	} else if elseList != nil {
    		s.walk(dot, elseList)
    	}
    }
    
    // IsTrue reports whether the value is 'true', in the sense of not the zero of its type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. src/runtime/mbarrier.go

    // to wbuf as well as marking it.
    //
    // The two shades and the condition work together to prevent a mutator
    // from hiding an object from the garbage collector:
    //
    // 1. shade(*slot) prevents a mutator from hiding an object by moving
    // the sole pointer to it from the heap to its stack. If it attempts
    // to unlink an object from the heap, this will shade it.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/runtime/runtime1.go

    // If all is set, print all goroutine stacks. Otherwise, print just the current goroutine.
    // If crash is set, crash (core dump, etc) after tracebacking.
    //
    //go:nosplit
    func gotraceback() (level int32, all, crash bool) {
    	gp := getg()
    	t := atomic.Load(&traceback_cache)
    	crash = t&tracebackCrash != 0
    	all = gp.m.throwing >= throwTypeUser || t&tracebackAll != 0
    	if gp.m.traceback != 0 {
    		level = int32(gp.m.traceback)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top