Source

linux-scalability-benchmarks / libowfat / uint / uint64_read_big.c

The default branch has multiple heads

Full commit
1
2
3
4
5
6
7
#define NO_UINT64_MACROS
#include "uint64.h"
#include "uint32.h"

uint64 uint64_read_big(const char *in) {
  return ((uint64)uint32_read_big(in)<<32) | uint32_read_big(in+4);
}