<commit_before>/*
 * (C) 2015 <NAME>
 * @global.c
 * @Created on 2015/10/20
 * @Defined some data types and internal functions
 */

#ifndef _GLOBAL_H
#define _GLOBAL_H

/* Buffer Section */
struct Buffer
{
    int a;
};
typedef struct Buffer Buffer;
void *getBuffer(const char *);

/* BTree Section*/
struct BTree
{
    int a;
};
typedef struct BTree BTree;



struct miniSQL
{
    /* data */
    Buffer *buf;
    BTree *bTree;
};
typedef miniSQL miniSQL;

typedef long i64;                  /* 8-byte signed integer */
typedef unsigned long u64;         /* 8-byte unsigned integer */
typedef unsigned int u32;          /* 4-byte unsigned integer */
typedef unsigned short u16;        /* 2-byte unsigned integer */
typedef short i16;                 /* 2-byte signed integer */
typedef unsigned char u8;          /* 1-byte unsigned integer */
typedef char i8;                   /* 1-byte signed integer */
<commit_msg>added some Todo task<commit_after>/*
 * (C) 2015 <NAME>
 * @global.c
 * @Created on 2015/10/20
 * @Defined some data types and internal functions
 */

#ifndef _GLOBAL_H
#define _GLOBAL_H

/* Buffer Section */
/* Todo : transfer the implementation to buffer.h*/
struct Buffer
{
    int a;
};
typedef struct Buffer Buffer;
void *getBuffer(const char *);

/* BTree Section*/
/* Todo : transfer the implementation to btree.h*/
struct BTree
{
    int a;
};
typedef struct BTree BTree;



struct miniSQL
{
    /* data */
    Buffer *buf;
    BTree *bTree;
};
typedef miniSQL miniSQL;

typedef long i64;                  /* 8-byte signed integer */
typedef unsigned long u64;         /* 8-byte unsigned integer */
typedef unsigned int u32;          /* 4-byte unsigned integer */
typedef unsigned short u16;        /* 2-byte unsigned integer */
typedef short i16;                 /* 2-byte signed integer */
typedef unsigned char u8;          /* 1-byte unsigned integer */
typedef char i8;                   /* 1-byte signed integer */

{'fraction_non_alphanumeric': 0.10894141829393628, 'fraction_numerical': 0.03186022610483042, 'mean_word_length': 2.356896551724138, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6558907', 'n_tokens_mistral': 650, 'n_tokens_neox': 559, 'n_words': 211}