Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/Host-introspection/Erlang/host-introspection-1.erl
Normal file
2
Task/Host-introspection/Erlang/host-introspection-1.erl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
1> erlang:system_info(wordsize).
|
||||
4
|
||||
6
Task/Host-introspection/Erlang/host-introspection-2.erl
Normal file
6
Task/Host-introspection/Erlang/host-introspection-2.erl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
1> <<1:4/native-unit:8>>.
|
||||
<<1,0,0,0>>
|
||||
2> <<1:4/big-unit:8>>
|
||||
<<0,0,0,1>>
|
||||
3> <<1:4/little-unit:8>>.
|
||||
<<1,0,0,0>>
|
||||
2
Task/Host-introspection/Erlang/host-introspection-3.erl
Normal file
2
Task/Host-introspection/Erlang/host-introspection-3.erl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
endianness() when <<1:4/native-unit:8>> =:= <<1:4/big-unit:8>> -> big;
|
||||
endianness() -> little.
|
||||
Loading…
Add table
Add a link
Reference in a new issue