Пример #1
0
        public KernelResult GetResourceLimitPeakValue32([R(1)] int handle, [R(2)] LimitableResource resource, [R(1)] out int peakLow, [R(2)] out int peakHigh)
        {
            KernelResult result = _syscall.GetResourceLimitPeakValue(handle, resource, out long peak);

            peakHigh = (int)(peak >> 32);
            peakLow  = (int)(peak & uint.MaxValue);

            return(result);
        }
Пример #2
0
 public KernelResult GetResourceLimitPeakValue64([R(1)] int handle, [R(2)] LimitableResource resource, [R(1)] out long peak)
 {
     return(_syscall.GetResourceLimitPeakValue(handle, resource, out peak));
 }