Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxFiles (0.23 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	if maxFiles < 0 {
    		// Order by name for compatibility with old code.
    		order = func(i, j int) bool { return files[i].fname < files[j].fname }
    		maxFiles = len(files)
    	}
    	sort.Slice(files, order)
    	result := WebListData{
    		Total: rpt.formatValue(rpt.total),
    	}
    	for i, f := range files {
    		if i < maxFiles {
    			result.Files = append(result.Files, sp.generateFile(f, rpt))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

         * Returns the tail of a file.
         *
         * @param file to read from tail
         * @param maxLines max lines to read
         * @return tail content
         * @throws org.gradle.util.GFileUtils.TailReadingException when reading failed
         */
        @SuppressWarnings("DefaultCharset")
        public static String tail(File file, int maxLines) throws TailReadingException {
            logDeprecation();
            BufferedReader reader = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top