Mercurial > hg > Game > Cerium
view example/regex/WordCount.h @ 1198:2abd68a1ac2a draft
add example/regex
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 11 Jul 2011 23:50:10 +0900 |
parents | |
children | 7b866a392adc |
line wrap: on
line source
typedef struct wordCount { struct wordCount *self; int size; // remaining file size int division_size; // for each word count task int division_out_size; int out_size; int task_num; // remaining task count int task_blocks; // spawn task one at a time int status_num; int task_spwaned; unsigned long long *o_data; unsigned long long *head_tail_flag; int out_task_num; int pad; char * file_mmap; int file_size; HTaskPtr t_print; //regexのENVの成分 bool print_count; bool print_filename; int count; char *filename; }WordCount; //} WordCount, ENV; //typedef ENV *ENVP;