Compare commits
No commits in common. "f4815eb60c2b87b9c5402bc157af9d5b3ed958a6" and "398c2c94109b6969c9f75311a3b8af1ce988a341" have entirely different histories.
f4815eb60c
...
398c2c9410
|
@ -5,8 +5,7 @@
|
|||
int main(void)
|
||||
{
|
||||
UFILE *in = u_fopen("text-test-data/english.txt", "r", NULL, "UTF-8");
|
||||
UChar *charBuff = malloc(100000000 * sizeof(UChar));
|
||||
int32_t i = u_file_read(charBuff, 100000000, in);
|
||||
u_printf("%s\n", charBuff);
|
||||
u_printf("%i\n", i);
|
||||
// Using a 10 MB buffer for now. It fits all the corpus I want to test agaisnt.
|
||||
UChar *charBuff = malloc(10000000 * sizeof(UChar));
|
||||
int32_t i = u_file_read(charBuff, 10000000, in);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue