<commit_before>#include <common/CapricaAllocator.h>

namespace caprica {

ConcurrentPooledBufferAllocator::Heap::Heap(size_t heapSize) : allocedHeapSize(heapSize), freeBytes(heapSize) {
  baseAlloc = calloc(1, heapSize);
  if (!baseAlloc)
    CapricaReportingContext::logicalFatal("Failed to allocate a Heap!");
}

ConcurrentPooledBufferAllocator::Heap::~Heap() {
  if (baseAlloc) {
    free(baseAlloc);<commit_msg>File read buffer doesn't need to be 0-initialized.<commit_after>#include <common/CapricaAllocator.h>

namespace caprica {

ConcurrentPooledBufferAllocator::Heap::Heap(size_t heapSize) : allocedHeapSize(heapSize), freeBytes(heapSize) {
  baseAlloc = malloc(heapSize);
  if (!baseAlloc)
    CapricaReportingContext::logicalFatal("Failed to allocate a Heap!");
}

ConcurrentPooledBufferAllocator::Heap::~Heap() {
  if (baseAlloc) {
    free(baseAlloc);
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0023148148148148147, 'mean_word_length': 7.398058252427185, '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': '3727679', 'n_tokens_mistral': 285, 'n_tokens_neox': 286, 'n_words': 49}