摘要:
#ifdef HAVE_CONFIG_H #include<config.h> #endif #include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> #incl 阅读全文
摘要:
#define RECORDLEN 32 struct jtRecord { int key; char other[RECORDLEN-sizeof(int)]; }; #ifdef HAVE_CONFIG_H #include<config.h> #endif 阅读全文
摘要:
#include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #include<memory.h> #include"HashF 阅读全文
摘要:
#include<unistd.h> #include<sys/stat.h> #define COLLISIONFACTOR 0.5 struct HashFileHeader { int sig; int reclen; int total_rec_num; int current_rec_nu 阅读全文
摘要:
#include "math.h" #include "sched.h" #include "pthread.h" #include "stdlib.h" #include "semaphore.h" #include "stdio.h" typedef struct{ char task_id; 阅读全文
摘要:
#include "sched.h" #include "pthread.h" #include "stdio.h" #include "stdlib.h" #include "semaphore.h" #include <string.h> int producer(void *args); in 阅读全文