Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for maxFiles (0.28 sec)

  1. 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)
  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)
  3. 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)
  4. 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)
  5. 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