Add exports required by kn_index_tictactree
This commit is contained in:
parent
e0d63209a1
commit
c8552d5bd5
1 changed files with 8 additions and 1 deletions
|
@ -71,7 +71,8 @@
|
||||||
keyto_segment32/1,
|
keyto_segment32/1,
|
||||||
keyto_segment48/1,
|
keyto_segment48/1,
|
||||||
generate_segmentfilter_list/2,
|
generate_segmentfilter_list/2,
|
||||||
merge_binaries/2
|
merge_binaries/2,
|
||||||
|
join_segment/2
|
||||||
]).
|
]).
|
||||||
|
|
||||||
|
|
||||||
|
@ -372,6 +373,12 @@ generate_segmentfilter_list(SegmentList, Size) ->
|
||||||
SegmentList
|
SegmentList
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
-spec join_segment(integer(), integer()) -> integer().
|
||||||
|
%% @doc
|
||||||
|
%% Generate a segment ID for the Brnahc and Leaf ID co-ordinates
|
||||||
|
join_segment(BranchID, LeafID) ->
|
||||||
|
BranchID bsl ?L2_BITSIZE + LeafID.
|
||||||
|
|
||||||
%%%============================================================================
|
%%%============================================================================
|
||||||
%%% Internal functions
|
%%% Internal functions
|
||||||
%%%============================================================================
|
%%%============================================================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue