Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxsize (0.16 sec)

  1. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    imeMs:Cb++}),promises:{readFile:i=>Promise.resolve(self[i]||"")}}});var Qn=v((PO,uu)=>{l();"use strict";var lu=class{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof e.maxAge=="number"&&e.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||1/0,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if(typeof this...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  2. src/net/http/h2_bundle.go

    		}
    		return true
    	})
    	return wr, ok
    }
    
    func (ws *http2priorityWriteScheduler) addClosedOrIdleNode(list *[]*http2priorityNode, maxSize int, n *http2priorityNode) {
    	if maxSize == 0 {
    		return
    	}
    	if len(*list) == maxSize {
    		// Remove the oldest node, then shift left.
    		ws.removeNode((*list)[0])
    		x := (*list)[1:]
    		copy(*list, x)
    		*list = (*list)[:len(x)]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top