Mercurial > hg > Game > Cerium
view example/regex_mas/WordCount.h @ 1949:f3e9f811c387 draft
change some variables types int to long
author | Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 06 Feb 2014 16:30:41 +0900 |
parents | 6b03da068fbe |
children |
line wrap: on
line source
typedef struct wordCount { struct wordCount *self; /* read task variable */ long fd; long long read_filesize; CPU_TYPE read_cpu; long long size; // remaining file size long division_size; // for each word count task long division_out_size; long out_size; long out_size_; long task_num; // remaining task count long task_blocks; // spawn task one at a time long status_num; long task_spawned; unsigned long long *o_data; long out_task_num; char *file_mmap; long long file_size; /*set input Data variables*/ long last_task_size; unsigned char *search_word; int *BMskip_table; int search_word_len; int extra_len; HTaskPtr t_print; HTaskPtr t_exec; } WordCount, *WordCountPtr;