trCopy() — netty Function Reference
Architecture documentation for the trCopy() function in Bzip2DivSufSort.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 518cdcfc_c453_fbf6_8931_1df7888ee839["trCopy()"] 5a60cb70_bf06_95bf_9c73_ed3a4dc24eba["Bzip2DivSufSort"] 518cdcfc_c453_fbf6_8931_1df7888ee839 -->|defined in| 5a60cb70_bf06_95bf_9c73_ed3a4dc24eba 3a0e84e1_ef8e_7654_d7c8_b99b9f0abfe8["trIntroSort()"] 3a0e84e1_ef8e_7654_d7c8_b99b9f0abfe8 -->|calls| 518cdcfc_c453_fbf6_8931_1df7888ee839 style 518cdcfc_c453_fbf6_8931_1df7888ee839 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java lines 1423–1450
private void trCopy(final int isa, final int isaN, final int first,
final int a, final int b, final int last, final int depth) {
final int[] SA = this.SA;
int c, d, e;
int s, v;
v = b - 1;
for (c = first, d = a - 1; c <= d; ++c) {
if ((s = SA[c] - depth) < 0) {
s += isaN - isa;
}
if (SA[isa + s] == v) {
SA[++d] = s;
SA[isa + s] = d;
}
}
for (c = last - 1, e = d + 1, d = b; e < d; --c) {
if ((s = SA[c] - depth) < 0) {
s += isaN - isa;
}
if (SA[isa + s] == v) {
SA[--d] = s;
SA[isa + s] = d;
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does trCopy() do?
trCopy() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java.
Where is trCopy() defined?
trCopy() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java at line 1423.
What calls trCopy()?
trCopy() is called by 1 function(s): trIntroSort.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free