mat.c
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· C语言 代码 · 共 21 行
C
21 行
/* mat.c 4.1 83/03/09 *//* * mat: retrieve the value in m[r, c]. * rows and cols are the size of the matrix in all these routines. */#include "bit.h"intmat(m, rows, cols, r, c)register bitmat m;register int c;int rows, cols, r;{ register int thisbyte; thisbyte = m[r*((cols+7)>>3) + (c>>3)] & 0xff; thisbyte &= 0x80 >> (c&7); return (thisbyte != 0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?