MCPcopy Create free account
hub / github.com/facebook/time / reverse

Function reverse

timestamp/timestamp_linux_test.go:31–35  ·  view source on GitHub ↗
(s []byte)

Source from the content-addressed store, hash-verified

29 "github.com/stretchr/testify/require"
30 "golang.org/x/sys/unix"
31)
32
33func reverse(s []byte) {
34 for i, j := 0, len(s)-1; i < j; i, j = i+1, j-1 {
35 s[i], s[j] = s[j], s[i]
36 }
37}
38

Callers 2

Test_byteToTimeFunction · 0.85
Test_scmDataToTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…