Searched refs:firstMatch (Results 1 – 10 of 10) sorted by relevance
121 CharSequence firstMatch = null; in next() local131 firstMatch = filterToStartsWith(probe); in next()135 if (firstMatch != null && firstMatch.length() == probe.length()) { in next()136 possibleMatchesAfter.remove(firstMatch); in next()138 matchValue = data.get(firstMatch); in next()163 if (firstMatch == null) { // just in case we skipped the above loop in next()164 firstMatch = possibleMatchesBefore.iterator().next(); in next()166 matchValue = data.get(firstMatch); in next()
71 int firstMatch = uniformTemplate.find("${var}"); in determine_inline_from_template() local73 if (firstMatch < 0) { in determine_inline_from_template()79 int secondMatch = uniformTemplate.find("${var}", firstMatch + strlen("${var}")); in determine_inline_from_template()
1190 …LZ4HC_match_t const firstMatch = LZ4HC_FindLongerMatch(ctx, ip, matchlimit, MINMATCH-1, nbSearches… in LZ4HC_compress_optimal() local1191 if (firstMatch.len==0) { ip++; continue; } in LZ4HC_compress_optimal()1193 if ((size_t)firstMatch.len > sufficient_len) { in LZ4HC_compress_optimal()1195 int const firstML = firstMatch.len; in LZ4HC_compress_optimal()1196 const BYTE* const matchPos = ip - firstMatch.off; in LZ4HC_compress_optimal()1216 int const matchML = firstMatch.len; /* necessarily < sufficient_len < LZ4_OPT_NUM */ in LZ4HC_compress_optimal()1217 int const offset = firstMatch.off; in LZ4HC_compress_optimal()1228 last_match_pos = firstMatch.len; in LZ4HC_compress_optimal()
399 assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool"); in testFirstMatch()400 assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants"); in testFirstMatch()401 assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent(); in testFirstMatch()402 assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); in testFirstMatch()
403 assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool"); in testFirstMatch()404 assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants"); in testFirstMatch()405 assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent(); in testFirstMatch()406 assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); in testFirstMatch()
433 int firstMatch = getNextIndexed(identity, _firstch(identity), in first() local436 return makeNodeHandle(firstMatch); in first()
465 public final Optional<E> firstMatch(Predicate<? super E> predicate) {
468 public final Optional<E> firstMatch(Predicate<? super E> predicate) {
1557 int firstMatch = 0; in writeClassLists() local1562 if (firstMatch != i - 1) { in writeClassLists()1564 for (int j = firstMatch; j < i; j++) { in writeClassLists()1571 firstMatch = i; in writeClassLists()