MCPcopy Create free account

hub / github.com/cythonbook/examples / functions

Functions754 in github.com/cythonbook/examples

↓ 2 callersFunctionreport_energy
(bodies, pairs)
04-n-body/01-original-python/nbody.py:83
↓ 2 callersFunctionscale_bodies
* Rescale certain properties of bodies. That allows doing * consequential advance()'s as if dt were equal to 1.0. * * When all advances done, resca
04-n-body/03-pure-c/nbody.c:143
↓ 2 callersFunctionspectral_norm
(n)
11-spectral-norm/01-pure-python/spectral_norm.py:45
↓ 2 callersFunctionswap
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/shared_ptr_nmt.hpp:168
↓ 2 callersFunctionswap
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/shared_array_nmt.hpp:144
↓ 2 callersMethodswap
08-wrapping-cxx/08-smart-pointers/boost/detail/ob_compressed_pair.hpp:489
↓ 2 callersMethodswap
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/scoped_array.hpp:92
↓ 2 callersMethodunique
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_array.hpp:118
↓ 2 callersFunctionupper_bound
08-wrapping-cxx/08-smart-pointers/boost/detail/binary_search.hpp:87
↓ 2 callersMethoduse_count
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/shared_ptr_nmt.hpp:131
↓ 1 callersFunctionA_times_u
(u, v)
11-spectral-norm/01-pure-python/spectral_norm.py:18
↓ 1 callersFunctionAt_times_u
(u, v)
11-spectral-norm/01-pure-python/spectral_norm.py:29
↓ 1 callersFunctionadvance
(dt, n, bodies, pairs)
04-n-body/01-original-python/nbody.py:60
↓ 1 callersFunctionadvance
* Here's one weird thing: inlining of this function * decreases performance by 25%. (I.e. do not compile this with -O3) * Advances with dt == 1.0 *
04-n-body/03-pure-c/nbody.c:27
↓ 1 callersFunctionatomic_compare_exchange
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_ptr.hpp:672
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp:55
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp:68
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp:47
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp:79
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp:61
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp:77
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:69
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_spin.hpp:45
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp:71
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp:57
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_sync.hpp:51
↓ 1 callersFunctionatomic_conditional_increment
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/sp_counted_base_aix.hpp:53
↓ 1 callersFunctionatomic_exchange
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_ptr.hpp:656
↓ 1 callersFunctionatomic_load
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_ptr.hpp:634
↓ 1 callersFunctionatomic_store
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_ptr.hpp:645
↓ 1 callersMethodbefore
08-wrapping-cxx/08-smart-pointers/boost/detail/sp_typeinfo.hpp:56
↓ 1 callersFunctionclone_current_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/clone_current_exception.hpp:34
↓ 1 callersFunctioncombinations
(l)
04-n-body/01-original-python/nbody.py:11
↓ 1 callersFunctioncurrent_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:429
↓ 1 callersFunctioncurrent_exception_diagnostic_information
08-wrapping-cxx/08-smart-pointers/boost/exception/diagnostic_information.hpp:37
↓ 1 callersFunctioncurrent_exception_impl
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:296
↓ 1 callersFunctioncurrent_exception_unknown_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:272
↓ 1 callersFunctioncurrent_exception_unknown_std_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:286
↓ 1 callersFunctiondiagnostic_information
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:468
↓ 1 callersMethoddiagnostic_information
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:107
↓ 1 callersFunctioneval_A_times_u
11-spectral-norm/03-pure-c/spectralnorm.c:16
↓ 1 callersFunctioneval_At_times_u
11-spectral-norm/03-pure-c/spectralnorm.c:26
↓ 1 callersFunctionfib
(n)
01-essentials/03-timings/fib.py:1
↓ 1 callersFunctionfib
(n)
01-essentials/01-comparing-python-c-and-cython/_01_fib.py:1
↓ 1 callersFunctionfib
(n)
01-essentials/01-comparing-python-c-and-cython/fib.py:1
↓ 1 callersMethodget
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:92
↓ 1 callersMethodget
08-wrapping-cxx/08-smart-pointers/boost/detail/reference_content.hpp:66
↓ 1 callersFunctionget_boost_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/diagnostic_information.hpp:57
↓ 1 callersFunctionget_std_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/diagnostic_information.hpp:71
↓ 1 callersMethodlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_gcc_arm.hpp:81
↓ 1 callersMethodlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_sync.hpp:44
↓ 1 callersMethodlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_nt.hpp:47
↓ 1 callersMethodlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_w32.hpp:69
↓ 1 callersFunctionmain
(n, bodies=BODIES, ref='sun')
04-n-body/01-original-python/nbody.py:110
↓ 1 callersFunctionmain
04-n-body/03-pure-c/nbody.c:154
↓ 1 callersFunctionobject_hex_dump
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/object_hex_dump.hpp:29
↓ 1 callersFunctionobject_representation
08-wrapping-cxx/08-smart-pointers/boost/detail/dynamic_bitset.hpp:30
↓ 1 callersFunctionoffset_momentum
(ref, bodies)
04-n-body/01-original-python/nbody.py:97
↓ 1 callersFunctionoffset_momentum
04-n-body/03-pure-c/nbody.c:77
↓ 1 callersFunctionpthread_create
08-wrapping-cxx/08-smart-pointers/boost/detail/lightweight_thread.hpp:36
↓ 1 callersMethodrelease
08-wrapping-cxx/08-smart-pointers/boost/exception/exception.hpp:75
↓ 1 callersFunctionreport_errors
08-wrapping-cxx/08-smart-pointers/boost/detail/lightweight_test.hpp:116
↓ 1 callersMethodrethrow
08-wrapping-cxx/08-smart-pointers/boost/exception/exception.hpp:463
↓ 1 callersFunctionrethrow_exception
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:452
↓ 1 callersMethodset
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:84
↓ 1 callersMethodset_deleter
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/enable_shared_from_this2.hpp:38
↓ 1 callersFunctionswap
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_array.hpp:161
↓ 1 callersMethodswap
08-wrapping-cxx/08-smart-pointers/boost/detail/compressed_pair.hpp:378
↓ 1 callersFunctionthrow_exception_assert_compatibility
08-wrapping-cxx/08-smart-pointers/boost/throw_exception.hpp:58
↓ 1 callersFunctionto_string
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:26
↓ 1 callersFunctionto_string
08-wrapping-cxx/08-smart-pointers/boost/exception/to_string.hpp:48
↓ 1 callersFunctionto_string_stub
08-wrapping-cxx/08-smart-pointers/boost/exception/to_string_stub.hpp:90
↓ 1 callersMethodunlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_gcc_arm.hpp:89
↓ 1 callersMethodunlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_sync.hpp:52
↓ 1 callersMethodunlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_nt.hpp:53
↓ 1 callersMethodunlock
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/spinlock_w32.hpp:77
↓ 1 callersFunctionuse_count
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/detail/shared_count.hpp:355
Method error_info
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:34
Method tag_typeid_name
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:49
Method value_as_string
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:58
Method ~error_info
08-wrapping-cxx/08-smart-pointers/boost/exception/info.hpp:42
Method ~exception
08-wrapping-cxx/08-smart-pointers/boost/exception/exception.hpp:274
MethodBOOST_PP_REPEAT
08-wrapping-cxx/08-smart-pointers/boost/mpl/string.hpp:536
MethodBOOST_PREVENT_MACRO_SUBSTITUTION
08-wrapping-cxx/08-smart-pointers/boost/detail/limits.hpp:98
MethodBOOST_PREVENT_MACRO_SUBSTITUTION
08-wrapping-cxx/08-smart-pointers/boost/detail/limits.hpp:153
MethodBOOST_PREVENT_MACRO_SUBSTITUTION
08-wrapping-cxx/08-smart-pointers/boost/detail/limits.hpp:377
MethodBOOST_PREVENT_MACRO_SUBSTITUTION
08-wrapping-cxx/08-smart-pointers/boost/detail/limits.hpp:405
MethodBOOST_PREVENT_MACRO_SUBSTITUTION
08-wrapping-cxx/08-smart-pointers/boost/detail/limits.hpp:433
FunctionGetCurrentThread
Windows CE define GetCurrentThread as an inline function in kfuncs.h
08-wrapping-cxx/08-smart-pointers/boost/detail/win/GetCurrentThread.hpp:19
FunctionMAKELANGID_
user default
08-wrapping-cxx/08-smart-pointers/boost/detail/win/error_handling.hpp:34
MethodMT_RNG
08-wrapping-cxx/04-stack-heap-allocation/mt19937.cpp:8
MethodMT_RNG
08-wrapping-cxx/02-overloaded-methods-and-functions/mt19937.cpp:8
MethodMT_RNG
08-wrapping-cxx/03-cxx-exceptions/mt19937.cpp:8
MethodMT_RNG
08-wrapping-cxx/01-simple-example-mt_rng-class/mt19937.cpp:8
Function_empty
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/weak_ptr.hpp:181
Method_internal_accept_owner
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/enable_shared_from_this2.hpp:107
Function_internal_assign
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/weak_ptr.hpp:197
Function_internal_equiv
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_ptr.hpp:467
Function_internal_get_deleter
08-wrapping-cxx/08-smart-pointers/boost/smart_ptr/shared_ptr.hpp:462
Methodadd_original_type
08-wrapping-cxx/08-smart-pointers/boost/exception/detail/exception_ptr.hpp:178
← previousnext →101–200 of 754, ranked by callers