Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for maxHead (0.48 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/DiffUtils.java

        private void reduceEqualLinesFromHeadAndTail(
                List<String> original, List<String> revised, int contextSize) {
            int head = 0;
            int maxHead = min(original.size(), revised.size());
            while (head < maxHead && original.get(head).equals(revised.get(head))) {
                head++;
            }
            head = max(head - contextSize, 0);
            offsetHead = head;
    
            int tail = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

        }
    
        private JavaForkOptions javaForkOptions(String minHeap, String maxHeap, List<String> jvmArgs) {
            def options = TestFiles.execFactory().newJavaForkOptions()
            options.workingDir = systemSpecificAbsolutePath("foo")
            options.minHeapSize = minHeap
            options.maxHeapSize = maxHeap
            options.jvmArgs = jvmArgs
            return options
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
            // The max element must sit on the first level of the maxHeap. It is
            // actually the *lesser* of the two from the maxHeap's perspective.
            return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (1)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

                    ? "The daemon will restart for the next build, which may increase subsequent build times"
                    : "The memory settings for this project must be adjusted to avoid this failure";
    
                String maxHeap = heapStats.isValid() ? NumberUtil.formatBytes(heapStats.getMaxSizeInBytes()) : "unknown";
                String maxMetaspace = nonHeapStats.isValid() ? NumberUtil.formatBytes(nonHeapStats.getMaxSizeInBytes()) : "unknown";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
            // The max element must sit on the first level of the maxHeap. It is
            // actually the *lesser* of the two from the maxHeap's perspective.
            return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

        new File(projectDirectory, "gradle.properties") << "\norg.gradle.workers.max=${maxWorkers}\n"
    
    }
    
    private void setMaxHeap(File projectDirectory, String maxHeap) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.jvmargs=-Xmx${maxHeap}\n"
    
    }
    
    private void setParallel(File projectDirectory, boolean parallel) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.parallel=${parallel}\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator.go

    	// the streams instead of the underlying connection *may* not perform the same if two streams
    	// traveling the same direction (e.g. stdout, stderr) are being maxed out.
    	opts := remotecommand.StreamOptions{}
    	if h.Options.Stdin {
    		stdin := websocketStreams.stdinStream
    		if h.MaxBytesPerSec > 0 {
    			stdin = flowrate.NewReader(stdin, h.MaxBytesPerSec)
    		}
    		opts.Stdin = stdin
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top