代码搜索:structs
找到约 2,696 项符合「structs」的源代码
代码结果 2,696
www.eeworm.com/read/209853/15212719
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/470917/1440801
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
www.eeworm.com/read/470720/1444716
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/470720/1445551
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/470693/1456662
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/470693/1457497
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/250243/4437248
c ir-common.c
/*
* $Id: ir-common.c,v 1.6 2004/12/10 12:33:39 kraxel Exp $
*
* some common structs and functions to handle infrared remotes via
* input layer ...
*
* (c) 2003 Gerd Knorr [
www.eeworm.com/read/240162/4579708
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/240162/4580740
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/237551/4624972
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