OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kCodeBookSize
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/PinyinIME/jni/share/
ngram.cpp
66
idx = qsearch_nearest(code_book, freqs[pos], 0,
kCodeBookSize
- 1);
78
size_t *item_num = new size_t[
kCodeBookSize
];
80
memset(item_num, 0, sizeof(size_t) *
kCodeBookSize
);
82
double *cb_new = new double[
kCodeBookSize
];
84
memset(cb_new, 0, sizeof(double) *
kCodeBookSize
);
93
for (size_t code = 0; code <
kCodeBookSize
; code++) {
170
if (fwrite(freq_codes_, sizeof(LmaScoreType),
kCodeBookSize
, fp) !=
171
kCodeBookSize
)
198
(malloc(
kCodeBookSize
* sizeof(LmaScoreType)));
203
if (fread(freq_codes_, sizeof(LmaScoreType),
kCodeBookSize
, fp) !
[
all
...]
/packages/inputmethods/PinyinIME/jni/include/
ngram.h
28
static const size_t
kCodeBookSize
= 256;
Completed in 5870 milliseconds