OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:trieMap
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
trie_map_test.cpp
32
TrieMap
trieMap
;
33
trieMap
.putRoot(10, 10);
34
EXPECT_EQ(10ull,
trieMap
.getRoot(10).mValue);
35
trieMap
.putRoot(0x10A, 10);
36
EXPECT_EQ(10ull,
trieMap
.getRoot(10).mValue);
37
EXPECT_EQ(10ull,
trieMap
.getRoot(0x10A).mValue);
38
trieMap
.putRoot(10, 1000);
39
EXPECT_EQ(1000ull,
trieMap
.getRoot(10).mValue);
40
trieMap
.putRoot(11, 1000)
[
all
...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java
21
import android.icu.dev.test.util.
TrieMap
.Style;
117
int limit =
TrieMap
.ByteConverter.getBytes(source, bytes, 0);
119
String recovered =
TrieMap
.ByteConverter.getChars(bytes, 0, limit);
127
checkGet(unicodeTestMap,
TrieMap
.Style.BYTES);
128
checkGet(unicodeTestMap,
TrieMap
.Style.CHARS);
131
private void checkGet(Map<String, Integer> testmap,
TrieMap
.Style style) {
135
TrieMap
<Integer>
trieMap
=
TrieMap
.Builder.with(style, Option.SMALL, testmap).build();
136
//logln(
trieMap
.toString())
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java
20
import com.ibm.icu.dev.test.util.
TrieMap
.Style;
113
int limit =
TrieMap
.ByteConverter.getBytes(source, bytes, 0);
115
String recovered =
TrieMap
.ByteConverter.getChars(bytes, 0, limit);
123
checkGet(unicodeTestMap,
TrieMap
.Style.BYTES);
124
checkGet(unicodeTestMap,
TrieMap
.Style.CHARS);
127
private void checkGet(Map<String, Integer> testmap,
TrieMap
.Style style) {
131
TrieMap
<Integer>
trieMap
=
TrieMap
.Builder.with(style, Option.SMALL, testmap).build();
132
//logln(
trieMap
.toString())
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
trie_map.h
37
class
TrieMap
{
66
IterationResult(const
TrieMap
*const
trieMap
, const int key, const uint64_t value,
68
: mTrieMap(
trieMap
), mKey(key), mValue(value),
92
const
TrieMap
*const mTrieMap;
98
TrieMapIterator(const
TrieMap
*const
trieMap
, const int bitmapEntryIndex)
99
: mTrieMap(
trieMap
), mStateStack(), mBaseBitmapEntryIndex(bitmapEntryIndex),
101
if (!
trieMap
|| mBaseBitmapEntryIndex == INVALID_INDEX) {
131
const
TrieMap
*const mTrieMap
[
all
...]
Completed in 167 milliseconds