MCPcopy Create free account

hub / github.com/wjakob/nanobind / functions

Functions1,594 in github.com/wjakob/nanobind

↓ 3 callersFunctioninternals_dec_ref
src/nb_internals.cpp:332
↓ 3 callersMethodmake_shared
tests/test_holders.cpp:26
↓ 3 callersFunctionmodule_import
src/common.cpp:142
↓ 3 callersFunctionnb_dict_ptr
src/nb_type.cpp:26
↓ 3 callersFunctionnb_enable_try_inc_ref
src/nb_ft.h:37
↓ 3 callersFunctionnb_inst_destruct
src/nb_type.cpp:2437
↓ 3 callersFunctionnb_inst_state_write
Helper to ensure that nb_inst instance state updates produce one 4-byte store
src/nb_internals.h:132
↓ 3 callersFunctionnb_mark_seq
Tag a nb_inst_seq* pointer as such
src/nb_internals.h:282
↓ 3 callersFunctionnb_pool_drain
Unmap all parked instances of a pool from 'inst_c2p' and release them. When called after interpreter shutdown it is no longer safe to release memory v
src/nb_type.cpp:314
↓ 3 callersFunctionnb_type_put
src/nb_type.cpp:2051
↓ 3 callersFunctionnb_type_put_p
src/nb_type.cpp:2124
↓ 3 callersFunctionobj_iter_next
src/common.cpp:323
↓ 3 callersMethodref
Create a null reference
include/nanobind/intrusive/ref.h:38
↓ 3 callersFunctionremain
src/buffer.h:135
↓ 3 callersFunctionseq_get_with_size
src/common.cpp:784
↓ 3 callersFunctionsetitem
src/common.cpp:503
↓ 3 callersMethodsubscribe
tests/test_callbacks.cpp:31
↓ 3 callersFunctiontrue_ref
include/nanobind/nb_lib.h:581
↓ 3 callersFunctionvalue
include/nanobind/nb_error.h:64
↓ 3 callersMethodvalue
(self, value)
tests/test_intrusive.py:48
↓ 3 callersMethodvalue
tests/test_classes.cpp:206
↓ 3 callersMethodwhat
tests/test_classes.cpp:440
↓ 2 callersMethodClassWithEigenMember
tests/test_eigen_tensor.cpp:95
↓ 2 callersMethod__init__
(self)
tests/test_classes.py:677
↓ 2 callersMethod__init__
(self, *vals)
tests/test_stl.py:239
↓ 2 callersFunctionabi_tag
src/nb_internals.cpp:367
↓ 2 callersFunctionadd_pattern
(query: str, lines: List[str])
src/stubgen.py:1468
↓ 2 callersFunctionassert_same_sparse_array
(a, b)
tests/test_eigen.py:468
↓ 2 callersFunctionchain_error_v
src/error.cpp:288
↓ 2 callersMethodcheck_party
Check source of module 0 = From stdlib 1 = From 3rd party package 2 = From the package being built
src/stubgen.py:1266
↓ 2 callersFunctioncopy
src/buffer.h:123
↓ 2 callersMethodcreate_copy
tests/test_classes.cpp:55
↓ 2 callersFunctioncreate_exception
src/common.cpp:17
↓ 2 callersMethodcreate_reference
tests/test_classes.cpp:56
↓ 2 callersFunctioncreate_subdirectory_for_module
When creating stubs recursively, prefer putting information directly into a ``submodule.pyi`` file unless the submodule has sub-submodules,
src/stubgen.py:184
↓ 2 callersMethoddata
tests/test_ndarray.cpp:601
↓ 2 callersMethoddata_handle
include/nanobind/ndarray.h:444
↓ 2 callersMethoddel
include/nanobind/nb_accessor.h:118
↓ 2 callersFunctiondetect_framework
Detect the source framework from __module__, returning its ndarray.h `value` (no_framework::value if unrecognized). Never raises.
src/nb_ndarray.cpp:598
↓ 2 callersFunctiondict_lookup_ref
Look up 'k' in the dictionary 'd', returning a *new* reference
src/common.cpp:1287
↓ 2 callersMethoddiscard
include/nanobind/nb_cast.h:742
↓ 2 callersFunctiondlpack_method
Fetch __dlpack__ as an unbound descriptor (callable with self at args[0]), or an invalid object if absent. Avoids exception-related costs if possible.
src/nb_ndarray.cpp:667
↓ 2 callersFunctiondtype
include/nanobind/ndarray.h:196
↓ 2 callersFunctiondtype_code_is_complex
Helper function reports whether `code` represents a complex number.
src/nb_ndarray.cpp:706
↓ 2 callersFunctionenum_append
src/nb_enum.cpp:144
↓ 2 callersFunctionenum_get_type_data
src/nb_enum.cpp:140
↓ 2 callersMethodexecute
include/nanobind/nb_class.h:388
↓ 2 callersFunctionextract_name
This helper function extracts the function/class name from a custom signature attribute
src/nb_type.cpp:1241
↓ 2 callersMethodf1
tests/test_ndarray.cpp:490
↓ 2 callersMethodf2
tests/test_ndarray.cpp:491
↓ 2 callersFunctionfn
()
tests/test_functions.py:368
↓ 2 callersMethodformat
include/nanobind/nb_accessor.h:281
↓ 2 callersMethodformat_docstr
Format a single or multi-line docstring with given indentation
src/stubgen.py:321
↓ 2 callersMethodget_value
tests/test_enum.cpp:37
↓ 2 callersFunctiongetattr_or_raise
src/common.cpp:404
↓ 2 callersFunctiongit_resolve
Return the full 40-char SHA for ``rev``, or None.
docs/normalize_changelog_links.py:52
↓ 2 callersMethodinc
tests/test_thread.cpp:12
↓ 2 callersFunctioninst_mark_ready
include/nanobind/nb_class.h:356
↓ 2 callersFunctioninst_reference
include/nanobind/nb_class.h:346
↓ 2 callersMethodis_function
Test if this is one of the many types of built-in functions supported by Python, or if it is a nanobind ``nb_func``.
src/stubgen.py:616
↓ 2 callersFunctionkeep_alive
src/nb_type.cpp:1876
↓ 2 callersMethodkw_only_methods
tests/test_functions.cpp:452
↓ 2 callersFunctionline_of
(text: str, offset: int)
docs/normalize_changelog_links.py:66
↓ 2 callersFunctionload_f64
src/common.cpp:998
↓ 2 callersFunctionmake_key_iterator
include/nanobind/make_iterator.h:125
↓ 2 callersFunctionmake_value_iterator
include/nanobind/make_iterator.h:141
↓ 2 callersMethodmap
tests/test_eigen.cpp:240
↓ 2 callersFunctionnb_inst_copy
src/nb_type.cpp:2459
↓ 2 callersFunctionnb_inst_move
src/nb_type.cpp:2483
↓ 2 callersFunctionnb_inst_ptr
src/nb_type.cpp:2401
↓ 2 callersFunctionnb_inst_python_derived
src/nb_type.cpp:2566
↓ 2 callersFunctionnb_pool_lookup
Return the instance pool associated with type `td`
src/nb_internals.h:652
↓ 2 callersFunctionnb_thread_state_get
src/nb_internals.h:268
↓ 2 callersFunctionnb_type_from_metaclass
src/nb_type.cpp:919
↓ 2 callersFunctionnb_type_put_common
src/nb_type.cpp:1960
↓ 2 callersFunctionnb_type_put_unique_finalize
src/nb_type.cpp:2209
↓ 2 callersFunctionnb_type_relinquish_ownership
src/nb_type.cpp:2283
↓ 2 callersFunctionnb_type_unregister
src/nb_type.cpp:571
↓ 2 callersFunctionndarray_create
src/nb_ndarray.cpp:1065
↓ 2 callersFunctionndarray_dec_ref_free
Final teardown of a handle whose refcount reached zero.
src/nb_ndarray.cpp:1013
↓ 2 callersFunctionndarray_export_fn
Resolve (and cache) the callable for an ``ndarray_export`` cache slot.
src/nb_ndarray.cpp:1158
↓ 2 callersFunctionobj_has_buffer
True if `src` supports the buffer protocol. Non-raising.
src/nb_ndarray.cpp:655
↓ 2 callersFunctionobj_len
src/common.cpp:205
↓ 2 callersFunctionproperty_install
src/common.cpp:906
↓ 2 callersFunctionproperty_install_impl
src/common.cpp:885
↓ 2 callersMethodput_function
Append a function of an arbitrary type to the stub
src/stubgen.py:446
↓ 2 callersMethodput_nb_overload
The ``put_nb_func()`` repeatedly calls this method to render the individual method overloads.
src/stubgen.py:338
↓ 2 callersFunctionremove_platform_dependent
Remove platform-dependent functions from the stubs
tests/test_stubs.py:12
↓ 2 callersFunctionsetattr
include/nanobind/nb_types.h:101
↓ 2 callersMethodshape_ptr
include/nanobind/ndarray.h:439
↓ 2 callersMethodstatic_test
tests/test_classes.cpp:50
↓ 2 callersMethodstore
include/nanobind/stl/variant.h:39
↓ 2 callersMethodstride_ptr
include/nanobind/ndarray.h:440
↓ 2 callersFunctionstrip
(lines)
tests/test_stubs.py:69
↓ 2 callersMethodthe_answer
()
tests/test_classes.py:944
↓ 2 callersFunctiontraceback
include/nanobind/nb_error.h:68
↓ 2 callersMethodvoid_ret
(self)
tests/test_classes.py:246
↓ 2 callersFunctionwarmup
(fn)
tests/test_specialization.py:21
↓ 2 callersFunctionwarn_relinquish_failed
src/nb_type.cpp:2271
↓ 2 callersMethodwhat
tests/test_exception.cpp:8
← previousnext →201–300 of 1,594, ranked by callers