parent
dbd140504d
commit
951ab9d7eb
|
@ -58,7 +58,7 @@ static inline unsigned int getCodesBufferSize(const int *codes, const int codesS
|
||||||
return sizeof(*codes) * MAX_PROXIMITY_CHARS * codesSize;
|
return sizeof(*codes) * MAX_PROXIMITY_CHARS * codesSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: This needs to take an const unsigned short* and not tinker with its contents
|
// TODO: This needs to take a const unsigned short* and not tinker with its contents
|
||||||
static inline void addWord(
|
static inline void addWord(
|
||||||
unsigned short *word, int length, int frequency, WordsPriorityQueue *queue) {
|
unsigned short *word, int length, int frequency, WordsPriorityQueue *queue) {
|
||||||
queue->push(frequency, word, length);
|
queue->push(frequency, word, length);
|
||||||
|
|
|
@ -19,7 +19,7 @@ package com.android.inputmethod.latin;
|
||||||
/**
|
/**
|
||||||
* A not-yet-resolved attribute.
|
* A not-yet-resolved attribute.
|
||||||
*
|
*
|
||||||
* An attribute is either a bigram or an shortcut.
|
* An attribute is either a bigram or a shortcut.
|
||||||
* All instances of this class are always immutable.
|
* All instances of this class are always immutable.
|
||||||
*/
|
*/
|
||||||
public class PendingAttribute {
|
public class PendingAttribute {
|
||||||
|
|
Loading…
Reference in New Issue