<commit_before>#pragma once

#include "../Core/Definitions.h"

// Least significant bit is 0

template <typename Type>
byte BitRead(const Type& Target, const uint32 Bit)
{
	return (Target & (1 << Bit));
}

template <typename Type>
void BitWrite(Type& Target, const uint32 Bit, const byte Value)
{
	if (Value)
	{
		Base |= 1 << Bit;
	}

	else
	{
		Base &= ~(1 << Bit);
	}
}

template <typename Type>
void BitFlip(Type& Target, const uint32 Bit)
{
	Base ^ (1 << Bit);
}<commit_msg>Added Namespace<commit_after>#pragma once

#include "../Core/Definitions.h"

// Least significant bit is 0

namespace Red
{
	template <typename Type>
	byte BitRead(const Type& Target, const uint32 Bit)
	{
		return (Target & (1 << Bit));
	}

	template <typename Type>
	void BitWrite(Type& Target, const uint32 Bit, const byte Value)
	{
		if (Value)
		{
			Base |= 1 << Bit;
		}

		else
		{
			Base &= ~(1 << Bit);
		}
	}

	template <typename Type>
	void BitFlip(Type& Target, const uint32 Bit)
	{
		Base ^ (1 << Bit);
	}
}  // namespace Red
{'fraction_non_alphanumeric': 0.13691026827012026, 'fraction_numerical': 0.020351526364477335, 'mean_word_length': 2.6677966101694914, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 9, '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': '2600005', 'n_tokens_mistral': 415, 'n_tokens_neox': 375, 'n_words': 117}