a guest Jun 19th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int x;
  2. Heads=realloc(Heads, TABLESIZE * sizeof(struct HTLink));
  3. S=realloc(S, TABLESIZE * sizeof(HTHash));
  4. for(x=TABLESIZE;x<TABLESIZE*2;x++)
  5. {
  6.     S[x]=(HTNode *)malloc(sizeof(HTNode));
  7.     S[x]->Key=EmptyKey;
  8.     S[x]->Next=NULL;
  9.     Heads[x]=*S[x];
  10. }
  11. TABLESIZE*=2;
  12. return S;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand