ssMedian5() — netty Function Reference
Architecture documentation for the ssMedian5() function in Bzip2DivSufSort.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 69e78768_93e6_1f0a_fada_a1683eeef211["ssMedian5()"] 5a60cb70_bf06_95bf_9c73_ed3a4dc24eba["Bzip2DivSufSort"] 69e78768_93e6_1f0a_fada_a1683eeef211 -->|defined in| 5a60cb70_bf06_95bf_9c73_ed3a4dc24eba d160bbb0_c87d_6d18_8679_b2d63009caeb["ssPivot()"] d160bbb0_c87d_6d18_8679_b2d63009caeb -->|calls| 69e78768_93e6_1f0a_fada_a1683eeef211 style 69e78768_93e6_1f0a_fada_a1683eeef211 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java lines 220–280
private int ssMedian5(final int td, final int pa, int v1, int v2, int v3, int v4, int v5) {
final int[] SA = this.SA;
final byte[] T = this.T;
int T_v1 = T[td + SA[pa + SA[v1]]] & 0xff;
int T_v2 = T[td + SA[pa + SA[v2]]] & 0xff;
int T_v3 = T[td + SA[pa + SA[v3]]] & 0xff;
int T_v4 = T[td + SA[pa + SA[v4]]] & 0xff;
int T_v5 = T[td + SA[pa + SA[v5]]] & 0xff;
int temp;
int T_vtemp;
if (T_v2 > T_v3) {
temp = v2;
v2 = v3;
v3 = temp;
T_vtemp = T_v2;
T_v2 = T_v3;
T_v3 = T_vtemp;
}
if (T_v4 > T_v5) {
temp = v4;
v4 = v5;
v5 = temp;
T_vtemp = T_v4;
T_v4 = T_v5;
T_v5 = T_vtemp;
}
if (T_v2 > T_v4) {
temp = v2;
v4 = temp;
T_vtemp = T_v2;
T_v4 = T_vtemp;
temp = v3;
v3 = v5;
v5 = temp;
T_vtemp = T_v3;
T_v3 = T_v5;
T_v5 = T_vtemp;
}
if (T_v1 > T_v3) {
temp = v1;
v1 = v3;
v3 = temp;
T_vtemp = T_v1;
T_v1 = T_v3;
T_v3 = T_vtemp;
}
if (T_v1 > T_v4) {
temp = v1;
v4 = temp;
T_vtemp = T_v1;
T_v4 = T_vtemp;
v3 = v5;
T_v3 = T_v5;
}
if (T_v3 > T_v4) {
return v4;
}
return v3;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does ssMedian5() do?
ssMedian5() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java.
Where is ssMedian5() defined?
ssMedian5() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java at line 220.
What calls ssMedian5()?
ssMedian5() is called by 1 function(s): ssPivot.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free