Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for maxMemory (0.2 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. 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)
  4. platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/ScalaDocSpec.groovy

        }
    
        @Override
        ScalaDoc getTask() {
            return scalaDoc
        }
    
        def "test ScalaDoc maxMemory"() {
            expect:
            scalaDoc.maxMemory.set('1G')
            scalaDoc.maxMemory.get() == '1G'
        }
    
        def "test Scala Includes"() {
            expect:
            scalaDoc.include(TEST_PATTERN_1, TEST_PATTERN_2) == scalaDoc
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.javadoc.Javadoc.xml

                <tr>
                    <td>destinationDir</td>
                    <td><literal><replaceable>${project.docsDir}</replaceable>/javadoc</literal></td>
                </tr>
                <tr>
                    <td>maxMemory</td>
                    <td><literal>null</literal></td>
                </tr>
                <tr>
                    <td>title</td>
                    <td><literal>project.reporting.apiDocTitle</literal></td>
                </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/HeapProportionalCacheSizer.java

    public class HeapProportionalCacheSizer {
        public static final String CACHE_RESERVED_SYSTEM_PROPERTY = "org.gradle.cache.reserved.mb";
        private static final int DEFAULT_SIZES_MAX_HEAP_MB = 910; // when -Xmx1024m, Runtime.maxMemory() returns about 910
        private static final int ASSUMED_USED_HEAP = 150; // assume that Gradle itself uses about 150MB heap
    
        private static final double MIN_RATIO = 0.2d;
    
        private final int maxHeapMB;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaDoc.java

        private ScalaDocOptions scalaDocOptions;
        private String title;
        private final Property<String> maxMemory;
        private final Property<JavaLauncher> javaLauncher;
        private final ConfigurableFileCollection compilationOutputs;
    
        public ScalaDoc() {
            ObjectFactory objectFactory = getObjectFactory();
            this.maxMemory = objectFactory.property(String.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top