JavaScript promise rejection: Loading CSS chunk index-domready failed. (error: https://sirherobrine23.com.br/assets/css/index-domready.9de057c0.css). Open browser console to see more details.
0
1
mirror of https://github.com/golang/go synced 2025-07-11 21:08:56 +00:00
Files
go/test/fixedbugs/issue59334.go

19 lines
448 B
Go
Raw Permalink Normal View History

// run -tags=purego -gcflags=all=-d=checkptr
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import "crypto/subtle"
func main() {
dst := make([]byte, 5)
src := make([]byte, 5)
for _, n := range []int{1024, 2048} { // just to make the size non-constant
b := make([]byte, n)
subtle.XORBytes(dst, src, b[n-5:])
}
}