Browse Source

Bump golang.org/x/crypto from 0.5.0 to 0.17.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.5.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
tags/v2.13.0-rc1
dependabot[bot] 4 months ago
parent
commit
16ab0a67b5
No account linked to committer's email address
100 changed files with 63 additions and 201 deletions
  1. 4
    4
      go.mod
  2. 12
    11
      go.sum
  3. 0
    1
      vendor/golang.org/x/crypto/sha3/hashes_generic.go
  4. 0
    1
      vendor/golang.org/x/crypto/sha3/keccakf.go
  5. 0
    1
      vendor/golang.org/x/crypto/sha3/keccakf_amd64.go
  6. 2
    3
      vendor/golang.org/x/crypto/sha3/keccakf_amd64.s
  7. 0
    1
      vendor/golang.org/x/crypto/sha3/register.go
  8. 9
    5
      vendor/golang.org/x/crypto/sha3/sha3.go
  9. 6
    5
      vendor/golang.org/x/crypto/sha3/sha3_s390x.go
  10. 0
    1
      vendor/golang.org/x/crypto/sha3/sha3_s390x.s
  11. 14
    15
      vendor/golang.org/x/crypto/sha3/shake.go
  12. 0
    1
      vendor/golang.org/x/crypto/sha3/shake_generic.go
  13. 0
    1
      vendor/golang.org/x/crypto/sha3/xor.go
  14. 0
    2
      vendor/golang.org/x/crypto/sha3/xor_unaligned.go
  15. 0
    1
      vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s
  16. 4
    1
      vendor/golang.org/x/sys/cpu/cpu.go
  17. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_aix.go
  18. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_arm64.s
  19. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go
  20. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_gc_s390x.go
  21. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
  22. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go
  23. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_gccgo_s390x.go
  24. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c
  25. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go
  26. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_linux.go
  27. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go
  28. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
  29. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_linux_ppc64x.go
  30. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_loong64.go
  31. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_mips64x.go
  32. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_mipsx.go
  33. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_other_arm.go
  34. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_other_arm64.go
  35. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_other_mips64x.go
  36. 0
    3
      vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go
  37. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go
  38. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_ppc64x.go
  39. 1
    2
      vendor/golang.org/x/sys/cpu/cpu_riscv64.go
  40. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_s390x.s
  41. 0
    1
      vendor/golang.org/x/sys/cpu/cpu_wasm.go
  42. 7
    1
      vendor/golang.org/x/sys/cpu/cpu_x86.go
  43. 0
    2
      vendor/golang.org/x/sys/cpu/cpu_x86.s
  44. 0
    1
      vendor/golang.org/x/sys/cpu/endian_big.go
  45. 1
    2
      vendor/golang.org/x/sys/cpu/endian_little.go
  46. 2
    2
      vendor/golang.org/x/sys/cpu/hwcap_linux.go
  47. 0
    1
      vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go
  48. 0
    1
      vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go
  49. 0
    1
      vendor/golang.org/x/sys/cpu/syscall_aix_gccgo.go
  50. 0
    1
      vendor/golang.org/x/sys/cpu/syscall_aix_ppc64_gc.go
  51. 0
    30
      vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go
  52. 0
    1
      vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go
  53. 0
    1
      vendor/golang.org/x/sys/plan9/pwd_plan9.go
  54. 0
    1
      vendor/golang.org/x/sys/plan9/race.go
  55. 0
    1
      vendor/golang.org/x/sys/plan9/race0.go
  56. 0
    1
      vendor/golang.org/x/sys/plan9/str.go
  57. 0
    1
      vendor/golang.org/x/sys/plan9/syscall.go
  58. 0
    1
      vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go
  59. 0
    1
      vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go
  60. 0
    1
      vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go
  61. 0
    2
      vendor/golang.org/x/sys/unix/aliases.go
  62. 0
    1
      vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
  63. 0
    2
      vendor/golang.org/x/sys/unix/asm_bsd_386.s
  64. 0
    2
      vendor/golang.org/x/sys/unix/asm_bsd_amd64.s
  65. 0
    2
      vendor/golang.org/x/sys/unix/asm_bsd_arm.s
  66. 0
    2
      vendor/golang.org/x/sys/unix/asm_bsd_arm64.s
  67. 0
    2
      vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s
  68. 0
    2
      vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
  69. 0
    1
      vendor/golang.org/x/sys/unix/asm_linux_386.s
  70. 0
    1
      vendor/golang.org/x/sys/unix/asm_linux_amd64.s
  71. 0
    1
      vendor/golang.org/x/sys/unix/asm_linux_arm.s
  72. 0
    3
      vendor/golang.org/x/sys/unix/asm_linux_arm64.s
  73. 0
    3
      vendor/golang.org/x/sys/unix/asm_linux_loong64.s
  74. 0
    3
      vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
  75. 0
    3
      vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
  76. 0
    3
      vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
  77. 0
    2
      vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
  78. 0
    3
      vendor/golang.org/x/sys/unix/asm_linux_s390x.s
  79. 0
    1
      vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s
  80. 0
    1
      vendor/golang.org/x/sys/unix/asm_solaris_amd64.s
  81. 0
    3
      vendor/golang.org/x/sys/unix/asm_zos_s390x.s
  82. 0
    1
      vendor/golang.org/x/sys/unix/cap_freebsd.go
  83. 0
    1
      vendor/golang.org/x/sys/unix/constants.go
  84. 0
    1
      vendor/golang.org/x/sys/unix/dev_aix_ppc.go
  85. 0
    1
      vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
  86. 0
    1
      vendor/golang.org/x/sys/unix/dev_zos.go
  87. 0
    1
      vendor/golang.org/x/sys/unix/dirent.go
  88. 0
    1
      vendor/golang.org/x/sys/unix/endian_big.go
  89. 0
    1
      vendor/golang.org/x/sys/unix/endian_little.go
  90. 0
    1
      vendor/golang.org/x/sys/unix/env_unix.go
  91. 0
    1
      vendor/golang.org/x/sys/unix/epoll_zos.go
  92. 1
    2
      vendor/golang.org/x/sys/unix/fcntl.go
  93. 0
    1
      vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go
  94. 0
    1
      vendor/golang.org/x/sys/unix/fdset.go
  95. 0
    1
      vendor/golang.org/x/sys/unix/fstatfs_zos.go
  96. 0
    1
      vendor/golang.org/x/sys/unix/gccgo.go
  97. 0
    1
      vendor/golang.org/x/sys/unix/gccgo_c.c
  98. 0
    1
      vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
  99. 0
    1
      vendor/golang.org/x/sys/unix/ifreq_linux.go
  100. 0
    0
      vendor/golang.org/x/sys/unix/ioctl_linux.go

+ 4
- 4
go.mod View File

21
 	github.com/tidwall/buntdb v1.2.10
21
 	github.com/tidwall/buntdb v1.2.10
22
 	github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208
22
 	github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208
23
 	github.com/xdg-go/scram v1.0.2
23
 	github.com/xdg-go/scram v1.0.2
24
-	golang.org/x/crypto v0.5.0
25
-	golang.org/x/term v0.7.0
26
-	golang.org/x/text v0.6.0
24
+	golang.org/x/crypto v0.17.0
25
+	golang.org/x/term v0.15.0
26
+	golang.org/x/text v0.14.0
27
 	gopkg.in/yaml.v2 v2.4.0
27
 	gopkg.in/yaml.v2 v2.4.0
28
 )
28
 )
29
 
29
 
36
 	github.com/tidwall/rtred v0.1.2 // indirect
36
 	github.com/tidwall/rtred v0.1.2 // indirect
37
 	github.com/tidwall/tinyqueue v0.1.1 // indirect
37
 	github.com/tidwall/tinyqueue v0.1.1 // indirect
38
 	github.com/xdg-go/pbkdf2 v1.0.0 // indirect
38
 	github.com/xdg-go/pbkdf2 v1.0.0 // indirect
39
-	golang.org/x/sys v0.7.0 // indirect
39
+	golang.org/x/sys v0.15.0 // indirect
40
 )
40
 )
41
 
41
 
42
 replace github.com/gorilla/websocket => github.com/ergochat/websocket v1.4.2-oragono1
42
 replace github.com/gorilla/websocket => github.com/ergochat/websocket v1.4.2-oragono1

+ 12
- 11
go.sum View File

8
 github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
8
 github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
9
 github.com/ergochat/confusables v0.0.0-20201108231250-4ab98ab61fb1 h1:WLHTOodthVyv5NvYLIvWl112kSFv5IInKKrRN2qpons=
9
 github.com/ergochat/confusables v0.0.0-20201108231250-4ab98ab61fb1 h1:WLHTOodthVyv5NvYLIvWl112kSFv5IInKKrRN2qpons=
10
 github.com/ergochat/confusables v0.0.0-20201108231250-4ab98ab61fb1/go.mod h1:mov+uh1DPWsltdQnOdzn08UO9GsJ3MEvhtu0Ci37fdk=
10
 github.com/ergochat/confusables v0.0.0-20201108231250-4ab98ab61fb1/go.mod h1:mov+uh1DPWsltdQnOdzn08UO9GsJ3MEvhtu0Ci37fdk=
11
-github.com/ergochat/go-ident v0.0.0-20200511222032-830550b1d775 h1:QSJIdpr3HOzJDPwxT7hp7WbjoZcS+5GqVvsBscqChk0=
12
-github.com/ergochat/go-ident v0.0.0-20200511222032-830550b1d775/go.mod h1:d2qvgjD0TvGNSvUs+mZgX090RiJlrzUYW6vtANGOy3A=
13
 github.com/ergochat/go-ident v0.0.0-20230911071154-8c30606d6881 h1:+J5m88nvybxB5AnBVGzTXM/yHVytt48rXBGcJGzSbms=
11
 github.com/ergochat/go-ident v0.0.0-20230911071154-8c30606d6881 h1:+J5m88nvybxB5AnBVGzTXM/yHVytt48rXBGcJGzSbms=
14
 github.com/ergochat/go-ident v0.0.0-20230911071154-8c30606d6881/go.mod h1:ASYJtQujNitna6cVHsNQTGrfWvMPJ5Sa2lZlmsH65uM=
12
 github.com/ergochat/go-ident v0.0.0-20230911071154-8c30606d6881/go.mod h1:ASYJtQujNitna6cVHsNQTGrfWvMPJ5Sa2lZlmsH65uM=
15
 github.com/ergochat/irc-go v0.4.0 h1:0YibCKfAAtwxQdNjLQd9xpIEPisLcJ45f8FNsMHAuZc=
13
 github.com/ergochat/irc-go v0.4.0 h1:0YibCKfAAtwxQdNjLQd9xpIEPisLcJ45f8FNsMHAuZc=
44
 github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
42
 github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
45
 github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
43
 github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
46
 github.com/tidwall/assert v0.1.0 h1:aWcKyRBUAdLoVebxo95N7+YZVTFF/ASTr7BN4sLP6XI=
44
 github.com/tidwall/assert v0.1.0 h1:aWcKyRBUAdLoVebxo95N7+YZVTFF/ASTr7BN4sLP6XI=
45
+github.com/tidwall/assert v0.1.0/go.mod h1:QLYtGyeqse53vuELQheYl9dngGCJQ+mTtlxcktb+Kj8=
47
 github.com/tidwall/btree v1.4.2 h1:PpkaieETJMUxYNADsjgtNRcERX7mGc/GP2zp/r5FM3g=
46
 github.com/tidwall/btree v1.4.2 h1:PpkaieETJMUxYNADsjgtNRcERX7mGc/GP2zp/r5FM3g=
48
 github.com/tidwall/btree v1.4.2/go.mod h1:LGm8L/DZjPLmeWGjv5kFrY8dL4uVhMmzmmLYmsObdKE=
47
 github.com/tidwall/btree v1.4.2/go.mod h1:LGm8L/DZjPLmeWGjv5kFrY8dL4uVhMmzmmLYmsObdKE=
49
 github.com/tidwall/buntdb v1.2.10 h1:U/ebfkmYPBnyiNZIirUiWFcxA/mgzjbKlyPynFsPtyM=
48
 github.com/tidwall/buntdb v1.2.10 h1:U/ebfkmYPBnyiNZIirUiWFcxA/mgzjbKlyPynFsPtyM=
54
 github.com/tidwall/grect v0.1.4 h1:dA3oIgNgWdSspFzn1kS4S/RDpZFLrIxAZOdJKjYapOg=
53
 github.com/tidwall/grect v0.1.4 h1:dA3oIgNgWdSspFzn1kS4S/RDpZFLrIxAZOdJKjYapOg=
55
 github.com/tidwall/grect v0.1.4/go.mod h1:9FBsaYRaR0Tcy4UwefBX/UDcDcDy9V5jUcxHzv2jd5Q=
54
 github.com/tidwall/grect v0.1.4/go.mod h1:9FBsaYRaR0Tcy4UwefBX/UDcDcDy9V5jUcxHzv2jd5Q=
56
 github.com/tidwall/lotsa v1.0.2 h1:dNVBH5MErdaQ/xd9s769R31/n2dXavsQ0Yf4TMEHHw8=
55
 github.com/tidwall/lotsa v1.0.2 h1:dNVBH5MErdaQ/xd9s769R31/n2dXavsQ0Yf4TMEHHw8=
56
+github.com/tidwall/lotsa v1.0.2/go.mod h1:X6NiU+4yHA3fE3Puvpnn1XMDrFZrE9JO2/w+UMuqgR8=
57
 github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
57
 github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
58
 github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
58
 github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
59
 github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=
59
 github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=
68
 github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
68
 github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
69
 github.com/xdg-go/stringprep v1.0.2 h1:6iq84/ryjjeRmMJwxutI51F2GIPlP5BfTvXHeYjyhBc=
69
 github.com/xdg-go/stringprep v1.0.2 h1:6iq84/ryjjeRmMJwxutI51F2GIPlP5BfTvXHeYjyhBc=
70
 github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM=
70
 github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM=
71
-golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE=
72
-golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=
71
+golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
72
+golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
73
 golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
73
 golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
74
-golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw=
74
+golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
75
+golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
75
 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
76
 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
76
 golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
77
 golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
77
 golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
78
 golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
78
-golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
79
-golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
80
-golang.org/x/term v0.7.0 h1:BEvjmm5fURWqcfbSKTdpkDXYBrUS1c0m8agp14W48vQ=
81
-golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
79
+golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
80
+golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
81
+golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
82
+golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
82
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
83
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
83
 golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
84
 golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
84
-golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
85
-golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
85
+golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
86
+golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
86
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
87
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
87
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=
88
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=
88
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
89
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

+ 0
- 1
vendor/golang.org/x/crypto/sha3/hashes_generic.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !gc || purego || !s390x
5
 //go:build !gc || purego || !s390x
6
-// +build !gc purego !s390x
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 

+ 0
- 1
vendor/golang.org/x/crypto/sha3/keccakf.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !amd64 || purego || !gc
5
 //go:build !amd64 || purego || !gc
6
-// +build !amd64 purego !gc
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 

+ 0
- 1
vendor/golang.org/x/crypto/sha3/keccakf_amd64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build amd64 && !purego && gc
5
 //go:build amd64 && !purego && gc
6
-// +build amd64,!purego,gc
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 

+ 2
- 3
vendor/golang.org/x/crypto/sha3/keccakf_amd64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build amd64 && !purego && gc
5
 //go:build amd64 && !purego && gc
6
-// +build amd64,!purego,gc
7
 
6
 
8
 // This code was translated into a form compatible with 6a from the public
7
 // This code was translated into a form compatible with 6a from the public
9
 // domain sources at https://github.com/gvanas/KeccakCodePackage
8
 // domain sources at https://github.com/gvanas/KeccakCodePackage
320
 	MOVQ rDi, _si(oState); \
319
 	MOVQ rDi, _si(oState); \
321
 	MOVQ rDo, _so(oState)  \
320
 	MOVQ rDo, _so(oState)  \
322
 
321
 
323
-// func keccakF1600(state *[25]uint64)
322
+// func keccakF1600(a *[25]uint64)
324
 TEXT ·keccakF1600(SB), 0, $200-8
323
 TEXT ·keccakF1600(SB), 0, $200-8
325
-	MOVQ state+0(FP), rpState
324
+	MOVQ a+0(FP), rpState
326
 
325
 
327
 	// Convert the user state into an internal state
326
 	// Convert the user state into an internal state
328
 	NOTQ _be(rpState)
327
 	NOTQ _be(rpState)

+ 0
- 1
vendor/golang.org/x/crypto/sha3/register.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build go1.4
5
 //go:build go1.4
6
-// +build go1.4
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 

+ 9
- 5
vendor/golang.org/x/crypto/sha3/sha3.go View File

121
 	copyOut(d, d.buf)
121
 	copyOut(d, d.buf)
122
 }
122
 }
123
 
123
 
124
-// Write absorbs more data into the hash's state. It produces an error
125
-// if more data is written to the ShakeHash after writing
124
+// Write absorbs more data into the hash's state. It panics if any
125
+// output has already been read.
126
 func (d *state) Write(p []byte) (written int, err error) {
126
 func (d *state) Write(p []byte) (written int, err error) {
127
 	if d.state != spongeAbsorbing {
127
 	if d.state != spongeAbsorbing {
128
-		panic("sha3: write to sponge after read")
128
+		panic("sha3: Write after Read")
129
 	}
129
 	}
130
 	if d.buf == nil {
130
 	if d.buf == nil {
131
 		d.buf = d.storage.asBytes()[:0]
131
 		d.buf = d.storage.asBytes()[:0]
182
 }
182
 }
183
 
183
 
184
 // Sum applies padding to the hash state and then squeezes out the desired
184
 // Sum applies padding to the hash state and then squeezes out the desired
185
-// number of output bytes.
185
+// number of output bytes. It panics if any output has already been read.
186
 func (d *state) Sum(in []byte) []byte {
186
 func (d *state) Sum(in []byte) []byte {
187
+	if d.state != spongeAbsorbing {
188
+		panic("sha3: Sum after Read")
189
+	}
190
+
187
 	// Make a copy of the original hash so that caller can keep writing
191
 	// Make a copy of the original hash so that caller can keep writing
188
 	// and summing.
192
 	// and summing.
189
 	dup := d.clone()
193
 	dup := d.clone()
190
-	hash := make([]byte, dup.outputLen)
194
+	hash := make([]byte, dup.outputLen, 64) // explicit cap to allow stack allocation
191
 	dup.Read(hash)
195
 	dup.Read(hash)
192
 	return append(in, hash...)
196
 	return append(in, hash...)
193
 }
197
 }

+ 6
- 5
vendor/golang.org/x/crypto/sha3/sha3_s390x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc && !purego
5
 //go:build gc && !purego
6
-// +build gc,!purego
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 
49
 	buf       []byte          // care must be taken to ensure cap(buf) is a multiple of rate
48
 	buf       []byte          // care must be taken to ensure cap(buf) is a multiple of rate
50
 	rate      int             // equivalent to block size
49
 	rate      int             // equivalent to block size
51
 	storage   [3072]byte      // underlying storage for buf
50
 	storage   [3072]byte      // underlying storage for buf
52
-	outputLen int             // output length if fixed, 0 if not
51
+	outputLen int             // output length for full security
53
 	function  code            // KIMD/KLMD function code
52
 	function  code            // KIMD/KLMD function code
54
 	state     spongeDirection // whether the sponge is absorbing or squeezing
53
 	state     spongeDirection // whether the sponge is absorbing or squeezing
55
 }
54
 }
72
 		s.outputLen = 64
71
 		s.outputLen = 64
73
 	case shake_128:
72
 	case shake_128:
74
 		s.rate = 168
73
 		s.rate = 168
74
+		s.outputLen = 32
75
 	case shake_256:
75
 	case shake_256:
76
 		s.rate = 136
76
 		s.rate = 136
77
+		s.outputLen = 64
77
 	default:
78
 	default:
78
 		panic("sha3: unrecognized function code")
79
 		panic("sha3: unrecognized function code")
79
 	}
80
 	}
108
 // It never returns an error.
109
 // It never returns an error.
109
 func (s *asmState) Write(b []byte) (int, error) {
110
 func (s *asmState) Write(b []byte) (int, error) {
110
 	if s.state != spongeAbsorbing {
111
 	if s.state != spongeAbsorbing {
111
-		panic("sha3: write to sponge after read")
112
+		panic("sha3: Write after Read")
112
 	}
113
 	}
113
 	length := len(b)
114
 	length := len(b)
114
 	for len(b) > 0 {
115
 	for len(b) > 0 {
192
 // Sum appends the current hash to b and returns the resulting slice.
193
 // Sum appends the current hash to b and returns the resulting slice.
193
 // It does not change the underlying hash state.
194
 // It does not change the underlying hash state.
194
 func (s *asmState) Sum(b []byte) []byte {
195
 func (s *asmState) Sum(b []byte) []byte {
195
-	if s.outputLen == 0 {
196
-		panic("sha3: cannot call Sum on SHAKE functions")
196
+	if s.state != spongeAbsorbing {
197
+		panic("sha3: Sum after Read")
197
 	}
198
 	}
198
 
199
 
199
 	// Copy the state to preserve the original.
200
 	// Copy the state to preserve the original.

+ 0
- 1
vendor/golang.org/x/crypto/sha3/sha3_s390x.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc && !purego
5
 //go:build gc && !purego
6
-// +build gc,!purego
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 14
- 15
vendor/golang.org/x/crypto/sha3/shake.go View File

17
 
17
 
18
 import (
18
 import (
19
 	"encoding/binary"
19
 	"encoding/binary"
20
+	"hash"
20
 	"io"
21
 	"io"
21
 )
22
 )
22
 
23
 
23
-// ShakeHash defines the interface to hash functions that
24
-// support arbitrary-length output.
24
+// ShakeHash defines the interface to hash functions that support
25
+// arbitrary-length output. When used as a plain [hash.Hash], it
26
+// produces minimum-length outputs that provide full-strength generic
27
+// security.
25
 type ShakeHash interface {
28
 type ShakeHash interface {
26
-	// Write absorbs more data into the hash's state. It panics if input is
27
-	// written to it after output has been read from it.
28
-	io.Writer
29
+	hash.Hash
29
 
30
 
30
 	// Read reads more output from the hash; reading affects the hash's
31
 	// Read reads more output from the hash; reading affects the hash's
31
 	// state. (ShakeHash.Read is thus very different from Hash.Sum)
32
 	// state. (ShakeHash.Read is thus very different from Hash.Sum)
32
-	// It never returns an error.
33
+	// It never returns an error, but subsequent calls to Write or Sum
34
+	// will panic.
33
 	io.Reader
35
 	io.Reader
34
 
36
 
35
 	// Clone returns a copy of the ShakeHash in its current state.
37
 	// Clone returns a copy of the ShakeHash in its current state.
36
 	Clone() ShakeHash
38
 	Clone() ShakeHash
37
-
38
-	// Reset resets the ShakeHash to its initial state.
39
-	Reset()
40
 }
39
 }
41
 
40
 
42
 // cSHAKE specific context
41
 // cSHAKE specific context
81
 	return b[i-1:]
80
 	return b[i-1:]
82
 }
81
 }
83
 
82
 
84
-func newCShake(N, S []byte, rate int, dsbyte byte) ShakeHash {
85
-	c := cshakeState{state: &state{rate: rate, dsbyte: dsbyte}}
83
+func newCShake(N, S []byte, rate, outputLen int, dsbyte byte) ShakeHash {
84
+	c := cshakeState{state: &state{rate: rate, outputLen: outputLen, dsbyte: dsbyte}}
86
 
85
 
87
 	// leftEncode returns max 9 bytes
86
 	// leftEncode returns max 9 bytes
88
 	c.initBlock = make([]byte, 0, 9*2+len(N)+len(S))
87
 	c.initBlock = make([]byte, 0, 9*2+len(N)+len(S))
119
 	if h := newShake128Asm(); h != nil {
118
 	if h := newShake128Asm(); h != nil {
120
 		return h
119
 		return h
121
 	}
120
 	}
122
-	return &state{rate: rate128, dsbyte: dsbyteShake}
121
+	return &state{rate: rate128, outputLen: 32, dsbyte: dsbyteShake}
123
 }
122
 }
124
 
123
 
125
 // NewShake256 creates a new SHAKE256 variable-output-length ShakeHash.
124
 // NewShake256 creates a new SHAKE256 variable-output-length ShakeHash.
129
 	if h := newShake256Asm(); h != nil {
128
 	if h := newShake256Asm(); h != nil {
130
 		return h
129
 		return h
131
 	}
130
 	}
132
-	return &state{rate: rate256, dsbyte: dsbyteShake}
131
+	return &state{rate: rate256, outputLen: 64, dsbyte: dsbyteShake}
133
 }
132
 }
134
 
133
 
135
 // NewCShake128 creates a new instance of cSHAKE128 variable-output-length ShakeHash,
134
 // NewCShake128 creates a new instance of cSHAKE128 variable-output-length ShakeHash,
142
 	if len(N) == 0 && len(S) == 0 {
141
 	if len(N) == 0 && len(S) == 0 {
143
 		return NewShake128()
142
 		return NewShake128()
144
 	}
143
 	}
145
-	return newCShake(N, S, rate128, dsbyteCShake)
144
+	return newCShake(N, S, rate128, 32, dsbyteCShake)
146
 }
145
 }
147
 
146
 
148
 // NewCShake256 creates a new instance of cSHAKE256 variable-output-length ShakeHash,
147
 // NewCShake256 creates a new instance of cSHAKE256 variable-output-length ShakeHash,
155
 	if len(N) == 0 && len(S) == 0 {
154
 	if len(N) == 0 && len(S) == 0 {
156
 		return NewShake256()
155
 		return NewShake256()
157
 	}
156
 	}
158
-	return newCShake(N, S, rate256, dsbyteCShake)
157
+	return newCShake(N, S, rate256, 64, dsbyteCShake)
159
 }
158
 }
160
 
159
 
161
 // ShakeSum128 writes an arbitrary-length digest of data into hash.
160
 // ShakeSum128 writes an arbitrary-length digest of data into hash.

+ 0
- 1
vendor/golang.org/x/crypto/sha3/shake_generic.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !gc || purego || !s390x
5
 //go:build !gc || purego || !s390x
6
-// +build !gc purego !s390x
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 

+ 0
- 1
vendor/golang.org/x/crypto/sha3/xor.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (!amd64 && !386 && !ppc64le) || purego
5
 //go:build (!amd64 && !386 && !ppc64le) || purego
6
-// +build !amd64,!386,!ppc64le purego
7
 
6
 
8
 package sha3
7
 package sha3
9
 
8
 

+ 0
- 2
vendor/golang.org/x/crypto/sha3/xor_unaligned.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (amd64 || 386 || ppc64le) && !purego
5
 //go:build (amd64 || 386 || ppc64le) && !purego
6
-// +build amd64 386 ppc64le
7
-// +build !purego
8
 
6
 
9
 package sha3
7
 package sha3
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 4
- 1
vendor/golang.org/x/sys/cpu/cpu.go View File

38
 	HasAVX512F          bool // Advanced vector extension 512 Foundation Instructions
38
 	HasAVX512F          bool // Advanced vector extension 512 Foundation Instructions
39
 	HasAVX512CD         bool // Advanced vector extension 512 Conflict Detection Instructions
39
 	HasAVX512CD         bool // Advanced vector extension 512 Conflict Detection Instructions
40
 	HasAVX512ER         bool // Advanced vector extension 512 Exponential and Reciprocal Instructions
40
 	HasAVX512ER         bool // Advanced vector extension 512 Exponential and Reciprocal Instructions
41
-	HasAVX512PF         bool // Advanced vector extension 512 Prefetch Instructions Instructions
41
+	HasAVX512PF         bool // Advanced vector extension 512 Prefetch Instructions
42
 	HasAVX512VL         bool // Advanced vector extension 512 Vector Length Extensions
42
 	HasAVX512VL         bool // Advanced vector extension 512 Vector Length Extensions
43
 	HasAVX512BW         bool // Advanced vector extension 512 Byte and Word Instructions
43
 	HasAVX512BW         bool // Advanced vector extension 512 Byte and Word Instructions
44
 	HasAVX512DQ         bool // Advanced vector extension 512 Doubleword and Quadword Instructions
44
 	HasAVX512DQ         bool // Advanced vector extension 512 Doubleword and Quadword Instructions
54
 	HasAVX512VBMI2      bool // Advanced vector extension 512 Vector Byte Manipulation Instructions 2
54
 	HasAVX512VBMI2      bool // Advanced vector extension 512 Vector Byte Manipulation Instructions 2
55
 	HasAVX512BITALG     bool // Advanced vector extension 512 Bit Algorithms
55
 	HasAVX512BITALG     bool // Advanced vector extension 512 Bit Algorithms
56
 	HasAVX512BF16       bool // Advanced vector extension 512 BFloat16 Instructions
56
 	HasAVX512BF16       bool // Advanced vector extension 512 BFloat16 Instructions
57
+	HasAMXTile          bool // Advanced Matrix Extension Tile instructions
58
+	HasAMXInt8          bool // Advanced Matrix Extension Int8 instructions
59
+	HasAMXBF16          bool // Advanced Matrix Extension BFloat16 instructions
57
 	HasBMI1             bool // Bit manipulation instruction set 1
60
 	HasBMI1             bool // Bit manipulation instruction set 1
58
 	HasBMI2             bool // Bit manipulation instruction set 2
61
 	HasBMI2             bool // Bit manipulation instruction set 2
59
 	HasCX16             bool // Compare and exchange 16 Bytes
62
 	HasCX16             bool // Compare and exchange 16 Bytes

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_aix.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix
5
 //go:build aix
6
-// +build aix
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_arm64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_gc_s390x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_gc_x86.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (386 || amd64 || amd64p32) && gc
5
 //go:build (386 || amd64 || amd64p32) && gc
6
-// +build 386 amd64 amd64p32
7
-// +build gc
8
 
6
 
9
 package cpu
7
 package cpu
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gccgo
5
 //go:build gccgo
6
-// +build gccgo
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_gccgo_s390x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gccgo
5
 //go:build gccgo
6
-// +build gccgo
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (386 || amd64 || amd64p32) && gccgo
5
 //go:build (386 || amd64 || amd64p32) && gccgo
6
-// +build 386 amd64 amd64p32
7
-// +build gccgo
8
 
6
 
9
 #include <cpuid.h>
7
 #include <cpuid.h>
10
 #include <stdint.h>
8
 #include <stdint.h>

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (386 || amd64 || amd64p32) && gccgo
5
 //go:build (386 || amd64 || amd64p32) && gccgo
6
-// +build 386 amd64 amd64p32
7
-// +build gccgo
8
 
6
 
9
 package cpu
7
 package cpu
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_linux.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !386 && !amd64 && !amd64p32 && !arm64
5
 //go:build !386 && !amd64 && !amd64p32 && !arm64
6
-// +build !386,!amd64,!amd64p32,!arm64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && (mips64 || mips64le)
5
 //go:build linux && (mips64 || mips64le)
6
-// +build linux
7
-// +build mips64 mips64le
8
 
6
 
9
 package cpu
7
 package cpu
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x
5
 //go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x
6
-// +build linux,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le,!s390x
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_linux_ppc64x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && (ppc64 || ppc64le)
5
 //go:build linux && (ppc64 || ppc64le)
6
-// +build linux
7
-// +build ppc64 ppc64le
8
 
6
 
9
 package cpu
7
 package cpu
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_loong64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build loong64
5
 //go:build loong64
6
-// +build loong64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_mips64x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build mips64 || mips64le
5
 //go:build mips64 || mips64le
6
-// +build mips64 mips64le
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_mipsx.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build mips || mipsle
5
 //go:build mips || mipsle
6
-// +build mips mipsle
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_other_arm.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !linux && arm
5
 //go:build !linux && arm
6
-// +build !linux,arm
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_other_arm64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !linux && !netbsd && !openbsd && arm64
5
 //go:build !linux && !netbsd && !openbsd && arm64
6
-// +build !linux,!netbsd,!openbsd,arm64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_other_mips64x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !linux && (mips64 || mips64le)
5
 //go:build !linux && (mips64 || mips64le)
6
-// +build !linux
7
-// +build mips64 mips64le
8
 
6
 
9
 package cpu
7
 package cpu
10
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !aix && !linux && (ppc64 || ppc64le)
5
 //go:build !aix && !linux && (ppc64 || ppc64le)
6
-// +build !aix
7
-// +build !linux
8
-// +build ppc64 ppc64le
9
 
6
 
10
 package cpu
7
 package cpu
11
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !linux && riscv64
5
 //go:build !linux && riscv64
6
-// +build !linux,riscv64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_ppc64x.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build ppc64 || ppc64le
5
 //go:build ppc64 || ppc64le
6
-// +build ppc64 ppc64le
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 1
- 2
vendor/golang.org/x/sys/cpu/cpu_riscv64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build riscv64
5
 //go:build riscv64
6
-// +build riscv64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 
10
-const cacheLineSize = 32
9
+const cacheLineSize = 64
11
 
10
 
12
 func initOptions() {}
11
 func initOptions() {}

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_s390x.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/cpu_wasm.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build wasm
5
 //go:build wasm
6
-// +build wasm
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 7
- 1
vendor/golang.org/x/sys/cpu/cpu_x86.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build 386 || amd64 || amd64p32
5
 //go:build 386 || amd64 || amd64p32
6
-// +build 386 amd64 amd64p32
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 
37
 		{Name: "avx512vbmi2", Feature: &X86.HasAVX512VBMI2},
36
 		{Name: "avx512vbmi2", Feature: &X86.HasAVX512VBMI2},
38
 		{Name: "avx512bitalg", Feature: &X86.HasAVX512BITALG},
37
 		{Name: "avx512bitalg", Feature: &X86.HasAVX512BITALG},
39
 		{Name: "avx512bf16", Feature: &X86.HasAVX512BF16},
38
 		{Name: "avx512bf16", Feature: &X86.HasAVX512BF16},
39
+		{Name: "amxtile", Feature: &X86.HasAMXTile},
40
+		{Name: "amxint8", Feature: &X86.HasAMXInt8},
41
+		{Name: "amxbf16", Feature: &X86.HasAMXBF16},
40
 		{Name: "bmi1", Feature: &X86.HasBMI1},
42
 		{Name: "bmi1", Feature: &X86.HasBMI1},
41
 		{Name: "bmi2", Feature: &X86.HasBMI2},
43
 		{Name: "bmi2", Feature: &X86.HasBMI2},
42
 		{Name: "cx16", Feature: &X86.HasCX16},
44
 		{Name: "cx16", Feature: &X86.HasCX16},
138
 		eax71, _, _, _ := cpuid(7, 1)
140
 		eax71, _, _, _ := cpuid(7, 1)
139
 		X86.HasAVX512BF16 = isSet(5, eax71)
141
 		X86.HasAVX512BF16 = isSet(5, eax71)
140
 	}
142
 	}
143
+
144
+	X86.HasAMXTile = isSet(24, edx7)
145
+	X86.HasAMXInt8 = isSet(25, edx7)
146
+	X86.HasAMXBF16 = isSet(22, edx7)
141
 }
147
 }
142
 
148
 
143
 func isSet(bitpos uint, value uint32) bool {
149
 func isSet(bitpos uint, value uint32) bool {

+ 0
- 2
vendor/golang.org/x/sys/cpu/cpu_x86.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (386 || amd64 || amd64p32) && gc
5
 //go:build (386 || amd64 || amd64p32) && gc
6
-// +build 386 amd64 amd64p32
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/endian_big.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
5
 //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
6
-// +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 1
- 2
vendor/golang.org/x/sys/cpu/endian_little.go View File

2
 // Use of this source code is governed by a BSD-style
2
 // Use of this source code is governed by a BSD-style
3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
-//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
6
-// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh
5
+//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 2
- 2
vendor/golang.org/x/sys/cpu/hwcap_linux.go View File

5
 package cpu
5
 package cpu
6
 
6
 
7
 import (
7
 import (
8
-	"io/ioutil"
8
+	"os"
9
 )
9
 )
10
 
10
 
11
 const (
11
 const (
39
 		return nil
39
 		return nil
40
 	}
40
 	}
41
 
41
 
42
-	buf, err := ioutil.ReadFile(procAuxv)
42
+	buf, err := os.ReadFile(procAuxv)
43
 	if err != nil {
43
 	if err != nil {
44
 		// e.g. on android /proc/self/auxv is not accessible, so silently
44
 		// e.g. on android /proc/self/auxv is not accessible, so silently
45
 		// ignore the error and leave Initialized = false. On some
45
 		// ignore the error and leave Initialized = false. On some

+ 0
- 1
vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && arm64
5
 //go:build linux && arm64
6
-// +build linux,arm64
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build go1.21
5
 //go:build go1.21
6
-// +build go1.21
7
 
6
 
8
 package cpu
7
 package cpu
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/syscall_aix_gccgo.go View File

9
 // gccgo's libgo and thus must not used a CGo method.
9
 // gccgo's libgo and thus must not used a CGo method.
10
 
10
 
11
 //go:build aix && gccgo
11
 //go:build aix && gccgo
12
-// +build aix,gccgo
13
 
12
 
14
 package cpu
13
 package cpu
15
 
14
 

+ 0
- 1
vendor/golang.org/x/sys/cpu/syscall_aix_ppc64_gc.go View File

7
 // (See golang.org/issue/32102)
7
 // (See golang.org/issue/32102)
8
 
8
 
9
 //go:build aix && ppc64 && gc
9
 //go:build aix && ppc64 && gc
10
-// +build aix,ppc64,gc
11
 
10
 
12
 package cpu
11
 package cpu
13
 
12
 

+ 0
- 30
vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go View File

1
-// Copyright 2020 The Go Authors. All rights reserved.
2
-// Use of this source code is governed by a BSD-style
3
-// license that can be found in the LICENSE file.
4
-
5
-// Package unsafeheader contains header declarations for the Go runtime's
6
-// slice and string implementations.
7
-//
8
-// This package allows x/sys to use types equivalent to
9
-// reflect.SliceHeader and reflect.StringHeader without introducing
10
-// a dependency on the (relatively heavy) "reflect" package.
11
-package unsafeheader
12
-
13
-import (
14
-	"unsafe"
15
-)
16
-
17
-// Slice is the runtime representation of a slice.
18
-// It cannot be used safely or portably and its representation may change in a later release.
19
-type Slice struct {
20
-	Data unsafe.Pointer
21
-	Len  int
22
-	Cap  int
23
-}
24
-
25
-// String is the runtime representation of a string.
26
-// It cannot be used safely or portably and its representation may change in a later release.
27
-type String struct {
28
-	Data unsafe.Pointer
29
-	Len  int
30
-}

+ 0
- 1
vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build go1.5
5
 //go:build go1.5
6
-// +build go1.5
7
 
6
 
8
 package plan9
7
 package plan9
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/pwd_plan9.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build !go1.5
5
 //go:build !go1.5
6
-// +build !go1.5
7
 
6
 
8
 package plan9
7
 package plan9
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/race.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build plan9 && race
5
 //go:build plan9 && race
6
-// +build plan9,race
7
 
6
 
8
 package plan9
7
 package plan9
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/race0.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build plan9 && !race
5
 //go:build plan9 && !race
6
-// +build plan9,!race
7
 
6
 
8
 package plan9
7
 package plan9
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/str.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build plan9
5
 //go:build plan9
6
-// +build plan9
7
 
6
 
8
 package plan9
7
 package plan9
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/syscall.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build plan9
5
 //go:build plan9
6
-// +build plan9
7
 
6
 
8
 // Package plan9 contains an interface to the low-level operating system
7
 // Package plan9 contains an interface to the low-level operating system
9
 // primitives. OS details vary depending on the underlying system, and
8
 // primitives. OS details vary depending on the underlying system, and

+ 0
- 1
vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go View File

2
 // Code generated by the command above; see README.md. DO NOT EDIT.
2
 // Code generated by the command above; see README.md. DO NOT EDIT.
3
 
3
 
4
 //go:build plan9 && 386
4
 //go:build plan9 && 386
5
-// +build plan9,386
6
 
5
 
7
 package plan9
6
 package plan9
8
 
7
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go View File

2
 // Code generated by the command above; see README.md. DO NOT EDIT.
2
 // Code generated by the command above; see README.md. DO NOT EDIT.
3
 
3
 
4
 //go:build plan9 && amd64
4
 //go:build plan9 && amd64
5
-// +build plan9,amd64
6
 
5
 
7
 package plan9
6
 package plan9
8
 
7
 

+ 0
- 1
vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go View File

2
 // Code generated by the command above; see README.md. DO NOT EDIT.
2
 // Code generated by the command above; see README.md. DO NOT EDIT.
3
 
3
 
4
 //go:build plan9 && arm
4
 //go:build plan9 && arm
5
-// +build plan9,arm
6
 
5
 
7
 package plan9
6
 package plan9
8
 
7
 

+ 0
- 2
vendor/golang.org/x/sys/unix/aliases.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) && go1.9
5
 //go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) && go1.9
6
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
7
-// +build go1.9
8
 
6
 
9
 package unix
7
 package unix
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/asm_aix_ppc64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_bsd_386.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (freebsd || netbsd || openbsd) && gc
5
 //go:build (freebsd || netbsd || openbsd) && gc
6
-// +build freebsd netbsd openbsd
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_bsd_amd64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc
5
 //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc
6
-// +build darwin dragonfly freebsd netbsd openbsd
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_bsd_arm.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (freebsd || netbsd || openbsd) && gc
5
 //go:build (freebsd || netbsd || openbsd) && gc
6
-// +build freebsd netbsd openbsd
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_bsd_arm64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (darwin || freebsd || netbsd || openbsd) && gc
5
 //go:build (darwin || freebsd || netbsd || openbsd) && gc
6
-// +build darwin freebsd netbsd openbsd
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (darwin || freebsd || netbsd || openbsd) && gc
5
 //go:build (darwin || freebsd || netbsd || openbsd) && gc
6
-// +build darwin freebsd netbsd openbsd
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (darwin || freebsd || netbsd || openbsd) && gc
5
 //go:build (darwin || freebsd || netbsd || openbsd) && gc
6
-// +build darwin freebsd netbsd openbsd
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/asm_linux_386.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/asm_linux_amd64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/asm_linux_arm.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_linux_arm64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && arm64 && gc
5
 //go:build linux && arm64 && gc
6
-// +build linux
7
-// +build arm64
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_linux_loong64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && loong64 && gc
5
 //go:build linux && loong64 && gc
6
-// +build linux
7
-// +build loong64
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_linux_mips64x.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && (mips64 || mips64le) && gc
5
 //go:build linux && (mips64 || mips64le) && gc
6
-// +build linux
7
-// +build mips64 mips64le
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_linux_mipsx.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && (mips || mipsle) && gc
5
 //go:build linux && (mips || mipsle) && gc
6
-// +build linux
7
-// +build mips mipsle
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && (ppc64 || ppc64le) && gc
5
 //go:build linux && (ppc64 || ppc64le) && gc
6
-// +build linux
7
-// +build ppc64 ppc64le
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 2
vendor/golang.org/x/sys/unix/asm_linux_riscv64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build riscv64 && gc
5
 //go:build riscv64 && gc
6
-// +build riscv64
7
-// +build gc
8
 
6
 
9
 #include "textflag.h"
7
 #include "textflag.h"
10
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_linux_s390x.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux && s390x && gc
5
 //go:build linux && s390x && gc
6
-// +build linux
7
-// +build s390x
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/asm_solaris_amd64.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gc
5
 //go:build gc
6
-// +build gc
7
 
6
 
8
 #include "textflag.h"
7
 #include "textflag.h"
9
 
8
 

+ 0
- 3
vendor/golang.org/x/sys/unix/asm_zos_s390x.s View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build zos && s390x && gc
5
 //go:build zos && s390x && gc
6
-// +build zos
7
-// +build s390x
8
-// +build gc
9
 
6
 
10
 #include "textflag.h"
7
 #include "textflag.h"
11
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/cap_freebsd.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build freebsd
5
 //go:build freebsd
6
-// +build freebsd
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/constants.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/dev_aix_ppc.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix && ppc
5
 //go:build aix && ppc
6
-// +build aix,ppc
7
 
6
 
8
 // Functions to access/create device major and minor numbers matching the
7
 // Functions to access/create device major and minor numbers matching the
9
 // encoding used by AIX.
8
 // encoding used by AIX.

+ 0
- 1
vendor/golang.org/x/sys/unix/dev_aix_ppc64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix && ppc64
5
 //go:build aix && ppc64
6
-// +build aix,ppc64
7
 
6
 
8
 // Functions to access/create device major and minor numbers matching the
7
 // Functions to access/create device major and minor numbers matching the
9
 // encoding used AIX.
8
 // encoding used AIX.

+ 0
- 1
vendor/golang.org/x/sys/unix/dev_zos.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build zos && s390x
5
 //go:build zos && s390x
6
-// +build zos,s390x
7
 
6
 
8
 // Functions to access/create device major and minor numbers matching the
7
 // Functions to access/create device major and minor numbers matching the
9
 // encoding used by z/OS.
8
 // encoding used by z/OS.

+ 0
- 1
vendor/golang.org/x/sys/unix/dirent.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/endian_big.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 //
4
 //
5
 //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
5
 //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
6
-// +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/endian_little.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 //
4
 //
5
 //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
5
 //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
6
-// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/env_unix.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
7
 
6
 
8
 // Unix environment variables.
7
 // Unix environment variables.
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/epoll_zos.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build zos && s390x
5
 //go:build zos && s390x
6
-// +build zos,s390x
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 1
- 2
vendor/golang.org/x/sys/unix/fcntl.go View File

2
 // Use of this source code is governed by a BSD-style
2
 // Use of this source code is governed by a BSD-style
3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
-//go:build dragonfly || freebsd || linux || netbsd || openbsd
6
-// +build dragonfly freebsd linux netbsd openbsd
5
+//go:build dragonfly || freebsd || linux || netbsd
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc)
5
 //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc)
6
-// +build linux,386 linux,arm linux,mips linux,mipsle linux,ppc
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/fdset.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
5
 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
6
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/fstatfs_zos.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build zos && s390x
5
 //go:build zos && s390x
6
-// +build zos,s390x
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/gccgo.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gccgo && !aix && !hurd
5
 //go:build gccgo && !aix && !hurd
6
-// +build gccgo,!aix,!hurd
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/gccgo_c.c View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gccgo && !aix && !hurd
5
 //go:build gccgo && !aix && !hurd
6
-// +build gccgo,!aix,!hurd
7
 
6
 
8
 #include <errno.h>
7
 #include <errno.h>
9
 #include <stdint.h>
8
 #include <stdint.h>

+ 0
- 1
vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build gccgo && linux && amd64
5
 //go:build gccgo && linux && amd64
6
-// +build gccgo,linux,amd64
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 1
vendor/golang.org/x/sys/unix/ifreq_linux.go View File

3
 // license that can be found in the LICENSE file.
3
 // license that can be found in the LICENSE file.
4
 
4
 
5
 //go:build linux
5
 //go:build linux
6
-// +build linux
7
 
6
 
8
 package unix
7
 package unix
9
 
8
 

+ 0
- 0
vendor/golang.org/x/sys/unix/ioctl_linux.go View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save