summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go
diff options
context:
space:
mode:
authorpsydvl <[email protected]>2025-04-08 10:36:14 +0300
committerpsydvl <[email protected]>2025-04-08 10:52:23 +0300
commit7a18199f121713027e60ca856a08c77d26fdf0a9 (patch)
treeb1becf66247c9083390d0d280fb7394c5d0920e2 /contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go
parente3a2c25a704d383a210e7060f6d2937930238283 (diff)
go1.23 switch
Переключение Go на 1.23 Тулчейн с исходниками положен в PR:7442346 commit_hash:a56e7228a1eab335f40c731dc6a103945515cd70
Diffstat (limited to 'contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go')
-rw-r--r--contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go b/contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go
new file mode 100644
index 00000000000..8e46c31ff66
--- /dev/null
+++ b/contrib/go/_std_1.23/src/internal/bytealg/indexbyte_native.go
@@ -0,0 +1,13 @@
+// Copyright 2018 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.
+
+//go:build 386 || (amd64 && !plan9) || s390x || arm || arm64 || loong64 || ppc64 || ppc64le || mips || mipsle || mips64 || mips64le || riscv64 || wasm
+
+package bytealg
+
+//go:noescape
+func IndexByte(b []byte, c byte) int
+
+//go:noescape
+func IndexByteString(s string, c byte) int