Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PiSCSI/piscsi
/ SetByteTransfer
Method
SetByteTransfer
cpp/controllers/abstract_controller.cpp:36–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
void AbstractController::SetByteTransfer(bool b)
37
{
38
is_byte_transfer = b;
39
40
if (!is_byte_transfer) {
41
bytes_to_transfer = 0;
42
}
43
}
44
45
unordered_set<shared_ptr<PrimaryDevice>> AbstractController::GetDevices() const
46
{
Callers
2
Print
Method · 0.80
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64