Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sliceForAppend (0.07 sec)

  1. lib/fips140/v1.0.0.zip

    buffer // in the event of an error. clear(out) return nil, err } return ret, nil } // sliceForAppend takes a slice and a requested number of bytes. It returns a // slice with the contents of the given slice followed by that many bytes and a // second slice that aliases into it and contains only the extra bytes. If the // original slice has sufficient capacity then no allocation is performed. func sliceForAppend(in []byte, n int) (head, tail []byte) { if total := len(in) + n; cap(in) >= total { head...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top