<commit_before>// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

// Enable calling numa functions through shims to make it a soft
// runtime dependency.

#ifndef __NUMASHIM_H__
#define __NUMASHIM_H__

#if HAVE_NUMA_H

#include <numa.h>
#include <numaif.h>

// List of all functions from the numa library that are used
#define FOR_ALL_NUMA_FUNCTIONS \
    PER_FUNCTION_BLOCK(numa_available) \<commit_msg>Fix numa build break (#14370)<commit_after>// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

// Enable calling numa functions through shims to make it a soft
// runtime dependency.

#ifndef __NUMASHIM_H__
#define __NUMASHIM_H__

#if HAVE_NUMA_H

#include <numa.h>
#include <numaif.h>

#define numa_free_cpumask numa_bitmask_free

// List of all functions from the numa library that are used
#define FOR_ALL_NUMA_FUNCTIONS \
    PER_FUNCTION_BLOCK(numa_available) \
{'fraction_non_alphanumeric': 0.06638297872340425, 'fraction_numerical': 0.00425531914893617, 'mean_word_length': 4.226666666666667, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3280462', 'n_tokens_mistral': 366, 'n_tokens_neox': 355, 'n_words': 149}