updateComponentOffsets() — netty Function Reference
Architecture documentation for the updateComponentOffsets() function in CompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4eda92aa_c086_a58e_2291_b7e84f09b571["updateComponentOffsets()"] 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"] 4eda92aa_c086_a58e_2291_b7e84f09b571 -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6 59aa513a_9196_9707_e719_00f253da08eb["addComponent0()"] 59aa513a_9196_9707_e719_00f253da08eb -->|calls| 4eda92aa_c086_a58e_2291_b7e84f09b571 e9920c4e_d91d_be1d_34e0_9c0ddc060f5d["CompositeByteBuf()"] e9920c4e_d91d_be1d_34e0_9c0ddc060f5d -->|calls| 4eda92aa_c086_a58e_2291_b7e84f09b571 e3a7e7ac_07b6_598f_1d6b_b0f8a41bbafe["consolidate0()"] e3a7e7ac_07b6_598f_1d6b_b0f8a41bbafe -->|calls| 4eda92aa_c086_a58e_2291_b7e84f09b571 b9fb9df6_b0c5_dd85_0821_2d55314931d2["reposition()"] 4eda92aa_c086_a58e_2291_b7e84f09b571 -->|calls| b9fb9df6_b0c5_dd85_0821_2d55314931d2 style 4eda92aa_c086_a58e_2291_b7e84f09b571 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 594–606
private void updateComponentOffsets(int cIndex) {
int size = componentCount;
if (size <= cIndex) {
return;
}
int nextIndex = cIndex > 0 ? components[cIndex - 1].endOffset : 0;
for (; cIndex < size; cIndex++) {
Component c = components[cIndex];
c.reposition(nextIndex);
nextIndex = c.endOffset;
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does updateComponentOffsets() do?
updateComponentOffsets() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java.
Where is updateComponentOffsets() defined?
updateComponentOffsets() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 594.
What does updateComponentOffsets() call?
updateComponentOffsets() calls 1 function(s): reposition.
What calls updateComponentOffsets()?
updateComponentOffsets() is called by 3 function(s): CompositeByteBuf, addComponent0, consolidate0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free