| 40 | typename eem_base |
| 41 | > |
| 42 | void entropy_encoder_model_kernel_c<eem_base>:: |
| 43 | encode ( |
| 44 | unsigned long symbol |
| 45 | ) |
| 46 | { |
| 47 | // make sure requires clause is not broken |
| 48 | DLIB_CASSERT(symbol < alphabet_size, |
| 49 | "\tvoid entropy_encoder_model::encode()" |
| 50 | << "\n\tthe symbol must be in the range 0 to alphabet_size-1" |
| 51 | << "\n\talphabet_size: " << alphabet_size |
| 52 | << "\n\tsymbol: " << symbol |
| 53 | << "\n\tthis: " << this |
| 54 | ); |
| 55 | |
| 56 | // call the real function |
| 57 | eem_base::encode(symbol); |
| 58 | } |
| 59 | |
| 60 | // ---------------------------------------------------------------------------------------- |
| 61 |
nothing calls this directly
no outgoing calls
no test coverage detected