Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CurrentSize (0.3 sec)

  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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 3K bytes
    - Viewed (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":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        this.entries[entryIndex] = ((long) hash << 32) | (NEXT_MASK & UNSET);
        this.keys[entryIndex] = key;
        this.values[entryIndex] = value;
      }
    
      /** Returns currentSize + 1, after resizing the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = entries.length;
        if (newSize > entriesSize) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        assertBytes(0x40, 3, 'f'.code, 'a'.code, 'r'.code, 3, 'b'.code, 'o'.code, 'o'.code)
      }
    
      @Test
      fun noDynamicTableSizeUpdateWhenSizeIsEqual() {
        val currentSize = hpackWriter!!.headerTableSizeSetting
        hpackWriter!!.resizeHeaderTable(currentSize)
        hpackWriter!!.writeHeaders(listOf(Header("foo", "bar")))
        assertBytes(0x40, 3, 'f'.code, 'o'.code, 'o'.code, 3, 'b'.code, 'a'.code, 'r'.code)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top