<commit_before>/*************************************************************************
> File Name: TaskMeta.cpp
> Project Name: Hearthstonepp
> Author: <NAME>
> Purpose: Meta data structure for managing task
> Created Time: 2018/05/20
> Copyright (c) 2018, <NAME>
*************************************************************************/
#include <Tasks/TaskMeta.h>

namespace Hearthstonepp
{
TaskMetaTrait::TaskMetaTrait()
    : id(TaskID::INVALID), status(MetaData::INVALID), userID(USER_INVALID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(TaskID id)
    : id(id), status(MetaData::INVALID), userID(USER_INVALID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(TaskID id, MetaData status)
    : id(id), status(status), userID(USER_INVALID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(TaskID id, MetaData status, BYTE userID)
    : id(id), status(status), userID(userID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(const TaskMetaTrait& trait)
    : id(trait.id), status(trait.status), userID(trait.userID)
{
    // Do Nothing
}

TaskMeta::TaskMeta() : TaskMetaTrait(), m_size(0)
{
    // Do Nothing
}

TaskMeta::TaskMeta(const TaskMetaTrait& trait) : TaskMetaTrait(trait), m_size(0)
{
    // Do Nothing
}
<commit_msg>[ci skip] Update TaskMeta - Add nullptr initializer<commit_after>/*************************************************************************
> File Name: TaskMeta.cpp
> Project Name: Hearthstonepp
> Author: <NAME>
> Purpose: Meta data structure for managing task
> Created Time: 2018/05/20
> Copyright (c) 2018, <NAME>
*************************************************************************/
#include <Tasks/TaskMeta.h>

namespace Hearthstonepp
{
TaskMetaTrait::TaskMetaTrait()
    : id(TaskID::INVALID), status(MetaData::INVALID), userID(USER_INVALID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(TaskID id)
    : id(id), status(MetaData::INVALID), userID(USER_INVALID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(TaskID id, MetaData status)
    : id(id), status(status), userID(USER_INVALID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(TaskID id, MetaData status, BYTE userID)
    : id(id), status(status), userID(userID)
{
    // Do Nothing
}

TaskMetaTrait::TaskMetaTrait(const TaskMetaTrait& trait)
    : id(trait.id), status(trait.status), userID(trait.userID)
{
    // Do Nothing
}

TaskMeta::TaskMeta() : TaskMetaTrait(), m_size(0), m_buffer(nullptr)
{
    // Do Nothing
}

TaskMeta::TaskMeta(const TaskMetaTrait& trait)
    : TaskMetaTrait(trait), m_size(0), m_buffer(nullptr)
{
    // Do Nothing
}

{'fraction_non_alphanumeric': 0.23955108359133126, 'fraction_numerical': 0.010835913312693499, 'mean_word_length': 5.382716049382716, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, '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': '1277979', 'n_tokens_mistral': 860, 'n_tokens_neox': 830, 'n_words': 168}