aboutsummaryrefslogblamecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/bsL.erl
blob: b2fdc16324cc95a7cd954b4a5a40d7c8adf5b8be (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                   
-module(bsL).

-export([t/0]).

%% Found in lib/observer/test/crashdump_helper.erl.

t() ->
    Size = 60,
    <<H:16/unit:8>> = erlang:md5(<<Size:32>>),
    true = H < 20,
    true = H > 2,
    Data = ((H bsl (8*150)) div (H+7919)),
    <<Data:Size/unit:8>>.