OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:trieMap
(Results
1 - 3
of
3
) 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
...]
Completed in 91 milliseconds