代码搜索:alignment
找到约 6,879 项符合「alignment」的源代码
代码结果 6,879
www.eeworm.com/read/233448/4669522
c cls_19byte.c
/* Area: ffi_call, closure_call
Purpose: Check structure passing with different structure size.
Depending on the ABI. Double alignment check on darwin.
Limitations: none.
PR: none.
Orig
www.eeworm.com/read/233448/4671344
c packed2.c
// PR c++/10091
// Original synopsis
// Bug: We were dying because in general, B::a doesn't have enough
// alignment for us to take its address. But if the B is C::b, it does
// have enough alignmen
www.eeworm.com/read/233448/4677943
c align-wchar.c
#include
#include
static wchar_t w;
int main(void)
{
printf ("+++wchar_t alignment:\n");
printf ("%d\n", __alignof__ (w));
return 0;
}
www.eeworm.com/read/233448/4678034
c align-size.c
#include
#include
static size_t sss;
int main(void)
{
printf ("+++size_t alignment:\n");
printf ("%d\n", __alignof__ (sss));
return 0;
}
www.eeworm.com/read/233448/4678231
c align-ptrdiff.c
#include
#include
static ptrdiff_t pd;
int main(void)
{
printf ("+++ptrdiff_t alignment:\n");
printf ("%d\n", __alignof__ (pd));
return 0;
}
www.eeworm.com/read/233448/4678482
c align-test-5a.c
/* APPLE LOCAL file Macintosh alignment */
/* align-test-5*.c are all the same code but with different options. */
/* { dg-do run { target "powerpc-*-darwin*" } } */
/* { dg-options "-malign-natural
www.eeworm.com/read/216802/4881967
h precomp.h
#ifdef _MSC_VER
#pragma warning ( disable : 4103 ) /* use #pragma pack to change alignment */
#undef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif//_MSC_VER
#include
www.eeworm.com/read/209211/4986473
c malloc.c
#include "all.h"
#include "mem.h"
#include "io.h"
long niob;
long nhiob;
Hiob *hiob;
/*
* Called to allocate permanent data structures
* Alignment is in number of bytes. It pertains both to the st
www.eeworm.com/read/205824/5016873
h precomp.h
#ifdef _MSC_VER
#pragma warning ( disable : 4103 ) /* use #pragma pack to change alignment */
#undef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif//_MSC_VER
#include
www.eeworm.com/read/190666/5172911
c align.c
// Skip if not target: i?86-*-linux* i?86-*-freebsd*
// Special g++ Options: -malign-double
// Origin: Alex Samuel
/* Test the size and alignment of fundamental C types for