Home
last modified time | relevance | path

Searched refs:MutableLong (Results 1 – 6 of 6) sorted by relevance

/external/kotlinx.coroutines/benchmarks/src/jmh/java/benchmarks/flow/scrabble/
DRxJava2PlaysScrabbleOpt.java42 Function<Entry<Integer, MutableLong>, Integer> letterScore = in play()
55 Map<String, Single<HashMap<Integer, MutableLong>>> histoCache = new HashMap<>(); in play()
57 Function<String, Single<HashMap<Integer, MutableLong>>> histoOfLetters = in play()
58 word -> { Single<HashMap<Integer, MutableLong>> s = histoCache.get(word); in play()
63 (HashMap<Integer, MutableLong> map, Integer value) -> in play()
65 MutableLong newValue = map.get(value) ; in play()
67 newValue = new MutableLong(); in play()
80 Function<Entry<Integer, MutableLong>, Long> blank = in play()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/
DShakespearePlaysScrabble.kt17 public class MutableLong { in play() class in benchmarks.flow.scrabble.ShakespearePlaysScrabble
23 fun incAndSet(): MutableLong { in play()
28 fun add(other: MutableLong): MutableLong { in play()
DSaneFlowPlaysScrabble.kt66 …private fun Map.Entry<Int, MutableLong>.letterScore(): Int = letterScores[key - 'a'.toInt()] * Int… in <lambda>()
80 private fun blanks(entry: Map.Entry<Int, MutableLong>): Long = in <lambda>()
83 private suspend inline fun buildHistogram(word: String): HashMap<Int, MutableLong> { in <lambda>()
85 var newValue: MutableLong? = accumulator[value] in <lambda>()
87 newValue = MutableLong() in <lambda>()
DSequencePlaysScrabble.kt66 …private fun Map.Entry<Int, MutableLong>.letterScore(): Int = letterScores[key - 'a'.toInt()] * Int… in <lambda>()
80 private fun blanks(entry: Map.Entry<Int, MutableLong>): Long = in <lambda>()
83 private fun buildHistogram(word: String): HashMap<Int, MutableLong> { in <lambda>()
85 var newValue: MutableLong? = accumulator[value] in <lambda>()
87 newValue = MutableLong() in <lambda>()
DFlowPlaysScrabbleOpt.kt27 emit(word.asFlow().fold(HashMap<Int, MutableLong>()) { accumulator, value -> in <lambda>()
28 var newValue: MutableLong? = accumulator[value] in <lambda>()
30 newValue = MutableLong() in <lambda>()
39 val blank = { entry: Map.Entry<Int, MutableLong> -> in <lambda>()
57 val letterScore = { entry: Map.Entry<Int, MutableLong> -> in <lambda>()
/external/cldr/tools/java/org/unicode/cldr/util/
DRational.java409 public static class MutableLong { class in Rational