Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for CurrentSize (0.13 seconds)

  1. internal/bpool/bpool.go

    // WidthCap returns the cap width of the byte arrays in this pool.
    func (bp *BytePoolCap) WidthCap() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.wcap
    }
    
    // CurrentSize returns current size of buffer pool
    func (bp *BytePoolCap) CurrentSize() int {
    	if bp == nil {
    		return 0
    	}
    	return len(bp.c) * bp.w
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. cmd/erasure-server-pool-decom_gen.go

    				return
    			}
    		case "ts":
    			z.TotalSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalSize")
    				return
    			}
    		case "cs":
    			z.CurrentSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "CurrentSize")
    				return
    			}
    		case "cmp":
    			z.Complete, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Complete")
    				return
    			}
    		case "fl":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. cmd/erasure-server-pool-decom.go

    type PoolDecommissionInfo struct {
    	StartTime   time.Time `json:"startTime" msg:"st"`
    	StartSize   int64     `json:"startSize" msg:"ss"`
    	TotalSize   int64     `json:"totalSize" msg:"ts"`
    	CurrentSize int64     `json:"currentSize" msg:"cs"`
    
    	Complete bool `json:"complete" msg:"cmp"`
    	Failed   bool `json:"failed" msg:"fl"`
    	Canceled bool `json:"canceled" msg:"cnl"`
    
    	// Internal information.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    return existing;
                }
            }
    
            // Check pool size limits using atomic operation
            if (!nonPooled) {
                int currentSize = this.connections.size();
                if (currentSize >= maxPoolSize) {
                    // Try to remove idle connections
                    removeIdleConnections();
    
                    // If still at limit, throw exception
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top