Advertisement
Guest User

PMATest

a guest
Jun 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include "pma.h"
  2. #include "keyval.h"
  3.  
  4. int main(){
  5.     printf("Start\n");
  6.     PMA pv = pma_create();
  7.     printf("pma_capacity = %llu\n", pma_capacity(pv));
  8.     for(uint64_t i = 0 ; i < 1; ++i) {
  9.         printf("pma_count = %llu\n", pma_count(pv));
  10.         pma_insert(pv, i, i*2);
  11.     }
  12.  
  13.     printf("Finish\n");
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement