代码搜索:structs
找到约 2,696 项符合「structs」的源代码
代码结果 2,696
www.eeworm.com/read/233448/4673559
c init6.c
// { dg-do run }
// Test for default-initialization of POD-structs in functional cast notation.
struct foo { int a[10]; };
int main()
{
foo f = foo();
int r = 0;
for (int i = 0; i < 10; ++i)
www.eeworm.com/read/233448/4685455
c 20031106-5.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
extern void link_error (void);
/* Check for cprop on different fields of same type structs. */
struct s
{
char d;
int
www.eeworm.com/read/233448/4685492
c 20031106-6.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
extern void link_error (void);
/* Check for copyprop on structs. */
struct s
{
char d;
int a, b;
double m;
};
struc
www.eeworm.com/read/233448/4692458
c pass19-frag.c
#include
#include
#include
int main ()
{
struct foo {int base; char variable[1]; }; /* a common idiom for variable-size structs */
struct foo * b = (struct foo *) mall
www.eeworm.com/read/190666/5172648
c bitfield3.c
// Test for oversized bitfield alignment in structs on IA-32
// { dg-do run { target i?86-*-* } }
// { dg-options "-O2" }
struct A
{
char a;
int b : 224; // { dg-warning "exceeds its type" "" }
www.eeworm.com/read/190666/5173341
c init6.c
// Test for default-initialization of POD-structs in functional cast notation.
struct foo { int a[10]; };
int main()
{
foo f = foo();
int r = 0;
for (int i = 0; i < 10; ++i)
r |= f.a[i];
www.eeworm.com/read/180222/5288446
cpp simplestruct3.cpp
//: C03:SimpleStruct3.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Using pointers to structs
www.eeworm.com/read/340665/3273144
c bitfield3.c
// Test for oversized bitfield alignment in structs on IA-32
// { dg-do run { target i?86-*-* } }
// { dg-options "-O2" }
struct A
{
char a;
int b : 224; // { dg-warning "exceeds its type" "" }
www.eeworm.com/read/340665/3273998
c init6.c
// Test for default-initialization of POD-structs in functional cast notation.
struct foo { int a[10]; };
int main()
{
foo f = foo();
int r = 0;
for (int i = 0; i < 10; ++i)
r |= f.a[i];
www.eeworm.com/read/320652/3544128
h a.out.h
#ifndef __A_OUT_GNU_H__
#define __A_OUT_GNU_H__
#include
#define __GNU_EXEC_MACROS__
/*
* OSF/1 ECOFF header structs. ECOFF files consist of:
* - a file header (struct filehd