Searched refs:overloaded (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_methods_and_attributes.cpp58 py::str overloaded() { return "()"; } function in class:ExampleMandA
59 py::str overloaded(int) { return "(int)"; } function in class:ExampleMandA
60 py::str overloaded(int, float) { return "(int, float)"; } function in class:ExampleMandA
61 py::str overloaded(float, int) { return "(float, int)"; } function in class:ExampleMandA
62 py::str overloaded(int, int) { return "(int, int)"; } function in class:ExampleMandA
63 py::str overloaded(float, float) { return "(float, float)"; } function in class:ExampleMandA
64 py::str overloaded(int) const { return "(int) const"; } function in class:ExampleMandA
65 py::str overloaded(int, float) const { return "(int, float) const"; } function in class:ExampleMandA
66 py::str overloaded(float, int) const { return "(float, int) const"; } function in class:ExampleMandA
67 py::str overloaded(in function in class:ExampleMandA
68 py::str overloaded(float, float) const { return "(float, float) const"; } function in class:ExampleMandA
70 static py::str overloaded(float) { return "static float"; } function in class:ExampleMandA
[all...]
H A Dtest_numpy_array.py274 assert m.overloaded(np.array([1], dtype='float64')) == 'double'
275 assert m.overloaded(np.array([1], dtype='float32')) == 'float'
276 assert m.overloaded(np.array([1], dtype='ushort')) == 'unsigned short'
277 assert m.overloaded(np.array([1], dtype='intc')) == 'int'
278 assert m.overloaded(np.array([1], dtype='longlong')) == 'long long'
279 assert m.overloaded(np.array([1], dtype='complex')) == 'double complex'
280 assert m.overloaded(np.array([1], dtype='csingle')) == 'float complex'
283 assert m.overloaded(np.array([1], dtype='uint8')) == 'double'
286 m.overloaded("not an array")
288 overloaded()
[all...]
H A Dtest_methods_and_attributes.py35 assert instance1.overloaded() == "()"
36 assert instance1.overloaded(0) == "(int)"
37 assert instance1.overloaded(1, 1.0) == "(int, float)"
38 assert instance1.overloaded(2.0, 2) == "(float, int)"
39 assert instance1.overloaded(3, 3) == "(int, int)"
40 assert instance1.overloaded(4., 4.) == "(float, float)"
/gem5/ext/googletest/googlemock/scripts/
H A Dgmock_doctor.py286 r'call to \'Truly\(<unresolved overloaded function type>\)')
290 The argument you gave to Truly() is an overloaded function. Please tell
291 your compiler which overloaded version you want to use.
307 r'\'Invoke\(<unresolved overloaded function type>')
315 Function you are passing to Invoke is overloaded. Please tell your compiler
316 which overloaded version you want to use.
332 r'call to \'Invoke\(.+, <unresolved overloaded function '
341 The second argument you gave to Invoke() is an overloaded method. Please
342 tell your compiler which overloaded version you want to use.
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h462 const bool overloaded = it != nullptr && it->next != nullptr; local
613 if (overloaded) {
632 if (overloaded) {
633 // The (overloaded) call failed; if the call has at least one argument that
648 if (overloaded && !second_pass.empty() && result.ptr() == PYBIND11_TRY_NEXT_OVERLOAD) {
986 /// Set the pointer to operator new if it exists. The cast is needed because it can be overloaded.
2031 /* Cache functions that aren't overloaded in Python to avoid
2086 :name: The name of the overloaded Python method to retrieve.

Completed in 20 milliseconds