代码搜索结果

找到约 10,206 项符合 Storage 的代码

nullstring.c

/** Null character in string tests. storage: data, xdata, code, */ #include #if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80) # define data # define xdata # define

increment.c

/** Simple test for increment type: signed char, int, long storage: static, attr: volatile */ #include static void testIncrement(void) { {attr} {storage} {type} i; i

bug-469671.c

/* bug 469671.c storage: static, */ #include void testMul(void) { {storage} volatile int a, b; a = 5; b = a*2; ASSERT(b == 10); a = -33; b = a*2; ASSERT(b == -66); }

addsub.c

/** Add, sub tests. type: signed char, int, long storage: static, attr: volatile */ #include void testAdd(void) { {storage} {attr} {type} left, right, result; left = 5

bitwise.c

/** Test the bitwise operators. type: char, int, long attr: volatile, storage: static, */ #include static void testTwoOpBitwise(void) { {storage} {attr} {type} left,

muldiv.c

/** Simple test for the mul/div/mod operations. type: int, char, short, long storage: static, attr: volatile, */ #include void testUnsignedModDiv(void) { {attr} {storage}

zeropad.c

/** Zeropad tests. storage: idata, xdata, code, */ #include #if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80) # define idata # define xdata # define code #endif str

shifts.c

/** Tests covering the shift operators. sign: signed, unsigned type: char, int, long storage: static, attr: volatile vals: 3 pending - 1792, 851968, 1560281088, -3, -1792,

storage.c

/** Tests many of the basic operators from each of the storage types to every other. source_storage: static, register, dest_storage: static, register, type: char, int, long */ #include

compare.c

/** Test the comparison operators. type: char, int, long storage: static, attr: volatile */ #include static void testCmpAroundZero(void) { {attr} {storage} {type} i;