File: lib.c

package info (click to toggle)
nacl 20110221-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,540 kB
  • sloc: asm: 19,669; ansic: 13,492; cpp: 1,125; sh: 987; makefile: 37
file content (29 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
int not3(int n)
{
  return n != 3;
}

int bytes(int n)
{
  return (n + 7) / 8;
}

long long shr32(long long n)
{
  return n >> 32;
}

double double5(void)
{
  return 5.0;
}

int intbytes(void)
{
  return sizeof(int);
}

int longbytes(void)
{
  return sizeof(long);
}