test program
This commit is contained in:
parent
318aefb134
commit
0977b58bfd
14
main.go
14
main.go
@ -19,8 +19,8 @@ const (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var (
|
var (
|
||||||
test [8]byte = [8]byte{0x00, 0x00, 0x4f, 0x00, 0x00, 0x00, 0x00, 0x00}
|
test [8]byte = [8]byte{0x00, 0x00, 0x52, 0x00, 0x00, 0x00, 0x00, 0x00}
|
||||||
test1 [8]byte = [8]byte{0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00}
|
test1 [8]byte = [8]byte{0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x00, 0x00}
|
||||||
unpress [8]byte = [8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
unpress [8]byte = [8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
||||||
write []byte
|
write []byte
|
||||||
)
|
)
|
||||||
@ -40,16 +40,6 @@ func main() {
|
|||||||
|
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
for i := 1; i <= 1000; i++ {
|
for i := 1; i <= 1000; i++ {
|
||||||
write = append(write, test[:]...)
|
|
||||||
write = append(write, unpress[:]...)
|
|
||||||
write = append(write, test[:]...)
|
|
||||||
write = append(write, unpress[:]...)
|
|
||||||
write = append(write, test[:]...)
|
|
||||||
write = append(write, unpress[:]...)
|
|
||||||
write = append(write, test[:]...)
|
|
||||||
write = append(write, unpress[:]...)
|
|
||||||
write = append(write, test[:]...)
|
|
||||||
write = append(write, unpress[:]...)
|
|
||||||
write = append(write, test[:]...)
|
write = append(write, test[:]...)
|
||||||
write = append(write, unpress[:]...)
|
write = append(write, unpress[:]...)
|
||||||
write = append(write, test1[:]...)
|
write = append(write, test1[:]...)
|
||||||
|
Loading…
Reference in New Issue
Block a user