Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for stks (0.08 sec)

  1. src/runtime/pprof/pprof.go

    	}
    	if p.write != nil {
    		panic("pprof: Add called on built-in Profile " + p.name)
    	}
    
    	stk := make([]uintptr, 32)
    	n := runtime.Callers(skip+1, stk[:])
    	stk = stk[:n]
    	if len(stk) == 0 {
    		// The value for skip is too large, and there's no stack trace to record.
    		stk = []uintptr{abi.FuncPCABIInternal(lostProfileEvent)}
    	}
    
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if p.m[value] != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    			// the cycle as (for example) package p imports package q imports package r
    			// imports package p.
    			stk = append(stk, ptest.ImportPath)
    			slices.Reverse(stk)
    
    			return &PackageError{
    				ImportStack:   stk,
    				Err:           errors.New("import cycle not allowed in test"),
    				IsImportCycle: true,
    			}
    		}
    		for _, dep := range p.Internal.Imports {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/rsc.io/markdown/inline.go

    	stackOf := func(c byte) int {
    		return strings.IndexByte(chars, c)
    	}
    
    	trimStack := func() {
    		for i := range stack {
    			stk := &stack[i]
    			for len(*stk) > 0 && (*stk)[len(*stk)-1].i >= len(dst) {
    				*stk = (*stk)[:len(*stk)-1]
    			}
    		}
    	}
    
    Src:
    	for i := 0; i < len(src); i++ {
    		if open, ok := src[i].(*openPlain); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. src/net/textproto/reader.go

    		if maxMemory < 0 {
    			return m, errMessageTooLarge
    		}
    		if vv == nil && len(strs) > 0 {
    			// More than likely this will be a single-element key.
    			// Most headers aren't multi-valued.
    			// Set the capacity on strs[0] to 1, so any future append
    			// won't extend the slice into the other strings.
    			vv, strs = strs[:1:1], strs[1:]
    			vv[0] = value
    			m[key] = vv
    		} else {
    			m[key] = append(vv, value)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. src/go/doc/comment/parse.go

    	stk := []byte{}
    	end = i
    Path:
    	for ; i < len(s); i++ {
    		if isPunct(s[i]) {
    			continue
    		}
    		if !isPath(s[i]) {
    			break
    		}
    		switch s[i] {
    		case '(':
    			stk = append(stk, ')')
    		case '{':
    			stk = append(stk, '}')
    		case '[':
    			stk = append(stk, ']')
    		case ')', '}', ']':
    			if len(stk) == 0 || stk[len(stk)-1] != s[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  6. docs/sts/ldap.md

    ### Response Elements
    
    XML response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_ResponseElements)
    
    ### Errors
    
    XML error response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_Errors)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    		return errs, -1
    	}
    	if s.isResourceRoot {
    		sts = model.WithTypeAndObjectMeta(sts)
    	}
    	activation, optionalOldSelfActivation := s.celActivationFactory(sts, obj, oldObj)
    	for i, compiled := range s.compiledRules {
    		rule := s.uncompiledRules[i]
    		if compiled.Error != nil {
    			errs = append(errs, field.Invalid(fldPath, sts.Type, fmt.Sprintf("rule compile error: %v", compiled.Error)))
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. security/pkg/k8s/chiron/utils_test.go

    }
    
    // Get the server port from server.URL (e.g., https://127.0.0.1:36253)
    func getServerPort(server *httptest.Server) (int, error) {
    	strs := strings.Split(server.URL, ":")
    	if len(strs) < 2 {
    		return 0, fmt.Errorf("server.URL is invalid: %v", server.URL)
    	}
    	port, err := strconv.Atoi(strs[len(strs)-1])
    	if err != nil {
    		return 0, fmt.Errorf("error to extract port from URL: %v", server.URL)
    	}
    	return port, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    	svcAccListKey           = "service-accounts/"
    	groupsListKey           = "groups/"
    	policiesListKey         = "policies/"
    	stsListKey              = "sts/"
    	policyDBPrefix          = "policydb/"
    	policyDBUsersListKey    = "policydb/users/"
    	policyDBSTSUsersListKey = "policydb/sts-users/"
    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    // splitPath splits a path into a top-level directory and a child item. The
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/emitter.go

    func (e *Emitter) Stack(stk []*trace.Frame) int {
    	return e.buildBranch(e.frameTree, stk)
    }
    
    // buildBranch builds one branch in the prefix tree rooted at ctx.frameTree.
    func (e *Emitter) buildBranch(parent frameNode, stk []*trace.Frame) int {
    	if len(stk) == 0 {
    		return parent.id
    	}
    	last := len(stk) - 1
    	frame := stk[last]
    	stk = stk[:last]
    
    	node, ok := parent.children[frame.PC]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top