Source file src/internal/bytealg/lastindexbyte_native.go
1 // Copyright 2026 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 //go:build (amd64 || arm64 || loong64) && !plan9 6 7 package bytealg 8 9 //go:noescape 10 func LastIndexByte(b []byte, c byte) int 11 12 //go:noescape 13 func LastIndexByteString(s string, c byte) int 14