U_CFUNC int
genres32(constchar *prog, constchar *path) { /* * key string, gets incremented binary numbers * letter 'o'=0 and digit '1'=1 so that data swapping can be tested * with reordering (ASCII: '1'<'o' EBCDIC: '1'>'o') * * need 17 digits for >64k unique items
*/ char key[20]="ooooooooooooooooo"; char *limit; int i; char file[512];
FILE *out;
/* find the limit of the key string */ for(limit=key; *limit!=0; ++limit) {
}
/* output the beginning of the bundle */
fputs( "testtable32 {", out
);
/* output the table entries */ for(i=0; i<66000; ++i) { if(i%10==0) { /* * every 10th entry contains a string with * the entry index as its code point
*/
fprintf(out, "%s{\"\\U%08x\"}\n", key, i);
} else { /* other entries contain their index as an integer */
fprintf(out, "%s:int{%d}\n", key, i);
}
incKey(key, limit);
}
/* output the end of the bundle */
fputs( "}", out
);
fclose(out); return 0;
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.