<commit_before>#pragma once

#include <map>
#include <string>

#include "DmaBuffer.h"
#include "portal.h"
#include "dmaManager.h"
#include "NvmeDriverIndication.h"
#include "NvmeDriverRequest.h"
#include "NvmeIndication.h"
#include "NvmeRequest.h"
#include "NvmeTrace.h"
#include "MemServerPortalRequest.h"
#include "MemServerPortalIndication.h"
#include "StringSearchRequest.h"
#include "StringSearchResponse.h"
//#include "ConnectalProjectConfig.h"

const int DataBusWidth = 64;
const int DataBusBytes = DataBusWidth/8;

enum nvme_admin_opcode {
    nvme_create_submission_queue = 1,
    nvme_create_completion_queue = 5,
    nvme_identify     = 6,
    nvme_get_features = 10,
};

enum nvme_io_opcode {
    nvme_flush = 0,
    nvme_write = 1,
    nvme_read = 2,
    nvme_write_uncorrectable = 4,
    nvme_compare = 5,
    nvme_write_zeroes = 8,
    nvme_manage_dataset = 9,
    nvme_register_reservation = 13,
    nvme_report_reservation = 14,
    nvme_acquire_reservation = 17,
    nvme_release_reservation = 21
};

struct nvme_admin_cmd {
    uint8_t opcode;
    uint8_t flags;
    uint16_t cid;<commit_msg>remove reference to StringSearch<commit_after>#pragma once

#include <map>
#include <string>

#include "DmaBuffer.h"
#include "portal.h"
#include "dmaManager.h"
#include "NvmeDriverIndication.h"
#include "NvmeDriverRequest.h"
#include "NvmeIndication.h"
#include "NvmeRequest.h"
#include "NvmeTrace.h"
#include "MemServerPortalRequest.h"
#include "MemServerPortalIndication.h"
//#include "ConnectalProjectConfig.h"

const int DataBusWidth = 64;
const int DataBusBytes = DataBusWidth/8;

enum nvme_admin_opcode {
    nvme_create_submission_queue = 1,
    nvme_create_completion_queue = 5,
    nvme_identify     = 6,
    nvme_get_features = 10,
};

enum nvme_io_opcode {
    nvme_flush = 0,
    nvme_write = 1,
    nvme_read = 2,
    nvme_write_uncorrectable = 4,
    nvme_compare = 5,
    nvme_write_zeroes = 8,
    nvme_manage_dataset = 9,
    nvme_register_reservation = 13,
    nvme_report_reservation = 14,
    nvme_acquire_reservation = 17,
    nvme_release_reservation = 21
};

struct nvme_admin_cmd {
    uint8_t opcode;
    uint8_t flags;
    uint16_t cid;
{'fraction_non_alphanumeric': 0.09567617295308188, 'fraction_numerical': 0.02483900643974241, 'mean_word_length': 4.4375, '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': '7206100', 'n_tokens_mistral': 875, 'n_tokens_neox': 829, 'n_words': 162}