Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for maxFiles (0.26 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go

    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    	{"kern.maxproc", []_C_int{1, 6}},
    	{"kern.maxthread", []_C_int{1, 25}},
    	{"kern.maxvnodes", []_C_int{1, 5}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go

    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    	{"kern.maxproc", []_C_int{1, 6}},
    	{"kern.maxthread", []_C_int{1, 25}},
    	{"kern.maxvnodes", []_C_int{1, 5}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/support.go

    	files map[string]*fileInfo
    }
    
    type fileInfo struct {
    	file     *token.File
    	lastline int
    }
    
    const maxlines = 64 * 1024
    
    func (s *fakeFileSet) pos(file string, line, column int) token.Pos {
    	// TODO(mdempsky): Make use of column.
    
    	// Since we don't know the set of needed file positions, we reserve
    	// maxlines positions per file. We delay calling token.File.SetLines until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/numberlines.go

    			}
    			total += uint64(v.lp.last - v.lp.first)
    			if maxfile < v.f {
    				maxfile = v.f
    			}
    			if minline > v.lp.first {
    				minline = v.lp.first
    			}
    			if maxline < v.lp.last {
    				maxline = v.lp.last
    			}
    		}
    		f.LogStat("SUM_LINE_RANGE", total, "MAXMIN_LINE_RANGE", maxline-minline, "MAXFILE", maxfile, "NFILES", len(entries))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/gofmt/gofmt_test.go

    // gofmtFlags looks for a comment of the form
    //
    //	//gofmt flags
    //
    // within the first maxLines lines of the given file,
    // and returns the flags string, if any. Otherwise it
    // returns the empty string.
    func gofmtFlags(filename string, maxLines int) string {
    	f, err := os.Open(filename)
    	if err != nil {
    		return "" // ignore errors - they will be found later
    	}
    	defer f.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go

    	testReadLines(t, []int{128 * 1024})
    }
    
    func TestReadRandomLineLengths(t *testing.T) {
    	minLength := 100
    	maxLength := 96 * 1024
    	maxLines := 100
    
    	lineLengths := make([]int, maxLines)
    	for i := 0; i < maxLines; i++ {
    		lineLengths[i] = rand.Intn(maxLength-minLength) + minLength
    	}
    
    	testReadLines(t, lineLengths)
    }
    
    func testReadLines(t *testing.T, lineLengths []int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    	}
    }
    
    // fakeTerminalSizeQueue implements TerminalSizeQueue, returning a random set of
    // "maxSizes" number of TerminalSizes, storing the TerminalSizes in "sizes" slice.
    type fakeTerminalSizeQueue struct {
    	maxSizes      int
    	terminalSizes []remotecommand.TerminalSize
    }
    
    // newTerminalSizeQueue returns a pointer to a fakeTerminalSizeQueue passing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. pkg/volume/util/atomic_writer_test.go

    	if err == nil {
    		t.Fatalf("unexpected success creating writer for nonexistent target dir: %v", err)
    	}
    }
    
    func TestValidatePath(t *testing.T) {
    	maxPath := strings.Repeat("a", maxPathLength+1)
    	maxFile := strings.Repeat("a", maxFileNameLength+1)
    
    	cases := []struct {
    		name  string
    		path  string
    		valid bool
    	}{
    		{
    			name:  "valid 1",
    			path:  "i/am/well/behaved.txt",
    			valid: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top