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

📄 emptyrow.c

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 C
字号:
/*	emptyrow.c	4.1	83/03/09	*//* * emptyrow: returns true if row r of m is all zeros. * * Note that we assume the garbage at the end of the * row is all zeros. */#include "bit.h"emptyrow(m, rows, cols, r)bitmat m;int rows, cols, r;{	char *top, *bot;	bot = &m[r*((cols+7)>>3)];	top = bot + ((cols-1) >> 3);	while (bot <= top)		if (*bot++)			return(0);	return (1);}

⌨️ 快捷键说明

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