Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for maxFiles (0.21 sec)

  1. pkg/kubelet/logs/container_log_manager.go

    func NewContainerLogManager(runtimeService internalapi.RuntimeService, osInterface kubecontainer.OSInterface, maxSize string, maxFiles int, maxWorkers int, monitorInterval metav1.Duration) (ContainerLogManager, error) {
    	if maxFiles <= 1 {
    		return nil, fmt.Errorf("invalid MaxFiles %d, must be > 1", maxFiles)
    	}
    	parsedMaxSize, err := parseMaxSize(maxSize)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. pkg/kubelet/logs/container_log_manager_test.go

    func TestRemoveExcessLog(t *testing.T) {
    	for desc, test := range map[string]struct {
    		max    int
    		expect []string
    	}{
    		"MaxFiles equal to 2": {
    			max:    2,
    			expect: []string{},
    		},
    		"MaxFiles more than 2": {
    			max:    3,
    			expect: []string{"test-log-4"},
    		},
    		"MaxFiles more than log file number": {
    			max:    6,
    			expect: []string{"test-log-1", "test-log-2", "test-log-3", "test-log-4"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tests/fuzz/analyzer_fuzzer.go

    	var files []local.ReaderSource
    
    	numberOfFiles, err := f.GetInt()
    	if err != nil {
    		return files, err
    	}
    	maxFiles := numberOfFiles % 10
    
    	// Gather test files
    	for i := 0; i < maxFiles; i++ {
    		name, err := f.GetString()
    		if err != nil {
    			return files, err
    		}
    		rBytes, err := f.GetBytes()
    		if err != nil {
    			return files, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.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)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.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)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.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)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.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)
  10. src/syscall/zsysctl_openbsd.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: Tue Aug 22 03:24:15 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top