⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ndbhf.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
/* a hash file */struct Ndbhf{	Ndbhf	*next;	int	fd;	ulong	dbmtime;	/* mtime of data base */	int	hlen;		/* length (in entries) of hash table */	char	attr[Ndbalen];	/* attribute hashed */	uchar	buf[256];	/* hash file buffer */	long	off;		/* offset of first byte of buffer */	int	len;		/* length of valid data in buffer */};char*		_ndbparsetuple(char*, Ndbtuple**);Ndbtuple*	_ndbparseline(char*);#define ISWHITE(x) ((x) == ' ' || (x) == '\t' || (x) == '\r')#define EATWHITE(x) while(ISWHITE(*(x)))(x)++extern Ndbtuple *_ndbtfree;/* caches */void	_ndbcacheflush(Ndb *db);int	_ndbcachesearch(Ndb *db, Ndbs *s, char *attr, char *val, Ndbtuple **t);Ndbtuple* _ndbcacheadd(Ndb *db, Ndbs *s, char *attr, char *val, Ndbtuple *t);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -