Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 120 for Atack (0.04 sec)

  1. src/runtime/string.go

    	return unsafe.String((*byte)(p), n)
    }
    
    // stringDataOnStack reports whether the string's data is
    // stored on the current goroutine's stack.
    func stringDataOnStack(s string) bool {
    	ptr := uintptr(unsafe.Pointer(unsafe.StringData(s)))
    	stk := getg().stack
    	return stk.lo <= ptr && ptr < stk.hi
    }
    
    func rawstringtmp(buf *tmpBuf, l int) (s string, b []byte) {
    	if buf != nil && l <= len(buf) {
    		b = buf[:l]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/cmd/cover/cover.go

    	cv := mkCounterVarName(len(f.pkg.counterLengths))
    	f.fn.counterVar = cv
    }
    
    func (f *File) postFunc(fn ast.Node, funcname string, flit bool, body *ast.BlockStmt) {
    
    	// Tack on single counter write if we are in "perfunc" mode.
    	singleCtr := ""
    	if pkgconfig.Granularity == "perfunc" {
    		singleCtr = "; " + f.newCounter(fn.Pos(), fn.Pos(), 1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/predicates.go

    	// package is nil for objects in universe scope
    	if a == nil || b == nil {
    		return a == b
    	}
    	// a != nil && b != nil
    	return a.path == b.path
    }
    
    // An ifacePair is a node in a stack of interface type pairs compared for identity.
    type ifacePair struct {
    	x, y *Interface
    	prev *ifacePair
    }
    
    func (p *ifacePair) identical(q *ifacePair) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/crypto/internal/bigmod/nat.go

    // NewNat returns a new nat with a size of zero, just like new(Nat), but with
    // the preallocated capacity to hold a number of up to preallocTarget bits.
    // NewNat inlines, so the allocation can live on the stack.
    func NewNat() *Nat {
    	limbs := make([]uint, 0, preallocLimbs)
    	return &Nat{limbs}
    }
    
    // expand expands x to n limbs, leaving its value unchanged.
    func (x *Nat) expand(n int) *Nat {
    	if len(x.limbs) > n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/runtime/cgocall.go

    	// Set the stack bounds to match the current stack. If we don't
    	// actually know how big the stack is, like we don't know how big any
    	// scheduling stack is, but we assume there's at least 32 kB. If we
    	// can get a more accurate stack bound from pthread, use that, provided
    	// it actually contains SP..
    	g0.stack.hi = sp + 1024
    	g0.stack.lo = sp - 32*1024
    	if !signal && _cgo_getstackbound != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/cmd/trace/tasks.go

    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		type event struct {
    			WhenString string
    			Elapsed    time.Duration
    			Goroutine  trace.GoID
    			What       string
    			// TODO: include stack trace of creation time
    		}
    		type task struct {
    			WhenString string
    			ID         trace.TaskID
    			Duration   time.Duration
    			Complete   bool
    			Events     []event
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/runtime/signal_unix.go

    // alternate signal stack. If the alternate signal stack is not set
    // for the thread (the normal case) then set the alternate signal
    // stack to the gsignal stack. If the alternate signal stack is set
    // for the thread (the case when a non-Go thread sets the alternate
    // signal stack and then calls a Go function) then set the gsignal
    // stack to the alternate signal stack. We also set the alternate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/runtime/tracestack.go

    // license that can be found in the LICENSE file.
    
    // Trace stack table and acquisition.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    const (
    	// Maximum number of PCs in a single stack trace.
    	// Since events contain only stack id rather than whole stack trace,
    	// we can allow quite large values here.
    	traceStackSize = 128
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux.go

    //
    // //go:uintptrkeepalive because the uintptr argument may be converted pointers
    // that need to be kept alive in the caller.
    //
    // //go:nosplit because stack copying does not account for uintptrkeepalive, so
    // the stack must not grow. Stack copying cannot blindly assume that all
    // uintptr arguments are pointers, because some values may look like pointers,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/cmd/go/script_test.go

    		// grace periods to clean up. We will send the first termination signal when
    		// the context expires, then wait one grace period for the process to
    		// produce whatever useful output it can (such as a stack trace). After the
    		// first grace period expires, we'll escalate to os.Kill, leaving the second
    		// grace period for the test function to record its output before the test
    		// process itself terminates.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top