mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
internal/t544: add //go:noescape
This commit is contained in:
parent
91b4394d9b
commit
1ed675d5bf
@ -23,25 +23,35 @@ var crc32Table = func() (tab crc32.Table) {
|
|||||||
return
|
return
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func tencentCrc32(tab *crc32.Table, b []byte) uint32
|
func tencentCrc32(tab *crc32.Table, b []byte) uint32
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func sub_a([]byte, []uint32)
|
func sub_a([]byte, []uint32)
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func sub_b([]byte, []uint32)
|
func sub_b([]byte, []uint32)
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func sub_c(*[16][16]byte, []byte)
|
func sub_c(*[16][16]byte, []byte)
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func sub_d(*[16]byte, []byte)
|
func sub_d(*[16]byte, []byte)
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func sub_e(*[256][6]byte, []byte)
|
func sub_e(*[256][6]byte, []byte)
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func sub_f(*[16]byte, *[15]uint32, *[16][16]byte) (w [44]uint32)
|
func sub_f(*[16]byte, *[15]uint32, *[16][16]byte) (w [44]uint32)
|
||||||
|
|
||||||
func sub_aa(int, *[16][2][16][16]byte, *[16]byte, []byte) byte
|
func sub_aa(int, *[16][2][16][16]byte, *[16]byte, []byte) byte
|
||||||
|
|
||||||
// transformInner see com/tencent/mobileqq/dt/model/FEBound
|
// transformInner see com/tencent/mobileqq/dt/model/FEBound
|
||||||
|
//
|
||||||
|
//go:noescape
|
||||||
func transformInner(*[0x15]byte, *[32][16]byte)
|
func transformInner(*[0x15]byte, *[32][16]byte)
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func initState(*state, []byte, []byte, uint64)
|
func initState(*state, []byte, []byte, uint64)
|
||||||
|
|
||||||
func (c *state) init(key []byte, data []byte, counter uint64, nr uint8) {
|
func (c *state) init(key []byte, data []byte, counter uint64, nr uint8) {
|
||||||
@ -50,4 +60,5 @@ func (c *state) init(key []byte, data []byte, counter uint64, nr uint8) {
|
|||||||
initState(c, key, data, counter)
|
initState(c, key, data, counter)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//go:noescape
|
||||||
func refreshState(c *state)
|
func refreshState(c *state)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user