Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 157 for setrlimit1 (0.16 sec)

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

    	SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
    	SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
    	SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix && ppc
    
    package unix
    
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = lseek64
    
    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/syscall/zsysnum_freebsd_riscv64.go

    	SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
    	SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
    	SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 35.8K bytes
    - Viewed (0)
  4. src/syscall/zsysnum_freebsd_arm64.go

    	SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
    	SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
    	SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 35.8K bytes
    - Viewed (0)
  5. src/net/rlimit_unix.go

    // apply the same limit to DNS lookups run directly from Go, because
    // there we will return a meaningful "too many open files" error.
    func concurrentThreadsLimit() int {
    	var rlim syscall.Rlimit
    	if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &rlim); err != nil {
    		return 500
    	}
    	r := rlim.Cur
    	if r > 500 {
    		r = 500
    	} else if r > 30 {
    		r -= 30
    	}
    	return int(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go

    	SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
    	SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
    	SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go

    	SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
    	SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
    	SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  8. plugin/pkg/admission/limitranger/admission.go

    		sort.Strings(setRequests)
    		a := strings.Join(setRequests, ", ") + fmt.Sprintf(" request for %s %s", annotationPrefix, container.Name)
    		annotations = append(annotations, a)
    	}
    	if len(setLimits) > 0 {
    		sort.Strings(setLimits)
    		a := strings.Join(setLimits, ", ") + fmt.Sprintf(" limit for %s %s", annotationPrefix, container.Name)
    		annotations = append(annotations, a)
    	}
    	return annotations
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    type rlimit32 struct {
    	Cur uint32
    	Max uint32
    }
    
    //sysnb	getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
    
    const rlimInf32 = ^uint32(0)
    const rlimInf64 = ^uint64(0)
    
    func Getrlimit(resource int, rlim *Rlimit) (err error) {
    	err = Prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    
    	rl := rlimit32{}
    	err = getrlimit(resource, &rl)
    	if err != nil {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix && ppc64
    
    package unix
    
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = lseek
    
    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) = mmap64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top