Lines Matching refs:hash
17 assert(__gnu_cxx::hash<const char *>()("test") == in main()
18 std::hash<std::string>()("test")); in main()
19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); in main()
20 assert(__gnu_cxx::hash<char>()(42) == 42); in main()
21 assert(__gnu_cxx::hash<signed char>()(42) == 42); in main()
22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); in main()
23 assert(__gnu_cxx::hash<short>()(42) == 42); in main()
24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); in main()
25 assert(__gnu_cxx::hash<int>()(42) == 42); in main()
26 assert(__gnu_cxx::hash<unsigned int>()(42) == 42); in main()
27 assert(__gnu_cxx::hash<long>()(42) == 42); in main()
28 assert(__gnu_cxx::hash<unsigned long>()(42) == 42); in main()