<commit_before>//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//

#include <nanoWeak.h>
#include <WireProtocol_Message.h>
#include <WireProtocol_App_Interface.h>

static uint8_t receptionBuffer[sizeof(WP_Packet) + WP_PACKET_SIZE];

// Initialize to a packet sequence number impossible to encounter
uint32_t WireProtocolLastPacketSequence = 0x00FEFFFF;

uint8_t WP_App_ProcessHeader(WP_Message *message)
{
    // check for reception buffer overflow<commit_msg>WP reception buffer is now dword aligned (#2366)<commit_after>//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//

#include <nanoWeak.h>
#include <WireProtocol_Message.h>
#include <WireProtocol_App_Interface.h>

#if defined(__GNUC__)
__attribute__((aligned(32)))
#endif
static uint8_t receptionBuffer[sizeof(WP_Packet) + WP_PACKET_SIZE];

// Initialize to a packet sequence number impossible to encounter
uint32_t WireProtocolLastPacketSequence = 0x00FEFFFF;

uint8_t WP_App_ProcessHeader(WP_Message *message)
{
    // check for reception buffer overflow
{'fraction_non_alphanumeric': 0.08512467755803955, 'fraction_numerical': 0.017196904557179708, 'mean_word_length': 5.767441860465116, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7583120', 'n_tokens_mistral': 357, 'n_tokens_neox': 338, 'n_words': 106}