Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for maxsize (0.11 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

      @VisibleForTesting final int maxSize;
    
      private EvictingQueue(int maxSize) {
        checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
        this.delegate = new ArrayDeque<>(maxSize);
        this.maxSize = maxSize;
      }
    
      /**
       * Creates and returns a new evicting queue that will hold up to {@code maxSize} elements.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:52:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EvictingQueue.java

      @VisibleForTesting final int maxSize;
    
      private EvictingQueue(int maxSize) {
        checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
        this.delegate = new ArrayDeque<>(maxSize);
        this.maxSize = maxSize;
      }
    
      /**
       * Creates and returns a new evicting queue that will hold up to {@code maxSize} elements.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:52:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LoggingEvictionListener.java

        private final String cacheId;
        private final int maxSize;
        private final int logInterval;
        private final Logger logger;
        private Cache<Object, Object> cache;
    
        LoggingEvictionListener(String cacheId, int maxSize, Logger logger) {
            this.cacheId = cacheId;
            this.maxSize = maxSize;
            this.logInterval = maxSize / 10;
            this.logger = logger;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

            this.createdTime = value;
        }
    
        public Integer getMaxSize() {
            checkSpecifiedProperty("maxSize");
            return maxSize;
        }
    
        public void setMaxSize(Integer value) {
            registerModifiedProperty("maxSize");
            this.maxSize = value;
        }
    
        public String getQuery() {
            checkSpecifiedProperty("query");
            return convertEmptyToNull(query);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java

        private CacheDetails getCache(final String cacheId, final int maxSize) {
            CacheDetails cacheDetails = caches.get(cacheId, () -> {
                Cache<Object, Object> entries = createInMemoryCache(cacheId, maxSize);
                CacheDetails details = new CacheDetails(maxSize, entries, new AtomicReference<>());
                LOG.debug("Creating in-memory store for cache {} (max size: {})", cacheId, maxSize);
                return details;
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache.go

    func NewLRUExpireCacheWithClock(maxSize int, clock Clock) *LRUExpireCache {
    	if maxSize <= 0 {
    		panic("maxSize must be > 0")
    	}
    
    	return &LRUExpireCache{
    		clock:   clock,
    		maxSize: maxSize,
    		entries: map[interface{}]*list.Element{},
    	}
    }
    
    type cacheEntry struct {
    	key        interface{}
    	value      interface{}
    	expireTime time.Time
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactory.java

        }
    
        /**
         * @param temp - Provider of temporary files.
         * @param maxSize - indicates the approx. maximum size of the binary store that will trigger rolling of the file
         */
        ResolutionResultsStoreFactory(TemporaryFileProvider temp, int maxSize) {
            this.temp = temp;
            this.maxSize = maxSize;
        }
    
        private final Map<String, DefaultBinaryStore> stores = new HashMap<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache {
      return Cache(fileSystem, file, maxSize)
    }
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
        idleAtNs = value
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/runtime/traceexp.go

    }
    
    // ensure makes sure that at least maxSize bytes are available to write.
    //
    // Returns whether the buffer was flushed.
    func (w traceExpWriter) ensure(maxSize int) (traceExpWriter, bool) {
    	refill := w.traceBuf == nil || !w.available(maxSize)
    	if refill {
    		w.traceWriter = w.traceWriter.refill(w.exp)
    	}
    	return w, refill
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/KeyMatch.java

            asDocMeta().version(version);
        }
    
        @Override
        public String toString() {
            return "KeyMatch [boost=" + boost + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", maxSize=" + maxSize
                    + ", query=" + query + ", term=" + term + ", updatedBy=" + updatedBy + ", updatedTime=" + updatedTime + ", docMeta="
                    + docMeta + "]";
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top