update() — netty Function Reference
Architecture documentation for the update() function in Bzip2DivSufSort.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3426b691_4b60_1cf9_75ca_2dec8e5ad8f7["update()"] 8637420e_db12_9383_370a_d323c33560d8["TRBudget"] 3426b691_4b60_1cf9_75ca_2dec8e5ad8f7 -->|defined in| 8637420e_db12_9383_370a_d323c33560d8 3a0e84e1_ef8e_7654_d7c8_b99b9f0abfe8["trIntroSort()"] 3a0e84e1_ef8e_7654_d7c8_b99b9f0abfe8 -->|calls| 3426b691_4b60_1cf9_75ca_2dec8e5ad8f7 style 3426b691_4b60_1cf9_75ca_2dec8e5ad8f7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java lines 1811–1820
boolean update(final int size, final int n) {
budget -= n;
if (budget <= 0) {
if (--chance == 0) {
return false;
}
budget += size;
}
return true;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does update() do?
update() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java.
Where is update() defined?
update() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java at line 1811.
What calls update()?
update() 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