Go to the source code of this file.
Go to the SVN repository for this file.
struct SSplitQueryBlk Structure to keep track of which query sequences are allocated to each query chunk. More...Forward declaration of dynamic array.
Definition at line 1 of file split_query.h.
◆ SContextsPerChunkForward declaration of dynamic array.
Definition at line 1 of file split_query.h.
◆ SQueriesPerChunkForward declaration of dynamic array.
Definition at line 1 of file split_query.h.
◆ SQueryChunkBoundary ◆ SSplitQueryBlkStructure to keep track of which query sequences are allocated to each query chunk.
◆ SplitQueryBlk_AddContextOffsetToChunk() ◆ SplitQueryBlk_AddContextToChunk() ◆ SplitQueryBlk_AddQueryToChunk() ◆ SplitQueryBlk_AllowGap() ◆ SplitQueryBlk_GetChunkBounds() ◆ SplitQueryBlk_GetChunkOverlapSize() ◆ SplitQueryBlk_GetContextOffsetsForChunk()Retrieve an array of context offsets for the requested chunk.
Each offset is the correction needed for the query range of HSPs found in the specified chunk
Definition at line 293 of file split_query.c.
References SSplitQueryBlk::chunk_offset_map, SDynamicUint4Array::data, kBadParameter, kOutOfMemory, malloc(), NULL, SSplitQueryBlk::num_chunks, SDynamicUint4Array::num_used, and UINT4_MAX.
Referenced by BlastHSPStreamMerge(), and CSplitQueryBlk::GetContextOffsets().
◆ SplitQueryBlk_GetNumQueriesForChunk() ◆ SplitQueryBlk_GetQueryContextsForChunk()Retrieve an array of query contexts for the requested chunk.
Definition at line 262 of file split_query.c.
References SSplitQueryBlk::chunk_ctx_map, SDynamicInt4Array::data, kBadParameter, kOutOfMemory, malloc(), NULL, SSplitQueryBlk::num_chunks, and SDynamicInt4Array::num_used.
Referenced by BlastHSPStreamMerge(), BOOST_AUTO_TEST_CASE(), and CSplitQueryBlk::GetQueryContexts().
◆ SplitQueryBlk_GetQueryIndicesForChunk()Retrieve an array of query indices for the requested chunk.
Definition at line 235 of file split_query.c.
References SSplitQueryBlk::chunk_query_map, SDynamicUint4Array::data, kBadParameter, kOutOfMemory, malloc(), NULL, SSplitQueryBlk::num_chunks, SDynamicUint4Array::num_used, and UINT4_MAX.
Referenced by BlastHSPStreamMerge(), BOOST_AUTO_TEST_CASE(), and CSplitQueryBlk::GetQueryIndices().
◆ SplitQueryBlk_SetChunkBounds() ◆ SplitQueryBlk_SetChunkOverlapSize() ◆ SplitQueryBlkFree()Deallocate a split query chunk structure.
Definition at line 116 of file split_query.c.
References SSplitQueryBlk::chunk_bounds, SSplitQueryBlk::chunk_ctx_map, SSplitQueryBlk::chunk_offset_map, SSplitQueryBlk::chunk_query_map, DynamicInt4ArrayFree(), DynamicUint4ArrayFree(), i, NULL, SSplitQueryBlk::num_chunks, and sfree.
Referenced by SplitQueryBlkNew(), and CSplitQueryBlk::~CSplitQueryBlk().
◆ SplitQueryBlkNew()Allocate a new split query chunk structure.
Definition at line 42 of file split_query.c.
References calloc(), SSplitQueryBlk::chunk_bounds, SSplitQueryBlk::chunk_ctx_map, SSplitQueryBlk::chunk_offset_map, SSplitQueryBlk::chunk_query_map, DynamicInt4ArrayNew(), DynamicUint4ArrayNew(), SSplitQueryBlk::gapped_merge, i, NULL, SSplitQueryBlk::num_chunks, and SplitQueryBlkFree().
Referenced by CSplitQueryBlk::CSplitQueryBlk().
◆ kBadParameterInvalid parameter used in a function call.
Definition at line 37 of file split_query.c.
Referenced by BOOST_AUTO_TEST_CASE(), SplitQueryBlk_AddContextOffsetToChunk(), SplitQueryBlk_AddContextToChunk(), SplitQueryBlk_AddQueryToChunk(), SplitQueryBlk_GetChunkBounds(), SplitQueryBlk_GetChunkOverlapSize(), SplitQueryBlk_GetContextOffsetsForChunk(), SplitQueryBlk_GetNumQueriesForChunk(), SplitQueryBlk_GetQueryContextsForChunk(), SplitQueryBlk_GetQueryIndicesForChunk(), SplitQueryBlk_SetChunkBounds(), and SplitQueryBlk_SetChunkOverlapSize().
◆ kInvalidContext ◆ kOutOfMemoryRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4