/dports/devel/boost-docs/boost_1_72_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() argument 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() function 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() function 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() argument 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() function 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() argument 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() argument 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() argument 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() argument 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() argument 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/log/test/run/ |
H A D | util_manip_add_value.cpp | 32 struct my_type struct 34 BOOST_COPYABLE_AND_MOVABLE(my_type) 40 my_type(my_type const& that) : value(that.value) {} in my_type() function 41 my_type(BOOST_RV_REF(my_type) that) : value(that.value) { that.value = 0xbaadbaad; } in my_type() function 42 ~my_type() { value = 0xdeaddead; } in ~my_type() argument 44 my_type& operator= (BOOST_COPY_ASSIGN_REF(my_type) that) { value = that.value; return *this; } in operator =() argument 48 inline bool operator== (my_type const& left, my_type const& right) in operator ==() 53 inline bool operator!= (my_type const& left, my_type const& right) in operator !=() 103 my_type val(0xaaaaaaaa); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(rec["MyAttr3"].extract< my_type >(), my_type(0xcccccccc)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/examples/algo/ |
H A D | sort_file.cpp | 25 struct my_type struct 37 my_type() { } in my_type() function 40 static my_type min_value() in min_value() argument 44 static my_type max_value() in max_value() argument 50 inline bool operator < (const my_type& a, const my_type& b) in operator <() 55 inline bool operator == (const my_type& a, const my_type& b) in operator ==() 65 bool operator () (const my_type& a, const my_type& b) const in operator ()() 69 static my_type min_value() in min_value() 71 return my_type::min_value(); in min_value() 73 static my_type max_value() in max_value() [all …]
|
H A D | copy_and_sort_file.cpp | 26 struct my_type struct 33 my_type() { } in my_type() argument 36 static my_type min_value() in min_value() argument 40 static my_type max_value() in max_value() argument 46 inline bool operator < (const my_type& a, const my_type& b) in operator <() 51 inline bool operator == (const my_type& a, const my_type& b) in operator ==() 61 bool operator () (const my_type& a, const my_type& b) const in operator ()() 65 static my_type min_value() in min_value() 67 return my_type::min_value(); in min_value() 69 static my_type max_value() in max_value() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/tests/algo/ |
H A D | test_sort.cpp | 23 struct my_type struct 34 my_type() { } in my_type() argument 35 my_type(key_type k) : m_key(k) in my_type() argument 42 static my_type min_value() in min_value() argument 46 static my_type max_value() in max_value() argument 51 ~my_type() { } in ~my_type() argument 60 bool operator < (const my_type& a, const my_type& b) in operator <() 65 bool operator == (const my_type& a, const my_type& b) in operator ==() 70 bool operator != (const my_type& a, const my_type& b) in operator !=() 77 my_type min_value() const in min_value() [all …]
|
H A D | test_ksort.cpp | 20 struct my_type struct 33 my_type() : m_key(0), m_key_copy(0) { } in my_type() argument 36 my_type min_value() const { return my_type(std::numeric_limits<key_type1>::min()); } in min_value() argument 37 my_type max_value() const { return my_type(std::numeric_limits<key_type1>::max()); } in max_value() argument 48 typedef my_type::key_type1 key_type; 49 my_type dummy; 54 my_type min_value() const in min_value() 56 return my_type((dummy.min_value)()); in min_value() 58 my_type max_value() const in max_value() 64 bool operator < (const my_type& a, const my_type& b) in operator <() [all …]
|
H A D | test_bad_cmp.cpp | 22 struct my_type struct 29 my_type() { } in my_type() argument 32 static my_type min_value() in min_value() argument 36 static my_type max_value() in max_value() argument 41 ~my_type() { } in ~my_type() argument 50 bool operator < (const my_type& a, const my_type& b) in operator <() 55 bool operator == (const my_type& a, const my_type& b) in operator ==() 60 bool operator != (const my_type& a, const my_type& b) in operator !=() 67 my_type min_value() const in min_value() 69 return my_type::min_value(); in min_value() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/tests/containers/ |
H A D | test_sorter.cpp | 21 struct my_type struct 33 my_type() { } in my_type() argument 34 my_type(key_type k) in my_type() argument 42 static my_type min_value() in min_value() argument 46 static my_type max_value() in max_value() argument 51 ~my_type() { } in ~my_type() argument 60 bool operator == (const my_type& a, const my_type& b) in operator ==() 65 bool operator <= (const my_type& a, const my_type& b) in operator <=() 72 inline bool operator () (const my_type& a, const my_type& b) const in operator ()() 76 my_type min_value() const in min_value() [all …]
|
H A D | test_ext_merger.cpp | 18 typedef int my_type; typedef 37 struct my_cmp : public std::greater<my_type> 39 my_type min_value() const in min_value() 43 my_type max_value() const in max_value() 51 my_type* seq = new my_type[l + 1]; // + sentinel in make_sequence() 69 std::vector<my_type> output(1024 * 3); in main() 83 loser_tree<my_type, my_cmp, 8> loser; in main() 84 my_type* seq1 = make_sequence(dummy, 1024); in main() 86 my_type* seq2 = make_sequence(dummy, 1024); in main() 88 my_type* seq3 = make_sequence(dummy, 1024); in main() [all …]
|
/dports/devel/sol2/sol2-4.0.0-alpha/examples/source/tutorials/ |
H A D | pointer_lifetime.cpp | 4 struct my_type { struct 26 lua["my_func0"] = []() -> std::unique_ptr<my_type> { return std::make_unique<my_type>(); }; in main() 29 lua["my_func1"] = []() -> std::shared_ptr<my_type> { return std::make_shared<my_type>(); }; in main() 32 lua["my_func2"] = []() -> my_type { return my_type(); }; in main() 35 lua.set("something", std::unique_ptr<my_type>(new my_type())); in main() 37 std::shared_ptr<my_type> my_shared = std::make_shared<my_type>(); in main() 42 auto my_unique = std::make_unique<my_type>(); in main() 46 lua["my_func5"] = []() -> my_type* { in main() 47 static my_type mt; in main() 60 lua["my_func8"] = []() -> std::unique_ptr<my_type> { in main() [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/sol2/examples/ |
H A D | unique_ptr.cpp | 8 struct my_type { struct 11 my_type() { in my_type() function 15 my_type(const my_type& other) : value(other.value) { in my_type() argument 19 my_type(my_type&& other) : value(other.value) { in my_type() function 23 my_type& operator=(const my_type& other) { in operator =() argument 29 my_type& operator=(my_type&& other) { in operator =() argument 35 ~my_type() { in ~my_type() argument 45 lua.new_usertype<my_type>("my_type", in main() 46 "value", &my_type::value in main() 49 std::unique_ptr<my_type> unique = std::make_unique<my_type>(); in main() [all …]
|
H A D | shared_ptr.cpp | 8 struct my_type { struct 11 my_type() { in my_type() argument 15 my_type(const my_type& other) : value(other.value) { in my_type() function 19 my_type(my_type&& other) : value(other.value) { in my_type() argument 23 my_type& operator=(const my_type& other) { in operator =() argument 29 my_type& operator=(my_type&& other) { in operator =() argument 35 ~my_type() { in ~my_type() argument 45 lua.new_usertype<my_type>("my_type", in main() 46 "value", &my_type::value in main() 49 std::shared_ptr<my_type> shared = std::make_shared<my_type>(); in main() [all …]
|
/dports/devel/sol2/sol2-4.0.0-alpha/examples/source/ |
H A D | unique_ptr.cpp | 7 struct my_type { struct 10 my_type() { in my_type() function 14 my_type(const my_type& other) : value(other.value) { in my_type() argument 18 my_type(my_type&& other) : value(other.value) { in my_type() function 22 my_type& operator=(const my_type& other) { in operator =() argument 28 my_type& operator=(my_type&& other) { in operator =() argument 34 ~my_type() { in ~my_type() argument 44 lua.new_usertype<my_type>("my_type", "value", &my_type::value); in main() 46 std::unique_ptr<my_type> unique = std::make_unique<my_type>(); in main() 52 my_type& ref_to_my_type = lua["unique"]; in main() [all …]
|
H A D | shared_ptr.cpp | 7 struct my_type { struct 10 my_type() { in my_type() argument 14 my_type(const my_type& other) : value(other.value) { in my_type() argument 18 my_type(my_type&& other) : value(other.value) { in my_type() argument 22 my_type& operator=(const my_type& other) { in operator =() argument 28 my_type& operator=(my_type&& other) { in operator =() argument 34 ~my_type() { in ~my_type() argument 44 lua.new_usertype<my_type>("my_type", "value", &my_type::value); in main() 46 std::shared_ptr<my_type> shared = std::make_shared<my_type>(); in main() 53 my_type& ref_to_my_type = lua["shared"]; in main() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/tools/benchmarks/ |
H A D | monotonic_pq.cpp | 40 struct my_type struct 52 my_type() { } in my_type() argument 89 bool operator () (const my_type& a, const my_type& b) const in operator ()() 97 return my_type(std::numeric_limits<my_type::key_type>::max(), MAGIC); in min_value() 99 return my_type(std::numeric_limits<my_type::key_type>::max()); in min_value() 105 return my_type(std::numeric_limits<my_type::key_type>::min(), MAGIC); in max_value() 107 return my_type(std::numeric_limits<my_type::key_type>::min()); in max_value() 193 my_type, in main() 215 my_type, in main() 270 std::priority_queue<my_type, std::vector<my_type>, my_cmp> side_pq; in main() [all …]
|
/dports/audio/ampache/ampache-php74-5.0.0/src/Repository/Model/ |
H A D | Search.php | 1466 $my_type = 'album'; 1473 $my_type = 'album'; 1481 $my_type = 'album'; 1511 …my_type . "_" . $user_id . "` ON `rating_" . $my_type . "_" . $user_id . "`.`object_type`='$my_typ… 1681 $my_type = 'artist'; 1716 $my_type = 'artist'; 1755 …my_type . "_" . $user_id . "` ON `rating_" . $my_type . "_" . $user_id . "`.`object_type`='$my_typ… 1946 $my_type = 'song'; 1953 $my_type = 'song'; 1960 … "AND `last_skip_" . $my_type . "_" . $user_id . "`.`object_type` = '$my_type' " : ""; [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/sol2/docs/source/tutorial/ |
H A D | ownership.rst | 8 struct my_type { 16 lua["my_func"] = []() -> my_type* { 17 return new my_type(); 21 lua.set("something", new my_type()); 32 return std::make_unique<my_type>(); 41 lua["my_func"] = []() -> my_type { 42 return my_type(); 46 lua.set("something", std::unique_ptr<my_type>(new my_type())); 48 std::shared_ptr<my_type> my_shared = std::make_shared<my_type>(); 61 static my_type mt; [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/sol2/docs/source/tutorial/ |
H A D | ownership.rst | 8 struct my_type { 16 lua["my_func"] = []() -> my_type* { 17 return new my_type(); 21 lua.set("something", new my_type()); 32 return std::make_unique<my_type>(); 41 lua["my_func"] = []() -> my_type { 42 return my_type(); 46 lua.set("something", std::unique_ptr<my_type>(new my_type())); 48 std::shared_ptr<my_type> my_shared = std::make_shared<my_type>(); 61 static my_type mt; [all …]
|