MCPcopy 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
36void AbstractController::SetByteTransfer(bool b)
37{
38 is_byte_transfer = b;
39
40 if (!is_byte_transfer) {
41 bytes_to_transfer = 0;
42 }
43}
44
45unordered_set<shared_ptr<PrimaryDevice>> AbstractController::GetDevices() const
46{

Callers 2

PrintMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64