MCPcopy Create free account

hub / github.com/Redundancy/go-sync / functions

Functions329 in github.com/Redundancy/go-sync

MethodRemoveBytes
(bs []byte, length int)
rollsum/rollsum_32_base.go:44
MethodReset
Reset all hashes to initial state
filechecksum/filechecksum.go:73
MethodReset
()
circularbuffer/noalloc.go:53
MethodReset
()
circularbuffer/noalloc.go:141
FunctionSequenceLimit
read from 'readers' in sequence up to a limit of 'size'
util/readers/sequencelimit.go:8
MethodSize
size of the hash in bytes
rollsum/rollsum_32_base.go:78
MethodSwap
(i, j int)
comparer/merger.go:242
MethodSwap
Sortable interface
index/index.go:133
MethodSwap
(i, j int)
blocksources/helpers.go:79
MethodSwap
(i, j int)
blocksources/helpers.go:105
MethodSwap
(i, j int)
blocksources/sortableBlockResponse.go:13
FunctionTestBlockEqualsItself
(t *testing.T)
filechecksum/verifier_test.go:16
FunctionTestBlockSourceBaseError
(t *testing.T)
blocksources/blocksourcebase_test.go:83
FunctionTestBlockSourceRequest
(t *testing.T)
blocksources/blocksourcebase_test.go:107
FunctionTestBlockWithinSpan
(t *testing.T)
comparer/merger_test.go:301
FunctionTestChecksumBlocksTheSame
Each of the data blocks is the same, so the checksums for the blocks should be the same
filechecksum/filechecksum_test.go:140
FunctionTestChecksumGenerationContainsHashes
(t *testing.T)
filechecksum/filechecksum_test.go:54
FunctionTestChecksumGenerationEndsWithFilechecksum
(t *testing.T)
filechecksum/filechecksum_test.go:14
FunctionTestChecksumGenerationReturnsCorrectChecksumCount
(t *testing.T)
filechecksum/filechecksum_test.go:35
FunctionTestConcurrentBlockRequests
(t *testing.T)
blocksources/blocksourcebase_test.go:137
FunctionTestCreateAndCloseBlockSourceBase
(t *testing.T)
blocksources/blocksourcebase_test.go:56
FunctionTestCreateC2Buffer
(t *testing.T)
circularbuffer/noalloc_test.go:20
FunctionTestDetectsAppendedContent
(t *testing.T)
comparer/comparer_test.go:219
FunctionTestDetectsInjectedContent
(t *testing.T)
comparer/comparer_test.go:196
FunctionTestDetectsModifiedContent
(t *testing.T)
comparer/comparer_test.go:241
FunctionTestDetectsModifiedPartialBlockAtEnd
(t *testing.T)
comparer/comparer_test.go:287
FunctionTestDetectsPartialBlockAtEnd
(t *testing.T)
comparer/comparer_test.go:265
FunctionTestDetectsPrependedContent
(t *testing.T)
comparer/comparer_test.go:174
FunctionTestDetectsUnmodifiedPartialBlockAtEnd
(t *testing.T)
comparer/comparer_test.go:308
FunctionTestDoublyDuplicatedBlocks
(t *testing.T)
comparer/merger_test.go:255
FunctionTestDuplicatedLocalBlocks
(t *testing.T)
comparer/merger_test.go:219
FunctionTestDuplicatedReferenceBlocks
(t *testing.T)
comparer/merger_test.go:184
FunctionTestErrorWatcher
(t *testing.T)
blocksources/blocksourcebase_test.go:66
FunctionTestEvictedRegession1
(t *testing.T)
circularbuffer/noalloc_test.go:50
FunctionTestFillBuffer
(t *testing.T)
util/readers/uniform_test.go:73
FunctionTestFindDuplicatedBlocksInIndex
(t *testing.T)
index/index_test.go:152
FunctionTestFindStrongInIndex
(t *testing.T)
index/index_test.go:92
FunctionTestFindTwoDuplicatedBlocksInIndex
(t *testing.T)
index/index_test.go:181
FunctionTestFindWeakInIndex
(t *testing.T)
index/index_test.go:34
FunctionTestFixedSizeResolverSplitsBlocksOfDesiredSize
(t *testing.T)
blocksources/fixed_size_block_resolver_test.go:26
FunctionTestGetBlock
(t *testing.T)
circularbuffer/noalloc_test.go:63
FunctionTestHandler
(t *testing.T)
blocksources/httpblocksource_test.go:73
FunctionTestHttpBlockSource
(t *testing.T)
blocksources/httpblocksource_test.go:85
FunctionTestHttpBlockSource404
(t *testing.T)
blocksources/httpblocksource_test.go:117
FunctionTestHttpBlockSourceOffsetBlockRequest
(t *testing.T)
blocksources/httpblocksource_test.go:147
FunctionTestHttpBlockSourcePartialContentRequest
(t *testing.T)
blocksources/httpblocksource_test.go:174
FunctionTestHttpBlockSourceVerification
(t *testing.T)
blocksources/httpblocksource_test.go:222
FunctionTestInvalidReaderLength_Strong
Test that partial content that ends in the middle of a strong hash is caught correctly
filechecksum/filechecksum_test.go:262
FunctionTestInvalidReaderLength_Weak
Test that partial content that ends in the middle of a weak hash is caught correctly
filechecksum/filechecksum_test.go:242
FunctionTestMakeIndex
* ChunkOffset uint // the size of the block Size int64 WeakChecksum []byte StrongChecksum []byte */
index/index_test.go:21
FunctionTestMergeAdjacentBlocksAfter
(t *testing.T)
comparer/merger_test.go:7
FunctionTestMergeAdjacentBlocksBefore
(t *testing.T)
comparer/merger_test.go:37
FunctionTestMergeAdjacentBlocksBetween
(t *testing.T)
comparer/merger_test.go:72
FunctionTestMissingBlocksOffsetStart
(t *testing.T)
comparer/merger_test.go:114
FunctionTestMissingCenterBlock
(t *testing.T)
comparer/merger_test.go:136
FunctionTestMissingEndBlock
(t *testing.T)
comparer/merger_test.go:162
FunctionTestMultiSplit
(t *testing.T)
comparer/comparer_test.go:160
FunctionTestMultiUniformReader
(t *testing.T)
util/readers/uniform_test.go:42
FunctionTestMultipleResultsForDuplicatedBlocks
(t *testing.T)
comparer/comparer_test.go:330
FunctionTestNilBlockSpanList
(t *testing.T)
comparer/merger_test.go:350
FunctionTestNonRepeatingSequenceIsDifferent
(t *testing.T)
util/readers/nonrepeating_test.go:23
FunctionTestNonRepeatingSequenceReader
This is only a very basic test
util/readers/nonrepeating_test.go:10
FunctionTestNotFoundStrongInIndexAtEnd
(t *testing.T)
index/index_test.go:112
FunctionTestNotFoundStrongInIndexInCenter
(t *testing.T)
index/index_test.go:130
FunctionTestNullResolverGivesBackTheSameBlocks
(t *testing.T)
blocksources/fixed_size_block_resolver_test.go:7
FunctionTestOutOfOrderRequestCompletion
(t *testing.T)
blocksources/blocksourcebase_test.go:178
FunctionTestPartialBlock
(t *testing.T)
filechecksum/verifier_test.go:60
FunctionTestPatchingEnd
(t *testing.T)
patcher/sequential/sequential_test.go:101
FunctionTestPatchingEntirelyMissing
(t *testing.T)
patcher/sequential/sequential_test.go:149
FunctionTestPatchingStart
(t *testing.T)
patcher/sequential/sequential_test.go:51
FunctionTestPrependedBlocks
(t *testing.T)
filechecksum/filechecksum_test.go:188
FunctionTestRangeSlice
(t *testing.T)
blocksources/blocksourcebase_test.go:47
FunctionTestReadFirstBlock
(t *testing.T)
blocksources/readseeker_blocksource_test.go:18
FunctionTestReadIntoLargerBuffer
(t *testing.T)
util/readers/uniform_test.go:27
FunctionTestRegression1
(t *testing.T)
comparer/comparer_test.go:352
FunctionTestRegression1Merger
(t *testing.T)
comparer/merger_test.go:373
FunctionTestRegression2
(t *testing.T)
rollsum/rollsum_32_test.go:72
FunctionTestRequestCountLimiting
(t *testing.T)
blocksources/blocksourcebase_test.go:239
FunctionTestResettingTheRollsum32
(t *testing.T)
rollsum/rollsum_32_test.go:137
FunctionTestRollsumLength
(t *testing.T)
filechecksum/filechecksum_test.go:82
FunctionTestRollsumLengthWithPartialBlockAtEnd
(t *testing.T)
filechecksum/filechecksum_test.go:110
FunctionTestSplit
(t *testing.T)
comparer/comparer_test.go:132
FunctionTestSplitBlocksEqualThemselves
(t *testing.T)
filechecksum/verifier_test.go:46
FunctionTestSplitWithPartial
(t *testing.T)
comparer/comparer_test.go:146
FunctionTestThat32OutputLengthMatchesSize
(t *testing.T)
rollsum/rollsum_32_test.go:198
FunctionTestThat32SumDoesNotChangeTheHashState
(t *testing.T)
rollsum/rollsum_32_test.go:183
FunctionTestThatADesiredSizeSmallerThanABlockResultsInSingleBlocks
(t *testing.T)
blocksources/fixed_size_block_resolver_test.go:85
FunctionTestThatFileSizeTruncatesBlockEnds
(t *testing.T)
blocksources/fixed_size_block_resolver_test.go:114
FunctionTestThatMultipleBlocksAreSplitByRoundingDown
(t *testing.T)
blocksources/fixed_size_block_resolver_test.go:56
FunctionTestThatRollsum32IsDifferentForDifferentInput
(t *testing.T)
rollsum/rollsum_32_test.go:118
FunctionTestThatRollsum32IsTheSameAfterBlockSizeBytes
(t *testing.T)
rollsum/rollsum_32_test.go:29
FunctionTestThatRollsum32IsTheSameAfterBlockSizeBytesWithPartialEviction
(t *testing.T)
rollsum/rollsum_32_test.go:51
FunctionTestThatRollsum32RemovesBytesCorrectly
(t *testing.T)
rollsum/rollsum_32_test.go:103
FunctionTestThatRollsum32SatisfiedWriterInterface
(t *testing.T)
rollsum/rollsum_32_test.go:16
FunctionTestThatRollsum32SatisfiesHashInterface
(t *testing.T)
rollsum/rollsum_32_test.go:11
FunctionTestTruncatingAfterWriting
(t *testing.T)
circularbuffer/noalloc_test.go:127
FunctionTestTruncatingPartiallyFilledBufferResultsInSameState
(t *testing.T)
rollsum/rollsum_32_test.go:159
FunctionTestTwoComparisons
(t *testing.T)
comparer/comparer_test.go:373
FunctionTestUniformReaderLength
(t *testing.T)
util/readers/uniform_test.go:9
FunctionTestWeakNotInIndex
(t *testing.T)
index/index_test.go:54
← previousnext →201–300 of 329, ranked by callers