Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for maxmemory (0.14 sec)

  1. src/mime/multipart/formdata_test.go

    	// Try parsing the form with increasing maxMemory values.
    	// Changes in how we account for non-file form data may cause the exact point
    	// where we change from rejecting the form as too large to accepting it to vary,
    	// but we should see both successes and failures.
    	const failWhenMaxMemoryLessThan = 128
    	for maxMemory := int64(0); maxMemory < failWhenMaxMemoryLessThan*2; maxMemory += 16 {
    		b := strings.NewReader(testBody)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. src/mime/multipart/formdata.go

    	// unconfigurable 10 MB added on to maxMemory, is unfortunate but difficult to change
    	// within the constraints of the API as documented.
    	maxFileMemoryBytes := maxMemory
    	if maxFileMemoryBytes == math.MaxInt64 {
    		maxFileMemoryBytes--
    	}
    	maxMemoryBytes := maxMemory + int64(10<<20)
    	if maxMemoryBytes <= 0 {
    		if maxMemory < 0 {
    			maxMemoryBytes = 0
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java

            @Override
            public JvmMemoryStatus read(Decoder decoder) throws EOFException, Exception {
                long committedMemory = decoder.readLong();
                long maxMemory = decoder.readLong();
                return new JvmMemoryStatusSnapshot(maxMemory, committedMemory);
            }
    
            @Override
            public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/mime/multipart/readmimeheader.go

    import (
    	"net/textproto"
    	_ "unsafe" // for go:linkname
    )
    
    // readMIMEHeader is defined in package [net/textproto].
    //
    //go:linkname readMIMEHeader net/textproto.readMIMEHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 457 bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy

            succeeds "clean"
            withBuildCache().run scaladoc
    
            then:
            skipped scaladoc
        }
    
        def "scaladoc uses maxMemory"() {
            classes.baseline()
            buildScript(classes.buildScript())
            buildFile << """
                scaladoc.maxMemory = '234M'
            """
            when:
            succeeds scaladoc, "-i"
    
            then:
            // Looks like
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/net/textproto/reader.go

    		}
    
    		// Skip initial spaces in value.
    		value := string(bytes.TrimLeft(v, " \t"))
    
    		vv := m[key]
    		if vv == nil {
    			maxMemory -= int64(len(key))
    			maxMemory -= mapEntryOverhead
    		}
    		maxMemory -= int64(len(value))
    		if maxMemory < 0 {
    			return m, errMessageTooLarge
    		}
    		if vv == nil && len(strs) > 0 {
    			// More than likely this will be a single-element key.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.javadoc.Javadoc.destinationDir don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.javadoc.Javadoc.maxMemory don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.Test.forkEvery don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.testng.TestNGOptions.parallel don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            }
            final long maxMemory = Runtime.getRuntime().maxMemory();
            final long freeMemory = Runtime.getRuntime().freeMemory();
            final String msg = String.format(
                    "%d words from %d %s: {\"time\":{\"parse\":%d,\"index\":%d},\"cpu\":%f,\"mem\":{\"heap\":\"%dmb\",\"used\":\"%dmb\"}}",
                    items.length, size, type, parseTime, indexTime, cpuLoad, maxMemory / (1024 * 1024),
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/CurrentProcess.java

            return effectiveJvmOptions;
        }
    
        public JavaInfo getJvm() {
            return jvm;
        }
    
        public boolean isLowMemoryProcess() {
            return Runtime.getRuntime().maxMemory() <= 64L * 1024 * 1024; // 64MB is our default for a launcher process
        }
    
        static JvmOptions inferJvmOptions(FileCollectionFactory fileCollectionFactory, List<String> arguments) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        }
    
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top