Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 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. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/Javadoc.java

         */
        @Internal
        @Nullable
        public String getMaxMemory() {
            return maxMemory;
        }
    
        /**
         * Sets the amount of memory allocated to this task.
         *
         * @param maxMemory The amount of memory
         */
        public void setMaxMemory(String maxMemory) {
            this.maxMemory = maxMemory;
        }
    
        /**
         * <p>Returns the title for the generated documentation.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.pom

                        </javaApiLinks>
                        <excludePackageNames>*.internal.*</excludePackageNames>
                        <verbose>true</verbose>
                        <minmemory>32m</minmemory>
                        <maxmemory>128m</maxmemory>
                        <failOnError>true</failOnError>
                        <includeDependencySources>true</includeDependencySources>
                        <dependencySourceIncludes>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/pom/junit-4.12.pom

                        </javaApiLinks>
                        <excludePackageNames>junit.*,*.internal.*</excludePackageNames>
                        <verbose>true</verbose>
                        <minmemory>32m</minmemory>
                        <maxmemory>128m</maxmemory>
                        <failOnError>true</failOnError>
                        <includeDependencySources>true</includeDependencySources>
                        <dependencySourceIncludes>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/net/http/request_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if hdr.Filename != "foobar.txt" {
    		t.Errorf("expected only the last element of the path, got %q", hdr.Filename)
    	}
    }
    
    // Issue #40430: Test that if maxMemory for ParseMultipartForm when combined with
    // the payload size and the internal leeway buffer size of 10MiB overflows, that we
    // correctly return an error.
    func TestMaxInt64ForMultipartFormMaxMemoryOverflow(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/provider_test.go

    	unlimitedMemory := uint64(1 << 63)
    	spec := cadvisorapiv2.ContainerSpec{
    		CreationTime: testTime(creationTime, seed),
    		HasCpu:       true,
    		HasMemory:    true,
    		HasNetwork:   true,
    		Labels:       labels,
    		Memory: cadvisorapiv2.MemorySpec{
    			Limit:     unlimitedMemory,
    			SwapLimit: unlimitedMemory,
    		},
    		CustomMetrics: generateCustomMetricSpec(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/helper.go

    		if cstat.CpuInst != nil {
    			cpuStats.UsageNanoCores = &cstat.CpuInst.Usage.Total
    		}
    		if cstat.Cpu != nil {
    			cpuStats.UsageCoreNanoSeconds = &cstat.Cpu.Usage.Total
    		}
    	}
    	if info.Spec.HasMemory && cstat.Memory != nil {
    		pageFaults := cstat.Memory.ContainerData.Pgfault
    		majorPageFaults := cstat.Memory.ContainerData.Pgmajfault
    		memoryStats = &statsapi.MemoryStats{
    			Time:            metav1.NewTime(cstat.Timestamp),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cadvisor_stats_provider.go

    // both non-zero CPU instantaneous usage and non-zero memory RSS usage, and
    // false otherwise.
    func hasMemoryAndCPUInstUsage(info *cadvisorapiv2.ContainerInfo) bool {
    	if !info.Spec.HasCpu || !info.Spec.HasMemory {
    		return false
    	}
    	cstat, found := latestContainerStats(info)
    	if !found {
    		return false
    	}
    	if cstat.CpuInst == nil {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top