<commit_before>/* Copyright (C) 2004-2005 <NAME>    <<EMAIL>>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 *
 * Dedicated to Toni.  See uClibc/DEDICATION.mjn3 for details.
 */

#define _GNU_SOURCE

#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#ifdef __UCLIBC_HAS_WCHAR__
#include <wchar.h>
#endif

#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>

#define __STDIO_THREADLOCK_OPENLIST \
	__pthread_mutex_lock(&_stdio_openlist_lock)

#define __STDIO_THREADUNLOCK_OPENLIST \
	__pthread_mutex_unlock(&_stdio_openlist_lock)

#define __STDIO_THREADTRYLOCK_OPENLIST \
	__pthread_mutex_trylock(&_stdio_openlist_lock)

#else

#define	__STDIO_THREADLOCK_OPENLIST     ((void)0)
#define	__STDIO_THREADUNLOCK_OPENLIST   ((void)0)

#endif

#define __UNDEFINED_OR_NONPORTABLE ((void)0)

/**********************************************************************/<commit_msg>make sure we pull in features.h<commit_after>/* Copyright (C) 2004-2005 <NAME>    <<EMAIL>>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 *
 * Dedicated to Toni.  See uClibc/DEDICATION.mjn3 for details.
 */

#define _GNU_SOURCE

#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <features.h>

#ifdef __UCLIBC_HAS_WCHAR__
#include <wchar.h>
#endif

#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>

#define __STDIO_THREADLOCK_OPENLIST \
	__pthread_mutex_lock(&_stdio_openlist_lock)

#define __STDIO_THREADUNLOCK_OPENLIST \
	__pthread_mutex_unlock(&_stdio_openlist_lock)

#define __STDIO_THREADTRYLOCK_OPENLIST \
	__pthread_mutex_trylock(&_stdio_openlist_lock)

#else

#define	__STDIO_THREADLOCK_OPENLIST     ((void)0)
#define	__STDIO_THREADUNLOCK_OPENLIST   ((void)0)

#endif

#define __UNDEFINED_OR_NONPORTABLE ((void)0)

/**********************************************************************/
{'fraction_non_alphanumeric': 0.1751173708920188, 'fraction_numerical': 0.013145539906103286, 'mean_word_length': 6.2979452054794525, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, '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': '4184108', 'n_tokens_mistral': 842, 'n_tokens_neox': 807, 'n_words': 159}