Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement