Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for maxsize (0.12 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. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsKeyMatchCQ.java

        }
    
        public void setMaxSize_Equal(Integer maxSize) {
            setMaxSize_Term(maxSize, null);
        }
    
        public void setMaxSize_Equal(Integer maxSize, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setMaxSize_Term(maxSize, opLambda);
        }
    
        public void setMaxSize_Term(Integer maxSize) {
            setMaxSize_Term(maxSize, null);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsKeyMatchCA.java

        }
    
        public void setMaxSize_Avg(ConditionOptionCall<AvgAggregationBuilder> opLambda) {
            setMaxSize_Avg("maxSize", opLambda);
        }
    
        public void setMaxSize_Avg(String name, ConditionOptionCall<AvgAggregationBuilder> opLambda) {
            AvgAggregationBuilder builder = regAvgA(name, "maxSize");
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  9. 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)
  10. pkg/kubelet/logs/container_log_manager.go

    	if maxFiles <= 1 {
    		return nil, fmt.Errorf("invalid MaxFiles %d, must be > 1", maxFiles)
    	}
    	parsedMaxSize, err := parseMaxSize(maxSize)
    	if err != nil {
    		return nil, fmt.Errorf("failed to parse container log max size %q: %v", maxSize, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top