File:  [CSRG BSD Unix] / 41BSD / cmd / cifplot / masks.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD41
BSD 4.1

int fromMask[32] = {
	0xffffffff,
	0xffffff7f,
	0xffffff3f,
	0xffffff1f,
	0xffffff0f,
	0xffffff07,
	0xffffff03,
	0xffffff01,
	0xffffff00,
	0xffff7f00,
	0xffff3f00,
	0xffff1f00,
	0xffff0f00,
	0xffff0700,
	0xffff0300,
	0xffff0100,
	0xffff0000,
	0xff7f0000,
	0xff3f0000,
	0xff1f0000,
	0xff0f0000,
	0xff070000,
	0xff030000,
	0xff010000,
	0xff000000,
	0x7f000000,
	0x3f000000,
	0x1f000000,
	0xf000000,
	0x7000000,
	0x3000000,
	0x1000000,
	};

int toMask[32] = {
	0x0,
	0x80,
	0xc0,
	0xe0,
	0xf0,
	0xf8,
	0xfc,
	0xfe,
	0xff,
	0x80ff,
	0xc0ff,
	0xe0ff,
	0xf0ff,
	0xf8ff,
	0xfcff,
	0xfeff,
	0xffff,
	0x80ffff,
	0xc0ffff,
	0xe0ffff,
	0xf0ffff,
	0xf8ffff,
	0xfcffff,
	0xfeffff,
	0xffffff,
	0x80ffffff,
	0xc0ffffff,
	0xe0ffffff,
	0xf0ffffff,
	0xf8ffffff,
	0xfcffffff,
	0xfeffffff,
	};

int dotMask[32] = {
	0x80,
	0x40,
	0x20,
	0x10,
	0x8,
	0x4,
	0x2,
	0x1,
	0x8000,
	0x4000,
	0x2000,
	0x1000,
	0x800,
	0x400,
	0x200,
	0x100,
	0x800000,
	0x400000,
	0x200000,
	0x100000,
	0x80000,
	0x40000,
	0x20000,
	0x10000,
	0x80000000,
	0x40000000,
	0x20000000,
	0x10000000,
	0x8000000,
	0x4000000,
	0x2000000,
	0x1000000
	};

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.