<commit_before>/*
 * =====================================================================================
 *
 *       Filename:  t_fev.c
 *
 *    Description:  test fev
 *
 *        Version:  1.0
 *        Created:  11/26/2011 12:29:56
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  finaldie
 *        Company:  
 *
 * =====================================================================================
 */
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

#include "tu_inc.h"
#include "inc.h"
#include "fev.h"
#include "net_core.h"
#include "fev_buff.h"
#include "fev_listener.h"
#include "fev_conn.h"

typedef struct {
    fev_state* fev;
    int fd;
}test_arg;

typedef struct fake_fev_event {
    int         mask;   //READ OR WRITE
    pfev_read   pread;
    pfev_write  pwrite;
    void*       arg;
}fake_fev_event;

typedef struct fake_fev_state{
    void*           state;<commit_msg>fix fev.c<commit_after>/*
 * =====================================================================================
 *
 *       Filename:  t_fev.c
 *
 *    Description:  test fev
 *
 *        Version:  1.0
 *        Created:  11/26/2011 12:29:56
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  finaldie
 *        Company:  
 *
 * =====================================================================================
 */
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

#include "tu_inc.h"
#include "inc.h"
#include "fev.h"
#include "net_core.h"
#include "fev_buff.h"
#include "fev_listener.h"
#include "fev_conn.h"
#include "fev_timer.h"

typedef struct {
    fev_state* fev;
    int fd;
}test_arg;

typedef struct fake_fev_event {
    int         mask;   //READ OR WRITE
    pfev_read   pread;
    pfev_write  pwrite;
    void*       arg;
}fake_fev_event;

typedef struct fake_fev_state{
    void*           state;
{'fraction_non_alphanumeric': 0.2835666148263349, 'fraction_numerical': 0.01658890616899948, 'mean_word_length': 2.9227642276422765, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6906733', 'n_tokens_mistral': 712, 'n_tokens_neox': 650, 'n_words': 136}