MCPcopy Create free account
hub / github.com/coregx/coregex / equalByteSlices

Function equalByteSlices

fuzz_stdlib_test.go:769–779  ·  view source on GitHub ↗

=========================================================================== Helper Functions =========================================================================== equalByteSlices compares two [][]byte for equality

(a, b [][]byte)

Source from the content-addressed store, hash-verified

767
768// equalByteSlices compares two [][]byte for equality
769func equalByteSlices(a, b [][]byte) bool {
770 if len(a) != len(b) {
771 return false
772 }
773 for i := range a {
774 if !bytes.Equal(a[i], b[i]) {
775 return false
776 }
777 }
778 return true
779}
780
781// equalNestedByteSlices compares two [][][]byte for equality
782func equalNestedByteSlices(a, b [][][]byte) bool {

Callers 3

FuzzFindAllStdlibFunction · 0.85
FuzzFindSubmatchStdlibFunction · 0.85
equalNestedByteSlicesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected