Download lib/python3.9/site-packages/Cython/Includes/posix/resource.pxd from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Includes/posix/resource.pxd
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/Cython/Includes/posix/resource.pxd
-
curl -L -o resource.pxd https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Includes/posix/resource.pxd
1.25 kB
| from posix.time cimport timeval | |
| from posix.types cimport id_t | |
| cdef extern from "<sys/resource.h>" nogil: | |
| enum: PRIO_PROCESS | |
| enum: PRIO_PGRP | |
| enum: PRIO_USER | |
| enum: RLIM_INFINITY | |
| enum: RLIM_SAVED_MAX | |
| enum: RLIM_SAVED_CUR | |
| enum: RUSAGE_SELF | |
| enum: RUSAGE_CHILDREN | |
| enum: RLIMIT_CORE | |
| enum: RLIMIT_CPU | |
| enum: RLIMIT_DATA | |
| enum: RLIMIT_FSIZE | |
| enum: RLIMIT_NOFILE | |
| enum: RLIMIT_STACK | |
| enum: RLIMIT_AS | |
| ctypedef unsigned long rlim_t | |
| cdef struct rlimit: | |
| rlim_t rlim_cur | |
| rlim_t rlim_max | |
| cdef struct rusage: | |
| timeval ru_utime | |
| timeval ru_stime | |
| long ru_maxrss | |
| long ru_ixrss | |
| long ru_idrss | |
| long ru_isrss | |
| long ru_minflt | |
| long ru_majflt | |
| long ru_nswap | |
| long ru_inblock | |
| long ru_oublock | |
| long ru_msgsnd | |
| long ru_msgrcv | |
| long ru_nsignals | |
| long ru_nvcsw | |
| long ru_nivcsw | |
| int getpriority(int, id_t) | |
| int getrlimit(int, rlimit *) | |
| int getrusage(int, rusage *) | |
| int setpriority(int, id_t, int) | |
| int setrlimit(int, const rlimit *) | |