Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ functions
Functions
3,362 in github.com/pybind/pybind11
⨍
Functions
3,362
◇
Types & classes
1,305
↳
Endpoints
11
Function
test_const_kwargs_ref_to_str
()
tests/test_pytypes.py:1372
Function
test_const_name
(func, selector, expected)
tests/test_const_name.py:27
Function
test_const_only_holder
()
tests/test_smart_ptr.py:368
Function
test_const_ref_caster
Verifies that const-ref is propagated through type_caster cast_op. The returned ConstRefCasted type is a minimal type that is constructed to r
tests/test_builtin_casters.py:609
Function
test_constants
()
tests/test_constants_and_functions.py:8
Function
test_constructors
()
tests/test_numpy_array.py:328
Function
test_constructors
C++ default and converting constructors are equivalent to type calls in Python
tests/test_pytypes.py:436
Function
test_convert_tensor_to_py
(m, func_name)
tests/test_eigen_tensor.py:109
Function
test_copy_method
Issue #443: calling copied methods fails in Python 3
tests/test_methods_and_attributes.py:93
Function
test_copyable_holder_caster_shared_ptr_with_smart_holder_support_enabled
()
tests/test_smart_ptr.py:356
Function
test_core_fld_common
(core_fld, expected, persistent_holder)
tests/test_class_sh_property_non_owning.py:21
Function
test_cpp_callable_cleanup
()
tests/test_callbacks.py:103
Function
test_cpp_casting
()
tests/test_eigen_matrix.py:120
Function
test_cpp_function_roundtrip
Test if passing a function pointer from C++ -> Python -> C++ yields the original pointer
tests/test_callbacks.py:108
Function
test_cpp_iterators
()
tests/test_pytypes.py:790
Function
test_create
()
tests/test_class_sh_unique_ptr_custom_deleter.py:6
Function
test_create
(num_elems)
tests/test_vector_unique_ptr_member.py:9
Function
test_cross_module_calls
()
tests/test_local_bindings.py:241
Function
test_cross_module_exception_translator
()
tests/test_exceptions.py:84
Function
test_cross_module_exceptions
(msg)
tests/test_exceptions.py:47
Function
test_cross_module_gil_acquired
Makes sure that the GIL can be acquired by another module from a GIL-acquired state.
tests/test_gil_scoped.py:54
Function
test_cross_module_gil_inner_custom_acquired
Makes sure that the GIL can be acquired/acquired by another module from a GIL-acquired state using custom locking logic.
tests/test_gil_scoped.py:65
Function
test_cross_module_gil_inner_custom_released
Makes sure that the GIL can be acquired/released by another module from a GIL-released state using custom locking logic.
tests/test_gil_scoped.py:59
Function
test_cross_module_gil_inner_pybind11_acquired
Makes sure that the GIL can be acquired/acquired by another module from a GIL-acquired state using pybind11 locking logic.
tests/test_gil_scoped.py:77
Function
test_cross_module_gil_inner_pybind11_released
Makes sure that the GIL can be acquired/released by another module from a GIL-released state using pybind11 locking logic.
tests/test_gil_scoped.py:71
Function
test_cross_module_gil_nested_custom_acquired
Makes sure that the GIL can be nested acquired/acquired by another module from a GIL-acquired state using custom locking logic.
tests/test_gil_scoped.py:91
Function
test_cross_module_gil_nested_custom_released
Makes sure that the GIL can be nested acquired/released by another module from a GIL-released state using custom locking logic.
tests/test_gil_scoped.py:84
Function
test_cross_module_gil_nested_pybind11_acquired
Makes sure that the GIL can be nested acquired/acquired by another module from a GIL-acquired state using pybind11 locking logic.
tests/test_gil_scoped.py:105
Function
test_cross_module_gil_nested_pybind11_released
Makes sure that the GIL can be nested acquired/released by another module from a GIL-released state using pybind11 locking logic.
tests/test_gil_scoped.py:98
Function
test_cross_module_gil_released
Makes sure that the GIL can be acquired by another module from a GIL-released state.
tests/test_gil_scoped.py:49
Function
test_cross_module_interleaved_error_already_set
()
tests/test_exceptions.py:402
Function
test_cross_module_use_after_one_module_dealloc
()
tests/test_class_cross_module_use_after_one_module_dealloc.py:14
Function
test_ctypes_array_1d
()
tests/test_buffers.py:181
Function
test_ctypes_array_2d
()
tests/test_buffers.py:196
Function
test_ctypes_from_buffer
()
tests/test_buffers.py:211
Function
test_custom
(msg)
tests/test_exceptions.py:138
Function
test_custom_caster_destruction
Tests that returning a pointer to a type that gets converted with a custom type caster gets destroyed when the function has py::return_value_polic
tests/test_custom_type_casters.py:99
Function
test_custom_caster_other_lib
()
tests/test_custom_type_casters.py:125
Function
test_custom_func
()
tests/test_callbacks.py:222
Function
test_custom_func2
()
tests/test_callbacks.py:227
Function
test_custom_operator_new
Using Eigen types as member variables requires a class-specific operator new with proper alignment
tests/test_eigen_matrix.py:814
Function
test_cyclic_gc
()
tests/test_methods_and_attributes.py:363
Function
test_data
(arr, args, ret)
tests/test_numpy_array.py:145
Function
test_def_submodule_failures
()
tests/test_modules.py:124
Function
test_defaults
(doc)
tests/test_eigen_matrix.py:727
Function
test_deleter_roundtrip
(pass_f, rtrn_f, regex_expected)
tests/test_class_sh_basic.py:95
Function
test_dense
()
tests/test_eigen_matrix.py:40
Function
test_dense_signature
(doc)
tests/test_eigen_matrix.py:700
Function
test_dependent_subinterpreters
Makes sure the internals object differs across subinterpreters
tests/test_multiple_interpreters.py:186
Function
test_deque
std::deque <-> list
tests/test_stl.py:32
Function
test_diamond_inheritance
Tests that diamond inheritance works as expected (issue #959)
tests/test_multiple_inheritance.py:352
Function
test_diamond_inheritance
()
tests/test_class_sh_disowning_mi.py:9
Function
test_dict
(capture, doc)
tests/test_pytypes.py:168
Function
test_dict_annotations
(doc)
tests/test_pytypes.py:944
Function
test_dict_ranges
(tested_dict, expected)
tests/test_pytypes.py:1148
Function
test_dim_check_fail
(arr)
tests/test_numpy_array.py:120
Function
test_discontiguous_to_pybuffer
(type)
tests/test_buffers.py:326
Function
test_disown_b
()
tests/test_class_sh_disowning_mi.py:30
Function
test_disown_base1_first
(cls, i, j, v)
tests/test_class_sh_disowning_mi.py:205
Function
test_disown_base2
(cls, j, v)
tests/test_class_sh_disowning_mi.py:241
Function
test_disown_base2_first
(cls, i, j, v)
tests/test_class_sh_disowning_mi.py:219
Function
test_disown_c0
(var_to_disown)
tests/test_class_sh_disowning_mi.py:38
Function
test_disown_c1
(var_to_disown)
tests/test_class_sh_disowning_mi.py:48
Function
test_disown_d
(var_to_disown)
tests/test_class_sh_disowning_mi.py:58
Function
test_dispatch_issue
#159: virtual function dispatch has problems with similar-named functions
tests/test_virtual_functions.py:245
Function
test_doc_string
(m, doc)
tests/test_eigen_tensor.py:272
Function
test_docs
(doc)
tests/test_numpy_vectorize.py:150
Function
test_docs
()
tests/test_docs_advanced_cast_custom.py:34
Function
test_docstring_options
()
tests/test_docstring_options.py:6
Function
test_docstring_signatures
()
tests/test_enum.py:268
Function
test_docstrings
(doc)
tests/test_class.py:130
Function
test_double_registration_enum_before_native_enum
()
tests/test_native_enum.py:298
Function
test_double_registration_native_enum
()
tests/test_native_enum.py:266
Function
test_double_registration_native_enum_before_enum
()
tests/test_native_enum.py:308
Function
test_downcast
()
tests/test_tagbased_polymorphic.py:6
Function
test_drvd_add
()
tests/test_class_sh_trampoline_basic.py:14
Function
test_drvd_add_in_cpp_raw_ptr
()
tests/test_class_sh_trampoline_basic.py:19
Function
test_drvd_add_in_cpp_shared_ptr
()
tests/test_class_sh_trampoline_basic.py:24
Function
test_drvd_add_in_cpp_unique_ptr
()
tests/test_class_sh_trampoline_basic.py:31
Function
test_dtype
(simple_dtype)
tests/test_numpy_dtypes.py:120
Function
test_dtype_ctors
tests/test_numpy_dtypes.cpp:278
Function
test_dtype_refcount_leak
()
tests/test_numpy_array.py:633
Function
test_dtypes
()
tests/test_numpy_array.py:11
Function
test_dual
(capsys)
tests/test_iostream.py:226
Function
test_duplicate_enum_name
()
tests/test_enum.py:240
Function
test_duplicate_local
Tests expected failure when registering a class twice with py::local in the same module
tests/test_local_bindings.py:96
Function
test_duplicate_registration
Registering two things with the same name
tests/test_modules.py:109
Function
test_dynamic_attr_dealloc_frees_dict_contents
Regression: py::dynamic_attr() objects must free __dict__ contents on dealloc. pybind11_object_dealloc() did not call PyObject_ClearManagedDict()
tests/test_methods_and_attributes.py:388
Function
test_dynamic_attributes
()
tests/test_methods_and_attributes.py:312
Function
test_eigen_keepalive
()
tests/test_eigen_matrix.py:416
Function
test_eigen_ref_life_support
Ensure the lifetime of temporary arrays created by the `Ref` caster The `Ref` caster sometimes creates a copy which needs to stay alive. This nee
tests/test_eigen_matrix.py:671
Function
test_eigen_ref_mutators
Tests Eigen's ability to mutate numpy values
tests/test_eigen_matrix.py:449
Function
test_eigen_ref_to_python
()
tests/test_eigen_matrix.py:244
Function
test_eigen_return_references
Tests various ways of returning references and non-referencing copies
tests/test_eigen_matrix.py:264
Function
test_enum_array
()
tests/test_numpy_dtypes.py:335
Function
test_enum_flag
(enum_type)
tests/test_native_enum.py:96
Function
test_enum_import_exit_no_crash
()
tests/test_standalone_enum_module.py:8
Function
test_enum_member_with_smart_holder_def_readwrite
()
tests/test_class_sh_property.py:171
Function
test_enum_members
(enum_type, members)
tests/test_native_enum.py:80
Function
test_enum_pickle
()
tests/test_pickling.py:92
← previous
next →
2,401–2,500 of 3,362, ranked by callers