Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 4 of 4) sorted by relevance

/build/soong/zip/
Drate_limit.go36 func NewRateLimit(capacity int64) *RateLimit {
44 go ret.monitorChannels(capacity)
74 func (r *RateLimit) monitorChannels(capacity int64) {
103 if capacity >= usedCapacity+currentRequest.size {
121 func NewCPURateLimiter(capacity int64) *CPURateLimiter {
122 if capacity <= 0 {
123 capacity = int64(runtime.NumCPU())
125 impl := NewRateLimit(capacity)
146 func NewMemoryRateLimiter(capacity int64) *MemoryRateLimiter {
147 if capacity <= 0 {
[all …]
/build/soong/finder/
Dfinder.go584 func newSemaphore(capacity int) *semaphore {
585 return &semaphore{pool: make(chan bool, capacity)}
704 capacity := 0
706 capacity += len(element.Dirs)
708 nodes := make([]dirFullInfo, capacity)
/build/kati/
Dstring_piece.h147 size_type capacity() const { return length_; } in capacity() function
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java947 apk.limit(apk.capacity()); in findMainZipSections()
951 apk.limit(apk.capacity()); in findMainZipSections()