tensorflow_decision_forests/keras/wrapper/wrapper.cc
// Gets the number of prefix spaces.
Gets the number of prefix spaces.
Gets the number of prefix spaces .
int NumLeadingSpaces(const absl::string_view text) {
  auto char_it = text.begin();
  while (char_it != text.end() && *char_it == ' ') {
    char_it++;
  }
  return std::distance(text.begin(), char_it);
}
int NumLeadingSpaces ( const absl :: string_view text ) { auto char_it = text . begin ( ) ; while ( char_it != text . end ( ) && * char_it == ' ' ) { char_it ++ ; } return std :: distance ( text . begin ( ) , char_it ) ; }
Gets the number of prefix spaces.
Gets the number of prefix spaces .