Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JoshuaDoes/tensor-usbdl
/ functions
Functions
56 in github.com/JoshuaDoes/tensor-usbdl
⨍
Functions
56
◇
Types & classes
4
↓ 13 callers
Method
Closed
()
dnw.go:307
↓ 11 callers
Function
readFile
(file string)
cmd/tensor-usbdl/utils.go:13
↓ 7 callers
Method
Write
(p []byte)
dnw.go:272
↓ 6 callers
Method
Bytes
()
message.go:56
↓ 4 callers
Method
Set
(brand, model, variant string)
cmd/tensor-usbdl/identify.go:13
↓ 4 callers
Method
close
()
dnw.go:297
↓ 3 callers
Method
Device
()
message.go:49
↓ 3 callers
Function
NewMessage
(bytes []byte)
message.go:14
↓ 3 callers
Method
WriteCmd
(cmd *Command)
dnw.go:200
↓ 3 callers
Function
writeRaw
(dnw *tensorutils.DNW, cmd, arg, bytes []byte)
cmd/tensor-usbdl/utils.go:21
↓ 2 callers
Method
Arg
()
command.go:47
↓ 2 callers
Method
Argument
()
message.go:52
↓ 2 callers
Method
CRC
()
command.go:55
↓ 2 callers
Method
CRCLen
()
command.go:71
↓ 2 callers
Method
Close
()
dnw.go:292
↓ 2 callers
Method
Cmd
()
command.go:43
↓ 2 callers
Method
CmdLen
()
command.go:59
↓ 2 callers
Method
Command
()
message.go:43
↓ 2 callers
Method
Data
()
command.go:51
↓ 2 callers
Method
DataLen
()
command.go:67
↓ 2 callers
Method
GetID
()
dnw.go:337
↓ 2 callers
Function
Identify
(id string)
cmd/tensor-usbdl/identify.go:35
↓ 2 callers
Function
NewCommand
(cmd, arg, data, crc []byte)
command.go:15
↓ 2 callers
Method
Read
(p []byte)
dnw.go:157
↓ 2 callers
Method
String
()
cmd/tensor-usbdl/identify.go:20
↓ 2 callers
Method
SubCommand
()
message.go:46
↓ 2 callers
Function
pathJoin
(paths ...string)
cmd/tensor-usbdl/utils.go:92
↓ 2 callers
Method
read
(r *crunchio.Buffer, p []byte)
dnw.go:166
↓ 2 callers
Method
write
(p []byte)
dnw.go:281
↓ 1 callers
Method
ArgLen
()
command.go:63
↓ 1 callers
Method
Bytes
()
command.go:24
↓ 1 callers
Method
Free
()
dnw.go:310
↓ 1 callers
Method
GetPID
()
dnw.go:351
↓ 1 callers
Method
GetPort
()
dnw.go:325
↓ 1 callers
Method
GetSerial
()
dnw.go:331
↓ 1 callers
Method
GetUSB
()
dnw.go:357
↓ 1 callers
Method
GetVID
()
dnw.go:345
↓ 1 callers
Method
ReadMsg
()
dnw.go:103
↓ 1 callers
Method
WriteMsg
(msg *Message)
dnw.go:206
↓ 1 callers
Function
checksum
(bytes []byte)
cmd/tensor-usbdl/utils.go:36
↓ 1 callers
Function
closeGhostsDNW
()
dnw.go:74
↓ 1 callers
Function
getDevice
(vid, pid string)
devices.go:26
↓ 1 callers
Function
isDir
(paths ...string)
cmd/tensor-usbdl/utils.go:70
↓ 1 callers
Method
readMsg
(r *crunchio.Buffer)
dnw.go:111
↓ 1 callers
Method
readThread
()
dnw.go:169
↓ 1 callers
Function
refreshDevices
()
devices.go:15
↓ 1 callers
Function
usage
()
cmd/tensor-usbdl/main.go:94
Method
GetBuffer
()
dnw.go:318
Function
GetDNW
GetDNW finds the next device known to be compatible with DNW and claims it
dnw.go:22
Method
Len
()
command.go:75
Function
RegisterDevicePairDNW
(vid, pid string)
dnw.go:61
Method
String
()
message.go:60
Function
bumpUint16
(b []byte)
cmd/tensor-usbdl/utils.go:62
Function
bumpUint32
(b []byte)
cmd/tensor-usbdl/utils.go:54
Function
isFile
(paths ...string)
cmd/tensor-usbdl/utils.go:81
Function
main
()
cmd/tensor-usbdl/main.go:153