<commit_before>/* $chaos: port.c,v 1.4 2002/10/15 09:55:12 per Exp $ */
/* Abstract: I/O port management. */
/* Author: <NAME> <<EMAIL>> */

/* Copyright 2002 chaos development. */
/* Use freely under the terms listed in the file LICENSE. */

#include <storm/storm.h>
#include <storm/ia32/port.h>

/* Linked list over allocated I/O regions. */
port_range_t *port_list = NULL;

/* Link in a port range into the list of allocated ports. */
static bool port_range_link (unsigned int start, unsigned int ports, 
                             const char *description)
{
    port_range_t *node = port_list;
    port_range_t *new_node;
    unsigned int end = start + ports;
<commit_msg>Include string.h<commit_after>/* $chaos: port.c,v 1.5 2002/10/22 19:40:37 per Exp $ */
/* Abstract: I/O port management. */
/* Author: <NAME> <<EMAIL>> */

/* Copyright 2002 chaos development. */
/* Use freely under the terms listed in the file LICENSE. */

#include <storm/storm.h>
#include <storm/ia32/port.h>
#include <storm/ia32/string.h>

/* Linked list over allocated I/O regions. */
port_range_t *port_list = NULL;

/* Link in a port range into the list of allocated ports. */
static bool port_range_link (unsigned int start, unsigned int ports, 
                             const char *description)
{
    port_range_t *node = port_list;
    port_range_t *new_node;
    unsigned int end = start + ports;

{'fraction_non_alphanumeric': 0.12589928057553956, 'fraction_numerical': 0.033093525179856115, 'mean_word_length': 2.9971264367816093, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '4763915', 'n_tokens_mistral': 474, 'n_tokens_neox': 438, 'n_words': 153}