Пример #1
0
 int INativeLibraryFacade.mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
 return FallbackLibraryFacade.mdb_stat(txn, dbi, out stat);
 }
Пример #2
0
 int INativeLibraryFacade.mdb_env_stat (IntPtr env, out MDBStat stat)
 {
     return FallbackLibraryFacade.mdb_env_stat(env, out stat);
 }
Пример #3
0
 private static extern int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat);
Пример #4
0
 private static extern int mdb_env_stat(IntPtr env, out MDBStat stat);
Пример #5
0
 int INativeLibraryFacade.mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
 return Native64BitLibraryFacade.mdb_stat(txn, dbi, out stat);
 }
Пример #6
0
 int INativeLibraryFacade.mdb_env_stat (IntPtr env, out MDBStat stat)
 {
     return Native64BitLibraryFacade.mdb_env_stat(env, out stat);
 }
Пример #7
0
 public static extern int mdb_env_stat(IntPtr env, out MDBStat stat);
Пример #8
0
 public static extern int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat);
Пример #9
0
 public static int mdb_env_stat(IntPtr env, out MDBStat stat)
 {
     return check(LmdbMethods.mdb_env_stat(env, out stat));
 }
Пример #10
0
 public static int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
     return check(LmdbMethods.mdb_stat(txn, dbi, out stat));
 }
Пример #11
0
        public long GetEntriesCount(LightningDatabase db)
        {
            var stat = new MDBStat();
            NativeMethods.Execute(lib => lib.mdb_stat(_handle, db._handle, out stat));

            return stat.ms_entries.ToInt64();
        }