-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposition_test.ini
More file actions
executable file
·127 lines (92 loc) · 4.13 KB
/
Copy pathcomposition_test.ini
File metadata and controls
executable file
·127 lines (92 loc) · 4.13 KB
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
################################################################################
# #
# COPYRIGHT: (c) 2026 Dipl.-Ing. Klaus Lux (Aachen, Germany) #
# #
################################################################################
# #
# sample configuration file for composition_parser tests. #
# #
################################################################################
# just to iterate over a bunch of numbers or characters or words like below
1 2 33 42 5 6 7 8 9 0 5 a b c d e f g h i j cat dog horse
_____________________________________
#* reading a bunch of entries which are holding more exotic numbers like below
(The project contains a speed test that read all of those as int64_t or double
in less than a microsecond on a Raspberry Pi 5.
And right, the format knows block comments like this one. *#
inttests = { ib=0b1111 io=0o1234567 id=000056789 ix=0xabcd987 }
floattests = { fb=0b11.11e100 fo=0o1234.56e10 fd=1.2345e64 fx=0xabc.defp10 }
_____________________________________
# reading the points of a triangle or a rectangle for a drawing like this
drawing = { triangle_3D = {{6 4 3}{4 5 7}{-1 17 2}}
triangle_3D = {{3 2 3}{7 6 2}{1 11 -2}}
rectangle_3D = {{6 5 6}{8 5 5}{6 15 5}{8 15 5}} }
_____________________________________
server = {
host = localhost
port = 8080
tls = {
enabled
certificate = /etc/certs/server.pem
ciphers = {
#* comment block *#
accept = { TLS_AES_128_CCM_8_SHA256 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 }
}
}
}
_____________________________________
# alternative configuration
[server]
host = localhost
port = 8080
tls = {
enabled
certificate = "/etc/certs/server.pem"
[ciphers]
#*
comment block
*#
accept = {
TLS_AES_128_CCM_8_SHA256
TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_GCM_SHA256
}
}
_____________________________________
# more INI like configuration
[server]
host = localhost
port = 8080
[server.tls]
enabled
certificate = "/etc/certs/server.pem"
[server.tls.ciphers.accept]
TLS_AES_128_CCM_8_SHA256
TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_GCM_SHA256
_____________________________________
[#*leading comment*# Crazy server' section' {} #* übertrieben häßlich Modus ein *# [\]{ (äöüß) }
;* ^ this is for tests of
reading section names according to the standard only ;o) *;"" #*trayling comment*#]
tls = on\ or\ off
host = localhost
port = 8080
intentional==>error
= nameless!
"Ärger über Konfigdateien \gef\ä\llig? \u0\u1234\u12345678"
#* the subsequent lines are fore checking escaping and unquoting *#
\n'\d9\x9\11\tOnce upon a'" "time' 'there" "were" XML, "JSON,' 'YAML"\,\ TOML\ "and'\ \many\ \other\ nice\ formats\ \who \had\ a\ \lot \of\ \lovers\n'\n
until' 'that' 'poor' 'littly' 'INI' 'grew' 'up' 'and' 'became' 'an' 'utterly' 'charming' 'beauty' 'beyond' 'compare\.\.\.
_____________________________________
[nameless blocks recognition test]
triangle_3D = {{6 4 3}{4 5 7}{-1 17 2}}
_____________________________________
mixed_up_test = {a 45 89 {p\{\}{mixed[data]origin=unknown#*helpful?*#[calc]complex{i^3}x={23 12 6}y={54 3 12}z={17 4 getpos(29*3+4)}}}}
_____________________________________
mixed_up_test = {a 45 89 {p\{\}{mixed data={origin=unknown}calc={complex{i^3}x={23 12 6}y={54 3 12}z={17 4 getpos(29*3+4)}}}}}
_____________________________________
branch=main upstream=origin/main ahead=2 staged={{file=src/index.ts status=modified}{file=src/utils.ts status=added}}modified={README.md}deleted={}untracked={temp.log}conflicts={}clean=false
_____________________________________
################################################################################
# E N D O F F I L E
################################################################################