Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wjakob/nanobind
/ functions
Functions
1,594 in github.com/wjakob/nanobind
⨍
Functions
1,594
◇
Types & classes
580
↳
Endpoints
1
↓ 3 callers
Function
internals_dec_ref
src/nb_internals.cpp:332
↓ 3 callers
Method
make_shared
tests/test_holders.cpp:26
↓ 3 callers
Function
module_import
src/common.cpp:142
↓ 3 callers
Function
nb_dict_ptr
src/nb_type.cpp:26
↓ 3 callers
Function
nb_enable_try_inc_ref
src/nb_ft.h:37
↓ 3 callers
Function
nb_inst_destruct
src/nb_type.cpp:2437
↓ 3 callers
Function
nb_inst_state_write
Helper to ensure that nb_inst instance state updates produce one 4-byte store
src/nb_internals.h:132
↓ 3 callers
Function
nb_mark_seq
Tag a nb_inst_seq* pointer as such
src/nb_internals.h:282
↓ 3 callers
Function
nb_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 callers
Function
nb_type_put
src/nb_type.cpp:2051
↓ 3 callers
Function
nb_type_put_p
src/nb_type.cpp:2124
↓ 3 callers
Function
obj_iter_next
src/common.cpp:323
↓ 3 callers
Method
ref
Create a null reference
include/nanobind/intrusive/ref.h:38
↓ 3 callers
Function
remain
src/buffer.h:135
↓ 3 callers
Function
seq_get_with_size
src/common.cpp:784
↓ 3 callers
Function
setitem
src/common.cpp:503
↓ 3 callers
Method
subscribe
tests/test_callbacks.cpp:31
↓ 3 callers
Function
true_ref
include/nanobind/nb_lib.h:581
↓ 3 callers
Function
value
include/nanobind/nb_error.h:64
↓ 3 callers
Method
value
(self, value)
tests/test_intrusive.py:48
↓ 3 callers
Method
value
tests/test_classes.cpp:206
↓ 3 callers
Method
what
tests/test_classes.cpp:440
↓ 2 callers
Method
ClassWithEigenMember
tests/test_eigen_tensor.cpp:95
↓ 2 callers
Method
__init__
(self)
tests/test_classes.py:677
↓ 2 callers
Method
__init__
(self, *vals)
tests/test_stl.py:239
↓ 2 callers
Function
abi_tag
src/nb_internals.cpp:367
↓ 2 callers
Function
add_pattern
(query: str, lines: List[str])
src/stubgen.py:1468
↓ 2 callers
Function
assert_same_sparse_array
(a, b)
tests/test_eigen.py:468
↓ 2 callers
Function
chain_error_v
src/error.cpp:288
↓ 2 callers
Method
check_party
Check source of module 0 = From stdlib 1 = From 3rd party package 2 = From the package being built
src/stubgen.py:1266
↓ 2 callers
Function
copy
src/buffer.h:123
↓ 2 callers
Method
create_copy
tests/test_classes.cpp:55
↓ 2 callers
Function
create_exception
src/common.cpp:17
↓ 2 callers
Method
create_reference
tests/test_classes.cpp:56
↓ 2 callers
Function
create_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 callers
Method
data
tests/test_ndarray.cpp:601
↓ 2 callers
Method
data_handle
include/nanobind/ndarray.h:444
↓ 2 callers
Method
del
include/nanobind/nb_accessor.h:118
↓ 2 callers
Function
detect_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 callers
Function
dict_lookup_ref
Look up 'k' in the dictionary 'd', returning a *new* reference
src/common.cpp:1287
↓ 2 callers
Method
discard
include/nanobind/nb_cast.h:742
↓ 2 callers
Function
dlpack_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 callers
Function
dtype
include/nanobind/ndarray.h:196
↓ 2 callers
Function
dtype_code_is_complex
Helper function reports whether `code` represents a complex number.
src/nb_ndarray.cpp:706
↓ 2 callers
Function
enum_append
src/nb_enum.cpp:144
↓ 2 callers
Function
enum_get_type_data
src/nb_enum.cpp:140
↓ 2 callers
Method
execute
include/nanobind/nb_class.h:388
↓ 2 callers
Function
extract_name
This helper function extracts the function/class name from a custom signature attribute
src/nb_type.cpp:1241
↓ 2 callers
Method
f1
tests/test_ndarray.cpp:490
↓ 2 callers
Method
f2
tests/test_ndarray.cpp:491
↓ 2 callers
Function
fn
()
tests/test_functions.py:368
↓ 2 callers
Method
format
include/nanobind/nb_accessor.h:281
↓ 2 callers
Method
format_docstr
Format a single or multi-line docstring with given indentation
src/stubgen.py:321
↓ 2 callers
Method
get_value
tests/test_enum.cpp:37
↓ 2 callers
Function
getattr_or_raise
src/common.cpp:404
↓ 2 callers
Function
git_resolve
Return the full 40-char SHA for ``rev``, or None.
docs/normalize_changelog_links.py:52
↓ 2 callers
Method
inc
tests/test_thread.cpp:12
↓ 2 callers
Function
inst_mark_ready
include/nanobind/nb_class.h:356
↓ 2 callers
Function
inst_reference
include/nanobind/nb_class.h:346
↓ 2 callers
Method
is_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 callers
Function
keep_alive
src/nb_type.cpp:1876
↓ 2 callers
Method
kw_only_methods
tests/test_functions.cpp:452
↓ 2 callers
Function
line_of
(text: str, offset: int)
docs/normalize_changelog_links.py:66
↓ 2 callers
Function
load_f64
src/common.cpp:998
↓ 2 callers
Function
make_key_iterator
include/nanobind/make_iterator.h:125
↓ 2 callers
Function
make_value_iterator
include/nanobind/make_iterator.h:141
↓ 2 callers
Method
map
tests/test_eigen.cpp:240
↓ 2 callers
Function
nb_inst_copy
src/nb_type.cpp:2459
↓ 2 callers
Function
nb_inst_move
src/nb_type.cpp:2483
↓ 2 callers
Function
nb_inst_ptr
src/nb_type.cpp:2401
↓ 2 callers
Function
nb_inst_python_derived
src/nb_type.cpp:2566
↓ 2 callers
Function
nb_pool_lookup
Return the instance pool associated with type `td`
src/nb_internals.h:652
↓ 2 callers
Function
nb_thread_state_get
src/nb_internals.h:268
↓ 2 callers
Function
nb_type_from_metaclass
src/nb_type.cpp:919
↓ 2 callers
Function
nb_type_put_common
src/nb_type.cpp:1960
↓ 2 callers
Function
nb_type_put_unique_finalize
src/nb_type.cpp:2209
↓ 2 callers
Function
nb_type_relinquish_ownership
src/nb_type.cpp:2283
↓ 2 callers
Function
nb_type_unregister
src/nb_type.cpp:571
↓ 2 callers
Function
ndarray_create
src/nb_ndarray.cpp:1065
↓ 2 callers
Function
ndarray_dec_ref_free
Final teardown of a handle whose refcount reached zero.
src/nb_ndarray.cpp:1013
↓ 2 callers
Function
ndarray_export_fn
Resolve (and cache) the callable for an ``ndarray_export`` cache slot.
src/nb_ndarray.cpp:1158
↓ 2 callers
Function
obj_has_buffer
True if `src` supports the buffer protocol. Non-raising.
src/nb_ndarray.cpp:655
↓ 2 callers
Function
obj_len
src/common.cpp:205
↓ 2 callers
Function
property_install
src/common.cpp:906
↓ 2 callers
Function
property_install_impl
src/common.cpp:885
↓ 2 callers
Method
put_function
Append a function of an arbitrary type to the stub
src/stubgen.py:446
↓ 2 callers
Method
put_nb_overload
The ``put_nb_func()`` repeatedly calls this method to render the individual method overloads.
src/stubgen.py:338
↓ 2 callers
Function
remove_platform_dependent
Remove platform-dependent functions from the stubs
tests/test_stubs.py:12
↓ 2 callers
Function
setattr
include/nanobind/nb_types.h:101
↓ 2 callers
Method
shape_ptr
include/nanobind/ndarray.h:439
↓ 2 callers
Method
static_test
tests/test_classes.cpp:50
↓ 2 callers
Method
store
include/nanobind/stl/variant.h:39
↓ 2 callers
Method
stride_ptr
include/nanobind/ndarray.h:440
↓ 2 callers
Function
strip
(lines)
tests/test_stubs.py:69
↓ 2 callers
Method
the_answer
()
tests/test_classes.py:944
↓ 2 callers
Function
traceback
include/nanobind/nb_error.h:68
↓ 2 callers
Method
void_ret
(self)
tests/test_classes.py:246
↓ 2 callers
Function
warmup
(fn)
tests/test_specialization.py:21
↓ 2 callers
Function
warn_relinquish_failed
src/nb_type.cpp:2271
↓ 2 callers
Method
what
tests/test_exception.cpp:8
← previous
next →
201–300 of 1,594, ranked by callers