Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for segLimit (0.1 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		// Skip over segments with zero file size. Their file offsets can have
    		// arbitrary values, see b/195427553.
    		if p.Filesz == 0 {
    			continue
    		}
    		segLimit := p.Off + p.Memsz
    		// The segment must overlap the mapping.
    		if p.Type == elf.PT_LOAD && mapOff < segLimit && p.Off < mapLimit {
    			// If the mapping offset is strictly less than the page aligned segment
    			// offset, then this mapping comes from a different segment, fixes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go

    		}
    	}()
    	return true
    }
    
    // SetLimit limits the number of active goroutines in this group to at most n.
    // A negative value indicates no limit.
    //
    // Any subsequent call to the Go method will block until it can add an active
    // goroutine without exceeding the configured limit.
    //
    // The limit must not be modified while any goroutines in the group are active.
    func (g *Group) SetLimit(n int) {
    	if n < 0 {
    		g.sem = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	// as it preserves the previous behavior, but allows components to opt into
    	// concurrency.
    	concurrency := 1
    	if l.concurrency > concurrency {
    		concurrency = l.concurrency
    	}
    	g.SetLimit(concurrency)
    
    	for i := range l.visitors {
    		i := i
    		g.Go(func() error {
    			return l.visitors[i].Visit(fn)
    		})
    	}
    
    	return g.Wait()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
Back to top