Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for mapiter1 (2.28 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	// structure, not the stack. Check if this is the case and if so,
    	// remove.
    
    	// Remove up to two frames.
    	maxiter := 2
    	// Allow one different sample for this many samples with the same
    	// second-to-last frame.
    	similarSamples := 32
    	margin := len(p.Sample) / similarSamples
    
    	for iter := 0; iter < maxiter; iter++ {
    		addr1 := make(map[uint64]int)
    		for _, s := range p.Sample {
    			if len(s.Location) > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    	"plugin": {
    		{"(*Plugin).Lookup", Method, 8},
    		{"Open", Func, 8},
    		{"Plugin", Type, 8},
    		{"Symbol", Type, 8},
    	},
    	"reflect": {
    		{"(*MapIter).Key", Method, 12},
    		{"(*MapIter).Next", Method, 12},
    		{"(*MapIter).Reset", Method, 18},
    		{"(*MapIter).Value", Method, 12},
    		{"(*ValueError).Error", Method, 0},
    		{"(ChanDir).String", Method, 0},
    		{"(Kind).String", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    //   - removing an element (only by the caller who added it)
    //   - taking (get + delete) a random element
    //
    // We previously used a map for this but the take of a random element
    // was expensive, making mapiters. This type avoids a map entirely
    // and just uses a slice.
    type connRequestSet struct {
    	// s are the elements in the set.
    	s []connRequestAndIndex
    }
    
    type connRequestAndIndex struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top