Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for maxMemory (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/net/http/request.go

    		} else {
    			copyValues(r.Form, newValues)
    		}
    	}
    	return err
    }
    
    // ParseMultipartForm parses a request body as multipart/form-data.
    // The whole request body is parsed and up to a total of maxMemory bytes of
    // its file parts are stored in memory, with the remainder stored on
    // disk in temporary files.
    // ParseMultipartForm calls [Request.ParseForm] if necessary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. 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)
  7. src/net/http/serve_test.go

    		t.Skip("https://go.dev/issue/20253")
    	}
    
    	const maxMemory = 1024
    	const key = "file"
    
    	if runtime.GOOS == "windows" {
    		// Windows sometimes refuses to remove a file that was just closed.
    		t.Skip("https://go.dev/issue/25965")
    	}
    
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		r.ParseMultipartForm(maxMemory)
    		f, _, err := r.FormFile(key)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    	}
    	l.next, l.mapped = base, base
    	l.end = base + size
    	l.mapMemory = mapMemory
    }
    
    func (l *linearAlloc) alloc(size, align uintptr, sysStat *sysMemStat) unsafe.Pointer {
    	p := alignUp(l.next, align)
    	if p+size > l.end {
    		return nil
    	}
    	l.next = p + size
    	if pEnd := alignUp(l.next-1, physPageSize); pEnd > l.mapped {
    		if l.mapMemory {
    			// Transition from Reserved to Prepared to Ready.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top