代码搜索:Struct
找到约 10,000 项符合「Struct」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5527964
c struct-ii.c
typedef struct {int a, b;} T;
int h (T *);
T g (T);
#if COMPILER != 1
h (T *x)
{
if (x->a != 0 || x->b != 1)
abort ();
}
#endif
#if COMPILER != 2
T
g (T x)
{
if (x.a != 13 || x.b != 47)
www.eeworm.com/read/162614/5527965
c struct-align.c
typedef union
{
struct {int a; int b;} s;
double d;
} T;
int h (T *);
T g (T);
#if COMPILER != 1
h (T *x)
{
if (x->s.a != 0 || x->s.b != 1)
abort ();
}
#endif
#if COMPILER != 2
T
g (T x)
www.eeworm.com/read/162614/5527967
c struct-ic.c
typedef struct {int a; char b;} T;
int h (T *);
T g (T);
#if COMPILER != 1
h (T *x)
{
if (x->a != 0 || x->b != 1)
abort ();
}
#endif
#if COMPILER != 2
T
g (T x)
{
if (x.a != 13 || x.b != 47
www.eeworm.com/read/162614/5529522
c struct-1.c
#include "struct-1.h"
struct ChainSearchRecord {
int identity;
};
typedef struct ChainSearchRecord ChainSearchRecord;
void foo (ChainSearchPtr s)
{
s->identity = 0x6a73616d;
}
www.eeworm.com/read/162614/5529550
hs struct-1.hs
struct ChainSearchRecord;
typedef struct ChainSearchRecord *ChainSearchPtr;
www.eeworm.com/read/162614/5529864
c struct-1.c
/* This testcase ICEd on IA-32 because the backend was inconsistent whether
to allow addends for @dtpoff relocs or not. */
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" } */
/* { dg-require-
www.eeworm.com/read/350097/3132849
h fs_struct.h
#ifndef _LINUX_FS_STRUCT_H
#define _LINUX_FS_STRUCT_H
#ifdef __KERNEL__
struct fs_struct {
atomic_t count;
rwlock_t lock;
int umask;
struct dentry * root, * pwd, * altroot;
struct vfsmount * roo
www.eeworm.com/read/350097/3132983
h console_struct.h
/*
* console_struct.h
*
* Data structure describing single virtual console except for data
* used by vt.c.
*
* Fields marked with [#] must be set by the low-level driver.
* Fields marked with [
www.eeworm.com/read/345992/3194527
c tree_struct.c
/* tree_struct.c - Tree Structure utility routines */
#ifndef lint
static char *rcsid = "$Header: /xtel/isode/isode/dsap/common/RCS/tree_struct.c,v 9.0 1992/06/16 12:12:39 isode Rel $";
#endif
/*
*
www.eeworm.com/read/341021/3259022
c type_struct.c
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpiimpl.h"
/* -- Begin Profiling Symbol Block