<commit_before>#ifndef MPCB_H
#define MPCB_H

#include <vector>
#include <stdint.h>
#include <cstddef>
#include <cassert>

#include "MemBlock.h"

//#define MEMHEAP 0
//#define MEMPOOL 1
//#define MEMBLOCK 2

// enum MemLevel {MEMHEAP, MEMPOOL, MEMBLOCK};
 
using namespace std;

class MPCB
{
  static unsigned int idInc;
  unsigned int id;
  uint8_t *start;
  unsigned int size;
  vector<MemBlock> *allocated;
//  bool *isFree;
//  MemLevel level;
  
//  vector<MPCB*> *subBlocks;
public:
  MPCB(uint8_t *plStrt, unsigned int plSz /*, MemLevel lvl */);
  ~MPCB();

  uint8_t* allocate(unsigned int size);
  bool deallocate(uint8_t* strt);

//  MPCB* findSubBlock(unsigned int ident);
//  void insertSubBlock(MPCB* m);
//  void removeSubBlock(unsigned int ident);

  unsigned int getID();
  uint8_t* getStart();
  unsigned int getSize();
  bool fullyFree();
  unsigned int countFree();
//  bool checkFree(unsigned int index);
};

#endif<commit_msg>Cleaned up commented out code<commit_after>#ifndef MPCB_H
#define MPCB_H

#include <vector>
#include <stdint.h>
#include <cstddef>
#include <cassert>

#include "MemBlock.h"

using namespace std;

class MPCB
{
  static unsigned int idInc;
  unsigned int id;
  uint8_t *start;
  unsigned int size;
  vector<MemBlock> *allocated;
public:
  MPCB(uint8_t *plStrt, unsigned int plSz);
  ~MPCB();
  uint8_t* allocate(unsigned int size);
  bool deallocate(uint8_t* strt);
  unsigned int getID();
  uint8_t* getStart();
  unsigned int getSize();
  bool fullyFree();
  unsigned int countFree();
};

#endif
{'fraction_non_alphanumeric': 0.12775616083009078, 'fraction_numerical': 0.008430609597924773, 'mean_word_length': 4.395104895104895, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '6750217', 'n_tokens_mistral': 587, 'n_tokens_neox': 566, 'n_words': 162}