Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for currentSize (0.12 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. 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)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

    sealed class ApiSourceFile {
    
        internal
        abstract val currentFile: File
    
        internal
        abstract val currentSourceRoot: File
    
        data class Java internal constructor(
    
            override val currentFile: File,
    
            override val currentSourceRoot: File
    
        ) : ApiSourceFile()
    
        data class Kotlin internal constructor(
    
            override val currentFile: File,
    
            override val currentSourceRoot: File
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
                BeanUtil.copyBeanToBean(form, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
                copyBeanToBean(form, entity, op -> op.exclude(Stream
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                synchronized (lastTime) {
                    while (true) {
                        final long currentTime = SystemUtil.currentTimeMillis();
                        final long delayTime = lastTime.get() + delayMillisBeforeProcessing - currentTime;
                        if (delayTime <= 0) {
                            lastTime.set(currentTime);
                            break;
                        }
                        lastTime.wait(delayTime);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
                copyBeanToBean(form, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                return entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
                copyBeanToBean(form, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                return entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top