git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added writesize
[tridge/junkcode.git]
/
a.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
#define TALLOC_ALIGN 32
5
6
main()
7
{
8
size_t size;
9
for (size=0;size<100;size++) {
10
size_t size2 = (size + (TALLOC_ALIGN-1)) & ~(TALLOC_ALIGN-1);
11
printf("size=%d size2=%d\n", (int)size, (int)size2);
12
}
13
}