Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ PyDrvd
Class
PyDrvd
tests/test_class_sh_trampoline_basic.py:6–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
5
6
class
PyDrvd(m.Abase):
7
def
__init__(self, val):
8
super().__init__(val)
9
10
def
Add(self, other_val):
11
return
self.Get() * 100 + other_val
12
13
14
def
test_drvd_add():
Callers
4
test_drvd_add
Function · 0.85
test_drvd_add_in_cpp_raw_ptr
Function · 0.85
test_drvd_add_in_cpp_shared_ptr
Function · 0.85
test_drvd_add_in_cpp_unique_ptr
Function · 0.85
Calls
no outgoing calls
Tested by
4
test_drvd_add
Function · 0.68
test_drvd_add_in_cpp_raw_ptr
Function · 0.68
test_drvd_add_in_cpp_shared_ptr
Function · 0.68
test_drvd_add_in_cpp_unique_ptr
Function · 0.68