代码搜索:Struct
找到约 10,000 项符合「Struct」的源代码
代码结果 10,000
www.eeworm.com/read/440906/1781276
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/440906/1781277
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/440906/1781279
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/440906/1782162
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/439082/1815653
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/439082/1815792
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/438718/1822901
py test_struct.py
from test_support import TestFailed, verbose
import struct
## import pdb
def simple_err(func, *args):
try:
apply(func, args)
except struct.error:
pass
else:
raise
www.eeworm.com/read/437143/1836063
h lcd_struct.h
/*****************************
定义LCD所用数据结构
******************************/
#ifndef _LCD_STRUC_DEF
#define _LCD_STRUC_DEF
/* LCD颜色类型
* COLOR[0-3] : 红
* COLOR[4-7] : 绿
* COLOR[8-11
www.eeworm.com/read/437143/1836069
h lcd_struct.h
/*****************************
定义LCD所用数据结构
******************************/
#ifndef _LCD_STRUC_DEF
#define _LCD_STRUC_DEF
/* LCD颜色类型
* COLOR[0-3] : 红
* COLOR[4-7] : 绿
* COLOR[8-11
www.eeworm.com/read/434037/1874880
vhd testbench_struct.vhd
LIBRARY ieee;
USE ieee.std_logic_1164.all;
USE ieee.std_logic_unsigned.all;
ENTITY testbench IS
-- Declarations
END testbench ;
-- hds interface_end
--
-- VHDL Architecture Hamming.t