






'''simple docstring'''




def 			UpperCamelCase_							(      _UpperCAmelCase						:   Dict					)					->					int:


       """simple docstring"""







       _UpperCAmelCase  :						Optional[int]							   =					0
       for letter in data:
              _UpperCAmelCase  :						Dict							   =					(hash_ << 4) + ord(__lowerCamelCase					)
              _UpperCAmelCase  :						str							   =					hash_ & 0xF0_000_000
              if x != 0:
                     hash_ ^= x >> 24
              hash_ &= ~x
       return hash_


if __name__ == "__main__":
  import doctest

  doctest.testmod()


'''simple docstring'''




import pytest

from datasets.utils.version import Version

@pytest.mark.parametrize(
    "other, expected_equality"    ,			[
        (Version("1.0.0"					), True),
        ("1.0.0", True),
        (Version("2.0.0"					), False),
        ("2.0.0", False),
        ("1", False),
        ("a", False),
        (1, False),
        (None, False),
    ]    ,			)
def 			UpperCamelCase_							(      _UpperCAmelCase						:   Tuple    ,			_UpperCAmelCase						:   List[Any]					)					->					int:


       """simple docstring"""







       _UpperCAmelCase  :						Union[str, Any]							   =					Version("1.0.0"					)
       assert (version == other) is expected_equality
       assert (version != other) is not expected_equality
       assert (hash(_UpperCAmelCase					) == hash(_UpperCAmelCase					)) is expected_equality

