MCPcopy Create free account

hub / github.com/pybind/pybind11 / functions

Functions3,362 in github.com/pybind/pybind11

↓ 13 callersFunctioncreate
()
tests/test_multiple_interpreters.py:36
↓ 13 callersMethoddec_ref
include/pybind11/gil.h:107
↓ 13 callersMethodhas_pointee
include/pybind11/detail/struct_smart_holder.h:176
↓ 13 callersFunctioniter
include/pybind11/pytypes.h:2580
↓ 13 callersFunctionmake_iterator
NOLINTNEXTLINE(performance-unnecessary-value-param)
include/pybind11/pybind11.h:3436
↓ 13 callersMethodname
tests/test_class.cpp:132
↓ 13 callersFunctionraise_from
Replaces the current Python error indicator with the chosen error, performing a 'raise from' to indicate that the chosen error was caused by the origi
include/pybind11/pytypes.h:812
↓ 13 callersFunctionssize_t_cast
include/pybind11/detail/common.h:550
↓ 12 callersMethodget_code
(self)
tests/test_potentially_slicing_weak_ptr.py:44
↓ 12 callersFunctionio_name
include/pybind11/detail/descr.h:104
↓ 12 callersMethodsay_something
(self, times)
tests/test_virtual_functions.py:429
↓ 12 callersMethodsize
include/pybind11/detail/argument_vector.h:138
↓ 12 callersMethodunlucky_number
(self)
tests/test_virtual_functions.py:432
↓ 11 callersFunctioncb
(value)
tests/test_type_caster_pyobject_ptr.py:46
↓ 11 callersFunctionconstexpr_sum
include/pybind11/detail/common.h:922
↓ 11 callersFunctionhandle_nested_exception
include/pybind11/detail/internals.h:480
↓ 11 callersFunctionrequires_conversion
(v)
tests/test_builtin_casters.py:295
↓ 11 callersMethoduse_count
tests/test_local_bindings.cpp:29
↓ 11 callersMethodv
(self)
tests/test_class_sh_disowning_mi.py:79
↓ 10 callersMethodAdd
tests/test_class_sh_trampoline_shared_from_this.cpp:46
↓ 10 callersMethoddata
include/pybind11/eigen/matrix.h:564
↓ 10 callersMethodholder_constructed
include/pybind11/detail/value_and_holder.h:45
↓ 10 callersMethodinit_instance
include/pybind11/pybind11.h:2765
↓ 10 callersMethoditemsize
Size of the data type in bytes.
include/pybind11/numpy.h:895
↓ 10 callersMethodload
include/pybind11/stl.h:252
↓ 10 callersMethodlucky_number
(self)
tests/test_virtual_functions.py:435
↓ 10 callersFunctionprint_copy_assigned
tests/constructor_stats.h:294
↓ 10 callersFunctionprint_move_assigned
tests/constructor_stats.h:299
↓ 10 callersFunctionraise_err
include/pybind11/detail/internals.h:498
↓ 9 callersMethodParent
tests/test_call_policies.cpp:47
↓ 9 callersMethodTraveler
tests/test_cpp_conduit_traveler_types.h:11
↓ 9 callersMethod__init__
(self, *args)
tests/test_factory_constructors.py:194
↓ 9 callersMethodatyp
tests/test_class_sh_basic.cpp:12
↓ 9 callersFunctioncast
include/pybind11/eigen/matrix.h:700
↓ 9 callersMethodclear
tests/test_custom_type_setup.cpp:31
↓ 9 callersMethodclear
include/pybind11/pytypes.h:2349
↓ 9 callersFunctionerror_string
include/pybind11/pytypes.h:744
↓ 9 callersFunctionexec
include/pybind11/eval.h:88
↓ 9 callersMethodget
tests/test_smart_ptr.cpp:29
↓ 9 callersFunctionglobals
\ingroup python_builtins Return a dictionary representing the global variables in the current execution frame, or ``__main__.__dict__`` if there is no
include/pybind11/pybind11.h:1759
↓ 9 callersMethodhas_python_instance
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp:41
↓ 9 callersFunctionhas_state_dict_internals_obj
tests/test_with_catch/test_interpreter.cpp:25
↓ 9 callersFunctionhash
include/pybind11/pytypes.h:950
↓ 9 callersMethodhistory
tests/test_class_sh_trampoline_shared_from_this.cpp:59
↓ 9 callersMethodnone
include/pybind11/pytypes.h:1878
↓ 9 callersMethodsize
include/pybind11/pytypes.h:2214
↓ 9 callersMethodtest_function
tests/test_enum.cpp:44
↓ 9 callersFunctionunsafe_reset_internals_for_single_interpreter
tests/test_with_catch/test_subinterpreter.cpp:25
↓ 9 callersMethodwhat
include/pybind11/pybind11.h:3716
↓ 8 callersMethodSftSharedPtrStash
tests/test_class_sh_trampoline_shared_from_this.cpp:44
↓ 8 callersMethodTestFactory3
tests/test_factory_constructors.cpp:57
↓ 8 callersMethodbegin
include/pybind11/detail/type_caster_base.h:406
↓ 8 callersMethodblock
tests/test_eigen_matrix.cpp:251
↓ 8 callersFunctioncant_convert
(v)
tests/test_builtin_casters.py:298
↓ 8 callersFunctionconcat
include/pybind11/detail/descr.h:159
↓ 8 callersMethodcreate
tests/test_smart_ptr.cpp:255
↓ 8 callersMethodfoo
(self)
tests/test_multiple_inheritance.py:23
↓ 8 callersMethodfoo
(self)
tests/test_class.py:388
↓ 8 callersMethodget_pp
Get the current pointer-to-pointer, allocating it if it does not already exist. May acquire the GIL. Will never return nullptr.
include/pybind11/detail/internals.h:686
↓ 8 callersFunctionget_thread_state_unchecked
include/pybind11/detail/internals.h:144
↓ 8 callersMethodinstall
Installs the compile function into distutils.ccompiler.CCompiler.compile.
pybind11/setup_helpers.py:488
↓ 8 callersFunctionitemsize
include/pybind11/numpy.h:1433
↓ 8 callersFunctionmake_key_iterator
include/pybind11/pybind11.h:3454
↓ 8 callersFunctionprint_constr_details
tests/constructor_stats.h:271
↓ 8 callersMethodsize
include/pybind11/detail/type_caster_base.h:417
↓ 8 callersMethodunref
Drop all the references we're currently holding.
include/pybind11/detail/internals.h:712
↓ 8 callersMethodv
(self)
tests/test_multiple_inheritance.py:64
↓ 8 callersMethodview
Create a view of an array in a different data type. This function may fundamentally reinterpret the data in the array. It is the responsibility of the
include/pybind11/numpy.h:1307
↓ 7 callersMethodChild
tests/test_call_policies.cpp:38
↓ 7 callersMethodExampleMandA
tests/test_methods_and_attributes.cpp:27
↓ 7 callersFunctionabs
Not a good abs function, but easy to test.
tests/test_operator_overloading.cpp:133
↓ 7 callersFunctionassert_references
(a, b, base=None)
tests/test_numpy_array.py:231
↓ 7 callersFunctionbackport_typehints
()
tests/conftest.py:295
↓ 7 callersMethodcontains
tests/test_sequences_and_iterators.cpp:242
↓ 7 callersFunctioncreate_and_destroy
(*args)
tests/test_factory_constructors.py:348
↓ 7 callersMethodequal
include/pybind11/pytypes.h:1375
↓ 7 callersMethodget
tests/test_factory_constructors.cpp:156
↓ 7 callersMethodget_value_and_holder
* Extracts C++ value and holder pointer references from an instance (which may contain multiple * values/holders for python-side multiple inheritance
include/pybind11/detail/type_caster_base.h:440
↓ 7 callersMethodhas_alias
tests/test_factory_constructors.cpp:157
↓ 7 callersMethodid
tests/test_class_sh_inheritance.cpp:25
↓ 7 callersFunctionis_disowned
(obj)
tests/test_class_sh_disowning.py:8
↓ 7 callersMethodmake
tests/test_class.cpp:262
↓ 7 callersFunctionmake_value_iterator
include/pybind11/pybind11.h:3472
↓ 7 callersFunctionno_nullptr
include/pybind11/detail/init.h:40
↓ 7 callersFunctionobject_or_cast
include/pybind11/pytypes.h:1062
↓ 7 callersMethodref
Create a nullptr reference
tests/object.h:70
↓ 7 callersMethodrestore
include/pybind11/pytypes.h:720
↓ 7 callersMethodshape_span
Dimensions of the array as a span
include/pybind11/numpy.h:1152
↓ 6 callersMethodOuter
tests/test_class_sh_shared_ptr_copy_move.cpp:35
↓ 6 callersFunctionPYBIND11_OVERRIDE
tests/test_virtual_functions.cpp:92
↓ 6 callersMethodTestFactory2
tests/test_factory_constructors.cpp:37
↓ 6 callersMethodTestFactory6
tests/test_factory_constructors.cpp:93
↓ 6 callersMethodadd2
passing by value
tests/test_methods_and_attributes.cpp:47
↓ 6 callersFunctionassert_sparse_equal_ref
(sparse_mat)
tests/test_eigen_matrix.py:27
↓ 6 callersFunctioncast_error_unable_to_convert_call_arg
include/pybind11/cast.h:1910
↓ 6 callersFunctioncheck_
include/pybind11/numpy.h:1503
↓ 6 callersMethodcompute
include/pybind11/pytypes.h:2019
↓ 6 callersMethodget
tests/test_class_sh_disowning.cpp:12
↓ 6 callersMethodget
(self)
tests/test_factory_constructors.py:197
↓ 6 callersMethodget
(self)
tests/test_factory_constructors.py:237
← previousnext →101–200 of 3,362, ranked by callers