MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / d_code

Method d_code

java/com/jcraft/jzlib/Tree.java:148–150  ·  view source on GitHub ↗
(int dist)

Source from the content-addressed store, hash-verified

146 // must not have side effects. _dist_code[256] and _dist_code[257] are never
147 // used.
148 static int d_code(int dist){
149 return ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>>7)]);
150 }
151
152 short[] dyn_tree; // the dynamic tree
153 int max_code; // largest code with non zero frequency

Callers 2

_tr_tallyMethod · 0.95
compress_blockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected