about summary refs log tree commit diff stats
path: root/dev/index.html
blob: 70935b0eb9dbeb36736d6944a25ad52f3778171f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
c{0: 0 (((1 string-address)) <- ((new)) aa) -- nil
c{0: 1 (((2 string-address)) <- ((new)) ba) -- nil
c{0: 2 (((3 boolean)) <- ((string-equal)) ((1 string-address)) ((2 string-address))) -- nil
c{1: 0 ✓ (((1 string-address)) <- ((new)) aa)
c{1: 1 ✓ (((2 string-address)) <- ((new)) ba)
c{1: 2 ✓ (((3 boolean)) <- ((string-equal)) ((1 string-address)) ((2 string-address)))
cn0: convert-names in main
cn0: (((1 string-address)) <- ((new)) aa) nil nil
cn0: checking arg aa
cn0: checking oarg ((1 string-address))
maybe-add: ((1 string-address))
cn0: (((2 string-address)) <- ((new)) ba) nil nil
cn0: checking arg ba
cn0: checking oarg ((2 string-address))
maybe-add: ((2 string-address))
cn0: (((3 boolean)) <- ((string-equal)) ((1 string-address)) ((2 string-address))) nil nil
cn0: checking arg ((1 string-address))
maybe-add: ((1 string-address))
cn0: checking arg ((2 string-address))
maybe-add: ((2 string-address))
cn0: checking oarg ((3 boolean))
maybe-add: ((3 boolean))
cn1: (((1 string-address)) <- ((new)) aa)
cn1: (((2 string-address)) <- ((new)) ba)
cn1: (((3 boolean)) <- ((string-equal)) ((1 string-address)) ((2 string-address)))
schedule: main
run: main 0: (((1 string-address)) <- ((new)) aa)
run: main 0: 1000 => ((1 string-address))
mem: ((1 string-address)): 1 <= 1000
run: main 1: (((2 string-address)) <- ((new)) ba)
run: main 1: 1003 => ((2 string-address))
mem: ((2 string-address)): 2 <= 1003
run: main 2: (((3 boolean)) <- ((string-equal)) ((1 string-address)) ((2 string-address)))
mem: ((1 string-address)) => 1000
mem: ((2 string-address)) => 1003
run: string-equal/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: string-equal/main 0: 1006 => ((default-space space-address))
run: string-equal/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 1003)
run: string-equal/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1008 <= 1000
run: string-equal/main 2: (((2 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 2
run: string-equal/main 2: 2 => ((2 integer))
mem: ((2 integer)): 1009 <= 2
run: string-equal/main 3: (((3 string-address)) <- ((next-input)))
arg: nil 1 (1000 1003)
run: string-equal/main 3: 1003 => ((3 string-address))
mem: ((3 string-address)): 1010 <= 1003
run: string-equal/main 4: (((4 integer)) <- ((length)) ((3 string-address) (deref)))
array-len: ((3 string-address) (deref))
mem: ((1003 integer) (raw)) => 2
run: string-equal/main 4: 2 => ((4 integer))
mem: ((4 integer)): 1011 <= 2
run: string-equal/main 5: (((5 boolean)) <- ((equal)) ((2 integer)) ((4 integer)))
mem: ((2 integer)) => 2
mem: ((4 integer)) => 2
run: string-equal/main 5: t => ((5 boolean))
mem: ((5 boolean)): 1012 <= t
run: string-equal/main 6: (((jump-if)) ((5 boolean)) ((1 offset)))
mem: ((5 boolean)) => t
run: string-equal/main 8: (((6 integer)) <- ((copy)) ((0 literal)))
run: string-equal/main 8: 0 => ((6 integer))
mem: ((6 integer)): 1013 <= 0
run: string-equal/main 9: (((7 boolean)) <- ((greater-or-equal)) ((6 integer)) ((2 integer)))
mem: ((6 integer)) => 0
mem: ((2 integer)) => 2
run: string-equal/main 9: nil => ((7 boolean))
mem: ((7 boolean)): 1014 <= nil
run: string-equal/main 10: (((jump-if)) ((7 boolean)) ((7 offset)))
mem: ((7 boolean)) => nil
run: string-equal/main 11: (((8 byte)) <- ((index)) ((1 string-address) (deref)) ((6 integer)))
mem: ((6 integer)) => 0
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 2
mem: ((1001 byte) (raw)) => a
run: string-equal/main 11: #\a => ((8 byte))
mem: ((8 byte)): 1015 <= #\a
run: string-equal/main 12: (((9 byte)) <- ((index)) ((3 string-address) (deref)) ((6 integer)))
mem: ((6 integer)) => 0
array-len: ((1003 string) (raw))
mem: ((1003 integer) (raw)) => 2
mem: ((1004 byte) (raw)) => b
run: string-equal/main 12: #\b => ((9 byte))
mem: ((9 byte)): 1016 <= #\b
run: string-equal/main 13: (((10 boolean)) <- ((equal)) ((8 byte)) ((9 byte)))
mem: ((8 byte)) => a
mem: ((9 byte)) => b
run: string-equal/main 13: nil => ((10 boolean))
mem: ((10 boolean)): 1017 <= nil
run: string-equal/main 14: (((jump-if)) ((10 boolean)) ((1 offset)))
mem: ((10 boolean)) => nil
run: string-equal/main 15: (((reply)) ((nil literal)))
run: main 2: nil => ((3 boolean))
mem: ((3 boolean)): 3 <= nil
schedule: done with routine nil
class="p"></a></li> <li><a href="git/index.html#hotfix">1.4. Hotfix</a></li> </ul> </li> <li><a href="git/index.html#local">2. Local Workflow</a> <ul> <li><a href="git/index.html#working">2.1. Working area</a></li> <li><a href="git/index.html#logdiff">2.2. Logs and commits</a></li> <li><a href="git/index.html#remote">2.3. Working with remotes</a></li> </ul> </li> </ul> <h2 id="c">C &amp; GDB</h2> <p>C is functional compiled language created by Dennis Ritchie. BSD, Linux and Minix kernels use this language as primary language.</p> <ul> <li><a href="c/index.html">Hello World</a> <ul> <li><a href="c/index.html#sources">Multiple sources</a></li> <li><a href="c/index.html#makefile">Makefile</a></li> <li><a href="c/index.html#debug">Debug</a></li> </ul> </li> <li><a href="c/elements.html">Elements</a> <ul> <li><a href="c/elements.html#ident">Identifiers</a></li> <li><a href="c/elements.html#keywords">Keywords</a></li> <li><a href="c/elements.html#const">Constants</a></li> <li><a href="c/elements.html#op">Operators</a></li> <li><a href="c/elements.html#sep">Separators</a></li> <li><a href="c/elements.html#white">White space</a></li> </ul> </li> <li><a href="c/datatypes.html">Datatypes</a> <ul> <li><a href="c/datatypes.html#types">Types</a></li> <li><a href="c/datatypes.html#int">Integer</a></li> <li><a href="c/datatypes.html#double">Real number</a></li> <li><a href="c/datatypes.html#complex">Complex number</a></li> <li><a href="c/datatypes.html#enum">Enumeration</a></li> <li><a href="c/datatypes.html#union">Unions</a></li> <li><a href="c/datatypes.html#struct">Structures</a></li> <li><a href="c/datatypes.html#array">Arrays</a></li> <li><a href="c/datatypes.html#pointer">Pointers</a></li> <li><a href="c/datatypes.html#it">Incomplete types</a></li> <li><a href="c/datatypes.html#tq">Type qualifiers</a></li> <li><a href="c/datatypes.html#st">Storage class</a></li> <li><a href="c/datatypes.html#format">Format type specifiers</a></li> </ul> </li> <li><a href="">Operators &amp; Expressions</a></li> <li><a href="">Control Flow</a></li> <li><a href="">Functions</a></li> <li><a href="">Input &amp; Output</a></li> <li><a href="c/lib.html">Libraries</a> <ul> <li><a href="c/lib.html#basic">Basic libraries</a></li> <li><a href="c/lib.html#advanced">Advanced libraries</a></li> <li><a href="c/lib.html#random-numbers">Random Numbers</a></li> <li><a href="c/lib.html#signals">Signals</a></li> <li><a href="c/lib.html#sorting">Sorting</a></li> <li><a href="c/lib.html#strings">Strings</a></li> <li><a href="c/lib.html#inter-process-communication">Inter Process Communication</a></li> <li><a href="c/lib.html#file-io">File IO</a></li> <li><a href="c/lib.html#shared-memory">Shared Memory</a></li> <li><a href="c/lib.html#networking">Networking</a></li> <li><a href="c/lib.html#threads">Threads</a></li> </ul> </li> <li><a href="c/debugging.html">Debugging</a></li> <li><a href="c/system.html">System Development</a></li> </ul> <ul> <li><a href="http://inti.sourceforge.net/tutorial/libinti/autotoolsproject.html">Autotools</a></li> </ul> <h2>Shell Script</h2> <p>Script files that start with "#!/bin/sh" use dash (in crux), /bin/sh is a link to dash, while files that start with "#!/bin/bash" use bash;</p> <ul> <li><a href="shell/dash.html">Dash - Scripting</a> <ul> <li><a href="shell/dash.html#hello">Hello World</a></li> <li><a href="shell/dash.html#var">Types &amp; Variables</a></li> <li><a href="">Operators &amp; Expressions</a></li> <li><a href="shell/dash.html#if">Control Flow</a></li> <li><a href="">Functions</a></li> <li><a href="shell/dash.html#io">Input &amp; Output</a></li> </ul> </li> </ul> <h2>Python</h2> <ul> <li><a href="python/index.html">Hello World</a></li> <li><a href="">Types &amp; Variables</a></li> <li><a href="">Operators &amp; Expressions</a></li> <li><a href="">Control Flow</a></li> <li><a href="">Functions</a></li> <li><a href="">Input &amp; Output</a></li> </ul> <h2>Perl</h2> <ul> <li><a href="perl/index.html">Hello World</a></li> <li><a href="">Types &amp; Variables</a></li> <li><a href="">Operators &amp; Expressions</a></li> <li><a href="">Control Flow</a></li> <li><a href="">Functions</a></li> <li><a href="">Input &amp; Output</a></li> </ul> <h2>JavaScript</h2> <ul> <li><a href="js/index.html">Hello World</a></li> <li><a href="">Types &amp; Variables</a></li> <li><a href="">Operators &amp; Expressions</a></li> <li><a href="">Control Flow</a></li> <li><a href="">Functions</a></li> <li><a href="">Input &amp; Output</a></li> </ul> <h2>PHP</h2> <ul> <li><a href="php/index.html">Hello World</a> <ul> <li><a href="php/index.html#profiling">Profiling</a></li> <li><a href="php/index.html#testing">Testing</a></li> </ul> </li> <li><a href="">Types &amp; Variables</a></li> <li><a href="">Operators &amp; Expressions</a></li> <li><a href="">Control Flow</a></li> <li><a href="">Functions</a></li> <li><a href="">Input &amp; Output</a></li> </ul> <ul> <li><a href="php/laravel.html">Laravel Framework</a></li> <li>PHP Unit</li> </ul> <a href="../index.html">Documentation Index</a> <p> This is part of the Hive System Documentation. Copyright (C) 2018 Hive Team. See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a> for copying conditions.</p> </body> </html>