src/ccutil/unicharcompress.cpp
void UnicharCompress::ComputeCodeRange() {
  code_range_ = -1;
  for (auto &code : encoder_) {
    for (int i = 0; i < code.length(); ++i) {
      if (code(i) > code_range_) {
        code_range_ = code(i);
      }
    }
  }
  ++code_range_;
}
// Computes the value of code_range_ from the encoder_.
Computes the value of code_range_ from the encoder_.
Computes the value of code_range_ from the encoder_ .
void UnicharCompress::ComputeCodeRange() {
  code_range_ = -1;
  for (auto &code : encoder_) {
    for (int i = 0; i < code.length(); ++i) {
      if (code(i) > code_range_) {
        code_range_ = code(i);
      }
    }
  }
  ++code_range_;
}
void UnicharCompress :: ComputeCodeRange ( ) { code_range_ = -1 ; for ( auto & code : encoder_ ) { for ( int i = 0 ; i < code . length ( ) ; ++ i ) { if ( code ( i ) > code_range_ ) { code_range_ = code ( i ) ; } } } ++ code_range_ ; }
Computes the value of code_range_ from the encoder_.
Computes the value of code_range_ from the encoder_ .