コード例 #1
0
        public static Int32 FromPosixMadviseAdvice(PosixMadviseAdvice value)
        {
            Int32 rval;

            if (FromPosixMadviseAdvice(value, out rval) == -1)
            {
                ThrowArgumentException(value);
            }
            return(rval);
        }
コード例 #2
0
		public static bool TryToPosixMadviseAdvice (Int32 value, out PosixMadviseAdvice rval)
		{
			return ToPosixMadviseAdvice (value, out rval) == 0;
		}
コード例 #3
0
		private static extern int ToPosixMadviseAdvice (Int32 value, out PosixMadviseAdvice rval);
コード例 #4
0
		public static Int32 FromPosixMadviseAdvice (PosixMadviseAdvice value)
		{
			Int32 rval;
			if (FromPosixMadviseAdvice (value, out rval) == -1)
				ThrowArgumentException (value);
			return rval;
		}
コード例 #5
0
		public static bool TryFromPosixMadviseAdvice (PosixMadviseAdvice value, out Int32 rval)
		{
			return FromPosixMadviseAdvice (value, out rval) == 0;
		}
コード例 #6
0
		private static extern int FromPosixMadviseAdvice (PosixMadviseAdvice value, out Int32 rval);
コード例 #7
0
 public static bool TryToPosixMadviseAdvice(Int32 value, out PosixMadviseAdvice rval)
 {
     return(ToPosixMadviseAdvice(value, out rval) == 0);
 }
コード例 #8
0
 public static int posix_madvise(IntPtr addr, ulong len,
                                 PosixMadviseAdvice advice)
 {
     throw new System.NotImplementedException();
 }
コード例 #9
0
 public static bool TryFromPosixMadviseAdvice(PosixMadviseAdvice value, out Int32 rval)
 {
     return(FromPosixMadviseAdvice(value, out rval) == 0);
 }
コード例 #10
0
		private static int ToPosixMadviseAdvice (Int32 value, out PosixMadviseAdvice rval)
		{
			throw new System.NotImplementedException();
		}
コード例 #11
0
 private static extern int FromPosixMadviseAdvice(PosixMadviseAdvice value, out Int32 rval);
コード例 #12
0
		private static int FromPosixMadviseAdvice (PosixMadviseAdvice value, out Int32 rval)
		{
			throw new System.NotImplementedException();
		}
コード例 #13
0
		public static int posix_madvise (IntPtr addr, ulong len,
		PosixMadviseAdvice advice)
		{
			throw new System.NotImplementedException();
		}
コード例 #14
0
		public static extern int posix_madvise (IntPtr addr, ulong len, 
			PosixMadviseAdvice advice);
コード例 #15
0
 private static int FromPosixMadviseAdvice(PosixMadviseAdvice value, out Int32 rval)
 {
     throw new System.NotImplementedException();
 }
コード例 #16
0
 private static extern int ToPosixMadviseAdvice(Int32 value, out PosixMadviseAdvice rval);
コード例 #17
0
 private static int ToPosixMadviseAdvice(Int32 value, out PosixMadviseAdvice rval)
 {
     throw new System.NotImplementedException();
 }
コード例 #18
0
		public static extern int posix_madvise (IntPtr addr, ulong len, 
		PosixMadviseAdvice advice);