licenses.list.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ====================Apache-2.0====================
  2. * Licensed under the Apache License, Version 2.0 (the "License");
  3. * you may not use this file except in compliance with the License.
  4. * You may obtain a copy of the License at
  5. *
  6. * https://www.apache.org/licenses/LICENSE-2.0
  7. *
  8. * Unless required by applicable law or agreed to in writing, software
  9. * distributed under the License is distributed on an "AS IS" BASIS,
  10. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. * See the License for the specific language governing permissions and
  12. * limitations under the License.
  13. ====================Apache-2.0====================
  14. // Licensed under the Apache License, Version 2.0 (the "License");
  15. // you may not use this file except in compliance with the License.
  16. // You may obtain a copy of the License at
  17. //
  18. // https://www.apache.org/licenses/LICENSE-2.0
  19. //
  20. // Unless required by applicable law or agreed to in writing, software
  21. // distributed under the License is distributed on an "AS IS" BASIS,
  22. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. // See the License for the specific language governing permissions and
  24. // limitations under the License.
  25. ====================Apache-2.0====================
  26. // Licensed under the Apache License, Version 2.0 (the "License");
  27. // you may not use this file except in compliance with the License.
  28. // You may obtain a copy of the License at
  29. //
  30. // https://www.apache.org/licenses/LICENSE-2.0
  31. //
  32. // Unless required by applicable law or agreed to in writing, software
  33. // distributed under the License is distributed on an "AS IS" BASIS,
  34. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  35. // See the License for the specific language governing permissions and
  36. // limitations under the License.
  37. ====================COPYRIGHT====================
  38. // Copyright 2017 The Abseil Authors.
  39. ====================COPYRIGHT====================
  40. // Copyright 2018 The Abseil Authors.
  41. ====================COPYRIGHT====================
  42. // Copyright 2020 The Abseil Authors.
  43. ====================COPYRIGHT====================
  44. // Copyright 2021 The Abseil Authors.
  45. ====================COPYRIGHT====================
  46. bool IsAlpha(char c) { return IsLower(c) || IsUpper(c); }
  47. bool IsIdentifierChar(char c) { return IsAlpha(c) || IsDigit(c) || c == '_'; }
  48. bool IsLowerHexDigit(char c) { return IsDigit(c) || ('a' <= c && c <= 'f'); }