MCPcopy Create free account

hub / github.com/pybind/pybind11 / functions

Functions3,362 in github.com/pybind/pybind11

Functiontest_const_kwargs_ref_to_str
()
tests/test_pytypes.py:1372
Functiontest_const_name
(func, selector, expected)
tests/test_const_name.py:27
Functiontest_const_only_holder
()
tests/test_smart_ptr.py:368
Functiontest_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
Functiontest_constants
()
tests/test_constants_and_functions.py:8
Functiontest_constructors
()
tests/test_numpy_array.py:328
Functiontest_constructors
C++ default and converting constructors are equivalent to type calls in Python
tests/test_pytypes.py:436
Functiontest_convert_tensor_to_py
(m, func_name)
tests/test_eigen_tensor.py:109
Functiontest_copy_method
Issue #443: calling copied methods fails in Python 3
tests/test_methods_and_attributes.py:93
Functiontest_copyable_holder_caster_shared_ptr_with_smart_holder_support_enabled
()
tests/test_smart_ptr.py:356
Functiontest_core_fld_common
(core_fld, expected, persistent_holder)
tests/test_class_sh_property_non_owning.py:21
Functiontest_cpp_callable_cleanup
()
tests/test_callbacks.py:103
Functiontest_cpp_casting
()
tests/test_eigen_matrix.py:120
Functiontest_cpp_function_roundtrip
Test if passing a function pointer from C++ -> Python -> C++ yields the original pointer
tests/test_callbacks.py:108
Functiontest_cpp_iterators
()
tests/test_pytypes.py:790
Functiontest_create
()
tests/test_class_sh_unique_ptr_custom_deleter.py:6
Functiontest_create
(num_elems)
tests/test_vector_unique_ptr_member.py:9
Functiontest_cross_module_calls
()
tests/test_local_bindings.py:241
Functiontest_cross_module_exception_translator
()
tests/test_exceptions.py:84
Functiontest_cross_module_exceptions
(msg)
tests/test_exceptions.py:47
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_cross_module_interleaved_error_already_set
()
tests/test_exceptions.py:402
Functiontest_cross_module_use_after_one_module_dealloc
()
tests/test_class_cross_module_use_after_one_module_dealloc.py:14
Functiontest_ctypes_array_1d
()
tests/test_buffers.py:181
Functiontest_ctypes_array_2d
()
tests/test_buffers.py:196
Functiontest_ctypes_from_buffer
()
tests/test_buffers.py:211
Functiontest_custom
(msg)
tests/test_exceptions.py:138
Functiontest_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
Functiontest_custom_caster_other_lib
()
tests/test_custom_type_casters.py:125
Functiontest_custom_func
()
tests/test_callbacks.py:222
Functiontest_custom_func2
()
tests/test_callbacks.py:227
Functiontest_custom_operator_new
Using Eigen types as member variables requires a class-specific operator new with proper alignment
tests/test_eigen_matrix.py:814
Functiontest_cyclic_gc
()
tests/test_methods_and_attributes.py:363
Functiontest_data
(arr, args, ret)
tests/test_numpy_array.py:145
Functiontest_def_submodule_failures
()
tests/test_modules.py:124
Functiontest_defaults
(doc)
tests/test_eigen_matrix.py:727
Functiontest_deleter_roundtrip
(pass_f, rtrn_f, regex_expected)
tests/test_class_sh_basic.py:95
Functiontest_dense
()
tests/test_eigen_matrix.py:40
Functiontest_dense_signature
(doc)
tests/test_eigen_matrix.py:700
Functiontest_dependent_subinterpreters
Makes sure the internals object differs across subinterpreters
tests/test_multiple_interpreters.py:186
Functiontest_deque
std::deque <-> list
tests/test_stl.py:32
Functiontest_diamond_inheritance
Tests that diamond inheritance works as expected (issue #959)
tests/test_multiple_inheritance.py:352
Functiontest_diamond_inheritance
()
tests/test_class_sh_disowning_mi.py:9
Functiontest_dict
(capture, doc)
tests/test_pytypes.py:168
Functiontest_dict_annotations
(doc)
tests/test_pytypes.py:944
Functiontest_dict_ranges
(tested_dict, expected)
tests/test_pytypes.py:1148
Functiontest_dim_check_fail
(arr)
tests/test_numpy_array.py:120
Functiontest_discontiguous_to_pybuffer
(type)
tests/test_buffers.py:326
Functiontest_disown_b
()
tests/test_class_sh_disowning_mi.py:30
Functiontest_disown_base1_first
(cls, i, j, v)
tests/test_class_sh_disowning_mi.py:205
Functiontest_disown_base2
(cls, j, v)
tests/test_class_sh_disowning_mi.py:241
Functiontest_disown_base2_first
(cls, i, j, v)
tests/test_class_sh_disowning_mi.py:219
Functiontest_disown_c0
(var_to_disown)
tests/test_class_sh_disowning_mi.py:38
Functiontest_disown_c1
(var_to_disown)
tests/test_class_sh_disowning_mi.py:48
Functiontest_disown_d
(var_to_disown)
tests/test_class_sh_disowning_mi.py:58
Functiontest_dispatch_issue
#159: virtual function dispatch has problems with similar-named functions
tests/test_virtual_functions.py:245
Functiontest_doc_string
(m, doc)
tests/test_eigen_tensor.py:272
Functiontest_docs
(doc)
tests/test_numpy_vectorize.py:150
Functiontest_docs
()
tests/test_docs_advanced_cast_custom.py:34
Functiontest_docstring_options
()
tests/test_docstring_options.py:6
Functiontest_docstring_signatures
()
tests/test_enum.py:268
Functiontest_docstrings
(doc)
tests/test_class.py:130
Functiontest_double_registration_enum_before_native_enum
()
tests/test_native_enum.py:298
Functiontest_double_registration_native_enum
()
tests/test_native_enum.py:266
Functiontest_double_registration_native_enum_before_enum
()
tests/test_native_enum.py:308
Functiontest_downcast
()
tests/test_tagbased_polymorphic.py:6
Functiontest_drvd_add
()
tests/test_class_sh_trampoline_basic.py:14
Functiontest_drvd_add_in_cpp_raw_ptr
()
tests/test_class_sh_trampoline_basic.py:19
Functiontest_drvd_add_in_cpp_shared_ptr
()
tests/test_class_sh_trampoline_basic.py:24
Functiontest_drvd_add_in_cpp_unique_ptr
()
tests/test_class_sh_trampoline_basic.py:31
Functiontest_dtype
(simple_dtype)
tests/test_numpy_dtypes.py:120
Functiontest_dtype_ctors
tests/test_numpy_dtypes.cpp:278
Functiontest_dtype_refcount_leak
()
tests/test_numpy_array.py:633
Functiontest_dtypes
()
tests/test_numpy_array.py:11
Functiontest_dual
(capsys)
tests/test_iostream.py:226
Functiontest_duplicate_enum_name
()
tests/test_enum.py:240
Functiontest_duplicate_local
Tests expected failure when registering a class twice with py::local in the same module
tests/test_local_bindings.py:96
Functiontest_duplicate_registration
Registering two things with the same name
tests/test_modules.py:109
Functiontest_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
Functiontest_dynamic_attributes
()
tests/test_methods_and_attributes.py:312
Functiontest_eigen_keepalive
()
tests/test_eigen_matrix.py:416
Functiontest_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
Functiontest_eigen_ref_mutators
Tests Eigen's ability to mutate numpy values
tests/test_eigen_matrix.py:449
Functiontest_eigen_ref_to_python
()
tests/test_eigen_matrix.py:244
Functiontest_eigen_return_references
Tests various ways of returning references and non-referencing copies
tests/test_eigen_matrix.py:264
Functiontest_enum_array
()
tests/test_numpy_dtypes.py:335
Functiontest_enum_flag
(enum_type)
tests/test_native_enum.py:96
Functiontest_enum_import_exit_no_crash
()
tests/test_standalone_enum_module.py:8
Functiontest_enum_member_with_smart_holder_def_readwrite
()
tests/test_class_sh_property.py:171
Functiontest_enum_members
(enum_type, members)
tests/test_native_enum.py:80
Functiontest_enum_pickle
()
tests/test_pickling.py:92
← previousnext →2,401–2,500 of 3,362, ranked by callers