/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_hash.py | 53 _default_hash = object.__hash__ 58 def __hash__(self): member in class:FixedHash 65 __hash__ = None variable in class:OnlyEquality 66 del OnlyEquality.__hash__ 76 __hash__ = None variable in class:OnlyCmp 77 del OnlyCmp.__hash__ 84 __hash__ = None variable in class:NoHash 141 _default_hash = object.__hash__
|
test_py3kwarn.py | 260 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 267 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 270 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.NoWarningOnlyHash 276 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree 285 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 292 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 295 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.NoWarningOnlyHash
|
test_dict.py | 102 def __hash__(self): member in class:DictTest.test_getitem.BadEq 113 def __hash__(self): member in class:DictTest.test_getitem.BadHash 299 def __hash__(self): member in class:DictTest.test_setdefault.BadHash 311 # Issue #13521: setdefault() calls __hash__ and __eq__ only once. 316 def __hash__(self): member in class:DictTest.test_setdefault_atomic.Hashed 386 def __hash__(self): member in class:DictTest.test_pop.BadHash 432 def __hash__(self): member in class:DictTest.test_le.BadCmp 497 def __hash__(self): member in class:DictTest.test_bad_key.BadDictKey 541 def __hash__(self): member in class:DictTest.test_resize2.X
|
test_mutants.py | 93 def __hash__(self): member in class:Horrid 215 def __hash__(self): member in class:Machiavelli 240 def __hash__(self): member in class:Machiavelli2 275 def __hash__(self): member in class:Machiavelli3
|
test_slice.py | 21 self.assertRaises(TypeError, slice(5).__hash__) 36 __hash__ = None # Silence Py3k warning variable in class:SliceTest.test_cmp.BadCmp
|
test_class.py | 84 def __hash__(self, *args): member in class:AllTests 400 self.assertCallStack([('__hash__', (testme,))]) 535 # no __hash__ 608 def __hash__(self): member in class:ClassTests.testHashComparisonOfMethods.A
|
mapping_tests.py | 570 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadEq 579 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadHash 607 def __hash__(self): member in class:TestHashMappingProtocol.test_pop.BadHash 657 def __hash__(self): member in class:TestHashMappingProtocol.test_le.BadCmp 676 def __hash__(self): member in class:TestHashMappingProtocol.test_setdefault.BadHash
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_hash.py | 53 _default_hash = object.__hash__ 58 def __hash__(self): member in class:FixedHash 65 __hash__ = None variable in class:OnlyEquality 66 del OnlyEquality.__hash__ 76 __hash__ = None variable in class:OnlyCmp 77 del OnlyCmp.__hash__ 84 __hash__ = None variable in class:NoHash 141 _default_hash = object.__hash__
|
test_py3kwarn.py | 260 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 267 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 270 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.NoWarningOnlyHash 276 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree 285 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 292 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 295 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.NoWarningOnlyHash
|
test_dict.py | 102 def __hash__(self): member in class:DictTest.test_getitem.BadEq 113 def __hash__(self): member in class:DictTest.test_getitem.BadHash 299 def __hash__(self): member in class:DictTest.test_setdefault.BadHash 311 # Issue #13521: setdefault() calls __hash__ and __eq__ only once. 316 def __hash__(self): member in class:DictTest.test_setdefault_atomic.Hashed 386 def __hash__(self): member in class:DictTest.test_pop.BadHash 432 def __hash__(self): member in class:DictTest.test_le.BadCmp 497 def __hash__(self): member in class:DictTest.test_bad_key.BadDictKey 541 def __hash__(self): member in class:DictTest.test_resize2.X
|
test_mutants.py | 93 def __hash__(self): member in class:Horrid 215 def __hash__(self): member in class:Machiavelli 240 def __hash__(self): member in class:Machiavelli2 275 def __hash__(self): member in class:Machiavelli3
|
test_slice.py | 21 self.assertRaises(TypeError, slice(5).__hash__) 36 __hash__ = None # Silence Py3k warning variable in class:SliceTest.test_cmp.BadCmp
|
test_class.py | 84 def __hash__(self, *args): member in class:AllTests 400 self.assertCallStack([('__hash__', (testme,))]) 535 # no __hash__ 608 def __hash__(self): member in class:ClassTests.testHashComparisonOfMethods.A
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_simplesubclasses.py | 9 def __hash__(self): # Silence Py3k warning member in class:MyInt
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_simplesubclasses.py | 9 def __hash__(self): # Silence Py3k warning member in class:MyInt
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_abcoll.py | 36 def __hash__(self): member in class:Hashable 44 if "__hash__" in B.__dict__: 45 if B.__dict__["__hash__"]: 50 if getattr(C, "__hash__", None): 226 __hash__ = None variable in class:Set 231 Note that we don't define __hash__: not all sets are hashable. 232 But if you define a hashable set type, its __hash__ should 240 freedom for __eq__ or __hash__. We match the algorithm used 402 __hash__ = None variable in class:Mapping
|
UserString.py | 27 def __hash__(self): return hash(self.data) member in class:UserString 144 __hash__ method inherited from UserString. This would lead to 154 # We inherit object.__hash__, so we must deny this explicitly 155 __hash__ = None variable in class:MutableString
|
functools.py | 98 def __hash__(self): member in class:cmp_to_key.K
|
sets.py | 319 # We inherit object.__hash__, so we must deny this explicitly 320 __hash__ = None variable in class:BaseSet 334 # not called __hash__ because a BaseSet should not be hashable; 392 def __hash__(self): member in class:ImmutableSet 556 def __hash__(self): member in class:_TemporarilyImmutableSet
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_abcoll.py | 36 def __hash__(self): member in class:Hashable 44 if "__hash__" in B.__dict__: 45 if B.__dict__["__hash__"]: 50 if getattr(C, "__hash__", None): 226 __hash__ = None variable in class:Set 231 Note that we don't define __hash__: not all sets are hashable. 232 But if you define a hashable set type, its __hash__ should 240 freedom for __eq__ or __hash__. We match the algorithm used 402 __hash__ = None variable in class:Mapping
|
UserString.py | 27 def __hash__(self): return hash(self.data) member in class:UserString 144 __hash__ method inherited from UserString. This would lead to 154 # We inherit object.__hash__, so we must deny this explicitly 155 __hash__ = None variable in class:MutableString
|
functools.py | 98 def __hash__(self): member in class:cmp_to_key.K
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_configuration.py | 56 def __hash__(self): member in class:TestConfiguration 60 return self.__hash__() == other.__hash__()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
support.py | 7 # Check for a valid __hash__ implementation
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
support.py | 7 # Check for a valid __hash__ implementation
|