-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathtool.h
More file actions
15 lines (15 loc) · 820 Bytes
/
tool.h
File metadata and controls
15 lines (15 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*************************************************************************
> File Name: tool.h
> Author: gaopeng QQ:22389860 all right reserved
> Mail: gaopp_200217@163.com
> Created Time: Thu 28 Sep 2017 03:15:06 PM CST
************************************************************************/
#include"myfine.h"
void* aligned_malloc(size_t size, size_t alignment);
void aligned_free(void *palignedmem);
ulint mach_read_from_4( const byte* b) ; /*!< in: pointer to four bytes */
ib_uint64_t mach_read_from_8(const byte* b); /*!< in: pointer to 8 bytes */
ulint mach_read_from_1( const byte* b) ; /*!< in: pointer to byte */
ulint mach_read_from_2( const byte* b) ; /*!< in: pointer to 2 bytes */
void* ut_align_down(const void* ptr,ulint align_no);
int16_t mach_read_from_2_16(const byte* b);