MCPcopy Index your code
hub / github.com/apache/freemarker / substring

Method substring

src/main/java/freemarker/core/TextBlock.java:392–396  ·  view source on GitHub ↗
(char[] c, int from, int to)

Source from the content-addressed store, hash-verified

390 }
391
392 private static char[] substring(char[] c, int from, int to) {
393 char[] c2 = new char[to - from];
394 System.arraycopy(c, from, c2, 0, c2.length);
395 return c2;
396 }
397
398 private static char[] substring(char[] c, int from) {
399 return substring(c, from, c.length);

Callers 15

postParseCleanupMethod · 0.95
deliberateLeftTrimMethod · 0.95
deliberateRightTrimMethod · 0.95
getResourceMethod · 0.80
getResourceAsStreamMethod · 0.80
getFullTemplatePathMethod · 0.80
findTemplateSourceMethod · 0.80
acquireTemplateSourceMethod · 0.80
normalizeNameMethod · 0.80
getNamespaceMethod · 0.80
IncludeMethod · 0.80
add_escapesMethod · 0.80

Calls

no outgoing calls

Tested by 2

getResourceMethod · 0.64
getResourceAsStreamMethod · 0.64