| 96 | typename decoder |
| 97 | > |
| 98 | uint32 entropy_decoder_kernel_c<decoder>:: |
| 99 | get_target ( |
| 100 | uint32 total |
| 101 | ) |
| 102 | { |
| 103 | // make sure requires clause is not broken |
| 104 | DLIB_CASSERT( (total > 0) && (total < 65536) && (this->stream_is_set() == true), |
| 105 | "\tvoid entropy_decoder::get_target()" |
| 106 | << "\n\tyou must set a stream for this object before you can get the " |
| 107 | << "\n\rnext target." |
| 108 | << "\n\tthis: " << this |
| 109 | << "\n\ttotal: " << total |
| 110 | ); |
| 111 | |
| 112 | // call the real function |
| 113 | _get_target = decoder::get_target(total); |
| 114 | TOTAL = total; |
| 115 | return _get_target; |
| 116 | } |
| 117 | |
| 118 | // ---------------------------------------------------------------------------------------- |
| 119 |
nothing calls this directly
no outgoing calls
no test coverage detected