Example #1
0
 public static long RotateRight(long i, int distance)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(i).Add(distance))
     {
         return(_cmj_fun24.CallLong(null, cmj_jmargs));
     }
 }
Example #2
0
 public static long ReverseBytes(long i)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(i))
     {
         return(_cmj_fun22.CallLong(null, cmj_jmargs));
     }
 }
Example #3
0
 public static long RemainderUnsigned(long dividend, long divisor)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(dividend).Add(divisor))
     {
         return(_cmj_fun20.CallLong(null, cmj_jmargs));
     }
 }
Example #4
0
 public static long ParseUnsignedLong(string s, int radix)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(s).Add(radix))
     {
         return(_cmj_fun19.CallLong(null, cmj_jmargs));
     }
 }
Example #5
0
 public static long Sum(long a, long b)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(a).Add(b))
     {
         return(_cmj_fun26.CallLong(null, cmj_jmargs));
     }
 }
Example #6
0
 public static long Parse(string s)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(s))
     {
         return(_cmj_fun14.CallLong(null, cmj_jmargs));
     }
 }
Example #7
0
 public long Position(global::Java.Sql.Clob searchstr, long start)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(searchstr).Add(start))
     {
         return(_cmj_fun7.CallLong(this, cmj_jmargs));
     }
 }
Example #8
0
 public long GetLong(object obj)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(obj))
     {
         return(_cmj_fun11.CallLong(this, cmj_jmargs));
     }
 }
Example #9
0
 public long Position(global::Codemesh.JuggerNET.byteArray pattern, long start)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(pattern).Add(start))
     {
         return(_cmj_fun5.CallLong(this, cmj_jmargs));
     }
 }
Example #10
0
 public static long ToUnsignedLong(short x)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(x))
     {
         return(_cmj_fun9.CallLong(null, cmj_jmargs));
     }
 }
Example #11
0
 public static long UTC(int year, int month, int date, int hrs, int min, int sec)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[6];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(year).Add(month).Add(date).Add(hrs).Add(min).Add(sec))
     {
         return(_cmj_fun0.CallLong(null, cmj_jmargs));
     }
 }
Example #12
0
 public static long ExecuteLargeUpdate(string arg0, global::Java.Lang.StringArray arg1)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(arg0).Add(arg1))
     {
         return(_cmj_fun4.CallLong(null, cmj_jmargs));
     }
 }
Example #13
0
 public static long HighestOneBit(long i)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(i))
     {
         return(_cmj_fun10.CallLong(null, cmj_jmargs));
     }
 }
Example #14
0
 public static long DoubleToRawLongBits(double value)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(value))
     {
         return(_cmj_fun3.CallLong(null, cmj_jmargs));
     }
 }
Example #15
0
 public long EstimateSize()
 {
     return(_cmj_fun5.CallLong(this));
 }
Example #16
0
 public static long GetExactSizeIfKnown()
 {
     return(_cmj_fun2.CallLong(null));
 }
Example #17
0
 public long Length()
 {
     return(_cmj_fun5.CallLong(this));
 }
Example #18
0
 public long ToEpochDay()
 {
     return(_cmj_fun25.CallLong(this));
 }
Example #19
0
 public long ToNanoOfDay()
 {
     return(_cmj_fun22.CallLong(this));
 }
Example #20
0
 public long GetTime()
 {
     return(_cmj_fun11.CallLong(this));
 }
Example #21
0
 public static long GetLargeUpdateCount()
 {
     return(_cmj_fun6.CallLong(null));
 }
Example #22
0
 public static long GetLargeMaxRows()
 {
     return(_cmj_fun5.CallLong(null));
 }
Example #23
0
 public long GetEpochSecond()
 {
     return(_cmj_fun0.CallLong(this));
 }
Example #24
0
 public long ToEpochMilli()
 {
     return(_cmj_fun15.CallLong(this));
 }
Example #25
0
 public long LongValueExact()
 {
     return(_cmj_fun10.CallLong(this));
 }
Example #26
0
 public long ReadLong()
 {
     return(_cmj_fun15.CallLong(this));
 }
Example #27
0
 public static long ExecuteLargeUpdate()
 {
     return(_cmj_fun0.CallLong(null));
 }