Searched refs:Key (Results 1 - 6 of 6) sorted by relevance

/gem5/src/base/
H A Dtrie.hh41 // Key has to be an integral type.
42 template <class Key, class Value>
48 Key key;
49 Key mask;
52 matches(Key test)
62 Node(Key _key, Key _mask, Value *_val) :
113 static const unsigned MaxBits = sizeof(Key) * 8;
127 goesAfter(Node **parent, Node *kid, Key key, Key new_mas
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dstl.h67 template <typename Type, typename Key> struct set_caster {
69 using key_conv = make_caster<Key>;
80 value.insert(cast_op<Key &&>(std::move(conv)));
88 policy = return_value_policy_override<Key>::policy(policy);
101 template <typename Type, typename Key, typename Value> struct map_caster {
102 using key_conv = make_caster<Key>;
116 value.emplace(cast_op<Key &&>(std::move(kconv)), cast_op<Value &&>(std::move(vconv)));
127 policy_key = return_value_policy_override<Key>::policy(policy_key);
249 template <typename Key, typename Compare, typename Alloc> struct type_caster<std::set<Key, Compar
[all...]
/gem5/util/minorview/
H A Dblobs.py357 class Key(Blob): class in inherits:Blob
362 super(Key,self).__init__(picChar, unit, topLeft, colour, size = size)
H A Dmodel.py984 ret = blobs.Key(char, unit, Point(0,0), colour)
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc101 using testing::Key;
1302 Matcher<const pair<std::string, int>&> m = Key("foo");
1308 Matcher<pair<int, bool> > m = Key(GreaterThan(10));
1317 EXPECT_THAT(p, Key(25));
1318 EXPECT_THAT(p, Not(Key(42)));
1319 EXPECT_THAT(p, Key(Ge(20)));
1320 EXPECT_THAT(p, Not(Key(Lt(25))));
1327 EXPECT_THAT(p, Key(is_positive));
1328 EXPECT_THAT(p, Not(Key(is_negative)));
1336 EXPECT_THAT(container, Contains(Key(
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2631 // Transforms std::pair<const Key, Value> into std::pair<Key, Value>
2934 // Implements Key(inner_matcher) for the given argument pair type.
2935 // Key(inner_matcher) matches an std::pair whose 'first' field matches
2936 // inner_matcher. For example, Contains(Key(Ge(5))) can be used to match an
2981 // Implements polymorphic Key(matcher_for_key).
4309 // EXPECT_THAT(page_lengths, Each(Key(Le(3))));
4318 // Key(inner_matcher) matches an std::pair whose 'first' field matches
4319 // inner_matcher. For example, Contains(Key(Ge(5))) can be used to match an
4322 inline internal::KeyMatcher<M> Key( function in namespace:testing
[all...]

Completed in 44 milliseconds