代码搜索:pointer
找到约 10,000 项符合「pointer」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4678282
c s-pointer-a-longdouble.c
#include
static struct sss{
char * f;
long double a[10];
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("++++Array of longdouble in
www.eeworm.com/read/233448/4678288
c s-double-a-pointer.c
#include
static struct sss{
double f;
char * a[10];
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("++++Array of pointer in struct
www.eeworm.com/read/233448/4678294
c s-pointer-char.c
#include
static struct sss{
char * f;
char snd;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("+++Struct pointer-char:\n");
prin
www.eeworm.com/read/233448/4683758
c pointer-arith-7.c
/* Test diagnostics for sizeof on void and function types. Test with
-pedantic. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-pedantic" } */
e
www.eeworm.com/read/233448/4683935
c wno-pointer-sign.c
/* { dg-do compile } */
/* { dg-options "-Wno-pointer-sign" } */
void f1(long *);
void f2(unsigned long *);
int main()
{
long *lp;
unsigned long *ulp;
char *cp;
unsigned char *ucp;
signed
www.eeworm.com/read/233448/4684232
c null-pointer-1.c
/* PR c/13382 */
/* Origin: Richard Hutchinson */
/* Verify that the null initializer is converted to the right
pointer type. */
/* { dg-do compile } */
/* { dg-op
www.eeworm.com/read/233448/4684274
c pointer-arith-5.c
/* Test diagnostics for sizeof on void and function types. Test with
no special options. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "" } */
e
www.eeworm.com/read/233448/4684438
c pointer-arith-4.c
/* Test diagnostics for arithmetic on void and function pointers.
Test with -pedantic-errors. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-peda
www.eeworm.com/read/233448/4684595
c pointer-arith-3.c
/* Test diagnostics for arithmetic on void and function pointers.
Test with -pedantic. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-pedantic" }
www.eeworm.com/read/233448/4685260
c pointer-arith-2.c
/* Test diagnostics for arithmetic on void and function pointers.
Test with -Wpointer-arith. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-Wpoin