crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.50.12
ROOT
/
go
/
store
/
blobstore
/
blobstore_test.go
Search
History
380 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
key
rmwRetries
ctx
:
context.Context
bucket
:
*storage.BucketHandle
testGCSBucket
:
string
init
()
BlobstoreTest
bsType
:
string
bs
:
Blobstore
rmwConcurrency
:
int
rmwIterations
:
int
appendGCSTest
(tests []BlobstoreTest)
:
[]BlobstoreTest
appendLocalTest
(tests []BlobstoreTest)
:
[]BlobstoreTest
newBlobStoreTests
()
:
[]BlobstoreTest
randBytes
(size int)
:
[]byte
testPutAndGetBack
(t *testing.T, bs Blobstore)
TestPutAndGetBack
(t *testing.T)
testGetMissing
(t *testing.T, bs Blobstore)
TestGetMissing
(t *testing.T)
CheckAndPutBytes
(ctx context.Context, bs Blobstore, expectedVersion, key string, data []byte)
:
(string, error)
testCheckAndPutError
(t *testing.T, bs Blobstore)
TestCheckAndPutError
(t *testing.T)
testCheckAndPut
(t *testing.T, bs Blobstore)
TestCheckAndPut
(t *testing.T)
readModifyWrite
(bs Blobstore, key string, iterations int, doneChan chan int)
testConcurrentCheckAndPuts
(t *testing.T, bsTest BlobstoreTest, key string)
TestConcurrentCheckAndPuts
(t *testing.T)
setupRangeTest
(t *testing.T, bs Blobstore, data []byte)
testGetRange
(t *testing.T, bs Blobstore, br BlobRange, expected []byte)
rangeData
(min, max int64)
:
[]byte
TestGetRange
(t *testing.T)
TestPanicOnNegativeRangeLength
(t *testing.T)
All occurrences
Please wait...
Page is in error, reload to recover