代码搜索:struct
找到约 10,000 项符合「struct」的源代码
代码结果 10,000
www.eeworm.com/read/470693/1463129
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/470693/1463978
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" } */
struct S {
in
www.eeworm.com/read/467808/1496175
java xnx_struct.java
// $Id: Xnx_struct.java,v 1.1 2005/02/03 20:15:21 idgay Exp $
/* tab:4
* Copyright (c) 2004-2005 Intel Corporation
* All rights reserved.
*
* This file is distributed under the terms in th
www.eeworm.com/read/467235/1504086
h dual_struct.h
//**********************************************************************************************************
// The Software is proprietary, confidential, and valuable to Realtek Semiconductor
www.eeworm.com/read/467235/1504104
c dual_struct.c
//**********************************************************************************************************
// The Software is proprietary, confidential, and valuable to Realtek Semiconductor
www.eeworm.com/read/247212/4484731
idl struct-fwd.idl
struct Link;
typedef sequence DescendantSeq;
union uLink;
typedef sequence uDescendantSeq;
struct Link {
short some_value;
DescendantSeq descendants;
uDescendantSeq udescendants;
www.eeworm.com/read/240162/4579001
c struct2.c
// PR c++/14510
struct c {};
namespace A {
int c(struct c*req);
}
int A::c(struct c*req) {}
www.eeworm.com/read/240162/4579024
c struct1.c
// Various struct lookup tests. We didn't used to complain about
// the definition of C.
struct A;
typedef struct A B; // { dg-error "previous declaration" }
struct B; // { dg-error "conflicting
www.eeworm.com/read/240162/4579502
c struct1.c
struct bug {
const char *name;
unsigned long type;
};
struct bug s = { 0, (unsigned long) &s | 1 };
www.eeworm.com/read/240162/4579809
c anon-struct.c
// Contributed by Gabriel Dos Reis
// { dg-do compile }
namespace N { }
namespace M
{
typedef struct { } N;
}