<commit_before>#include <lib/cbuffer.h>
#include <lib/call.h>
#include <lib/file.h>
#include <lib/memory.h>
#include <lib/string.h>
#include <lib/vfs.h>
#include <kernel/vfs.h>
#include <kernel/dev.h>
#include <arch/x86/kernel/io.h>
#include <arch/x86/modules/pit/pit.h>
#include <arch/x86/modules/rtc/rtc.h>
#include <arch/x86/modules/ata/ata.h>
#include <arch/x86/modules/kbd/kbd.h>
#include <arch/x86/modules/vga/vga.h>
#include <modules/tty/tty.h>

struct vfs_node *devEntries[32];

static struct vfs_node *dev_node_walk(struct vfs_node *node, unsigned int index)
{

    if (index < node->length)
        return devEntries[index];
    else
        return 0;

}

static unsigned int dev_node_write(struct vfs_node *node, unsigned int offset, unsigned int count, void *buffer)
{

    devEntries[offset] = (struct vfs_node *)buffer;<commit_msg>removed unneccessary includes from dev<commit_after>#include <lib/cbuffer.h>
#include <lib/call.h>
#include <lib/file.h>
#include <lib/vfs.h>
#include <kernel/vfs.h>
#include <kernel/dev.h>
#include <arch/x86/kernel/io.h>
#include <arch/x86/modules/pit/pit.h>
#include <arch/x86/modules/rtc/rtc.h>
#include <arch/x86/modules/ata/ata.h>
#include <arch/x86/modules/kbd/kbd.h>
#include <arch/x86/modules/vga/vga.h>
#include <modules/tty/tty.h>

struct vfs_node *devEntries[32];

static struct vfs_node *dev_node_walk(struct vfs_node *node, unsigned int index)
{

    if (index < node->length)
        return devEntries[index];
    else
        return 0;

}

static unsigned int dev_node_write(struct vfs_node *node, unsigned int offset, unsigned int count, void *buffer)
{

    devEntries[offset] = (struct vfs_node *)buffer;
{'fraction_non_alphanumeric': 0.15116976604679064, 'fraction_numerical': 0.017996400719856028, 'mean_word_length': 4.4332247557003255, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '3981195', 'n_tokens_mistral': 662, 'n_tokens_neox': 641, 'n_words': 135}