HomeSort by relevance Sort by last modified time
    Searched defs:__hash__ (Results 251 - 275 of 438) sorted by null

<<1112131415161718

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
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
seq_tests.py 217 __hash__ = None # Can't meet hash invariant requirements variable in class:CommonTest.test_contains_fake.AllEq
test_binop.py 211 __hash__ = None variable in class:Rat
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
test_coercion.py 313 __hash__ = None # Invalid cmp makes this unhashable variable in class:CoercionTest.test_cmptypes.WackyComparer
test_fractions.py 53 __hash__ = None variable in class:DummyFloat
89 __hash__ = None variable in class:DummyRational
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_richcmp.py 51 __hash__ = None # Vectors cannot be hashed variable in class:Vector
262 # __hash__). Complex numbers are a fine example of that.
test_sort.py 73 __hash__ = None # Silence Py3k warning variable in class:TestBase.testStressfully.Stable
test_weakset.py 30 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/
uuid.py 185 def __hash__(self): member in class:UUID
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
_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):
245 __hash__ = None variable in class:Set
250 Note that we don't define __hash__: not all sets are hashable.
251 But if you define a hashable set type, its __hash__ should
259 freedom for __eq__ or __hash__. We match the algorithm used
421 __hash__ = None variable in class:Mapping
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
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
_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):
224 __hash__ = None variable in class:Set
229 Note that we don't define __hash__: not all sets are hashable.
230 But if you define a hashable set type, its __hash__ should
238 freedom for __eq__ or __hash__. We match the algorithm used
375 __hash__ = None variable in class:Mapping
mhlib.py 806 def __hash__(self): member in class:IntSet
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_complex.py 123 __hash__ = None variable in class:ComplexTest.test_no_implicit_coerce.A
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
291 def __hash__(self): member in class:DictTest.test_setdefault.BadHash
358 def __hash__(self): member in class:DictTest.test_pop.BadHash
404 def __hash__(self): member in class:DictTest.test_le.BadCmp
469 def __hash__(self): member in class:DictTest.test_bad_key.BadDictKey
513 def __hash__(self): member in class:DictTest.test_resize2.X
test_operator.py 60 __hash__ = None # Silence Py3k warning variable in class:OperatorTestCase.test_eq.C
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
build.py 328 # __str__(), __eq__() and __hash__() methods. Otherwise there could be build units
383 def __hash__(self): member in class:BuildUnit
392 # must provide __str__(), __eq__() and __hash__() methods. Otherwise there could
413 # must provide __str__(), __eq__() and __hash__() methods. Otherwise there could
    [all...]
  /external/fonttools/Lib/fontTools/ttLib/tables/
otBase.py 306 def __hash__(self): member in class:OTTableWriter
  /external/nanopb-c/generator/google/protobuf/internal/
python_message.py 1113 def __hash__(self): member in class:_ExtensionDict
    [all...]
  /external/python/cpython2/Lib/
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
_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):
245 __hash__ = None variable in class:Set
250 Note that we don't define __hash__: not all sets are hashable.
251 But if you define a hashable set type, its __hash__ should
259 freedom for __eq__ or __hash__. We match the algorithm used
421 __hash__ = None variable in class:Mapping
mhlib.py 806 def __hash__(self): member in class:IntSet
    [all...]

Completed in 466 milliseconds

<<1112131415161718