代码搜索:pointer
找到约 10,000 项符合「pointer」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5518562
c pointer-reference-alias.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-vars" } */
int f(int *a)
{
int &b = *a;
b = 0;
return *a;
}
/* There should be only one dereferencing of a. */
/* { dg-final { scan-tre
www.eeworm.com/read/162614/5528750
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/162614/5528975
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/162614/5529247
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/162614/5529289
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/162614/5529447
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/162614/5529598
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/340665/3272749
c omit-frame-pointer.c
// { dg-do run }
// { dg-options -fomit-frame-pointer }
// { dg-options "-fomit-frame-pointer -mno-accumulate-outgoing-args" { target i?86-*-* } }
#include
class Bug
{
};
int throw_bug()
www.eeworm.com/read/340665/3276891
c s-float-pointer.c
#include
static struct sss{
float f;
char * snd;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("+++Struct float-pointer:\n");
pr
www.eeworm.com/read/340665/3276904
c s-int-a-pointer.c
#include
static struct sss{
int f;
char * a[10];
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("++++Array of pointer in struct sta