Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 193 for maxsize (0.16 sec)

  1. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/GuavaBackedClassLoaderCache.java

     */
    public class GuavaBackedClassLoaderCache<K> implements AutoCloseable {
        private final Cache<K, ClassLoader> cache;
    
    
        public GuavaBackedClassLoaderCache(int maxSize) {
            cache = CacheBuilder
                .newBuilder()
                .maximumSize(maxSize)
                .removalListener(new RemovalListener<K, ClassLoader>() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java

                false, false, "Long", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnMaxSize = cci("maxSize", "maxSize", null, null, Integer.class, "maxSize", null, false, false, false,
                "Integer", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/TimeCheckingClassLoaderCache.java

            public int hashCode() {
                return Objects.hash(file, timestamp);
            }
        }
    
        public TimeCheckingClassLoaderCache(int maxSize) {
            commonParent = new URLClassLoader(new URL[0]);
            cache = new GuavaBackedClassLoaderCache<>(maxSize);
        }
    
        @Override
        public ClassLoader commonParent() {
            return commonParent;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            }
            return super.sink(file, mustCreate)
          }
        }
    
      /** The maximum number of bytes that this cache should use to store its data. */
      @get:Synchronized @set:Synchronized
      var maxSize: Long = maxSize
        set(value) {
          field = value
          if (initialized) {
            cleanupQueue.schedule(cleanupTask) // Trim the existing store if necessary.
          }
        }
    
      /*
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

                new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
          }
          try {
            int maxSize = digest.getDigestLength();
            new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName);
            fail();
          } catch (IllegalArgumentException expected) {
          }
        } catch (NoSuchAlgorithmException nsae) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/http2/hpack/hpack.go

    	// https://httpwg.org/specs/rfc7541.html#rfc.section.2.3.2
    	table          headerFieldTable
    	size           uint32 // in bytes
    	maxSize        uint32 // current maxSize
    	allowedMaxSize uint32 // maxSize may go up to this, inclusive
    }
    
    func (dt *dynamicTable) setMaxSize(v uint32) {
    	dt.maxSize = v
    	dt.evict()
    }
    
    func (dt *dynamicTable) add(f HeaderField) {
    	dt.table.addEntry(f)
    	dt.size += f.Size()
    	dt.evict()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:30:34 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  10. src/go/printer/nodes.go

    		return false // don't allow tags or comments
    	}
    	// only name(s) and type
    	const maxSize = 30 // adjust as appropriate, this is an approximate value
    	namesSize := identListSize(f.Names, maxSize)
    	if namesSize > 0 {
    		namesSize = 1 // blank between names and types
    	}
    	typeSize := p.nodeSize(f.Type, maxSize)
    	return namesSize+typeSize <= maxSize
    }
    
    func (p *printer) setLineComment(text string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top