Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (30 sloc) 0.841 kB
-record(n, {created,children}).
-define(N_BUCKET, <<"luwak_node">>).
-define(O_BUCKET, <<"luwak_tld">>).
-define(ORDER_DEFAULT, 250).
-define(BLOCK_DEFAULT, 1000000).
-define(HASH_LEN, 512).
-define(TIMEOUT_DEFAULT, 60000).
-define(fmt(S, As), lists:flatten(io_lib:format(S, As))).
-record(split, {head=[], midhead=[], middle=[], midtail=[], tail=[]}).
-ifdef(TEST).
-ifdef(DEBUG).
-undef(debugMsg).
-undef(debugFmt).
-define(debugMsg(S), error_logger:info_msg(S)).
-define(debugFmt(S, As), error_logger:info_msg(S,As)).
-else.
-undef(debugMsg).
-undef(debugFmt).
-define(debugMsg(S), ok).
-define(debugFmt(S, As), ok).
-endif.
-else.
-ifdef(DEBUG).
-define(debugMsg(S), error_logger:info_msg(S)).
-define(debugFmt(S, As), error_logger:info_msg(S,As)).
-else.
-define(debugMsg(S), ok).
-define(debugFmt(S, As), ok).
-endif.
-endif.
Jump to Line
Something went wrong with that request. Please try again.