代码搜索结果
找到约 10,000 项符合
Layout 的代码
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
layout1.c
// Origin: Mark Mitchell
#if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100
struct R
{
virtual void r ();
};
struct S
{
virtual void f ();
};
struct T : virtu
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
layout1.java
package QandE;
import javax.swing.BorderFactory;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import j
layout3.java
package QandE;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java
layout2.java
package QandE;
import javax.swing.BorderFactory;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import java.awt.Color;
import java.awt
layout4.java
package QandE;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
imp
layout1.java
/*
* Copyright (c) 1995 - 2008 Sun Microsystems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the f