- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for maxsize (0.33 sec)
-
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) -
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) -
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) -
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) -
internal/bpool/bpool.go
type BytePoolCap struct { c chan []byte w int wcap int } // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new // byte arrays sized based on width. func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) { if capwidth > 0 && capwidth < 64 { panic("buffer capped with smaller than 64 bytes is not supported") }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 16:44:59 UTC 2024 - 2.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
@Deprecated protected void getTransfer(Resource resource, File destination, InputStream input, boolean closeInput, int maxSize) throws TransferFailedException { addTransfer("getTransfer " + resource.getName()); super.getTransfer(resource, destination, input, closeInput, maxSize); } public void get(String resourceName, File destination)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/apis/resource/validation/validation.go
} } if len(resourceHandles) > maxSize { // Dumping the entire field into the error message is likely to be too long, // in particular when it is already beyond the maximum size. Instead this // just shows the number of entries. allErrs = append(allErrs, field.TooLongMaxLength(fldPath, len(resourceHandles), maxSize)) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
hack/verify-file-sizes.sh
set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" cd "${KUBE_ROOT}" # Files larger than 1MB need to be allowed explicitly. maxsize=$((1 * 1024 * 1024)) # Sorted list of those exceptions. allowlist=( staging/src/k8s.io/kubectl/images/kubectl-logo-full.png ) # Files larger than 1MB get reported and verification fails, unless the file is
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 19:39:50 UTC 2024 - 2.4K bytes - Viewed (0) -
src/runtime/tracebuf.go
// less error-prone. return } w.mp.trace.buf[w.gen%2] = w.traceBuf } // ensure makes sure that at least maxSize bytes are available to write. // // Returns whether the buffer was flushed. func (w traceWriter) ensure(maxSize int) (traceWriter, bool) { refill := w.traceBuf == nil || !w.available(maxSize) if refill { w = w.refill(traceNoExperiment) } return w, refill }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/codehost.go
// ReadFile reads the given file in the file tree corresponding to revision rev. // It should refuse to read more than maxSize bytes. // // If the requested file does not exist it should return an error for which // os.IsNotExist(err) returns true. ReadFile(ctx context.Context, rev, file string, maxSize int64) (data []byte, err error) // ReadZip downloads a zip file for the subdir subdirectory
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 12.8K bytes - Viewed (0)