Searched defs:__hash__ (Results 126 - 150 of 218) sorted by relevance

123456789

/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_complex.py123 __hash__ = None variable in class:ComplexTest.test_no_implicit_coerce.A
H A Dtest_py3kwarn.py260 "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
H A Dtest_weakset.py30 def __hash__(self): member in class:SomeClass
191 def __hash__(self): member in class:TestWeakSet.test_subclass_with_custom_hash.H
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Duuid.py185 def __hash__(self): member in class:UUID
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A DUserString.py27 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
H A D_abcoll.py36 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
H A Dmhlib.py806 def __hash__(self): member in class:IntSet
H A Duuid.py185 def __hash__(self): member in class:UUID
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
H A Dpytree.py65 __hash__ = None # For Py3 compatibility. variable in class:Base
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_complex.py123 __hash__ = None variable in class:ComplexTest.test_no_implicit_coerce.A
H A Dtest_py3kwarn.py260 "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
H A Dtest_weakset.py30 def __hash__(self): member in class:SomeClass
191 def __hash__(self): member in class:TestWeakSet.test_subclass_with_custom_hash.H
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A DUserString.py27 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
H A D_abcoll.py36 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
H A Dmhlib.py806 def __hash__(self): member in class:IntSet
H A Duuid.py185 def __hash__(self): member in class:UUID
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
H A Dpytree.py65 __hash__ = None # For Py3 compatibility. variable in class:Base
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
H A Dterules.py312 def __hash__(self): member in class:AVRuleWrapper
341 def __hash__(self): member in class:AVRuleXpermWrapper
380 def __hash__(self): member in class:TERuleWrapper
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_complex.py123 __hash__ = None variable in class:ComplexTest.test_no_implicit_coerce.A
H A Dtest_py3kwarn.py260 "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
H A Dtest_weakset.py30 def __hash__(self): member in class:SomeClass
191 def __hash__(self): member in class:TestWeakSet.test_subclass_with_custom_hash.H
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_copy.py439 __hash__ = None # Silence Py3k warning variable in class:TestCopy.test_reconstruct_state.C
456 __hash__ = None # Silence Py3k warning variable in class:TestCopy.test_reconstruct_state_setstate.C
483 __hash__ = None # Silence Py3k warning variable in class:TestCopy.test_reduce_4tuple.C
501 __hash__ = None # Silence Py3k warning variable in class:TestCopy.test_reduce_5tuple.C
H A Dtest_dict.py102 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
H A Dtest_operator.py60 __hash__ = None # Silence Py3k warning variable in class:OperatorTestCase.test_eq.C
/prebuilts/gdb/darwin-x86/lib/python2.7/unittest/
H A Dcase.py278 def __hash__(self): member in class:TestCase
1060 def __hash__(self): member in class:FunctionTestCase

Completed in 5831 milliseconds

123456789