src/pkg/bytes/bytes_decl.go - The Go Programming Language

Golang

Source file src/pkg/bytes/bytes_decl.go

     1	// Copyright 2010 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 bytes
     6	
     7	// IndexByte returns the index of the first instance of c in s, or -1 if c is not present in s.
     8	func IndexByte(s []byte, c byte) int // asm_$GOARCH.s