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
↓ 4 callers
Function
silence_unused_warnings
include/pybind11/detail/common.h:1374
↓ 4 callers
Function
test_shared
(val, ctor, loader)
tests/test_local_bindings.py:27
↓ 4 callers
Function
toobig_message
(r)
tests/test_builtin_casters.py:54
↓ 4 callers
Function
type_incref
include/pybind11/detail/class.h:42
↓ 4 callers
Function
with_instance_map
include/pybind11/detail/internals.h:991
↓ 3 callers
Method
A
tests/test_modules.cpp:23
↓ 3 callers
Method
Add
tests/test_class_sh_trampoline_basic.cpp:25
↓ 3 callers
Method
Dog
tests/test_class.cpp:142
↓ 3 callers
Method
NoneCastTester
tests/test_methods_and_attributes.cpp:138
↓ 3 callers
Method
Pet
tests/test_class.cpp:130
↓ 3 callers
Method
StringMap
tests/test_sequences_and_iterators.cpp:334
↓ 3 callers
Function
_make_explanation
Explanation for a failed assert -- the a and b arguments are List[str]
tests/conftest.py:64
↓ 3 callers
Function
_proxy_dereference
(proxy, xxxattr, *args, **kwargs)
tests/test_class_sh_property.py:127
↓ 3 callers
Function
_strip_and_dedent
For triple-quote strings
tests/conftest.py:54
↓ 3 callers
Function
append_self_arg_if_needed
include/pybind11/attr.h:492
↓ 3 callers
Function
auxiliaries
tests/test_numpy_array.cpp:143
↓ 3 callers
Function
c_strides
include/pybind11/buffer_info.h:19
↓ 3 callers
Method
call
include/pybind11/cast.h:2419
↓ 3 callers
Function
check_flags
include/pybind11/numpy.h:556
↓ 3 callers
Function
check_strides
(mat)
tests/test_buffers.py:346
↓ 3 callers
Function
data
include/pybind11/numpy.h:1441
↓ 3 callers
Method
data
include/pybind11/detail/argument_vector.h:145
↓ 3 callers
Function
deregister_instance
include/pybind11/detail/class.h:376
↓ 3 callers
Function
eval
include/pybind11/eval.h:48
↓ 3 callers
Function
eval_file
include/pybind11/eval.h:99
↓ 3 callers
Method
exit
include/pybind11/iostream.h:258
↓ 3 callers
Function
find_registered_python_instance
Searches the inheritance graph for a registered Python instance, using all_type_info().
include/pybind11/detail/type_caster_base.h:336
↓ 3 callers
Method
flags
Flags for the array descriptor
include/pybind11/numpy.h:960
↓ 3 callers
Method
g
tests/test_custom_type_casters.cpp:158
↓ 3 callers
Method
getRefCount
Return the current reference count
tests/object.h:18
↓ 3 callers
Method
get_base_value_from_drvd
tests/test_python_multiple_inheritance.cpp:22
↓ 3 callers
Method
get_d0_b
tests/test_multiple_inheritance.cpp:276
↓ 3 callers
Method
get_d0_c
tests/test_multiple_inheritance.cpp:277
↓ 3 callers
Method
get_d0_d0
tests/test_multiple_inheritance.cpp:278
↓ 3 callers
Method
get_d1_b
tests/test_multiple_inheritance.cpp:282
↓ 3 callers
Method
get_d1_c
tests/test_multiple_inheritance.cpp:283
↓ 3 callers
Method
get_d1_d1
tests/test_multiple_inheritance.cpp:284
↓ 3 callers
Function
get_global_type_info
include/pybind11/detail/type_caster_base.h:261
↓ 3 callers
Method
get_object
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp:37
↓ 3 callers
Function
global_internals_native_enum_type_map_contains
include/pybind11/detail/native_enum_data.h:115
↓ 3 callers
Function
import_warns_freethreaded
(name)
tests/test_cpp_conduit.py:14
↓ 3 callers
Method
is_base_used
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp:39
↓ 3 callers
Method
load
include/pybind11/detail/type_caster_base.h:994
↓ 3 callers
Method
load_value
Base methods for generic caster; there are overridden in copyable_holder_caster
include/pybind11/detail/type_caster_base.h:1119
↓ 3 callers
Method
method
tests/test_numpy_vectorize.cpp:80
↓ 3 callers
Function
mutable_data
include/pybind11/numpy.h:1446
↓ 3 callers
Method
mutable_unchecked
include/pybind11/numpy.h:1238
↓ 3 callers
Method
name
Return the function name
include/pybind11/pybind11.h:463
↓ 3 callers
Method
owndata
If set, the array owns the data (will be freed when the array is deleted)
include/pybind11/numpy.h:1192
↓ 3 callers
Function
partial_dtype_fmt
()
tests/test_numpy_dtypes.py:64
↓ 3 callers
Function
pickle
include/pybind11/pybind11.h:2925
↓ 3 callers
Function
ptr
Return the underlying ``PyObject *`` pointer
include/pybind11/pytypes.h:267
↓ 3 callers
Method
push_back_borrow
Add a pointer, borrowing (increfs now, will decref on destruction)
include/pybind11/detail/argument_vector.h:396
↓ 3 callers
Function
quote
(s: str)
pybind11/__main__.py:23
↓ 3 callers
Function
refcount_immortal
(ob: object)
tests/test_class.py:16
↓ 3 callers
Function
register_local_exception_translator
* Add a new module-local exception translator. Locally registered functions * will be tried before any globally registered exception translators, whi
include/pybind11/pybind11.h:3572
↓ 3 callers
Method
release_ownership
Caller is responsible for ensuring the complex preconditions (see `smart_holder_type_caster_support::load_helper`).
include/pybind11/detail/struct_smart_holder.h:335
↓ 3 callers
Function
require_implicit
(v)
tests/test_builtin_casters.py:368
↓ 3 callers
Function
reserve_maybe
include/pybind11/stl.h:165
↓ 3 callers
Method
return_pyobject_ptr
(self)
tests/test_type_caster_pyobject_ptr.py:114
↓ 3 callers
Method
set
tests/pybind11_tests.h:34
↓ 3 callers
Method
setExtra1
tests/test_pickling.cpp:69
↓ 3 callers
Method
setExtra2
tests/test_pickling.cpp:70
↓ 3 callers
Method
set_foreign_holder
include/pybind11/detail/type_caster_base.h:1175
↓ 3 callers
Function
size_in_ptrs
Returns the size as a multiple of sizeof(void *), rounded up.
include/pybind11/detail/common.h:612
↓ 3 callers
Method
sum
tests/test_methods_and_attributes.cpp:167
↓ 3 callers
Function
test_altitude_enum
()
tests/test_native_enum.py:328
↓ 3 callers
Function
track_copy_created
tests/constructor_stats.h:219
↓ 3 callers
Function
track_default_created
tests/constructor_stats.h:239
↓ 3 callers
Function
track_destroyed
tests/constructor_stats.h:251
↓ 3 callers
Function
track_move_created
tests/constructor_stats.h:223
↓ 3 callers
Function
try_get_shared_from_this
include/pybind11/detail/common.h:1354
↓ 3 callers
Function
value
include/pybind11/pybind11.h:3101
↓ 3 callers
Function
with_exception_translators
include/pybind11/detail/internals.h:969
↓ 2 callers
Method
A2
tests/test_virtual_functions.cpp:293
↓ 2 callers
Method
B
tests/test_modules.cpp:40
↓ 2 callers
Method
CArrayHolder
tests/test_sequences_and_iterators.cpp:586
↓ 2 callers
Method
Create
tests/test_vector_unique_ptr_member.cpp:14
↓ 2 callers
Method
DataFieldsHolder
tests/test_class_sh_property_non_owning.cpp:29
↓ 2 callers
Method
DiscontiguousMatrix
tests/test_buffers.cpp:219
↓ 2 callers
Method
El
tests/test_stl_binders.cpp:22
↓ 2 callers
Method
FortranMatrix
tests/test_buffers.cpp:173
↓ 2 callers
Method
MixGL
tests/local_bindings.h:88
↓ 2 callers
Method
MixGL2
tests/local_bindings.h:92
↓ 2 callers
Method
Movable
tests/test_virtual_functions.cpp:124
↓ 2 callers
Method
MyObject1
tests/test_smart_ptr.cpp:89
↓ 2 callers
Method
MyObject4a
tests/test_smart_ptr.cpp:160
↓ 2 callers
Function
NCVirt
tests/test_virtual_functions.cpp:138
↓ 2 callers
Method
NoDefaultCtorArray
tests/test_stl.cpp:212
↓ 2 callers
Method
NoPlacementNew
tests/test_factory_constructors.cpp:345
↓ 2 callers
Method
NonCopyable
tests/test_virtual_functions.cpp:102
↓ 2 callers
Method
NonPODClass
tests/test_numpy_vectorize.cpp:60
↓ 2 callers
Function
PYBIND11_OVERRIDE_PURE
tests/test_virtual_functions.cpp:483
↓ 2 callers
Function
PYBIND11_OVERRIDE_PURE
tests/test_gil_scoped.cpp:33
↓ 2 callers
Function
PyTF6
Special constructor that allows the factory to construct a PyTF6 from a TestFactory6 only when an alias is needed:
tests/test_factory_constructors.cpp:116
↓ 2 callers
Function
PyWarning_Check
include/pybind11/warnings.h:19
↓ 2 callers
Method
ReturnTester
tests/test_eigen_matrix.cpp:239
↓ 2 callers
Method
SpBase
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp:24
↓ 2 callers
Method
StrIssue
tests/test_methods_and_attributes.cpp:145
↓ 2 callers
Method
Vector2
tests/test_operator_overloading.cpp:20
← previous
next →
301–400 of 3,362, ranked by callers