This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Description : Simple chaining list | |
| * Date : 14/1/2025 | |
| * Author : rlupu @ UPB | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <assert.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Description : Hash table with collisions resolution mechanism based on list | |
| * Date : 14/1/2025 | |
| * Author : rlupu @ UPB | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| #include <string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include "whash.h" | |
| /* modaddition | |
| * A simple and terrible weak hash function | |
| */ | |
| inline unsigned int modaddition(unsigned char *in, unsigned int len){ /*hash size = 16b */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Descriere : Agenda telefonica implementata ca lista simplu inlantuita | |
| * Data : 29/10/2025 | |
| * Authors : dg, rlupu @ UNSTPB | |
| * License: : GPLv3 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <error.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Description : implemented funcs are delay(), getch(), getche(), kbhit(), kbhit_wait(), | |
| * GOTOXY(), CLRSCR(), rotr(), ... | |
| * Part of the functions are terms/Linux only compatible. Only ASCII encoding support. | |
| * All functions successfully tested. | |
| * Date : 23/12/2024 | |
| * Author : rlupu, dg @ UPB | |
| */ | |
| #include <time.h> | |
| #include <termios.h> |