internal/decoder/string_scan_other.go
raw| 1 | //go:build !amd64 |
| 2 | |
| 3 | package decoder |
| 4 | |
| 5 | import "unsafe" |
| 6 | |
| 7 | // hasStringSIMD is false: this architecture has no SIMD scan of a string. |
| 8 | const hasStringSIMD = false |
| 9 | |
| 10 | // indexStringSpecial scans nothing: this architecture has no SIMD scan of a string ( see string_scan_amd64.go ). |
| 11 | func indexStringSpecial(p unsafe.Pointer, n int) (int, uint64, bool) { |
| 12 | return 0, 0, false |
| 13 | } |