Home
last modified time | relevance | path

Searched refs:hashable (Results 1 – 25 of 90) sorted by relevance

1234

/external/python/pybind11/tests/
Dtest_operator_overloading.py140 for hashable in (m.Hashable, m.Hashable2):
141 assert hashable(15) is not hashable(15)
142 assert hashable(15) == hashable(15)
144 assert hash(hashable(15)) == 15
145 assert hash(hashable(15)) == hash(hashable(15))
/external/abseil-cpp/absl/types/internal/
Dconformance_profile.h101 enum class hashable { maybe, yes };
103 constexpr const char* PropertyName(hashable v) {
126 hashable HashableValue = hashable::maybe>
174 static constexpr hashable hashable_support = HashableValue; // NOLINT
216 HashableValue != hashable::maybe;
232 swappable SwappableValue, hashable HashableValue> \
259 ABSL_INTERNAL_CONFORMANCE_TESTING_DATA_MEMBER_DEF(hashable);
331 static constexpr hashable hashable_support = // NOLINT
Dconformance_testing_test.cc682 case ti::hashable::maybe: in TYPED_TEST_P()
687 case ti::hashable::yes: in TYPED_TEST_P()
962 ti::hashable::yes>>>;
1174 ti::swappable::nothrow, ti::hashable::yes>>>;
/external/webrtc/third_party/abseil-cpp/absl/types/internal/
Dconformance_profile.h101 enum class hashable { maybe, yes };
103 constexpr const char* PropertyName(hashable v) {
126 hashable HashableValue = hashable::maybe>
174 static constexpr hashable hashable_support = HashableValue; // NOLINT
216 HashableValue != hashable::maybe;
232 swappable SwappableValue, hashable HashableValue> \
259 ABSL_INTERNAL_CONFORMANCE_TESTING_DATA_MEMBER_DEF(hashable);
331 static constexpr hashable hashable_support = // NOLINT
Dconformance_testing_test.cc682 case ti::hashable::maybe: in TYPED_TEST_P()
687 case ti::hashable::yes: in TYPED_TEST_P()
962 ti::hashable::yes>>>;
1174 ti::swappable::nothrow, ti::hashable::yes>>>;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/internal/
Dconformance_profile.h360 enum class hashable { maybe, yes };
362 constexpr const char* PropertyName(hashable v) {
530 constexpr hashable hashable_support_of() {
531 return type_traits_internal::IsHashable<T>::value ? hashable::yes
532 : hashable::maybe;
563 hashable HashableValue = hashable::maybe>
611 static constexpr hashable hashable_support = HashableValue; // NOLINT
653 HashableValue != hashable::maybe;
668 static constexpr hashable Invoke() { return hashable::maybe; }
673 static constexpr hashable Invoke() { return hashable_support_of<T>(); }
[all …]
/external/angle/third_party/abseil-cpp/absl/types/internal/
Dconformance_profile.h360 enum class hashable { maybe, yes };
362 constexpr const char* PropertyName(hashable v) {
530 constexpr hashable hashable_support_of() {
531 return type_traits_internal::IsHashable<T>::value ? hashable::yes
532 : hashable::maybe;
563 hashable HashableValue = hashable::maybe>
611 static constexpr hashable hashable_support = HashableValue; // NOLINT
653 HashableValue != hashable::maybe;
668 static constexpr hashable Invoke() { return hashable::maybe; }
673 static constexpr hashable Invoke() { return hashable_support_of<T>(); }
[all …]
/external/openscreen/third_party/abseil/src/absl/types/internal/
Dconformance_profile.h360 enum class hashable { maybe, yes };
362 constexpr const char* PropertyName(hashable v) {
530 constexpr hashable hashable_support_of() {
531 return type_traits_internal::IsHashable<T>::value ? hashable::yes
532 : hashable::maybe;
563 hashable HashableValue = hashable::maybe>
611 static constexpr hashable hashable_support = HashableValue; // NOLINT
653 HashableValue != hashable::maybe;
668 static constexpr hashable Invoke() { return hashable::maybe; }
673 static constexpr hashable Invoke() { return hashable_support_of<T>(); }
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/internal/
Dconformance_profile.h360 enum class hashable { maybe, yes };
362 constexpr const char* PropertyName(hashable v) {
530 constexpr hashable hashable_support_of() {
531 return type_traits_internal::IsHashable<T>::value ? hashable::yes
532 : hashable::maybe;
563 hashable HashableValue = hashable::maybe>
611 static constexpr hashable hashable_support = HashableValue; // NOLINT
653 HashableValue != hashable::maybe;
668 static constexpr hashable Invoke() { return hashable::maybe; }
673 static constexpr hashable Invoke() { return hashable_support_of<T>(); }
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Drect_chromium.typemap16 "mojo.test.TypemappedRect=mojo::test::RectChromium[hashable]",
Drect_blink.typemap16 "mojo.test.TypemappedRect=mojo::test::RectBlink[hashable]",
/external/python/cpython3/Doc/library/
Dcollections.abc.rst25 example, whether it is hashable or whether it is a mapping.
264 and not requiring the set elements to be hashable. '''
305 are hashable or immutable. To add set hashability using mixins,
Dgraphlib.rst20 Provides functionality to topologically sort a graph of hashable nodes.
88 elements in *predecessors* must be hashable.
Dfractions.rst79 operations from that class. :class:`Fraction` instances are hashable,
/external/python/asn1crypto/asn1crypto/
Dx509.py849 def hashable(self): member in RelativeDistinguishedName
934 def hashable(self): member in RDNSequence
943 return '\x1E'.join(rdn.hashable for rdn in self)
1043 def hashable(self): member in Name
1049 return self.chosen.hashable
/external/python/cpython2/Doc/c-api/
Ddict.rst82 :term:`hashable`; if it isn't, :exc:`TypeError` will be raised. Return
98 Remove the entry in dictionary *p* with key *key*. *key* must be hashable;
/external/python/cpython2/Doc/library/
Dweakref.rst103 Weak references are :term:`hashable` if the *object* is hashable. They will maintain
124 callable. Proxy objects are not :term:`hashable` regardless of the referent; this
Dfractions.rst79 operations from that class. :class:`Fraction` instances are hashable,
/external/python/cpython3/Doc/c-api/
Ddict.rst66 :term:`hashable`; if it isn't, :exc:`TypeError` will be raised. Return
83 Remove the entry in dictionary *p* with key *key*. *key* must be hashable;
/external/starlark-go/doc/
Dspec.md640 Strings are hashable, and thus may be used as keys in a dictionary.
746 Lists are not hashable, so may not be used in the keys of a dictionary.
813 Tuples are hashable (assuming their elements are hashable),
829 are implemented using hash tables, so keys must be hashable. Hashable
831 composed from hashable values. Most mutable values, such as lists,
832 dictionaries, and sets, are not hashable, even when frozen.
833 Attempting to use a non-hashable value as a key in a dictionary
930 elements of a set must be hashable.
1509 a `set`. Attempting to use a non-hashable value as the key in a hash
1514 A hashable value has the same hash throughout its lifetime.
[all …]
Dimpl.md99 Furthermore, many Starlark values are hashable in Starlark even though
100 the Go values that represent them are not hashable in Go: big
/external/libtextclassifier/abseil-cpp/
DREADME.md73 functor implementations for hashable types in Abseil.
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/
DREADME.md73 functor implementations for hashable types in Abseil.
/external/abseil-cpp/
DREADME.md73 functor implementations for hashable types in Abseil.
/external/openscreen/third_party/abseil/src/
DREADME.md73 functor implementations for hashable types in Abseil.

1234