MCPcopy Create free account

hub / github.com/wjakob/nanobind / functions

Functions1,594 in github.com/wjakob/nanobind

↓ 6 callersMethodcast
include/nanobind/ndarray.h:605
↓ 6 callersFunctioncheck_del
(s)
tests/test_stl_bind_vector.py:140
↓ 6 callersFunctioncheck_same
(s)
tests/test_stl_bind_vector.py:137
↓ 6 callersFunctiondec_ref
Decrease the object's reference count, return ``true`` if it should be deallocated
include/nanobind/intrusive/counter.h:213
↓ 6 callersMethoddec_ref
include/nanobind/nb_types.h:875
↓ 6 callersFunctionfrom_python
include/nanobind/stl/chrono.h:35
↓ 6 callersFunctionglobals
include/nanobind/nb_misc.h:100
↓ 6 callersFunctioninternals_inc_ref
src/nb_internals.cpp:328
↓ 6 callersMethodload_acquire
src/nb_internals.h:336
↓ 6 callersMethodlock
include/nanobind/nb_attr.h:109
↓ 6 callersFunctionnb_func_convert_cpp_exception
Used by nb_func_vectorcall: convert a C++ exception into a Python error
src/nb_func.cpp:612
↓ 6 callersFunctionnb_is_seq
Does this entry store a linked list of instances?
src/nb_internals.h:279
↓ 6 callersFunctionnew_type
Create a type via PyType_FromSpec and transfer ownership to the lifeline
src/nb_internals.h:594
↓ 6 callersFunctionobj_op_1
src/common.cpp:257
↓ 6 callersMethodput_docstr
Append an indented single or multi-line docstring
src/stubgen.py:334
↓ 6 callersFunctionraise_python_or_cast_error
src/common.cpp:111
↓ 6 callersFunctionset_builtin_exception_status
src/nb_func.cpp:162
↓ 6 callersFunctionsize
Return the size of the cleanup stack
include/nanobind/nb_lib.h:66
↓ 6 callersFunctiontyping
include/nanobind/typing.h:16
↓ 5 callersMethodPooledGC
tests/test_classes.cpp:120
↓ 5 callersMethod__dlpack_device__
(self)
tests/test_ndarray.py:593
↓ 5 callersMethodapply_pattern
Check if ``value`` matches an entry of a pattern file. Applies the pattern and returns ``True`` in that case, otherwise returns ``Fal
src/stubgen.py:811
↓ 5 callersFunctioncheck_shared_from_this_py_owned
(ty, factory, value)
tests/test_holders.py:284
↓ 5 callersFunctionexec
include/nanobind/eval.h:58
↓ 5 callersFunctionexpand
src/buffer.h:138
↓ 5 callersFunctionfind
include/nanobind/nb_cast.h:671
↓ 5 callersFunctioninc_ref
* \brief Increase the reference count of an intrusively reference-counted * object ``o`` if ``o`` is non-NULL. */
include/nanobind/intrusive/counter.h:232
↓ 5 callersFunctionmake_iterator
include/nanobind/make_iterator.h:111
↓ 5 callersFunctionnb_func_render_signature
Render the function signature of a single function. Callers must hold the 'internals' mutex.
src/nb_func.cpp:1367
↓ 5 callersFunctionnb_type_has_gc
Function to check (in the fastest manner) if a nb_type is garbage-collected.
src/nb_type.cpp:65
↓ 5 callersFunctionnew_object
Append 'o' to the lifeline and transfer ownership to it
src/nb_internals.h:588
↓ 5 callersFunctiontype_get_slot
src/nb_type.cpp:901
↓ 4 callersMethodDog
tests/test_holders.cpp:55
↓ 4 callersMethod__new__
(cls, value)
tests/test_stl.py:802
↓ 4 callersFunction_pooled
(gc)
tests/test_classes.py:1059
↓ 4 callersMethod_replace_tail
Remove the last num_chars from output and append replacement.
src/stubgen.py:315
↓ 4 callersFunctioncpp_function_def
include/nanobind/nb_func.h:364
↓ 4 callersFunctiondelitem
src/common.cpp:527
↓ 4 callersMethoddevice_id
include/nanobind/ndarray.h:443
↓ 4 callersMethoddevice_type
include/nanobind/ndarray.h:442
↓ 4 callersFunctiondisasm
Extract specialized opcode names from a function
tests/test_specialization.py:16
↓ 4 callersMethodemit
tests/test_callbacks.cpp:35
↓ 4 callersMethodempty
include/nanobind/nb_types.h:625
↓ 4 callersMethodensure_ready
Ensure that the above four handles point to valid Python objects. If unable, throw nb::python_error.
include/nanobind/stl/detail/chrono.h:80
↓ 4 callersFunctionf
()
tests/test_stl.py:326
↓ 4 callersFunctionfunc
()
tests/test_prefix_module/prefix.py:4
↓ 4 callersFunctionget
src/buffer.h:91
↓ 4 callersFunctionhash
include/nanobind/nb_misc.h:107
↓ 4 callersFunctioninst_new_int
Allocate memory for a nb_type instance with internal storage
src/nb_type.cpp:76
↓ 4 callersFunctioninst_state
include/nanobind/nb_class.h:353
↓ 4 callersFunctionis_alive
src/nb_internals.cpp:365
↓ 4 callersFunctionis_alive
include/nanobind/nb_misc.h:121
↓ 4 callersFunctioniter
include/nanobind/nb_types.h:738
↓ 4 callersMethodload_relaxed
src/nb_internals.h:337
↓ 4 callersFunctionmake_immortal
Trivial implementations for non-free-threaded Python
src/nb_ft.h:36
↓ 4 callersFunctionmalloc_check
src/nb_func.cpp:185
↓ 4 callersFunctionnb_try_inc_ref
src/nb_ft.h:38
↓ 4 callersFunctionnb_type_name
src/nb_type.cpp:2531
↓ 4 callersFunctionnew_constant
src/nb_internals.cpp:228
↓ 4 callersFunctionput
Append a string with the specified length
src/buffer.h:33
↓ 4 callersMethodput_value
Render a ``name: type = value`` assignment at the module, class, or enum scope. The parameter ``abbrev`` indicates if it is
src/stubgen.py:631
↓ 4 callersMethodresize
include/nanobind/nb_types.h:516
↓ 4 callersMethodsimplify_types
Process types that occur within a signature string ``s`` and simplify them. This function applies the following rules: - "lo
src/stubgen.py:704
↓ 4 callersMethodsize
include/nanobind/ndarray.h:448
↓ 4 callersFunctionstrexc
Excise a substring from 's'
src/nb_func.cpp:1786
↓ 4 callersMethodsum
docs/cppyy.h:15
↓ 4 callersFunctiontest_conv
(x)
tests/test_ndarray.py:1146
↓ 4 callersFunctiontry_cast
include/nanobind/nb_cast.h:640
↓ 4 callersFunctiontype_check
include/nanobind/nb_class.h:324
↓ 4 callersFunctiontype_var
include/nanobind/typing.h:22
↓ 4 callersMethodupdate
include/nanobind/nb_types.h:602
↓ 4 callersFunctionwrap
include/nanobind/stl/bind_vector.h:23
↓ 3 callersMethodMapCnt
tests/test_stl_bind_map.cpp:28
↓ 3 callersMethodPooledTraverse
tests/test_classes.cpp:132
↓ 3 callersMethodapply
include/nanobind/nb_func.h:46
↓ 3 callersFunctionassert_same_array
(a, b)
tests/test_eigen.py:464
↓ 3 callersFunctionbuiltins
include/nanobind/nb_types.h:736
↓ 3 callersMethodbyte_offset
include/nanobind/ndarray.h:445
↓ 3 callersFunctioncapsule_new
src/common.cpp:83
↓ 3 callersMethodcompute
include/nanobind/nb_types.h:758
↓ 3 callersFunctioncreate_spmat_unsorted
()
tests/test_eigen.py:262
↓ 3 callersMethoddata_ref
tests/test_ndarray.cpp:602
↓ 3 callersFunctiondel
include/nanobind/nb_types.h:1021
↓ 3 callersMethoddeleter
Instance should be cleared using a delete expression
include/nanobind/stl/unique_ptr.h:20
↓ 3 callersFunctiondict_getitem_or_default
src/common.cpp:1317
↓ 3 callersFunctioneval
include/nanobind/eval.h:29
↓ 3 callersMethodexpr_str
Attempt to convert a value into valid Python syntax that regenerates that value. When ``abbrev`` is True, the implementation gives up
src/stubgen.py:1072
↓ 3 callersFunctionfalse_ref
include/nanobind/nb_lib.h:582
↓ 3 callersFunctionfilter_getter
include/nanobind/nb_class.h:568
↓ 3 callersFunctionfilter_setter
include/nanobind/nb_class.h:572
↓ 3 callersFunctionfmix64
src/hash.h:26
↓ 3 callersMethodfrom_python
Generating an expression template from a Python object is, of course, not possible
include/nanobind/eigen/dense.h:223
↓ 3 callersMethodfrom_python
include/nanobind/stl/detail/nb_dict.h:26
↓ 3 callersFunctiongetitem_or_raise
src/common.cpp:462
↓ 3 callersFunctioninit_internals
Create lifeline + internal types if needed
src/nb_internals.cpp:265
↓ 3 callersFunctioninit_pyobjects
Populate this library's static_pyobjects[]
src/nb_internals.cpp:238
↓ 3 callersFunctioninst_alloc
include/nanobind/nb_class.h:337
↓ 3 callersFunctioninst_check
Low level access to nanobind instance objects
include/nanobind/nb_class.h:333
↓ 3 callersFunctioninst_new_ext
Allocate memory for a nb_type instance with external storage. In contrast to 'inst_new_int()', this does not yet register the instance in the internal
src/nb_type.cpp:165
↓ 3 callersFunctioninst_register
Register the object constructed by 'inst_new_ext()' in the internal data structures
src/nb_type.cpp:232
← previousnext →101–200 of 1,594, ranked by callers