MCPcopy Index your code
hub / github.com/rclone/rclone / newRandomSource

Function newRandomSource

backend/crypt/cipher_test.go:1013–1017  ·  view source on GitHub ↗
(size int64)

Source from the content-addressed store, hash-verified

1011}
1012
1013func newRandomSource(size int64) *randomSource {
1014 return &randomSource{
1015 size: size,
1016 }
1017}
1018
1019func (r *randomSource) next() byte {
1020 r.counter++

Callers 6

TestRandomSourceFunction · 0.85
testEncryptDecryptFunction · 0.85
TestEncryptDataFunction · 0.85
TestNewEncrypterFunction · 0.85
TestNewDecrypterFunction · 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…