cout.flush();
fflush(NULL);
static void TestSortPrint2(collation_rec *key_array, int len){  PRUint32 aLength;  PRUint8 *aKey;  cout.flush();  for (int i = 0; i < len; i++) {    aLength = key_array[i].aLength;    aKey = key_array[i].aKey;    for (int j = 0; j < (int)aLength; j++) {      printf("%.2x ", aKey[j]);    }    printf("\n");  }  printf("\n");}