Julius 4.1.5
関数
libsent/src/util/qsort.c

クイックソート(再入可能) [詳細]

ソースコードを見る。

関数

static void internal_quick_sort (char *left, char *right, int size, int(*compare)(const void *, const void *, void *), void *pointer)
 Internal quick sort function.
void qsort_reentrant (void *base, int count, int size, int(*compare)(const void *, const void *, void *), void *pointer)
 Quick sort that will pass data poitner to comparison function for re-entrant usage.

説明

クイックソート(再入可能)

作者:
Akinobu Lee
日付:
Wed Feb 13 14:34:45 2008
Revision:
1.1

qsort.c で定義されています。


関数

static void internal_quick_sort ( char *  left,
char *  right,
int  size,
int(*)(const void *, const void *, void *)  compare,
void *  pointer 
) [static]

Internal quick sort function.

引数:
left[in] left bound element
right[in] right bound element
size[in] size of an element
compare[in] comparison function
pointer[in] data pointer which will be passed to comparison function

qsort.c30 行で定義されています。

参照元 qsort_reentrant().

void qsort_reentrant ( void *  base,
int  count,
int  size,
int(*)(const void *, const void *, void *)  compare,
void *  pointer 
)

Quick sort that will pass data poitner to comparison function for re-entrant usage.

引数:
base[i/o] pointer to the data array
count[in] number of elements in the array
size[in] size of an element in bytes
compare[in] comparison function
pointer[in] data which will be passed to comparison function

qsort.c77 行で定義されています。

参照元 confnet_create(), wchmm_sort_idx_by_category(), と wchmm_sort_idx_by_wseq().