Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 273 for Atack (0.03 sec)

  1. src/go/types/errorcalls_test.go

    func balancedParentheses(s string) bool {
    	var stack []byte
    	for _, ch := range s {
    		var open byte
    		switch ch {
    		case '(', '[', '{':
    			stack = append(stack, byte(ch))
    			continue
    		case ')':
    			open = '('
    		case ']':
    			open = '['
    		case '}':
    			open = '{'
    		default:
    			continue
    		}
    		// closing parenthesis/bracket must have matching opening
    		top := len(stack) - 1
    		if top < 0 || stack[top] != open {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    				}
    			}
    			color[a] = black
    		}
    
    		if color[a] == grey {
    			stack := []*Analyzer{a}
    			inCycle := map[string]bool{}
    			for len(stack) > 0 {
    				current := stack[len(stack)-1]
    				stack = stack[:len(stack)-1]
    				if color[current] == grey && !inCycle[current.Name] {
    					inCycle[current.Name] = true
    					stack = append(stack, current.Requires...)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/trace/threadgen.go

    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    		return nil, fmt.Errorf("unexpected addr2line output: %s", resp)
    	}
    
    	var stack []plugin.Frame
    	for {
    		frame, end := d.readFrame()
    		if end {
    			break
    		}
    
    		if frame != (plugin.Frame{}) {
    			stack = append(stack, frame)
    		}
    	}
    	return stack, err
    }
    
    // addrInfo returns the stack frame information for a specific program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. src/runtime/internal/sys/consts.go

    // license that can be found in the LICENSE file.
    
    package sys
    
    import (
    	"internal/goarch"
    	"internal/goos"
    )
    
    // AIX requires a larger stack for syscalls.
    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    // DefaultPhysPageSize is the default physical page size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/runtime/checkptr.go

    //
    //go:linkname checkptrBase
    func checkptrBase(p unsafe.Pointer) uintptr {
    	// stack
    	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
    		// TODO(mdempsky): Walk the stack to identify the
    		// specific stack frame or even stack object that p
    		// points into.
    		//
    		// In the mean time, use "1" as a pseudo-address to
    		// represent the stack. This is an invalid address on
    		// all platforms, so it's guaranteed to be distinct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/prune.go

    			break
    		}
    	}
    	return funcName
    }
    
    // Prune removes all nodes beneath a node matching dropRx, and not
    // matching keepRx. If the root node of a Sample matches, the sample
    // will have an empty stack.
    func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
    	prune := make(map[uint64]bool)
    	pruneBeneath := make(map[uint64]bool)
    
    	// simplifyFunc can be expensive, so cache results.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. src/internal/trace/raw/textreader.go

    	}
    	if spec.IsStack {
    		len := int(args[1])
    		for i := 0; i < len; i++ {
    			line, err := r.nextLine()
    			if err == io.EOF {
    				return Event{}, fmt.Errorf("unexpected EOF while reading stack: args=%v", args)
    			}
    			if err != nil {
    				return Event{}, err
    			}
    			frame, err := readArgs(line, frameFields)
    			if err != nil {
    				return Event{}, err
    			}
    			args = append(args, frame...)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/net/iprawsock_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"internal/testenv"
    	"reflect"
    	"testing"
    )
    
    // The full stack test cases for IPConn have been moved to the
    // following:
    //	golang.org/x/net/ipv4
    //	golang.org/x/net/ipv6
    //	golang.org/x/net/icmp
    
    type resolveIPAddrTest struct {
    	network       string
    	litAddrOrName string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/textflag.go

    	TLSBSS = 256
    
    	// Do not insert instructions to allocate a stack frame for this function.
    	// Only valid on functions that declare a frame size of 0.
    	// TODO(mwhudson): only implemented for ppc64x at present.
    	NOFRAME = 512
    
    	// Function can call reflect.Type.Method or reflect.Type.MethodByName.
    	REFLECTMETHOD = 1024
    
    	// Function is the outermost frame of the call stack. Call stack unwinders
    	// should stop at this function.
    	TOPFRAME = 2048
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top