MCPcopy Index your code

hub / github.com/wjakob/nanobind / functions

Functions1,594 in github.com/wjakob/nanobind

↓ 315 callersMethodptr
include/nanobind/nb_accessor.h:44
↓ 120 callersMethodattr
include/nanobind/nb_accessor.h:228
↓ 95 callersFunctionraise_python_error
src/common.cpp:104
↓ 92 callersFunctioncollect
()
tests/common.py:9
↓ 86 callersFunctionlen
include/nanobind/nb_types.h:720
↓ 66 callersFunctionisinstance
include/nanobind/nb_misc.h:114
↓ 65 callersMethodsize
include/nanobind/nb_types.h:617
↓ 63 callersMethodrelease
src/common.cpp:119
↓ 62 callersMethodappend
include/nanobind/nb_cast.h:707
↓ 59 callersMethodis_valid
include/nanobind/nb_types.h:109
↓ 58 callersMethodvalue
tests/test_intrusive.cpp:19
↓ 54 callersMethodput
(self, value: object, name: Optional[str] = None, parent: Optional[object] = None)
src/stubgen.py:890
↓ 53 callersFunctiontype
include/nanobind/nb_types.h:701
↓ 52 callersFunctionconst_name
include/nanobind/nb_descr.h:49
↓ 52 callersFunctionrepr
include/nanobind/nb_types.h:719
↓ 48 callersFunctionfail
tests/test_stl.cpp:101
↓ 46 callersFunctionprint
src/common.cpp:928
↓ 40 callersFunctionassert_stats
(**kwargs)
tests/test_stl.py:29
↓ 39 callersMethodreset
Clear the currently stored reference
include/nanobind/intrusive/ref.h:77
↓ 36 callersFunctionnb_type_data
Fetch the nanobind type record from a 'nb_type' instance
src/nb_internals.h:632
↓ 35 callersFunctioncast
include/nanobind/nb_cast.h:627
↓ 34 callersMethodshape
include/nanobind/ndarray.h:437
↓ 32 callersMethod__dlpack__
(self)
tests/test_ndarray.py:291
↓ 31 callersMethodend
include/nanobind/nb_types.h:888
↓ 31 callersFunctionmake_tuple
include/nanobind/nb_cast.h:676
↓ 30 callersFunctionissubclass
src/common.cpp:1277
↓ 29 callersFunctionassert_stats
(**kwargs)
tests/test_classes.py:21
↓ 29 callersMethoditems
include/nanobind/nb_types.h:590
↓ 28 callersFunctionfrom_cpp
include/nanobind/stl/chrono.h:83
↓ 26 callersMethodget
tests/test_classes.cpp:112
↓ 24 callersFunctiongetattr
src/common.cpp:333
↓ 23 callersMethoddata
include/nanobind/nb_types.h:486
↓ 22 callersMethodc_str
include/nanobind/nb_types.h:469
↓ 22 callersFunctioninst_ptr
src/nb_internals.h:646
↓ 22 callersFunctionnb_func_data
Fetch the nanobind function record from a 'nb_func' instance
src/nb_internals.h:627
↓ 21 callersMethodend
tests/test_make_iterator.cpp:11
↓ 21 callersMethodwrite
Append raw characters to the output
src/stubgen.py:305
↓ 21 callersMethodwrite_ln
Append an indented line
src/stubgen.py:309
↓ 20 callersMethodMovable
tests/test_stl.cpp:31
↓ 20 callersMethodimport_object
Import a type (e.g. typing.Optional) used within the stub, ensuring that this does not cause conflicts. Specify ``as_name`` to ensure
src/stubgen.py:1008
↓ 19 callersMethodget
Generate the final stub output
src/stubgen.py:1289
↓ 18 callersMethodStruct
tests/test_classes.cpp:34
↓ 18 callersMethodclear
include/nanobind/nb_types.h:620
↓ 18 callersFunctionfail
src/common.cpp:69
↓ 18 callersMethodinsert
include/nanobind/nb_cast.h:713
↓ 18 callersFunctionnone
include/nanobind/nb_types.h:735
↓ 17 callersMethodbegin
include/nanobind/nb_types.h:884
↓ 17 callersFunctionset_from_int_attr
Set *dest to the integer value of getattr(o, name). Returns true on success, false and sets the Python error indicator on failure. The attribute value
include/nanobind/stl/detail/chrono.h:109
↓ 15 callersMethoddata
tests/test_ndarray.cpp:659
↓ 14 callersMethodExample
tests/test_holders.cpp:21
↓ 14 callersFunctioncount_op
(ops, expected)
tests/test_specialization.py:26
↓ 14 callersMethodwhat
src/error.cpp:123
↓ 13 callersMethodndim
include/nanobind/ndarray.h:436
↓ 13 callersMethodrestore
src/error.cpp:63
↓ 13 callersFunctionstrdup_check
src/nb_func.cpp:192
↓ 13 callersMethodview
include/nanobind/ndarray.h:469
↓ 12 callersMethodCopyable
tests/test_stl.cpp:43
↓ 12 callersMethodfrom_python
include/nanobind/nb_cast.h:482
↓ 12 callersMethodinc_ref
include/nanobind/nb_types.h:871
↓ 12 callersMethodis
include/nanobind/nb_types.h:880
↓ 12 callersFunctionnb_type_c2p
src/nb_type.cpp:534
↓ 11 callersMethodbegin
tests/test_make_iterator.cpp:10
↓ 11 callersFunctioncpp_function
include/nanobind/nb_func.h:358
↓ 11 callersFunctionfrom_cpp
include/nanobind/nb_cast.h:177
↓ 11 callersFunctionraise
src/common.cpp:40
↓ 11 callersMethodvalue
tests/test_classes.cpp:42
↓ 10 callersMethodcontains
include/nanobind/nb_cast.h:719
↓ 10 callersFunctioninst_ready
include/nanobind/nb_class.h:357
↓ 10 callersFunctionnone_ref
include/nanobind/nb_lib.h:580
↓ 10 callersFunctionparallelize
(func, n_threads)
tests/common.py:26
↓ 10 callersMethodtype
include/nanobind/nb_types.h:867
↓ 10 callersMethodvalues
include/nanobind/nb_types.h:589
↓ 9 callersFunctioncase
(arg1, arg2, expect_ret)
tests/test_functions.py:741
↓ 9 callersFunctionconcat
include/nanobind/nb_descr.h:115
↓ 9 callersMethodlookups
tests/test_classes.cpp:207
↓ 9 callersFunctionsetattr
src/common.cpp:426
↓ 9 callersFunctiontype_name
Return a readable string representation of a C++ type
src/nb_func.cpp:1797
↓ 8 callersMethodUniqueInt
tests/test_classes.cpp:210
↓ 8 callersMethodadd
include/nanobind/nb_cast.h:735
↓ 8 callersMethoddtype
include/nanobind/ndarray.h:435
↓ 8 callersMethodextend
include/nanobind/nb_types.h:560
↓ 8 callersMethodfrom_python
include/nanobind/eigen/tensor.h:280
↓ 8 callersMethodis_none
include/nanobind/nb_types.h:107
↓ 8 callersFunctionload_int
src/common.cpp:1073
↓ 8 callersMethodname
tests/test_classes.cpp:439
↓ 8 callersFunctionnb_inst_name
src/nb_type.cpp:2562
↓ 8 callersFunctionp
(a)
tests/test_ndarray.py:775
↓ 8 callersMethodstore_release
src/nb_internals.h:338
↓ 8 callersMethodtype_str
Attempt to convert a type into a Python expression which reproduces it
src/stubgen.py:1225
↓ 8 callersFunctionunion
(*args: str)
tests/test_stl.py:16
↓ 7 callersMethodCnt
tests/test_stl_bind_vector.cpp:12
↓ 7 callersMethodget
Return a pointer to the referenced object
include/nanobind/intrusive/ref.h:113
↓ 7 callersMethodkeys
include/nanobind/nb_types.h:588
↓ 7 callersFunctionnb_type_check
src/nb_type.cpp:2350
↓ 7 callersFunctionndarray_dec_ref
src/nb_ndarray.cpp:1041
↓ 7 callersFunctionndarray_inc_ref
src/nb_ndarray.cpp:1005
↓ 7 callersFunctionoptional
(arg: str, /)
tests/test_stl.py:9
↓ 7 callersMethodstride
include/nanobind/ndarray.h:438
↓ 6 callersMethodEl
tests/test_stl_bind_vector.cpp:34
↓ 6 callersFunctionassert_sparse_equal_ref
(sparse_mat)
tests/test_eigen.py:296
next →1–100 of 1,594, ranked by callers