代码搜索:Layout
找到约 10,000 项符合「Layout」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2867916
c layout1.c
// Red Hat bugzilla 64535
// Bug: We are allocationg stuff into the tail padding of POD class "A".
// { dg-do run }
struct A
{
int x;
char y;
};
struct B : public A {
virtual void f () {}
ch
www.eeworm.com/read/366702/2869213
c layout1.c
// { dg-do run }
// Origin: Mark Mitchell
#if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100
struct R
{
virtual void r ();
};
struct S
{
virtual void f ();
};
www.eeworm.com/read/366702/2872361
mm layout-1.mm
/* Ensure that we do not get bizarre warnings referring to
__attribute__((packed)) or some such. */
/* { dg-do compile } */
/* { dg-options "-Wpadded -Wpacked -Wabi" } */
#include
www.eeworm.com/read/366702/2872869
m layout-1.m
/* Ensure that we do not get bizarre warnings referring to
__attribute__((packed)) or some such. */
/* { dg-do compile } */
/* { dg-options "-Wpadded -Wpacked" } */
#include
@int
www.eeworm.com/read/366702/2879403
c strct-layout.c
typedef struct
{
char a;
int b;
char c;
short d;
double e;
char f;
} T;
#if COMPILER != 1
f (T *x)
{
x[0].a = 'a';
x[0].b = 47114711;
x[0].c = 'c';
x[0].d = 1234;
x[0].e = 3.141
www.eeworm.com/read/366034/2893945
inc qwerty-layout.inc
# qwerty-layout
keycode 16 = q
keycode 17 = w
keycode 18 = e
keycode 19 = r
keycode 20 = t
keycode 21 = y
keycode 22 = u
keycode 23 = i
keycode 24 = o
keycode 25 = p
#
keycode 30 = a
keycode 31 = s
ke
www.eeworm.com/read/366034/2893949
inc qwertz-layout.inc
# qwertz-layout
keycode 16 = q
keycode 17 = w
keycode 18 = e
keycode 19 = r
keycode 20 = t
keycode 21 = z
keycode 22 = u
keycode 23 = i
keycode 24 = o
keycode 25 = p
#
keycode 30 = a
keycode 31 = s
ke
www.eeworm.com/read/366034/2893951
inc azerty-layout.inc
# azerty-layout
keycode 16 = a
keycode 17 = z
keycode 18 = e
keycode 19 = r
keycode 20 = t
keycode 21 = y
keycode 22 = u
keycode 23 = i
keycode 24 = o
keycode 25 = p
#
keycode 30 = q
keycode 31 = s
ke