MCPcopy Create free account
hub / github.com/davisking/dlib / get_target

Method get_target

dlib/entropy_decoder/entropy_decoder_kernel_c.h:98–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected