MCPcopy Index your code
hub / github.com/apache/tomcat / find

Method find

java/org/apache/catalina/mapper/Mapper.java:1151–1153  ·  view source on GitHub ↗

Find a map element given its name in a sorted array of map elements. This will return the index for the closest inferior or equal item in the given array.

(MapElement<T>[] map, CharChunk name)

Source from the content-addressed store, hash-verified

1149 * inferior or equal item in the given array.
1150 */
1151 private static <T> int find(MapElement<T>[] map, CharChunk name) {
1152 return find(map, name, name.getStart(), name.getEnd());
1153 }
1154
1155
1156 /**

Callers 8

addHostMethod · 0.95
addHostAliasImplMethod · 0.95
addContextVersionMethod · 0.95
internalMapMethod · 0.95
exactFindMethod · 0.95
insertMapMethod · 0.95
removeMapMethod · 0.95

Calls 4

compareMethod · 0.95
compareToMethod · 0.65
getStartMethod · 0.45
getEndMethod · 0.45

Tested by

no test coverage detected