<commit_before>#pragma once

#include "uthash.h"

typedef struct _BD_ADDR
{
    BYTE Address[6];

} BD_ADDR;

typedef struct _BTH_HANDLE
{
    BYTE Lsb;
    BYTE Msb;

} BTH_HANDLE;

typedef struct _BTH_DEVICE
{
    BD_ADDR ClientAddress;

    BTH_HANDLE ConnectionHandle;

    UT_hash_handle hh;

    struct BTH_DEVICE *next;

} BTH_DEVICE, *PBTH_DEVICE;

#pragma warning( push )  
#pragma warning( disable : 4702 ) 
VOID FORCEINLINE 
BTH_ADD_DEVICE(
    PBTH_DEVICE DeviceList, 
    BD_ADDR Address)
{
    PBTH_DEVICE device = (PBTH_DEVICE)malloc(sizeof(BTH_DEVICE));
    RtlZeroMemory(device, sizeof(BTH_DEVICE));

    device->ClientAddress = Address;

    HASH_ADD(hh, DeviceList, ClientAddress, sizeof(BD_ADDR), device);
#pragma warning( pop )  
}

VOID FORCEINLINE
BTH_REMOVE_DEVICE(
    PBTH_DEVICE DeviceList,
    PBTH_DEVICE Device)
{
    HASH_DEL(DeviceList, Device);
    free(Device);
}

ULONG FORCEINLINE
BTH_GET_DEVICE_COUNT(
    PBTH_DEVICE DeviceList)
{
    return HASH_COUNT(DeviceList);
}

#define BD_LINK_LENGTH  0x10

static const BYTE BD_LINK[BD_LINK_LENGTH] =
{ 
    0x56, 0xE8, 0x81, 0x38, 0x08, 0x06, 0x51, 0x41, 
    0xC0, 0x7F, 0x12, 0xAA, 0xD9, 0x66, 0x3C, 0xCE 
};
<commit_msg>Removed warning suppression<commit_after>#pragma once

#include "uthash.h"

typedef struct _BD_ADDR
{
    BYTE Address[6];

} BD_ADDR;

typedef struct _BTH_HANDLE
{
    BYTE Lsb;
    BYTE Msb;

} BTH_HANDLE;

typedef struct _BTH_DEVICE
{
    BD_ADDR ClientAddress;

    BTH_HANDLE ConnectionHandle;

    UT_hash_handle hh;

    struct BTH_DEVICE *next;

} BTH_DEVICE, *PBTH_DEVICE;

VOID FORCEINLINE 
BTH_ADD_DEVICE(
    PBTH_DEVICE DeviceList, 
    BD_ADDR Address)
{
    PBTH_DEVICE device = (PBTH_DEVICE)malloc(sizeof(BTH_DEVICE));
    RtlZeroMemory(device, sizeof(BTH_DEVICE));

    device->ClientAddress = Address;

    HASH_ADD(hh, DeviceList, ClientAddress, sizeof(BD_ADDR), device);
}

VOID FORCEINLINE
BTH_REMOVE_DEVICE(
    PBTH_DEVICE DeviceList,
    PBTH_DEVICE Device)
{
    HASH_DEL(DeviceList, Device);
    free(Device);
}

ULONG FORCEINLINE
BTH_GET_DEVICE_COUNT(
    PBTH_DEVICE DeviceList)
{
    return HASH_COUNT(DeviceList);
}

#define BD_LINK_LENGTH  0x10

static const BYTE BD_LINK[BD_LINK_LENGTH] =
{ 
    0x56, 0xE8, 0x81, 0x38, 0x08, 0x06, 0x51, 0x41, 
    0xC0, 0x7F, 0x12, 0xAA, 0xD9, 0x66, 0x3C, 0xCE 
};

{'fraction_non_alphanumeric': 0.0916095890410959, 'fraction_numerical': 0.038527397260273974, 'mean_word_length': 4.125, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5963429', 'n_tokens_mistral': 1039, 'n_tokens_neox': 922, 'n_words': 194}