MCPcopy Create free account

hub / github.com/pybind/pybind11 / functions

Functions3,362 in github.com/pybind/pybind11

Functiontest_mi_base_return
Tests returning an offset (non-first MI) base class pointer to a derived instance
tests/test_multiple_inheritance.py:303
Functiontest_mi_dynamic_attributes
Mixing bases with and without dynamic attribute support
tests/test_multiple_inheritance.py:266
Functiontest_mi_static_properties
Mixing bases with and without static properties should be possible and the result should be independent of base definition order
tests/test_multiple_inheritance.py:242
Functiontest_mi_unaligned_base
Returning an offset (non-first MI) base class pointer should recognize the instance
tests/test_multiple_inheritance.py:274
Functiontest_mismatched_holder
()
tests/test_class.py:286
Functiontest_missing_header_message
Trying convert `list` to a `std::vector`, or vice versa, without including <pybind11/stl.h> should result in a helpful suggestion in the error mes
tests/test_stl.py:412
Functiontest_mixed
()
tests/test_class_sh_disowning.py:31
Functiontest_mixed_args_and_kwargs
(msg)
tests/test_kwargs_and_defaults.py:128
Functiontest_mixed_local_global
Local types take precedence over globally registered types: a module with a `module_local` type can be registered even if the type is already regi
tests/test_local_bindings.py:165
Functiontest_mock_new
(mock_return_value)
tests/test_class.py:257
Functiontest_module_attribute_types
()
tests/test_pytypes.py:1168
Functiontest_module_handle_type_name
()
tests/test_modules.py:102
Functiontest_movable_object
()
tests/test_callbacks.py:151
Functiontest_move_and_copy_casts
Cast some values in C++ via custom type casters and count the number of moves/copies.
tests/test_copy_move.py:22
Functiontest_move_and_copy_load_optional
Tests move/copy loads of std::optional arguments
tests/test_copy_move.py:84
Functiontest_move_and_copy_loads
Call some functions that load arguments via custom type casters and count the number of moves/copies.
tests/test_copy_move.py:50
Functiontest_move_fallback
#389: rvp::move should fall-through to copy on non-movable objects
tests/test_copy_move.py:125
Functiontest_move_only_holder
()
tests/test_smart_ptr.py:268
Functiontest_move_only_holder_caster_shared_ptr_with_smart_holder_support_enabled
()
tests/test_smart_ptr.py:362
Functiontest_move_only_holder_with_addressof_operator
()
tests/test_smart_ptr.py:311
Functiontest_move_out_container
Properties use the `reference_internal` policy by default. If the underlying function returns an rvalue, the policy is automatically changed to `m
tests/test_stl.py:126
Functiontest_move_redirect
(capsys)
tests/test_iostream.py:287
Functiontest_move_redirect_null_rdbuf
(capsys)
tests/test_iostream.py:301
Functiontest_move_redirect_unflushed
(capsys)
tests/test_iostream.py:294
Functiontest_move_support
()
tests/test_virtual_functions.py:200
Functiontest_multi_acquire_release_cross_module
()
tests/test_gil_scoped.py:124
Functiontest_multi_captured
(capfd)
tests/test_iostream.py:214
Functiontest_multiple_inheritance
()
tests/test_factory_constructors.py:337
Functiontest_multiple_inheritance_cpp
()
tests/test_multiple_inheritance.py:10
Functiontest_multiple_inheritance_mix1
()
tests/test_multiple_inheritance.py:18
Functiontest_multiple_inheritance_mix2
()
tests/test_multiple_inheritance.py:37
Functiontest_multiple_inheritance_python
()
tests/test_multiple_inheritance.py:57
Functiontest_multiple_inheritance_python
()
tests/test_class_sh_disowning_mi.py:149
Functiontest_multiple_inheritance_python_many_bases
()
tests/test_multiple_inheritance.py:162
Functiontest_multiple_inheritance_virtbase
()
tests/test_multiple_inheritance.py:231
Functiontest_multiple_instances_with_same_pointer
()
tests/test_class.py:489
Functiontest_multiple_registered_instances_for_same_pointee
()
tests/test_class_sh_trampoline_shared_from_this.py:166
Functiontest_multiple_registered_instances_for_same_pointee_leak
()
tests/test_class_sh_trampoline_shared_from_this.py:185
Functiontest_multiple_registered_instances_for_same_pointee_recursive
()
tests/test_class_sh_trampoline_shared_from_this.py:198
Functiontest_mutate_data
(arr)
tests/test_numpy_array.py:181
Functiontest_mutate_readonly
(arr)
tests/test_numpy_array.py:169
Functiontest_mutator_descriptors
()
tests/test_eigen_matrix.py:87
Functiontest_named_arguments
()
tests/test_eigen_matrix.py:732
Functiontest_named_arguments
()
tests/test_kwargs_and_defaults.py:90
Functiontest_nano_timepoint
()
tests/test_chrono.py:194
Functiontest_native_enum_data_missing_finalize_error_message
()
tests/test_native_enum.py:232
Functiontest_native_enum_double_finalize
()
tests/test_native_enum.py:248
Functiontest_native_enum_malformed_utf8
(func)
tests/test_native_enum.py:240
Functiontest_native_enum_missing_finalize_failure
()
tests/test_native_enum.py:318
Functiontest_native_enum_name_clash
()
tests/test_native_enum.py:275
Functiontest_native_enum_value_after_finalize
()
tests/test_native_enum.py:257
Functiontest_native_enum_value_name_clash
()
tests/test_native_enum.py:286
Functiontest_negate
(doc: SanitizedString)
tests/test_docs_advanced_cast_custom.py:23
Functiontest_negative_stride_from_python
Eigen doesn't support (as of yet) negative strides. When a function takes an Eigen matrix by copy or const reference, we can pass a numpy array th
tests/test_eigen_matrix.py:175
Functiontest_nested
#328: first member in a class can't be used in operators
tests/test_operator_overloading.py:104
Functiontest_nested_acquire
()
tests/test_gil_scoped.py:115
Functiontest_nested_modules
()
tests/test_modules.py:13
Functiontest_nested_throws
Tests nested (e.g. C++ -> Python -> C++) exception handling
tests/test_exceptions.py:206
Functiontest_never_annotation
(doc, backport_typehints)
tests/test_pytypes.py:1039
Functiontest_new_style_pickle_getstate_pos_only
()
tests/test_pickling.py:135
Functiontest_no_mixed_overloads
()
tests/test_methods_and_attributes.py:242
Functiontest_no_placement_new
Prior to 2.2, `py::init<...>` relied on the type supporting placement new; this tests a class without placement new support.
tests/test_factory_constructors.py:311
Functiontest_no_return_annotation
(doc)
tests/test_pytypes.py:1035
Functiontest_noconvert_args
(msg)
tests/test_custom_type_casters.py:9
Functiontest_nocopy_wrapper
()
tests/test_eigen_matrix.py:614
Functiontest_noexcept_base
Test issue #2234: binding noexcept methods inherited from an unregistered base class. In C++17 noexcept is part of the function type, so &Derived
tests/test_methods_and_attributes.py:537
Functiontest_noexcept_def_buffer
Test issue #2234: def_buffer with noexcept member function pointers. Covers both new def_buffer specialisations: - def_buffer(Return (Class
tests/test_buffers.py:404
Functiontest_noexcept_lambda
()
tests/test_constants_and_functions.py:57
Functiontest_noexcept_method_vectorization
Test issue #2234: vectorize must handle noexcept member function pointers. Covers both new vectorize specialisations: - vectorize(Return (C
tests/test_numpy_vectorize.py:284
Functiontest_noexcept_overload_cast
Test issue #2234: overload_cast must handle noexcept member and free function pointers. In C++17 noexcept is part of the function type, so overlo
tests/test_methods_and_attributes.py:603
Functiontest_noexcept_ref_qualified_method_vectorization
Test issue #2234 follow-up: vectorize with noexcept lvalue-ref-qualified member pointers. Covers: - vectorize(Return (Class::*)(Args...) &
tests/test_numpy_vectorize.py:270
Functiontest_noexcept_ref_qualified_overload_cast
Test issue #2234 follow-up: overload_cast with noexcept ref-qualified member pointers. Covers: - overload_cast_impl::operator()(Return (Cla
tests/test_methods_and_attributes.py:645
Functiontest_noexcept_rvalue_ref_qualified_methods
Test noexcept rvalue-ref-qualified methods from an unregistered base. Covers: - Return (Class::*)(Args...) && noexcept (take_noexcept
tests/test_methods_and_attributes.py:589
Functiontest_non_converting_constructors
()
tests/test_pytypes.py:473
Functiontest_non_final_final
()
tests/test_class.py:473
Functiontest_non_smart_holder_member_type_with_smart_holder_owner
()
tests/test_class_sh_property.py:181
Functiontest_non_smart_holder_member_type_with_smart_holder_owner_aliases_member
()
tests/test_class_sh_property.py:202
Functiontest_non_smart_holder_member_type_with_smart_holder_owner_aliases_member_multiple_reads
()
tests/test_class_sh_property.py:209
Functiontest_noncopyable_containers
()
tests/test_stl_binders.py:211
Functiontest_none
(doc)
tests/test_pytypes.py:106
Functiontest_none_deferred
None passed as various argument types should defer to other overloads
tests/test_builtin_casters.py:435
Functiontest_nonlocal_failure
Tests that attempting to register a non-local type in multiple modules fails
tests/test_local_bindings.py:85
Functiontest_nonref_iterators
()
tests/test_sequences_and_iterators.py:49
Functiontest_nonunit_stride_from_python
()
tests/test_eigen_matrix.py:152
Functiontest_nonunit_stride_to_python
()
tests/test_eigen_matrix.py:230
Functiontest_not_captured
(capfd)
tests/test_iostream.py:176
Functiontest_null_rdbuf_restored
()
tests/test_iostream.py:308
Functiontest_nullptr_combinations
()
tests/test_scoped_critical_section.py:8
Functiontest_number_protocol
()
tests/test_pytypes.py:589
Functiontest_numpy_bool
()
tests/test_builtin_casters.py:583
Functiontest_numpy_int_convert
()
tests/test_builtin_casters.py:363
Functiontest_numpy_ref_mutators
Tests numpy mutating Eigen matrices (for returned Eigen::Ref<...>s)
tests/test_eigen_matrix.py:518
Functiontest_numpy_scalars
(npy_scalar_type, expected_value)
tests/test_numpy_scalars.py:31
Functiontest_numpy_view
(capture)
tests/test_numpy_array.py:285
Functiontest_obj_cast_color_ptr
()
tests/test_native_enum.py:183
Functiontest_obj_cast_unscoped_enum_ptr
()
tests/test_enum.py:341
Functiontest_obj_class_name
()
tests/test_pytypes.py:14
Functiontest_obj_class_name
()
tests/test_class.py:29
Functiontest_one_nullptr
tests/test_scoped_critical_section.cpp:16
Functiontest_operator_new_delete
Tests that class-specific operator new/delete functions are invoked
tests/test_class.py:325
← previousnext →2,701–2,800 of 3,362, ranked by callers