blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2 values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25 values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159 values | src_encoding stringclasses 34 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 7 10.5M | extension stringclasses 111 values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1b0c510ee5f95b9cce1cd375e9ccf310925b77f8 | fb5b25b4fbe66c532672c14dacc520b96ff90a04 | /export/release/macos/obj/src/resources/__res_41.cpp | 030131d2192d03dc5d7f22a7375c02f7e9a1877b | [
"Apache-2.0"
] | permissive | Tyrcnex/tai-mod | c3849f817fe871004ed171245d63c5e447c4a9c3 | b83152693bb3139ee2ae73002623934f07d35baf | refs/heads/main | 2023-08-15T07:15:43.884068 | 2021-09-29T23:39:23 | 2021-09-29T23:39:23 | 383,313,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 14,947 | cpp | __res_41.cpp | // Generated by Haxe 4.1.5
namespace hx {
unsigned char __res_41[] = {
0x80, 0x00, 0x00, 0x80,
79,103,103,83,0,2,0,0,0,0,
0,0,0,0,129,63,0,0,0,0,
0,0,63,125,235,159,1,30,1,118,
111,114,98,105,115,0,0,0,0,1,
68,172,0,0,0,0,0,0,128,187,
0,0,0,0,0,0,184,1,79,103,
103,83,0,0,0,0,0,0,0,0,
0,0,129,63,0,0,1,0,0,0,
60,28,163,13,15,45,255,255,255,255,
255,255,255,255,255,255,255,255,255,50,
3,118,111,114,98,105,115,29,0,0,
0,88,105,112,104,46,79,114,103,32,
108,105,98,86,111,114,98,105,115,32,
73,32,50,48,48,55,48,54,50,50,
0,0,0,0,1,5,118,111,114,98,
105,115,31,66,67,86,1,0,0,1,
0,24,99,84,41,70,153,82,210,74,
137,25,115,148,49,70,153,98,146,74,
137,165,132,22,66,72,157,115,20,83,
169,57,215,156,107,172,185,181,32,132,
16,26,83,80,41,5,153,82,142,82,
105,25,99,144,41,5,153,82,16,75,
73,37,116,18,58,39,157,99,16,91,
73,193,214,152,107,139,65,182,28,132,
13,154,82,76,41,196,148,82,138,66,
8,25,83,140,41,197,148,82,74,66,
7,37,116,14,58,230,28,83,142,74,
40,65,184,156,115,171,181,150,150,99,
139,169,116,146,74,231,36,100,76,66,
72,41,133,146,74,7,165,83,78,66,
72,53,150,214,82,41,29,115,82,82,
106,65,232,32,132,16,66,182,32,132,
13,130,208,144,85,0,0,1,0,192,
64,16,26,178,10,0,80,0,0,16,
138,161,24,138,2,132,134,172,2,0,
50,0,0,4,160,40,142,226,40,142,
35,57,146,99,73,22,16,26,178,10,
0,0,2,0,16,0,0,192,112,20,
73,145,20,201,177,36,75,210,44,75,
211,68,81,85,125,213,54,85,85,246,
117,93,215,117,93,215,117,32,52,100,
21,0,0,1,0,64,72,167,153,165,
26,32,194,12,100,24,8,13,89,5,
0,32,0,0,0,70,40,194,16,3,
66,67,86,1,0,0,1,0,0,98,
40,57,136,38,180,230,124,115,142,131,
102,57,104,42,197,230,116,112,34,213,
230,73,110,42,230,230,156,115,206,57,
39,155,115,198,56,231,156,115,138,114,
102,49,104,38,180,230,156,115,18,131,
102,41,104,38,180,230,156,115,158,196,
230,65,107,170,180,230,156,115,198,57,
167,131,113,70,24,231,156,115,154,180,
230,65,106,54,214,230,156,115,22,180,
166,57,106,46,197,230,156,115,34,229,
230,73,109,46,213,230,156,115,206,57,
231,156,115,206,57,231,156,115,170,23,
167,115,112,78,56,231,156,115,162,246,
230,90,110,66,23,231,156,115,62,25,
167,123,115,66,56,231,156,115,206,57,
231,156,115,206,57,231,156,115,130,208,
144,85,0,0,16,0,0,65,24,54,
134,113,167,32,72,159,163,129,24,69,
136,105,200,164,7,221,163,195,36,104,
12,114,10,169,71,163,163,145,82,234,
32,148,84,198,73,41,157,32,52,100,
21,0,0,8,0,0,33,132,20,82,
72,33,133,20,82,72,33,133,20,82,
136,33,134,24,98,200,41,167,156,130,
10,42,169,164,162,138,50,202,44,179,
204,50,203,44,179,204,50,235,176,179,
206,58,236,48,196,16,67,12,173,180,
18,75,77,181,213,88,99,173,185,231,
156,107,14,210,90,105,173,181,214,74,
41,165,148,82,74,41,8,13,89,5,
0,128,0,0,16,8,25,100,144,65,
70,33,133,20,82,136,33,166,156,114,
202,41,168,160,2,66,67,86,1,0,
128,0,0,2,0,0,0,60,201,115,
68,71,116,68,71,116,68,71,116,68,
71,116,68,199,115,60,71,148,68,73,
148,68,73,180,76,203,212,76,79,21,
85,213,149,93,91,214,101,221,246,109,
97,23,118,221,247,117,223,247,117,227,
215,133,97,89,150,101,89,150,101,89,
150,101,89,150,101,89,150,101,89,130,
208,144,85,0,0,8,0,0,128,16,
66,8,33,133,20,82,72,33,165,24,
99,204,49,231,160,147,80,66,32,52,
100,21,0,0,8,0,32,0,0,0,
192,81,28,197,113,36,71,114,36,201,
146,44,73,147,52,75,179,60,205,211,
60,77,244,68,81,20,77,211,84,69,
87,116,69,221,180,69,217,148,77,215,
116,77,217,116,85,89,181,93,89,182,
109,217,214,109,95,150,109,223,247,125,
223,247,125,223,247,125,223,247,125,223,
247,117,29,8,13,89,5,0,72,0,
0,232,72,142,164,72,138,164,72,142,
227,56,146,36,1,161,33,171,0,0,
25,0,0,1,0,40,138,163,56,142,
227,72,146,36,73,150,164,73,158,229,
89,162,102,106,166,103,122,170,168,2,
161,33,171,0,0,64,0,0,1,0,
0,0,0,0,40,154,226,41,166,226,
41,162,226,57,162,35,74,162,101,90,
162,166,106,174,40,155,178,235,186,174,
235,186,174,235,186,174,235,186,174,235,
186,174,235,186,174,235,186,174,235,186,
174,235,186,174,235,186,174,235,186,174,
235,186,46,16,26,178,10,0,144,0,
0,208,145,28,201,145,28,73,145,20,
73,145,28,201,1,66,67,86,1,0,
50,0,0,2,0,112,12,199,144,20,
201,177,44,75,211,60,205,211,60,77,
244,68,79,244,76,79,21,93,209,5,
66,67,86,1,0,128,0,0,2,0,
0,0,0,0,48,36,195,82,44,71,
115,52,73,148,84,75,181,84,77,181,
84,75,21,85,79,85,85,85,85,85,
85,85,85,85,85,85,85,85,85,85,
85,85,85,85,85,85,85,85,85,85,
85,85,85,85,85,85,85,85,53,77,
211,52,77,32,52,100,37,0,0,4,
0,192,98,141,193,229,32,33,37,37,
229,222,16,194,16,147,158,49,38,33,
181,94,33,4,145,146,222,49,6,21,
131,158,50,162,12,114,222,66,227,16,
131,30,8,13,89,17,0,68,1,0,
0,198,32,199,16,115,200,57,71,169,
147,18,57,231,168,116,148,26,231,28,
165,142,82,103,41,197,152,98,205,40,
149,216,82,172,141,115,142,82,71,173,
163,148,98,44,45,118,148,82,141,169,
198,2,0,0,2,28,0,0,2,44,
132,66,67,86,4,0,81,0,0,132,
49,72,41,164,20,98,140,57,167,156,
67,140,41,231,152,115,134,49,230,28,
115,142,57,231,160,116,82,42,231,156,
116,78,74,196,24,115,142,57,167,156,
115,82,58,39,149,115,78,74,39,161,
0,0,128,0,7,0,128,0,11,161,
208,144,21,1,64,156,0,128,65,146,
60,79,242,52,81,148,52,79,20,69,
83,116,93,81,52,93,215,242,60,213,
244,76,83,85,61,209,84,85,83,85,
109,217,84,85,89,150,60,207,52,61,
211,84,85,207,52,85,213,84,85,89,
54,85,85,150,69,85,213,109,211,117,
117,219,116,85,221,150,109,219,247,93,
91,22,118,81,85,109,221,84,93,219,
55,85,215,246,93,217,246,125,89,214,
117,99,242,60,85,245,76,211,117,61,
211,116,101,213,117,109,91,117,93,93,
247,76,83,150,77,215,149,101,211,117,
109,219,149,101,93,119,101,217,247,53,
211,116,93,211,85,101,217,116,93,217,
118,101,87,183,93,89,246,125,211,117,
133,223,149,101,95,87,101,89,24,118,
93,247,133,91,215,149,229,116,93,221,
87,101,87,55,86,89,246,125,91,215,
133,225,214,117,97,153,60,79,85,61,
211,116,93,207,52,93,87,117,93,95,
87,93,215,214,53,211,148,101,211,117,
109,217,84,93,89,118,101,217,247,93,
87,214,117,207,52,101,217,116,93,219,
54,93,87,150,93,89,246,125,87,150,
117,221,116,93,95,87,101,89,248,85,
87,246,117,89,215,149,225,214,109,225,
55,93,215,247,85,89,246,133,87,150,
117,225,214,117,97,185,117,93,24,62,
85,245,125,83,118,133,225,116,101,223,
215,133,223,89,110,93,56,150,209,117,
125,97,149,109,225,88,101,89,57,126,
225,88,150,221,247,149,101,116,93,95,
88,109,217,24,86,89,22,134,95,248,
157,229,246,125,227,120,117,93,25,110,
221,231,204,186,239,12,199,239,164,251,
202,211,213,109,99,153,125,221,89,102,
95,119,142,225,24,58,191,240,227,169,
170,175,155,174,43,12,167,44,11,191,
237,235,198,179,251,190,178,140,174,235,
251,170,44,11,191,42,219,194,177,235,
190,243,252,190,176,44,163,236,250,194,
106,203,194,176,218,182,49,220,190,110,
44,191,112,28,203,107,235,202,49,235,
190,81,182,117,124,95,120,10,195,243,
116,117,93,121,102,93,199,246,117,116,
227,71,56,126,202,0,0,128,1,7,
0,128,0,19,202,64,161,33,43,2,
128,56,1,0,143,36,137,162,100,89,
162,40,89,150,40,138,166,232,186,162,
104,186,174,164,105,166,169,105,158,105,
90,154,103,154,166,105,170,178,41,154,
174,44,105,154,105,90,158,102,154,154,
167,153,166,104,154,174,107,154,166,172,
138,166,41,203,166,106,202,178,105,154,
178,236,186,178,109,187,174,108,219,162,
105,202,178,105,154,178,108,154,166,44,
187,178,171,219,174,236,234,186,164,89,
166,169,121,158,105,106,158,103,154,166,
106,202,178,105,154,174,171,121,158,106,
122,158,104,170,158,40,170,170,106,170,
170,173,170,170,44,91,158,103,154,154,
232,169,166,39,138,170,106,170,166,173,
154,170,42,203,166,170,218,178,105,170,
182,108,170,170,109,187,170,236,250,178,
109,235,186,105,170,178,109,170,166,45,
155,170,106,219,174,236,234,178,44,219,
186,47,105,154,105,106,158,103,154,154,
231,153,166,105,154,178,108,154,170,43,
91,158,167,154,158,40,170,170,230,137,
166,106,170,170,44,155,166,170,202,150,
231,153,170,39,138,170,234,137,158,107,
154,170,42,203,166,106,218,170,105,154,
182,108,170,170,45,155,166,42,203,174,
109,251,190,235,202,178,110,170,170,108,
155,170,106,235,166,106,202,178,108,203,
190,239,202,170,238,138,166,41,203,166,
170,218,178,105,170,178,45,219,178,239,
203,178,172,251,162,105,202,178,105,170,
178,109,170,170,46,203,178,109,27,179,
108,251,186,104,154,178,109,170,166,45,
155,170,42,219,178,45,251,186,44,219,
186,239,202,174,111,171,170,172,235,178,
45,251,186,238,250,174,112,235,186,48,
188,178,108,251,170,172,250,186,43,219,
186,111,235,50,219,246,125,68,211,148,
101,83,53,109,219,84,85,89,118,101,
217,246,101,219,246,125,209,52,109,91,
85,85,91,54,77,213,182,101,89,246,
125,89,182,109,97,52,77,217,54,85,
85,214,77,213,180,109,89,150,109,97,
182,101,225,118,101,217,183,101,91,246,
117,215,149,117,95,215,125,227,215,101,
221,230,186,178,237,203,178,173,251,170,
171,250,182,238,251,194,112,235,174,240,
10,0,0,24,112,0,0,8,48,161,
12,20,26,178,18,0,136,2,0,0,
140,97,140,49,8,141,82,206,57,7,
161,81,202,57,231,32,100,206,65,8,
33,149,204,57,8,33,148,146,57,7,
161,148,148,50,231,32,148,146,82,8,
161,148,148,90,11,33,148,148,82,107,
5,0,0,20,56,0,0,4,216,160,
41,177,56,64,161,33,43,1,128,84,
0,0,131,227,88,150,231,153,162,106,
218,178,99,73,158,39,138,170,169,170,
182,237,72,150,231,137,162,105,170,170,
109,91,158,39,138,166,169,170,174,235,
235,154,231,137,162,105,170,170,235,234,
186,104,154,166,169,170,174,235,186,186,
46,154,162,169,170,170,235,186,178,174,
155,166,170,170,174,43,187,178,236,235,
166,170,170,170,235,202,174,44,251,194,
170,186,174,43,203,178,109,235,194,176,
170,174,235,202,178,108,219,182,111,220,
186,174,235,190,239,251,194,145,173,235,
186,46,252,194,49,12,71,1,0,224,
9,14,0,64,5,54,172,142,112,82,
52,22,88,104,200,74,0,32,3,0,
128,48,6,33,131,16,66,6,33,132,
144,82,74,33,165,148,18,0,0,48,
224,0,0,16,96,66,25,40,52,100,
69,0,16,39,0,0,24,67,41,164,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,72,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,169,164,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,165,
148,82,74,41,165,148,82,74,41,149,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,74,41,165,148,
82,74,41,165,148,82,10,0,144,138,
112,0,144,122,48,161,12,20,26,178,
18,0,72,5,0,0,140,81,74,41,
198,156,131,16,49,230,24,99,208,73,
40,41,98,204,57,198,28,148,146,82,
229,28,132,16,82,105,45,183,202,57,
8,33,164,212,82,109,153,115,82,90,
139,49,230,24,51,231,164,164,20,91,
205,57,135,82,82,139,177,230,154,107,
238,164,180,86,107,174,53,231,90,90,
171,53,215,156,115,205,185,180,22,107,
174,57,215,156,115,203,49,215,156,115,
206,57,231,24,115,206,57,231,156,115,
206,5,0,224,52,56,0,128,30,216,
176,58,194,73,209,88,96,161,33,43,
1,128,84,0,0,2,25,165,24,115,
206,57,232,16,82,140,57,231,28,132,
16,34,133,24,115,206,57,8,33,84,
140,57,231,28,116,16,66,168,24,115,
204,57,8,33,132,144,57,231,28,132,
16,66,8,33,115,14,58,232,32,132,
16,66,7,29,132,16,66,8,161,148,
206,65,8,33,132,16,74,40,33,132,
16,66,8,33,132,16,58,8,33,132,
16,66,8,33,132,16,66,8,33,132,
82,74,8,33,132,16,66,9,161,148,
80,0,0,96,129,3,0,64,128,13,
171,35,156,20,141,5,22,26,178,18,
0,0,2,0,128,28,150,160,82,206,
132,65,142,65,143,13,65,202,81,51,
13,66,76,57,209,153,98,78,106,51,
21,83,144,57,16,157,116,18,25,106,
65,217,94,50,11,0,0,128,32,0,
32,192,4,16,24,32,40,248,66,8,
136,49,0,0,65,136,204,16,9,133,
85,176,192,160,12,26,28,230,1,192,
3,68,132,68,0,144,152,160,72,187,
184,128,46,3,92,208,197,93,7,66,
8,66,16,130,88,28,64,1,9,56,
56,225,134,39,222,240,132,27,156,160,
83,84,234,32,0,0,0,0,0,12,
0,224,1,0,224,160,0,34,34,154,
171,176,184,192,200,208,216,224,232,240,
8,0,0,0,0,0,22,0,248,0,
0,56,62,128,136,136,230,42,44,46,
48,50,52,54,56,58,60,2,0,0,
0,0,0,0,0,0,128,128,128,0,
0,0,0,0,64,0,0,0,128,128,
79,103,103,83,0,4,203,8,0,0,
0,0,0,0,129,63,0,0,2,0,
0,0,75,199,58,147,18,31,30,24,
29,30,31,29,29,31,29,31,29,31,
27,28,31,32,140,116,97,65,210,126,
203,73,96,63,235,217,164,187,140,191,
199,42,155,211,149,23,166,223,99,227,
239,177,202,54,228,45,132,101,193,241,
253,181,14,96,53,213,233,210,189,178,
57,61,254,30,27,175,218,156,30,127,
143,141,87,54,123,6,92,95,65,230,
174,47,0,107,53,14,163,65,234,214,
4,228,133,186,76,169,105,233,116,7,
84,87,90,145,254,240,6,56,50,211,
102,95,23,113,197,250,35,69,106,63,
50,84,47,85,191,121,58,76,8,132,
105,225,241,7,204,87,128,197,254,135,
86,59,58,29,187,43,158,47,122,177,
146,172,6,154,94,61,97,13,148,124,
99,25,130,15,86,61,7,172,159,90,
3,17,59,174,36,197,99,119,229,236,
23,43,201,197,216,93,57,182,51,4,
100,229,198,149,93,229,151,32,132,241,
126,90,253,215,199,62,248,244,108,228,
83,36,153,3,132,60,7,194,15,100,
93,17,204,253,245,26,136,26,95,85,
205,222,255,86,255,253,23,174,72,48,
19,107,102,106,134,154,10,0,140,231,
142,148,251,237,179,32,218,204,237,169,
186,117,189,249,41,236,155,76,1,85,
255,104,105,230,109,171,22,9,0,124,
99,184,193,190,108,50,129,133,111,57,
198,232,235,171,127,148,78,226,95,103,
79,121,123,147,75,143,46,0,76,95,
224,225,11,81,19,192,231,23,91,73,
18,3,30,155,59,108,202,190,1,51,
163,98,230,31,212,231,219,154,1,132,
97,81,208,62,60,18,88,84,115,211,
9,149,205,233,247,216,248,230,116,101,
115,252,125,166,122,175,179,36,116,99,
193,225,254,187,3,216,155,234,235,210,
253,61,54,207,247,194,116,101,115,186,
178,57,61,254,30,27,127,55,10,76,
97,78,208,131,53,29,192,232,224,235,
116,226,84,236,107,209,125,205,93,100,
183,35,236,72,171,9,68,87,158,232,
166,58,5,176,142,127,86,68,67,37,
173,171,151,239,195,231,253,165,209,153,
144,162,155,15,100,97,225,209,131,85,
37,16,175,206,123,77,156,206,151,92,
20,141,221,93,172,140,238,138,198,82,
47,210,35,69,7,84,93,153,192,7,
171,156,3,225,62,150,229,196,105,178,
54,246,226,74,202,197,74,114,177,146,
236,87,18,83,235,165,1,58,154,61,
207,82,84,49,170,83,132,50,196,252,
244,24,99,140,116,206,193,158,115,0,
96,41,146,196,176,30,255,134,199,74,
183,127,203,80,135,178,203,126,106,181,
230,251,25,21,234,29,145,169,222,85,
59,192,235,155,240,164,172,21,31,214,
215,89,26,92,245,119,215,17,25,168,
235,35,188,189,201,250,250,234,58,175,
41,192,186,190,189,113,222,82,214,214,
215,215,215,109,0,120,123,235,117,27,
128,183,183,55,1,214,108,224,188,189,
189,189,197,194,223,225,160,0,112,240,
188,189,189,189,121,0,231,237,13,0,
56,3,224,246,14,3,0,0x00 };
}
|
4c28de14ba87fd7847bda9ba5492fe105abaefe0 | b28750850e5dcc13f3a74d06f79265612bcf33f4 | /graRPG3/head.h | 988e0f7ae018981bb9d6f7475031a1aae2b07ee6 | [] | no_license | MonikaBanaszczak/Games1 | 68f1c66b6ac5c891f7cb07026fcfaeb4cacabbdb | 677b37ccefcff70d21607534c81832f2de2a44dd | refs/heads/master | 2020-12-14T16:11:26.101314 | 2020-01-19T17:49:08 | 2020-01-19T17:49:08 | 234,802,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,448 | h | head.h | #include<iostream>
#include <windows.h>
#include <conio.h>
#include <cstdlib>
#include <string>
#include <time.h>
using namespace std;
bool player_smierc = false;
bool walka;
int command;
string ruch;
int hp, dmg, fhp, fdmg;
float Exp = 0, nexp = 100;
int lvl = 1;
int ehp, edmg, fedmg;
//pozycja gracza na mapie
int x = 2, y = 2;
//Kolekcja voidow
void menu();
void gra();
void map();
void stats();
void input();
void logic();
void klasa();
void fight();
void wolf();
//Kolekcja voidow
void menu()
{
system("cls");
cout << "Witaj w grze RPG!!!" << endl << endl;
cout << "1. Start Gry!" << endl;
cout << "2. Wyjscie z gry" << endl;
cin >> command;
switch (command)
{
case 1:
{
klasa();
} break;
case 2:
{
cout << "Gra zostanie wylaczona!"; Sleep(1500);
exit(0);
} break;
default:
{
cout << "Nie ma takiej opcji!" << endl; Sleep(1500);
menu();
}break;
}
}
void klasa()
{
system("cls");
cout << "Wybierz klase postaci!" << endl << endl;
cout << "1. Wojownik" << endl;
cout << "2. Lowca" << endl;
cout << "3. Mag" << endl;
cin >> command;
switch (command)
{
case 1:
{
hp = 30; //zdrowie
dmg = 5; //obrazenia
gra();
} break;
case 2:
{
hp = 23;
dmg = 8;
gra();
} break;
case 3:
{
hp = 15;
dmg = 13;
gra();
} break;
default:
{
cout << "Nie ma takiej klasy." << endl; Sleep(1500);
klasa();
} break;
}
}
void gra()
{
system("cls");
map();
stats();
input();
logic();
}
void map()
{
system("cls");
if (x == 2 && y == 2)
{
cout<<"Torun!"<<endl;
cout << "Uwazaj! Wilk!" << endl << "Wpisz 'walka' by go pokonac!" << endl;
}
if (x == 1 && y == 1)
{
cout << "Warszawa!" << endl;
cout << "Uwazaj! Wilk!" << endl << "Wpisz 'walka' by go pokonac!" << endl;
}
if (x == 2 && y == 1)
{
cout << "Plonsk!" << endl;
cout << "Uwazaj! Wilk!" << endl << "Wpisz 'walka' by go pokonac!" << endl;
}
if (x == 1 && y == 2)
{
cout << "Plock!" << endl;
cout << "Uwazaj! Wilk!" << endl << "Wpisz 'walka' by go pokonac!" << endl;
}
}
void stats()
{
cout << ">> Pozycja gracza na mapie: X:" << x << " Y: " << y <<" <<"<<endl;
cout << ">> HP:" << hp <<" DMG:"<<dmg<<" LVL:"<<lvl<<" Exp:" <<Exp<<"/" <<nexp<<" <<"<< endl;
}
void input()
{
cin >> ruch;
if (ruch == "w")
{
y++;
}
else if (ruch == "s")
{
y--;
}
else if (ruch == "a")
{
x--;
}
else if (ruch == "d")
{
x++;
}
else if (ruch == "walka")
{
wolf();
fight();
}
else
{
cout << "Nie ma takiego polecenia!" << endl; Sleep(1500);
gra();
}
}
void logic()
{
if (Exp >= nexp)
{
Exp = 0;
lvl++;
hp += 3;
dmg += 2;
nexp = nexp * 1.15;
}
}
void fight()
{
cout << "Rozpoczyna sie walka!" << endl; Sleep(1500);
fhp = hp;
while (ehp >= 1 && fhp >= 1)
{
system ("cls");
cout << "GRACZ: >> HP:" << fhp << " DMG:" << dmg << " LVL:" << lvl << " Exp:" << Exp << "/" << nexp << " <<" << endl;
cout << "PRZECIWNIK: >> HP:" << ehp << " DMG:" << edmg << " <<" << endl << endl;
fdmg = rand() % dmg;
cout << "Gracz zadaje: " << fdmg;
ehp = ehp - fdmg;
Sleep(500);
fedmg = rand() % edmg;
cout << endl << "Przeciwnik zadaje: " << fedmg;
hp = hp - fedmg;
Sleep(500);
}
gra();
}
void wolf()
{
ehp = 15;
edmg = 3;
}
|
9f03eacb1886b092adf6ed9d45eef0a3ecd9bce2 | a461205b7fbab5b2b13088f2b428bab6f0c221a8 | /CF/LookseryCup2015/E.cpp | 41f3c42a53203e54c59f6bc8ea18486cf0a7fd4e | [] | no_license | tjandbjzy/ACMcode | 5c6237247ae46fed27ea6a279f014ca027faca1d | 0826fd42b6c2c7842b71d2f1287e987d387e501b | refs/heads/master | 2020-05-21T19:27:53.033223 | 2017-08-03T15:46:13 | 2017-08-03T15:46:13 | 65,696,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,875 | cpp | E.cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <cfloat>
using namespace std;
const double PI = acos(-1.0);
struct Point{
double x,y;
Point(double x = 0,double y = 0):x(x),y(y){}
};
typedef Point Vec;
Vec operator + (Vec a,Vec b){return Vec(a.x+b.x,a.y+b.y);}
Vec operator - (Point a,Point b){return Vec(a.x-b.x,a.y-b.y);}
Vec operator * (Vec a,double p){return Vec(a.x*p,a.y*p);}
Vec operator / (Vec a,double p){return a*(1/p);}
bool operator < (const Point& a,const Point& b){
return a.x < b.x || (a.x == b.x && a.y < b.y);
}
const double EPS = 1e-10;
int dcmp(double x){
if(fabs(x) < EPS) return 0;else return x < 0 ? -1 : 1;
}
bool operator == (const Point& a,const Point& b){
return dcmp(a.x-b.x)==0 && dcmp(a.y-b.y)==0;
}
double ang(Vec v){return atan2(v.y,v.x);}
double Dot(Vec A,Vec B){return A.x * B.x + A.y * B.y;}
double Length(Vec A){return sqrt(Dot(A,A));}
double Angle(Vec A,Vec B){return acos(Dot(A,B)/Length(A)/Length(B));}
double Cross(Vec A,Vec B){return A.x * B.y - A.y * B.x;}
Point CirCenter(Point a,Point b,Point c){
double a1 = b.x - a.x,b1 = b.y - a.y,c1 = (a1 * a1 + b1 * b1)/2;
double a2 = c.x - a.x,b2 = c.y - a.y,c2 = (a2 * a2 + b2 * b2)/2;
double d = a1 * b2 - a2 * b1;
return Point(a.x + (c1 * b2 - c2 * b1)/d,a.y + (a1 * c2 - a2 * c1)/d);
}
vector<Point> ConvexHull(vector<Point> p){
sort(p.begin(),p.end());
p.erase(unique(p.begin(),p.end()),p.end());
int n = p.size();
vector<Point> ch(n+1);
int m = 0;
for(int i=0;i<n;i++){
while(m>1 && dcmp(Cross(ch[m-1] - ch[m-2],p[i]-ch[m-2]))<=0)m--;
ch[m++] = p[i];
}
int k = m;
for(int i=n-2;i>=0;i--){
while( m>k && dcmp(Cross(ch[m-1] - ch[m-2],p[i] - ch[m-2])) <= 0)m--;
ch[m++] = p[i];
}
if( n > 1)m--;
ch.resize(m);
return ch;
}
bool judge(const vector<Point>& a,const vector<Point>& b,int i,int j){
double minr = -DBL_MAX,maxr = DBL_MAX;
int mid = -1;
int na = a.size(),nb = b.size();
bool flag = true;
for(int k=i+1;k<j;k++){
if(dcmp(Cross(a[k]-a[i],a[k]-a[j]))==0){
flag = false;
break;
}
Point center = CirCenter(a[i],a[j],a[k]);
double r = Length(center - (a[i]+a[j])/2.0);
if(dcmp(Cross(center-a[i],a[j]-a[i]))*dcmp(Cross(a[k]-a[i],a[j]-a[i]))<0)r = -r;
if(dcmp(r-minr)>0)
minr = r,mid = k;
}
if(flag){
for(int k=(j+1)%na;;k = (k+1)%na){
if(k == i)break;
if(dcmp(Cross(a[k]-a[i],a[k]-a[j]))==0){
flag = false;
break;
}
Point center = CirCenter(a[i],a[j],a[k]);
double r = Length(center - (a[i]+a[j])/2.0);
if(dcmp(Cross(center-a[i],a[j]-a[i]))*dcmp(Cross(a[k]-a[i],a[j]-a[i]))>0)r = -r;
if( dcmp(r-maxr)<0)maxr = r;
}
}
//printf("maxr: %lf minr: %lf i: %d j:%d\n",maxr,minr,i,j);
bool ok = true;
if(flag){
for(int k=0;k<nb;k++){
if(dcmp(Cross(b[k]-a[i],a[j]-a[i]))==0 && dcmp(Dot(a[i]-b[k],a[j]-b[k]))<=0 ){
ok = false;
break;
}
Point center = CirCenter(a[i],a[j],b[k]);
double r = Length(center - (a[i]+a[j])/2.0);
if(dcmp(Cross(center-a[i],a[j]-a[i]))*dcmp(Cross(b[k]-a[i],a[j]-a[i]))<0)r = -r;
//printf("r :%lf x: %lf y:%lf\n",r,b[k].x,b[k].y);
if(dcmp(Cross(b[k]-a[i],a[j]-a[i]))>0){
if(dcmp(r-maxr)<0)maxr = r;
}
else if(dcmp(Cross(b[k]-a[i],a[j]-a[i]))<0){
r = -r;
if(dcmp(minr-r)<0)minr = r;
}
if( dcmp(maxr-minr) <= 0){
ok = false;
break;
}
}
}
else ok = false;
return ok || (mid >=0 && (judge(a,b,i,mid) || judge(a,b,mid,j)));
}
int n,m;
int main(){
scanf("%d%d",&n,&m);
vector<Point> ina(n),inb(m);
int x,y;
for(int i=0;i<n;i++)
scanf("%d%d",&x,&y),ina[i].x = (double)x,ina[i].y = (double)y;
for(int i=0;i<m;i++)
scanf("%d%d",&x,&y),inb[i].x = (double)x,inb[i].y = (double)y;
vector<Point> a = ConvexHull(ina),b = ConvexHull(inb);
puts((judge(a,inb,0,a.size()-1) || judge(b,ina,0,b.size()-1)) ? "YES" : "NO");
return 0;
}
|
c804007905fae33b8a0728734f7b9cf6c666d7d0 | f18f5fc705bd635163e2f20fb698f73a60f731c9 | /ProjectCPP/StatusText.h | 24b8d9751fac6a35842bea4a40c2bdf24796a2da | [] | no_license | Tajson999/ProjectCPP | c83a84f7b3f0c057da149b6d27d5b1c6aa1551a9 | 763547ff0adc9ac21fd0c96300e7906e55074f6d | refs/heads/master | 2021-05-08T13:34:55.567153 | 2018-03-11T12:12:40 | 2018-03-11T12:12:40 | 120,020,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | StatusText.h | #ifndef STATUSTEXT_H
#define STATUSTEXT_H
#include <string>
#include <SFML\Graphics.hpp>
class StatusText :public sf::Drawable{
private:
sf::Text text;
sf::Font font;
public:
StatusText();
~StatusText();
void setText(std::string s);
void draw(sf::RenderTarget& target, sf::RenderStates states) const;
};
#endif // !STATUSTEXT_H
|
17a915172d9d8a39baff280430258e80a7235a03 | d1c626e14b16b9d9316f8b15a43efb9698062011 | /FlightCode/src/Nichrome/CSNichrome.cpp | a5573691dde6f1d717108980943ad740c2c4ae00 | [] | no_license | sf314/cs2019 | 3c135fa013764c2261925777a3b96ec517c78739 | 09ef230b2645f69f628b49bb371a0fa366c91588 | refs/heads/master | 2020-03-27T05:48:11.773783 | 2019-12-04T18:32:14 | 2019-12-04T18:32:14 | 146,051,944 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | CSNichrome.cpp |
#include "CSNichrome.h"
CSNichrome::CSNichrome() {
isActive = false;
startMillis = 0;
maxCutTime = 7000;
}
void CSNichrome::config(int p) {
pin = p;
pinMode(pin, OUTPUT);
digitalWrite(pin, LOW);
}
void CSNichrome::start() {
digitalWrite(pin, HIGH);
startMillis = millis();
isActive = true;
}
void CSNichrome::stop() {
digitalWrite(pin, LOW);
isActive = false;
}
void CSNichrome::update() {
// Enforce 10-second max cut time for safety
if (millis() - startMillis >= maxCutTime) {
// Exceeded burn limit. Auto-shutoff
digitalWrite(pin, LOW);
isActive = false;
}
} |
5f8bae269add7650e19e6b15200f64c3af979e09 | 8774d920a5b2b289df936f1b8ca4c5e5d3db32e6 | /VgUppgiften/VgUppgiften.cpp | daae6cd3d61666ce06eb617df92bb9494a35d6b1 | [] | no_license | yacoub85/Weather | 697eae89169e2bfa3b5d7d06063ffbd6c5156963 | 22930f92e88f786dbb3c6bb8bd525647f1cdc374 | refs/heads/master | 2020-11-27T00:18:35.483607 | 2019-12-20T10:18:18 | 2019-12-20T10:18:18 | 229,241,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,718 | cpp | VgUppgiften.cpp | #include <iostream>
#include<string>
#include<fstream>
#include<array>
#include<stdlib.h>
#include<stdio.h>
using namespace std;
struct WeatherData
{
string inOut, time;
float temperature;
unsigned short int humidity, moIndex,doorTimer,doorCounter;
int date;
};
struct WeatherDataDaily
{
string time;
float temperature;
int date;
unsigned short int doorCounter, minute, sumMinute;
};
//calculet th mogelindex
short int calcMog(float temp, int humi)
{
short int mogel = 0;
if (humi > 79 && temp < 15 && temp >= 0)
{
// When the temperature drops 1 degree below 15, humidity should increase by 1.7%
int t = (int)(15 - temp);
humi = humi - (int)(t * 1.7);
if (humi >= 78 && humi < 81)
mogel = 1;
if (humi >= 81 && humi < 84)
mogel = 2;
if (humi >= 84 && humi < 87)
mogel = 3;
if (humi >= 87 && humi < 90)
mogel = 4;
if (humi >= 90 && humi < 93)
mogel = 5;
if (humi >= 93)
mogel = 6;
}
if (humi >= 78 && temp >= 15)
{
int t0 = (int)temp - 15;
humi = humi + (int)(t0 * 1.7);
if (humi >= 78 && humi < 81)
mogel = 1;
if (humi >= 81 && humi < 84)
mogel = 2;
if (humi >= 84 && humi < 87)
mogel = 3;
if (humi >= 87 && humi < 90)
mogel = 4;
if (humi >= 90 && humi < 93)
mogel = 5;
if (humi > 93)
mogel = 6;
}
return mogel;
}
//Handling input errors
int checkInput()
{
int input;
while (true)
{
cin >> input;
if (cin.fail())
{
cout << "Invalid choice try again" << endl;
cin.clear();
cin.ignore(256, '\n');
}
else
{
break;
}
}
return input;
}
//Return to the main menu
void returnTomenu()
{
cout << "\n\nPress Enter to back to the main menu... " << endl;
//pause displays a message and waits for the user to hit a key
system("PAUSE");
//Clearing the Screen
system("CLS");
}
//Merges sort by date.
void mergeDate(WeatherData arr[], int l, int m, int r)
{
int i, j, k;
int n1 = m - l + 1; // Middle - left + 1
int n2 = r - m; // Right - Middle
/* create temp arrays */
WeatherData* L = new WeatherData[n1]; // Left part of array
WeatherData* R = new WeatherData[n2]; // Right part of array
/* Copy data to temp arrays L[] and R[] */
for (i = 0; i < n1; i++)
L[i] = arr[l + i];
for (j = 0; j < n2; j++)
R[j] = arr[m + 1 + j];
/* Merge the temp arrays back into arr[l..r]*/
i = 0; // Initial index of first subarray
j = 0; // Initial index of second subarray
k = l; // Initial index of merged subarray
while (i < n1 && j < n2)
{
if (L[i].date <= R[j].date)
{
arr[k] = L[i];
i++;
}
else
{
arr[k] = R[j];
j++;
}
k++;
}
/* Copy the remaining elements of L[], if there are any */
while (i < n1)
{
arr[k] = L[i];
i++;
k++;
}
/* Copy the remaining elements of R[], if there are any */
while (j < n2)
{
arr[k] = R[j];
j++;
k++;
}
}
void mergeSortDate(WeatherData arr[], int l, int r)
{
if (l < r)
{
// Same as (l+r)/2, but avoids overflow for
// large l and r
int m = l + (r - l) / 2;
// Sort first and second halves
mergeSortDate(arr, l, m);
mergeSortDate(arr, m + 1, r);
mergeDate(arr, l, m, r);
}
}
// Merges sort by temperature.
void mergeTemperature(WeatherData arr[], int l, int m, int r)
{
int i, j, k;
int n1 = m - l + 1; // Middle - left + 1
int n2 = r - m; // Right - Middle
/* create temp arrays */
WeatherData* L = new WeatherData[n1]; // Left part of array
WeatherData* R = new WeatherData[n2]; // Right part of array
/* Copy data to temp arrays L[] and R[] */
for (i = 0; i < n1; i++)
L[i] = arr[l + i];
for (j = 0; j < n2; j++)
R[j] = arr[m + 1 + j];
/* Merge the temp arrays back into arr[l..r]*/
i = 0; // Initial index of first subarray
j = 0; // Initial index of second subarray
k = l; // Initial index of merged subarray
while (i < n1 && j < n2)
{
if (L[i].temperature >= R[j].temperature)
{
arr[k] = L[i];
i++;
}
else
{
arr[k] = R[j];
j++;
}
k++;
}
/* Copy the remaining elements of L[], if there are any */
while (i < n1)
{
arr[k] = L[i];
i++;
k++;
}
/* Copy the remaining elements of R[], if there are any */
while (j < n2)
{
arr[k] = R[j];
j++;
k++;
}
}
void mergeSortTemperature(WeatherData arr[], int l, int r)
{
if (l < r)
{
// Same as (l+r)/2, but avoids overflow for
// large l and r
int m = l + (r - l) / 2;
// Sort first and second halves
mergeSortTemperature(arr, l, m);
mergeSortTemperature(arr, m + 1, r);
mergeTemperature(arr, l, m, r);
}
}
//Merges sort by humidity.
void mergeHumidity(WeatherData arr[], int l, int m, int r)
{
int i, j, k;
int n1 = m - l + 1; // Middle - left + 1
int n2 = r - m; // Right - Middle
/* create temp arrays */
WeatherData* L = new WeatherData[n1]; // Left part of array
WeatherData* R = new WeatherData[n2]; // Right part of array
/* Copy data to temp arrays L[] and R[] */
for (i = 0; i < n1; i++)
L[i] = arr[l + i];
for (j = 0; j < n2; j++)
R[j] = arr[m + 1 + j];
/* Merge the temp arrays back into arr[l..r]*/
i = 0; // Initial index of first subarray
j = 0; // Initial index of second subarray
k = l; // Initial index of merged subarray
while (i < n1 && j < n2)
{
if (L[i].humidity <= R[j].humidity)
{
arr[k] = L[i];
i++;
}
else
{
arr[k] = R[j];
j++;
}
k++;
}
/* Copy the remaining elements of L[], if there are any */
while (i < n1)
{
arr[k] = L[i];
i++;
k++;
}
/* Copy the remaining elements of R[], if there are any */
while (j < n2)
{
arr[k] = R[j];
j++;
k++;
}
}
void mergeSortHumidity(WeatherData arr[], int l, int r)
{
if (l < r)
{
// Same as (l+r)/2, but avoids overflow for
// large l and r
int m = l + (r - l) / 2;
// Sort first and second halves
mergeSortHumidity(arr, l, m);
mergeSortHumidity(arr, m + 1, r);
mergeHumidity(arr, l, m, r);
}
}
//Merges sort by risk of mogel.
void mergeMog(WeatherData arr[], int l, int m, int r)
{
int i, j, k;
int n1 = m - l + 1; // Middle - left + 1
int n2 = r - m; // Right - Middle
/* create temp arrays */
WeatherData* L = new WeatherData[n1]; // Left part of array
WeatherData* R = new WeatherData[n2]; // Right part of array
/* Copy data to temp arrays L[] and R[] */
for (i = 0; i < n1; i++)
L[i] = arr[l + i];
for (j = 0; j < n2; j++)
R[j] = arr[m + 1 + j];
/* Merge the temp arrays back into arr[l..r]*/
i = 0; // Initial index of first subarray
j = 0; // Initial index of second subarray
k = l; // Initial index of merged subarray
while (i < n1 && j < n2)
{
if (L[i].moIndex <= R[j].moIndex)
{
arr[k] = L[i];
i++;
}
else
{
arr[k] = R[j];
j++;
}
k++;
}
/* Copy the remaining elements of L[], if there are any */
while (i < n1)
{
arr[k] = L[i];
i++;
k++;
}
/* Copy the remaining elements of R[], if there are any */
while (j < n2)
{
arr[k] = R[j];
j++;
k++;
}
}
void mergeSortMog(WeatherData arr[], int l, int r)
{
if (l < r)
{
// Same as (l+r)/2, but avoids overflow for
// large l and r
int m = l + (r - l) / 2;
// Sort first and second halves
mergeSortMog(arr, l, m);
mergeSortMog(arr, m + 1, r);
mergeMog(arr, l, m, r);
}
}
//Merges sort by the longest time the balcony door was opened
void mergeDoor(WeatherData arr[], int l, int m, int r)
{
int i, j, k;
int n1 = m - l + 1; // Middle - left + 1
int n2 = r - m; // Right - Middle
/* create temp arrays */
WeatherData* L = new WeatherData[n1]; // Left part of array
WeatherData* R = new WeatherData[n2]; // Right part of array
/* Copy data to temp arrays L[] and R[] */
for (i = 0; i < n1; i++)
L[i] = arr[l + i];
for (j = 0; j < n2; j++)
R[j] = arr[m + 1 + j];
/* Merge the temp arrays back into arr[l..r]*/
i = 0; // Initial index of first subarray
j = 0; // Initial index of second subarray
k = l; // Initial index of merged subarray
while (i < n1 && j < n2)
{
if (L[i].doorTimer <= R[j].doorTimer)
{
arr[k] = L[i];
i++;
}
else
{
arr[k] = R[j];
j++;
}
k++;
}
/* Copy the remaining elements of L[], if there are any */
while (i < n1)
{
arr[k] = L[i];
i++;
k++;
}
/* Copy the remaining elements of R[], if there are any */
while (j < n2)
{
arr[k] = R[j];
j++;
k++;
}
}
void mergeSortDoor(WeatherData arr[], int l, int r)
{
if (l < r)
{
// Same as (l+r)/2, but avoids overflow for
// large l and r
int m = l + (r - l) / 2;
// Sort first and second halves
mergeSortDoor(arr, l, m);
mergeSortDoor(arr, m + 1, r);
mergeDoor(arr, l, m, r);
}
}
//binarySearch
int binarySearch(WeatherData arr[], int leftIndex, int rightIndex, int x)
{
while (leftIndex <= rightIndex)
{
int middleIndex = leftIndex + (rightIndex - leftIndex) / 2;
if (arr[middleIndex].date == x)
return middleIndex;
if (arr[middleIndex].date < x)
leftIndex = middleIndex + 1;
if (arr[middleIndex].date > x)
rightIndex = middleIndex - 1;
}
return -1;
}
//print Out
void printOut(WeatherData arr[], int start, int end, string text, int freeChoice)
{
cout << "\n\n\t" << text << endl;
cout << "\n\n\t" << " Date" << " " << " inOut" << " " << "temperature" << " " << "Humidity" << " " << "MoIndex" << endl << endl;
if (start < end)
{
for (start; start < end; start++)
{
cout << "\t" << arr[start].date << " " << arr[start].inOut << " " << roundf(arr[start].temperature * 100) / 100
<< " " << arr[start].humidity << "%" << "\t " << arr[start].moIndex << endl;
}
cout << "\n\n\t........................................................." << endl;
}
if (start > end)
{
for (start; start > end; start--)
{
cout << "\t" << arr[start].date << " " << arr[start].inOut << " " << roundf(arr[start].temperature * 100) / 100
<< " " << arr[start].humidity << "%" << "\t " << arr[start].moIndex << endl;
}
cout << "\n\n\t........................................................." << endl;
}
if (freeChoice == 1)
{
cout << "\n\n\tDo you want print out all days press [1] or press [0] to back to main menu ";
int inputDate = checkInput();
if (inputDate == 1)
{
//call the print function
printOut(arr, 0, 130, "-All days:", 0);
}
}
}
//print Out for Door
void printOutIN(WeatherData arr[], int start, int end, string text, int freeChoice)
{
cout << "\n\n\t" << text << endl;
cout << "\n\n\t" << " Date" << " " << " inOut" << " " << "temperature" << " " << "Humidity" << " " << "MoIndex" <<" Door " <<" Minutes "<<endl << endl;
if (start < end)
{
for (start; start < end; start++)
{
cout << "\t" << arr[start].date << " " << arr[start].inOut << " " << roundf(arr[start].temperature * 100) / 100
<< " " << arr[start].humidity << "%" << "\t " << arr[start].moIndex << "\t " << arr[start].doorCounter<< "\t " <<arr[start].doorTimer<<endl;
}
cout << "\n\n\t............................................................................" << endl;
}
if (start > end)
{
for (start; start > end; start--)
{
cout << "\t" << arr[start].date << " " << arr[start].inOut << " " << roundf(arr[start].temperature * 100) / 100
<< " " << arr[start].humidity << "%" << "\t " << arr[start].moIndex << "\t " << arr[start].doorCounter << "\t " << arr[start].doorTimer << endl;
}
cout << "\n\n\t............................................................................." << endl;
}
if (freeChoice == 1)
{
cout << "\n\n\tDo you want print out all days press [1] or press [0] to back to main menu ";
int inputDate = checkInput();
if (inputDate == 1)
{
//call the print function
printOutIN(arr, 0, 130, "-All days:", 0);
}
}
}
int main()
{
cout << "\n\tPlease Wait...";
WeatherData* tempArr = new WeatherData[3800];// temporary inside and Outside array
WeatherData* arrIn = new WeatherData[130]; // inside main array
WeatherData* arrOut = new WeatherData[130];// Outside main array
WeatherDataDaily* arrAllIn = new WeatherDataDaily[164444];//all insides temperatures
//declare variables to use it temporary to save values in array
string temporaryYear = "0", * pTemporaryYear = &temporaryYear;
string temporaryMonth = "0", * pTemporaryMonth = &temporaryMonth;
string temporaryDay = "0", * pTemporaryDay = &temporaryDay;
string temporary = "0", * pTemporary = &temporary;
float inTempSum = 0, outTempSum = 0;
int inHumiSum = 0, outHumiSum = 0;
//declare new counters to use it to fill the main array
int inCount = 0, outCount = 0, doorCounter = 0, x = 0, i = 0;
//reading from file and saving data in temporary array then to main arrays
ifstream text("tempdata4.txt");
if (text.is_open())
{
unsigned int currentDay = 0;
unsigned int checkDate = 0;
while (!text.eof())
{
//first time reading from the file
if (i == 0 && x == 0)
{
// read date fram the file
getline(text, *pTemporaryYear, '-');
getline(text, *pTemporaryMonth, '-');
getline(text, *pTemporaryDay, ' ');
// save date in temporary array
tempArr[i].date = (stoi(*pTemporaryYear) * 10000) + (stoi(*pTemporaryMonth) * 100) + (stoi(*pTemporaryDay));
// read time fram the file and save it in temporary array
getline(text, tempArr[i].time, ',');
//read and save sensor place
getline(text, tempArr[i].inOut, ',');
//read and save temperature
getline(text, *pTemporary, ',');
tempArr[i].temperature = stof(*pTemporary);
//read and save humidity
getline(text, *pTemporary);
tempArr[i].humidity = stoi(*pTemporary);
//set the same date for both current day and check date
currentDay = tempArr[i].date;
checkDate = tempArr[i].date;
i++;
}
//continuing reading from the file
if (i != 0)
{
//read date and check if it is same day or it is new day
getline(text, *pTemporaryYear, '-');
getline(text, *pTemporaryMonth, '-');
getline(text, *pTemporaryDay, ' ');
checkDate = (stoi(*pTemporaryYear) * 10000) + (stoi(*pTemporaryMonth) * 100) + (stoi(*pTemporaryDay));
//if the current reading of date is same the last reading of date
if (checkDate == currentDay)
{
//save date in array
tempArr[i].date = currentDay;
//read time and ather data and save it in temporary array
getline(text, tempArr[i].time, ',');
getline(text, tempArr[i].inOut, ',');
getline(text, *pTemporary, ',');
tempArr[i].temperature = stof(*pTemporary);
getline(text, *pTemporary);
tempArr[i].humidity = stoi(*pTemporary);
i++;
}
//if the current reading of date is not same the last reading of date
if (checkDate != currentDay)
{
//Read fram temporary array by location of sensor and calc sum of the temperatures and Humidity
//Internal sensor
for (int j = 0; j < i; j++)
{
if (tempArr[j].inOut == "Inne")
{
inCount++;//counter to save all information in separate array
inTempSum += tempArr[j].temperature;
inHumiSum += tempArr[j].humidity;
//save all Internal sensor readings in separate array to analyse it then
arrAllIn[doorCounter].date = tempArr[j].date;
arrAllIn[doorCounter].time= tempArr[j].time;
arrAllIn[doorCounter].temperature = tempArr[j].temperature;
doorCounter++;
}
//external sensor
if (tempArr[j].inOut == "Ute")
{
outCount++;
outTempSum += tempArr[j].temperature;
outHumiSum += tempArr[j].humidity;
}
//After finish the calculating, save all the results in main arrays
if (j == (i - 1))
{
// Save Average of the internal temperatures and Humidity in the main array
arrIn[x].temperature = (inTempSum / inCount);
arrIn[x].temperature = (inTempSum / inCount);
arrIn[x].humidity = (inHumiSum / inCount);
arrIn[x].inOut = "Inne";
arrIn[x].date = currentDay;
//calc the mogelIndex by caling its function and svae it in the main array
arrIn[x].moIndex = calcMog(inTempSum / inCount, inHumiSum / inCount);
//Save Average of the external temperatures and Humidity in the main array
arrOut[x].temperature = (outTempSum / outCount);
arrOut[x].humidity = (outHumiSum / outCount);
arrOut[x].inOut = "Ute";
arrOut[x].date = currentDay;
//calc the mogelIndex by caling its function and svae it in the main array
arrOut[x].moIndex = calcMog(outTempSum / outCount, outHumiSum / outCount);
x++;
//Set the beginning from the next day
currentDay = checkDate;
//Reset counters
i = 0;
inCount = 0; outCount = 0;
inTempSum = 0; outTempSum = 0;
inHumiSum = 0; outHumiSum = 0;
}
}
//beginning read new date
if (i == 0 && x != 0)
{
tempArr[i].date = currentDay;
getline(text, tempArr[i].time, ',');
getline(text, tempArr[i].inOut, ',');
getline(text, *pTemporary, ',');
tempArr[i].temperature = stof(*pTemporary);
getline(text, *pTemporary);
tempArr[i].humidity = stoi(*pTemporary);
i++;
}
}
}
}
}
int index = 0;
float n = 0; float* pN = &n;
int j = 0;
int today = 0;
int yesterday = 0;
doorCounter = 0;
int inCountr = 0;
int sumMinute = 0; int minute = 0;
short int indexMini = 0, indexMax = 0;
float miniTemp = 0, maxTemp = 0;
//analyze temperature changes and draw conclusions
for (int i = 0; i < 164444; i++)
{
if (i == 0)
{
today = arrAllIn[0].date;
yesterday = arrAllIn[0].date;
}
//calc the difference between current and next reading of temperature
*pN = arrAllIn[i].temperature - arrAllIn[i + 1].temperature;
//if the difference is more than 0,3 degrees that's mean is something happened and caused this
//big difference in temperature
if (*pN >= 0.3 && i != 164444)
{
doorCounter++;
//minute++;
sumMinute++;
i++;
*pN = (arrAllIn[i].temperature) - (arrAllIn[i + 1].temperature);
while (*pN >= 0.01 && i != 164444)
{
//minute++;
sumMinute++;
i++;
*pN = arrAllIn[i].temperature - arrAllIn[i + 1].temperature;
}
}
today = arrAllIn[i].date;
if (today != yesterday)
{
//save results in the main array
arrIn[j].doorCounter = doorCounter;
arrIn[j].doorTimer = sumMinute;
//cout << "Door Counter= " << arrIn[j].doorCounter << " Door Timer = " << arrIn[j].doorTimer << endl;
j++;
yesterday = arrAllIn[i].date;
doorCounter = 0;
sumMinute = 0;
}
}
//print out the menu selection:
index = 0;
int inputDate = 0;
//int* inputDate = new int;
bool loop = true;
while (loop)
{
short int choice1, choice2, choice3, choice4;
system("CLS");////Clearing the Screen
cout << "\n\tvälj: " << endl;
cout << "\t[1] Inomhus" << endl;
cout << "\t[2] Utomhus" << endl;
cout << "\t[3] Temperaturen som skiljer sig mest och minst" << endl;
cout << "\t[4] Exit" << endl;
choice1 = checkInput();
system("CLS");////Clearing the Screen
switch (choice1)
{
case 1:
cout << "\n\t[Inomhus]\n";
cout << "\t\tvنlj: " << endl;
cout << "\t\t [1] Medeltemperatur fِr valt datum" << endl;
cout << "\t\t [2] Sortering av varmast till kallaste dagen" << endl;
cout << "\t\t [3] Sortering av torrast till fuktigaste dagen" << endl;
cout << "\t\t [4] Sortering av minst till störst risk av mِgel" << endl;
cout << "\t\t [5] Skriva ut doors öppnings information" << endl;
cout << "\t\t [6] Sortering av längst tid var dorren öppnad" << endl;
cout << "\t\t [7] Back to main menu" << endl;
choice2 = checkInput();
switch (choice2)
{
case 1:
//sort by date
mergeSortDate(arrIn, 0, 129);
system("CLS");//Clearing the Screen
cout << "\n\tEnter the date [YYYYMMDD] to view the details:";
inputDate = checkInput();
//call the search function
index = binarySearch(arrIn, 0, 130, inputDate);
if (index != -1)
{
//call the print function
printOutIN(arrIn, index, index + 1, "-Medeltemperatur:", 1);
}
else
{
//call the print function
printOutIN(arrIn, 0, 0, "Can't find! Please enter another date!", 1);
}
returnTomenu();
break;
case 2:
//Sortering av varmast till kallaste dagen
system("CLS");//Clearing the Screen
//call the sort function
mergeSortTemperature(arrIn, 0, 129);
//call the print function
printOut(arrIn, 0, 5, "-Varmast dagen:", 0);
//call the print function
printOut(arrIn, 129, 124, "-Kallaste dagen:", 1);
returnTomenu();
break;
case 3:
// sorting by humidity
system("CLS");//Clearing the Screen
mergeSortHumidity(arrIn, 0, 129);
//call the print function
printOut(arrIn, 0, 5, "-torrast till fuktigaste:", 0);
//call the print function
printOut(arrIn, 129, 124, "-fuktigaste till torrast:", 1);
returnTomenu();
break;
case 4:
//sorting by mogelIndex
system("CLS");//Clearing the Screen
mergeSortMog(arrIn, 0, 129);
//call the print function
printOut(arrIn, 0, 5, "-minst till stِrst risk av mِgel:", 0);
//call the print function
printOut(arrIn, 129, 124, "-stِrst till minst risk av mِgel:", 1);
//printOut(arrIn, 0,130, "Sortering av minst till stِrst risk av mِgel");
returnTomenu();
break;
case 5:
//print out doors information
system("CLS");//Clearing the Screen
cout << "\n\tEnter the date [YYYYMMDD] to view the details:";
inputDate = checkInput();
cout << endl << endl;
//search
for (int i = 0; i < 164444; i++)
{
if (inputDate == arrAllIn[i].date)
{
while (i != 164444)
{
//check the difference between current temperatureand the next
*pN = arrAllIn[i].temperature - arrAllIn[i + 1].temperature;
//if the difference is more than 0,3 degrees that's mean is something happened and caused this
//big difference in temperature
if (*pN >= 0.3 && i != 164444)
{
doorCounter++;
minute++;
sumMinute++;
cout << arrAllIn[i].date << " " << arrAllIn[i].time << " " << arrAllIn[i].temperature << endl;
cout << arrAllIn[i + 1].date << " " << arrAllIn[i + 1].time << " " << arrAllIn[i + 1].temperature << endl;
i++;
*pN = (arrAllIn[i].temperature) - (arrAllIn[i + 1].temperature);
//until the temperature get stabile
while (*pN >= 0.01 && i != 164444)
{
minute++;
sumMinute++;
cout << arrAllIn[i + 1].date << " " << arrAllIn[i + 1].time << " " << arrAllIn[i + 1].temperature << endl;
i++;
*pN = arrAllIn[i].temperature - arrAllIn[i + 1].temperature;
}
cout << "--------------------------[" << minute << " min]" << endl;
minute = 0;
}
today = arrAllIn[i].date;
if (inputDate != today)
{
//bring the index number for the inputs date from arrOut
index = binarySearch(arrOut, 0, 129, inputDate);
cout << "........................................................................................" << endl;
cout << "The door opened: " << doorCounter << " times for [" << sumMinute << "] minutes and avregeTempIn["
<< roundf(arrIn[index].temperature*100)/100 << "] avregeTempOut[" << roundf(arrOut[index].temperature*100)/100 << "]" << endl;
cout << "........................................................................................" << endl;
doorCounter = 0;
sumMinute = 0;
//stop searching
i = 164444;
break;
}
i++;
}
}
}
returnTomenu();
break;
break;
case 6:
//sorting by longest time the balcony door was opened
system("CLS");//Clearing the Screen
//call sort function
mergeSortDoor(arrIn, 0, 129);
//call the print function
printOutIN(arrIn, 129, 124, "-Längst tid för öppning dörren :", 1);
returnTomenu();
break;
case 7:
break;
default:
cout << "your choice is not ixest" << endl;
returnTomenu();
break;
}
break;
case 2:
cout << "\n\t[Utomhus]\n";
cout << "\t\tvنlj: " << endl;
cout << "\t\t [1] Medeltemperatur fِr valt datum" << endl;
cout << "\t\t [2] Sortering av varmast till kallaste dagen" << endl;
cout << "\t\t [3] Sortering av torrast till fuktigaste dagen" << endl;
cout << "\t\t [4] Sortering av minst till stِrst risk av mِgel" << endl;
cout << "\t\t [5] Datum för meteorologisk Hِst" << endl;
cout << "\t\t [6] Datum för meteorologisk Vinter" << endl;
cout << "\t\t [7] Back to main menu" << endl;
choice3 = checkInput();
switch (choice3)
{
//int index;
case 1:
//sort by date
mergeSortDate(arrOut, 0, 129);
system("CLS");//Clearing the Screen
cout << "\n\tEnter the date [YYYYMMDD] to view the details:";
inputDate = checkInput();
//call the search function
index = binarySearch(arrOut, 0, 129, inputDate);
if (index != -1)
{
//call the print function
printOut(arrOut, index, index + 1, "-Medeltemperatur:", 1);
}
else
{
printOut(arrOut, 0, 0, "Can't find! Please enter another date!", 1);
//cout << "Can't find [" << inputDate << "] Please enter another date! " << endl;
}
returnTomenu();
break;
case 2:
//Sortering av varmast till kallaste dagen
system("CLS");//Clearing the Screen
//call the sort function
mergeSortTemperature(arrOut, 0, 129);
//call the print function
printOut(arrOut, 0, 5, "-Varmast dagen:", 0);
//call the print function
printOut(arrOut, 129, 124, "-Kallaste dagen:", 1);
returnTomenu();
break;
case 3:
// sorting by humidity
system("CLS");//Clearing the Screen
mergeSortHumidity(arrOut, 0, 129);
//call the print function
printOut(arrOut, 0, 5, "-torrast till fuktigaste:", 0);
//call the print function
printOut(arrOut, 129, 124, "-fuktigaste till torrast:", 1);
returnTomenu();
break;
case 4:
//sorting by mogelIndex
system("CLS");//Clearing the Screen
mergeSortMog(arrOut, 0, 129);
//call the print function
printOut(arrOut, 0, 5, "-minst till störst risk av mögel:", 0);
//call the print function
printOut(arrOut, 129, 124, "-störst till minst risk av mögel:", 1);
returnTomenu();
break;
case 5:
//Algorithm for Meteorological Autumn
system("CLS");//Clearing the Screen
//sort by date
mergeSortDate(arrOut, 0, 129);
for (int i = 0; i < 130 - 5; i++)
{
if (arrOut[i].temperature < 10 && arrOut[i].temperature >= 0)
{
if (arrOut[i].temperature > arrOut[i + 1].temperature)
{
i++;
if (arrOut[i].temperature > arrOut[i + 1].temperature)
{
i++;
if (arrOut[i].temperature > arrOut[i + 1].temperature)
{
i++;
if (arrOut[i].temperature > arrOut[i + 1].temperature)
{
cout << "\n\t\tDatum fِr meteorologisk hِst نr : " << arrOut[i - 3].date << endl;
break;
}
}
}
}
}
if (i==124)
{
cout << "\t\tNo autumn this year!" << endl;
}
}
returnTomenu();
break;
case 6:
//Algorithm for meteorological winter
system("CLS");//Clearing the Screen
//sort by date
mergeSortDate(arrOut, 0, 129);
for (int i = 0; i < 130 - 5; i++)
{
if (arrOut[i].temperature < 0)
{
if (arrOut[i + 1].temperature < 0)
{
i++;
if (arrOut[i + 1].temperature < 0)
{
i++;
if (arrOut[i + 1].temperature < 0)
{
i++;
if (arrOut[i + 1].temperature < 0)
{
cout << "\n\t\tVinter: " << arrOut[i - 3].date << endl;
break;//don't continue search
}
}
}
}
}
if (i == 124)
{
cout << "\t\tNo winter this year!" << endl;
}
}
returnTomenu();
break;
case 7:
break;
default:
cout << "your choice is not ixest" << endl;
returnTomenu();
break;
}
break;
case 3:
//find the bigger and the smallest difference between insides and outsides temperature
//sort by date
mergeSortDate(arrIn, 0, 129);
mergeSortDate(arrOut, 0, 129);
//find the differences and save the results
for (int i = 0; i < 130; i++)
{
if (arrIn[i].temperature > arrOut[i].temperature)
{
*pN = arrIn[i].temperature - arrOut[i].temperature;
}
else
{
*pN = arrOut[i].temperature - arrIn[i].temperature;
}
if (i == 0)
{
miniTemp = *pN;
maxTemp = *pN;
}
if (*pN >= maxTemp)
{
maxTemp = *pN;
indexMax = i;
}
if (*pN <= miniTemp)
{
miniTemp = *pN;
indexMini = i;
}
}
//print out the results
cout << "\n\t[" << arrIn[indexMini].date << "] " << " miniDiffTemp : " << miniTemp << " tempOut = " << arrOut[indexMini].temperature << " tempIn = " << arrIn[indexMini].temperature << endl;
cout << "\n\t[" << arrIn[indexMax].date << "] " << " maxDiffTemp : " << maxTemp << " tempOut = " << arrOut[indexMax].temperature << " tempIn = " << arrIn[indexMax].temperature << endl;
returnTomenu();
break;
case 4:
//Exit
loop = false;
break;
default:
//If user enter a choice does not exist
cout << "your choice is not ixest" << endl;
returnTomenu();
break;
}
}
//rensa heap
delete[]tempArr;
delete[]arrIn;
delete[]arrOut;
delete[]arrAllIn;
}
|
b9cdae17bd0888a1a92cad3cb6f8fdd4777ada14 | e0638c42c9d5f397f8302e4c03b235b14cec9eaa | /Team5_GP3_CPP/Player/PlayerComponents/PlayerThrowRollComponent.h | df4ba9ab72344b1dbae189f13529e5612d11ce9f | [] | no_license | FutureGamesTony/Team5_GP3_Fallmart_codeReview | f28b956f07e59e3d2bc824adaac295f2c8a6e547 | f547d6fe28e6d211356182d7b3d14be4aedc8c3d | refs/heads/master | 2023-06-03T19:08:09.848646 | 2021-06-16T08:19:48 | 2021-06-16T08:19:48 | 377,414,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | h | PlayerThrowRollComponent.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Team5_GP3/AI/AICustomerAbstract.h"
#include "Team5_GP3/AI/Others/ThrowableItem.h"
#include "PlayerThrowRollComponent.generated.h"
class UPhysicsHandleComponent;
class USplineMeshComponent;
class APlayerCharacter;
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class TEAM5_GP3_API UPlayerThrowRollComponent : public UActorComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
UPlayerThrowRollComponent();
UPROPERTY()
APlayerCharacter* Player;
UPROPERTY(EditAnywhere, Category="Casting Roll Settings")
TSubclassOf<AThrowableItem> RollToThrow;
UPROPERTY(EditAnywhere, Category="Casting Roll Settings")
TSubclassOf<AThrowableItem> RollToThrowCustomer;
UPROPERTY(EditAnywhere, Category="Casting Roll Settings")
float minForce = 300;
UPROPERTY(EditAnywhere, Category="Casting Roll Settings")
float maxForce = 2000;
UPROPERTY(EditAnywhere, Category="Casting Roll Settings")
float powerSpeed = 600.f;
float force;
FVector rollVelocity;
UPROPERTY()
TArray<USplineMeshComponent *> A_SplineMesh;
protected:
// Called when the game starts
virtual void BeginPlay() override;
UFUNCTION()
void DrawProjectory();
UFUNCTION()
void ClearSplineMeshes();
UFUNCTION()
void StopDrawProjectory();
UFUNCTION()
void StopDrawCustomerProjectory(AAICustomerAbstract * CustomerToThrow, UPhysicsHandleComponent* PhysicsHandleComponent);
FTimerHandle handle;
bool isDrawProjectory = false;
public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
};
|
05ddc88c4ffc2c4f536a210dbaaf47100766076a | b15c6bfc1febab8e982965c9a0404b26d7461ed4 | /GrapgicalLib/GrapgicalLib/Line2D.h | e6bf9b7a4bf5b29fcdd730ff6e00998604e70c4b | [] | no_license | Skjelsbek/cpp_projects | b0c757c3f802d3c9372510342b559f64bfe02136 | 7350f17443a0a8321b7d8419ba940c575a91b2cf | refs/heads/master | 2021-10-09T01:22:03.584787 | 2018-12-19T18:20:40 | 2018-12-19T18:20:40 | 84,945,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | h | Line2D.h | #pragma once
#include "Point2D.h"
class Line2D
{
public:
Line2D(const Point2D &p1, const Point2D &p2); // Constructor creating a line from two points
friend Line2D operator+(const Point2D &p1, const Point2D &p2); // Adding two potins becomes a line
friend std::ostream &operator<<(std::ostream &os, const Line2D &l); // For printing an object directly
// Geters for endpoints in the line
const Point2D &getv1() const { return m_p1; };
const Point2D &getv2() const { return m_p2; };
private:
// Endpoints in the line
Point2D m_p1;
Point2D m_p2;
}; |
620aeefb98da9fc982f81a67e58b0e75549395b3 | 15a0abbc28387057ebc5430fcc7fa231bf7e1dce | /assignment1/src/trequeue.h | d53bbd65344fc851a3b48c2605045fa7c942c32d | [] | no_license | lily-mara/CSE-274 | 7272c43dd086b4aa173484d467b5079f01ecd431 | f0c9bbaecfe2c099609859ec8eceeb259c16287a | refs/heads/master | 2021-05-28T13:27:47.831163 | 2014-11-21T01:38:59 | 2014-11-21T01:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,183 | h | trequeue.h | /*
* trequeue.h
*
* Created on: Sep 11, 2014
* Author: Nate Mara
*/
#ifndef TREQUEUE_H_
#define TREQUEUE_H_
#include "ArrayDeque.h"
template <class T>
class Trequeue {
private:
ods::ArrayDeque<T> front;
ods::ArrayDeque<T> back;
public:
Trequeue();
~Trequeue();
int size();
T get(int);
void set(int, T);
void add(int, T);
T remove(int);
void clear();
void balance();
};
template <class T>
Trequeue<T>::Trequeue() {
}
template <class T>
Trequeue<T>::~Trequeue() {
}
template <class T>
void Trequeue<T>::clear() {
this->front.clear();
this->back.clear();
}
template <class T>
int Trequeue<T>::size() {
return this->front.size() + this->back.size();
}
template <class T>
T Trequeue<T>::get(int index) {
if (index >= this->front.size()) {
return this->back.get(index - this->front.size());
}
return this->front.get(index);
}
template <class T>
void Trequeue<T>::set(int index, T value) {
if (index > this->size() / 2) {
this->back.set(index - this->front.size(), value);
} else {
this->front.set(index, value);
}
this->balance();
}
template <class T>
void Trequeue<T>::add(int index, T value) {
if (index > this->front.size()) {
this->back.add(index - this->front.size(), value);
} else {
this->front.add(index, value);
}
// this->balance();
}
template <class T>
T Trequeue<T>::remove(int index) {
T item = this->get(index);
if (index > this->front.size()) {
this->back.remove(index - this->front.size());
} else {
this->front.remove(index);
}
this->balance();
return item;
}
template <class T>
void Trequeue<T>::balance() {
bool bigFront = this->back.size() * 3 < this->front.size();
bool bigBack = this->front.size() * 3 < this->back.size();
if (!(bigFront || bigBack)) {
return;
}
int frontSize = this->size() / 2;
int backSize = this->size() - frontSize;
ods::ArrayDeque<T> newFront;
ods::ArrayDeque<T> newBack;
for (int i = 0; i < frontSize; i++) {
newFront.add(i, this->get(i));
}
for (int i = 0; i < backSize; i++) {
newBack.add(i, this->get(frontSize + i));
}
this->front = newFront;
this->back = newBack;
}
#endif
|
0623dd29809a236cef7cafc3ed4c1aa73a3574b4 | 053a5441210a595b1390c3d76b255b7feff26038 | /1.data_structure-数据结构/2线性表/线性表.cpp | 304d3c7a6478ef7c0c4debf4f34b8b9139f7770e | [
"Apache-2.0"
] | permissive | MayPoxN/research-and-study | 2ada8ba028173f66c549131be2b1768067b45645 | 116ad5669503b9d282b0b61a9d089e31fe725745 | refs/heads/main | 2023-03-29T07:07:59.225490 | 2021-04-13T14:31:27 | 2021-04-13T14:31:27 | 350,291,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | 线性表.cpp | #include <stdio.h>
void test(int &x)
{
x = 1024;
printf("inside function test x=%d\n", x);
}
int main(int argc, char **argv)
{
int x = 1;
printf("before test x=%d\n", x);
test(x);
printf("after test x=%d\n", x);
} |
c36824b5c38975fc2cec5e22cfb15beb9b60c281 | 688a68a1f86f010495c041f6f48df174c10fc7c9 | /src/information_client.cc | 0a71ae59ff128dbec237b2de0b8e1b1bf0e44081 | [] | no_license | welly87/optiver_trading_game_client | 688f7867a6c5d7f42dcbf4ac6dfd2a6879dcf1ae | 2d2715b1f770250974fa3f695d1db12f1efb9255 | refs/heads/master | 2023-03-15T17:52:49.452671 | 2019-11-25T12:41:19 | 2019-11-25T12:41:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cc | information_client.cc | #include "information_client.h"
InformationClient::InformationClient(uint16_t localPort,
std::string remoteHost,
uint16_t remotePort,
IUDPClientHandler& handler) :
UDPClient(localPort, remoteHost, remotePort, handler)
{}
void InformationClient::Subscribe()
{
const std::string message = "TYPE=SUBSCRIPTION_REQUEST";
Send(message);
}
|
a7bb64fc34a41506abf262ceb3b7355ac67cb61f | 84ef3a1b7a3dcaffa01a8e2fd4fd8491e05c56ce | /Actions/SaveAction.h | 505e2a528ab5ad7b5b7fec502b9aad9c6ce66e3e | [] | no_license | RadwaSK/PaintForKids | 32a77bf3384d9a454f6230b72327169d9952ec69 | 55d3d422c3429f852615716c289f8b01aa63ec13 | refs/heads/master | 2021-06-21T15:30:09.813098 | 2019-05-07T19:25:25 | 2019-05-07T19:25:25 | 135,960,233 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | SaveAction.h | #ifndef SAVE_ACTION_H
#define SAVE_ACTION_H
#include "Action.h"
class SaveAction : public Action
{
string S;
public:
SaveAction(ApplicationManager *pApp);
virtual void ReadActionParameters();
virtual void Execute();
};
#endif |
a4b957c44f4121040e91ed6f87dada4ba7573d0f | afc2cc20be38c3fee70c2ef7215c2d7cedac6f36 | /CuboRubic/CuboRubic/Archivo.h | 38f72b0bb0d553e51790c02d30d49d4b3be6dc89 | [] | no_license | marcoiza/TrabajoEnGrupo | ce837da140c00fae9de39d2d39dd4a71516b7664 | 8d0284da87b1573c9eb54fd16022cf30323acbeb | refs/heads/main | 2023-03-31T23:49:11.301572 | 2021-04-08T14:03:18 | 2021-04-08T14:03:18 | 349,122,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | h | Archivo.h | #pragma once
#include <iostream>
#include <fstream>
using namespace std;
class Archivo
{
public:
fstream archivo;
int contador;
int n;
void crearArchivo() {
archivo.open("solucion.txt", fstream::out); //para leer in, para salir es out escribir
archivo << "solucion " << n << "*" << n << endl << endl;
contador = 0;
}
void escribirArchivo(char** tablero) {
contador++;
archivo << "Solucion N " << contador << endl;
for (int i = 0; i < 16; i++) {
for (int j = 0; j < 12; j++) {
archivo << *(*(tablero + i) + j) << " ";
}
archivo << endl;
}
archivo << endl;
}
void cerrarArchivo() {
archivo.close();
}
};
|
5263195b1b45db971233ed41f7e565d75b5150b8 | a03731d7c30c8f0f4d8bb9824ec1b03ab8b54ff9 | /adding ones.cpp | 99230154f5e0f54959170550e364608dc6d73ee8 | [] | no_license | jatinwatts007/geek-for-geeks | e2b2122e680481a6c0433d879162773b5f281294 | 7397fb9a7902db20f0d60b8ee7225242ff385173 | refs/heads/master | 2022-05-04T11:40:06.017358 | 2022-04-27T18:10:00 | 2022-04-27T18:10:00 | 205,892,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | adding ones.cpp | {
int i,j,k,t,n;
cin>>t;
while(t--)
{
cin>>k>>n;
int *arr= new int[n];
int *a=new int[k];
for(i=0;i<n;i++)
{
cin>>arr[i];
}
for(i=0;i<k;i++)
{
a[i]=0;
}
for(i=0;i<n;i++)
{
for(j=arr[i]-1;j<k;j++)
{
a[j]=a[j]+1;
}
}
for(i=0;i<k;i++)
{
cout<<a[i]<<" ";
}
cout<<endl;
}
//code
return 0;
}
|
725671ab4738c040f35d3326348d68323fedfcb9 | d4347e0984c1b3c6f42cb6900660c10087531e4e | /quoter.h | 86189057b0374ef089648a7336fdd10acb8b556c | [
"MIT"
] | permissive | yuxi214/ftdc2c_ctp | a0a90093813d6a56c1f99edc8237dd437e887bf2 | aebc88d718b8a12cb18d606f8299756ff31f1b71 | refs/heads/master | 2023-03-02T03:43:10.356805 | 2021-02-09T02:27:51 | 2021-02-09T02:27:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,704 | h | quoter.h | /////////////////////////////////////////////////////////////////////////
//// Ftdc C++ => C Adapter
//// Author : shawn666.liu@hotmail.com
//// 2021-02-07 09:55:51
/////////////////////////////////////////////////////////////////////////
#pragma once
#include <ThostFtdcMdApi.h>
#include "enums.h"
class Quoter : public CThostFtdcMdSpi
{
public:
CThostFtdcMdApi* RawApi{ nullptr };
CbOnFrontEvent mOnFrontEvent{ nullptr };
CbOnRspEvent mOnRspEvent{ nullptr };
CbOnRtnEvent mOnRtnEvent{ nullptr };
void* pObject;
Quoter(const char* pszFlowPath, const bool bIsUsingUdp, const bool bIsMulticast) {
RawApi = CThostFtdcMdApi::CreateFtdcMdApi(pszFlowPath, bIsUsingUdp, bIsMulticast);
RawApi->RegisterSpi(this);
pObject = this;
}
virtual ~Quoter() {
if (RawApi) {
RawApi->RegisterSpi(nullptr);
RawApi->Release();
RawApi = nullptr;
}
};
void OnFrontConnected() override {
mOnFrontEvent(pObject, int(EnumOnFrontEvent::OnFrontConnected), 0);
};
void OnFrontDisconnected(int nReason) override {
mOnFrontEvent(pObject, int(EnumOnFrontEvent::OnFrontDisconnected), nReason);
};
void OnHeartBeatWarning(int nTimeLapse) override {
};
void OnRspUserLogin(CThostFtdcRspUserLoginField* pRspUserLogin, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspUserLogin), pRspUserLogin, pRspInfo, nRequestID, bIsLast);
};
void OnRspUserLogout(CThostFtdcUserLogoutField* pUserLogout, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspUserLogout), pUserLogout, pRspInfo, nRequestID, bIsLast);
};
void OnRspQryMulticastInstrument(CThostFtdcMulticastInstrumentField* pMulticastInstrument, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspQryMulticastInstrument), pMulticastInstrument, pRspInfo, nRequestID, bIsLast);
};
void OnRspError(CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspError), nullptr, pRspInfo, nRequestID, bIsLast);
};
void OnRspSubMarketData(CThostFtdcSpecificInstrumentField* pSpecificInstrument, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspSubMarketData), pSpecificInstrument, pRspInfo, nRequestID, bIsLast);
};
void OnRspUnSubMarketData(CThostFtdcSpecificInstrumentField* pSpecificInstrument, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspUnSubMarketData), pSpecificInstrument, pRspInfo, nRequestID, bIsLast);
};
void OnRspSubForQuoteRsp(CThostFtdcSpecificInstrumentField* pSpecificInstrument, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspSubForQuoteRsp), pSpecificInstrument, pRspInfo, nRequestID, bIsLast);
};
void OnRspUnSubForQuoteRsp(CThostFtdcSpecificInstrumentField* pSpecificInstrument, CThostFtdcRspInfoField* pRspInfo, int nRequestID, bool bIsLast) override {
mOnRspEvent(pObject, int(EnumOnRspEvent::OnRspUnSubForQuoteRsp), pSpecificInstrument, pRspInfo, nRequestID, bIsLast);
};
void OnRtnDepthMarketData(CThostFtdcDepthMarketDataField* pDepthMarketData) override {
mOnRtnEvent(pObject, int(EnumOnRtnEvent::OnRtnDepthMarketData), pDepthMarketData);
};
void OnRtnForQuoteRsp(CThostFtdcForQuoteRspField* pForQuoteRsp) override {
mOnRtnEvent(pObject, int(EnumOnRtnEvent::OnRtnForQuoteRsp), pForQuoteRsp);
};
}; // end of class |
d8e4b3b3e20d166869d94aae0577cfa7665532db | 12b870595e7a054a6f560941685d0456e30454a9 | /Engine/src/Animations/Animator.hpp | 3f9da3d8fc9e7a17f34614c29b0bd3f51a1f0edc | [
"BSD-2-Clause"
] | permissive | BesnikMahmuti/deathjump | 17d032aaba1407404788448e8a6ea6de8012b8ec | cca65c09e10553a5c8cebada7bd47a16031ef904 | refs/heads/main | 2023-08-24T15:50:36.037314 | 2021-10-31T12:49:26 | 2021-10-31T12:49:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | hpp | Animator.hpp | #pragma once
#include <SFML/Graphics.hpp>
//TODO: rewrite this shit with delegats to use after animation finished B)
class Animator {
public:
Animator() = default;
Animator(unsigned framesX, unsigned framesY, float time, sf::Vector2i frameSize, sf::Sprite& sprite, unsigned YStart = 0);
void Create(unsigned framesX, unsigned framesY, float time, sf::Vector2i frameSize, sf::Sprite& sprite, unsigned YStart = 0);
void Update(const float deltaTime);
// Accessors
unsigned GetCurrentFrame() const;
unsigned GetFrameCount() const;
void SetFrame(const unsigned& frame);
void SetUpdateTime(const float& time);
~Animator();
private:
unsigned m_currentFrame = 0;
unsigned m_frameCount = 0;
sf::IntRect* m_frames = nullptr;
sf::Sprite* m_sprite = nullptr;
float m_elapsedTime = 0.f;
float m_updateTime = 0.f;
void UpdateAnimation();
void CutFrames(const unsigned& framesX, const unsigned& framesY, const unsigned& YStart, const sf::Vector2i& frameSize);
};
|
a371f0dbbffcbaa1c79cffc6aca96798543d5da2 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/79.cpp | 9d1beca60c515b746eec7ea3e7ee1772ffc04fcd | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cpp | 79.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAX_SIZE = 5e5 + 10;
ll arr[MAX_SIZE], prefix[MAX_SIZE];
map<ll, ll> cnt;
int main()
{
int n;
cin >> n;
prefix[0] = 0;
for(int i = 1; i <= n; i++)
{
cin >> arr[i];
prefix[i] = prefix[i - 1] + arr[i];
if(cnt.find(prefix[i]) == cnt.end())
cnt[prefix[i]] = 0;
cnt[prefix[i]] += 1;
}
ll sum = prefix[n];
if(sum % 3 != 0)
{
cout << 0;
return 0;
}
ll one = sum / 3;
ll two = 2 * one;
ll done = 0;
ll ans = 0;
for(int i = 1; i <= n - 1; i++)
{
if(prefix[i] == two)
done += 1;
if(prefix[i] == one)
ans += cnt[two] - done;
}
if(one == 0)
ans = ((cnt[one] - 1) * (cnt[one] - 2)) / 2;
cout << ans << endl;
return 0;
}
|
780995cbda4f649974bdbda4928d256dd1f632ac | 0d2a9429d521d405c98c4d1461ba86de41743f2f | /Data/Project/sof3data.h | 1172a3e22ca4b9255196b2703231de2baa66c09c | [] | no_license | azizka85/BlackOil | 98a9df425c7e857530d6a533422677af00d563d2 | 74ded434733e48231009df92f686e6a80654078e | refs/heads/main | 2023-08-11T05:30:27.969535 | 2021-09-22T15:24:01 | 2021-09-22T15:24:01 | 409,256,660 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | sof3data.h | #ifndef SOF3DATA_H
#define SOF3DATA_H
#include <qvariant.h>
#include <data_global.h>
namespace BlackOil {
namespace Data {
namespace Project {
class DATA_EXPORT SOF3Data
{
public:
SOF3Data();
double SO();
QVariant KrOW();
QVariant KrOGWC();
void SetSO(const double& so);
void SetKrOW(const QVariant& krow);
void SetKrOGWC(const QVariant& krogwc);
void InitVariables();
protected:
double so;
QVariant krow, krogwc;
};
}}}
#endif // SOF3DATA_H
|
f348d57a1aaa988a836add91d7749e2c2cbd344f | 0f1e3b0014c5ff62ae9591832f65600245a403e4 | /src/libseabreeze/include/vendors/OceanOptics/protocols/ooi/constants/OpCodes.h | 0c514c520eaa95948444692e35bb1c22ce39c2e3 | [
"MIT"
] | permissive | ap--/python-seabreeze | a5528f4d6043755e7f2e60ae181bb0eb4c1f38f8 | d312056d0d4c144ddd77bd783535ac9b2fb45f12 | refs/heads/main | 2023-08-17T04:10:06.552715 | 2023-07-10T22:11:03 | 2023-07-10T22:11:03 | 25,327,268 | 189 | 92 | MIT | 2023-09-11T22:39:25 | 2014-10-16T23:30:21 | C++ | UTF-8 | C++ | false | false | 2,868 | h | OpCodes.h | /***************************************************//**
* @file OpCodes.h
* @date February 2009
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject
* to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*******************************************************/
#ifndef SEABREEZE_OPCODES_H
#define SEABREEZE_OPCODES_H
#include "common/SeaBreeze.h"
namespace seabreeze {
namespace ooiProtocol {
class OpCodes {
public:
/* Set the integration time */
static const unsigned char OP_ITIME;
/* Set the strobe/lamp enable */
static const unsigned char OP_STROBE;
/* Read 15 bytes from an EEPROM slot */
static const unsigned char OP_GETINFO;
/* Write 15 bytes to an EEPROM slot */
static const unsigned char OP_SETINFO;
/* Request a spectrum */
static const unsigned char OP_REQUESTSPEC;
/* Set the trigger mode */
static const unsigned char OP_SETTRIGMODE;
/* Set the thermoelectric cooling enable on the QE */
static const unsigned char OP_TECENABLE_QE;
/* Read the current TEC temperature on the QE */
static const unsigned char OP_READTEC_QE;
/* Set the TEC set point on the QE */
static const unsigned char OP_TECSETTEMP_QE;
/* Write a field to the FPGA status register */
static const unsigned char OP_WRITE_REGISTER;
/* Read a field from the FPGA status register */
static const unsigned char OP_READ_REGISTER;
/* Read the irradiance calibration from EEPROM (if available) */
static const unsigned char OP_READ_IRRAD_CAL;
/* Write the irradiance calibration to EEPROM (if available) */
static const unsigned char OP_WRITE_IRRAD_CAL;
};
}
}
#endif
|
cc234589dd593c5e476ea60a006db36314f0cece | 2b4f7a661f0aa39aa80f8f683a1f0e3351ac429a | /ex12/main.cpp | 3badbd8e450e1167513d546dfe81f16b32a2dc13 | [] | no_license | DikranHachikyan/cpp-examples-20181206 | f3ecb7a13c3922b3beb15c85d95ed84ad9f5ea7d | 8a65683d755ddbcd636aee97dcb33958fa8551d2 | refs/heads/master | 2020-04-10T10:24:04.332384 | 2018-12-20T14:20:37 | 2018-12-20T14:20:37 | 160,965,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | main.cpp | #include <iostream>
#include <cstdlib>
class A{
private:
int *data;
int value;
public:
A(int val){
data = new int(val);
value = val;
}
~A(){
delete data;
std::cout<<"Destructor A"<<std::endl;
}
void show(){
std::cout<<"data:"<<*data
<<" address:"<<data
<<" value:"<<value
<<std::endl;
}
};
void print( A ob){
ob.show();
}
int main(int argc, char** argv) {
A aObj(10);
aObj.show();
print( aObj);
aObj.show();
//char i;
//std::cin>>i;
return 0;
}
|
96bd732ee08d831f8ca6c56ca9ec44e92901b3af | 43c4a41448dc7ddcec8441f38b5ae0a86f8db7dc | /Containers/MatrixSubtract.hpp | 55140c7a0df9ee2f49dcb91a7dbca94748348990 | [] | no_license | msupernaw/ATL1 | 4473c9f7ba1b64f6562e8406d7b0dfe639911e56 | 72cf1f73725eb3e8eb69c3ddd0445ee28eaa46e5 | refs/heads/master | 2021-06-13T18:26:45.568944 | 2017-02-23T14:02:28 | 2017-02-23T14:02:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,934 | hpp | MatrixSubtract.hpp | /*
* File: MatrixSubtract.hpp
* Author: matthewsupernaw
*
* Created on October 15, 2014, 3:21 PM
*/
#ifndef MATRIXSUBTRACT_HPP
#define MATRIXSUBTRACT_HPP
#include "MatrixExpressionBase.hpp"
#include "ArrayTraits.hpp"
#include "../AutoDiff/Variable.hpp"
namespace atl {
template< class LHS, class RHS>
struct MatrixSubtract : MatrixExpression<typename atl::PromoteType<typename LHS::RET_TYPE, typename RHS::RET_TYPE >::return_type, MatrixSubtract<LHS, RHS> > {
typedef typename LHS::RET_TYPE RET_TYPEL;
typedef typename RHS::RET_TYPE RET_TYPER;
typedef typename atl::PromoteType<RET_TYPEL, RET_TYPER>::return_type RET_TYPE;
typedef typename atl::PromoteType<typename LHS::BASE_TYPE, typename RHS::BASE_TYPE>::return_type BASE_TYPE;
const LHS& lhs_m;
const RHS& rhs_m;
inline explicit MatrixSubtract(const LHS& lhs, const RHS & rhs) : lhs_m(lhs.Cast()), rhs_m(rhs.Cast()) {
#ifdef ATL_ENABLE_BOUNDS_CHECKING
for (int i = 0; i < 7; i++) {
assert(lhs_m.Size(i) == rhs_m.Size(i));
}
#endif
}
inline const size_t Size(const int32_t & dimension) const {
return lhs_m.Size(dimension) < rhs_m.Size(dimension) ? lhs_m.Size(dimension) : rhs_m.Size(dimension);
}
inline const RET_TYPE operator()(const uint32_t& i, const uint32_t & j) const {
return lhs_m(i, j) - rhs_m(i, j);
}
/*
*
*Returns the first valid index for this matrix given dimension d.
*/
inline const size_t IndexMin(uint32_t d) const {
return std::max(lhs_m.IndexMin(d), rhs_m.IndexMin(d));
}
/*
*
*Returns the last valid index for this matrix given dimension d.
*/
inline const size_t IndexMax(uint32_t d) const {
return std::min(lhs_m.IndexMax(d), rhs_m.IndexMax(d));
}
/**
* Get a value based on the raw indices for the underlying
* data.
* @param i
* @return
*/
inline const RET_TYPE AtRaw(const uint32_t& i, const uint32_t & j) const {
return lhs_m.AtRaw(i, j) - rhs_m.AtRaw(i, j);
}
/**
* Used to determine if the resulting matrix is used in the expression.
*
* @param aliased
* @param ptr
*/
inline void IsAliased(bool& aliased, void* ptr) const{
lhs_m.IsAliased(aliased, ptr);
rhs_m.IsAliased(aliased, ptr);
}
inline void ExpressionLength(uint32_t& length)const {
length++;
lhs_m.ExpressionLength(length);
rhs_m.ExpressionLength(length);
}
};
//
template< class LHS, class T >
struct MatrixSubtractScalar : MatrixExpression<typename PromoteType<typename LHS::RET_TYPE, T>::return_type, MatrixSubtractScalar< LHS, T> > {
const LHS& lhs_m;
const T& rhs_m;
typedef typename atl::PromoteType<typename LHS::RET_TYPE, T>::return_type RET_TYPE;
typedef typename atl::PromoteType<typename LHS::BASE_TYPE, T>::return_type BASE_TYPE;
inline explicit MatrixSubtractScalar(const MatrixExpression<typename LHS::RET_TYPE, LHS>& lhs, const T & rhs) : lhs_m(lhs.Cast()), rhs_m(rhs) {
}
inline const size_t Size(const int32_t & dimension) const {
return lhs_m.Size(dimension);
}
inline const RET_TYPE operator()(const uint32_t& i, const uint32_t & j) const {
return lhs_m(i, j) - rhs_m;
}
/*
*
*Returns the first valid index for this matrix given dimension d.
*/
inline const size_t IndexMin(uint32_t d) const {
return lhs_m.IndexMin(d);
}
/*
*
*Returns the last valid index for this matrix given dimension d.
*/
inline const size_t IndexMax(uint32_t d) const {
return lhs_m.IndexMax(d);
}
/**
* Get a value based on the raw indices for the underlying
* data.
* @param i
* @return
*/
inline const RET_TYPE AtRaw(const uint32_t& i, const uint32_t & j) const {
return lhs_m.AtRaw(i, j) - rhs_m;
}
/**
* Used to determine if the resulting matrix is used in the expression.
*
* @param aliased
* @param ptr
*/
inline void IsAliased(bool& aliased, void* ptr) const{
lhs_m.IsAliased(aliased, ptr);
}
inline void ExpressionLength(uint32_t& length)const {
length++;
lhs_m.ExpressionLength(length);
}
};
template<class T, class RHS>
struct MatrixScalarSubtract : MatrixExpression<typename PromoteType<typename RHS::RET_TYPE, T>::return_type, MatrixScalarSubtract<T, RHS> > {
typedef typename atl::PromoteType<T, typename RHS::RET_TYPE>::return_type RET_TYPE;
typedef typename atl::PromoteType<T, typename RHS::BASE_TYPE>::return_type BASE_TYPE;
const T& lhs_m;
const RHS& rhs_m;
inline explicit MatrixScalarSubtract(const T& lhs, const MatrixExpression<typename RHS::RET_TYPE, RHS> & rhs) : lhs_m(lhs), rhs_m(rhs.Cast()) {
}
inline const size_t Size(const int32_t & dimension) const {
return rhs_m.Size(dimension);
}
inline const RET_TYPE operator()(const uint32_t& i, const uint32_t & j) const {
return lhs_m - rhs_m(i, j);
}
/*
*
*Returns the first valid index for this matrix given dimension d.
*/
inline const size_t IndexMin(uint32_t d) const {
return (rhs_m.IndexMin(d));
}
/*
*
*Returns the last valid index for this matrix given dimension d.
*/
inline const size_t IndexMax(uint32_t d) const {
return (rhs_m.IndexMax(d));
}
/**
* Get a value based on the raw indices for the underlying
* data.
* @param i
* @return
*/
inline const RET_TYPE AtRaw(const uint32_t& i, const uint32_t & j) const {
return lhs_m - rhs_m.AtRaw(i, j);
}
/**
* Used to determine if the resulting matrix is used in the expression.
*
* @param aliased
* @param ptr
*/
inline void IsAliased(bool& aliased, void* ptr) const{
rhs_m.IsAliased(aliased, ptr);
}
inline void ExpressionLength(uint32_t& length)const {
length++;
rhs_m.ExpressionLength(length);
}
};
//
//typename et4ad::promote_trait<typename LHS::RET_TYPE , typename RHS::RET_TYPE >::return_type
template <class LHS, class RHS>
inline const MatrixSubtract< LHS, RHS> operator-(const MatrixExpression<typename LHS::RET_TYPE, LHS>& a,
const MatrixExpression<typename RHS::RET_TYPE, RHS>& b) {
return MatrixSubtract< LHS, RHS > (a.Cast(), b.Cast());
}
#define ATL_MATRIX_SUBTRACT_SCALAR(TYPE) \
template< class LHS> \
inline const MatrixSubtractScalar<LHS,TYPE> \
operator-(const MatrixExpression<typename LHS::RET_TYPE, LHS>& a, const TYPE& b) {\
return MatrixSubtractScalar<LHS,TYPE > (a.Cast(), b);\
} \
ATL_MATRIX_SUBTRACT_SCALAR(short)
ATL_MATRIX_SUBTRACT_SCALAR(unsigned short)
ATL_MATRIX_SUBTRACT_SCALAR(int)
ATL_MATRIX_SUBTRACT_SCALAR(unsigned int)
ATL_MATRIX_SUBTRACT_SCALAR(long)
ATL_MATRIX_SUBTRACT_SCALAR(unsigned long)
ATL_MATRIX_SUBTRACT_SCALAR(float)
ATL_MATRIX_SUBTRACT_SCALAR(double)
ATL_MATRIX_SUBTRACT_SCALAR(long double)
ATL_MATRIX_SUBTRACT_SCALAR(atl::Variable<float>)
ATL_MATRIX_SUBTRACT_SCALAR(atl::Variable<double>)
ATL_MATRIX_SUBTRACT_SCALAR(atl::Variable<long double>)
#define ATL_SUBTRACT_SCALAR_MATRIX(TYPE) \
template< class RHS> \
inline const MatrixScalarSubtract<TYPE,RHS> \
operator-(const TYPE& a, const MatrixExpression<typename RHS::RET_TYPE, RHS>& b ) {\
return MatrixScalarSubtract<TYPE,RHS > (a, b.Cast());\
} \
ATL_SUBTRACT_SCALAR_MATRIX(short)
ATL_SUBTRACT_SCALAR_MATRIX(unsigned short)
ATL_SUBTRACT_SCALAR_MATRIX(int)
ATL_SUBTRACT_SCALAR_MATRIX(unsigned int)
ATL_SUBTRACT_SCALAR_MATRIX(long)
ATL_SUBTRACT_SCALAR_MATRIX(unsigned long)
ATL_SUBTRACT_SCALAR_MATRIX(float)
ATL_SUBTRACT_SCALAR_MATRIX(double)
ATL_SUBTRACT_SCALAR_MATRIX(long double)
ATL_SUBTRACT_SCALAR_MATRIX(atl::Variable<float>)
ATL_SUBTRACT_SCALAR_MATRIX(atl::Variable<double>)
ATL_SUBTRACT_SCALAR_MATRIX(atl::Variable<long double>)
}
#endif /* MATRIXSUBTRACT_HPP */
|
73ec7964ca378f29cd9a49e6ba1c42394d1e8cc6 | d7fddf4061c4d0a04e0774527419a462df135561 | /algorithm_5/algorithm_5/求单链表倒数第k个节点.cpp | f69bb641cbe27c3ee70dff1225267f571a7d1e43 | [] | no_license | Liu-ming147/summer_day5 | 9572dd4f821a8f6b0d4788c52975dc14918a96ca | b42f6b9926af881914d6868dd72319a2306a8976 | refs/heads/master | 2023-06-22T00:32:43.980421 | 2021-07-24T04:24:12 | 2021-07-24T04:24:12 | 388,678,104 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,078 | cpp | 求单链表倒数第k个节点.cpp | #include <stdio.h>
#include <stdlib.h>
typedef struct ListNode
{
int m_nKey;
ListNode* m_pNext;
}ListNode;
ListNode * reverseList(ListNode * L)
{
ListNode * pp = L;
ListNode * p = L->m_pNext;
pp->m_pNext = NULL;
while (p != NULL)
{
ListNode * p3 = p->m_pNext;
p->m_pNext = pp;
pp = p;
p = p3;
}
return pp;
}
ListNode * getKthNodeFromBack(ListNode * L, int k)
{
if (k == 0)
return NULL;
ListNode * rL = reverseList(L);
ListNode * p = rL;
for (int i = 0; p != NULL && i < k - 1; i++) //注意检测k不能超过链表长度,否则返回NULL
{
p = p->m_pNext;
}
reverseList(rL);
return p;
}
void displayList(ListNode * L)
{
ListNode * p = L;
while (p != NULL)
{
printf("%d ", p->m_nKey);
p = p->m_pNext;
}
printf("\n");
}
void createList(ListNode * &L)
{
int d;
scanf("%d", &d);
if (d != 0)
{
L = (ListNode *)malloc(sizeof(ListNode));
L->m_nKey = d;
L->m_pNext = NULL;
createList(L->m_pNext);
}
}
int main()
{
ListNode * L = NULL;
createList(L);
ListNode * pk = getKthNodeFromBack(L, 3);
displayList(L);
return 0;
} |
68d103f442f83a883601b96bfa79b7327f76f3f1 | 05293edcb204f04f3a784feecdb92710b1e9ca54 | /src/arch/guest/aarch64/generated/aarch64-processor.h | cdeffc5245c4d7556df89247558c919bc9642d7a | [] | no_license | tspink/vrt | 7bae933e11243c46b5c4aa9ebf69eae447390e08 | 1ef18332e8a7daea7c0f37614bf04c6d50ae3a56 | refs/heads/master | 2021-01-22T03:44:14.213823 | 2017-03-02T16:30:37 | 2017-03-02T16:30:37 | 81,453,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | h | aarch64-processor.h | #pragma once
#include <vrt/runtime/processor.h>
#include <arch/guest/aarch64/aarch64-mmu.h>
namespace vrt
{
namespace arch
{
namespace guest
{
namespace aarch64
{
class aarch64_processor : public runtime::Processor
{
private:
AArch64MMU _mmu;
public:
aarch64_processor(runtime::Environment& env);
virtual ~aarch64_processor();
void dump_state(bool show_hidden) const override;
bool handle_irq(uint8_t irq) override;
bool handle_page_fault() override;
bool handle_undefined_instruction() override;
struct reg_off_t
{
uint64_t *RBX;
uint64_t *RBW;
uint64_t *SP;
uint32_t *WSP;
uint64_t *PC;
uint8_t *N;
uint8_t *Z;
uint8_t *C;
uint8_t *V;
uint8_t *D;
uint8_t *A;
uint8_t *I;
uint8_t *F;
uint8_t *EL;
uint64_t *TTBR0;
uint64_t *TTBR1;
uint64_t *FPCR;
uint64_t *FPSR;
}
RegisterOffsets;
public:
}
;
}
}
}
}
|
90ab86745bb8aa876e9bfece4b5cdab502197c9a | 95db03c28ab70710b57868a4d4a119b78c98dcbf | /第二章 面试需要的基础知识/5_1(2).cpp | d0c0ba9ecb3714bf6b6ddc089daac1750db0bc37 | [] | no_license | chongqiu00/offer68 | 02efa6b06112f10bbf19269a81e24d59a7c7721b | b2c9453575c21d0fef478049f183f0a193bb2338 | refs/heads/master | 2023-06-06T19:26:27.128810 | 2021-07-08T10:50:30 | 2021-07-08T10:50:30 | 365,933,088 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,640 | cpp | 5_1(2).cpp | /*
时间:2021.5.11
编辑人:chongqiu00
题目:替换空格
请实现一个函数,把字符串中的每个空格替换成"%20"。
例如:输入"We are happy." ,则输出"We%20are%20happy."
*/
/*方法二:从后往前赋值,时间复杂度为O(n)。
思路:
先确定字串转换后的尾指针指向到哪里,然后再遍历。
然后p1指针指向复制完成的子字串最前面一位的再前面一位。
p2指针指向预留空白空间的首字符。
当p1和p2相遇后,即留给"%20"的字串填充完毕。
*/
#include <iostream>
bool ReplaceBlank(char* str);
void text01(void) //测试数据_1
{
char str_1[2] = " ";
std::cout << "字串1" << "\" \"转化后:";
ReplaceBlank(str_1); std::cout << str_1 << std::endl;
char str_2[] = "We are happy.";
std::cout << "字串2" << "\"We are happy.\"转化后:";
ReplaceBlank(str_2); std::cout << str_2 << std::endl;
char str_3[] = " We are happy.";
std::cout << "字串3" << "\" We are happy.\"转化后:";
ReplaceBlank(str_3); std::cout << str_3 << std::endl;
char str_4[] = "We are happy. ";
std::cout << "字串4" << "\"We are happy. \"转化后:";
ReplaceBlank(str_4); std::cout << str_4 << std::endl;
char str_5[] = "Wearehappy.";
std::cout << "字串5" << "\"Wearehappy.\"转化后:";
ReplaceBlank(str_5); std::cout << str_5 << std::endl;
char str_6[1] = "";
std::cout << "字串6" << "\"\"转化后:";
ReplaceBlank(str_6); std::cout << str_6 << std::endl;
char* str_7 = NULL; ReplaceBlank(str_7);
}
void text02(void) //测试数据_2
{
char str_1[2] = " ";
char str_2[] = "We are happy.";
char str_3[] = " We are happy.";
char str_4[] = "We are happy. ";
char str_5[] = "Wearehappy.";
char str_6[1] = "";
char* str_7 = NULL;
std::cout << "字串1" << "\" \"转化后:";
ReplaceBlank(str_1); std::cout << str_1 << std::endl;
std::cout << "字串2" << "\"We are happy.\"转化后:";
ReplaceBlank(str_2); std::cout << str_2 << std::endl;
std::cout << "字串3" << "\" We are happy.\"转化后:";
ReplaceBlank(str_3); std::cout << str_3 << std::endl;
std::cout << "字串4" << "\"We are happy. \"转化后:";
ReplaceBlank(str_4); std::cout << str_4 << std::endl;
std::cout << "字串5" << "\"Wearehappy.\"转化后:";
ReplaceBlank(str_5); std::cout << str_5 << std::endl;
std::cout << "字串6" << "\"\"转化后:";
ReplaceBlank(str_6); std::cout << str_6 << std::endl;
ReplaceBlank(str_7);
}
int main(int argc, char* argv[])
{
text01();
std::cout << "--------------------------------------------" << std::endl;
text02();
return 0;
}
bool ReplaceBlank(char* str)
{
//输入不合法
if ( str == NULL ){
std::cout << "输入的字串非法,转换失败!" << std::endl;
return false;
}
//输入合法
char* pHead;
char* pTail = str;
int count = 0;
while ( *pTail!= '\0' )//扫描字串中有几个空格。
{
if ( *pTail == ' ' )
{
count++;
}
pTail++;
}
pHead = pTail;
pTail = pTail + count*2;
if ( count == 0 ) return true;
while ( pHead != pTail )
{
if ( *pHead == ' ' )
{
*pTail = '0';
pTail--; *pTail = '2';
pTail--; *pTail = '%';
pTail--;
pHead--;
}
else
{
*pTail = *pHead;
pTail--;
pHead--;
}
}
return true;
} |
ec9e3094bf38f293e37fe5a56579b8419d82062d | 95c0ffe8abc163cfae8aac297f530cf89129c4ae | /src/main.cc | a20f0b0dc7b593b0bcbafdc2d77aa476411c624b | [] | no_license | baozh/PaxosDemo | 46bd94d4d1fc448f2884c0187860258ce793c933 | 08b8e1f12c9e2247be0eea39f7fcecb590a56aec | refs/heads/master | 2021-05-04T10:57:18.167353 | 2017-05-04T02:01:01 | 2017-05-04T02:01:01 | 55,343,801 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,253 | cc | main.cc | #include <cassert>
#include <cstdio>
#include <csignal>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/resource.h>
#include <fcntl.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include "muduo/base/InitLog.h"
#include "muduo/base/TimeZone.h"
#include "muduo/base/Logging.h"
#include "DataStructDefine.h"
#include "ProcessMsgHandler.h"
#include "CommonServer/CommonServer.h"
using namespace muduo;
ConfigInfo gConfigInfo;
muduo::TimeZone gTimeZone(::getenv("MUDUO_TZ_PATH")?::getenv("MUDUO_TZ_PATH"):"/etc/localtime");
MessageHandler *gpMsgHandler = NULL;
CommonServer *gpCommServer = NULL;
CommonServer* creatServer(uint16_t servType, const std::string& servName, muduo::net::EventLoop* loop,
const std::string& ipport, uint16_t port, int appId, int setId, int serialNo)
{
CommonServer *server = new CommonServer();
int clientThreadNum = 1;
//初始化
if (server->init(loop, servName, appId, setId, serialNo,
servType, clientThreadNum) == false)
{
LOG_ERROR << "CommonServer init failed!";
printf("CommonServer init failed!\n");
delete server;
return NULL;
}
//注册消息处理的 回调函数
gpMsgHandler = new MessageHandler();
assert(gpMsgHandler != NULL);
gpMsgHandler->regAllMsgHandler(server);
//创建监听server
muduo::net::InetAddress iAddr(ipport, port);
int netThreadNum = 4;
if (server->accept(iAddr, netThreadNum) == false)
{
LOG_ERROR << "CommonServer accept failed!";
printf("CommonServer accept failed!\n");
delete server;
delete gpMsgHandler;
return NULL;
}
return server;
}
int main()
{
//读取配置
gConfigInfo.readConfig();
//初始化日志线程
muduo::InitLog initLog;
initLog.init("PaxosDemo", "./", 1, 50000000);
//创建CommonServer
if (gConfigInfo.servInfo_.find(gConfigInfo.myServId_) == gConfigInfo.servInfo_.end())
{
printf("Can't find this server IpPort! servId:%d\n", gConfigInfo.myServId_);
return -1;
}
std::string servIp = gConfigInfo.servInfo_[gConfigInfo.myServId_].ip_;
uint16_t servPort = gConfigInfo.servInfo_[gConfigInfo.myServId_].port_;
char servNameStr[48] = {0};
snprintf(servNameStr, sizeof(servNameStr), "paxos_dc_%d", gConfigInfo.myServId_);
muduo::net::EventLoop loop;
gpCommServer = creatServer(CommServUtil::SERV_CS, servNameStr, &loop, servIp,
servPort, 550, 0, gConfigInfo.myServId_);
assert(gpCommServer != NULL);
//连接其它server
std::map<int, ConfigInfo::ServInfo>::iterator iter = gConfigInfo.servInfo_.begin();
for (; iter != gConfigInfo.servInfo_.end(); iter++)
{
//由 servId 大的 server 主动连 servId 小的server.
if (gConfigInfo.myServId_ > iter->first)
{
bool isRetry = true;
muduo::net::InetAddress servAddr(iter->second.ip_, iter->second.port_);
if (gpCommServer->startConnect(servAddr, 550, 0, iter->first, CommServUtil::SERV_CS, isRetry) == false)
{
LOG_ERROR << "CommonServer startConnect failed!";
printf("CommonServer startConnect failed!\n");
return -1;
}
}
}
loop.loop();
if (gpMsgHandler != NULL)
delete gpMsgHandler;
if (gpCommServer != NULL)
delete gpCommServer;
}
|
a1a4b67e436cde5b7e71f7dd7fdc583330a61ef5 | bd1e060abf09368e2a9da1351bb0cbf6e31165d5 | /deployment/tiny_conv_micro_16k_silence/model.cc | ddc57c1e214098482411610c65e97cacc1fff39f | [] | no_license | qqq-tech/Snoring-Detection-1 | 0548f6b3d2abd0ae78c5ec22e2d4f4a4c73b907e | cae6c6e1b831562ac5ad45c3f430381a046627d1 | refs/heads/master | 2023-07-25T06:22:40.396461 | 2020-12-16T18:51:58 | 2020-12-16T18:51:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115,480 | cc | model.cc | unsigned char models_model_tflite[] = {
0x20, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00,
0x10, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00, 0x12, 0x00, 0x00, 0x00,
0x03, 0x00, 0x00, 0x00, 0x94, 0x48, 0x00, 0x00, 0x34, 0x42, 0x00, 0x00,
0x1c, 0x42, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x08, 0x00, 0x0c, 0x00,
0x04, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
0x0b, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x6d, 0x69, 0x6e, 0x5f,
0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x00, 0x0c, 0x00, 0x00, 0x00, 0xd4, 0x41, 0x00, 0x00,
0xb4, 0x41, 0x00, 0x00, 0x24, 0x03, 0x00, 0x00, 0xf4, 0x02, 0x00, 0x00,
0xec, 0x02, 0x00, 0x00, 0xe4, 0x02, 0x00, 0x00, 0xdc, 0x02, 0x00, 0x00,
0xd4, 0x02, 0x00, 0x00, 0xcc, 0x02, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00,
0x1c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x16, 0xbd, 0xff, 0xff,
0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x31, 0x2e, 0x35, 0x2e,
0x30, 0x00, 0x00, 0x00, 0x2a, 0xbd, 0xff, 0xff, 0x04, 0x00, 0x00, 0x00,
0x10, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x31, 0x00, 0x00, 0x00,
0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x46, 0xbd, 0xff, 0xff,
0x04, 0x00, 0x00, 0x00, 0x80, 0x02, 0x00, 0x00, 0x02, 0xfa, 0xd2, 0x41,
0x93, 0x9e, 0xa3, 0x0e, 0xe1, 0xf4, 0xec, 0x1a, 0x09, 0x84, 0x24, 0xea,
0x32, 0x24, 0x8c, 0x4a, 0xec, 0x33, 0xce, 0x04, 0xd0, 0x12, 0x9e, 0xfb,
0x2a, 0x88, 0x1d, 0xd1, 0x53, 0xfb, 0xa8, 0x08, 0xfb, 0x60, 0xd8, 0xd8,
0xc7, 0x2b, 0xa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0xd1, 0xbe, 0xb5, 0xdb, 0x96, 0xc7,
0xf8, 0xdd, 0x18, 0xd4, 0xcb, 0xa1, 0xc2, 0xc7, 0xd8, 0x12, 0xf3, 0xdf,
0x81, 0xe1, 0xaf, 0xa8, 0x06, 0xad, 0xc1, 0x9d, 0xa5, 0x64, 0xc2, 0xad,
0xe4, 0xd2, 0xde, 0xff, 0xfc, 0xcd, 0xe3, 0x9f, 0xd6, 0xae, 0xdd, 0x81,
0xa5, 0x41, 0x0c, 0xfc, 0x03, 0xc5, 0xd2, 0xbb, 0x07, 0xb9, 0x11, 0xa9,
0x3c, 0xbd, 0xff, 0xff, 0x40, 0xbd, 0xff, 0xff, 0x44, 0xbd, 0xff, 0xff,
0x48, 0xbd, 0xff, 0xff, 0x4c, 0xbd, 0xff, 0xff, 0xe6, 0xbf, 0xff, 0xff,
0x04, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0xe4, 0x03, 0x00, 0x00,
0x11, 0x07, 0x00, 0x00, 0xe6, 0xff, 0xff, 0xff, 0x6b, 0xfa, 0xff, 0xff,
0x00, 0x00, 0x00, 0x00, 0xc1, 0x02, 0x00, 0x00, 0xd7, 0xfe, 0xff, 0xff,
0x00, 0x00, 0x00, 0x00, 0x12, 0xc0, 0xff, 0xff, 0x04, 0x00, 0x00, 0x00,
0x80, 0x3e, 0x00, 0x00, 0x18, 0x11, 0xfb, 0x04, 0x3a, 0x05, 0x0b, 0x00,
0x16, 0xf0, 0x03, 0x02, 0xfc, 0x0c, 0x0f, 0x0b, 0x1f, 0xda, 0x01, 0x04,
0x09, 0x0e, 0xf8, 0x0c, 0x1a, 0xca, 0xff, 0x00, 0xfb, 0x04, 0xff, 0xff,
0x1b, 0xdf, 0x07, 0x08, 0x04, 0xff, 0x07, 0x02, 0x0b, 0xd6, 0x07, 0x03,
0xfb, 0x07, 0xfc, 0x13, 0x19, 0xe8, 0x05, 0x06, 0xf2, 0x12, 0x01, 0x0b,
0x1a, 0xf1, 0xf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0x0f, 0xf2,
0x19, 0xed, 0x04, 0x03, 0x05, 0x00, 0xfc, 0xfa, 0x16, 0xee, 0x0c, 0xfc,
0xfa, 0x1d, 0xfe, 0xfc, 0x01, 0xef, 0xfa, 0x06, 0x08, 0x05, 0x04, 0xfa,
0x13, 0xf3, 0x01, 0xf6, 0x0b, 0x12, 0xff, 0xfb, 0x08, 0xf0, 0x05, 0x02,
0xfe, 0xf9, 0xff, 0x03, 0x14, 0xfa, 0x01, 0x16, 0x06, 0x08, 0xfb, 0xfa,
0x17, 0xec, 0x0d, 0x06, 0x06, 0xff, 0x0c, 0x00, 0x01, 0xef, 0xfb, 0xfb,
0x00, 0xf4, 0xfd, 0xfc, 0x13, 0xde, 0x04, 0xfb, 0xe1, 0x03, 0xfe, 0xf6,
0x1b, 0x1e, 0x00, 0x07, 0x46, 0xf9, 0xf6, 0xf0, 0x14, 0x13, 0xf9, 0x11,
0x15, 0x17, 0xe0, 0x03, 0x03, 0x09, 0x03, 0x00, 0x05, 0x14, 0x05, 0x04,
0x11, 0x06, 0xf6, 0x0d, 0xff, 0x15, 0x03, 0x03, 0x09, 0x01, 0x0e, 0x0c,
0x06, 0x0b, 0x0a, 0x05, 0x0c, 0x0a, 0x02, 0x05, 0x04, 0x16, 0xff, 0xf6,
0x0b, 0xfe, 0x0c, 0x08, 0x07, 0x04, 0x0b, 0x06, 0xfc, 0x0d, 0xf6, 0x0d,
0x06, 0x05, 0xfb, 0xfc, 0x0f, 0x04, 0x01, 0x02, 0xfa, 0x07, 0x06, 0x01,
0x17, 0x06, 0x06, 0xff, 0xf7, 0x12, 0xfe, 0xff, 0x11, 0x13, 0xfe, 0x0c,
0x05, 0x03, 0x03, 0xee, 0x0d, 0x05, 0x08, 0x02, 0x04, 0x15, 0x04, 0x01,
0x0f, 0x01, 0xf5, 0xf4, 0x05, 0x12, 0x08, 0x04, 0x16, 0x01, 0xf7, 0x0c,
0x00, 0x08, 0x13, 0x02, 0x07, 0x0d, 0x03, 0x05, 0x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x0b, 0x04, 0x17, 0xf9, 0x03, 0x07, 0x0c, 0xfb, 0x17, 0xfd, 0x22,
0xff, 0x0c, 0x02, 0xff, 0x04, 0xfa, 0xfa, 0x13, 0xff, 0x06, 0x04, 0xf4,
0x06, 0x08, 0xff, 0x12, 0xf8, 0xfb, 0xf1, 0xfc, 0x0f, 0x0b, 0x0b, 0x00,
0x11, 0xea, 0xef, 0xf9, 0x07, 0x06, 0x00, 0x00, 0xf6, 0xe7, 0xdd, 0xf5,
0x11, 0xef, 0xf8, 0xde, 0x01, 0x03, 0xf6, 0x0c, 0x0f, 0xe4, 0x06, 0x00,
0x05, 0xeb, 0x08, 0x06, 0x19, 0xee, 0x05, 0x16, 0x19, 0x04, 0x05, 0x02,
0x30, 0xee, 0x07, 0x26, 0xff, 0xfd, 0x01, 0x03, 0x1c, 0xf5, 0x06, 0x19,
0xfe, 0x05, 0x1c, 0xfc, 0x25, 0xfa, 0x06, 0x1c, 0x17, 0x01, 0x0a, 0xfa,
0x0a, 0x0c, 0x0b, 0xf8, 0x4b, 0xe0, 0x1f, 0xfe, 0x11, 0x07, 0x09, 0x09,
0x3d, 0xf1, 0x11, 0xfe, 0x24, 0xf0, 0xf4, 0x0e, 0x0e, 0xf9, 0x0d, 0x02,
0x09, 0xec, 0xfb, 0x11, 0xf3, 0x00, 0x16, 0x00, 0x06, 0xfd, 0x03, 0x0d,
0xf1, 0xf9, 0x04, 0xf3, 0x06, 0x07, 0x03, 0xe2, 0xfa, 0xd7, 0x0b, 0xf9,
0x0f, 0x10, 0x04, 0x01, 0x0b, 0x0c, 0x09, 0xfc, 0x1a, 0x09, 0xf3, 0xfd,
0xf6, 0xfe, 0x05, 0xff, 0x04, 0x17, 0x02, 0x07, 0xff, 0xfc, 0x07, 0x04,
0x03, 0x0a, 0xfa, 0x16, 0x01, 0x0a, 0x0f, 0xf6, 0x06, 0x07, 0x01, 0x08,
0x01, 0x01, 0x08, 0x07, 0xfb, 0x04, 0x09, 0x0a, 0x00, 0x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0f, 0x04,
0x04, 0x05, 0x08, 0x05, 0xfb, 0x03, 0x01, 0x09, 0x06, 0xf5, 0xf0, 0x02,
0xfc, 0x09, 0x02, 0xfa, 0x09, 0xf5, 0xff, 0xfc, 0xfc, 0x0a, 0xf0, 0x08,
0x08, 0xf2, 0xff, 0xfc, 0xfc, 0x07, 0x06, 0x06, 0xff, 0xfa, 0xfd, 0xff,
0xf3, 0x13, 0x02, 0x0b, 0x08, 0xf8, 0x07, 0xf8, 0x06, 0x06, 0x07, 0x04,
0xfa, 0xf6, 0xf7, 0xfe, 0xfd, 0x07, 0x03, 0xfc, 0x0c, 0x08, 0x00, 0x06,
0x07, 0x05, 0xf8, 0x04, 0x05, 0xf8, 0xf9, 0x06, 0x02, 0x06, 0x04, 0x05,
0x05, 0xfd, 0x00, 0xf5, 0x05, 0xfe, 0xf1, 0x06, 0x02, 0x02, 0x0c, 0xf9,
0x07, 0x08, 0xfc, 0xfa, 0xfd, 0x08, 0x04, 0xf5, 0x08, 0x02, 0xf1, 0xf5,
0x06, 0xfc, 0x07, 0xf1, 0x01, 0x04, 0xf1, 0xfd, 0x01, 0xfe, 0xfa, 0xf6,
0xf5, 0x14, 0xf1, 0x06, 0x06, 0x00, 0x05, 0x0d, 0x08, 0x15, 0x07, 0x0f,
0xf2, 0xf5, 0x07, 0xfe, 0x11, 0xfa, 0x07, 0x08, 0x00, 0x04, 0x0c, 0x0e,
0x0e, 0x00, 0x00, 0x08, 0xfb, 0xe7, 0xf9, 0xf6, 0x13, 0x07, 0xff, 0x00,
0xfb, 0x06, 0xfb, 0x0c, 0x01, 0x0d, 0xfd, 0x02, 0x09, 0xf5, 0x02, 0x02,
0xfb, 0x13, 0xf2, 0x06, 0x02, 0x06, 0xfd, 0x03, 0xf6, 0x09, 0x00, 0x05,
0xfc, 0x0b, 0xfc, 0x00, 0xff, 0x0a, 0x07, 0x03, 0xf4, 0xf9, 0xfc, 0x02,
0xfe, 0x09, 0xf7, 0x01, 0xfa, 0xfd, 0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, 0xf9, 0xf3, 0x19, 0x07, 0xf9, 0xf5, 0xf2, 0xfb, 0x15,
0x01, 0xfd, 0x03, 0xf5, 0x07, 0x01, 0xff, 0xfc, 0xfc, 0x14, 0x09, 0x06,
0x11, 0xf1, 0x0c, 0xfb, 0xfe, 0x09, 0x13, 0x04, 0x9e, 0xfe, 0xff, 0xff,
0x04, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x68, 0x15, 0x00, 0x00,
0x53, 0xea, 0xff, 0xff, 0x20, 0xfc, 0xff, 0xff, 0x25, 0x04, 0x00, 0x00,
0x24, 0xfc, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x54, 0x4f, 0x43, 0x4f,
0x20, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x2e, 0x00,
0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x24, 0xfb, 0xff, 0xff,
0x68, 0x01, 0x00, 0x00, 0x5c, 0x01, 0x00, 0x00, 0x50, 0x01, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x00, 0x00,
0x90, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0xce, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x09, 0x03, 0x00, 0x00, 0x00,
0x1c, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x1a, 0xff, 0xff, 0xff, 0x00, 0x00, 0x80, 0x3f, 0x01, 0x00, 0x00, 0x00,
0x09, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
0x00, 0x00, 0x0e, 0x00, 0x18, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00,
0x07, 0x00, 0x14, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08,
0x01, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0xc4, 0xfc, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00,
0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
0x07, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
0x16, 0x00, 0x00, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x07, 0x00, 0x10, 0x00,
0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x38, 0x00, 0x00, 0x00,
0x2c, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
0x14, 0x00, 0x00, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x07, 0x00,
0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
0x1a, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x07, 0x00, 0x14, 0x00,
0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x02, 0x00, 0x00, 0x00,
0x38, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
0x00, 0x00, 0x06, 0x00, 0x08, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
0x31, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x09, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
0x0a, 0x00, 0x00, 0x00, 0x34, 0x04, 0x00, 0x00, 0xcc, 0x03, 0x00, 0x00,
0x4c, 0x03, 0x00, 0x00, 0xdc, 0x02, 0x00, 0x00, 0x60, 0x02, 0x00, 0x00,
0x20, 0x02, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x44, 0x01, 0x00, 0x00,
0x70, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x02, 0xfc, 0xff, 0xff,
0x00, 0x00, 0x00, 0x09, 0x44, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
0x28, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xf4, 0xfb, 0xff, 0xff,
0x14, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x80, 0x3b, 0x0e, 0x00, 0x00, 0x00, 0x6c, 0x61, 0x62, 0x65,
0x6c, 0x73, 0x5f, 0x73, 0x6f, 0x66, 0x74, 0x6d, 0x61, 0x78, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x00, 0x00, 0x0e, 0x00, 0x1a, 0x00, 0x08, 0x00, 0x07, 0x00, 0x0c, 0x00,
0x10, 0x00, 0x14, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09,
0xb4, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x94, 0x00, 0x00, 0x00,
0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x10, 0x00, 0x00, 0x00,
0x00, 0x00, 0x04, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00,
0x12, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
0x03, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x8a, 0xf5, 0x13, 0x3b, 0x37, 0x9f, 0x5f, 0x3a,
0x78, 0x9c, 0xa7, 0x39, 0x55, 0x6b, 0xb4, 0x3a, 0xd3, 0x98, 0x99, 0x3a,
0x82, 0xc3, 0x77, 0x3a, 0xd3, 0x1e, 0x90, 0x3a, 0xe7, 0x24, 0xd7, 0x39,
0x12, 0x00, 0x00, 0x00, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x77, 0x65,
0x69, 0x67, 0x68, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x61, 0x64, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x3a, 0xfd, 0xff, 0xff,
0x00, 0x00, 0x00, 0x09, 0x54, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
0x28, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x2c, 0xfd, 0xff, 0xff,
0x14, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0xb3, 0xef, 0x9a, 0x3a, 0x1f, 0x00, 0x00, 0x00, 0x66, 0x69, 0x6e, 0x61,
0x6c, 0x5f, 0x66, 0x63, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73,
0x2f, 0x72, 0x65, 0x61, 0x64, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
0x6f, 0x73, 0x65, 0x00, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0xa0, 0x0f, 0x00, 0x00, 0xa2, 0xfd, 0xff, 0xff, 0x00, 0x00, 0x00, 0x09,
0x58, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x74, 0xfe, 0xff, 0xff, 0x30, 0x00, 0x00, 0x00,
0x24, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x35, 0x85, 0xd2, 0x3d,
0x01, 0x00, 0x00, 0x00, 0x43, 0x6b, 0x44, 0x41, 0x01, 0x00, 0x00, 0x00,
0x1c, 0xfa, 0x5e, 0xc1, 0x05, 0x00, 0x00, 0x00, 0x61, 0x64, 0x64, 0x5f,
0x31, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x0e, 0xfe, 0xff, 0xff, 0x00, 0x00, 0x00, 0x02,
0x2c, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00,
0x0f, 0x00, 0x00, 0x00, 0x52, 0x65, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f,
0x32, 0x2f, 0x73, 0x68, 0x61, 0x70, 0x65, 0x00, 0x01, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x4a, 0xfe, 0xff, 0xff, 0x00, 0x00, 0x00, 0x09,
0x5c, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x1c, 0xff, 0xff, 0xff, 0x30, 0x00, 0x00, 0x00,
0x24, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x3d,
0x01, 0x00, 0x00, 0x00, 0x00, 0x30, 0xcf, 0x41, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x52, 0x65, 0x73, 0x68,
0x61, 0x70, 0x65, 0x5f, 0x32, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0xc2, 0xfe, 0xff, 0xff, 0x00, 0x00, 0x00, 0x09,
0x58, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x94, 0xff, 0xff, 0xff, 0x2c, 0x00, 0x00, 0x00,
0x20, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x3d, 0x01, 0x00, 0x00, 0x00,
0x00, 0x30, 0xcf, 0x41, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x09, 0x00, 0x00, 0x00, 0x52, 0x65, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f,
0x31, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0xa8, 0x07, 0x00, 0x00, 0x2e, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x09,
0x60, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00,
0x10, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x14, 0x00, 0x04, 0x00, 0x08, 0x00,
0x0c, 0x00, 0x10, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, 0x00,
0x20, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x01, 0x00, 0x00, 0x00, 0x6d, 0xc1, 0x80, 0x3d, 0x01, 0x00, 0x00, 0x00,
0xac, 0x40, 0x80, 0x41, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x52, 0x65, 0x6c, 0x75, 0x00, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00,
0x14, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xaa, 0xff, 0xff, 0xff,
0x00, 0x00, 0x00, 0x02, 0x44, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x2c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x9c, 0xff, 0xff, 0xff,
0x18, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0xd4, 0xd9, 0x9b, 0x38, 0x0b, 0x00, 0x00, 0x00,
0x4d, 0x61, 0x74, 0x4d, 0x75, 0x6c, 0x5f, 0x62, 0x69, 0x61, 0x73, 0x00,
0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
0x18, 0x00, 0x08, 0x00, 0x07, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00,
0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xa0, 0x00, 0x00, 0x00,
0x03, 0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
0x0c, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x08, 0x00,
0x0c, 0x00, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
0x00, 0x6f, 0x70, 0x39, 0x5d, 0xb1, 0xb5, 0x38, 0x22, 0x2f, 0x08, 0x38,
0x35, 0x97, 0x12, 0x39, 0x57, 0x98, 0xf9, 0x38, 0xda, 0x4e, 0xc9, 0x38,
0x17, 0x32, 0xea, 0x38, 0xfc, 0xcd, 0x2e, 0x38, 0x0b, 0x00, 0x00, 0x00,
0x43, 0x6f, 0x6e, 0x76, 0x32, 0x44, 0x5f, 0x62, 0x69, 0x61, 0x73, 0x00,
0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x4c, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0xe6, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x19,
0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x06, 0x00, 0x05, 0x00,
0x06, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0a, 0x00, 0x0e, 0x00, 0x07, 0x00,
0x00, 0x00, 0x08, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09,
0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x07, 0x00,
0x00, 0x00, 0x08, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
0x03, 0x00, 0x00, 0x00
};
unsigned int models_model_tflite_len = 18712;
|
cb48b6e2940b1e75e1bb4971b46e3f1fd433e785 | 8724e99fbdae61d56cf9a0d75b2889238737bc6f | /youtube_ex11/youtube_ex11.cpp | c5c9f906c6ba892dc82f2e3219b527ab609f8aae | [
"MIT"
] | permissive | BjornChrisnach/Youtube_course_C_plusplus_programming_Caleb_curry | df8a122a9b794c17c5979541ce3748ac53b50407 | bf185d8e05769d0d8ee421e79bb0fb3895162dad | refs/heads/main | 2023-06-19T00:53:09.784887 | 2021-07-18T20:06:54 | 2021-07-18T20:06:54 | 379,402,383 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | youtube_ex11.cpp | #include <iostream>
#include <float.h>
using std::cout;
using std::cin;
using std::endl;
int main()
{
int cents = 100;
double a = 10.0 / 3;
// float a = 10.0 / 3;
a = a * 10000000000000;
double b = 77000; // 7.7E4 7.7 x 10^4
long double c;
cout << std::fixed << a << endl;
cout << LDBL_DIG << endl;
//cout << FLT_DIG << endl;
//7.7 * 10000 = 77000
//77000.
return 0;
} |
9d499283bc4d5610d4af9b9efa1d830f2019760f | 3d10438f7a6a54c04fc7232aa8901b0381bee3f0 | /First C++/DataStructures/DataStructures/Testers/TestingStacksAndQueues.hpp | 96391204d3e3f4f76a4c02f2f1ea7e94f21b9406 | [] | no_license | irow0433/DataStrucures | 5998e6db61fba1af84bd68115588e20a840495bb | 0ab9829180cd7438534cec2f3bc60be4da6ea728 | refs/heads/master | 2021-08-22T20:08:48.121760 | 2018-05-31T15:23:33 | 2018-05-31T15:23:33 | 129,114,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,718 | hpp | TestingStacksAndQueues.hpp | //
// TestingStacksAndQueues.hpp
// DataStructures
//
// Created by Rowlette, Isaac on 2/28/18.
// Copyright © 2018 Rowlette, Isaac. All rights reserved.
//
#include "TestingStacksAndQueues.hpp"
void TestingStacksAndQueues :: queueVersusList()
{
}
void TestingStacksAndQueues :: stackVersusQueue()
{
//TODO pg 4
}
void TestingStacksAndQueues :: stackVersusList()
{
Stack<int> numberStack;
LinkedList<int> numberList;
Timer stackTimer, listTimer;
for(int index = 0; index < 10; index++)
{
numberStack.add(index);
numberList.add(index);
}
cout << "getting the third from last item from the structure" << endl;
int index = 0;
int value = -99;
stackTimer.startTimer();
while (index < 7)
{
cout << numberStack.pop() << endl;
index ++;
}
stackTimer.stopTimer();
index = 0;
listTimer.startTimer();
value = numberList.getFromIndex(7);
listTimer.stopTimer();
cout << "The time it took to work with Stack" << endl;
stackTimer.displayInformation();
cout << "The time it took to work with List" << endl;
listTimer.displayInformation();
cout << "What is left in the stack" << endl;
LinkedList<int> * listVersion = &numberStack;
int stackSize = listVersion->getSize();
cout << "Stack size is: " << stackSize << endl;
for(int index = 0; index < stackSize; index++)
{
cout << numberStack.pop() << endl;
}
cout << "What is left in the list" << endl;
cout << "List size is: " << numberList.getSize() << endl;
for(int i = 0; i < numberList.getSize(); i++)
{
cout << numberList.getFromIndex(i) << "\t";
}
}
|
da8fa0463ca735b4f2e8bcf5116e665e68b5f0b6 | 43ae0d65a9acbfbfe8c36e158e1a590f6db02ad5 | /jni/skia/src/ports/SkFontHost_gamma.cpp | 3aecc43126677a964301cf325b10d25aa04e5d25 | [
"MIT"
] | permissive | identy/WiEngine | bfd0f5b95f0be72274e1dfb341d732d4a571993c | 2fb4276f558a5b1660d940b982c591cb7c73aec8 | refs/heads/master | 2020-12-25T01:27:01.452216 | 2013-04-22T03:22:24 | 2013-04-22T03:22:24 | 9,659,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,830 | cpp | SkFontHost_gamma.cpp | #include "SkFontHost.h"
#include <math.h>
// define this to use pre-compiled tables for gamma. This is slightly faster,
// and doesn't create any RW global memory, but means we cannot change the
// gamma at runtime.
//#define USE_PREDEFINED_GAMMA_TABLES
#ifndef USE_PREDEFINED_GAMMA_TABLES
// define this if you want to spew out the "C" code for the tables, given
// the current values for SK_BLACK_GAMMA and SK_WHITE_GAMMA.
#define DUMP_GAMMA_TABLESx
#endif
///////////////////////////////////////////////////////////////////////////////
#include "SkGraphics.h"
// declared here, so we can link against it elsewhere
void skia_set_text_gamma(float blackGamma, float whiteGamma);
#ifdef USE_PREDEFINED_GAMMA_TABLES
#include "sk_predefined_gamma.h"
void skia_set_text_gamma(float blackGamma, float whiteGamma) {}
#else // use writable globals for gamma tables
static void build_power_table(uint8_t table[], float ee)
{
SkDebugf("------ build_power_table %g\n", ee);
for (int i = 0; i < 256; i++)
{
float x = i / 255.f;
// printf(" %d %g", i, x);
x = powf(x, ee);
// printf(" %g", x);
int xx = SkScalarRound(SkFloatToScalar(x * 255));
// printf(" %d\n", xx);
table[i] = SkToU8(xx);
}
}
static bool gGammaIsBuilt;
static uint8_t gBlackGamma[256], gWhiteGamma[256];
static float gBlackGammaCoeff = 1.4f;
static float gWhiteGammaCoeff = 1/1.4f;
void skia_set_text_gamma(float blackGamma, float whiteGamma) {
gBlackGammaCoeff = blackGamma;
gWhiteGammaCoeff = whiteGamma;
gGammaIsBuilt = false;
SkGraphics::SetFontCacheUsed(0);
build_power_table(gBlackGamma, gBlackGammaCoeff);
build_power_table(gWhiteGamma, gWhiteGammaCoeff);
}
#ifdef DUMP_GAMMA_TABLES
#include "SkString.h"
static void dump_a_table(const char name[], const uint8_t table[],
float gamma) {
SkDebugf("\n");
SkDebugf("\/\/ Gamma table for %g\n", gamma);
SkDebugf("static const uint8_t %s[] = {\n", name);
for (int y = 0; y < 16; y++) {
SkString line, tmp;
for (int x = 0; x < 16; x++) {
tmp.printf("0x%02X, ", *table++);
line.append(tmp);
}
SkDebugf(" %s\n", line.c_str());
}
SkDebugf("};\n");
}
#endif
#endif
///////////////////////////////////////////////////////////////////////////////
void SkFontHost::GetGammaTables(const uint8_t* tables[2])
{
#ifndef USE_PREDEFINED_GAMMA_TABLES
if (!gGammaIsBuilt)
{
build_power_table(gBlackGamma, gBlackGammaCoeff);
build_power_table(gWhiteGamma, gWhiteGammaCoeff);
gGammaIsBuilt = true;
#ifdef DUMP_GAMMA_TABLES
dump_a_table("gBlackGamma", gBlackGamma, gBlackGammaCoeff);
dump_a_table("gWhiteGamma", gWhiteGamma, gWhiteGammaCoeff);
#endif
}
#endif
tables[0] = gBlackGamma;
tables[1] = gWhiteGamma;
}
// If the luminance is <= this value, then apply the black gamma table
#define BLACK_GAMMA_THRESHOLD 0x40
// If the luminance is >= this value, then apply the white gamma table
#define WHITE_GAMMA_THRESHOLD 0xC0
int SkFontHost::ComputeGammaFlag(const SkPaint& paint)
{
if (paint.getShader() == NULL)
{
SkColor c = paint.getColor();
int r = SkColorGetR(c);
int g = SkColorGetG(c);
int b = SkColorGetB(c);
int luminance = (r * 2 + g * 5 + b) >> 3;
if (luminance <= BLACK_GAMMA_THRESHOLD)
{
// printf("------ black gamma for [%d %d %d]\n", r, g, b);
return SkScalerContext::kGammaForBlack_Flag;
}
if (luminance >= WHITE_GAMMA_THRESHOLD)
{
// printf("------ white gamma for [%d %d %d]\n", r, g, b);
return SkScalerContext::kGammaForWhite_Flag;
}
}
return 0;
}
|
6150d0f3053bc57236c780be2082183d0f652cab | 1ffeff4d8964955cf1d0b87e4cf71a9a72883d09 | /Useful_Functions.h | af8739011fd746bc13a3dfffea8d7a0321ca7f0b | [] | no_license | jackaberdeen15/PCL_Demo | 9ae7e11a5278a525f50422175aa500bb1649a154 | 6be6613f45b8234e753789db7295f55433ed16b8 | refs/heads/master | 2020-06-01T02:21:28.803031 | 2019-07-26T10:33:41 | 2019-07-26T10:33:41 | 190,593,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | h | Useful_Functions.h | #pragma once
#ifndef USEFUL_FUNC
#define USEFUL_FUNC
//general headers
#include <iostream>
#include <string>
#include <iomanip>
#include <stdio.h>
char ReadLastCharOfLine()
{
int newChar = 0;
int lastChar;
fflush(stdout);
do
{
lastChar = newChar;
newChar = getchar();
} while ((newChar != '\n') && (newChar != EOF));
return (char)lastChar;
}
#endif // !USEFUL_FUNC
|
bd1d9ca48bf9e45fde3147f4fe0843485050d87d | 404e53f62443a2eb45e1b3a3def94c70fe55c243 | /herbrand.cpp | ac4b465c5227126c22040ba44d50534beeb7e495 | [] | no_license | fezvez/DSN | 1ead5984f2ff391967a81725864a9930c850d688 | bac6b7bf87dfadded13055311cff5ba86f578a5d | refs/heads/master | 2020-05-19T15:05:15.412656 | 2014-05-08T18:45:35 | 2014-05-08T18:45:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,162 | cpp | herbrand.cpp | #include "herbrand.h"
#include <QDebug>
#include <QStringBuilder>
#include <QtCore>
Herbrand::Herbrand(QObject *parent):
QObject(parent)
{
ruleRegExp = QRegExp("<=");
whitespaceRegExp = QRegExp("\\s+");
leftPar = QRegExp("^\\($");
rightPar = QRegExp("^\\)$");
}
void Herbrand::loadKif(const QStringList & sl){
// Load file
rawKif = QStringList(sl);
cleanFile();
generateHerbrand();
generateSkolemRules();
generateStratum();
generateInformation();
}
void Herbrand::cleanFile(){
qDebug() << "Kif loaded in Herbrand!";
qDebug() << "Printing kif";
for(int i=0; i<rawKif.size(); ++i){
qDebug() << rawKif[i];
}
// Clean file
QString currentLine;
bool isLineContinuation = false;
int nbParenthesis, nbLeftParenthesis, nbRightParenthesis;
for(int i=0; i<rawKif.size(); ++i){
nbLeftParenthesis = rawKif[i].count('(');
nbRightParenthesis = rawKif[i].count(')');
if(isLineContinuation){
currentLine.append(' ');
}
else{
currentLine.clear();
nbParenthesis = 0;
}
currentLine.append(rawKif[i]);
nbParenthesis += (nbLeftParenthesis - nbRightParenthesis);
Q_ASSERT(nbParenthesis >= 0);
if(nbParenthesis>0){
isLineContinuation = true;
}
else{
isLineContinuation = false;
lineKif.append(currentLine);
}
}
qDebug() << "Kif processed in Herbrand!";
qDebug() << "Printing kif";
for(int i=0; i<lineKif.size(); ++i){
qDebug() << lineKif[i];
}
emit output(QString("Kif loaded and cleaned"));
}
void Herbrand::generateHerbrand(){
for(int i=0; i<lineKif.size(); ++i){
qDebug() << "\n\nProcessing line " << lineKif[i];
processKifLine(lineKif[i]);
}
emit output(QString("Herbrand generated"));
}
void Herbrand::generateSkolemRules(){
qDebug() << "\n\nGENERATE SKOLEM RULES";
for(PConstant originalHead : skolemMap.keys()){
qDebug() << "Original Head : " << originalHead->toString();
Q_ASSERT(relationArity.contains(originalHead));
QVector<PTerm> body;
GDL::GDL_TYPE type;
for(PRule rule : ruleList){
PRuleHead ruleHead = rule->getHead();
if(ruleHead->getHead() == originalHead){
body = ruleHead->getBody();
type = ruleHead->getType();
break;
}
}
PRuleHead skolemRuleHead = PRuleHead(new GDL_RuleHead(originalHead, body, type, originalHead));
QVector<PSentence> skolemBody;
for(PConstant skolemizedNames : skolemMap[originalHead]){
PSentence sentence = PSentence(new GDL_RelationalSentence(skolemizedNames, body, type));
skolemBody.append(sentence);
}
PSentence orSentence = PSentence(new GDL_OrSentence(skolemBody));
QVector<PSentence> skolemRuleBody;
skolemRuleBody.append(orSentence);
PRule skolemRule = PRule(new GDL_Rule(skolemRuleHead, skolemRuleBody));
ruleList.append(skolemRule);
qDebug() << "Skolem rule : " << skolemRule->toString();
}
}
void Herbrand::generateStratum(){
qDebug() << "\n\nGENERATE STRATUM";
for(PRelation relation : relationList){
qDebug() << "Relation : " << relation->toString();
PConstant relationalConstant = relation->getRelationConstant();
if(!stratumMap.contains(relationalConstant)){
stratumMap.insert(relationalConstant, PStratum(new Stratum(relationalConstant)));
}
}
for(PRule rule : ruleList){
qDebug() << "Rule : " << rule->toString();
PConstant head = rule->getHead()->getHead();
if(!stratumMap.contains(head)){
stratumMap.insert(head, PStratum(new Stratum(head)));
}
PStratum stratum = stratumMap[head];
QSet<PConstant> dependents = rule->getDependentConstants();
for(PConstant d : dependents){
if(!stratumMap.contains(d)){
stratumMap.insert(d, PStratum(new Stratum(d)));
}
stratum->addDependency(stratumMap[d]);
}
QSet<PConstant> dependentsNegative = rule->getDependentConstantsNegative();
for(PConstant dn : dependentsNegative){
if(!stratumMap.contains(dn)){
stratumMap.insert(dn, PStratum(new Stratum(dn)));
}
stratum->addDependencyNegative(stratumMap[dn]);
}
}
GDL::setSkolemNames(false);
for(PRule rule : ruleList){
qDebug() << "Rule : " << rule->toString();
}
/**
* Specific for input legal does
*/
PConstant inputConstant;
PConstant legalConstant;
PConstant doesConstant;
if(constantMap.contains(QString("input"))){
inputConstant = constantMap[QString("input")];
}
if(constantMap.contains(QString("legal"))){
legalConstant = constantMap[QString("legal")];
}
if(constantMap.contains(QString("does"))){
doesConstant = constantMap[QString("does")];
}
if(!(inputConstant.isNull() || legalConstant.isNull())){
stratumMap[legalConstant]->addDependency(stratumMap[inputConstant]);
}
if(!(legalConstant.isNull() || doesConstant.isNull())){
stratumMap[doesConstant]->addDependency(stratumMap[legalConstant]);
}
qDebug() << "Input exists " << !inputConstant.isNull();
qDebug() << "Legal exists " << !legalConstant.isNull();
qDebug() << "Does exists " << !doesConstant.isNull();
bool update = true;
int nbStrongIteration = 0;
while(update && nbStrongIteration<100){
update = false;
nbStrongIteration++;
for(PStratum stratum : stratumMap.values()){
update = update || stratum->updateStrataStrongly();
}
}
update = true;
int nbIteration = 0;
while(update && nbIteration<10000){
update = false;
nbIteration++;
for(PStratum stratum : stratumMap.values()){
update = update || stratum->updateStrata();
}
}
qDebug() << "Nb strong iterations : " << nbStrongIteration;
qDebug() << "Nb iterations : " << nbIteration;
QList<PStratum> listOfStratum = stratumMap.values();
qSort(listOfStratum.begin(), listOfStratum.end(), Stratum::greaterThan);
int strata = -1;
for(PStratum s : listOfStratum){
int currentStrata = s->getStrata();
if(strata != currentStrata){
stratifiedConstants.push_back(QVector<PConstant>());
strata = currentStrata;
}
stratifiedConstants.last().append(s->getNode());
}
qDebug() << "\n";
for(QVector<PConstant> v : stratifiedConstants){
qDebug() << "New stratum";
for(PConstant c : v){
qDebug() << c->toString();
}
qDebug() << "\n";
}
}
void Herbrand::generateInformation(){
qDebug() << "\n\nLIST OF CONSTANTS";
for(PConstant constant : objectConstantSet){
qDebug() << "Object constant : " << constant->toString();
}
for(PConstant constant : relationConstantSet){
qDebug() << "Relation constant : " << constant->toString();
}
for(PConstant constant : functionConstantSet){
qDebug() << "Function constant : " << constant->toString();
}
qDebug() << "\n\nORDERED RELATIONS";
mapTypeToRelationContainer.clear();
mapTypeToRelationContainer.insert(GDL::BASE, baseRelations);
mapTypeToRelationContainer.insert(GDL::INIT, initRelations);
mapTypeToRelationContainer.insert(GDL::ROLE, roleRelations);
mapTypeToRelationContainer.insert(GDL::NONE, standardRelations);
for(PRelation relation:relationList){
GDL::GDL_TYPE type = relation->getType();
if(mapTypeToRelationContainer.contains(type)){
mapTypeToRelationContainer[type].append(relation);
}
else{
standardRelations.append(relation);
}
}
for(GDL::GDL_TYPE type : mapTypeToRelationContainer.keys()){
QVector<PRelation> container = mapTypeToRelationContainer[type];
for(PRelation relation : container){
qDebug() << "Relation of type " << GDL::getStringFromGDLType(type) << "\t: " << relation->toString();
}
}
qDebug() << "\n\nORDERED RULES";
mapTypeToRuleContainer.clear();
mapTypeToRuleContainer.insert(GDL::BASE, baseRules);
mapTypeToRuleContainer.insert(GDL::NEXT, nextRules);
mapTypeToRuleContainer.insert(GDL::GOAL, goalRules);
mapTypeToRuleContainer.insert(GDL::LEGAL, legalRules);
mapTypeToRuleContainer.insert(GDL::INPUT, inputRules);
mapTypeToRuleContainer.insert(GDL::TERMINAL, terminalRules);
mapTypeToRuleContainer.insert(GDL::NONE, standardRules);
for(PRule rule:ruleList){
GDL::GDL_TYPE type = rule->getHead()->getType();
if(mapTypeToRuleContainer.contains(type)){
mapTypeToRuleContainer[type].append(rule);
}
else{
standardRules.append(rule);
}
}
for(GDL::GDL_TYPE type : mapTypeToRuleContainer.keys()){
QVector<PRule> container = mapTypeToRuleContainer[type];
for(PRule rule : container){
qDebug() << "Rule of type " << GDL::getStringFromGDLType(type) << "\t: " << rule->toString();
}
}
}
/**
* @brief Herbrand::processKifLine
* @param line
*/
void Herbrand::processKifLine(QString line){
if(line.contains(ruleRegExp)){
PRule rule = processRule(line);
ruleList.append(rule);
PConstant head = rule->getHead()->getHead();
if(!constantToRuleMap.contains(head)){
constantToRuleMap.insert(head, QVector<PRule>());
}
constantToRuleMap[head].append(rule);
}
else{
PRelation relation = processRelation(line);
relationList.append(relation);
PConstant head = relation->getHead();
if(!constantToRelationMap.contains(head)){
constantToRelationMap.insert(head, QVector<PRelation>());
}
constantToRelationMap[head].append(relation);
Q_ASSERT(relation->isGround());
}
}
PRule Herbrand::processRule(QString line){
qDebug() << "Rule " << line;
QStringList splitLine = split(line);
Q_ASSERT(splitLine[0] == QString("<="));
PRuleHead head = processRuleHead(splitLine[1]);
QVector<PSentence> body;
for(int i = 2; i<splitLine.size(); ++i){
body.append(processSentence(splitLine[i]));
}
PRule answer = PRule(new GDL_Rule(head, body));
qDebug() << "Rule processed : " << answer->toString();
return answer;
}
PSentence Herbrand::processSentence(QString line){
qDebug() << "Sentence " << line;
PSentence answer;
QStringList splitLine = split(line);
if(splitLine[0] == QString("distinct")){
qDebug() << "Sentence is DISTINCT sentence";
Q_ASSERT(splitLine.size() == 3);
PTerm term1 = processTerm(splitLine[1]);
PTerm term2 = processTerm(splitLine[2]);
PDistinctSentence distinctSentence = PDistinctSentence(new GDL_DistinctSentence(term1, term2));
answer = qSharedPointerCast<GDL_Sentence>(distinctSentence);
}
else if(splitLine[0] == QString("not")){
qDebug() << "Sentence is NOT sentence";
Q_ASSERT(splitLine.size() == 2);
PSentence subSentence = processRelation(splitLine[1]);
PNotSentence notSentence = PNotSentence(new GDL_NotSentence(subSentence));
answer = qSharedPointerCast<GDL_Sentence>(notSentence);
}
else if(splitLine[0] == QString("or")){
qDebug() << "Sentence is OR sentence";
QVector<PSentence> vecSentence;
for(int i=1; i<splitLine.size(); ++i){
vecSentence.append(processRelation(splitLine[i]));
}
POrSentence orSentence = POrSentence(new GDL_OrSentence(vecSentence));
answer = qSharedPointerCast<GDL_Sentence>(orSentence);
}
else{
qDebug() << "Sentence is relational sentence";
answer = qSharedPointerCast<GDL_Sentence>(processRelation(line));
}
return answer;
}
PRuleHead Herbrand::processRuleHead(QString line, GDL::GDL_TYPE type){
qDebug() << "Rule head (Relational sentence) " << line;
PRuleHead answer;
QStringList splitLine = split(line);
GDL::GDL_TYPE subtype = GDL::getGDLTypeFromString(splitLine[0]);
qDebug() << "Subtype is : " << GDL::getStringFromGDLType(subtype);
if(splitLine[0] == QString("base")
|| splitLine[0] == QString("next")){
Q_ASSERT(splitLine.size() == 2);
PRuleHead relation = processRuleHead(splitLine[1], subtype);
return relation;
}
if(splitLine[0] == QString("init")
|| splitLine[0] == QString("true")){
qDebug() << "There should be no init or true in the rule head";
Q_ASSERT(false);
}
QString headString = splitLine[0];
switch(type){
case GDL::NEXT:
headString = QString("next_").append(headString);
break;
default:
break;
}
if(!constantMap.contains(headString)){
constantMap.insert(headString, PConstant(new GDL_Constant(headString)));
relationConstantSet.insert(constantMap[headString]);
}
PConstant headConstant = constantMap[headString];
qDebug() << "Head constant " << headConstant->toString();
if(!skolemMap.contains(headConstant)){
skolemMap[headConstant] = QVector<PConstant>();
}
int index = skolemMap[headConstant].size();
QString skolemString = headString + "_SK_" + QString::number(index);
qDebug() << "skolemString " << skolemString;
PConstant skolemHeadConstant = PConstant(new GDL_Constant(skolemString));
skolemMap[headConstant].push_back(skolemHeadConstant);
qDebug() << "Skolem string : " << skolemHeadConstant->toString();
constantMap.insert(skolemString, skolemHeadConstant);
relationConstantSet.insert(skolemHeadConstant);
QVector<PTerm> body;
// All this section can be entirely commented
// Redundant with the next else
if(splitLine[0] == QString("input")
|| splitLine[0] == QString("legal")
|| splitLine[0] == QString("does")) {
Q_ASSERT(splitLine.size() == 3);
body.append(processTerm(splitLine[1]));
body.append(processTerm(splitLine[2]));
}
else {
for(int i = 1; i<splitLine.size(); ++i){
body.append(processTerm(splitLine[i]));
}
}
relationArity[skolemHeadConstant] = body.size();
if(!relationArity.contains(headConstant)){
relationArity.insert(headConstant, body.size());
}
if(relationArity[headConstant] != body.size()){
qDebug() << "Relation constant has not consistent arity";
qDebug() << "In memory : " << relationArity[headConstant] << "\tFor this relation : " << body.size();
Q_ASSERT(false);
}
if(type == GDL::NONE){
answer = PRuleHead(new GDL_RuleHead(headConstant, body, subtype, skolemHeadConstant));
}
else{
answer = PRuleHead(new GDL_RuleHead(headConstant, body, type, skolemHeadConstant));
}
qDebug() << "Rule Head processed";
return answer;
}
PRelation Herbrand::processRelation(QString line, GDL::GDL_TYPE type){
qDebug() << "Relational sentence " << line;
PRelation answer;
QStringList splitLine = split(line);
qDebug() << "Relation constant is : " << splitLine[0];
PConstant head = PConstant(new GDL_Constant(splitLine[0]));
QString relationConstant = head->toString();
if(!constantMap.contains(relationConstant)){
constantMap.insert(relationConstant, head);
relationConstantSet.insert(head);
}
head = constantMap[relationConstant];
qDebug() << "Relation constant adress is : " << head.data();
QVector<PTerm> body;
GDL::GDL_TYPE subtype = GDL::getGDLTypeFromString(splitLine[0]);
qDebug() << "Subtype is : " << GDL::getStringFromGDLType(subtype);
if(splitLine[0] == QString("base")
|| splitLine[0] == QString("next")
|| splitLine[0] == QString("init")
|| splitLine[0] == QString("true")){
Q_ASSERT(splitLine.size() == 2);
PRelation relation = processRelation(splitLine[1], subtype);
return relation;
}
// All this section can be commented
else if(splitLine[0] == QString("input")
|| splitLine[0] == QString("legal")
|| splitLine[0] == QString("does")) {
Q_ASSERT(splitLine.size() == 3);
body.append(processTerm(splitLine[1]));
body.append(processTerm(splitLine[2]));
}
else {
for(int i = 1; i<splitLine.size(); ++i){
body.append(processTerm(splitLine[i]));
}
}
if(type == GDL::NONE){
answer = PRelation(new GDL_RelationalSentence(head, body, subtype));
}
else{
answer = PRelation(new GDL_RelationalSentence(head, body, type));
}
qDebug() << "Relation processed";
return answer;
}
PTerm Herbrand::processTerm(QString line){
qDebug() << "Term " << line;
QStringList splitLine = split(line);
if(splitLine.size() == 1){
if(splitLine[0][0] == QChar('?')){
qDebug() << "Variable " << splitLine[0];
PVariable answer = PVariable(new GDL_Variable(splitLine[0]));
if(!variableSet.contains(answer)){
variableSet << answer;
}
return qSharedPointerCast<GDL_Term>(answer);
}
else{
qDebug() << "Constant " << splitLine[0];
PConstant constant = PConstant(new GDL_Constant(splitLine[0]));
QString objectConstant = constant->toString();
if(!constantMap.contains(objectConstant)){
constantMap.insert(objectConstant, constant);
objectConstantSet.insert(constant);
}
constant = constantMap[objectConstant];
return qSharedPointerCast<GDL_Term>(constant);
}
}
else{
qDebug() << "WE HAVE A FUNCTIONAL TERM";
return qSharedPointerCast<GDL_Term>(processFunction(line));
}
}
PFunction Herbrand::processFunction(QString line){
qDebug() << "Function " << line;
PFunction answer;
QStringList splitLine = split(line);
PConstant function = PConstant(new GDL_Constant(splitLine[0]));
QString functionConstant = function->toString();
if(!constantMap.contains(functionConstant)){
constantMap.insert(functionConstant, function);
functionConstantSet.insert(function);
}
function = constantMap[functionConstant];
QVector<PTerm> body;
for(int i = 1; i<splitLine.size(); ++i){
PTerm term = processTerm(splitLine[i]);
body.append(term);
}
if(!functionArity.contains(function)){
functionArity.insert(function, body.size());
}
if(functionArity[function] != body.size()){
qDebug() << "Function constant has not consistent arity";
qDebug() << "In memory : " << functionArity[function] << "\tFor this relation : " << body.size();
Q_ASSERT(false);
}
answer = PFunction(new GDL_FunctionalTerm(function, body));
return answer;
}
/**
* @brief Herbrand::split
* @param line
* @return
*/
QStringList Herbrand::split(QString line){
QStringList answer;
QString currentPart;
line.replace('(', " ( ");
line.replace(')', " ) ");
line = line.trimmed();
QStringList rawSplit = line.split(whitespaceRegExp);
// for(int i = 0; i<rawSplit.size(); ++i){
// qDebug() << rawSplit[i].length() << "\t" << rawSplit[i];
// }
Q_ASSERT((leftPar.indexIn(rawSplit.first()) == 0 &&
rightPar.indexIn(rawSplit.last()) == 0) ||
(rawSplit.size() == 1));
if(rawSplit.size() == 1){
answer = rawSplit;
return answer;
}
int nbParenthesis = 0;
for(int i = 1 ; i<rawSplit.size() - 1; ++i){
if(leftPar.indexIn(rawSplit[i]) == 0){
nbParenthesis++;
}
else if(rightPar.indexIn(rawSplit[i]) == 0){
nbParenthesis--;
}
currentPart.append(rawSplit[i]);
currentPart.append(' ');
if(nbParenthesis == 0){
answer.append(currentPart.trimmed());
currentPart.clear();
}
}
// for(int i = 0; i<answer.size(); ++i){
// qDebug() << "Split : " << answer[i];
// }
return answer;
}
/**
*
*/
Stratum::Stratum(PConstant n):
node(n){
strata = 0;
}
void Stratum::addDependency(PStratum s){
dependency.insert(s);
}
void Stratum::addDependencyNegative(PStratum s){
dependencyNegative.insert(s);
}
PConstant Stratum::getNode(){
return node;
}
int Stratum::getStrata() const{
return strata;
}
QString Stratum::toString(){
QString answer = node->toString();
answer = answer + "\thas stratum : " + QString::number(strata) + "\tDependency :";
for(PStratum s : dependency){
answer = answer + s->getNode()->toString() + '\t';
}
for(PStratum s : dependencyNegative){
answer = answer + "not (" + s->getNode()->toString() + ")\t";
}
return answer;
}
bool Stratum::updateStrata(){
bool update = false;
for(PStratum s : dependency){
if(strata < s->getStrata()){
strata = s->getStrata();
update = true;
}
}
for(PStratum s : dependencyNegative){
if(strata <= s->getStrata()){
strata = s->getStrata() + 1;
update = true;
}
}
return update;
}
bool Stratum::updateStrataStrongly(){
bool update = false;
for(PStratum s : dependency){
if(strata <= s->getStrata()){
strata = s->getStrata() + 1;
update = true;
}
}
for(PStratum s : dependencyNegative){
if(strata <= s->getStrata()){
strata = s->getStrata() + 1;
update = true;
}
}
return update;
}
|
e4b78932c5fe57cc7ea69d6abf0c07d8616f8daa | 9a3fc0a5abe3bf504a63a643e6501a2f3452ba6d | /tc/testprograms/TwoRotationCypher.cpp | 7638d63bb703344a317fc934ebe02f205cbd625c | [] | no_license | rodolfo15625/algorithms | 7034f856487c69553205198700211d7afb885d4c | 9e198ff0c117512373ca2d9d706015009dac1d65 | refs/heads/master | 2021-01-18T08:30:19.777193 | 2014-10-20T13:15:09 | 2014-10-20T13:15:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,083 | cpp | TwoRotationCypher.cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).rbegin(),(v).rend()
#define sz size()
#define pb push_back
#define mp make_pair
#define mem(x,i) memset(x,i,sizeof(x))
#define cpresent(V,e) (find(all(V),(e))!=(V).end())
using namespace std;
long long toi(string s){istringstream is(s);long long x;is>>x;return x;}
string tos(long long t){stringstream st; st<<t;return st.str();}
long long gcd(long long a, long long b){return __gcd(a,b);}
long long _lcm(long long a,long long b){return a*(b/gcd(a,b));}
class TwoRotationCypher {
public:string encrypt(int firstSize, int firstRotate, int secondRotate, string message) {
int a=firstSize;
int b=26-a;
for(int i=0;i<message.sz;i++){
if(message[i]!=' '){
if(message[i]-'a'<firstSize){
int k=(message[i]-'a'+a+firstRotate)%a;
message[i]=('a'+k);
}else{
int k=(message[i]-'a'-a+secondRotate)%b;
message[i]=('a'+a+k);
}
}
}
return message;
}
//Powered by [Ziklon]
};
// BEGIN KAWIGIEDIT TESTING
// Generated by KawigiEdit 2.1.4 (beta) modified by pivanof
bool KawigiEdit_RunTest(int testNum, int p0, int p1, int p2, string p3, bool hasAnswer, string p4) {
cout << "Test " << testNum << ": [" << p0 << "," << p1 << "," << p2 << "," << "\"" << p3 << "\"";
cout << "]" << endl;
TwoRotationCypher *obj;
string answer;
obj = new TwoRotationCypher();
clock_t startTime = clock();
answer = obj->encrypt(p0, p1, p2, p3);
clock_t endTime = clock();
delete obj;
bool res;
res = true;
cout << "Time: " << double(endTime - startTime) / CLOCKS_PER_SEC << " seconds" << endl;
if (hasAnswer) {
cout << "Desired answer:" << endl;
cout << "\t" << "\"" << p4 << "\"" << endl;
}
cout << "Your answer:" << endl;
cout << "\t" << "\"" << answer << "\"" << endl;
if (hasAnswer) {
res = answer == p4;
}
if (!res) {
cout << "DOESN'T MATCH!!!!" << endl;
} else if (double(endTime - startTime) / CLOCKS_PER_SEC >= 2) {
cout << "FAIL the timeout" << endl;
res = false;
} else if (hasAnswer) {
cout << "Match :-)" << endl;
} else {
cout << "OK, but is it right?" << endl;
}
cout << "" << endl;
return res;
}
int main() {
bool all_right;
all_right = true;
int p0;
int p1;
int p2;
string p3;
string p4;
{
// ----- test 0 -----
p0 = 13;
p1 = 0;
p2 = 0;
p3 = "this string will not change at all";
p4 = "this string will not change at all";
all_right = KawigiEdit_RunTest(0, p0, p1, p2, p3, true, p4) && all_right;
// ------------------
}
{
// ----- test 1 -----
p0 = 13;
p1 = 7;
p2 = 0;
p3 = "only the letters a to m in this string change";
p4 = "onfy tbl flttlrs h to g cn tbcs strcna jbhnal";
all_right = KawigiEdit_RunTest(1, p0, p1, p2, p3, true, p4) && all_right;
// ------------------
}
{
// ----- test 2 -----
p0 = 9;
p1 = 0;
p2 = 16;
p3 = "j to z will change here";
p4 = "z sn y vikk chamge heqe";
all_right = KawigiEdit_RunTest(2, p0, p1, p2, p3, true, p4) && all_right;
// ------------------
}
{
// ----- test 3 -----
p0 = 17;
p1 = 9;
p2 = 5;
p3 = "the quick brown fox jumped over the lazy dog";
p4 = "yqn izalc kwgsf ogt bzehnm grnw yqn djvu mgp";
all_right = KawigiEdit_RunTest(3, p0, p1, p2, p3, true, p4) && all_right;
// ------------------
}
{
// ----- test 4 -----
p0 = 3;
p1 = 1;
p2 = 2;
p3 = " watch out for strange spacing ";
p4 = " ybvaj qwv hqt uvtbpig urbakpi ";
all_right = KawigiEdit_RunTest(4, p0, p1, p2, p3, true, p4) && all_right;
// ------------------
}
if (all_right) {
cout << "You're a stud (at least on the example cases)!" << endl;
} else {
cout << "Some of the test cases had errors." << endl;
}
return 0;
}
// END KAWIGIEDIT TESTING
//Powered by KawigiEdit 2.1.8 (beta) modified by pivanof!
|
1425fa42b4fd109f1a647b5cb5c224a3b19d0919 | 80cf217dc0908a378098ffcc3ab44df5a9663ff6 | /Iterator.h | 8bb6f124868a7cb1a506e1eae24bbb353898a3c5 | [] | no_license | gwenbleyd/coursework | 3f35ca7ff43f214a8d3f3c5f74c96164a0fb28dc | 1871583ab75508fa155a2c341090c29b76681491 | refs/heads/master | 2022-12-12T17:32:51.278348 | 2020-09-14T10:53:51 | 2020-09-14T10:53:51 | 293,556,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | h | Iterator.h | #ifndef COURSEWORK_ITERATOR_H
#define COURSEWORK_ITERATOR_H
template<typename elemType>
class Iterator {
private:
elemType *_value;
public:
typedef elemType& reference;
typedef elemType* pointer;
Iterator(elemType*);
Iterator(const Iterator &);
bool operator!=(Iterator const& other) const;
bool operator==(Iterator const& other) const;
Iterator<elemType> &operator++();
const Iterator<elemType> operator++(elemType);
Iterator<elemType>::reference operator*() const;
Iterator<elemType>::pointer operator->() const;
};
#endif |
68330c7c6caeb64b9e711ec49b06f7f882a545ba | 78412a58a6604236ed56ea0be4642fa18ab9c934 | /Sheet2/Aufgabe06.cpp | aed82681113f0827beaff61c169e53ebaf94829e | [] | no_license | juso40/IPK_BlockSeminar | efeb3bc800ebccf41a8298434365cc3aa2bad180 | 9fc841a72832e0b3af354b16052f19438f90cf4a | refs/heads/master | 2022-01-09T23:47:42.867998 | 2019-07-13T17:54:58 | 2019-07-13T17:54:58 | 196,750,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | Aufgabe06.cpp | #include<iostream>
#include<string>
int convert_number(std::string number, int base){
int zahl = 0;
char zero = '0';
for (int i=0; i<number.size(); i++){
if (number[i]<='9' && number[i]>='0'){
zahl=zahl*10+number[i]-zero;
}
}
return zahl;
}
int main(){
int base;
std::string zahl;
std::cout<<"Gib Zahl pls: "<<std::flush;
std::getline(std::cin,zahl);
std::cout<<"Gib base pls: "<<std::flush;
std::cin>>base;
std::cout<<"als int mit deiner base: "<<convert_number(zahl, base)<<std::endl;
} |
b1fdf25335b1068c51078fa1d11d448caafce683 | 654124a8b85667764c59b40c40e3ccd4e78dcb91 | /Client/Sources/Audio/Encoding.hpp | 73b8f15af1a2c00d5732955247128ce827a03696 | [] | no_license | Nara-lab/Babel | e7a069f68ccf4a501fe2ac526fb8e75d53106c04 | 06534e1607ba77fe4bed5dfaf5e9f7631f8368fb | refs/heads/master | 2023-03-16T21:23:24.843809 | 2019-10-06T19:57:34 | 2019-10-06T19:57:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | hpp | Encoding.hpp | /*
** EPITECH PROJECT, 2019
** cpp_babel_2019
** File description:
** Encoding
*/
#ifndef ENCODING_HPP_
#define ENCODING_HPP_
#include <opus.h>
#include "IEncoding.hpp"
namespace Babel {
namespace audio {
class Encoding : public IEncoding {
public:
Encoding() = default;
~Encoding() = default;
/**
* creating encoder
* @param Fs sample_rate
* @param channels number of channels
* @param application from opus lib
* @param err error code from opus lib
*/
void encode_create(int Fs, int channels, int application, int *err)
{
encoder = opus_encoder_create(Fs, channels, application, err);
};
/**
* encode float* in char*
* @param pcm data to be encoded
* @param frame_size of pcm
* @param data encoded
* @param max_data_bytes to be encoded
*/
int encode_float(const float * pcm, int frame_size, unsigned char * data, int max_data_bytes)
{
return opus_encode_float(encoder, pcm, frame_size, data, max_data_bytes);
};
/**
* creating decoder
* @param Fs sample_rate
* @param channels number of channel
* @param err from opus lib
*/
void decode_create(int Fs, int channels, int *err)
{
decoder = opus_decoder_create(Fs, channels, err);
};
/**
* encode float* in char*
* @param data data to be decoded
* @param len of data
* @param pcm decoded
* @param frame_size to be decoded
* @param decode_fec from opus lib
*/
int decode_float(const unsigned char *data, int len, float *pcm, int frame_size, int decode_fec)
{
return opus_decode_float(decoder, data, len, pcm, frame_size, decode_fec);
};
protected:
private:
OpusEncoder *encoder;
OpusDecoder *decoder;
};
}
}
#endif /* !ENCODING_HPP_ */ |
f5e9ed15ba320de7014b4f4ae2046926e534afef | 8e9444b1353a2ed5a82832540c5e2e391457b04f | /practica/untitled_pFinal/mainwindow.h | 14a328d370ccaddc4c183869acc3b15220bac187 | [] | no_license | lilianabarbosa15/ultima_practica | 1986485c2318a44b01f49744b7d273ec55dc5cf4 | 6cc95cd7a65bd74dd1d504598b4842e713fa4fb9 | refs/heads/master | 2022-11-07T06:46:56.607120 | 2020-06-18T02:00:48 | 2020-06-18T02:00:48 | 271,478,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "ui_mainwindow.h"
#include <QGraphicsView>
#include <QGraphicsScene>
#include "cuerpo.h"
#include "grafica.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
bool inicio = false; //Permite saber si se deshabilita la opción de añadir planetas e inicia la simulación
~MainWindow();
private slots:
void actualizar();
void on_nuevoCuerpo_clicked();
void on_pushButton_clicked();
private:
Ui::MainWindow *ui;
QVector<Grafica*> cuerposEnPantalla = {}; //Para crear varios planetas
bool estado;
Cuerpo * getCuerpo();
QTimer *timer; //timer para los intervalos de tiempo entre cada frame
float intervalo; //intervalo de tiempo entre frames
int h_limit; //longitud en X del mundo
int v_limit; //longitud en Y del mund
};
#endif // MAINWINDOW_H
|
ddf5ecc47f2db3f46653ece1c2b5bc7fa6204725 | 93dee568c1029abf4f167c07a199890310eb6d0d | /Source/DSP_modules/bv_Harmonizer/PSOLA/psola_analyzer.h | 0a4c530e07bed8a5d3b1f4da8c31ec00de397bac | [
"MIT"
] | permissive | andrewreeman/imogen | 8d5e963a9e775046c7676825aec01c5c91969894 | 0c7813d71d51f1e21ea78099ddf4f083a26c48c1 | refs/heads/master | 2023-04-21T07:51:05.763255 | 2021-05-03T09:28:40 | 2021-05-03T09:28:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,363 | h | psola_analyzer.h | /*======================================================================================================================================================
_ _ _ _ _ _ _
/\ \ /\_\/\_\ _ /\ \ /\ \ /\ \ /\ \ _
\ \ \ / / / / //\_\ / \ \ / \ \ / \ \ / \ \ /\_\
/\ \_\ /\ \/ \ \/ / / / /\ \ \ / /\ \_\ / /\ \ \ / /\ \ \_/ / /
/ /\/_/ / \____\__/ / / / /\ \ \ / / /\/_/ / / /\ \_\ / / /\ \___/ /
/ / / / /\/________/ / / / \ \_\ / / / ______ / /_/_ \/_/ / / / \/____/
/ / / / / /\/_// / / / / / / / / / / / /\_____\ / /____/\ / / / / / /
/ / / / / / / / / / / / / / / / / / \/____ / / /\____\/ / / / / / /
___/ / /__ / / / / / / / / /___/ / / / / /_____/ / / / / /______ / / / / / /
/\__\/_/___\ \/_/ / / / / / /____\/ / / / /______\/ / / / /_______\ / / / / / /
\/_________/ \/_/ \/_________/ \/___________/ \/__________/ \/_/ \/_/
This file is part of the Imogen codebase.
@2021 by Ben Vining. All rights reserved.
psola_analyzer.h : This file defines a class that performs the analysis stage of the PSOLA process.
======================================================================================================================================================*/
#include "GrainExtractor/GrainExtractor.h"
namespace bav
{
template<typename SampleType>
class PsolaAnalyzer
{
using Analysis_Grain = AnalysisGrain<SampleType>;
public:
PsolaAnalyzer() { }
void prepare (int blocksize)
{
while (analysisGrains.size() < numAnalysisGrains)
analysisGrains.add (new Analysis_Grain());
for (auto* grain : analysisGrains)
grain->reserveSize (blocksize);
indicesOfGrainOnsets.ensureStorageAllocated (blocksize);
grainExtractor.prepare (blocksize);
}
void reset()
{
for (auto* grain : analysisGrains)
grain->clear();
}
void analyzeInput (const SampleType* inputSamples, const int numSamples, const int periodThisFrame)
{
jassert (analysisGrains.size() == numAnalysisGrains);
jassert (periodThisFrame > 0 && numSamples >= periodThisFrame * 2);
grainExtractor.getGrainOnsetIndices (indicesOfGrainOnsets, inputSamples, numSamples, periodThisFrame);
const auto grainSize = periodThisFrame * 2;
jassert (! indicesOfGrainOnsets.isEmpty());
jassert (indicesOfGrainOnsets.getLast() + grainSize <= numSamples);
for (int index : indicesOfGrainOnsets) // write to analysis grains...
{
auto* grain = getEmptyGrain();
jassert (grain != nullptr);
grain->storeNewGrain (inputSamples, index, index + grainSize, grainSize);
}
if (indicesOfGrainOnsets.getUnchecked(0) > 0) // bit @ beginning
if (auto* grain = getEmptyGrain())
grain->storeNewGrain (inputSamples, 0, indicesOfGrainOnsets.getUnchecked(0), grainSize);
if (indicesOfGrainOnsets.getLast() + grainSize < numSamples) // bit @ end
if (auto* grain = getEmptyGrain())
grain->storeNewGrain (inputSamples, indicesOfGrainOnsets.getLast() + grainSize, numSamples, grainSize);
}
Analysis_Grain* findClosestGrain (int idealBufferPos) const
{
Analysis_Grain* closestGrain = nullptr;
int distance = INT_MAX;
for (auto* grain : analysisGrains)
{
if (grain->isEmpty())
continue;
const auto newDist = abs(idealBufferPos - grain->pitchMark());
if ( closestGrain == nullptr || newDist <= distance )
{
closestGrain = grain;
distance = newDist;
}
}
jassert (closestGrain != nullptr);
return closestGrain;
}
Analysis_Grain* findBestNewGrain (Analysis_Grain* prevGrain) const
{
jassert (prevGrain != nullptr);
Analysis_Grain* newGrain = nullptr;
SampleType difference = 0;
for (auto* grain : analysisGrains)
{
if (grain->isEmpty() || grain == prevGrain)
continue;
SampleType currentDifference = 0;
const auto numSamples = std::min (prevGrain->getSize(), grain->getSize());
jassert (numSamples > 0);
for (int i = 0; i < numSamples; ++i)
currentDifference += abs(prevGrain->getSample(i) - grain->getSample(i));
currentDifference /= numSamples;
if ( newGrain == nullptr || currentDifference < difference )
{
difference = currentDifference;
newGrain = grain;
}
}
if (newGrain == nullptr)
return prevGrain;
return newGrain;
}
void clearUnusedGrains()
{
for (auto* grain : analysisGrains)
if (grain->numReferences() <= 0 || grain->isEmpty())
grain->clear();
}
void releaseResources()
{
indicesOfGrainOnsets.clear();
grainExtractor.releaseResources();
analysisGrains.clear();
}
private:
inline Analysis_Grain* getEmptyGrain() const
{
for (auto* grain : analysisGrains)
if (grain->isEmpty())
return grain;
return nullptr;
}
GrainExtractor<SampleType> grainExtractor;
juce::Array<int> indicesOfGrainOnsets;
juce::OwnedArray<Analysis_Grain> analysisGrains;
static constexpr auto numAnalysisGrains = 48;
};
template class PsolaAnalyzer<float>;
template class PsolaAnalyzer<double>;
} // namespace
|
f7289b0bad6fb45c71cb7e52c1987e47de3fcc31 | 1960a29ed846efb82af26ee4fc9512dde73b47c3 | /Indicators/Bulls.cpp | 16083353ea5729e33a387e4a442e54d9dde71b84 | [] | no_license | BestSean2016/mmqqll44 | fbb4c14e4ed88b658e4940211565fcb180a93d39 | f2b1b933e827e3b813fce177616d7cf06ad03c14 | refs/heads/master | 2016-09-13T15:31:04.642935 | 2016-04-21T23:30:52 | 2016-04-21T23:30:52 | 56,772,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | cpp | Bulls.cpp | //+------------------------------------------------------------------+
//| Bulls.mq4 |
//| Copyright 2005-2014, MetaQuotes Software Corp. |
//| http://www.mql4.com |
//+------------------------------------------------------------------+
#define copyright "2005-2014, MetaQuotes Software Corp."
#define link "http://www.mql4.com"
#define description "Bulls Power"
#define strict
//--- indicator settings
#define indicator_separate_window
#define indicator_buffers 1
#define indicator_color1 Silver
//--- input parameter
static int InpBullsPeriod=13;
//--- buffers
double ExtBullsBuffer[];
double ExtTempBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
void OnInit(void)
{
string short_name;
//--- 1 additional buffer used for counting.
IndicatorBuffers(2);
IndicatorDigits(Digits);
//--- indicator line
SetIndexStyle(0,DRAW_HISTOGRAM);
SetIndexBuffer(0,ExtBullsBuffer);
SetIndexBuffer(1,ExtTempBuffer);
//--- name for DataWindow and indicator subwindow label
short_name="Bulls("+IntegerToString(InpBullsPeriod)+")";
IndicatorShortName(short_name);
SetIndexLabel(0,short_name);
}
//+------------------------------------------------------------------+
//| Bulls Power |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
int limit=rates_total-prev_calculated;
//---
if(rates_total<=InpBullsPeriod)
return(0);
//---
if(prev_calculated>0)
limit++;
for(int i=0; i<limit; i++)
{
ExtTempBuffer[i]=iMA(NULL,0,InpBullsPeriod,0,MODE_EMA,PRICE_CLOSE,i);
ExtBullsBuffer[i]=high[i]-ExtTempBuffer[i];
}
//---
return(rates_total);
}
//+------------------------------------------------------------------+
|
5299ad23e73834924b084e4f3fadaf679a757308 | 73fb875d3e3abfab33038d7334905d21f998bdcb | /FortuneHunter/FortuneHunter/BackgroundConstants.h | 4b1a30c83f77edea6e9cb1d893350fec3577ff52 | [
"MIT"
] | permissive | playdeezgames/FortuneHunter | 9c5941f73a8c7a2a8fd95aac10fff35ac9e3b1af | 44bbf19e728aa8c3330a08876809dd471b92311b | refs/heads/main | 2023-03-09T11:23:48.315421 | 2021-02-18T11:20:26 | 2021-02-18T11:20:26 | 331,259,413 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h | BackgroundConstants.h | #pragma once
#include <string>
namespace Constants::UI::Backgrounds
{
const std::string ABOUT = "AboutBackground";
const std::string CONFIRM_QUIT = "ConfirmQuitBackground";
const std::string INSTRUCTIONS = "InstructionsBackground";
const std::string MAIN_MENU = "MainMenuBackground";
const std::string OPTIONS = "OptionsBackground";
const std::string IN_PLAY = "InPlayBackground";
const std::string FINAL_SCORE = "FinalScoreBackground";
const std::string STATISTICS = "StatisticsBackground";
}
|
2105757af1a7fab4049c2516d1d66ed49f7577a6 | 097b2a0f8e5cefbaff31790a359d267bd978e480 | /Atcoder/ABC_s1/ABC_087/B-Coins.cpp | 9616d6c6d5dc1d1a50f21598d67425696cf4a55c | [] | no_license | Noiri/Competitive_Programming | 39667ae94d6b167b4d7b9e78a98b8cb53ff1884f | 25ec787f7f5a507f9d1713a1e88f198fd495ec01 | refs/heads/master | 2023-08-16T17:35:15.940860 | 2021-09-07T20:57:59 | 2021-09-07T20:57:59 | 161,947,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | B-Coins.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int a, b, c, x;
cin >> a >> b >> c >> x;
int ans = 0;
for(int i=0; i<=a; i++){
for(int j=0; j<=b; j++){
for(int k=0; k<=c; k++){
if(500*i + 100*j + 50*k == x) ans++;
}
}
}
cout << ans << endl;
return 0;
} |
f632a65966bbddb1cbe7fe66d04dd472f5e3ad06 | 6dadf9c1e1da6c5f11bca03ff2fcda2d39ecebfe | /mcts/include/state.h | 086c4f3e6a5eb2671bf9548053d0dce757c7178f | [
"MIT"
] | permissive | m0b-x/MonteCarloTreeSearch | a196cbc623a9f87ffeee09c7f6ca952335147c5d | 53306d41ca8452e7756bcec9b8f2a80af3922bb9 | refs/heads/main | 2023-08-03T07:01:40.480972 | 2021-09-08T20:43:49 | 2021-09-08T20:43:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | h | state.h | #ifndef MCTS_STATE_H
#define MCTS_STATE_H
#include <stdexcept>
#include <queue>
using namespace std;
struct MCTS_move {
virtual ~MCTS_move() = default;
virtual bool operator==(const MCTS_move& other) const = 0; // implement this!
virtual string sprint() const { return "Not implemented"; } // and optionally this
};
/** Implement all pure virtual methods. Notes:
* - rollout() must return something in [0, 1] for UCT to work as intended and specifically
* the winning chance of player1.
* - player1 is determined by player1_turn()
*/
class MCTS_state {
public:
// Implement these:
virtual ~MCTS_state() = default;
virtual queue<MCTS_move *> *actions_to_try() const = 0;
virtual MCTS_state *next_state(const MCTS_move *move) const = 0;
virtual double rollout() const = 0;
virtual bool is_terminal() const = 0;
virtual void print() const {
cout << "Printing not implemented" << endl;
}
virtual bool player1_turn() const = 0; // MCTS is for two-player games mostly -> (keeps win rate)
};
#endif
|
258a52053e31ef2769be38a7473fec654a769bab | 4a634ad6eddcc372b7b02f0e0dfef93b74ac2879 | /error/SimpleEnclave/app.cpp | 63b00067d447e296d90d3fbe08795d3f3256551e | [] | no_license | chilogen/workspace | 6e46d0724f7ce4f932a2c904e82d5cc6a6237e14 | 31f780d8e7c7020dbdece7f96a628ae8382c2703 | refs/heads/master | 2021-01-25T13:36:36.574867 | 2019-02-18T14:25:13 | 2019-02-18T14:25:13 | 123,596,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | app.cpp | #include "enclave_u.h"
#include <sgx_urts.h>
#include <sgx_uae_service.h>
#include <sgx_ukey_exchange.h>
#include <iostream>
using namespace std;
class testClass {
public:
sgx_launch_token_t _token = {0};
sgx_enclave_id_t _eid;
sgx_ra_context_t _ctx;
bool request(uint8_t *src, uint32_t srcLen, uint8_t *cmac);
//will set _ctx here
//void do_attestation();
};
bool testClass::request(uint8_t *src, uint32_t srcLen, uint8_t *cmac) {
sgx_status_t retval,status;
status = ecall_calcmac(_eid, &retval,&_ctx, SGX_RA_KEY_SK, src, srcLen, cmac);
return true;
}
void init_enclave(){
sgx_enclave_id_t global_eid;
sgx_launch_token_t token={0};
sgx_status_t ret;
int updated=0;
ret=sgx_create_enclave("enclave.signed.so",SGX_DEBUG_FLAG, \
&token,&updated,&global_eid,NULL);
if(ret!=SGX_SUCCESS){
std::cout<<"error init enclavedsfdsf\n";
printf("%08x\n",ret);
exit(1);
}
}
int main(){
testClass x;
init_enclave();
return 0;
}
|
4881dea4c1fd1bbdac59d4f1cc550b63a71b6272 | df459b4d157f36c0e4fda84f5764909acbe3d010 | /Bofor/Source/Bofor/ACosco/Cosco_Enemy_Character.cpp | 49a164a33504ca3f8ec884fda3d6584488dfcbdd | [] | no_license | Vieper1/coscoroba | ad1a3ed6950309e8f10b180a215df28f5e80ab36 | 001611c8cbc07b59186d013a195842f8d41ab2c6 | refs/heads/master | 2022-12-20T16:07:02.836697 | 2020-10-09T02:56:09 | 2020-10-09T02:56:09 | 300,788,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cpp | Cosco_Enemy_Character.cpp | #include "Cosco_Enemy_Character.h"
#include "Engine/Engine.h"
////////////////////////////////////////////////////////////////////// INIT
ACoscoEnemyCharacter::ACoscoEnemyCharacter()
{
PrimaryActorTick.bCanEverTick = true;
}
void ACoscoEnemyCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}
////////////////////////////////////////////////////////////////////// INIT
////////////////////////////////////////////////////////////////////// BEGINPLAY & TICK
void ACoscoEnemyCharacter::BeginPlay()
{
Super::BeginPlay();
}
void ACoscoEnemyCharacter::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
////////////////////////////////////////////////////////////////////// BEGINPLAY & TICK |
f78be8f0fa63c1536f06ebcc42b4f4572a0b0422 | 827f26a8d3ef4a08a5bdc337f5987101c1655c90 | /cpp_module/cpp08/ex01/span.cpp | b28003137287b5bd98659f86fb14829c2b71187b | [] | no_license | LeeJuhae/42_projects | c69cccd909c24957bff951d6d1a54f5d545f9e89 | 70aba3f222cada5600e7c6c4d7e0f388cf49e5f2 | refs/heads/master | 2023-03-23T15:51:40.742371 | 2021-03-23T12:43:48 | 2021-03-23T12:43:48 | 264,132,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp | span.cpp | #include "./span.hpp"
Span::Span(unsigned int N):
N(N) {}
Span::Span(Span const ©)
{
*this = copy;
}
Span::~Span()
{
this->v.clear();
}
Span &Span::operator=(Span const &op)
{
if (this != &op)
{
this->N = op.N;
this->v = op.v;
}
return (*this);
}
void Span::addNumber(int num)
{
if (this->v.size() >= this->N)
throw ContainerFullException();
this->v.push_back(num);
}
void Span::addNumber(unsigned int start, unsigned int end, int num)
{
if ((start >= end) || (end >= this->N))
throw RangeException();
if (end > this->v.size())
this->v.resize(end + 1);
std::vector<int>::iterator it = this->v.begin() + start;
std::fill(it, it + (end - start) + 1, num);
}
unsigned int Span::shortestSpan(void)
{
if (this->v.size() <= 1)
throw Span::NoSpanException();
unsigned int ret;
std::vector<int> temp = this->getVector();
std::sort(temp.begin(), temp.end());
ret = temp.back();
for (std::vector<int>::iterator it=temp.begin() + 1; it != temp.end() ; it++)
{
if (ret > static_cast<unsigned int>(*it - *(it - 1)))
ret = *it - *(it - 1);
}
return (ret);
}
unsigned int Span::longestSpan(void)
{
if (this->v.size() <= 1)
throw Span::NoSpanException();
unsigned int ret;
std::vector<int> temp = this->getVector();
std::sort(temp.begin(), temp.end());
ret = temp.back() - temp.front();
temp.clear();
return (ret);
}
std::vector<int> &Span::getVector(void)
{
return (this->v);
}
const char *Span::NoSpanException::what() const throw()
{
return ("Error: No Span");
}
const char *Span::ContainerFullException::what() const throw()
{
return ("Error: Container is full");
}
const char *Span::RangeException::what() const throw()
{
return ("Error: Range is not valid");
}
|
089f138c3aeb87167ff8e49b3573095acd2ec66b | 4e29395020ce78f435e75e0b3f1e09b227f6f4d8 | /AIProjects/tianyan/vms/vag/projects/stream_serv/CloudStorageAgent.h | 1c13d78d3f905477960989196f3d34e3f8fddb0c | [] | no_license | luoyangustc/argus | 8b332d94af331a2594f5b1715ef74a4dd98041ad | 2ad0df5d7355c3b81484f6625b82530b38b248f3 | refs/heads/master | 2020-05-25T21:57:37.815370 | 2019-05-22T09:42:40 | 2019-05-22T09:42:40 | 188,005,059 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | h | CloudStorageAgent.h | #ifndef _CLOUD_STORAGE_AGENT_H
#define _CLOUD_STORAGE_AGENT_H
#include <queue>
#include "CommonInc.h"
#include "BufferInfo.h"
#include "media_info.h"
#include "protocol_stream.h"
class CCloudStorageAgent : public ITCPClientSink
{
enum en_serv_agent_status
{
en_serv_agent_init = 0,
en_serv_agent_connecting,
en_serv_agent_connected,
en_serv_agent_login,
en_serv_agent_runloop,
en_serv_agent_error
};
public:
virtual int OnTCPConnected(uint32 ip, uint16 port);
virtual int OnTCPConnectFailed(uint32 ip, uint16 port);
virtual int OnTCPClose(uint32 ip, uint16 port);
virtual int OnTCPMessage(uint32 ip, uint16 port, uint8* data, uint32 data_len);
public:
CCloudStorageAgent(const CHostInfo& hiServer);
~CCloudStorageAgent(void);
void Update();
void SetDC(const SDeviceChannel& dc);
void SetVideoInfo(protocol::VideoCodecInfo video_info);
void SetAudioInfo(protocol::AudioCodecInfo audio_info);
int OnStream(MI_FrameData_ptr frame_data);
private:
int StartConnect();
int SendMediaConnectReq();
int SendMediaFrameNotify();
int OnMediaConnectResp(const StreamMediaConnectResp& resp);
private:
boost::recursive_mutex lock_;
ITCPClient* agent_;
CHostInfo hi_server_;
int agent_status_;
uint32 agent_status_tick_;
uint32 send_seq_;
std::queue<MI_FrameData_ptr> send_msg_que_;
private:
SDeviceChannel dc_;
int storage_type_;
protocol::VideoCodecInfo video_info_;
protocol::AudioCodecInfo audio_info_;
};
typedef boost::shared_ptr<CCloudStorageAgent> CCloudStorageAgent_ptr;
#endif //_CLOUD_STORAGE_AGENT_Hrecv |
5ebe805dbef151fb11b0658e3ba373a827e471ac | a1fa244c640ee10a2841990b6dd315dd2108d931 | /array.cpp | 08533953718c3583d533ab32662d6daa54317ec9 | [] | no_license | vidhurva/Guide | b132776adbc48593fd92676c8d64edfa7edde3b9 | 1c7872394d6adda4d5d6ea45ac7e2f35dca95544 | refs/heads/master | 2020-12-04T05:26:22.283003 | 2020-01-03T17:09:51 | 2020-01-03T17:09:51 | 231,631,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | array.cpp | #include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
int main() {
// Code snippet for implementing values in an array
int x = 10, q = 5;
int arr[x];
int y, z;
for(y = 1; y <= x; y++)
{
arr[y] = y;
cout << setw(5) << arr[y];
}
cout << endl;
// Code snippet on outputting already declared array values
// index begins at 0
int arr2[5] = {90, 60, 45, 70, 89};
for(z = 0; z < q; z++)
{
cout << setw(5) << arr2[z];
}
cout << endl;
// Code snippet for implementing a multi-array
int col = 3, row = 3;
int matrix[][4] = {{0,1,2,3}, {0,1,2,3}};
for(int i = 0; i < row; ++i)
{
for(int j = 0; j < col; ++j)
{
cout << matrix[i][j] << setw(5);
}
}
return 0;
} |
1e8e1a6d7bb404f7b72e423da0dcacf73be10757 | e3725ef770a4ad2042ce3bdee3f34146bc540d08 | /1-st prog.cpp | a6252b50703b4422b26519ba5fa3dd63c972b235 | [] | no_license | vladdenisov/learning-cpp | 887ff1cc8d29fd4dccc0939023a861548ec540b3 | 828b9706724a6edec66735a838dc2b0256cbd8c7 | refs/heads/master | 2021-07-24T17:59:12.788113 | 2020-04-21T09:36:14 | 2020-04-21T09:36:14 | 149,314,959 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | 1-st prog.cpp | #include <iostream>
#include <stdlib.h>
#include <vector>
using namespace std;
int main() {
int arr_length;
cout << "Enter array length:" << endl;
cin >> arr_length;
cout << "Enter "<< arr_length << " array items (Only Nums!)" << endl;
vector<int> b(arr_length);
for (int i = 0; i < arr_length; i++) {
cin >> b[i];
}
cout << "Searching for duplicates.." << endl;
vector<int> c;
for (int i = 0; i < arr_length; i++) {
int a = 0;
int val = b[i];
for (int l = i + 1; l < arr_length; l++) {
if (b[i] == b[l]) {
a = a + 1;
}
}
if (a) {
if (find(c.begin(), c.end(), val) != c.end()) {}
else {
c.push_back(b[i]);
cout << b[i] << " repeats for " << a + 1 << " times" << endl;
}
}
}
if (c.size() == 0) {cout << "Nothing Found" << endl;}
system("pause");
return 0;
}
|
5c1ab9d1c497e5ec63c4738debe534a55bb8ae7e | 28ae552218066fde8531ca994d577163e63a2a87 | /main.cpp | 9f950fd26fb21e85dfe223d9b4ec8c7673b02c7a | [] | no_license | Celito/bgCore | 1360c77f032780ef9779097ec534ae775e4fb1f2 | 27a3a32c5f75edbfb1eff517be991bd5a44cc50f | refs/heads/master | 2021-01-10T18:12:36.888864 | 2019-02-28T21:36:56 | 2019-02-28T21:36:56 | 36,383,193 | 1 | 0 | null | 2015-07-04T00:18:10 | 2015-05-27T17:17:54 | C++ | UTF-8 | C++ | false | false | 277 | cpp | main.cpp | #include <iostream>
#include "BgCore.h"
#include "tui/GameTUI.h"
using namespace std;
int main() {
BgCore game("Hive.bgrules");
GameTUI gameTUI(game);
gameTUI.run();
cout << "You reached the end of the program" << endl;
system("pause");
return 0;
} |
06a8c0e6fcc47ed69800677f563cc890c20a023d | 9254fc558d175f76558be210c65a2e819753cb9e | /sdk-remote/src/uobjects/test/machine.uob/umachine.cc | 2c32d86fb865a6781aeed6650235492468505379 | [] | permissive | urbiforge/urbi | ee36996e87c25dd0a75199d580ac13442ba3032c | d6c6091a28e79b935b4f6573225486238e3c7d47 | refs/heads/master | 2023-08-22T04:15:36.358115 | 2023-08-10T13:24:17 | 2023-08-10T13:24:17 | 56,369,573 | 18 | 5 | BSD-3-Clause | 2023-08-10T12:43:43 | 2016-04-16T06:38:50 | C++ | UTF-8 | C++ | false | false | 1,804 | cc | umachine.cc | /*
* Copyright (C) 2009-2011, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#include "umachine.hh"
// Register the UMachine UObject in the Urbi world.
UStart(UMachine);
// Bouncing the name to the UObject constructor is mandatory.
UMachine::UMachine(const std::string& name)
: urbi::UObject(name)
, machine(0)
{
// Register the Urbi constructor. This is the only mandatory
// part of the C++ constructor.
UBindFunction(UMachine, init);
}
int
UMachine::init(urbi::ufloat d)
{
// Failure on invalid arguments.
if (d < 0)
return 1;
// Bind the functions, i.e., declare them to the Urbi world.
UBindFunction(UMachine, assemble);
UBindThreadedFunctionRename
(UMachine, assemble, "threadedAssemble", urbi::LOCK_FUNCTION);
// Bind the UVars before using them.
UBindVar(UMachine, duration);
// Set the duration.
duration = d;
// Build the machine.
machine = new Machine(d);
// Request that duration_set be invoked each time duration is
// changed. Declared after the above "duration = d" since we don't
// want it to be triggered for this first assignment.
UNotifyChange(duration, &UMachine::duration_set);
// Success.
return 0;
}
int
UMachine::duration_set(urbi::UVar& v)
{
assert(machine);
urbi::ufloat d = static_cast<urbi::ufloat>(v);
if (0 <= d)
{
// Valid value.
machine->duration = d;
return 0;
}
else
// Report failure.
return 1;
}
std::string
UMachine::assemble(std::list<std::string> components)
{
assert(machine);
// Bounce to Machine::operator().
return (*machine)(components);
}
|
a0a3357ca09daa8c04944482dfbf0acad977653e | 77013b8303a10d0c937c9ca2bbba20dd35d53bbf | /Trees/kth_smallest_element.cpp | f2dafcd8c43bc033a1bde4a6b294ea956ee9dba9 | [
"MIT"
] | permissive | aneesh001/InterviewBit | 9d10febfcace743b2335acdfcca0f2265c647d8d | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | refs/heads/master | 2020-03-18T06:05:36.438449 | 2018-07-01T06:02:57 | 2018-07-01T06:02:57 | 134,376,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | kth_smallest_element.cpp | #include <bits/stdc++.h>
using namespace std;
struct TreeNode {
int val;
TreeNode *left, *right;
TreeNode(int v): val(v), left(nullptr), right(nullptr) { }
};
pair<bool, int> util(TreeNode *A, int k) {
if(A == nullptr) {
return {false, 0};
}
pair<bool, int> l = util(A->left, k);
if(l.first == true) {
return l;
}
if(l.second + 1 == k) {
return {true, A->val};
}
pair<bool, int> r = util(A->right, k - l.second - 1);
if(r.first == true) {
return r;
}
return {false, 1 + l.second + r.second};
}
int kthsmallest(TreeNode* A, int B) {
pair<bool, int> ans = util(A, B);
assert(ans.first == true);
return ans.second;
}
int main(void) {
return 0;
} |
a16c10eb5e0a0e2a845655d05f43037f1cceb013 | 2e668d7a2c076a9e082544cbe2dfd27ee79c216f | /includes/request.hpp | a6978561c87471a249602c5a6f397ff2bde119ef | [] | no_license | felix-hellman/Consly | a527eb8b6489183b242b60a0059b35e404872288 | e4ec67cdf08eebb1262d064f3a8c72deb9d25569 | refs/heads/master | 2021-08-22T14:32:25.840569 | 2017-11-30T11:38:48 | 2017-11-30T11:38:48 | 111,008,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | hpp | request.hpp | #pragma once
#include <string>
#include <tuple>
#include <vector>
namespace Consly {
class Request {
private:
std::string URL;
std::string buffer;
bool verifySSL;
public:
Request();
~Request();
std::vector<std::tuple<std::string, std::string> > arguments;
std::vector<std::string> headers;
void clearBuffer();
void addForm(const std::string &name, const std::string &data);
void addForm(const std::tuple<std::string, std::string> &tup);
void addHeader(const std::string &headerfield);
void setURL(const std::string &URL);
bool getSSL() const;
void setSSL(bool SSL);
std::string getURL() const;
std::string &getBuffer();
std::string *getBufferPointer();
};
} // namespace Consly
|
5c335b0e9f96746690d756a1175284896cb80b35 | feebcad0231f72b52bba68256329f8f4ba7f9dc9 | /2.cpp | 1819399b8538798026c184538fc407860bc6cfb6 | [
"MIT"
] | permissive | abepraya/Dumbways-Kloter-3 | f74a81ecd7a354c2c9a9692f05de08b56b28cf9e | 5a6ca2f299c6cfde78b6a5862a80acb8fe7b66a2 | refs/heads/master | 2022-11-30T13:31:59.625523 | 2020-08-15T15:13:46 | 2020-08-15T15:13:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | 2.cpp | #include <iostream>
using namespace std;
/* Muhammad Jadid AbiPraya - kloter 3 */
void buyEgg(int tanggal,int uang){
int butir,jumlah,lusin = 12;
int i,j = 0;
butir=uang/2500;
for (int i = 1; i <= 31; i++)
{
if (tanggal % i == 0)
{
j++;
}
else if (tanggal % 5 == 0 && butir % 2 == 0)
{
jumlah = butir * 10;
cout<<"Jumlah: "<<jumlah<<endl;
}
else if (tanggal % 5 == 0 && butir % 2 != 0)
{
jumlah = butir * 5;
cout<<"Jumlah: "<<jumlah<<endl;
}
}
if (j == 2 && butir >= 12)
{
jumlah = butir + 2;
cout<<"Jumlah: "<<jumlah<<endl;
if(butir/12==2)
{
jumlah = butir + 4;
cout<<"Karena bonus 2x,maka jumlah: "<<jumlah<<endl;
}
}
else if(j != 2 && butir >= 12)
{
jumlah = butir + 3;
cout<<"Jumlah: "<<jumlah<<endl;
}
else {
jumlah = butir;
cout<<"Jumlah: "<<jumlah<<endl;
}
}
int main() {
buyEgg(13,60000);
cin.get();
return 0;
}
|
3be7e2a3b19cb9d16776e4a97dbb81e69961f837 | d594e9b9120fd0470764bea779606dcdf749142e | /c3-js-cssstylesheet.hpp | 1a15f6af2de8279145cec382a695cea8f9847ae7 | [] | no_license | guan-jing-ren/c3 | d53ea34cf630cf1ca4da3b5f579d72beb1350c59 | a11e3f35fee657d7122679996ec11c2135fd9706 | refs/heads/master | 2021-05-05T21:33:40.630520 | 2018-01-31T11:33:48 | 2018-01-31T11:33:48 | 115,763,085 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | hpp | c3-js-cssstylesheet.hpp | #ifndef C3_JS_CSSSTYLESHEET_HPP
#define C3_JS_CSSSTYLESHEET_HPP
#include "c3-js-stylesheet.hpp"
struct CSSStyleSheet : StyleSheet {};
#endif
|
94b9fc32da2314c3e7dab17f37716070439db6dc | 1dfdadab321c3d5592f5807aaf11ea26b16ff2a9 | /dev/CPP/DinrusVizWXC/src/mdi.cpp | f9129451e73bdf3e24180725b2d8002535ec212f | [] | no_license | dinrus/WX | dca328c474b9d6d243e22d01cac85b87643976d2 | de192ea12c8b2e88405907203c57dde55741a968 | refs/heads/master | 2023-07-10T08:54:42.488305 | 2021-07-29T07:17:47 | 2021-07-29T07:17:47 | 116,132,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,218 | cpp | mdi.cpp | //-----------------------------------------------------------------------------
// wxD - mdi.cpp
// (C) 2005 bero <berobero.sourceforge.net>
// based on
// wx.NET - mdi.cxx
//
// The wxMDI* proxy interface.
//
// Written by Bryan Bulten (bryan@bulten.ca)
// (C) 2003 by Bryan Bulten
// Licensed under the wxWidgets license, see LICENSE.txt for details.
//
// $Id: mdi.cpp,v 1.10 2007/01/15 11:55:37 afb Exp $
//-----------------------------------------------------------------------------
/*
#include <wx/wx.h>
#include "common.h"
#include <wx/mdi.h>
#include "local_events.h"
*/
#include "pch.h"
//-----------------------------------------------------------------------------
typedef wxMDIClientWindow* (CALLBACK* Virtual_OnCreateClient) (wxc_object obj);
class _MDIParentFrame : public wxMDIParentFrame
{
public:
_MDIParentFrame()
: wxMDIParentFrame() {}
wxMDIClientWindow *OnCreateClient()
{ return m_OnCreateClient(m_dobj); }
void Register_Virtual(wxc_object obj, Virtual_OnCreateClient onCreateClient)
{
m_dobj = obj;
m_OnCreateClient = onCreateClient;
}
private:
Virtual_OnCreateClient m_OnCreateClient;
wxc_object m_dobj;
};
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxMDIParentFrame* wxMDIParentFrame_ctor()
{
return new _MDIParentFrame();
}
extern "C" WXEXPORT
void wxMDIParentFrame_RegisterVirtual(_MDIParentFrame* self, wxc_object obj, Virtual_OnCreateClient onCreateClient)
{
self->Register_Virtual(obj, onCreateClient);
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxMDIClientWindow* wxMDIParentFrame_OnCreateClient(_MDIParentFrame* self)
{
return self->wxMDIParentFrame::OnCreateClient();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxc_bool wxMDIParentFrame_Create(_MDIParentFrame* self, wxWindow* parent, wxWindowID id, wxc_string title, const wxPoint* pos, const wxSize* size, int style, wxc_string name)
{
if (pos == NULL)
pos = &wxDefaultPosition;
if (size == NULL)
size = &wxDefaultSize;
if (name.data==NULL)
name = wxc_string("mdiParentFrame");
return self->Create(parent, id, wxstr(title), *pos, *size, style, wxstr(name))?1:0;
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxMDIChildFrame* wxMDIParentFrame_GetActiveChild(_MDIParentFrame* self)
{
return self->GetActiveChild();
}
//-----------------------------------------------------------------------------
#if 0
extern "C" WXEXPORT
void wxMDIParentFrame_SetActiveChild(wxMDIParentFrame* self, wxMDIChildFrame* pChildFrame)
{
self->SetActiveChild(pChildFrame);
}
#endif
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxMDIClientWindow* wxMDIParentFrame_GetClientWindow(_MDIParentFrame* self)
{
return self->GetClientWindow();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIParentFrame_Cascade(_MDIParentFrame* self)
{
self->Cascade();
}
extern "C" WXEXPORT
void wxMDIParentFrame_Tile(_MDIParentFrame* self)
{
self->Tile();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIParentFrame_ArrangeIcons(_MDIParentFrame* self)
{
self->ArrangeIcons();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIParentFrame_ActivateNext(_MDIParentFrame* self)
{
self->ActivateNext();
}
extern "C" WXEXPORT
void wxMDIParentFrame_ActivatePrevious(_MDIParentFrame* self)
{
self->ActivatePrevious();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIParentFrame_GetClientSize(_MDIParentFrame* self, int* width, int* height)
{
self->GetClientSize(width, height);
}
//-----------------------------------------------------------------------------
// wxMDIChildFrame
class _MDIChildFrame : public wxMDIChildFrame
{
public:
DECLARE_OBJECTDELETED(_MDIChildFrame)
};
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxMDIChildFrame* wxMDIChildFrame_ctor()
{
return new _MDIChildFrame();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIChildFrame_Activate(wxMDIChildFrame* self)
{
self->Activate();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxc_bool wxMDIChildFrame_Create(wxMDIChildFrame* self, wxMDIParentFrame* parent, wxWindowID id, wxc_string title, const wxPoint* pos, const wxSize* size, long style, wxc_string name)
{
if (pos == NULL)
pos = &wxDefaultPosition;
if (size == NULL)
size = &wxDefaultSize;
if (name.data==NULL)
name = wxc_string("mdiChildFrame");
return self->Create(parent, id, wxstr(title), *pos, *size, style, wxstr(name))?1:0;
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIChildFrame_Restore(wxMDIChildFrame* self)
{
self->Restore();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
void wxMDIChildFrame_Maximize(wxMDIChildFrame* self, wxc_bool maximize)
{
self->Maximize(maximize);
}
//-----------------------------------------------------------------------------
// wxMDIClientWindow
class _MDIClientWindow : public wxMDIClientWindow
{
public:
DECLARE_OBJECTDELETED(_MDIClientWindow)
};
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxMDIClientWindow* wxMDIClientWindow_ctor()
{
return new _MDIClientWindow();
}
//-----------------------------------------------------------------------------
extern "C" WXEXPORT
wxc_bool wxMDIClientWindow_CreateClient(wxMDIClientWindow* self, wxMDIParentFrame* parent, int style)
{
return self->CreateClient(parent, style)?1:0;
}
//-----------------------------------------------------------------------------
|
1c1ff59611c87112839e33fa537f888ad99e9dea | f1bbb7d873a0bfb502227da8ca6b420efd38e13b | /cola_paquetes.cpp | a905eaf21c3e75030643c8f47cdb91e1d5b47bbe | [] | no_license | DQ4IoT/Near-Perfect-Layer-2-Efficiency | 1d3582682f891e7863bbcedd8cf1b69a0d2ff9d2 | 774dc0c515deba64457cb01fbeb89748dfd40dde | refs/heads/master | 2021-09-22T16:09:22.885138 | 2018-09-11T21:00:41 | 2018-09-11T21:00:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | cpp | cola_paquetes.cpp | // cola_paquetes.cpp: implementation of the cola_paquetes class.
//
//////////////////////////////////////////////////////////////////////
#include "cola_paquetes.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
cola_paquetes::cola_paquetes()
{
cola=new long [MAX_QUEUE_SIZE];
marcas=new bool [MAX_QUEUE_SIZE];
num_elementos=0;
max_elementos=MAX_QUEUE_SIZE;
}
cola_paquetes::~cola_paquetes()
{
delete [] cola;
delete [] marcas;
}
void cola_paquetes::push()
{
if (num_elementos<max_elementos)
{
cola[num_elementos]=0;
marcas[num_elementos]=false;
num_elementos++;
};
};
void cola_paquetes::push(long valor)
{
if (num_elementos<max_elementos)
{
cola[num_elementos]=valor;
marcas[num_elementos]=false;
num_elementos++;
};
};
long cola_paquetes::pop(bool &fin)
{
long out;
if (num_elementos)
{
out=cola[0];
fin=marcas[0];
for (int n=1;n<num_elementos;n++)
{
cola[n-1]=cola[n];
marcas[n-1]=marcas[n];
};
num_elementos--;
};
return out;
};
void cola_paquetes::pop()
{
long out;
if (num_elementos)
{
out=cola[0];
for (int n=1;n<num_elementos;n++)
{
cola[n-1]=cola[n];
marcas[n-1]=marcas[n];
};
num_elementos--;
};
return;
};
void cola_paquetes::operator ++ ()
{
for (int n=0;n<num_elementos;n++)
cola[n]++;
};
long *cola_paquetes::operator [] (int n)
{
if (n>0)
return &cola[n-1];
else
return &cola[0];
};
int cola_paquetes::lee_num_elementos()
{
return num_elementos;
};
int cola_paquetes::read_message_size()
{
int aux=0;
if (num_elementos) aux=1;
for (int n=0;(n<num_elementos)&&(!marcas[n]);n++)
aux++;
return aux;
};
long cola_paquetes::suma_total()
{
long aux=0;
for (int n=0;n<num_elementos;n++)
aux+=cola[n];
return aux;
};
void cola_paquetes::reset()
{
num_elementos=0;
};
long cola_paquetes::lee_1er_elemento()
{
return cola[0];
};
void cola_paquetes::marca_final()
{
marcas[num_elementos-1]=true;
};
|
4079ea1c1903c31bc658c3eb32cdff2cb54f2913 | 770f2a2121c44586b393f0e3de37d069c7a412f0 | /boj_15650.cpp | 5c1ac7fe9a0230a9d7731cde2293dc4016b56dad | [] | no_license | seungchan-mok/solvedPS | dae18a712d7e59abcacd17dcac880f928dc3d500 | f34a5e12504868f52bf54904b4c57860c65541f5 | refs/heads/main | 2023-06-30T11:29:15.685219 | 2021-07-25T10:40:19 | 2021-07-25T10:40:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | boj_15650.cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <cstdio>
using namespace std;
int nums[8];
bool checked[8];
int n;
void f(int idx, int a, int r)
{
if (a == r)
{
for(int i = 0;i < n;i++)
{
if(checked[i]) printf("%d ",i+1);
}
printf("\n");
}
for(int i = idx;i<n;i++)
{
if (checked[i]) continue;
checked[i] = true;
f(i,a+1,r);
checked[i] = false;
}
}
int main()
{
int m;
scanf("%d %d",&n,&m);
f(0,0,m);
return 0;
}
|
7977bb766832ed32e9515066b75251086d4497a8 | 6c6b4809f062321d65943944d28fb6d7a49aedf4 | /oringinal_code/usermessage_ui.cpp | 23768e08da73947c1f9f838ca5ca238cf7c35123 | [] | no_license | y-zheng18/crowding_translation_platform | 3118d6653018db4e2466ba2a410c62d801a41118 | 2532128c16b8ad2e9d979e66757524ce28fcf246 | refs/heads/master | 2020-07-12T04:03:47.524669 | 2019-08-27T14:29:23 | 2019-08-27T14:29:23 | 204,713,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | usermessage_ui.cpp | /*************************************************************************
【文件名】 usermessage_ui.cpp
【功能模块和目的】 用户数据详细平台
【开发者及日期】 2019/7/26
*************************************************************************/
#include "usermessage_ui.h"
#include "ui_usermessage_ui.h"
#include <QGraphicsDropShadowEffect>
userMessage_ui::userMessage_ui(User& u, QWidget *parent):
QDialog(parent),
ui(new Ui::userMessage_ui),
m_user(u)
{
ui->setupUi(this);
this->setWindowFlags(Qt::FramelessWindowHint);
this->setAttribute(Qt::WA_TranslucentBackground);
this->setFixedSize(QSize(650, 500));
ui->frame->setGeometry(5, 5, this->width() - 5, this->height() - 5);//设置有效范围框
ui->frame->setGeometry(5, 5, this->width() - 5, this->height() - 5);//设置有效范围框
QGraphicsDropShadowEffect *shadow_effect = new QGraphicsDropShadowEffect(this);
shadow_effect->setOffset(0, 0);
shadow_effect->setColor(Qt::black);
shadow_effect->setBlurRadius(10);
ui->frame->setGraphicsEffect(shadow_effect);
ui->labelName->setText(QString("用户名: %1").arg(m_user.getUserName()));
ui->label_email->setText(QString("email: %1").arg(m_user.getEmail()));
ui->label_score->setText(QString("用户积分: %1").arg(m_user.getScore()));
QPixmap pix = m_user.getPix();
if (pix.width() != 0)
{
pix.scaled(ui->label_picture->size(), Qt::KeepAspectRatio);
ui->label_picture->setScaledContents(true);
ui->label_picture->setPixmap(pix);
}
m_user.getUserCertification();
ui->label_language->setText(QString("用户语言资质: %1").arg(m_user.m_certification.getQualText()));
if (m_user.m_certification.getIsChecked() == true)
{
ui->label_Proved->setText(QString("资质认证:已认证"));
}
else
{
ui->label_Proved->setText(QString("资质认证:未认证"));
}
m_user.getUserAssignment();
QString assignmentName = "";
for (int i = 0;i < m_user.m_userAsPublisher.size();i++)
{
assignmentName += m_user.m_userAsPublisher[i].getName();
assignmentName += "\n";
}
ui->labelPublisher->setText(QString("%1").arg(assignmentName));
assignmentName = "";
for (int i = 0;i < m_user.m_userAsManager.size();i++)
{
assignmentName += m_user.m_userAsManager[i].getName();
assignmentName += "\n";
}
ui->labelManager->setText(QString("%1").arg(assignmentName));
assignmentName = "";
for (int i = 0;i < m_user.m_userAsTrans.size();i++)
{
assignmentName += m_user.m_userAsTrans[i].getName();
assignmentName += "\n";
}
ui->labelTrans->setText(QString("%1").arg(assignmentName));
}
userMessage_ui::~userMessage_ui()
{
delete ui;
}
void userMessage_ui::on_btnClose_clicked()
{
this->close();
}
|
940735e67ee78b55557dcbedf973bd1f6447429b | 22e134ab1dcf45ab8060d8b1358e533523c3422d | /my_menu.h | 93a66686aaf37366f0fad31582b01005e87c11f5 | [] | no_license | Yoshino-s/MenuForArduino | efda8e7a9cbb57675d2334f13bc85b531f48d661 | 0565daba013bd353733bf639c510065f5f85ea69 | refs/heads/master | 2021-06-27T03:11:58.451694 | 2017-09-13T07:38:47 | 2017-09-13T07:38:47 | 103,368,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,012 | h | my_menu.h | // my_menu.h
#ifndef _MY_MENU_h
#define _MY_MENU_h
#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"
#else
#include "WProgram.h"
#endif
#include "U8glib/U8glib.h"
#define FUCK_MY_CLASS_TO_MAKE_UPDATE_TO_THREE_PARTS_SO_THAT_YOU_CAN_USE_MY_CLASS_MORE_HARD false
#define STACK_MAX_DEPTH 3
#define MAX_STRING_LENGTH 10
#define MAX_SELECTION_NUMBER 4
//point of four selections
#define S1Y 17
#define S2Y 32
#define S3Y 45
#define S4Y 62
#define SX 4
//type of Scene
#define SCENE_TEXT 0x01 //TODO
#define SCENE_SELECTIONS 0x02
#define SCENE_SELECTIONS_WITHOUT_TITLE 0x03 //TODO
//type of Selection
#define SELECTION_NEXT_SCENE 0x01
#define SELECTION_ON_OFF 0x02
#define SELECTION_FUNCTION 0x03
#define SELECTION_ON_OFF_WITH_FUNCTION 0x04
//type of keys
#define KEY_NONE 0x00
#define KEY_UP 0x01
#define KEY_DOWN 0x02
#define KEY_BACK 0x04
#define KEY_OK 0x08
/**
* Name: buildSel
* Type: Function
* Function: Build a Selection used like a switch and registed a function
* Parameter:
** bool* sta --The poniter of the selection state
** void (*fun)(bool) --The function which registed to the selection
**/
struct Selection buildSel(bool *sta, void(*fun)(bool));
/**
* Name: buildSel
* Type: Function
* Function: Build a Selection used like a switch
* Parameter:
** bool* sta --The poniter of the selection state
**/
struct Selection buildSel(bool *sta);
/**
* Name: buildSel
* Type: Function
* Function: Build a Selection linked to a new scene
* Parameter:
** char* text --The text showing at the scene
** struct Scene* sc --The scene which the selection linked to
**/
struct Selection buildSel(char* text, struct Scene* sc);
/**
* Name: buildSel
* Type: Function
* Function: Build a Selection registed a function
* Parameter:
** char* text --The text showing at the scene
** void (*fun)(bool) --The function which registed to the selection
**/
struct Selection buildSel(char* text, void(*fun)(void));
/**
* Name: buildSce
* Type: Function
* Function: Build a Scene
* Parameter:
** unsigned char len --The length of Selection array
** struct Selection* sels --The Selection array the scene use
**/
struct Scene buildSce(unsigned char len, struct Selection* sels);
/**
* Name: Selection
* Type: structure
* Function: Record a selection
* Value:
** char* text --The text showing at the scene
** unsigned char type --The type of the selection
** union(anonymity) action --The action or state in the selection
**/
struct Selection;
/**
* Name: Scene
* Type: structure
* Function: Record a scene
* Value:
** uunsigned char selectionsNumber --The length of Selection array
** selections --The array of the selections
**/
struct Scene;
/**
* Name: Key
* Type: structure
* Function: Record a key
* Value:
** int pin --The pin of the key
** bool pressed --If the key is pressed
** unsigned char type --The type of the key
** bool pullTo --The pull level of the key
**/
struct Key;
/**
* Name: Menu
* Type: class
* Function: Generate a menu via SSD1306--128x64
**/
class Menu {
public:
Menu();
void draw();
void update();
void FUCK_updateKey();
void FUCK_update();
void FUCK_draw();
void registerScene(struct Scene scene);
void setKeys(int up, int down, int back, int ok);
U8GLIB_SSD1306_128X64 u8g;
private:
bool __debug = true;
void _debug(char* str) {
if (__debug) {
Serial.print("Debug: ");
Serial.println(str);
}
}
bool _changed = true;
unsigned char _selection = 0;
unsigned char _startSelectionNumber = 0;
bool settedKey = false;
struct Key _key_up, _key_down, _key_back, _key_ok;
unsigned char _keyState, _oldKeyState = KEY_NONE;
bool _updateKeys();
void _rollSelection();
void _drawText(unsigned char num, char* str);
void _drawSelection(struct Selection sel, unsigned char num);
void _drawRoller();
struct Scene _stack[STACK_MAX_DEPTH];
unsigned char _pointer = 0;
bool _push(struct Scene scene);
struct Scene _top();
bool _pop();
};
#endif
|
34caa9058731bc9f984c1e7d621c4dc1f70265c7 | c6fdf91e3eeee9beab0242be13bbfce9c07a58fd | /71.cpp | 482a76e35368d6e0e08a9f78673f64ecde09f2d6 | [] | no_license | haozha111/algo | f266fd2c698b4234633d6c56cd73dcf6940ee0df | e320d30a353496359c39e55edb167630dd31c97a | refs/heads/master | 2021-06-02T04:38:19.299119 | 2016-01-27T16:38:14 | 2016-01-27T16:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | 71.cpp | #include "leetcode.h"
using namespace std;
class Solution {
public:
string simplifyPath(string path) {
string res, str;
istringstream iss(path);
vector<string> v;
while (getline(iss, str, '/')) {
if (!str.empty()) {
if (str == "..") {
if (!v.empty()) {
v.pop_back();
}
}else if (str != ".") {
v.push_back(str);
}
}
}
for (int i = 0; i < v.size(); ++i) {
res.append("/" + v[i]);
}
if (v.empty()) {
res.push_back('/');
}
return res;
}
};
int main(){
Solution s;
cout << s.simplifyPath("/a/./b/../../c/") << endl;
return 0;
}
|
7caaf083807852d90429a06e0a8b211f535b7a0c | b87267aa34adc6c283175c2cd5876f50f064bfa4 | /OSEX/OSEX2/main.cpp | fa67ab77819b3edb9de29294d2f36c2b57843d04 | [] | no_license | Yisaer/DailyCode_In_ShuLife | b37fc7678e259196c96c9c957c46952de21f3c9e | 047f298f3af9bb9e52b01610120df183f16a97f2 | refs/heads/master | 2020-06-14T09:41:47.305848 | 2017-09-04T12:58:03 | 2017-09-04T12:58:03 | 75,202,265 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,742 | cpp | main.cpp | #include <iostream>
using namespace std;
#include <cstring>
int Res[15];
int n,m;
struct Process{
int Had[15];
int Max[15];
int Need[15];
bool IsEnd;
}Processes[15];
int curProcess;
int Req[15];
Process tmpProcesses[15];
bool IsEnd(){
bool R = true;
for(int i = 0;i<n;i++){
if(Processes[i].IsEnd == false){
R = false;
break;
}
}
return R;
}
bool IstmpEnd(){
bool R = true;
for(int i = 0;i<n;i++){
if(tmpProcesses[i].IsEnd == false){
R = false;
break;
}
}
return R;
}
bool Legal= false;
bool Banker(){
Legal = true;
for(int i = 0;i<m;i++){
if(Req[i] > Processes[curProcess].Need[i]){
Legal = false;
break;
}
}
for(int i = 0;i<m;i++){
if(Req[i] > Res[i]){
Legal = false;
break;
}
}
int tmp[15];
for(int i = 0;i<m;i++){
tmp[i] = Res[i];
}
for(int i = 0;i<n;i++){
for(int j = 0;j<m;j++){
tmpProcesses[i].Max[j] = Processes[i].Max[j];
tmpProcesses[i].Need[j] = Processes[i].Need[j];
tmpProcesses[i].Had[j] = Processes[i].Had[j];
tmpProcesses[i].IsEnd = Processes[i].IsEnd;
}
}
for(int i = 0;i<m;i++){
tmpProcesses[curProcess].Had[i] +=Req[i];
tmpProcesses[curProcess].Need[i] -= Req[i];
tmp[i]-=Req[i];
}
bool IsFind = false;
do{
IsFind = false;
int curRel = -1;
for(int i = 0;i<n;i++){
if(tmpProcesses[i].IsEnd == false){
bool IsFF = true;
for(int j= 0;j<m;j++){
if(tmpProcesses[i].Need[j] > tmp[i]){
IsFF = false;
break;
}
}
IsFind = IsFF;
if(IsFind == true){
curRel = i;
break;
}
}
}
if(IsFind){
for(int i = 0;i<m;i++){
tmp[i]+=tmpProcesses[curRel].Had[i];
tmpProcesses[curRel].IsEnd = true;
tmpProcesses[curRel].Had[i] = 0;
tmpProcesses[curRel].Need[i] = 0;
}
}
}while(!IstmpEnd() && IsFind == true);
for(int i = 0;i<m;i++){
if(tmpProcesses[i].IsEnd == false){
Legal = false;
break;
}
}
return Legal;
}
int main() {
memset(Processes,0,sizeof(Processes));
memset(Res,0,sizeof(Res));
memset(Req,0,sizeof(Req));
cin>>n>>m;
for(int i = 0;i<m;i++){
cin>>Res[i];
}
for(int i = 0;i<n;i++){
for(int j = 0;j<m;j++){
cin>>Processes[i].Had[j]>>Processes[i].Max[j];
}
}
int option = -1;
cin>>option;
if(option == 0){
do{
for(int i = 0;i<n;i++){
for(int j = 0;j<m;j++){
Processes[i].Need[j] = Processes[i].Max[j] - Processes[i].Had[j];
}
}
cin>>curProcess;
for(int i = 0;i<m;i++){
cin>>Req[i];
}
Legal = false;
Banker();
if(Legal){
Processes[curProcess].IsEnd = true;
for(int i = 0;i<m;i++){
Processes[curProcess].Had[i]+=Req[i];
Processes[curProcess].Need[i]-=Req[i];
if(Processes[curProcess].Had[i] < Processes[curProcess].Max[i]){
Processes[curProcess].IsEnd = false;
}
}
}
}while(!IsEnd());
}
return 0;
} |
d58c22b5e02dbec3f830a2419d8e395fd182b0fe | 03c5f17c5a44d9d7ab5893e02500cc1c21914e55 | /Building.cpp | 4a496afd248f202319babaf499ba2d687f911208 | [] | no_license | ajaysreenivasan/helifire | b1a88927763a2d4a96b29727fc6daf429c740f49 | 272605c0304ed2740478071d158506bc4fe9695f | refs/heads/master | 2021-01-22T22:57:15.862654 | 2013-09-25T23:59:19 | 2013-09-25T23:59:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | Building.cpp | #include <cstdlib>
#include "Building.h"
Building::Building(){
this->buildingHeight = (rand() % 75)*2 + 70;
this->buildingWidth = (rand() % 75)*2 + 70;
this->xCoordinate = GameInfo::defaultScreenWidth;
this->yCoordinate = GameInfo::defaultScreenHeight - buildingHeight + 2;
this->hitbox.leftBorder = GameInfo::defaultScreenWidth;
this->hitbox.rightBorder = GameInfo::defaultScreenWidth + buildingWidth;
this->hitbox.topBorder = GameInfo::defaultScreenHeight - buildingHeight;
this->hitbox.bottomBorder = GameInfo::defaultScreenHeight;
}
Building::~Building(){
}
void Building::draw(){
double xScale = GameInfo::xScale;
double yScale = GameInfo::yScale;
XFillRectangle(GameInfo::display, GameInfo::pixmap, GameInfo::graphicsContextList[4], this->xCoordinate*xScale, this->yCoordinate*yScale, buildingWidth*xScale, buildingHeight*yScale);
}
int Building::getBuildingHeight() const{
return this->buildingHeight;
}
int Building::getBuildingWidth() const{
return this->buildingWidth;
} |
84c3e6059b413103a82db4c95604d200c8b270e0 | b8825b38d9529fb8641755cb1e31a1faddf2d3db | /Application/ValueStorage.cpp | 5ae88f2a883626bdd253875c63ca2e2e83b0d412 | [] | no_license | Linoprit/Heizungssteuerung | 8714db84fc71a927604fb37e331f113e74515bc5 | 69efda68d7be7624b1b14e117ff19325c5f7a92f | refs/heads/master | 2021-06-20T21:26:41.871367 | 2020-12-19T19:16:55 | 2020-12-19T19:16:55 | 134,323,720 | 1 | 0 | null | 2020-12-19T19:16:56 | 2018-05-21T20:48:44 | C | UTF-8 | C++ | false | false | 3,650 | cpp | ValueStorage.cpp | /*
* SaveValues.cpp
*
* Created on: 04.11.2019
* Author: harald
*/
#include <ValueStorage.h>
#include <HeizStateMachine/MainMachine.h>
ValueStorage::ValueStorage(CrcSocket *crcSocket, RtcSocket* rtcSocket) {
_crcSocket = crcSocket;
_rtcSocket = rtcSocket;
RtcBackupType rtcRestore = this->getBlock();
uint8_t crc = calcChecksum(rtcRestore);
if (crc != rtcRestore.chksum) {
fillInDefaultVals(&rtcRestore);
storeBlock(rtcRestore);
}
// restore date
_rtcSocket->set_date(rtcRestore.day, rtcRestore.month, rtcRestore.year);
}
void ValueStorage::storeDate(uint8_t day, uint8_t month, uint8_t year) {
RtcBackupType rtcBackup = getBlock();
rtcBackup.day = day;
rtcBackup.month = month;
rtcBackup.year = year;
storeBlock(rtcBackup);
_rtcSocket->set_date(rtcBackup.day, rtcBackup.month, rtcBackup.year);
}
void ValueStorage::storeBlock(ValueStorage::RtcBackupType rtcBackup) {
uint8_t crc = calcChecksum(rtcBackup);
rtcBackup.chksum = crc;
_rtcSocket->save_backup_struct(reinterpret_cast<uint16_t*>(&rtcBackup),
RTC_BACKUP_DATA_SIZE );
_rtcSocket->set_date(rtcBackup.day, rtcBackup.month, rtcBackup.year);
}
void ValueStorage::getBlock(RtcBackupType* rtcRestore) {
_rtcSocket->read_backup_struct(reinterpret_cast<uint16_t*>(rtcRestore),
RTC_BACKUP_DATA_SIZE /2 );
}
const ValueStorage::RtcBackupType ValueStorage::getBlock(void) {
RtcBackupType rtcRestore;
_rtcSocket->read_backup_struct(reinterpret_cast<uint16_t*>(&rtcRestore),
RTC_BACKUP_DATA_SIZE / 2 );
return rtcRestore;
}
uint8_t ValueStorage::calcChecksum(RtcBackupType rtcBackup) {
rtcBackup.chksum = 0;
uint32_t* buffer = reinterpret_cast<uint32_t*>( &rtcBackup );
return _crcSocket->calcU8(buffer, RTC_BACKUP_DATA_SIZE / 4);
}
void ValueStorage::fillInDefaultVals(RtcBackupType* rtcBackup) {
rtcBackup->tactiveMax_winter_1 = 5u;
rtcBackup->tpauseMax_winter_1 = 15u;
rtcBackup->tactiveMax_winter_2 = 5u;
rtcBackup->tpauseMax_winter_2 = 20u;
rtcBackup->day = 26u;
rtcBackup->month = 4u;
rtcBackup->year = 20u;
rtcBackup->MainMachineState = MainMachine::winter;
}
/*
ValueStorage* vs = Common::get_valueStorage();
ValueStorage::RtcBackupType rtcStorage = vs->getBlock();
tx_printf("startup:\n");
tx_printf("%i %i %i %i ",
rtcStorage.tactiveMax_winter_1 ,
rtcStorage.tpauseMax_winter_1 ,
rtcStorage.tactiveMax_winter_2 ,
rtcStorage.tpauseMax_winter_2 );
tx_printf("%i %i %i %i \n",
rtcStorage.day ,
rtcStorage.month ,
rtcStorage.year ,
rtcStorage.MainMachineState );
rtcStorage = vs->getBlock();
rtcStorage.tactiveMax_winter_1 = rtcStorage.tactiveMax_winter_1 + 1;
rtcStorage.tpauseMax_winter_1 = rtcStorage.tpauseMax_winter_1 + 1;
rtcStorage.tactiveMax_winter_2 = rtcStorage.tactiveMax_winter_2 + 1;
rtcStorage.tpauseMax_winter_2 = rtcStorage.tpauseMax_winter_2 + 1;
rtcStorage.day = rtcStorage.day + 1;
rtcStorage.month = rtcStorage.month + 1;
rtcStorage.year = rtcStorage.year + 1;
rtcStorage.MainMachineState = rtcStorage.MainMachineState + 1;
vs->storeBlock(rtcStorage);
tx_printf("cycle:\n");
tx_printf("%i %i %i %i ",
rtcStorage.tactiveMax_winter_1 ,
rtcStorage.tpauseMax_winter_1 ,
rtcStorage.tactiveMax_winter_2 ,
rtcStorage.tpauseMax_winter_2 );
tx_printf("%i %i %i %i \n",
rtcStorage.day ,
rtcStorage.month ,
rtcStorage.year ,
rtcStorage.MainMachineState );
*/
|
20371cd0fd3000c270a91d41f517a8e85bf8a5ef | 26fa558aca1b7741536f1a49084a8453f311f545 | /src/Classes.net/NGfc2Cylinder.cpp | 550b4336a0aeafa8f2a17ed7b5978e7d7d39bc92 | [] | no_license | greatchina666/GFC2 | b4f1e67b3802b7ae0ea7ef160ce23721baacf43a | 1830d7598a6ed09e8ffc87869c8885d6714e3e58 | refs/heads/master | 2022-12-12T05:43:32.967140 | 2019-12-30T02:46:37 | 2019-12-30T02:46:37 | 292,808,871 | 0 | 0 | null | 2020-09-04T09:36:52 | 2020-09-04T09:36:51 | null | UTF-8 | C++ | false | false | 2,903 | cpp | NGfc2Cylinder.cpp | #include "StdAfx.h"
#include "NGfc2Cylinder.h"
NGfc2Cylinder::NGfc2Cylinder()
{
m_pEntity = new Gfc2Cylinder;
m_bOwner = true;
}
NGfc2Cylinder::NGfc2Cylinder(void* pEntity, bool bOwner):
NGfc2Surface(pEntity, bOwner)
{
}
void NGfc2Cylinder::setRangeV(glodon::objectbuf::EntityRef nValue)
{
((Gfc2Cylinder*)m_pEntity)->setRangeV(nValue);
}
glodon::objectbuf::EntityRef NGfc2Cylinder::getRangeV()
{
return ((Gfc2Cylinder*)m_pEntity)->getRangeV();
}
bool NGfc2Cylinder::hasRangeV()
{
return ((Gfc2Cylinder*)m_pEntity)->hasRangeV();
}
NGfc2Intervald^ NGfc2Cylinder::getRangeVPtr()
{
return gcnew NGfc2Intervald(((Gfc2Cylinder*)m_pEntity)->getRangeVPtr(), false);
}
void NGfc2Cylinder::setCurve(glodon::objectbuf::EntityRef nValue)
{
((Gfc2Cylinder*)m_pEntity)->setCurve(nValue);
}
glodon::objectbuf::EntityRef NGfc2Cylinder::getCurve()
{
return ((Gfc2Cylinder*)m_pEntity)->getCurve();
}
bool NGfc2Cylinder::hasCurve()
{
return ((Gfc2Cylinder*)m_pEntity)->hasCurve();
}
NGfc2Curve2d^ NGfc2Cylinder::getCurvePtr()
{
return gcnew NGfc2Curve2d(((Gfc2Cylinder*)m_pEntity)->getCurvePtr(), false);
}
void NGfc2Cylinder::setDirX(glodon::objectbuf::EntityRef nValue)
{
((Gfc2Cylinder*)m_pEntity)->setDirX(nValue);
}
glodon::objectbuf::EntityRef NGfc2Cylinder::getDirX()
{
return ((Gfc2Cylinder*)m_pEntity)->getDirX();
}
bool NGfc2Cylinder::hasDirX()
{
return ((Gfc2Cylinder*)m_pEntity)->hasDirX();
}
NGfc2Vector3d^ NGfc2Cylinder::getDirXPtr()
{
return gcnew NGfc2Vector3d(((Gfc2Cylinder*)m_pEntity)->getDirXPtr(), false);
}
void NGfc2Cylinder::setDirY(glodon::objectbuf::EntityRef nValue)
{
((Gfc2Cylinder*)m_pEntity)->setDirY(nValue);
}
glodon::objectbuf::EntityRef NGfc2Cylinder::getDirY()
{
return ((Gfc2Cylinder*)m_pEntity)->getDirY();
}
bool NGfc2Cylinder::hasDirY()
{
return ((Gfc2Cylinder*)m_pEntity)->hasDirY();
}
NGfc2Vector3d^ NGfc2Cylinder::getDirYPtr()
{
return gcnew NGfc2Vector3d(((Gfc2Cylinder*)m_pEntity)->getDirYPtr(), false);
}
void NGfc2Cylinder::setDirZ(glodon::objectbuf::EntityRef nValue)
{
((Gfc2Cylinder*)m_pEntity)->setDirZ(nValue);
}
glodon::objectbuf::EntityRef NGfc2Cylinder::getDirZ()
{
return ((Gfc2Cylinder*)m_pEntity)->getDirZ();
}
bool NGfc2Cylinder::hasDirZ()
{
return ((Gfc2Cylinder*)m_pEntity)->hasDirZ();
}
NGfc2Vector3d^ NGfc2Cylinder::getDirZPtr()
{
return gcnew NGfc2Vector3d(((Gfc2Cylinder*)m_pEntity)->getDirZPtr(), false);
}
void NGfc2Cylinder::setPos(glodon::objectbuf::EntityRef nValue)
{
((Gfc2Cylinder*)m_pEntity)->setPos(nValue);
}
glodon::objectbuf::EntityRef NGfc2Cylinder::getPos()
{
return ((Gfc2Cylinder*)m_pEntity)->getPos();
}
bool NGfc2Cylinder::hasPos()
{
return ((Gfc2Cylinder*)m_pEntity)->hasPos();
}
NGfc2Vector3d^ NGfc2Cylinder::getPosPtr()
{
return gcnew NGfc2Vector3d(((Gfc2Cylinder*)m_pEntity)->getPosPtr(), false);
}
|
aa29e83bacbba6bc5e165db192d90f9058ca315f | 6de759f1f2fbfb208ff4ca00eb02289cd45ef316 | /c++小学期/c++最终版/2014211301-2014211144--李剑/四 2 形状2.1.cpp | 5e8177aecce1975df8df674bab45ec090d28925b | [] | no_license | VampHugh/gitHouse | 0edfad274667ee15da004988bec4ad7583e629fb | 24c3283c81fdd5347205b8a8634ccf1fc71112d9 | refs/heads/master | 2021-01-10T15:19:52.788219 | 2016-03-12T03:43:02 | 2016-03-12T03:43:02 | 53,580,544 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,674 | cpp | 四 2 形状2.1.cpp | /*四 2 (1)形状2.1*/
#include<iostream>
#include<stdlib.h>
#define PI 3.14159
using namespace std;
//声明一个基类Shape,其中包含一个方法来计算面积
class Shape{
public:
virtual double Area()
{
return x*y;
};
Shape(double m,double n);
~Shape(){
cout<<endl<<"这是基类的析构函数\n";
};
protected:
double x,y;
};
Shape::Shape(double m,double n)
{
x=m;
y=n;
cout<<endl<<"这是基类的构造函数\n";
}
class Rec:public Shape{
public:
double Area(){
return x*y;
}
Rec(double m,double n):Shape(m,n){
cout<<endl<<"这是矩形的构造函数\n";
};
~Rec(){
cout<<endl<<"这是矩形的析构函数"<<endl;
};
};
class Circle:public Shape{
public:
double Area(){
return x*x*PI;
};
Circle(double m,double n):Shape(m,n){
cout<<endl<<"这是圆形的构造函数\n";
};
~Circle(){
cout<<endl<<"这是圆的析构函数"<<endl;
};
};
class Square:public Rec{
public:
Square(double ch,double ku):Rec(ch,ku){
cout<<endl<<"这是正方形的构造函数"<<endl;
};
~Square();
double Area(){
return x*x;
}
};
Square::~Square(){
cout<<endl<<"这是正方形的析构函数"<<endl;
}
int main(void)
{
double chang,kuan;
cout<<"请输入矩形的长和宽:";
cin>>chang>>kuan;
Rec a(chang,kuan);
cout<<"矩形的面积是:"<<a.Area()<<endl;
cout<<"请输入圆的半径和正方形的边长:";
cin>>chang>>kuan;//用chang表示圆的半径 kuan表示正方形的边长
Circle b(chang,chang);
Square c(kuan,kuan);
cout<<"圆的面积是:"<<b.Area()<<endl;
cout<<"正方形的面积是:"<<c.Area()<<endl;
system("pause");
return 0;
}
|
2c7d4f2835d8e01220bd52a10aa60d66ebc83e58 | c3f1443a219a51d3f5a4292e662b52c5c01e11df | /MiniCarReplica.ino | 70dcedd1a5f929eeee9936b98bf9823a8dab71a0 | [] | no_license | AveryChiu64/Mini-Car-Replica | 096be237a26422f0f2099cbe9ce87a61503dbce4 | 6b7fac196c046a0dda29793caa30d34c0a507bfd | refs/heads/master | 2020-11-26T04:42:07.313970 | 2019-12-19T14:32:17 | 2019-12-19T14:32:17 | 228,966,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | ino | MiniCarReplica.ino | const int BUZZER=2;
const int ECHO_FRONT=13;
const int TRIG_FRONT=12;
const int ECHO_SIDE=9;
const int TRIG_SIDE=8;
const int LIGHT_PARKING_WARNING_FRONT=4;
const int LIGHT_BLIND_SPOT_SIDE=7;
void setup() {
pinMode(BUZZER,OUTPUT);
pinMode(TRIG_FRONT,OUTPUT);
pinMode(ECHO_FRONT,INPUT);
pinMode(LIGHT_PARKING_WARNING_FRONT,OUTPUT);
pinMode(TRIG_SIDE,OUTPUT);
pinMode(ECHO_SIDE,INPUT);
pinMode(LIGHT_BLIND_SPOT_SIDE,OUTPUT);
Serial.begin(9600);
}
long timeToObject(int trigPin, int echoPin) {
//Make sure that there is no wave
//that has been sent
digitalWrite(trigPin,LOW);
delay(2);
//Send wave to get timeToFront then
//convert to distance
digitalWrite(trigPin,HIGH);
delay(10);
digitalWrite(trigPin,LOW);
return pulseIn(echoPin,HIGH);
}
//Begins to buzz rapidly for the person parking the car
//Will buzz one constant note when the user should stop moving the car
void buzzAndLight() {
int distFront=timeToObject(TRIG_FRONT,ECHO_FRONT)*0.034/2;
if(distFront < 50 && distFront >= 7) {
digitalWrite(LIGHT_PARKING_WARNING_FRONT,HIGH);
tone(BUZZER,2000);
delay(distFront*8);
digitalWrite(LIGHT_PARKING_WARNING_FRONT,LOW);
noTone(BUZZER);
delay(distFront*8);
}else if(distFront < 7){
digitalWrite(LIGHT_PARKING_WARNING_FRONT,HIGH);
tone(BUZZER,2000);
}
else{
noTone(BUZZER);
digitalWrite(LIGHT_PARKING_WARNING_FRONT,LOW);
}
}
void checkBlindSpot() {
int distSide=(timeToObject(TRIG_SIDE,ECHO_SIDE)*0.034/2);
Serial.println(distSide);
if(distSide > 5 && distSide < 25) {
digitalWrite(LIGHT_BLIND_SPOT_SIDE,HIGH);
}
else{
digitalWrite(LIGHT_BLIND_SPOT_SIDE,LOW);
}
}
void loop() {
//Convert time to centimetres for the front
//to get distance for front ultrasonic sensor
buzzAndLight();
checkBlindSpot();
}
|
5c22f8b162aaabdefb3504572a281733dfce40b1 | b7d4fc29e02e1379b0d44a756b4697dc19f8a792 | /deps/boost/libs/multi_index/test/test_modifiers.cpp | 7ba692542e0df9eddf2630794916c823a1f232dd | [
"GPL-1.0-or-later",
"MIT",
"BSL-1.0"
] | permissive | vslavik/poedit | 45140ca86a853db58ddcbe65ab588da3873c4431 | 1b0940b026b429a10f310d98eeeaadfab271d556 | refs/heads/master | 2023-08-29T06:24:16.088676 | 2023-08-14T15:48:18 | 2023-08-14T15:48:18 | 477,156 | 1,424 | 275 | MIT | 2023-09-01T16:57:47 | 2010-01-18T08:23:13 | C++ | UTF-8 | C++ | false | false | 14,715 | cpp | test_modifiers.cpp | /* Boost.MultiIndex test for modifier memfuns.
*
* Copyright 2003-2017 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* See http://www.boost.org/libs/multi_index for library home page.
*/
#include "test_modifiers.hpp"
#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
#include <boost/detail/lightweight_test.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include <boost/move/core.hpp>
#include <boost/next_prior.hpp>
#include <boost/shared_ptr.hpp>
#include <iterator>
#include <vector>
#include "pre_multi_index.hpp"
#include "employee.hpp"
using namespace boost::multi_index;
struct non_copyable_int
{
explicit non_copyable_int(int n_):n(n_){}
non_copyable_int(BOOST_RV_REF(non_copyable_int) x):n(x.n){x.n=0;}
non_copyable_int& operator=(BOOST_RV_REF(non_copyable_int) x)
{
n=x.n;
x.n=0;
return *this;
}
int n;
private:
BOOST_MOVABLE_BUT_NOT_COPYABLE(non_copyable_int)
};
class always_one
{
public:
always_one():n(1){}
~always_one(){n=0;}
int get()const{return n;}
private:
int n;
};
inline bool operator==(const always_one& x,const always_one& y)
{
return x.get()==y.get();
}
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
namespace boost{
#endif
inline std::size_t hash_value(const always_one& x)
{
return static_cast<std::size_t>(x.get());
}
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
} /* namespace boost */
#endif
class linked_object
{
struct impl:boost::enable_shared_from_this<impl>
{
typedef boost::shared_ptr<const impl> ptr;
impl(int n_,ptr next_=ptr()):n(n_),next(next_){}
int n;
ptr next;
};
typedef multi_index_container<
impl,
indexed_by<
#if BOOST_WORKAROUND(__IBMCPP__,BOOST_TESTED_AT(1010))
ordered_unique<member<impl,int,&linked_object::impl::n> >,
hashed_non_unique<member<impl,int,&linked_object::impl::n> >,
#else
ordered_unique<member<impl,int,&impl::n> >,
hashed_non_unique<member<impl,int,&impl::n> >,
#endif
sequenced<>,
random_access<>
>
> impl_repository_t;
static impl_repository_t impl_repository;
public:
linked_object(int n):pimpl(init(impl(n))){}
linked_object(int n,const linked_object& x):pimpl(init(impl(n,x.pimpl))){}
private:
impl::ptr init(const impl& x)
{
std::pair<impl_repository_t::iterator,bool> p=impl_repository.insert(x);
if(p.second)return impl::ptr(&*p.first,&erase_impl);
else return p.first->shared_from_this();
}
static void erase_impl(const impl* p)
{
impl_repository.erase(p->n);
}
impl::ptr pimpl;
};
linked_object::impl_repository_t linked_object::impl_repository;
struct tempvalue_iterator:
boost::iterator_facade<
tempvalue_iterator,int,boost::forward_traversal_tag,int>
{
tempvalue_iterator(int n_):n(n_){}
void increment(){++n;}
bool equal(const tempvalue_iterator& x)const{return n==x.n;}
int dereference()const{return n;}
int n;
};
struct change_int
{
change_int(int n):n(n){}
void operator()(int& x)const{x=n;}
int n;
};
#if !(defined BOOST_NO_EXCEPTIONS)
struct change_int_and_throw
{
change_int_and_throw(int n):n(n){}
void operator()(int& x)const{x=n;throw 0;}
int n;
};
#endif
void test_modifiers()
{
employee_set es;
employee_set_by_name& i1=get<name>(es);
employee_set_by_age& i2=get<age>(es);
employee_set_as_inserted& i3=get<as_inserted>(es);
employee_set_by_ssn& i4=get<ssn>(es);
employee_set_randomly& i5=get<randomly>(es);
es.insert(employee(0,"Joe",31,1123));
BOOST_TEST(es.emplace(0,"Joe",31,1123).second==false);
BOOST_TEST(i1.insert(employee(0,"Joe Jr.",5,2563)).second==false);
BOOST_TEST(i2.emplace_hint(i2.end(),1,"Victor",5,1123)->name!="Victor");
BOOST_TEST(i3.insert(i3.begin(),employee(1,"Victor",5,1123)).second
==false);
BOOST_TEST(i3.push_front(employee(0,"Joe Jr.",5,2563)).second==false);
BOOST_TEST(i3.push_back(employee(0,"Joe Jr.",5,2563)).second==false);
BOOST_TEST(i5.emplace_front(1,"Victor",5,1123).second==false);
BOOST_TEST(i5.emplace_back(1,"Victor",5,1123).second==false);
employee_set_by_name::iterator it1=i1.find("Joe");
i1.insert(it1,employee(1,"Joe Jr.",5,2563));
BOOST_TEST(es.size()==2);
employee_set_by_age::iterator it2=i2.find(31);
i2.insert(it2,employee(2,"Grandda Joe",64,7881));
BOOST_TEST(es.size()==3);
employee_set_as_inserted::iterator it3=i3.begin();
i3.insert(it3,100,employee(3,"Judy",39,6201));
BOOST_TEST((--it3)->ssn==6201);
BOOST_TEST(es.size()==4);
employee_set_randomly::iterator it5=i5.begin();
i5.insert(it5,100,employee(4,"Jill",52,3379));
BOOST_TEST(i5.begin()->age==52);
BOOST_TEST(es.size()==5);
es.erase(employee(1,"Joe Jr.",5,2563));
BOOST_TEST(i3.size()==4&&i5.size()==4);
BOOST_TEST(i1.erase("Judy")==1);
BOOST_TEST(es.size()==3&&i2.size()==3);
BOOST_TEST(i2.erase(it2)->age==52);
BOOST_TEST(i3.size()==2&&i4.size()==2);
i3.pop_front();
BOOST_TEST(i1.size()==1&&i2.size()==1);
i5.erase(i5.begin(),i5.end());
BOOST_TEST(es.size()==0&&i3.size()==0);
i5.emplace(i5.end(),0,"Joe",31,1123);
BOOST_TEST(i1.erase(i1.begin())==i1.end());
BOOST_TEST(i1.size()==0);
i1.emplace(0,"Joe",31,1123);
i3.emplace(i3.begin(),1,"Jack",31,5032);
i4.emplace_hint(i4.end(),2,"James",31,3847);
BOOST_TEST(i2.erase(31)==3);
BOOST_TEST(i2.size()==0);
i3.emplace_front(1,"Jack",31,5032);
i3.emplace_back(0,"Joe",31,1123);
BOOST_TEST(i3.front()==employee(1,"Jack",31,5032));
BOOST_TEST(i3.back()==employee(0,"Joe",31,1123));
i3.pop_back();
BOOST_TEST(i3.back()==employee(1,"Jack",31,5032));
BOOST_TEST(es.size()==1);
i3.pop_front();
BOOST_TEST(es.size()==0);
i5.push_back(employee(1,"Jack",31,5032));
i5.push_front(employee(0,"Joe",31,1123));
i5.insert(i5.end()-1,employee(2,"Grandda Joe",64,7881));
BOOST_TEST(i5.back()==employee(1,"Jack",31,5032));
BOOST_TEST(i5.front()==employee(0,"Joe",31,1123));
BOOST_TEST(i5[0]==i5.front()&&i5.at(0)==i5.front());
BOOST_TEST(i5[i5.size()-1]==i5.back()&&i5.at(i5.size()-1)==i5.back());
i5.pop_front();
BOOST_TEST(i5.back()==employee(1,"Jack",31,5032));
BOOST_TEST(i5.front()==employee(2,"Grandda Joe",64,7881));
BOOST_TEST(es.size()==2);
i5.pop_back();
BOOST_TEST(i5.back()==employee(2,"Grandda Joe",64,7881));
BOOST_TEST(i5.front()==i5.front());
BOOST_TEST(es.size()==1);
i5.erase(i5.begin());
BOOST_TEST(es.size()==0);
std::vector<employee> ve;
ve.push_back(employee(3,"Anna",31,5388));
ve.push_back(employee(1,"Rachel",27,9012));
ve.push_back(employee(2,"Agatha",40,1520));
i1.insert(ve.begin(),ve.end());
BOOST_TEST(i2.size()==3);
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
i1.insert({{4,"Vanessa",20,9236},{5,"Penelope",55,2358}});
BOOST_TEST(i2.size()==5);
#endif
BOOST_TEST(i2.erase(i2.begin(),i2.end())==i2.end());
BOOST_TEST(es.size()==0);
i2.insert(ve.begin(),ve.end());
BOOST_TEST(i3.size()==3);
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
i2.insert({{4,"Vanessa",20,9236},{5,"Penelope",55,2358}});
BOOST_TEST(i3.size()==5);
#endif
BOOST_TEST(*(i3.erase(i3.begin()))==employee(1,"Rachel",27,9012));
BOOST_TEST(i3.erase(i3.begin(),i3.end())==i3.end());
BOOST_TEST(es.size()==0);
i3.insert(i3.end(),ve.begin(),ve.end());
BOOST_TEST(es.size()==3);
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
i3.insert(i3.begin(),{{4,"Vanessa",20,9236},{5,"Penelope",55,2358}});
BOOST_TEST(i3.front().name=="Vanessa");
BOOST_TEST(i4.size()==5);
#endif
BOOST_TEST(i4.erase(9012)==1);
i4.erase(i4.begin());
BOOST_TEST(i4.erase(i4.begin(),i4.end())==i4.end());
i4.insert(ve.begin(),ve.end());
BOOST_TEST(i5.size()==3);
BOOST_TEST(i5.erase(i5.begin(),i5.end())==i5.end());
BOOST_TEST(es.size()==0);
i5.insert(i5.begin(),ve.begin(),ve.end());
BOOST_TEST(i1.size()==3);
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
i5.insert(i5.end(),{{4,"Vanessa",20,9236},{5,"Penelope",55,2358}});
BOOST_TEST(i5.back().name=="Penelope");
BOOST_TEST(i1.size()==5);
#endif
BOOST_TEST(es.erase(es.begin(),es.end())==es.end());
BOOST_TEST(i2.size()==0);
es.insert(employee(0,"Joe",31,1123));
es.insert(employee(1,"Robert",27,5601));
es.insert(employee(2,"John",40,7889));
es.insert(employee(3,"Albert",20,9012));
es.insert(employee(4,"John",57,1002));
employee_set es_backup(es);
employee_set es2;
es2.insert(employee(3,"Anna",31,5388));
es2.insert(employee(1,"Rachel",27,9012));
es2.insert(employee(2,"Agatha",40,1520));
employee_set es2_backup(es2);
i1.swap(get<1>(es2));
BOOST_TEST(es==es2_backup&&es2==es_backup);
i2.swap(get<2>(es2));
BOOST_TEST(es==es_backup&&es2==es2_backup);
i3.swap(get<3>(es2));
BOOST_TEST(es==es2_backup&&es2==es_backup);
i4.swap(get<4>(es2));
BOOST_TEST(es==es_backup&&es2==es2_backup);
i5.swap(get<5>(es2));
BOOST_TEST(es==es2_backup&&es2==es_backup);
#if defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
::boost::multi_index::detail::swap(i1,get<1>(es2));
#else
using std::swap;
swap(i1,get<1>(es2));
#endif
BOOST_TEST(es==es_backup&&es2==es2_backup);
#if defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
::boost::multi_index::detail::swap(i2,get<2>(es2));
#else
using std::swap;
swap(i2,get<2>(es2));
#endif
BOOST_TEST(es==es2_backup&&es2==es_backup);
#if defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
::boost::multi_index::detail::swap(i3,get<3>(es2));
#else
using std::swap;
swap(i3,get<3>(es2));
#endif
BOOST_TEST(es==es_backup&&es2==es2_backup);
#if defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
::boost::multi_index::detail::swap(i4,get<4>(es2));
#else
using std::swap;
swap(i4,get<4>(es2));
#endif
BOOST_TEST(es==es2_backup&&es2==es_backup);
#if defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
::boost::multi_index::detail::swap(i5,get<5>(es2));
#else
using std::swap;
swap(i5,get<5>(es2));
#endif
BOOST_TEST(es==es_backup&&es2==es2_backup);
i3.clear();
BOOST_TEST(i3.size()==0);
es=es2;
i4.clear();
BOOST_TEST(i4.size()==0);
es=es2;
i5.clear();
BOOST_TEST(i5.size()==0);
es2.clear();
BOOST_TEST(es2.size()==0);
/* non-copyable elements */
multi_index_container<
non_copyable_int,
indexed_by<
ordered_non_unique<member<non_copyable_int,int,&non_copyable_int::n> >,
hashed_non_unique<member<non_copyable_int,int,&non_copyable_int::n> >,
sequenced<>,
random_access<>
>
> ncic,ncic2;
ncic.emplace(1);
get<1>(ncic).emplace(1);
get<2>(ncic).emplace_back(1);
get<3>(ncic).emplace_back(1);
non_copyable_int nci(1);
ncic.insert(boost::move(nci));
BOOST_TEST(nci.n==0);
nci.n=1;
get<1>(ncic).insert(boost::move(nci));
BOOST_TEST(nci.n==0);
nci.n=1;
get<2>(ncic).push_back(boost::move(nci));
BOOST_TEST(nci.n==0);
nci.n=1;
get<3>(ncic).push_back(boost::move(nci));
BOOST_TEST(nci.n==0);
std::vector<int> vi(4,1);
const std::vector<int>& cvi=vi;
ncic.insert(vi.begin(),vi.end());
ncic.insert(cvi.begin(),cvi.end());
get<2>(ncic).insert(get<2>(ncic).begin(),vi.begin(),vi.end());
get<2>(ncic).insert(get<2>(ncic).begin(),cvi.begin(),cvi.end());
BOOST_TEST(ncic.count(1)==24);
ncic.swap(ncic2);
BOOST_TEST(ncic.empty());
BOOST_TEST(ncic2.count(1)==24);
/* testcase for problem reported at
* http://lists.boost.org/boost-users/2006/12/24215.php
*/
multi_index_container<
always_one,
indexed_by<
hashed_non_unique<identity<always_one> >
>
> aoc;
aoc.insert(always_one());
aoc.insert(always_one());
aoc.erase(*(aoc.begin()));
BOOST_TEST(aoc.empty());
/* Testcases for compliance with "as close to hint as possible"
* proposed behavior for associative containers:
* http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#233
* http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1780.html
*/
typedef multi_index_container<
int,
indexed_by<
ordered_non_unique<identity<int> >
>
> int_non_unique_container;
int_non_unique_container c;
c.insert(0);c.insert(0);
c.insert(1);c.insert(1);
c.insert(2);c.insert(2);
BOOST_TEST(std::distance(c.begin(),c.insert(c.begin(),1))==2);
BOOST_TEST(std::distance(c.begin(),c.insert(boost::next(c.begin()),1))==2);
BOOST_TEST(std::distance(c.begin(),c.insert(c.lower_bound(1),1))==2);
BOOST_TEST(
std::distance(c.begin(),c.insert(boost::next(c.lower_bound(1)),1))==3);
BOOST_TEST(std::distance(c.begin(),c.insert(c.upper_bound(1),1))==8);
BOOST_TEST(std::distance(c.begin(),c.insert(boost::prior(c.end()),1))==9);
BOOST_TEST(std::distance(c.begin(),c.insert(c.end(),1))==10);
/* testcase for erase() reentrancy */
{
linked_object o1(1);
linked_object o2(2,o1);
o1=o2;
}
/* testcases for bug reported at
* https://svn.boost.org/trac/boost/ticket/9665
*/
{
multi_index_container<
int,
indexed_by<hashed_unique<identity<int> > >
> hc;
hc.insert(tempvalue_iterator(0),tempvalue_iterator(10));
BOOST_TEST(hc.size()==10);
multi_index_container<
int,
indexed_by<ordered_unique<identity<int> > >
> oc;
oc.insert(tempvalue_iterator(0),tempvalue_iterator(10));
BOOST_TEST(oc.size()==10);
}
/* testcases for https://svn.boost.org/trac10/ticket/12542 */
{
multi_index_container<
int,
indexed_by<
ordered_unique<identity<int> >,
hashed_unique<identity<int> >
>
> ohc;
#if !(defined BOOST_NO_EXCEPTIONS)
ohc.insert(0);
ohc.insert(1);
try{
ohc.modify_key(ohc.begin(),change_int_and_throw(1));
}
catch(int){}
BOOST_TEST(ohc.size()==1);
ohc.clear();
ohc.insert(0);
ohc.insert(1);
try{
ohc.modify_key(ohc.begin(),change_int_and_throw(1),change_int(0));
}
catch(int){}
BOOST_TEST(ohc.size()==1);
ohc.clear();
ohc.insert(0);
ohc.insert(1);
try{
ohc.modify_key(
ohc.begin(),change_int_and_throw(1),change_int_and_throw(0));
}
catch(int){}
BOOST_TEST(ohc.size()==1);
ohc.clear();
ohc.insert(0);
ohc.insert(1);
try{
ohc.modify_key(ohc.begin(),change_int(1),change_int_and_throw(0));
}
catch(int){}
BOOST_TEST(ohc.size()==1);
ohc.clear();
#endif
ohc.insert(0);
ohc.insert(1);
ohc.modify_key(ohc.begin(),change_int(1),change_int(1));
BOOST_TEST(ohc.size()==1);
ohc.clear();
}
}
|
68aecc0b1d85ebd7c300ae8c97951f5a83590dd6 | 985e59ec5c0d909508ee8fbf3fadd993b8c29814 | /ValleyThief/Private/ThrowObjects.h | d3a3dbab2cde6b4675b2f1c8457f992246926cf0 | [
"MIT"
] | permissive | ShanuPatel/Project_ValleyThief | c5e7e235857bc5ef311298de09b6d4c37018750a | b101148cb926cbbcc1ca74f84f1dd4e35b9e7352 | refs/heads/main | 2023-07-27T10:04:50.036342 | 2021-09-02T04:11:20 | 2021-09-02T04:11:20 | 320,938,751 | 0 | 1 | MIT | 2021-01-19T17:50:18 | 2020-12-12T22:42:08 | C++ | UTF-8 | C++ | false | false | 1,164 | h | ThrowObjects.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "ThrowObjects.generated.h"
class UProjectileMovementComponent;
class USphereComponent;
UCLASS()
class AThrowObjects : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AThrowObjects();
private:
bool bCanThrow;
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
//virtual void Tick(float DeltaTime) override;
UPROPERTY(EditAnywhere, Category = "ThrowableProjectile")
USphereComponent* ThrowableComp;
UPROPERTY(VisibleAnywhere, Category = "ThrowableMovement")
UProjectileMovementComponent* ThrowableMovementComp;
UPROPERTY(Editanywhere, BlueprintReadWrite, Category = "Throw Ammo")
int ThrowCount;
UFUNCTION()
bool ThrowTime();
UFUNCTION()
void ThrowInDirection(const FVector& ThrowDirection);
UFUNCTION()
void OnHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComponent, FVector NormalImpulse, const FHitResult& Hit);
};
|
4764445c50ebf42897756a6a0b570467c3c673fe | 97ef66d8e70048537d107af8fbc110d247882742 | /item.cpp | 8c08be1d7a0766db772d1930f7f0c053852f9b72 | [] | no_license | hcao2015/Inventory-Management | 6dc582f7e58990e4cbc01b186259fce7203ead0a | 17a027e693c0c1fed2e096a309687119aedfffe9 | refs/heads/master | 2021-01-19T00:28:56.446752 | 2017-01-13T18:49:53 | 2017-01-13T18:49:53 | 60,847,710 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | cpp | item.cpp | //Item.cpp
#include "Item.h"
#include<string>
using namespace std;
void Item::updateName(string Name) {
this -> Name = Name;
}
void Item::updatePrice(int Price) {
this -> Price = Price;
}
void Item::updateCost(int Cost) {
this -> Cost = Cost;
}
void Item::updateSupplier( string Supplier) {
this -> Supplier = Supplier;
}
string Item::getMonth() {
return this->currentMonth;
}
string Item::getName() {
return this->Name;
}
int Item::getCode() {
return this->Code;
}
int Item::getActualQuantity() {
return this->actualQuantity;
}
int Item::getDesiredQuantity() {
return this->desiredQuantity;
}
int Item::getCost() {
return this->Cost;
}
int Item::getPrice() {
return this->Price;
}
string Item::getSupplier() {
return this->Supplier;
}
int Item::getShelflife() {
return this->shelfLife;
}
int Item::getAverageVolume() {
return this->averageVolume;
}
double Item::getTotalSales() {
return this->totalSales;
}
void Item::updateWhole(string Month, string Name, int Code, int actualQuantity,
int desiredQuantity, int Cost, int Price, string Supplier,
int shelfLife, int averageVolume, double totalSales)
{
this -> currentMonth = Month;
this -> Name = Name;
this -> Code = Code;
this -> actualQuantity = actualQuantity;
this -> desiredQuantity = desiredQuantity;
this -> Cost = Cost;
this -> Price = Price;
this -> Supplier = Supplier;
this -> shelfLife = shelfLife;
this -> averageVolume = averageVolume;
this -> totalSales = totalSales;
}
void Item::resetSales() {
this -> totalSales = 0;
}
void Item::updateDesiredQuantity(int desiredQuantity) {
this -> desiredQuantity = desiredQuantity;
}
void Item::updateActualQuantity(int actualQuantity){
this -> actualQuantity = actualQuantity;
}
void Item::decreaseActualQuantity() {
(this -> actualQuantity) --;
}
void Item::increaseSales() {
(this -> totalSales) += this -> Price;
} |
b5f01fafc89a8830c080c6f9eee1e5639f538f61 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/81/1ad4a71a700af7/main.cpp | 0e886c7357a227041e920fce39b39376bf4c7647 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | main.cpp | #include <iostream>
class VectorInt
{
public:
explicit VectorInt(int i)
{
i_tam = i;
p_vec = new int[i_tam];
for (int idx = 0; idx < i_tam; ++idx)
p_vec[idx] = 0;
}
int tam() const { return i_tam; }
int at(int idx) const
{ return p_vec[idx]; }
int& at(int idx)
{ return p_vec[idx]; }
private:
int i_tam;
int* p_vec;
};
void print(const VectorInt& v)
{
v.at(1) = 4;
for (int idx = 0; idx < v.tam(); ++idx)
std::cout << v.at(idx) << " ";
std::cout << std::endl;
}
int main()
{
VectorInt v(5);
v.at(3) = 5;
print(v);
for (int idx = 0; idx < v.tam(); ++idx)
v.at(idx) = idx;
print(v);
return 0;
}
|
6e5217f777902c06266b38490fa8ae8329f90e0b | fae551eb54ab3a907ba13cf38aba1db288708d92 | /chrome/browser/ui/views/web_apps/web_app_integration_browsertest.cc | 5282ee59b0a3398930232f9ce8f98436af7fe136 | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 4,428 | cc | web_app_integration_browsertest.cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/path_service.h"
#include "chrome/browser/ui/views/web_apps/web_app_integration_browsertest_base.h"
#include "chrome/browser/web_applications/components/os_integration_manager.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/test/browser_test.h"
#include "services/network/public/cpp/network_switches.h"
namespace web_app {
namespace {
const std::string kTestCaseFileName =
"web_app_integration_browsertest_cases.csv";
// Returns the path of the requested file in the test data directory.
base::FilePath GetTestFileDir() {
base::FilePath file_path;
base::PathService::Get(base::DIR_SOURCE_ROOT, &file_path);
file_path = file_path.Append(FILE_PATH_LITERAL("chrome"));
file_path = file_path.Append(FILE_PATH_LITERAL("test"));
file_path = file_path.Append(FILE_PATH_LITERAL("data"));
return file_path.Append(FILE_PATH_LITERAL("web_apps"));
}
std::vector<std::string> BuildAllPlatformTestCaseSet() {
return WebAppIntegrationBrowserTestBase::BuildAllPlatformTestCaseSet(
GetTestFileDir(), kTestCaseFileName);
}
} // anonymous namespace
class WebAppIntegrationBrowserTest
: public InProcessBrowserTest,
public WebAppIntegrationBrowserTestBase::TestDelegate,
public testing::WithParamInterface<std::string> {
public:
WebAppIntegrationBrowserTest() : helper_(this) {}
// InProcessBrowserTest
void SetUp() override {
helper_.SetUp(GetChromeTestDataDir());
InProcessBrowserTest::SetUp();
}
// BrowserTestBase
void SetUpOnMainThread() override { helper_.SetUpOnMainThread(); }
void SetUpCommandLine(base::CommandLine* command_line) override {
ASSERT_TRUE(embedded_test_server()->Start());
command_line->AppendSwitchASCII(
network::switches::kUnsafelyTreatInsecureOriginAsSecure,
helper_.GetInstallableAppURL("site_a").GetOrigin().spec());
command_line->AppendSwitchASCII(
network::switches::kUnsafelyTreatInsecureOriginAsSecure,
helper_.GetInstallableAppURL("site_b").GetOrigin().spec());
command_line->AppendSwitchASCII(
network::switches::kUnsafelyTreatInsecureOriginAsSecure,
helper_.GetInstallableAppURL("site_c").GetOrigin().spec());
command_line->AppendSwitchASCII(
network::switches::kUnsafelyTreatInsecureOriginAsSecure,
helper_.GetInstallableAppURL("site_a_foo").GetOrigin().spec());
command_line->AppendSwitchASCII(
network::switches::kUnsafelyTreatInsecureOriginAsSecure,
helper_.GetInstallableAppURL("site_a_bar").GetOrigin().spec());
}
// WebAppIntegrationBrowserTestBase::TestDelegate
Browser* CreateBrowser(Profile* profile) override {
return InProcessBrowserTest::CreateBrowser(profile);
}
void AddBlankTabAndShow(Browser* browser) override {
InProcessBrowserTest::AddBlankTabAndShow(browser);
}
net::EmbeddedTestServer* EmbeddedTestServer() override {
return embedded_test_server();
}
std::vector<Profile*> GetAllProfiles() override {
return std::vector<Profile*>{browser()->profile()};
}
bool IsSyncTest() override { return false; }
bool UserSigninInternal() override {
NOTREACHED();
return false;
}
void TurnSyncOff() override { NOTREACHED(); }
void TurnSyncOn() override { NOTREACHED(); }
WebAppIntegrationBrowserTestBase helper_;
};
// This test is a part of the web app integration test suite, which is
// documented in //chrome/browser/ui/views/web_apps/README.md. For information
// about diagnosing, debugging and/or disabling tests, please look to the
// README file.
IN_PROC_BROWSER_TEST_P(WebAppIntegrationBrowserTest, Default) {
helper_.ParseParams(GetParam());
// Since this test framework differs from traditional browser tests, print
// some useful information for sheriffs and developers to help identify,
// diagnose, and disable failing tests.
LOG(INFO) << helper_.BuildLogForTest(helper_.testing_actions(), IsSyncTest());
for (auto& action : helper_.testing_actions()) {
helper_.ExecuteAction(action);
}
helper_.ResetRegistrarObserver();
}
INSTANTIATE_TEST_SUITE_P(All,
WebAppIntegrationBrowserTest,
testing::ValuesIn(BuildAllPlatformTestCaseSet()));
} // namespace web_app
|
547f0b7390d2059bbf49a19e95a2b4913d0edfd5 | 398a24f3843165ac95d12863991e98de3125b49d | /AmazonInterview/src/PermutationIntegerDigits.cpp | 45a3fed2298551c9621203ad82ff11b633d3e5e2 | [] | no_license | cvora23/CodingInterviewQ | a1a3ec6b97702f6ae907878ff0594f6f31804e0f | c4596a5a564109b4f68449ee59dcd8f928aa47c0 | refs/heads/master | 2021-05-16T02:02:00.784600 | 2018-03-02T17:03:04 | 2018-03-02T17:03:04 | 23,085,792 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | PermutationIntegerDigits.cpp | /*
* test4.cpp
*
* Created on: Jan 18, 2016
* Author: chintan
*/
/*
* Given a list of integers of size n, write a method to
write all permutations the list; do this in O(1) space Hint: No recursion.
1,2,3 - 3! = 6 permutations
123
132
213
231
321
312
1,2,3,4 - 4! = 24 permutations
1234 2134 3124 4123
1243 2143 3142 4132
1324 2314 3214 4213
1342 2341 3241 4231
1423 2413 3412 4312
1432 2431 3421 4321
*/
|
3aec891a5094e37a971ee2a5d5ca35196da17ea5 | 640a778cbae0bfb367c2cd0099306b5a599f79cc | /src/terark/db/dfadb/nlt_store.cpp | ab04ff52415d5543ada43ee6350268f418835657 | [] | no_license | Watch-Later/nark-db | 35143234dda024011dd526850fdbc00ba14c492b | de04df757ae298c1c5314c173ac4085e0f446631 | refs/heads/master | 2023-03-17T19:54:41.180119 | 2017-07-20T09:17:59 | 2017-07-20T09:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,476 | cpp | nlt_store.cpp | #include "nlt_store.hpp"
#include <terark/int_vector.hpp>
#include <terark/fast_zip_blob_store.hpp>
#include <typeinfo>
#include <float.h>
#include <mutex>
namespace terark { namespace db { namespace dfadb {
TERARK_DB_REGISTER_STORE("nlt", NestLoudsTrieStore);
NestLoudsTrieStore::NestLoudsTrieStore(const Schema& schema) {
}
NestLoudsTrieStore::~NestLoudsTrieStore() {
}
llong NestLoudsTrieStore::dataStorageSize() const {
return m_store->mem_size();
}
llong NestLoudsTrieStore::dataInflateSize() const {
return m_store->total_data_size();
}
llong NestLoudsTrieStore::numDataRows() const {
return m_store->num_records();
}
void NestLoudsTrieStore::getValueAppend(llong id, valvec<byte>* val, DbContext* ctx) const {
m_store->get_record_append(size_t(id), val);
}
StoreIterator* NestLoudsTrieStore::createStoreIterForward(DbContext*) const {
return nullptr; // not needed
}
StoreIterator* NestLoudsTrieStore::createStoreIterBackward(DbContext*) const {
return nullptr; // not needed
}
template<class Class>
static
Class* doBuild(const NestLoudsTrieConfig& conf,
const Schema& schema, SortableStrVec& strVec) {
std::unique_ptr<Class> trie(new Class());
trie->build_from(strVec, conf);
return trie.release();
}
static
void initConfigFromSchema(NestLoudsTrieConfig& conf, const Schema& schema) {
conf.initFromEnv();
if (schema.m_sufarrMinFreq) {
conf.saFragMinFreq = (byte_t)schema.m_sufarrMinFreq;
}
if (schema.m_minFragLen) {
conf.minFragLen = schema.m_minFragLen;
}
if (schema.m_maxFragLen) {
conf.maxFragLen = schema.m_maxFragLen;
}
if (schema.m_nltDelims.size()) {
conf.setBestDelims(schema.m_nltDelims.c_str());
}
conf.nestLevel = schema.m_nltNestLevel;
}
static
BlobStore* nltBuild(const Schema& schema, SortableStrVec& strVec) {
NestLoudsTrieConfig conf;
initConfigFromSchema(conf, schema);
switch (schema.m_rankSelectClass) {
case -256:
return doBuild<NestLoudsTrieBlobStore_IL>(conf, schema, strVec);
case +256:
return doBuild<NestLoudsTrieBlobStore_SE>(conf, schema, strVec);
case +512:
return doBuild<NestLoudsTrieBlobStore_SE_512>(conf, schema, strVec);
default:
fprintf(stderr, "WARN: invalid schema(%s).rs = %d, use default: se_512\n"
, schema.m_name.c_str(), schema.m_rankSelectClass);
return doBuild<NestLoudsTrieBlobStore_SE_512>(conf, schema, strVec);
}
}
void NestLoudsTrieStore::build(const Schema& schema, SortableStrVec& strVec) {
if (schema.m_dictZipSampleRatio > 0) {
std::unique_ptr<DictZipBlobStore> zds(new DictZipBlobStore());
zds->build_none_local_match(strVec, schema.m_dictZipSampleRatio);
m_store.reset(zds.release());
}
else if (schema.m_useFastZip) {
std::unique_ptr<FastZipBlobStore> fzds(new FastZipBlobStore());
NestLoudsTrieConfig conf;
initConfigFromSchema(conf, schema);
fzds->build_from(strVec, conf);
m_store.reset(fzds.release());
}
else {
m_store.reset(nltBuild(schema, strVec));
}
}
void
NestLoudsTrieStore::build_by_iter(const Schema& schema, PathRef fpath,
StoreIterator& iter,
const bm_uint_t* isDel,
const febitvec* isPurged) {
TERARK_RT_assert(schema.m_dictZipSampleRatio >= 0, std::invalid_argument);
std::unique_ptr<DictZipBlobStore> zds(new DictZipBlobStore());
std::unique_ptr<DictZipBlobStore::ZipBuilder> builder(zds->createZipBuilder());
double sampleRatio = schema.m_dictZipSampleRatio > FLT_EPSILON
? schema.m_dictZipSampleRatio : 0.05;
{
TERARK_RT_assert(nullptr != iter.getStore(), std::invalid_argument);
llong dataSize = iter.getStore()->dataInflateSize();
if (dataSize * sampleRatio >= INT32_MAX * 0.95) {
sampleRatio = INT32_MAX * 0.95 / dataSize;
}
}
// 1. sample memory usage = inputBytes*sampleRatio, and will
// linear scan the input data
// 2. builder->prepare() will build the suffix array and cache
// for suffix array, and this is all in-memery computing,
// the memory usage is about 5*inputBytes*sampleRatio, after
// `prepare` finished, the total memory usage is about
// 6*inputBytes*sampleRatio
// 3. builder->addRecord() will send the records into compressing
// pipeline, records will be compressed parallel, this will
// take a long time, the total memory during compressing is
// 6*inputBytes*sampleRatio, plus few additional working memory
// 4. using lock, the concurrent large memory using durations in
// multi threads are serialized, then the peak memory usage
// is reduced
static std::mutex reduceMemMutex;
// the lock will be hold for a long time, maybe several minutes
std::unique_lock<std::mutex> lock(reduceMemMutex, std::defer_lock);
valvec<byte> rec;
auto emptyCheckProtect = [&](size_t sampled) {
// TERARK_RT_assert(sampled > 0, std::logic_error);
if (0 == sampled) {
if (rec.empty())
builder->addSample("Hello World!"); // for fallback
else
builder->addSample(rec);
}
};
if (NULL == isPurged || isPurged->size() == 0) {
llong recId;
size_t sampled = 0;
while (iter.increment(&recId, &rec)) {
if (NULL == isDel || !terark_bit_test(isDel, recId)) {
if (rand() < RAND_MAX * sampleRatio ) {
builder->addSample(rec);
sampled++;
}
}
}
emptyCheckProtect(sampled);
lock.lock(); // start lock
builder->prepare(recId + 1, fpath.string());
iter.reset();
while (iter.increment(&recId, &rec)) {
if (NULL == isDel || !terark_bit_test(isDel, recId)) {
builder->addRecord(rec);
}
}
}
else {
assert(NULL != isDel);
llong newPhysicId = 0;
llong physicId = 0;
size_t logicNum = isPurged->size();
size_t sampled = 0;
const bm_uint_t* isPurgedptr = isPurged->bldata();
for (size_t logicId = 0; logicId < logicNum; ++logicId) {
if (!terark_bit_test(isPurgedptr, logicId)) {
if (!terark_bit_test(isDel, logicId)) {
bool hasData = iter.seekExact(physicId, &rec);
TERARK_RT_assert(hasData, std::logic_error);
// if (hasData && rec.empty()) {
// hasData = false;
// }
if (rand() < RAND_MAX * sampleRatio) {
builder->addSample(rec);
sampled++;
}
newPhysicId++;
}
physicId++;
}
}
emptyCheckProtect(sampled);
lock.lock(); // start lock
builder->prepare(newPhysicId, fpath.string());
iter.reset();
physicId = 0;
for (size_t logicId = 0; logicId < logicNum; ++logicId) {
if (!terark_bit_test(isPurgedptr, logicId)) {
bool hasData = iter.increment(&physicId, &rec);
TERARK_RT_assert(hasData, std::logic_error);
if (!terark_bit_test(isDel, logicId)) {
builder->addRecord(rec);
}
physicId++;
}
}
}
zds->completeBuild(*builder);
builder.reset(); // explicit destory builder
lock.unlock(); // explicit unlock
m_store.reset(zds.release());
}
void NestLoudsTrieStore::load(PathRef path) {
std::string fpath = fstring(path.string()).endsWith(".nlt")
? path.string()
: path.string() + ".nlt";
m_store.reset(BlobStore::load_from(fpath));
}
void NestLoudsTrieStore::save(PathRef path) const {
std::string fpath = fstring(path.string()).endsWith(".nlt")
? path.string()
: path.string() + ".nlt";
if (BaseDFA* dfa = dynamic_cast<BaseDFA*>(&*m_store)) {
dfa->save_mmap(fpath.c_str());
}
else if (auto zds = dynamic_cast<FastZipBlobStore*>(&*m_store)) {
zds->save_mmap(fpath);
}
else if (auto zds = dynamic_cast<DictZipBlobStore*>(&*m_store)) {
zds->save_mmap(fpath);
}
else {
THROW_STD(invalid_argument, "Unexpected");
}
}
}}} // namespace terark::db::dfadb
|
2b5180bb782c495a24450124284e9729bf6011ee | 8cc6d6f590285ef00e0f30e0151c4d407847b651 | /build_test/windows-build/Sources/src/kha/Image.cpp | bb7459a779fb6583ee9662ba2d788d026de1d013 | [] | no_license | piboistudios/ArmoryDeformIssues | e087d5097af74f958fd89dd8dd17ca57627bf6d1 | 84e8b14c5098a4a4db310c5177c5dcd46f40212d | refs/heads/master | 2020-03-24T11:42:11.270376 | 2018-07-28T16:33:45 | 2018-07-28T16:33:45 | 142,692,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 54,239 | cpp | Image.cpp | // Generated by Haxe 3.4.4 (git build master @ 99b08bb)
#include <hxcpp.h>
#ifndef INCLUDED_StringTools
#include <StringTools.h>
#endif
#ifndef INCLUDED_Type
#include <Type.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCLUDED_kha_Canvas
#include <kha/Canvas.h>
#endif
#ifndef INCLUDED_kha_Image
#include <kha/Image.h>
#endif
#ifndef INCLUDED_kha_Resource
#include <kha/Resource.h>
#endif
#ifndef INCLUDED_kha_Video
#include <kha/Video.h>
#endif
#ifndef INCLUDED_kha__Color_Color_Impl_
#include <kha/_Color/Color_Impl_.h>
#endif
#ifndef INCLUDED_kha_graphics1_Graphics
#include <kha/graphics1/Graphics.h>
#endif
#ifndef INCLUDED_kha_graphics2_Graphics
#include <kha/graphics2/Graphics.h>
#endif
#ifndef INCLUDED_kha_graphics2_Graphics1
#include <kha/graphics2/Graphics1.h>
#endif
#ifndef INCLUDED_kha_graphics4_Graphics
#include <kha/graphics4/Graphics.h>
#endif
#ifndef INCLUDED_kha_graphics4_Graphics2
#include <kha/graphics4/Graphics2.h>
#endif
#ifndef INCLUDED_kha_graphics4_TextureFormat
#include <kha/graphics4/TextureFormat.h>
#endif
#ifndef INCLUDED_kha_graphics4_Usage
#include <kha/graphics4/Usage.h>
#endif
#ifndef INCLUDED_kha_kore_Video
#include <kha/kore/Video.h>
#endif
#ifndef INCLUDED_kha_kore_graphics4_Graphics
#include <kha/kore/graphics4/Graphics.h>
#endif
#ifndef INCLUDED_kha_kore_graphics4_Graphics2
#include <kha/kore/graphics4/Graphics2.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_af8a22c1e264bd47_17_new,"kha.Image","new",0xf6cb14e3,"kha.Image.new","kha/Image.hx",17,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_74_initFromBytes,"kha.Image","initFromBytes",0x44a5dbb4,"kha.Image.initFromBytes","kha/Image.hx",74,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_87_initFromBytes3D,"kha.Image","initFromBytes3D",0x1e9b5d65,"kha.Image.initFromBytes3D","kha/Image.hx",87,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_100_initFromEncodedBytes,"kha.Image","initFromEncodedBytes",0x37b84bd4,"kha.Image.initFromEncodedBytes","kha/Image.hx",100,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_184_initRenderTarget,"kha.Image","initRenderTarget",0x9d84bc14,"kha.Image.initRenderTarget","kha/Image.hx",184,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_189_init,"kha.Image","init",0xf79fe92d,"kha.Image.init","kha/Image.hx",189,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_194_init3D,"kha.Image","init3D",0x0e4e7b1e,"kha.Image.init3D","kha/Image.hx",194,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_199_initVideo,"kha.Image","initVideo",0xf74c380e,"kha.Image.initVideo","kha/Image.hx",199,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_212_initFromFile,"kha.Image","initFromFile",0x76d9b753,"kha.Image.initFromFile","kha/Image.hx",212,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_218_get_g1,"kha.Image","get_g1",0x1a322090,"kha.Image.get_g1","kha/Image.hx",218,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_227_get_g2,"kha.Image","get_g2",0x1a322091,"kha.Image.get_g2","kha/Image.hx",227,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_236_get_g4,"kha.Image","get_g4",0x1a322093,"kha.Image.get_g4","kha/Image.hx",236,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_262_get_width,"kha.Image","get_width",0xb2ca1b20,"kha.Image.get_width","kha/Image.hx",262,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_267_get_height,"kha.Image","get_height",0x745d198d,"kha.Image.get_height","kha/Image.hx",267,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_272_get_depth,"kha.Image","get_depth",0xbf91561d,"kha.Image.get_depth","kha/Image.hx",272,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_280_get_realWidth,"kha.Image","get_realWidth",0xe70ddfe2,"kha.Image.get_realWidth","kha/Image.hx",280,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_285_get_realHeight,"kha.Image","get_realHeight",0xfb657e8b,"kha.Image.get_realHeight","kha/Image.hx",285,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_290_isOpaque,"kha.Image","isOpaque",0x56cdf908,"kha.Image.isOpaque","kha/Image.hx",290,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_295_atInternal,"kha.Image","atInternal",0xf54cc52d,"kha.Image.atInternal","kha/Image.hx",295,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_299_at,"kha.Image","at",0xf6c651d0,"kha.Image.at","kha/Image.hx",299,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_303_unload,"kha.Image","unload",0xdc8ed05c,"kha.Image.unload","kha/Image.hx",303,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_315_lock,"kha.Image","lock",0xf99c4a08,"kha.Image.lock","kha/Image.hx",315,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_345_unlock,"kha.Image","unlock",0xdc8ed221,"kha.Image.unlock","kha/Image.hx",345,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_363_getPixelsInternal,"kha.Image","getPixelsInternal",0x93a53a83,"kha.Image.getPixelsInternal","kha/Image.hx",363,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_367_getPixels,"kha.Image","getPixels",0xadbe8126,"kha.Image.getPixels","kha/Image.hx",367,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_384_generateMipmaps,"kha.Image","generateMipmaps",0x70db7039,"kha.Image.generateMipmaps","kha/Image.hx",384,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_388_setMipmaps,"kha.Image","setMipmaps",0x49bc7046,"kha.Image.setMipmaps","kha/Image.hx",388,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_396_setDepthStencilFrom,"kha.Image","setDepthStencilFrom",0x899de388,"kha.Image.setDepthStencilFrom","kha/Image.hx",396,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_400_clear,"kha.Image","clear",0x3e8f1cd0,"kha.Image.clear","kha/Image.hx",400,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_25_createFromVideo,"kha.Image","createFromVideo",0xac473518,"kha.Image.createFromVideo","kha/Image.hx",25,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_33_create,"kha.Image","create",0xf3119659,"kha.Image.create","kha/Image.hx",33,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_37_create3D,"kha.Image","create3D",0x0b66cb4a,"kha.Image.create3D","kha/Image.hx",37,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_41_createRenderTarget,"kha.Image","createRenderTarget",0x905b7b40,"kha.Image.createRenderTarget","kha/Image.hx",41,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_47_createArray,"kha.Image","createArray",0x25eea480,"kha.Image.createArray","kha/Image.hx",47,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_61_initArrayTexture,"kha.Image","initArrayTexture",0xf7821d0f,"kha.Image.initArrayTexture","kha/Image.hx",61,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_65_fromBytes,"kha.Image","fromBytes",0x16defb64,"kha.Image.fromBytes","kha/Image.hx",65,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_78_fromBytes3D,"kha.Image","fromBytes3D",0xc91fc915,"kha.Image.fromBytes3D","kha/Image.hx",78,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_91_fromEncodedBytes,"kha.Image","fromEncodedBytes",0x7d1f8224,"kha.Image.fromEncodedBytes","kha/Image.hx",91,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_109_getRenderTargetFormat,"kha.Image","getRenderTargetFormat",0x52514d57,"kha.Image.getRenderTargetFormat","kha/Image.hx",109,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_130_getDepthBufferBits,"kha.Image","getDepthBufferBits",0x8594c1f0,"kha.Image.getDepthBufferBits","kha/Image.hx",130,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_141_getStencilBufferBits,"kha.Image","getStencilBufferBits",0xca70a7e9,"kha.Image.getStencilBufferBits","kha/Image.hx",141,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_152_getTextureFormat,"kha.Image","getTextureFormat",0xaec6f199,"kha.Image.getTextureFormat","kha/Image.hx",152,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_168_create2,"kha.Image","create2",0xbc51f7b9,"kha.Image.create2","kha/Image.hx",168,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_176_create3,"kha.Image","create3",0xbc51f7ba,"kha.Image.create3","kha/Image.hx",176,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_203_fromFile,"kha.Image","fromFile",0x80fa1da3,"kha.Image.fromFile","kha/Image.hx",203,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_246_get_maxSize,"kha.Image","get_maxSize",0x2962591f,"kha.Image.get_maxSize","kha/Image.hx",246,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_253_get_nonPow2Supported,"kha.Image","get_nonPow2Supported",0xb7e34b0d,"kha.Image.get_nonPow2Supported","kha/Image.hx",253,0xc9b7c0ee)
HX_LOCAL_STACK_FRAME(_hx_pos_af8a22c1e264bd47_371_formatByteSize,"kha.Image","formatByteSize",0xcac13e9d,"kha.Image.formatByteSize","kha/Image.hx",371,0xc9b7c0ee)
namespace kha{
void Image_obj::__construct(bool readable){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_17_new)
HXLINE( 349) this->pixelsAllocated = false;
HXLINE( 348) this->pixels = null();
HXLINE( 307) this->bytes = null();
HXLINE( 105) this->readable = readable;
}
Dynamic Image_obj::__CreateEmpty() { return new Image_obj; }
void *Image_obj::_hx_vtable = 0;
Dynamic Image_obj::__Create(hx::DynamicArray inArgs)
{
hx::ObjectPtr< Image_obj > _hx_result = new Image_obj();
_hx_result->__construct(inArgs[0]);
return _hx_result;
}
bool Image_obj::_hx_isInstanceOf(int inClassId) {
return inClassId==(int)0x00000001 || inClassId==(int)0x01584a3b;
}
static ::kha::Canvas_obj _hx_kha_Image__hx_kha_Canvas= {
( int (hx::Object::*)())&::kha::Image_obj::get_width,
( int (hx::Object::*)())&::kha::Image_obj::get_height,
( ::Dynamic (hx::Object::*)())&::kha::Image_obj::get_g1,
( ::kha::graphics2::Graphics (hx::Object::*)())&::kha::Image_obj::get_g2,
( ::Dynamic (hx::Object::*)())&::kha::Image_obj::get_g4,
};
static ::kha::Resource_obj _hx_kha_Image__hx_kha_Resource= {
( void (hx::Object::*)())&::kha::Image_obj::unload,
};
void *Image_obj::_hx_getInterface(int inHash) {
switch(inHash) {
case (int)0x36d1dbdc: return &_hx_kha_Image__hx_kha_Canvas;
case (int)0xf962acd2: return &_hx_kha_Image__hx_kha_Resource;
}
#ifdef HXCPP_SCRIPTABLE
return super::_hx_getInterface(inHash);
#else
return 0;
#endif
}
void Image_obj::initFromBytes(::Array< unsigned char > bytes,int width,int height,int format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_74_initFromBytes)
texture = new Kore::Graphics4::Texture(bytes.GetPtr()->GetBase(), width, height, format, readable);
}
HX_DEFINE_DYNAMIC_FUNC4(Image_obj,initFromBytes,(void))
void Image_obj::initFromBytes3D(::Array< unsigned char > bytes,int width,int height,int depth,int format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_87_initFromBytes3D)
texture = new Kore::Graphics4::Texture(bytes.GetPtr()->GetBase(), width, height, depth, format, readable);
}
HX_DEFINE_DYNAMIC_FUNC5(Image_obj,initFromBytes3D,(void))
void Image_obj::initFromEncodedBytes(::Array< unsigned char > bytes,::String format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_100_initFromEncodedBytes)
texture = new Kore::Graphics4::Texture(bytes.GetPtr()->GetBase(), bytes.GetPtr()->length, format.c_str(), readable);
}
HX_DEFINE_DYNAMIC_FUNC2(Image_obj,initFromEncodedBytes,(void))
void Image_obj::initRenderTarget(int width,int height,int depthBufferBits,int format,int stencilBufferBits,int contextId){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_184_initRenderTarget)
renderTarget = new Kore::Graphics4::RenderTarget(width, height, depthBufferBits, false, (Kore::Graphics4::RenderTargetFormat)format, stencilBufferBits, contextId); texture = nullptr;
}
HX_DEFINE_DYNAMIC_FUNC6(Image_obj,initRenderTarget,(void))
void Image_obj::init(int width,int height,int format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_189_init)
texture = new Kore::Graphics4::Texture(width, height, (Kore::Graphics4::Image::Format)format, readable); renderTarget = nullptr;
}
HX_DEFINE_DYNAMIC_FUNC3(Image_obj,init,(void))
void Image_obj::init3D(int width,int height,int depth,int format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_194_init3D)
texture = new Kore::Graphics4::Texture(width, height, depth, (Kore::Graphics4::Image::Format)format, readable); renderTarget = nullptr;
}
HX_DEFINE_DYNAMIC_FUNC4(Image_obj,init3D,(void))
void Image_obj::initVideo( ::kha::kore::Video video){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_199_initVideo)
texture = video->video->currentImage(); renderTarget = nullptr;
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,initVideo,(void))
void Image_obj::initFromFile(::String filename){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_212_initFromFile)
texture = new Kore::Graphics4::Texture(filename.c_str(), readable);
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,initFromFile,(void))
::Dynamic Image_obj::get_g1(){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_218_get_g1)
HXLINE( 219) if (hx::IsNull( this->graphics1 )) {
HXLINE( 220) this->graphics1 = ::kha::graphics2::Graphics1_obj::__alloc( HX_CTX ,hx::ObjectPtr<OBJ_>(this));
}
HXLINE( 222) return this->graphics1;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_g1,return )
::kha::graphics2::Graphics Image_obj::get_g2(){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_227_get_g2)
HXLINE( 228) if (hx::IsNull( this->graphics2 )) {
HXLINE( 229) this->graphics2 = ::kha::kore::graphics4::Graphics2_obj::__alloc( HX_CTX ,hx::ObjectPtr<OBJ_>(this));
}
HXLINE( 231) return this->graphics2;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_g2,return )
::Dynamic Image_obj::get_g4(){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_236_get_g4)
HXLINE( 237) if (hx::IsNull( this->graphics4 )) {
HXLINE( 238) this->graphics4 = ::kha::kore::graphics4::Graphics_obj::__alloc( HX_CTX ,hx::ObjectPtr<OBJ_>(this));
}
HXLINE( 240) return this->graphics4;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_g4,return )
int Image_obj::get_width(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_262_get_width)
if (texture != nullptr) return texture->width; else return renderTarget->width;
HXDLIN( 262) return (int)0;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_width,return )
int Image_obj::get_height(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_267_get_height)
if (texture != nullptr) return texture->height; else return renderTarget->height;
HXDLIN( 267) return (int)0;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_height,return )
int Image_obj::get_depth(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_272_get_depth)
if (texture != nullptr) return texture->depth; else return 0;
HXDLIN( 272) return (int)0;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_depth,return )
int Image_obj::get_realWidth(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_280_get_realWidth)
if (texture != nullptr) return texture->texWidth; else return renderTarget->texWidth;
HXDLIN( 280) return (int)0;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_realWidth,return )
int Image_obj::get_realHeight(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_285_get_realHeight)
if (texture != nullptr) return texture->texHeight; else return renderTarget->texHeight;
HXDLIN( 285) return (int)0;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_realHeight,return )
bool Image_obj::isOpaque(int x,int y){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_290_isOpaque)
return (texture->at(x, y) & 0xff) != 0;
HXDLIN( 290) return true;
}
HX_DEFINE_DYNAMIC_FUNC2(Image_obj,isOpaque,return )
int Image_obj::atInternal(int x,int y){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_295_atInternal)
return texture->at(x, y);
HXDLIN( 295) return (int)0;
}
HX_DEFINE_DYNAMIC_FUNC2(Image_obj,atInternal,return )
int Image_obj::at(int x,int y){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_299_at)
HXDLIN( 299) return ::kha::_Color::Color_Impl__obj::_new(this->atInternal(x,y));
}
HX_DEFINE_DYNAMIC_FUNC2(Image_obj,at,return )
void Image_obj::unload(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_303_unload)
delete texture; texture = nullptr; delete renderTarget; renderTarget = nullptr; delete textureArray; textureArray = nullptr; delete[] textureArrayTextures; textureArrayTextures = nullptr;
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,unload,(void))
::haxe::io::Bytes Image_obj::lock(hx::Null< int > __o_level){
int level = __o_level.Default(0);
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_315_lock)
int size = texture-> sizeOf(texture->format) * texture->width * texture->height;
this->bytes = ::haxe::io::Bytes_obj::alloc(size);
return this->bytes;
HXDLIN( 315) return null();
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,lock,return )
void Image_obj::unlock(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_345_unlock)
Kore::u8* b = bytes->b->Pointer();
Kore::u8* tex = texture->lock();
int size = texture->sizeOf(texture->format);
int stride = texture->stride();
for (int y = 0; y < texture->height; ++y) {
for (int x = 0; x < texture->width; ++x) {
#ifdef KORE_DIRECT3D
if (texture->format == Kore::Graphics4::Image::RGBA32) {
//RBGA->BGRA
tex[y * stride + x * size + 0] = b[(y * texture->width + x) * size + 2];
tex[y * stride + x * size + 1] = b[(y * texture->width + x) * size + 1];
tex[y * stride + x * size + 2] = b[(y * texture->width + x) * size + 0];
tex[y * stride + x * size + 3] = b[(y * texture->width + x) * size + 3];
}
else
#endif
{
for (int i = 0; i < size; ++i) {
tex[y * stride + x * size + i] = b[(y * texture->width + x) * size + i];
}
}
}
}
texture->unlock();
HXDLIN( 345) this->bytes = null();
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,unlock,(void))
::haxe::io::Bytes Image_obj::getPixelsInternal(int formatSize){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_363_getPixelsInternal)
if (renderTarget == nullptr) return nullptr;
if (!this->pixelsAllocated) {
int size = formatSize * renderTarget->width * renderTarget->height;
this->pixels = ::haxe::io::Bytes_obj::alloc(size);
this->pixelsAllocated = true;
}
Kore::u8* b = this->pixels->b->Pointer();
renderTarget->getPixels(b);
return this->pixels;
HXDLIN( 363) return null();
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,getPixelsInternal,return )
::haxe::io::Bytes Image_obj::getPixels(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_367_getPixels)
HXDLIN( 367) return this->getPixelsInternal(::kha::Image_obj::formatByteSize(this->format));
}
HX_DEFINE_DYNAMIC_FUNC0(Image_obj,getPixels,return )
void Image_obj::generateMipmaps(int levels){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_384_generateMipmaps)
HXDLIN( 384) texture != nullptr ? texture->generateMipmaps(levels) : renderTarget->generateMipmaps(levels);
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,generateMipmaps,(void))
void Image_obj::setMipmaps(::Array< ::Dynamic> mipmaps){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_388_setMipmaps)
HXDLIN( 388) int _g1 = (int)0;
HXDLIN( 388) int _g = mipmaps->length;
HXDLIN( 388) while((_g1 < _g)){
HXDLIN( 388) _g1 = (_g1 + (int)1);
HXDLIN( 388) int i = (_g1 - (int)1);
HXLINE( 389) ::kha::Image image = mipmaps->__get(i).StaticCast< ::kha::Image >();
HXLINE( 390) int level = (i + (int)1);
HXLINE( 391) texture->setMipmap(image->texture, level);
}
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,setMipmaps,(void))
void Image_obj::setDepthStencilFrom( ::kha::Image image){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_396_setDepthStencilFrom)
HXDLIN( 396) renderTarget->setDepthStencilFrom(image->renderTarget);
}
HX_DEFINE_DYNAMIC_FUNC1(Image_obj,setDepthStencilFrom,(void))
void Image_obj::clear(int x,int y,int z,int width,int height,int depth,int color){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_400_clear)
if (texture != nullptr) texture->clear(x, y, z, width, height, depth, color);
}
HX_DEFINE_DYNAMIC_FUNC7(Image_obj,clear,(void))
::kha::Image Image_obj::createFromVideo( ::kha::Video video){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_25_createFromVideo)
HXLINE( 26) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,false);
HXLINE( 27) image->format = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
HXLINE( 28) image->initVideo(hx::TCast< ::kha::kore::Video >::cast(video));
HXLINE( 29) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Image_obj,createFromVideo,return )
::kha::Image Image_obj::create(int width,int height, ::kha::graphics4::TextureFormat format, ::kha::graphics4::Usage usage){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_33_create)
HXDLIN( 33) ::kha::graphics4::TextureFormat _hx_tmp;
HXDLIN( 33) if (hx::IsNull( format )) {
HXDLIN( 33) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
}
else {
HXDLIN( 33) _hx_tmp = format;
}
HXDLIN( 33) return ::kha::Image_obj::create2(width,height,_hx_tmp,false,false,(int)0,(int)0);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC4(Image_obj,create,return )
::kha::Image Image_obj::create3D(int width,int height,int depth, ::kha::graphics4::TextureFormat format, ::kha::graphics4::Usage usage){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_37_create3D)
HXDLIN( 37) ::kha::graphics4::TextureFormat _hx_tmp;
HXDLIN( 37) if (hx::IsNull( format )) {
HXDLIN( 37) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
}
else {
HXDLIN( 37) _hx_tmp = format;
}
HXDLIN( 37) return ::kha::Image_obj::create3(width,height,depth,_hx_tmp,false,(int)0);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC5(Image_obj,create3D,return )
::kha::Image Image_obj::createRenderTarget(int width,int height, ::kha::graphics4::TextureFormat format,hx::Null< int > __o_depthStencil,hx::Null< int > __o_antiAliasingSamples,hx::Null< int > __o_contextId){
int depthStencil = __o_depthStencil.Default(0);
int antiAliasingSamples = __o_antiAliasingSamples.Default(1);
int contextId = __o_contextId.Default(0);
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_41_createRenderTarget)
HXDLIN( 41) ::kha::graphics4::TextureFormat _hx_tmp;
HXDLIN( 41) if (hx::IsNull( format )) {
HXDLIN( 41) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
}
else {
HXDLIN( 41) _hx_tmp = format;
}
HXDLIN( 41) return ::kha::Image_obj::create2(width,height,_hx_tmp,false,true,depthStencil,contextId);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC6(Image_obj,createRenderTarget,return )
::kha::Image Image_obj::createArray(::Array< ::Dynamic> images, ::kha::graphics4::TextureFormat format){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_47_createArray)
HXLINE( 48) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,false);
HXLINE( 49) ::kha::graphics4::TextureFormat _hx_tmp;
HXDLIN( 49) if (hx::IsNull( format )) {
HXLINE( 49) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
}
else {
HXLINE( 49) _hx_tmp = format;
}
HXDLIN( 49) image->format = _hx_tmp;
HXLINE( 50) ::kha::Image_obj::initArrayTexture(image,images);
HXLINE( 51) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(Image_obj,createArray,return )
void Image_obj::initArrayTexture( ::kha::Image source,::Array< ::Dynamic> images){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_61_initArrayTexture)
source->textureArrayTextures = new Kore::Graphics4::Image*[images->length];
for (unsigned i = 0; i < images->length; ++i) {
source->textureArrayTextures[i] = images->__get(i).StaticCast< ::kha::Image >()->texture;
}
source->textureArray = new Kore::Graphics4::TextureArray(source->textureArrayTextures, images->length);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(Image_obj,initArrayTexture,(void))
::kha::Image Image_obj::fromBytes( ::haxe::io::Bytes bytes,int width,int height, ::kha::graphics4::TextureFormat format, ::kha::graphics4::Usage usage){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_65_fromBytes)
HXLINE( 66) bool readable = true;
HXLINE( 67) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,readable);
HXLINE( 68) image->format = format;
HXLINE( 69) ::Array< unsigned char > bytes1 = bytes->b;
HXDLIN( 69) image->initFromBytes(bytes1,width,height,::kha::Image_obj::getTextureFormat(format));
HXLINE( 70) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC5(Image_obj,fromBytes,return )
::kha::Image Image_obj::fromBytes3D( ::haxe::io::Bytes bytes,int width,int height,int depth, ::kha::graphics4::TextureFormat format, ::kha::graphics4::Usage usage){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_78_fromBytes3D)
HXLINE( 79) bool readable = true;
HXLINE( 80) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,readable);
HXLINE( 81) image->format = format;
HXLINE( 82) ::Array< unsigned char > bytes1 = bytes->b;
HXDLIN( 82) image->initFromBytes3D(bytes1,width,height,depth,::kha::Image_obj::getTextureFormat(format));
HXLINE( 83) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC6(Image_obj,fromBytes3D,return )
void Image_obj::fromEncodedBytes( ::haxe::io::Bytes bytes,::String format, ::Dynamic doneCallback, ::Dynamic errorCallback,hx::Null< bool > __o_readable){
bool readable = __o_readable.Default(false);
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_91_fromEncodedBytes)
HXLINE( 92) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,readable);
HXLINE( 93) bool isFloat;
HXDLIN( 93) if ((format != HX_("hdr",f6,41,4f,00))) {
HXLINE( 93) isFloat = (format == HX_("HDR",d6,dd,36,00));
}
else {
HXLINE( 93) isFloat = true;
}
HXLINE( 94) ::kha::graphics4::TextureFormat _hx_tmp;
HXDLIN( 94) if (isFloat) {
HXLINE( 94) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA128_dyn();
}
else {
HXLINE( 94) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
}
HXDLIN( 94) image->format = _hx_tmp;
HXLINE( 95) image->initFromEncodedBytes(bytes->b,format);
HXLINE( 96) doneCallback(image);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC5(Image_obj,fromEncodedBytes,(void))
int Image_obj::getRenderTargetFormat( ::kha::graphics4::TextureFormat format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_109_getRenderTargetFormat)
HXDLIN( 109) switch((int)(_hx_getEnumValueIndex(format))){
case (int)0: {
HXLINE( 111) return (int)0;
}
break;
case (int)1: {
HXLINE( 121) return (int)5;
}
break;
case (int)2: {
HXLINE( 117) return (int)3;
}
break;
case (int)3: {
HXLINE( 119) return (int)4;
}
break;
case (int)4: {
HXLINE( 113) return (int)1;
}
break;
case (int)5: {
HXLINE( 115) return (int)2;
}
break;
case (int)6: {
HXLINE( 123) return (int)6;
}
break;
}
HXLINE( 109) return (int)0;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Image_obj,getRenderTargetFormat,return )
int Image_obj::getDepthBufferBits(int depthAndStencil){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_130_getDepthBufferBits)
HXDLIN( 130) switch((int)(depthAndStencil)){
case (int)0: {
HXLINE( 131) return (int)-1;
}
break;
case (int)1: {
HXLINE( 132) return (int)24;
}
break;
case (int)2: {
HXLINE( 133) return (int)24;
}
break;
case (int)3: {
HXLINE( 134) return (int)24;
}
break;
case (int)4: {
HXLINE( 135) return (int)32;
}
break;
case (int)5: {
HXLINE( 136) return (int)16;
}
break;
}
HXLINE( 130) return (int)0;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Image_obj,getDepthBufferBits,return )
int Image_obj::getStencilBufferBits(int depthAndStencil){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_141_getStencilBufferBits)
HXDLIN( 141) switch((int)(depthAndStencil)){
case (int)0: {
HXLINE( 142) return (int)-1;
}
break;
case (int)1: {
HXLINE( 143) return (int)-1;
}
break;
case (int)2: {
HXLINE( 144) return (int)8;
}
break;
case (int)3: {
HXLINE( 145) return (int)8;
}
break;
case (int)4: {
HXLINE( 146) return (int)8;
}
break;
case (int)5: {
HXLINE( 147) return (int)0;
}
break;
}
HXLINE( 141) return (int)0;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Image_obj,getStencilBufferBits,return )
int Image_obj::getTextureFormat( ::kha::graphics4::TextureFormat format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_152_getTextureFormat)
HXDLIN( 152) switch((int)(_hx_getEnumValueIndex(format))){
case (int)0: {
HXLINE( 154) return (int)0;
}
break;
case (int)2: {
HXLINE( 156) return (int)3;
}
break;
case (int)4: {
HXLINE( 158) return (int)4;
}
break;
case (int)5: {
HXLINE( 160) return (int)5;
}
break;
case (int)6: {
HXLINE( 162) return (int)7;
}
break;
default:{
HXLINE( 164) return (int)1;
}
}
HXLINE( 152) return (int)0;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Image_obj,getTextureFormat,return )
::kha::Image Image_obj::create2(int width,int height, ::kha::graphics4::TextureFormat format,bool readable,bool renderTarget,int depthStencil,int contextId){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_168_create2)
HXLINE( 169) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,readable);
HXLINE( 170) image->format = format;
HXLINE( 171) if (renderTarget) {
HXLINE( 171) int _hx_tmp = ::kha::Image_obj::getDepthBufferBits(depthStencil);
HXDLIN( 171) int _hx_tmp1 = ::kha::Image_obj::getRenderTargetFormat(format);
HXDLIN( 171) image->initRenderTarget(width,height,_hx_tmp,_hx_tmp1,::kha::Image_obj::getStencilBufferBits(depthStencil),contextId);
}
else {
HXLINE( 172) image->init(width,height,::kha::Image_obj::getTextureFormat(format));
}
HXLINE( 173) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC7(Image_obj,create2,return )
::kha::Image Image_obj::create3(int width,int height,int depth, ::kha::graphics4::TextureFormat format,bool readable,int contextId){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_176_create3)
HXLINE( 177) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,readable);
HXLINE( 178) image->format = format;
HXLINE( 179) image->init3D(width,height,depth,::kha::Image_obj::getTextureFormat(format));
HXLINE( 180) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC6(Image_obj,create3,return )
::kha::Image Image_obj::fromFile(::String filename,bool readable){
HX_GC_STACKFRAME(&_hx_pos_af8a22c1e264bd47_203_fromFile)
HXLINE( 204) ::kha::Image image = ::kha::Image_obj::__alloc( HX_CTX ,readable);
HXLINE( 205) bool isFloat = ::StringTools_obj::endsWith(filename,HX_(".hdr",88,12,b7,1e));
HXLINE( 206) ::kha::graphics4::TextureFormat _hx_tmp;
HXDLIN( 206) if (isFloat) {
HXLINE( 206) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA128_dyn();
}
else {
HXLINE( 206) _hx_tmp = ::kha::graphics4::TextureFormat_obj::RGBA32_dyn();
}
HXDLIN( 206) image->format = _hx_tmp;
HXLINE( 207) image->initFromFile(filename);
HXLINE( 208) return image;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(Image_obj,fromFile,return )
int Image_obj::maxSize;
int Image_obj::get_maxSize(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_246_get_maxSize)
HXDLIN( 246) return (int)4096;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_maxSize,return )
bool Image_obj::nonPow2Supported;
bool Image_obj::get_nonPow2Supported(){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_253_get_nonPow2Supported)
return Kore::Graphics4::nonPow2TexturesSupported();
HXDLIN( 253) return false;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC0(Image_obj,get_nonPow2Supported,return )
int Image_obj::formatByteSize( ::kha::graphics4::TextureFormat format){
HX_STACKFRAME(&_hx_pos_af8a22c1e264bd47_371_formatByteSize)
HXDLIN( 371) switch((int)(_hx_getEnumValueIndex(format))){
case (int)0: {
HXLINE( 372) return (int)4;
}
break;
case (int)1: {
HXLINE( 373) return (int)1;
}
break;
case (int)2: {
HXLINE( 374) return (int)16;
}
break;
case (int)3: {
HXLINE( 375) return (int)2;
}
break;
case (int)4: {
HXLINE( 376) return (int)8;
}
break;
case (int)5: {
HXLINE( 377) return (int)4;
}
break;
case (int)6: {
HXLINE( 378) return (int)2;
}
break;
}
HXLINE( 371) return (int)0;
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Image_obj,formatByteSize,return )
hx::ObjectPtr< Image_obj > Image_obj::__new(bool readable) {
hx::ObjectPtr< Image_obj > __this = new Image_obj();
__this->__construct(readable);
return __this;
}
hx::ObjectPtr< Image_obj > Image_obj::__alloc(hx::Ctx *_hx_ctx,bool readable) {
Image_obj *__this = (Image_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Image_obj), true, "kha.Image"));
*(void **)__this = Image_obj::_hx_vtable;
__this->__construct(readable);
return __this;
}
Image_obj::Image_obj()
{
}
void Image_obj::__Mark(HX_MARK_PARAMS)
{
HX_MARK_BEGIN_CLASS(Image);
HX_MARK_MEMBER_NAME(format,"format");
HX_MARK_MEMBER_NAME(readable,"readable");
HX_MARK_MEMBER_NAME(graphics1,"graphics1");
HX_MARK_MEMBER_NAME(graphics2,"graphics2");
HX_MARK_MEMBER_NAME(graphics4,"graphics4");
HX_MARK_MEMBER_NAME(g1,"g1");
HX_MARK_MEMBER_NAME(g2,"g2");
HX_MARK_MEMBER_NAME(g4,"g4");
HX_MARK_MEMBER_NAME(width,"width");
HX_MARK_MEMBER_NAME(height,"height");
HX_MARK_MEMBER_NAME(depth,"depth");
HX_MARK_MEMBER_NAME(realWidth,"realWidth");
HX_MARK_MEMBER_NAME(realHeight,"realHeight");
HX_MARK_MEMBER_NAME(bytes,"bytes");
HX_MARK_MEMBER_NAME(pixels,"pixels");
HX_MARK_MEMBER_NAME(pixelsAllocated,"pixelsAllocated");
HX_MARK_END_CLASS();
}
void Image_obj::__Visit(HX_VISIT_PARAMS)
{
HX_VISIT_MEMBER_NAME(format,"format");
HX_VISIT_MEMBER_NAME(readable,"readable");
HX_VISIT_MEMBER_NAME(graphics1,"graphics1");
HX_VISIT_MEMBER_NAME(graphics2,"graphics2");
HX_VISIT_MEMBER_NAME(graphics4,"graphics4");
HX_VISIT_MEMBER_NAME(g1,"g1");
HX_VISIT_MEMBER_NAME(g2,"g2");
HX_VISIT_MEMBER_NAME(g4,"g4");
HX_VISIT_MEMBER_NAME(width,"width");
HX_VISIT_MEMBER_NAME(height,"height");
HX_VISIT_MEMBER_NAME(depth,"depth");
HX_VISIT_MEMBER_NAME(realWidth,"realWidth");
HX_VISIT_MEMBER_NAME(realHeight,"realHeight");
HX_VISIT_MEMBER_NAME(bytes,"bytes");
HX_VISIT_MEMBER_NAME(pixels,"pixels");
HX_VISIT_MEMBER_NAME(pixelsAllocated,"pixelsAllocated");
}
hx::Val Image_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 2:
if (HX_FIELD_EQ(inName,"g1") ) { return hx::Val( inCallProp == hx::paccAlways ? get_g1() : g1 ); }
if (HX_FIELD_EQ(inName,"g2") ) { return hx::Val( inCallProp == hx::paccAlways ? get_g2() : g2 ); }
if (HX_FIELD_EQ(inName,"g4") ) { return hx::Val( inCallProp == hx::paccAlways ? get_g4() : g4 ); }
if (HX_FIELD_EQ(inName,"at") ) { return hx::Val( at_dyn() ); }
break;
case 4:
if (HX_FIELD_EQ(inName,"init") ) { return hx::Val( init_dyn() ); }
if (HX_FIELD_EQ(inName,"lock") ) { return hx::Val( lock_dyn() ); }
break;
case 5:
if (HX_FIELD_EQ(inName,"width") ) { return hx::Val( inCallProp == hx::paccAlways ? get_width() : width ); }
if (HX_FIELD_EQ(inName,"depth") ) { return hx::Val( inCallProp == hx::paccAlways ? get_depth() : depth ); }
if (HX_FIELD_EQ(inName,"bytes") ) { return hx::Val( bytes ); }
if (HX_FIELD_EQ(inName,"clear") ) { return hx::Val( clear_dyn() ); }
break;
case 6:
if (HX_FIELD_EQ(inName,"format") ) { return hx::Val( format ); }
if (HX_FIELD_EQ(inName,"init3D") ) { return hx::Val( init3D_dyn() ); }
if (HX_FIELD_EQ(inName,"get_g1") ) { return hx::Val( get_g1_dyn() ); }
if (HX_FIELD_EQ(inName,"get_g2") ) { return hx::Val( get_g2_dyn() ); }
if (HX_FIELD_EQ(inName,"get_g4") ) { return hx::Val( get_g4_dyn() ); }
if (HX_FIELD_EQ(inName,"height") ) { return hx::Val( inCallProp == hx::paccAlways ? get_height() : height ); }
if (HX_FIELD_EQ(inName,"unload") ) { return hx::Val( unload_dyn() ); }
if (HX_FIELD_EQ(inName,"unlock") ) { return hx::Val( unlock_dyn() ); }
if (HX_FIELD_EQ(inName,"pixels") ) { return hx::Val( pixels ); }
break;
case 8:
if (HX_FIELD_EQ(inName,"readable") ) { return hx::Val( readable ); }
if (HX_FIELD_EQ(inName,"isOpaque") ) { return hx::Val( isOpaque_dyn() ); }
break;
case 9:
if (HX_FIELD_EQ(inName,"graphics1") ) { return hx::Val( graphics1 ); }
if (HX_FIELD_EQ(inName,"graphics2") ) { return hx::Val( graphics2 ); }
if (HX_FIELD_EQ(inName,"graphics4") ) { return hx::Val( graphics4 ); }
if (HX_FIELD_EQ(inName,"initVideo") ) { return hx::Val( initVideo_dyn() ); }
if (HX_FIELD_EQ(inName,"get_width") ) { return hx::Val( get_width_dyn() ); }
if (HX_FIELD_EQ(inName,"get_depth") ) { return hx::Val( get_depth_dyn() ); }
if (HX_FIELD_EQ(inName,"realWidth") ) { return hx::Val( inCallProp == hx::paccAlways ? get_realWidth() : realWidth ); }
if (HX_FIELD_EQ(inName,"getPixels") ) { return hx::Val( getPixels_dyn() ); }
break;
case 10:
if (HX_FIELD_EQ(inName,"get_height") ) { return hx::Val( get_height_dyn() ); }
if (HX_FIELD_EQ(inName,"realHeight") ) { return hx::Val( inCallProp == hx::paccAlways ? get_realHeight() : realHeight ); }
if (HX_FIELD_EQ(inName,"atInternal") ) { return hx::Val( atInternal_dyn() ); }
if (HX_FIELD_EQ(inName,"setMipmaps") ) { return hx::Val( setMipmaps_dyn() ); }
break;
case 12:
if (HX_FIELD_EQ(inName,"initFromFile") ) { return hx::Val( initFromFile_dyn() ); }
break;
case 13:
if (HX_FIELD_EQ(inName,"initFromBytes") ) { return hx::Val( initFromBytes_dyn() ); }
if (HX_FIELD_EQ(inName,"get_realWidth") ) { return hx::Val( get_realWidth_dyn() ); }
break;
case 14:
if (HX_FIELD_EQ(inName,"get_realHeight") ) { return hx::Val( get_realHeight_dyn() ); }
break;
case 15:
if (HX_FIELD_EQ(inName,"initFromBytes3D") ) { return hx::Val( initFromBytes3D_dyn() ); }
if (HX_FIELD_EQ(inName,"pixelsAllocated") ) { return hx::Val( pixelsAllocated ); }
if (HX_FIELD_EQ(inName,"generateMipmaps") ) { return hx::Val( generateMipmaps_dyn() ); }
break;
case 16:
if (HX_FIELD_EQ(inName,"initRenderTarget") ) { return hx::Val( initRenderTarget_dyn() ); }
break;
case 17:
if (HX_FIELD_EQ(inName,"getPixelsInternal") ) { return hx::Val( getPixelsInternal_dyn() ); }
break;
case 19:
if (HX_FIELD_EQ(inName,"setDepthStencilFrom") ) { return hx::Val( setDepthStencilFrom_dyn() ); }
break;
case 20:
if (HX_FIELD_EQ(inName,"initFromEncodedBytes") ) { return hx::Val( initFromEncodedBytes_dyn() ); }
}
return super::__Field(inName,inCallProp);
}
bool Image_obj::__GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 6:
if (HX_FIELD_EQ(inName,"create") ) { outValue = create_dyn(); return true; }
break;
case 7:
if (HX_FIELD_EQ(inName,"create2") ) { outValue = create2_dyn(); return true; }
if (HX_FIELD_EQ(inName,"create3") ) { outValue = create3_dyn(); return true; }
if (HX_FIELD_EQ(inName,"maxSize") ) { outValue = ( inCallProp == hx::paccAlways ? get_maxSize() : maxSize ); return true; }
break;
case 8:
if (HX_FIELD_EQ(inName,"create3D") ) { outValue = create3D_dyn(); return true; }
if (HX_FIELD_EQ(inName,"fromFile") ) { outValue = fromFile_dyn(); return true; }
break;
case 9:
if (HX_FIELD_EQ(inName,"fromBytes") ) { outValue = fromBytes_dyn(); return true; }
break;
case 11:
if (HX_FIELD_EQ(inName,"createArray") ) { outValue = createArray_dyn(); return true; }
if (HX_FIELD_EQ(inName,"fromBytes3D") ) { outValue = fromBytes3D_dyn(); return true; }
if (HX_FIELD_EQ(inName,"get_maxSize") ) { outValue = get_maxSize_dyn(); return true; }
break;
case 14:
if (HX_FIELD_EQ(inName,"formatByteSize") ) { outValue = formatByteSize_dyn(); return true; }
break;
case 15:
if (HX_FIELD_EQ(inName,"createFromVideo") ) { outValue = createFromVideo_dyn(); return true; }
break;
case 16:
if (HX_FIELD_EQ(inName,"initArrayTexture") ) { outValue = initArrayTexture_dyn(); return true; }
if (HX_FIELD_EQ(inName,"fromEncodedBytes") ) { outValue = fromEncodedBytes_dyn(); return true; }
if (HX_FIELD_EQ(inName,"getTextureFormat") ) { outValue = getTextureFormat_dyn(); return true; }
if (HX_FIELD_EQ(inName,"nonPow2Supported") ) { outValue = ( inCallProp == hx::paccAlways ? get_nonPow2Supported() : nonPow2Supported ); return true; }
break;
case 18:
if (HX_FIELD_EQ(inName,"createRenderTarget") ) { outValue = createRenderTarget_dyn(); return true; }
if (HX_FIELD_EQ(inName,"getDepthBufferBits") ) { outValue = getDepthBufferBits_dyn(); return true; }
break;
case 20:
if (HX_FIELD_EQ(inName,"getStencilBufferBits") ) { outValue = getStencilBufferBits_dyn(); return true; }
if (HX_FIELD_EQ(inName,"get_nonPow2Supported") ) { outValue = get_nonPow2Supported_dyn(); return true; }
break;
case 21:
if (HX_FIELD_EQ(inName,"getRenderTargetFormat") ) { outValue = getRenderTargetFormat_dyn(); return true; }
}
return false;
}
hx::Val Image_obj::__SetField(const ::String &inName,const hx::Val &inValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 2:
if (HX_FIELD_EQ(inName,"g1") ) { g1=inValue.Cast< ::Dynamic >(); return inValue; }
if (HX_FIELD_EQ(inName,"g2") ) { g2=inValue.Cast< ::kha::graphics2::Graphics >(); return inValue; }
if (HX_FIELD_EQ(inName,"g4") ) { g4=inValue.Cast< ::Dynamic >(); return inValue; }
break;
case 5:
if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< int >(); return inValue; }
if (HX_FIELD_EQ(inName,"depth") ) { depth=inValue.Cast< int >(); return inValue; }
if (HX_FIELD_EQ(inName,"bytes") ) { bytes=inValue.Cast< ::haxe::io::Bytes >(); return inValue; }
break;
case 6:
if (HX_FIELD_EQ(inName,"format") ) { format=inValue.Cast< ::kha::graphics4::TextureFormat >(); return inValue; }
if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< int >(); return inValue; }
if (HX_FIELD_EQ(inName,"pixels") ) { pixels=inValue.Cast< ::haxe::io::Bytes >(); return inValue; }
break;
case 8:
if (HX_FIELD_EQ(inName,"readable") ) { readable=inValue.Cast< bool >(); return inValue; }
break;
case 9:
if (HX_FIELD_EQ(inName,"graphics1") ) { graphics1=inValue.Cast< ::Dynamic >(); return inValue; }
if (HX_FIELD_EQ(inName,"graphics2") ) { graphics2=inValue.Cast< ::kha::graphics2::Graphics >(); return inValue; }
if (HX_FIELD_EQ(inName,"graphics4") ) { graphics4=inValue.Cast< ::Dynamic >(); return inValue; }
if (HX_FIELD_EQ(inName,"realWidth") ) { realWidth=inValue.Cast< int >(); return inValue; }
break;
case 10:
if (HX_FIELD_EQ(inName,"realHeight") ) { realHeight=inValue.Cast< int >(); return inValue; }
break;
case 15:
if (HX_FIELD_EQ(inName,"pixelsAllocated") ) { pixelsAllocated=inValue.Cast< bool >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
bool Image_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 7:
if (HX_FIELD_EQ(inName,"maxSize") ) { maxSize=ioValue.Cast< int >(); return true; }
break;
case 16:
if (HX_FIELD_EQ(inName,"nonPow2Supported") ) { nonPow2Supported=ioValue.Cast< bool >(); return true; }
}
return false;
}
void Image_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("format","\x37","\x8f","\x8e","\xfd"));
outFields->push(HX_HCSTRING("readable","\xf0","\x1b","\x87","\x7d"));
outFields->push(HX_HCSTRING("graphics1","\x06","\xb9","\x91","\x08"));
outFields->push(HX_HCSTRING("graphics2","\x07","\xb9","\x91","\x08"));
outFields->push(HX_HCSTRING("graphics4","\x09","\xb9","\x91","\x08"));
outFields->push(HX_HCSTRING("g1","\xea","\x59","\x00","\x00"));
outFields->push(HX_HCSTRING("g2","\xeb","\x59","\x00","\x00"));
outFields->push(HX_HCSTRING("g4","\xed","\x59","\x00","\x00"));
outFields->push(HX_HCSTRING("width","\x06","\xb6","\x62","\xca"));
outFields->push(HX_HCSTRING("height","\xe7","\x07","\x4c","\x02"));
outFields->push(HX_HCSTRING("depth","\x03","\xf1","\x29","\xd7"));
outFields->push(HX_HCSTRING("realWidth","\xc8","\xe5","\x24","\xce"));
outFields->push(HX_HCSTRING("realHeight","\xe5","\xa1","\x73","\x48"));
outFields->push(HX_HCSTRING("bytes","\x6b","\x08","\x98","\xbd"));
outFields->push(HX_HCSTRING("pixels","\x2d","\xef","\xa9","\x8c"));
outFields->push(HX_HCSTRING("pixelsAllocated","\x1a","\xb6","\x97","\x47"));
super::__GetFields(outFields);
};
#if HXCPP_SCRIPTABLE
static hx::StorageInfo Image_obj_sMemberStorageInfo[] = {
{hx::fsObject /*::kha::graphics4::TextureFormat*/ ,(int)offsetof(Image_obj,format),HX_HCSTRING("format","\x37","\x8f","\x8e","\xfd")},
{hx::fsBool,(int)offsetof(Image_obj,readable),HX_HCSTRING("readable","\xf0","\x1b","\x87","\x7d")},
{hx::fsObject /*::kha::graphics1::Graphics*/ ,(int)offsetof(Image_obj,graphics1),HX_HCSTRING("graphics1","\x06","\xb9","\x91","\x08")},
{hx::fsObject /*::kha::graphics2::Graphics*/ ,(int)offsetof(Image_obj,graphics2),HX_HCSTRING("graphics2","\x07","\xb9","\x91","\x08")},
{hx::fsObject /*::kha::graphics4::Graphics*/ ,(int)offsetof(Image_obj,graphics4),HX_HCSTRING("graphics4","\x09","\xb9","\x91","\x08")},
{hx::fsObject /*::kha::graphics1::Graphics*/ ,(int)offsetof(Image_obj,g1),HX_HCSTRING("g1","\xea","\x59","\x00","\x00")},
{hx::fsObject /*::kha::graphics2::Graphics*/ ,(int)offsetof(Image_obj,g2),HX_HCSTRING("g2","\xeb","\x59","\x00","\x00")},
{hx::fsObject /*::kha::graphics4::Graphics*/ ,(int)offsetof(Image_obj,g4),HX_HCSTRING("g4","\xed","\x59","\x00","\x00")},
{hx::fsInt,(int)offsetof(Image_obj,width),HX_HCSTRING("width","\x06","\xb6","\x62","\xca")},
{hx::fsInt,(int)offsetof(Image_obj,height),HX_HCSTRING("height","\xe7","\x07","\x4c","\x02")},
{hx::fsInt,(int)offsetof(Image_obj,depth),HX_HCSTRING("depth","\x03","\xf1","\x29","\xd7")},
{hx::fsInt,(int)offsetof(Image_obj,realWidth),HX_HCSTRING("realWidth","\xc8","\xe5","\x24","\xce")},
{hx::fsInt,(int)offsetof(Image_obj,realHeight),HX_HCSTRING("realHeight","\xe5","\xa1","\x73","\x48")},
{hx::fsObject /*::haxe::io::Bytes*/ ,(int)offsetof(Image_obj,bytes),HX_HCSTRING("bytes","\x6b","\x08","\x98","\xbd")},
{hx::fsObject /*::haxe::io::Bytes*/ ,(int)offsetof(Image_obj,pixels),HX_HCSTRING("pixels","\x2d","\xef","\xa9","\x8c")},
{hx::fsBool,(int)offsetof(Image_obj,pixelsAllocated),HX_HCSTRING("pixelsAllocated","\x1a","\xb6","\x97","\x47")},
{ hx::fsUnknown, 0, null()}
};
static hx::StaticInfo Image_obj_sStaticStorageInfo[] = {
{hx::fsInt,(void *) &Image_obj::maxSize,HX_HCSTRING("maxSize","\x85","\xf9","\x83","\xcc")},
{hx::fsBool,(void *) &Image_obj::nonPow2Supported,HX_HCSTRING("nonPow2Supported","\xe7","\x6d","\x39","\x51")},
{ hx::fsUnknown, 0, null()}
};
#endif
static ::String Image_obj_sMemberFields[] = {
HX_HCSTRING("format","\x37","\x8f","\x8e","\xfd"),
HX_HCSTRING("readable","\xf0","\x1b","\x87","\x7d"),
HX_HCSTRING("graphics1","\x06","\xb9","\x91","\x08"),
HX_HCSTRING("graphics2","\x07","\xb9","\x91","\x08"),
HX_HCSTRING("graphics4","\x09","\xb9","\x91","\x08"),
HX_HCSTRING("initFromBytes","\x71","\xb5","\x20","\xed"),
HX_HCSTRING("initFromBytes3D","\x62","\xe0","\xcd","\xfe"),
HX_HCSTRING("initFromEncodedBytes","\xb7","\xd3","\x78","\xef"),
HX_HCSTRING("initRenderTarget","\x77","\xd6","\x84","\xe9"),
HX_HCSTRING("init","\x10","\x3b","\xbb","\x45"),
HX_HCSTRING("init3D","\xc1","\x4b","\x4c","\x97"),
HX_HCSTRING("initVideo","\x4b","\x2f","\x8e","\x52"),
HX_HCSTRING("initFromFile","\x36","\x24","\x3e","\x46"),
HX_HCSTRING("g1","\xea","\x59","\x00","\x00"),
HX_HCSTRING("get_g1","\x33","\xf1","\x2f","\xa3"),
HX_HCSTRING("g2","\xeb","\x59","\x00","\x00"),
HX_HCSTRING("get_g2","\x34","\xf1","\x2f","\xa3"),
HX_HCSTRING("g4","\xed","\x59","\x00","\x00"),
HX_HCSTRING("get_g4","\x36","\xf1","\x2f","\xa3"),
HX_HCSTRING("width","\x06","\xb6","\x62","\xca"),
HX_HCSTRING("height","\xe7","\x07","\x4c","\x02"),
HX_HCSTRING("depth","\x03","\xf1","\x29","\xd7"),
HX_HCSTRING("get_width","\x5d","\x12","\x0c","\x0e"),
HX_HCSTRING("get_height","\xb0","\x77","\xd3","\xf2"),
HX_HCSTRING("get_depth","\x5a","\x4d","\xd3","\x1a"),
HX_HCSTRING("realWidth","\xc8","\xe5","\x24","\xce"),
HX_HCSTRING("realHeight","\xe5","\xa1","\x73","\x48"),
HX_HCSTRING("get_realWidth","\x9f","\xb9","\x88","\x8f"),
HX_HCSTRING("get_realHeight","\x2e","\x2a","\x69","\xbe"),
HX_HCSTRING("isOpaque","\x6b","\x78","\x5b","\x77"),
HX_HCSTRING("atInternal","\x50","\x23","\xc3","\x73"),
HX_HCSTRING("at","\xf3","\x54","\x00","\x00"),
HX_HCSTRING("unload","\xff","\xa0","\x8c","\x65"),
HX_HCSTRING("bytes","\x6b","\x08","\x98","\xbd"),
HX_HCSTRING("lock","\xeb","\x9b","\xb7","\x47"),
HX_HCSTRING("unlock","\xc4","\xa2","\x8c","\x65"),
HX_HCSTRING("pixels","\x2d","\xef","\xa9","\x8c"),
HX_HCSTRING("pixelsAllocated","\x1a","\xb6","\x97","\x47"),
HX_HCSTRING("getPixelsInternal","\xc0","\x36","\xbc","\xc7"),
HX_HCSTRING("getPixels","\x63","\x78","\x00","\x09"),
HX_HCSTRING("generateMipmaps","\x36","\xf3","\x0d","\x51"),
HX_HCSTRING("setMipmaps","\x69","\xce","\x32","\xc8"),
HX_HCSTRING("setDepthStencilFrom","\x05","\x29","\x9a","\x2e"),
HX_HCSTRING("clear","\x8d","\x71","\x5b","\x48"),
::String(null()) };
static void Image_obj_sMarkStatics(HX_MARK_PARAMS) {
HX_MARK_MEMBER_NAME(Image_obj::__mClass,"__mClass");
HX_MARK_MEMBER_NAME(Image_obj::maxSize,"maxSize");
HX_MARK_MEMBER_NAME(Image_obj::nonPow2Supported,"nonPow2Supported");
};
#ifdef HXCPP_VISIT_ALLOCS
static void Image_obj_sVisitStatics(HX_VISIT_PARAMS) {
HX_VISIT_MEMBER_NAME(Image_obj::__mClass,"__mClass");
HX_VISIT_MEMBER_NAME(Image_obj::maxSize,"maxSize");
HX_VISIT_MEMBER_NAME(Image_obj::nonPow2Supported,"nonPow2Supported");
};
#endif
hx::Class Image_obj::__mClass;
static ::String Image_obj_sStaticFields[] = {
HX_HCSTRING("createFromVideo","\x15","\xb8","\x79","\x8c"),
HX_HCSTRING("create","\xfc","\x66","\x0f","\x7c"),
HX_HCSTRING("create3D","\xad","\x4a","\xf4","\x2b"),
HX_HCSTRING("createRenderTarget","\x63","\x34","\x61","\xf0"),
HX_HCSTRING("createArray","\xfd","\xa4","\x0a","\x4f"),
HX_HCSTRING("initArrayTexture","\x72","\x37","\x82","\x43"),
HX_HCSTRING("fromBytes","\xa1","\xf2","\x20","\x72"),
HX_HCSTRING("fromBytes3D","\x92","\xc9","\x3b","\xf2"),
HX_HCSTRING("fromEncodedBytes","\x87","\x9c","\x1f","\xc9"),
HX_HCSTRING("getRenderTargetFormat","\x14","\xac","\x07","\x63"),
HX_HCSTRING("getDepthBufferBits","\x13","\x7b","\x9a","\xe5"),
HX_HCSTRING("getStencilBufferBits","\xcc","\x2f","\x31","\x82"),
HX_HCSTRING("getTextureFormat","\xfc","\x0b","\xc7","\xfa"),
HX_HCSTRING("create2","\xb6","\xb5","\x6a","\x11"),
HX_HCSTRING("create3","\xb7","\xb5","\x6a","\x11"),
HX_HCSTRING("fromFile","\x06","\x9d","\x87","\xa1"),
HX_HCSTRING("maxSize","\x85","\xf9","\x83","\xcc"),
HX_HCSTRING("get_maxSize","\x9c","\x59","\x7e","\x52"),
HX_HCSTRING("nonPow2Supported","\xe7","\x6d","\x39","\x51"),
HX_HCSTRING("get_nonPow2Supported","\xf0","\xd2","\xa3","\x6f"),
HX_HCSTRING("formatByteSize","\x40","\xea","\xc4","\x8d"),
::String(null())
};
void Image_obj::__register()
{
hx::Object *dummy = new Image_obj;
Image_obj::_hx_vtable = *(void **)dummy;
hx::Static(__mClass) = new hx::Class_obj();
__mClass->mName = HX_HCSTRING("kha.Image","\x71","\x67","\x08","\xde");
__mClass->mSuper = &super::__SGetClass();
__mClass->mConstructEmpty = &__CreateEmpty;
__mClass->mConstructArgs = &__Create;
__mClass->mGetStaticField = &Image_obj::__GetStatic;
__mClass->mSetStaticField = &Image_obj::__SetStatic;
__mClass->mMarkFunc = Image_obj_sMarkStatics;
__mClass->mStatics = hx::Class_obj::dupFunctions(Image_obj_sStaticFields);
__mClass->mMembers = hx::Class_obj::dupFunctions(Image_obj_sMemberFields);
__mClass->mCanCast = hx::TCanCast< Image_obj >;
#ifdef HXCPP_VISIT_ALLOCS
__mClass->mVisitFunc = Image_obj_sVisitStatics;
#endif
#ifdef HXCPP_SCRIPTABLE
__mClass->mMemberStorageInfo = Image_obj_sMemberStorageInfo;
#endif
#ifdef HXCPP_SCRIPTABLE
__mClass->mStaticStorageInfo = Image_obj_sStaticStorageInfo;
#endif
hx::_hx_RegisterClass(__mClass->mName, __mClass);
}
} // end namespace kha
|
91e4ae4657f41ddfd234c7c73603645fbbc575e2 | 4914dfb2ae172ea11a1fc21dede1bfef3268074e | /First Leson 29-12/Basikes entoles/Codes.cpp | 83ffccbe9a14e8a9aaad71a9a186d75d014b345f | [] | no_license | ClassMiltos/Abram | f4fbf450e3cc8b6d76dd134bdf6527a1320cb677 | e58e71d33466e1ae38ac40c836e6cd54e5e20858 | refs/heads/master | 2021-01-10T18:12:11.390261 | 2016-02-13T19:50:57 | 2016-02-13T19:50:57 | 51,594,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | cpp | Codes.cpp | #include<iostream>
using namespace std;
int main ()
{
int x,y;
x=8;
y=x-4;
cout <<x<<endl;
cout << y;
return 0;
}
|
ff73cc5b8a3d28188bac6a7311e566d8ff3f98f0 | 4589750807f18f71f49a6fb5e366154015f4ebfc | /operatorexpression/16.cpp | 9e728ae046f560614e05bddbace45d989cdd8857 | [] | no_license | mohsin0176/HandNotes-onCPlusCPlus | afe7920dfc981a3cb2f1586c11981944451311e5 | fd03ed40cfe8496ba141f16af7f9fc069d10fbc2 | refs/heads/master | 2023-03-19T11:41:52.487673 | 2021-03-07T11:31:01 | 2021-03-07T11:31:01 | 342,002,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp | 16.cpp | #include<iostream>
#include<bits/stdc++.h>
#include<math.h>
#include<cstdlib.h>
#include<limits.h>
#include<iomanip.h>
#include<fstream.h>
#include<process.h>
#define PI 3.1416
using namespace std;
int main()
{
float result;
result=1.0+2.0*3.0/4.0;
cout<<result;
result=1.0/2.0+3.0;
cout<<result;
result=(1.0+2.0)/3.0;
cout<<result;
result=(1.0+2.0/3.0)+4.0;
cout<<result;
return 0;
} |
90343519d8499bacd0de8f3531f05ab97c1168da | b53bdc4576f948e6066bbead8a93451fa1598726 | /Codeforces/contest/1384/B.cpp | b898f5752dd3b3cecb71d9efaa09cd54e9ccbe3d | [] | no_license | Clouder0/AlgorithmPractice | da2e28cb60d19fe7a99e9f3d1ba99810897244a4 | 42faedfd9eb49d6df3d8031d883784c3514a7e8b | refs/heads/main | 2023-07-08T11:07:17.631345 | 2023-07-06T12:15:33 | 2023-07-06T12:15:33 | 236,957,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,970 | cpp | B.cpp | #include <algorithm>
#include <cstdio>
#include <ctype.h>
const int bufSize = 1e6;
#define DEBUG
inline char nc()
{
#ifdef DEBUG
return getchar();
#endif
static char buf[bufSize], *p1 = buf, *p2 = buf;
return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, bufSize, stdin), p1 == p2) ? EOF : *p1++;
}
template <typename T>
inline T read(T& r)
{
static char c;
static int flag;
flag = 1, r = 0;
for (c = nc(); !isdigit(c); c = nc())
if (c == '-') flag = -1;
for (; isdigit(c); c = nc()) r = r * 10 + c - 48;
return r *= flag;
}
const int maxn = 4e5 + 100;
int T, n, k, l;
int d[maxn];
int s[maxn], num;
inline int getx(int x)
{
if (x <= k) return x;
else return 2 * k - x;
}
inline int getok(int x)
{
return l - x; //getx(t) <= l - x is ok.
}
int main()
{
read(T);
while (T--)
{
read(n), read(k), read(l);
for (int i = 1; i <= n; ++i) read(d[i]);
num = 0;
s[++num] = 0;
int pos = 0, t = 0;
for (int i = 1; i <= n; ++i) if (d[i] + k <= l) s[++num] = i;
for (int i = 1; i <= n; ++i) if (d[i] > l) goto fail;
if (s[num] != n) s[++num] = n; //no matter when we get to the n,we can straightly swim to the island.
for (int i = 1; i < num; ++i)
{
pos = s[i] + 1, t = 2 * k - getok(d[s[i] + 1]);
while (pos < s[i + 1])
{
t %= 2 * k;
int ok = getok(d[pos + 1]);
if (t < k)
{
if (ok >= getx(t + 1)) ++t, ++pos;
else goto fail;
}
else
{
if (ok >= getx(t + 1)) ++t, ++pos;
else t = 2 * k - ok, ++pos;
}
}
}
puts("Yes");
continue;
fail:
puts("No");
}
return 0;
} |
430c5c70cd10b0e45151a2eead57a9bec25e893f | 2955788b68cec13aaeaaa42b75494363f9694759 | /examples/parse_iges.cpp | 413ff679732a245152d1eb1a2749c56b680e0e4b | [] | no_license | opensourcer2/gca | b889a25836d935451356c44c03330b0ac1333df9 | c58738f58f9e55f0480cf179316c6d3ae95f96d0 | refs/heads/master | 2020-08-30T19:26:34.018092 | 2017-11-21T00:00:32 | 2017-11-21T00:00:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,559 | cpp | parse_iges.cpp | #include <cassert>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <streambuf>
#include <vector>
#include "system/parse_iges.h"
#include "utils/check.h"
using namespace gca;
using namespace std;
struct iges_record {
std::string line;
int number;
};
iges_record segment_record(const std::string& record_line) {
string line = record_line.substr(0, 73);
string num = record_line.substr(73, 80);
DBG_ASSERT(line.size() == 73);
return iges_record{line, stoi(num)};
}
std::vector<iges_record> lex_records(std::ifstream& iges_file) {
std::vector<iges_record> records;
int record_size = 82;
char record[record_size+1];
record[record_size] = '\0';
while (iges_file.read(record, record_size)) {
string rec_str = record;
records.push_back(segment_record(rec_str));
}
return records;
}
struct iges_sections {
std::vector<iges_record> start;
std::vector<iges_record> global;
std::vector<iges_record> directory_entry;
std::vector<iges_record> parameter_data;
std::vector<iges_record> terminate;
};
iges_sections
group_records_into_sections(const std::vector<iges_record>& records) {
vector<vector<iges_record> > sections;
vector<iges_record> current_section;
int current_no = 0;
for (auto& r : records) {
if (r.number == (current_no + 1)) {
current_section.push_back(r);
current_no = r.number;
} else if (r.number == 1) {
sections.push_back(current_section);
current_no = 1;
current_section = {r};
} else {
cout << "Bad record with number = " << r.number << endl;
cout << "Text = " << r.line << endl;
DBG_ASSERT(false);
}
}
sections.push_back(current_section);
cout << "# of sections = " << sections.size() << endl;
DBG_ASSERT(sections.size() == 5);
DBG_ASSERT(sections.back().size() == 1);
return iges_sections{sections[0],
sections[1],
sections[2],
sections[3],
sections[4]};
}
void print_entity_name(const int n) {
switch(n) {
case 100:
cout << "CIRCULAR ARC" << endl;
break;
case 102:
cout << "COMPOSITE CURVE" << endl;
break;
case 104:
cout << "CONIC ARC" << endl;
break;
case 110:
cout << "LINE" << endl;
break;
case 120:
cout << "SURFACE OF REVOLUTION" << endl;
break;
case 122:
cout << "TABULATED CYLINDER" << endl;
break;
case 124:
cout << "TRANSFORMATION MATRIX" << endl;
break;
case 126:
cout << "RATIONAL B-SPLINE CURVE" << endl;
break;
case 142:
cout << "CURVE ON A PARAMETRIC SURFACE" << endl;
break;
case 144:
cout << "TRIMMED PARAMETRIC SURFACE" << endl;
break;
case 314:
cout << "COLOR DEFINITION ENTITY" << endl;
break;
default:
cout << "UNKNOWN ENTITY CODE " << n << endl;
DBG_ASSERT(false);
}
}
void print_directory_entry_types(const std::vector<iges_record>& dirents) {
DBG_ASSERT((dirents.size() % 2) == 0);
for (unsigned i = 0; i < dirents.size(); i += 2) {
string s = dirents[i].line.substr(0, 8);
int n = stoi(s);
print_entity_name(n);
}
}
void parse_iges(const std::string& file_name) {
ifstream iges_file(file_name.c_str());
std::vector<iges_record> records = lex_records(iges_file);
cout << "# of records = " << records.size() << endl;
iges_sections sections =
group_records_into_sections(records);
print_directory_entry_types(sections.directory_entry);
}
int main(int argc, char* argv[]) {
DBG_ASSERT(argc == 2);
std::string name = argv[1];
parse_iges(name);
}
|
f5bf5f4a736b9aad53397911df247380c2dd114a | 6ccb938f2b89541790276fe7528c0c05aab0e345 | /Recast/Include/RecastHNA.h | be688dd12d9fb03f5476652e6290435812c2966e | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib"
] | permissive | mobiuschen/recastnavigation | e6fe71cf836027a9f00182b59839d43d7049c414 | 5427381dfe0ea5b0d0189a3e01d28f7717c00279 | refs/heads/master | 2018-09-27T12:44:59.125092 | 2018-02-15T09:13:34 | 2018-02-15T09:13:34 | 115,175,993 | 0 | 0 | null | 2017-12-23T06:32:44 | 2017-12-23T06:32:44 | null | UTF-8 | C++ | false | false | 1,137 | h | RecastHNA.h | #ifndef RECASTHNA_H
#define RECASTHNA_H
#include "RecastAlloc.h"
typedef unsigned short GraphID;
typedef unsigned short Weight;
class rcContext;
struct rcPolyMesh;
struct rcGraphHNA;
static const int RC_INVALID_INDEX = -1;
static const unsigned int RC_INVALID_VERTEX = 0xFFFF;
struct rcVertex
{
int ipoly; ///The index of poly in rcPolyMesh.
Weight vwgt; ///The weight of vertex
unsigned short nedges; ///The size of the adjacency list of v
int iedges; ///The index into Adjncy that is the beginning of the adjacency list of v
Weight cewgt; ///the weight of the edges that have been contracted to create vertex (if vertexis a multinode)
Weight adjwgt; ///the sum of the weight of the edges adjacent to v
};
struct rcGraphHNA
{
rcVertex* vtxs;
Weight* adjncy; ///the adjacency lists of the vertices
int nvt; ///The number of vertices
};
rcGraphHNA* rcAllocGraph(rcAllocHint hint);
bool rcFreeGraph();
bool rcBuildGraphHNA(rcContext* ctx, const rcPolyMesh& pmesh, rcGraphHNA& graph);
bool rcBuildGraphHNA(rcContext* ctx, rcGraphHNA& graph, int nverts, rcAllocHint allocHint);
#endif |
2bee3572c4832c835d4889883fb8d8971b2041d0 | 4db5f16f32f2860c3212eda2d1b154e43322201f | /vjudge/POJ1258_258.cpp | f6365312d6bb44fc78f4a7cf04f09a636808a582 | [] | no_license | shentr/Algorithm | ac9c14a98ed9f8987482fcc2122246fbe27abac3 | 71496209d9ded2f9862d1a2ef2fad506ed1eeadb | refs/heads/master | 2021-01-12T05:34:15.453863 | 2017-02-25T05:51:57 | 2017-02-25T05:51:57 | 77,130,880 | 2 | 0 | null | 2016-12-22T09:38:20 | 2016-12-22T09:20:03 | null | UTF-8 | C++ | false | false | 1,137 | cpp | POJ1258_258.cpp | // POJ1258
//http://poj.org/problem?id=1258
#include <iostream>
#include <string.h>
using namespace std;
const int INF=0x3f3f3f3f;
const int maxn=110;
bool vis[maxn];
int lowc[maxn];
int prim(int cost[][maxn],int n)
{
int ans=0;
memset(vis,false,sizeof(vis));
vis[0]=true;
for(int i=1;i<=n;i++)
lowc[i]=cost[0][i];
for(int i=1;i<n;i++)
{
int minc=INF;
int p=-1;
for(int j=0;j<n;j++)
if(!vis[j]&&minc>lowc[j])
{
minc=lowc[j];
p=j;
}
ans+=minc;
vis[p]=true;
for(int j=0;j<n;j++)
if(!vis[j]&&lowc[j]>cost[p][j])
lowc[j]=cost[p][j];
}
return ans;
}
int main()
{
int n;
int a[maxn][maxn];
while(cin>>n)
{
for(int i=0; i<n; i++)
for(int j=0; j<n; j++)
a[i][j]=INF;
for(int i=0; i<n; i++)
for(int j=0; j<n; j++)
{
cin>>a[i][j];
a[i][j]=min(a[j][i],a[i][j]);
}
int sum=prim(a,n);
cout<<sum<<endl;
}
return 0;
}
|
accc019d9fc6e94204333f98d3def5fa18ecadd2 | 3ec1a72c9e4b62a7f71c3a96568c69819e324cb0 | /codeforces13C.cpp | 3b7669c2566dfc52ba82bfede770151c854253a1 | [] | no_license | sarker306/Codeforces | 91ea62b4aa25a30695fd1c518f54301cd9737e85 | e618c46814c93648f7b2ef4f8f8a4a8c42916aa6 | refs/heads/master | 2021-01-22T06:33:13.758214 | 2013-12-27T09:53:24 | 2013-12-27T09:53:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | cpp | codeforces13C.cpp | #include <cstdio>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <ctime>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <deque>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#define FOR(i, a, b) for (i = (a); i <= (b); i++)
#define REP(i, a) for (i = 0; i < (a); i++)
#define ALL(v) (v).begin(), (v).end()
#define SET(a, x) memset((a), (x), sizeof(a))
#define SZ(a) ((int)(a).size())
#define CL(a) ((a).clear())
#define SORT(x) sort(ALL(x))
#define mp make_pair
#define pb push_back
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define filer() freopen("in.txt","r",stdin)
#define filew() freopen("out.txt","w",stdout)
using namespace std;
typedef long long ll;
typedef unsigned long long llu;
ll a[5005], b[5005];
int N;
ll dp[5005], tmp[5005];
int main(){
while ( cin >> N ){
for ( int i = 1 ; i <= N ; i++ ){
cin >> a[i];
b[i] = a[i];
}
sort(b + 1, b + N + 1);
dp[0] = 1000000000000000LL;
for ( int j = 1 ; j <= N ; j++ ){
ll diff = a[1] - b[j];
if ( diff < 0 ) diff = -diff;
dp[j] = min(dp[j-1], diff);
tmp[j] = dp[j];
}
for ( int i = 2 ; i <= N ; i++ ){
dp[0] = 1000000000000000LL;
for ( int j = 1 ; j <= N ; j++ ){
ll diff = a[i] - b[j];
if ( diff < 0 ) diff = -diff;
dp[j] = min(dp[j-1], tmp[j] + diff);
}
for ( int j = 0 ; j <= N ; j++ ) tmp[j] = dp[j];
}
ll minMove = LLONG_MAX;
for ( int i = 1 ; i <= N ; i++ ) minMove = min(minMove, dp[i]);
cout << minMove << endl;
}
return 0;
}
|
76bb5815df8aa6322847ec17870f2550c5d951b5 | 81367424de01ed24244148bb386d4869d6d62598 | /stack_with_array/test/stack_test.h | 0423d24c89743a719289d4dc1132294fd779402b | [] | no_license | easy-testing/easytesting | eb0c0bc9ffc5d92d46be3a008dd28ccd539a16b2 | b98b49699d40d08a0c248d53df2036a10eb7ee74 | refs/heads/master | 2016-09-10T22:13:35.158396 | 2014-10-28T14:04:16 | 2014-10-28T14:04:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,878 | h | stack_test.h | // Copyright 2014 Universidade Federal de Minas Gerais (UFMG)
#ifndef TRUNK_STACK_WITH_ARRAY_TEST_STACK_TEST_H_
#define TRUNK_STACK_WITH_ARRAY_TEST_STACK_TEST_H_
#include <sstream>
#include <string>
#include "gtest/gtest.h"
#include "src/stack.h"
using std::string;
using std::stringstream;
// Classe base dos testes.
class Teste : public testing::Test {
protected:
// Retorna um ponteiro para o primeiro elemento da pilha.
SType* array(const stack& p) {
return p.array_;
}
// Retorna o número de elementos na pilha.
int size(const stack& p) {
return p.size_;
}
// Retorna uma string no formato [a b c d ... ].
string ToString(const stack& p) {
stringstream sout;
sout << "[ ";
for (int i = p.size_ - 1; i >= 0; i--) {
sout << p.array_[i] << " ";
}
sout << "]";
return sout.str();
}
// Preenche a pilha d com 3 números. 'd' deve ser uma pilha vazia.
void CriaPilha(SType x1, SType x2, SType x3, stack* d) {
d->size_ = 3;
d->capacity_ = 3;
d->array_ = new SType[d->capacity_];
d->array_[2] = x1;
d->array_[1] = x2;
d->array_[0] = x3;
}
};
TEST_F(Teste, Testa_construtor_vazio) {
stack atual;
ASSERT_EQ(0, size(atual))
<< "-------------------------------------------------------------------\n"
<< "Erro no construtor: stack::stack()\n"
<< "-------------------------------------------------------------------\n"
<< " Número de elementos na pilha maior que zero.\n"
<< "-------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Size_para_pilha_vazia) {
stack p;
int esperado = 0;
int atual = p.size();
ASSERT_EQ(esperado, atual)
<< "-------------------------------------------------------------------\n"
<< "Erro na funcao: int stack::size()\n"
<< "-------------------------------------------------------------------\n"
<< " p = " << ToString(p) << "\n"
<< " \"p.sise()\" retornou: " << atual << "\n"
<< " Valor esperado: " << esperado << "\n"
<< "-------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Size_para_pilha_nao_vazia) {
stack p;
CriaPilha("a", "b", "c", &p);
int esperado = 3;
int atual = p.size();
ASSERT_EQ(esperado, atual)
<< "-------------------------------------------------------------------\n"
<< "Erro na funcao: int stack::size()\n"
<< "-------------------------------------------------------------------\n"
<< " p = " << ToString(p) << "\n"
<< " \"p.sise()\" retornou: " << atual << "\n"
<< " Valor esperado: " << esperado << "\n"
<< "-------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Empty_com_pilha_vazia) {
stack p;
ASSERT_TRUE(p.empty())
<< "------------------------------------------------------------------\n"
<< "Erro na funcao: bool stack::empty() \n"
<< "------------------------------------------------------------------\n"
<< " A pilha esta vazia e a funcao retornou FALSE.\n"
<< "------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Empty_com_pilha_nao_vazia) {
stack p;
CriaPilha("12", "14", "15", &p);
ASSERT_FALSE(p.empty())
<< "------------------------------------------------------------------\n"
<< "Erro na funcao: bool stack::empty() \n"
<< "------------------------------------------------------------------\n"
<< " A pilha tem pelo menos um elemento e a funcao retornou TRUE.\n"
<< "------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Top) {
stack p;
CriaPilha("12", "14", "15", &p);
SType atual = p.top();
SType esperado = "12";
ASSERT_EQ(esperado, atual)
<< "-------------------------------------------------------------------\n"
<< "Erro na funcao: VType stack::top()\n"
<< "-------------------------------------------------------------------\n"
<< " p = " << "[ 12 14 15 ]" << "\n"
<< " \"p.top()\" retornou: " << atual << "\n"
<< " Valor esperado: " << esperado << "\n"
<< "-------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Push_em_pilha_vazia) {
stack p;
p.push("10");
string atual = ToString(p);
string esperado("[ 10 ]");
ASSERT_EQ(esperado, atual)
<< "------------------------------------------------------------------\n"
<< "Erro na funcao: void stack::push(SType k) *\n"
<< "------------------------------------------------------------------\n"
<< "p = [ ] \n"
<< "\"p.push(10)\" resultou em: p = " << atual << "\n"
<< "Resultado esperado: p = " << esperado << "\n"
<< "------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Push_em_pilha_nao_vazia) {
stack p;
CriaPilha("2", "3", "4", &p);
p.push("1");
string atual = ToString(p);
string esperado("[ 1 2 3 4 ]");
ASSERT_EQ(esperado, atual)
<< "------------------------------------------------------------------\n"
<< "Erro na funcao: void stack::push(SType k) *\n"
<< "------------------------------------------------------------------\n"
<< "p = [ 2 3 4 ] \n"
<< "\"p.push(1)\" resultou em: "
<< "p = " << atual << "\n"
<< "Resultado esperado: p = " << esperado << "\n"
<< "------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Pop_em_pilha_unitaria) {
stack p;
p.push("10");
p.pop();
string atual = ToString(p);
string esperado("[ ]");
ASSERT_EQ(esperado, atual)
<< "------------------------------------------------------------------\n"
<< "Erro na funcao: void stack::pop() *\n"
<< "------------------------------------------------------------------\n"
<< "p = [ 10 ] \n"
<< "\"p.pop()\" resultou em: p = " << atual << "\n"
<< "Resultado esperado: p = " << esperado << "\n"
<< "------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_Pop_em_pilha_nao_vazia) {
stack p;
CriaPilha("2", "3", "4", &p);
p.pop();
string atual = ToString(p);
string esperado("[ 3 4 ]");
ASSERT_EQ(esperado, atual)
<< "------------------------------------------------------------------\n"
<< "Erro na funcao: void stack::pop() *\n"
<< "------------------------------------------------------------------\n"
<< "l = [ 2 3 4 ] \n"
<< "\"p.pop()\" resultou em: p = " << atual << "\n"
<< "Resultado esperado: p = " << esperado << "\n"
<< "------------------------------------------------------------------\n";
}
TEST_F(Teste, Testa_operador_Assign) {
stack esperado;
CriaPilha("12", "14", "15", &esperado);
stack atual;
atual = esperado;
ASSERT_NE(array(esperado), array(atual))
<< "-------------------------------------------------------------------\n"
<< "Erro na funcao: void stack::operator=(stack& p)\n"
<< "-------------------------------------------------------------------\n"
<< " Não basta apenas copiar o ponteiro para \"array_\". \n"
<< " Você tem que copiar todos os elementos de p para a pilha corrente.\n"
<< "-------------------------------------------------------------------\n";
ASSERT_EQ(ToString(esperado), ToString(atual))
<< "-------------------------------------------------------------------\n"
<< "Erro na funcao: void stack::operator=(stack& p)\n"
<< "-------------------------------------------------------------------\n"
<< " p = " << ToString(esperado) << "\n"
<< " \"u = p\" resultou em: u = " << ToString(atual) << "\n"
<< " Resultado esperado: u = " << ToString(esperado) << "\n"
<< "-------------------------------------------------------------------\n";
}
#endif // TRUNK_STACK_WITH_ARRAY_TEST_STACK_TEST_H_
|
e82cca72ebc8652519729277e577084b1eb4102f | c514252d07f86e1e0b7bc21a01a07ac766d84b5c | /Raytracer by waev/Raytracer by waev/WVector2.cpp | 78cc5dbc52d5331edd6fcccf2c4522d95dd8d4c9 | [] | no_license | Waevka/raytracer | 68c3c743bc70825d99e9d245cd92243fc9f5e3e2 | be90066505a6a5fa16ee6b5924ad7ea5390bc683 | refs/heads/master | 2021-03-22T04:21:10.765637 | 2017-05-16T23:01:43 | 2017-05-16T23:07:41 | 85,054,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | WVector2.cpp | #include "WVector2.h"
#include <string>
#include <sstream>
WVector2::WVector2()
{
this->x = 0;
this->y = 0;
}
WVector2::WVector2(float x, float y)
{
this->x = x;
this->y = y;
}
WVector2::WVector2(const WVector2 &v) : x(v.getX()), y(v.getY())
{
}
WVector2::WVector2(const WVector2 & v1, const WVector2 & v2) :
x(v2.getX() - v1.getX()), y(v2.getY() - v1.getY())
{
}
WVector2::~WVector2()
{
}
float WVector2::getX() const
{
return x;
}
float WVector2::getY() const
{
return y;
}
std::string WVector2::toString()
{
std::stringstream ss;
ss << "WVector2 [" << x << ", " << y << "]";
return ss.str();
}
|
54b4f1551e7a8aaf402b05468e9bd35fcaebc5b2 | 9eab75ac8109b4cd6968718252cf949dd54ff8f4 | /codeforces/1158A.cpp | fda0e77f4ca260621b606585379507d5e0eaff5f | [] | no_license | tymefighter/CompetitiveProg | 48131feca6498672c9d64787a27bea20597e5810 | f867d53c6f1b307d8f2d323a315974b418abd48d | refs/heads/master | 2021-06-09T14:09:16.186246 | 2021-05-17T14:17:14 | 2021-05-17T14:17:14 | 186,087,058 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | 1158A.cpp | #include<iostream>
#include<algorithm>
using namespace std;
int a[100005], b[100005];
int n, m;
int mn, mx;
void read()
{
int i;
cin>>n>>m;
mx = -1;
for(i = 0;i < n;i++)
{
cin>>a[i];
if(mx == -1 || mx < a[i])
mx = a[i];
}
mn = -1;
for(i = 0;i < m;i++)
{
cin>>b[i];
if(mn == -1 || b[i] < mn)
mn = b[i];
}
}
void solve()
{
if(mn < mx)
{
cout<<"-1\n";
return;
}
bool flag = false;
int i;
long long int ans = 0;
sort(a, a + n);
reverse(a, a + n);
for(i = 0;i < m;i++)
{
ans += (b[i] * 1ll);
if(a[0] == b[i])
flag = true;
}
if(!flag)
{
ans += (a[0] * 1ll);
ans += (m - 1) * (a[1] * 1ll);
}
else
ans += m * (a[1] * 1ll);
for(i = 2;i < n;i++)
ans += m * (a[i] * 1ll);
cout<<ans<<"\n";
}
int main()
{
read();
solve();
return 0;
} |
746fc7173a8702195d1e1c6c1f574b438b73f004 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Simulation/G4Extensions/Quirks/src/DummyEquation.h | e3e6326a5fe4be6c13d56d344d5b6f02f93297c1 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | DummyEquation.h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef DUMMYEQUATION_H
#define DUMMYEQUATION_H
#include "G4EquationOfMotion.hh"
#include "G4UniformMagField.hh"
#include "G4Version.hh"
class DummyEquation : public G4EquationOfMotion {
public:
DummyEquation();
virtual ~DummyEquation() {}
virtual void EvaluateRhsGivenB(const G4double[], const G4double[3], G4double[]) const {}
#if G4VERSION_NUMBER > 1009
virtual void SetChargeMomentumMass(G4ChargeState, G4double, G4double) {}
#else
virtual void SetChargeMomentumMass(G4double, G4double, G4double) {}
#endif
private:
static G4UniformMagField s_dummyField;
};
#endif
|
c5f28af1d7e7564194212d7ea766627eef95cdc1 | 521685507e5b26ec9be38b39a249bdc1ee638138 | /Qt/Components/pqGlyphPanel.h | f0e889b19e76ba6cc29cd78710c7cbe6b8ddc6d1 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | matthb2/ParaView-beforekitwareswtichedtogit | 6ad4662a1ad8c3d35d2c41df209fc4d78b7ba298 | 392519e17af37f66f6465722930b3705c1c5ca6c | refs/heads/master | 2020-04-05T05:11:15.181579 | 2009-05-26T20:50:10 | 2009-05-26T20:50:10 | 211,087 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,632 | h | pqGlyphPanel.h | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView license version 1.2.
See License_v1.2.txt for the full ParaView license.
A copy of this license can be obtained by contacting
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065
USA
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __pqGlyphPanel_h
#define __pqGlyphPanel_h
#include "pqAutoGeneratedObjectPanel.h"
class QAbstractButton;
class QCheckBox;
class QComboBox;
/// Custom panel for ArbitrarySourceGlyph and Glyph filters.
/// This panel is only provided to add capabilities to reset the scalar factor
/// for the glyphs when the scale mode, vectors or scalar selections change.
class PQCOMPONENTS_EXPORT pqGlyphPanel : public pqAutoGeneratedObjectPanel
{
Q_OBJECT
typedef pqAutoGeneratedObjectPanel Superclass;
public:
pqGlyphPanel(pqProxy* proxy, QWidget* p);
virtual ~pqGlyphPanel();
protected slots:
/// Called when the panel is modified, we update the scale factor if the user
/// hasn't locked the scale factor.
void updateScaleFactor();
/// Called when the panel is modified, we change the enabled flags on the
/// scalars and vectors fields to reflect which one will have an effect
/// on the output.
void updateScalarsVectorsEnable();
protected:
QAbstractButton *LockScaleFactor;
QWidget *ScaleFactorWidget;
QWidget *ScalarsWidget;
QWidget *VectorsWidget;
QComboBox *ScaleModeWidget;
QCheckBox *OrientWidget;
private:
pqGlyphPanel(const pqGlyphPanel&); // Not implemented.
void operator=(const pqGlyphPanel&); // Not implemented.
};
#endif
|
6cfb73e893705984d0d762bcb73e22a662012564 | e215239a69e405a9558ee61696074b4dcef6d4dd | /Plus-One/Plus-One/main.cpp | da9e63fe1fde7b16ee8c64e6dee725e06a9bf606 | [] | no_license | shreyarandive/Arrays | 71ed21de0fc1c4f613a16dfbde2f9931944813a6 | f992df9c3855fe69d84b8eaebb78e366c6d520dd | refs/heads/master | 2020-04-20T18:41:54.086749 | 2019-02-04T07:08:59 | 2019-02-04T07:08:59 | 169,027,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | main.cpp | //
// main.cpp
// Plus-One
//
// Created by Shreya Randive on 2/4/19.
// Copyright © 2019 Shreya Randive. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class PlusOneSolution {
public:
vector<int> plusOne(vector<int>& digits)
{
int carry = 1;
for(int i = digits.size() - 1 ; i >= 0 ; i --)
{
if(digits[i] + carry >= 10)
{
digits[i] = 0;
}
else
{
digits[i] = digits[i] + carry;
carry = 0;
}
}
if(carry == 1)
digits.insert(digits.begin(), 1, 1);
return digits;
}
};
int main(int argc, const char * argv[])
{
PlusOneSolution solution;
vector<int>digits = {8,9,9,9};
solution.plusOne(digits);
for(auto i : digits)
cout<<i<<" ";
return 0;
}
|
1f5adbaaa029ea718538e172703320db67e6fa04 | 082b362705c6c23f5f29dacdff7aa8bc397b6e37 | /GeoTempCore/libigl-static/include/hessian_energy.cpp | fa0b10a7d7db4fe300f312b80daf8b21a0dfde86 | [
"MIT"
] | permissive | interactivevislab/GeoTempPlugins | eeabb2728bedee96bd54fbfa75535e4fe1578794 | 5c650769cbdb22931fc0e221bd7a3233a56c202a | refs/heads/master | 2021-04-20T10:55:33.651759 | 2020-05-20T22:20:55 | 2020-05-20T22:20:55 | 249,676,605 | 9 | 0 | MIT | 2020-05-28T11:27:13 | 2020-03-24T10:21:23 | C++ | UTF-8 | C++ | false | false | 2,305 | cpp | hessian_energy.cpp | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2017 Alec Jacobson <alecjacobson@gmail.com>
// and Oded Stein <oded.stein@columbia.edu>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.
#include "hessian_energy.h"
#include <vector>
#include "hessian.h"
#include "massmatrix.h"
#include "boundary_loop.h"
template <typename DerivedV, typename DerivedF, typename Scalar>
IGL_INLINE void igl::hessian_energy(
const Eigen::MatrixBase<DerivedV> & V,
const Eigen::MatrixBase<DerivedF> & F,
Eigen::SparseMatrix<Scalar>& Q)
{
typedef typename DerivedV::Scalar denseScalar;
typedef typename Eigen::Matrix<denseScalar, Eigen::Dynamic, 1> VecXd;
typedef typename Eigen::SparseMatrix<Scalar> SparseMat;
typedef typename Eigen::DiagonalMatrix
<Scalar, Eigen::Dynamic, Eigen::Dynamic> DiagMat;
int dim = V.cols();
assert((dim==2 || dim==3) &&
"The dimension of the vertices should be 2 or 3");
SparseMat M;
igl::massmatrix(V,F,igl::MASSMATRIX_TYPE_VORONOI,M);
//Kill non-interior DOFs
VecXd Mint = M.diagonal();
std::vector<std::vector<int> > bdryLoop;
igl::boundary_loop(DerivedF(F),bdryLoop);
for(const std::vector<int>& loop : bdryLoop)
for(const int& bdryVert : loop)
Mint(bdryVert) = 0.;
//Invert Mint
for(int i=0; i<Mint.rows(); ++i)
if(Mint(i) > 0)
Mint(i) = 1./Mint(i);
//Repeat Mint to form diaginal matrix
DiagMat stackedMinv = Mint.replicate(dim*dim,1).asDiagonal();
//Compute squared Hessian
SparseMat H;
igl::hessian(V,F,H);
Q = H.transpose()*stackedMinv*H;
}
#ifdef IGL_STATIC_LIBRARY
// Explicit template instantiation
template void igl::hessian_energy<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1>, double>(Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::MatrixBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > const&, Eigen::SparseMatrix<double, 0, int>&);
#endif
|
328b329f8c40a26b61d57674f662bbbb0dfec727 | 84f4f1bee196c50ad91ed23fbc4bd76836b691c5 | /Deck.cpp | 5ee98280ad18cae3c19dae9358bf528358dfa874 | [] | no_license | mixy9/Memory-Game | 558d86f82095cad9f08f1fa5a7eb0d887bf8bd28 | fe946fe54d4dc09451fcaec5f503e3a786266267 | refs/heads/master | 2020-04-09T18:22:14.733691 | 2019-03-03T22:01:55 | 2019-03-03T22:01:55 | 160,510,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,199 | cpp | Deck.cpp | #include "Deck.h"
int Card::m_ID = 0;
Deck::Deck() :
m_rows(6),
m_numberOfCards(24)
{
}
void Deck::initialize()
{
const float spacing = Screen::screenWidth / 10.11f;
float posX = Screen::screenWidth / 3.5f;
float posY = Screen::screenHeight / 24.0f;
const sf::Vector2f topLeftPosition(posX, posY);
for (auto i = 0; i < m_numberOfCards; ++i)
{
m_cards[i]->setFrontSprite();
m_cards[i]->setBackSprite();
sf::Vector2f position(spacing * (i % m_rows), (spacing + (spacing / 3)) * (i / m_rows));
m_cards[i]->setPosition(topLeftPosition.x + position.x, topLeftPosition.y + position.y);
}
}
void Deck::addCards()
{
// Fill the deck
for (size_t i = 0; i < m_numberOfCards; ++i)
{
m_cards.push_back(std::make_shared<Card>(m_backSprite, i / 2));
}
}
void Deck::resetCards()
{
// Shuffle and hide all cards before starting a new game
for (auto& card : m_cards)
{
card->isShown(false);
}
this->shuffleCards();
this->initialize();
this->clearChoices();
}
void Deck::shuffleCards()
{
// Returns and counts a time point representing the current point in time and shuffles the deck
auto seed = std::chrono::system_clock::now().time_since_epoch().count();
std::shuffle(m_cards.begin(), m_cards.end(), std::default_random_engine(static_cast<unsigned>(seed)));
}
void Deck::clearChoices()
{
m_cardPick[0] = nullptr;
m_cardPick[1] = nullptr;
}
Card* Deck::clickCard(sf::Vector2f& mousePosition)
{
// Check if a card is clicked
std::vector<sPtr<Card>>::iterator it = std::find_if(m_cards.begin(), m_cards.end(), [&mousePosition](sPtr<Card>& card)
{ return ((card->setBackSprite().getGlobalBounds().contains((float)mousePosition.x, (float)mousePosition.y)) && (card->inactive())); });
return it != m_cards.end() ? (*it).get() : nullptr;
}
bool Deck::pickCards(Card* card, Player& player)
{
if (m_cardPick[0] == nullptr)
{
m_cardPick[0] = card;
}
else if (m_cardPick[0] != nullptr && m_cardPick[1] == nullptr)
{
m_cardPick[1] = card;
player.movesCounter++;
}
else return false;
}
bool Deck::checkMatching(Player& player)
{
if (m_cardPick[0] != nullptr && m_cardPick[1] != nullptr)
{
if (m_cardPick[0]->getNumber() == m_cardPick[1]->getNumber()
&& m_cardPick[0]->getID() != m_cardPick[1]->getID())
{
SoundManager::getInstance()->playSound(Resource::Sounds, Filename::matchedSound);
m_cardPick[0]->isShown(true);
m_cardPick[1]->isShown(true);
player.matchingCards++;
}
else
{
initialize();
m_cardPick[0]->isShown(false);
m_cardPick[1]->isShown(false);
SoundManager::getInstance()->playSound(Resource::Sounds, Filename::unmatchedSound);
}
std::this_thread::sleep_for(std::chrono::milliseconds(100));
clearChoices();
}
else return false;
}
void Deck::draw()
{
for (auto& card : m_cards)
{
card->draw();
}
}
void Deck::update(sf::Time& elapsedTime)
{
if (m_cardPick[0] != nullptr)
{
m_cardPick[0]->animateCardFlip(elapsedTime, false);
}
if (m_cardPick[1] != nullptr)
{
m_cardPick[1]->animateCardFlip(elapsedTime, false);
}
}
Deck::~Deck()
{
} |
7e0c354fe063a4555bc0d0651ff4996abdf70e41 | 865ce9523e1f7ed17491adac1b841fe2428ad041 | /2018-7/7-11/HDU1711.cpp | 7f46f2dad20a24a0dcf797509183b632042477c1 | [] | no_license | Hydrogen5/ACM | a1ed3139c287fbd90bdbe91adc45a9015e74664e | 7b19f253308793b176e8e942e0ae1d5d998d2057 | refs/heads/master | 2021-07-16T02:29:38.267256 | 2018-12-12T04:38:30 | 2018-12-12T04:38:30 | 129,661,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | HDU1711.cpp | //Number Sequence
//KMP模板,eeeeeasy
#include<iostream>
using namespace std;
int sa,sb;
int a[1000010],b[10010];
int Next[10010];
void getNext()
{
Next[1] = 0;
Next[0] = 0;
for (int i = 1; i < sb;i++)
{
int j=Next[i];
while(j&&b[j]!=b[i])
j = Next[j];
Next[i + 1] = b[j] == b[i] ? j + 1 : 0;
}
}
int main()
{
int N;
cin>>N;
while(N--)
{
cin>>sa>>sb;
for (int i = 0; i < sa;i++)
cin >> a[i];
for (int i = 0; i < sb;i++)
cin >> b[i];
getNext();
int ans = -1, j = 0;
for (int i = 0; i < sa;i++)
{
while(j&&a[i]!=b[j])
j = Next[j];
if(a[i]==b[j])
j++;
if(j==sb)
{
ans = i - sb + 2;
break;
}
}
cout << ans << endl;
}
} |
644ef01ac735e871f66b22cab5c96071cdf221a4 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_1483_git-2.6.0.cpp | b885cc561c543cc4b91f4369a993ce92be6380a9 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | git_repos_function_1483_git-2.6.0.cpp | static int get_hex_color(const char *in, unsigned char *out)
{
unsigned int val;
val = (hexval(in[0]) << 4) | hexval(in[1]);
if (val & ~0xff)
return -1;
*out = val;
return 0;
} |
d0e38c616f690a1dc12216a410415c560d752cae | a56252fda5c9e42eff04792c6e16e413ad51ba1a | /resources/home/dnanexus/root/include/TGLPolyMarker.h | 1d3a5373c34b4bb9b38a5943668fd202ec59d1ef | [
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"Apache-2.0"
] | permissive | edawson/parliament2 | 4231e692565dbecf99d09148e75c00750e6797c4 | 2632aa3484ef64c9539c4885026b705b737f6d1e | refs/heads/master | 2021-06-21T23:13:29.482239 | 2020-12-07T21:10:08 | 2020-12-07T21:10:08 | 150,246,745 | 0 | 0 | Apache-2.0 | 2019-09-11T03:22:55 | 2018-09-25T10:21:03 | Python | UTF-8 | C++ | false | false | 1,317 | h | TGLPolyMarker.h | // @(#)root/gl:$Id$
// Author: Timur Pocheptsov 03/08/2004
// NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these
// attic files for previous CVS history
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGLPolyMarker
#define ROOT_TGLPolyMarker
#include "TGLLogicalShape.h"
#include <vector>
class TBuffer3D;
////////////////////////////////////////////////////////////////////////
class TGLPolyMarker : public TGLLogicalShape
{
private:
std::vector<Double_t> fVertices;
UInt_t fStyle;
Double_t fSize;
public:
TGLPolyMarker(const TBuffer3D & buffer);
virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
virtual Bool_t IgnoreSizeForOfInterest() const { return kTRUE; }
private:
void DrawStars()const;
ClassDef(TGLPolyMarker,0) // a polymarker logical shape
};
#endif
|
f91526ded4aa8018fb4fe7271578907d4846d4ad | 7862b9c172b660d0e56a40d61eadb9c2c3fd4b68 | /AudioSampleD_1.cpp | 95444c08bee5ce57b105420931dfd716e93728a3 | [] | no_license | jeevy222/Key-Board | fb89eaeb7eaee2ee79a070ac59ec9005c2ff40d8 | 59329d320185c98c30c2a43a2eb13f782345df19 | refs/heads/master | 2022-01-19T00:31:13.337855 | 2019-05-29T03:30:00 | 2019-05-29T03:30:00 | 189,144,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,777 | cpp | AudioSampleD_1.cpp | // Audio data converted from WAV file by wav2sketch
#include "AudioSampleD_1.h"
// Converted from d_1.wav, using 11025 Hz, u-law encoding
const unsigned int AudioSampleD_1[3785] = {
0x03003B0B,0x776EAAD3,0xF0DA426C,0x24ECF5F3,0x554B3249,0x59A5CC3E,0x6771736D,0xF8F4E537,
0xD6DEECF4,0x9E4315D2,0x746C5D0C,0xC06A7576,0xEFF3F2EA,0xD1DCD9E1,0x60ABC5BF,0x7675736F,
0xEEDE5672,0xE5ECF1F2,0xE3E2E6E6,0x706604E1,0x69757472,0xF0F0E6B8,0xE4E4E6ED,0xC7E2E0DF,
0x74727062,0xCA627477,0xE7EBEAE4,0xE3E3E5E3,0x69AFE5E9,0x76757270,0xE7DE416F,0xE6E5EAEB,
0xEEEBE6E7,0x706C55E0,0x63747572,0xE8E4DEC8,0xE3E6E5E6,0xC0E9EFE6,0x73716E65,0xD3456F74,
0xE8EAE7E0,0xEFE7E8E8,0x6744E4F1,0x7374726F,0xE5DEC260,0xE7E6E8EA,0xE8F0E9E5,0x727062C0,
0x53707675,0xE9E6DDD0,0xE3E3E4E5,0x51DCEDEC,0x7673706B,0xD3146674,0xE7E9E9E0,0xF1ECE6E8,
0x6D60CBE9,0x70767472,0xE5D9CA54,0xE5E5E6EA,0xE0EEEEE7,0x726F653A,0x506C7576,0xE7E6D5A8,
0xE9E4E3E4,0x5BC4E6EF,0x7775726C,0xC93C6273,0xE5E6E9E2,0xF0F1EBE7,0x6E60B8E4,0x6B757572,
0xE8D7A854,0xEAE7E7EA,0xDAECF2F0,0x7470673E,0x4D667275,0xE8EBE2B1,0xF4F0E9E6,0x51D7EAF3,
0x7475736A,0xD2435E6F,0xE7E7EBE8,0xF0F3F3ED,0x7262B8E4,0x6E747675,0xE7D44962,0xECE3E1E5,
0xD4E8F0F1,0x76746E51,0x5A687175,0xE1E7E188,0xF1F0E7E0,0x5CD0E5EF,0x73747471,0xCE4F636D,
0xE3E1E6E7,0xEEF2F2EB,0x7267ADE3,0x6A717474,0xE7E0385F,0xEFE5E0E2,0xDBE9F0F1,0x74737054,
0x52666E72,0xE1E6E5D1,0xF1F1ECE3,0x65C4E7EF,0x71737372,0xE011626C,0xE9E3E5E8,0xEEF1F1F0,
0x746F4AE1,0x6A707375,0xE6E3CC55,0xF0EDE5E2,0xCCEAF1F1,0x74747263,0x34656F72,0xE3E5E5D9,
0xF2F1F0EA,0x6B40E4F1,0x71737473,0xDBB25D6C,0xEBE5E2E4,0xECF2F2EF,0x747160D1,0x67707374,
0xE3E0C94E,0xF1ECE8E3,0x2FE5F2F4,0x75747268,0x3B626D72,0xE3E1DDD0,0xF4F3EEE7,0x6D59D6EF,
0x70747573,0xD7B15668,0xEAE5E4E2,0xE9F4F4F1,0x736E60B9,0x636B7175,0xE1DAC54A,0xF3EDE5E2,
0x4ADEF1F5,0x74757166,0x39606970,0xE2E1E0D1,0xF5F5F0E8,0x6851D2ED,0x6E737572,0xDAAF5867,
0xEBE4E2E1,0xE7F3F6F3,0x756E5CC3,0x656B7175,0xDED9C352,0xF5F0E5E0,0x39DEEFF4,0x73757164,
0x3D626B70,0xE0DBD8CE,0xF3F5F3EA,0x6951D3EA,0x6B717372,0xCD045B67,0xEFE3D6D3,0xE3F1F4F3,
0x736F60B1,0x62686F73,0xD3CFC148,0xF5F2EADE,0x32E0F0F4,0x72747063,0x225A666C,0xE2D3CAC4,
0xF3F5F3EE,0x6A56CEE9,0x69707473,0xB4245665,0xF1E6D5C5,0xE5F1F4F4,0x726C5AC0,0x5E656971,
0xC8B9A942,0xF3F1E9DB,0x22DFEEF3,0x6F737062,0x405A6467,0xE1C9A51E,0xF2F4F3EE,0x674AD5E8,
0x656C7271,0x223B5362,0xF0E7D6B8,0xE7F1F5F4,0x726A59CC,0x5A62676F,0xCA9D2845,0xF4F1EBE0,
0x30E1EEF3,0x6F737062,0x3D556367,0xE3D3AC30,0xF1F3F2ED,0x6951D2EA,0x656C7272,0x91304860,
0xF0E8DDCA,0xE2EFF2F2,0x736E5EB1,0x54646870,0xD7C58735,0xF1F0ECE3,0x4AD5E9F1,0x6D737267,
0x27485F66,0xE7DDD1BB,0xEDF1F1EE,0x705EACE1,0x646A7174,0xCAA14458,0xF1EDE5D8,0xD6E9F1F2,
0x73726643,0x54616870,0xE1D3C130,0xF1F0EEE8,0x5AC4E3EE,0x6F74756F,0xB5455E67,0xEDE5DDCE,
0xEBF1F2F0,0x716430DD,0x64697175,0xD4B83457,0xF2F0EAE1,0xD0E6F0F3,0x73746A54,0x5262686D,
0xE4DAC331,0xF3F4F2ED,0x5DB5E3EF,0x6A717470,0x3A536267,0xF0E9DFCA,0xEAF2F4F3,0x746A4AD6,
0x696B7074,0xD1225361,0xF4F2ECE1,0xCDE6F1F5,0x72746F59,0x5B656A6C,0xE4D4B64A,0xF2F4F2EF,
0x673FDEEB,0x6A707372,0x495B6368,0xEDE4CF1E,0xEAF1F3F2,0x726A50D8,0x66686C71,0xC92C4D5F,
0xF5F2EDE2,0xCAEAF2F5,0x70726E5B,0x5463676A,0xE4D39944,0xF5F5F2EE,0x6940E1F1,0x6B707373,
0x4856626A,0xF1EADAB6,0xEBF4F6F4,0x74705CCF,0x63676970,0xC72D4F58,0xF6F3EFE2,0x21E4F2F7,
0x6F737265,0x5561686B,0xE6D19541,0xF3F5F3EF,0x7058D3EC,0x696D7274,0x404E5E66,0xF1EADBA9,
0xE7F3F6F4,0x747366AB,0x61686B71,0xD4944050,0xF7F4F1E8,0x51E0F1F6,0x6F74736C,0x525D696B,
0xE9D8124B,0xF4F6F4F0,0x6F61C5EB,0x6B6D7173,0x46515663,0xF0EAE1C2,0xE2F2F5F4,0x72716644,
0x5D686C6E,0xDAB44953,0xF5F3EFE7,0x58D1EEF5,0x6E72736D,0x5055626B,0xEAE1CD31,0xF3F7F4F0,
0x716488E5,0x6A6D7073,0xB64B5962,0xF2ECE6D9,0xE0F1F7F7,0x7272694A,0x626A6F70,0xDABC4359,
0xF7F4EDE5,0x5AD0ECF5,0x7071726D,0x5260676E,0xE7DCC92B,0xF3F7F5F0,0x70620AE5,0x6A6E7072,
0xA8455863,0xF3ECE1D0,0xD7EFF6F7,0x70716A53,0x5F676D6E,0xD5BC294F,0xF7F6F0E5,0x60B8E8F4,
0x6D6F706C,0x4B5A656B,0xE9D9BF35,0xF1F7F7F3,0x6E6547E0,0x6C6E6F70,0x2E485562,0xF5EEE0C4,
0xD0EDF6F8,0x706D6756,0x5F686F70,0xC53D4F55,0xF7F6F0E3,0x5E96E5F4,0x70706D68,0x515A636B,
0xE9D70D47,0xF0F6F7F2,0x696248D7,0x686F706E,0x42505661,0xF4EDE0C4,0xC6E8F4F7,0x706B6353,
0x5F676D6F,0xD1285157,0xF7F6F1E4,0x5994E1F1,0x70716E66,0x545A626B,0xEAD8B542,0xECF5F7F3,
0x6B6145D4,0x68707271,0x2F4F5B61,0xF7F1E3CB,0xC8E6F3F8,0x716D6451,0x5F646C71,0xD21B4955,
0xF6F7F3E7,0x5C10E0F0,0x70727069,0x565F656A,0xEEDCA84B,0xEBF4F8F6,0x6C6143D5,0x676C7171,
0x44535961,0xF7F2E3C2,0xC9E5F2F7,0x706D634A,0x5D63686D,0xD03F5257,0xF5F7F4E9,0x5C90DCED,
0x6B6F6F6A,0x585A6065,0xF0DC3153,0xE8F2F6F5,0x6B6348D4,0x62676C6E,0x535A5A5C,0xF7F3E6BB,
0xB3E2EFF5,0x6D6D685A,0x5D61666B,0xD5485C5D,0xF2F5F4EC,0x6347D5EA,0x686B6C6A,0x5F5D5E62,
0xF2E3A857,0xE5F1F5F5,0x6A6655C5,0x5F63696B,0x5060605C,0xF6F4EBD1,0x22DFEFF5,0x6969665E,
0x5E5B6064,0xE1235C61,0xF1F5F4F0,0x6151CCE7,0x62666966,0x63625D5D,0xF1E7CB54,0xE1F0F4F5,
0x68645912,0x5A5F6468,0x44616460,0xF4F2EAD7,0x4BCEE8F1,0x67696760,0x635D5C62,0xE2B35964,
0xEFF3F3F0,0x655895E0,0x61666A69,0x6166625E,0xF1E8D248,0xD7EBF3F4,0x6B675E39,0x6060656A,
0x9C596464,0xF5F3EEE1,0x47D0E7F2,0x6769665F,0x65635F61,0xE8D14E62,0xEFF4F5F2,0x5F4CC2E2,
0x5F636765,0x61676762,0xF2EAD73F,0xD5E8F1F4,0x6A655931,0x65626267,0xB9576668,0xF4F4EFE1,
0x43CFE5F0,0x6469685E,0x69676361,0xE6CC4C62,0xEAF1F3F0,0x624DB9DC,0x62626568,0x5B666865,
0xF2EBDB27,0xD2E5F0F2,0x66665B2C,0x65605D62,0xC3516266,0xF1F2EFE3,0x4CC8E0EB,0x61656763,
0x64656360,0xEBDA2C5A,0xE8F1F3F2,0x6355BDDF,0x62606365,0x51616665,0xF3EFE3C3,0xD6E5EEF3,
0x63645D3A,0x66646060,0xD53D5D65,0xF0F3F2E8,0x58ABDEE9,0x61636766,0x63676663,0xEDDFAC56,
0xE6EFF2F3,0x655F37D7,0x63616064,0x4E606565,0xF2F0E4C4,0xC4E2EBF0,0x5F636252,0x6664615E,
0xD5435C64,0xEFF1F1EB,0x5C25DBE9,0x605E6163,0x63676662,0xECE0215B,0xE4EDF0F0,0x616151CA,
0x635E5B5C,0x54636666,0xF1EFE5CA,0x1ADEEBF0,0x5B60625C,0x63625F5A,0xDB315D64,0xF0F1F0E9,
0x614FD1E7,0x5C5A5E62,0x6163615F,0xEEE5CC50,0xE1EEF1F1,0x62625AA0,0x61605E5F,0x3F606564,
0xF1EFE7D7,0x4DD3E9F0,0x61626361,0x66636261,0xE1C05664,0xF0F3F1EB,0x6156BDE4,0x61616161,
0x63686662,0xEEE4D149,0xE0EEF3F2,0x5B595294,0x635E5B5C,0x39606969,0xF2EFE5D3,0x3ED1E8F1,
0x585A5853,0x68645C57,0xDBB45364,0xEEF2F0E8,0x564BB3E0,0x5555595A,0x60686760,0xEAE0C64A,
0xD5E8F1F1,0x5C584F0F,0x645C5559,0x29586468,0xF1EDE3D1,0x33CCE2ED,0x565A5B52,0x67676158,
0xD6A45061,0xE9F0EFE6,0x563EC4DD,0x5C53565B,0x5A646764,0xEBE0C442,0xD7E4EDF0,0x56574AB8,
0x66615753,0x32546166,0xF0EFE6D2,0x11D4E3EB,0x52525551,0x6467645B,0xD80E525E,0xE6EBEDE7,
0x5346C1DC,0x60534D52,0x5B626665,0xEAE0BF4C,0xD7E4EAEC,0x50524BA6,0x65635A50,0x35566063,
0xECECE6D4,0x36CEE1E8,0x58515351,0x63666662,0xDFB5525E,0xE5EAEBE8,0x4C43BEDB,0x62594C47,
0x5D616364,0xE6E0C949,0xD0E1E6E8,0x4144482C,0x6060584C,0x07556060,0xE6E5E2D5,0x3BBCD9E3,
0x503D323E,0x615F5E5A,0xD9C3475C,0xDFE3E3E1,0x3E432BCB,0x5A55493A,0x5661605C,0xE2DCCE2E,
0xBCD9E3E4,0x34213635,0x5C57544C,0xC3445A60,0xE6E5E1D9,0x389ED2E2,0x52452930,0x60615B56,
0xDBCF3056,0xDBE4E5E1,0x41443FBF,0x5957554C,0x5260625F,0xE3DBD097,0xA8D5E2E5,0x49383033,
0x5F575150,0xBA475C61,0xE7E6E0D4,0x1592CBE1,0x504D4220,0x60615C54,0xD8C82152,0xD6E3E5E2,
0x3F0598BB,0x5853514F,0x43596160,0xE7E0D2B4,0xB1CFE1E8,0x504B3794,0x605A5451,0xC6234F5B,
0xE3E6E2D7,0x3F2DAAD3,0x5152534E,0x575F5E56,0xDBCBA545,0xC6DDE5E4,0x51493790,0x544A494F,
0x98475659,0xE7E2D7C8,0x05BFD5E3,0x51535040,0x5E5C544F,0xCEAF4256,0xE0E8E7DE,0x513BAECE,
0x56565959,0x5660615D,0xE2D2AB42,0xCDDBE5E8,0x544F35B5,0x5F565152,0x2A4B5960,0xE8E7DCC2,
0xACCCD8E3,0x52535142,0x60625E55,0xCE164555,0xE0E6E8E2,0x4905C8D5,0x5B535252,0x525E6362,
0xE5D7A445,0xD6E0E5E8,0x545035C4,0x615E5753,0x2B48535E,0xE8E8E2CD,0xB7D2DDE3,0x514D4D40,
0x59606058,0xD3804752,0xDFE3E5E2,0x3DA4CED8,0x5B514744,0x4A535C60,0xE6E0C736,0xD8E0E4E6,
0x4D462FC4,0x61625C53,0x2A4E545A,0xE3E4E1D1,0x93CFDCE1,0x5B535045,0x58606362,0xD8B64753,
0xDFE2E3E2,0x493ABAD4,0x615C524C,0x52575C61,0xE4E1D12F,0xD0DCE2E3,0x504538AE,0x6063635B,
0xBA46555B,0xE5E5E2D9,0xA8CDDCE3,0x60554737,0x5C606263,0xDBCA3754,0xE1E5E5E2,0x30ACC8D7,
0x61605749,0x4D5A6061,0xE4E0D4AE,0xD5E0E5E7,0x5035B1C8,0x6261605B,0xBB465A61,0xE5E5E0D5,
0xBED0D9E2,0x5F584B22,0x60646362,0xD7C43555,0xDFE4E5E1,0x41B4CCD6,0x62605D55,0x4E5D6364,
0xE6DFCE00,0xD5DDE3E7,0x5546A5CC,0x6564615C,0xB4455862,0xE6E7E3D5,0xC1D2DAE1,0x5D564E2D,
0x5F636462,0xE0CA3152,0xE0E4E7E6,0x33BBD0D9,0x625D544A,0x4E5A6163,0xE4E0D20F,0xD2DAE0E3,
0x55481FC1,0x6565635E,0xB04C5C63,0xE1E2E1D6,0xBBCBD5DD,0x5F564828,0x5F636362,0xDFD02453,
0xDFE4E5E3,0x26BFCFD6,0x62605A4E,0x44596162,0xE4E0D7C0,0xD4DBE2E5,0x5A47AACA,0x63636261,
0xC8315460,0xE5E6E2D9,0xD0D9DEE2,0x615C5195,0x59626362,0xDCD0AB48,0xE1E4E6E4,0x43C4D7DE,
0x66636058,0x44596266,0xE3E0D2B0,0xDBDFE1E2,0x5B4F93D1,0x66686662,0xC13E5460,0xE1E2E1D9,
0xCCDCE1E1,0x655D5024,0x5D646868,0xE0D12451,0xE2E1E1E2,0x33C0D6E1,0x69676152,0x46586166,
0xE1E2DDC5,0xE0E4E3E1,0x5228C2D3,0x62656661,0xD51F555E,0xE1E0E1E1,0xCDD6E0E3,0x655B42B7,
0x60636567,0xE0DAB752,0xE1E2DEDD,0x29C1D0D9,0x66676354,0x465E6365,0xDADBDCCD,0xD5DDE1E0,
0x5A40B7CB,0x63646563,0xD6A35662,0xE1DDD8DA,0xC7D2DAE0,0x6460509E,0x61646464,0xD5D6C74B,
0xDDE0DED9,0x29C7D1D6,0x62626055,0xAE586364,0xE0DCD8D5,0xD8DEE2E3,0x5B46C0D4,0x63616061,
0xD7CE3E5F,0xE2E1DDD9,0xCCD4D7DD,0x5D5B518B,0x5563625E,0xD6D4D0A6,0xD8DDDFDA,0x47BAD1D5,
0x605D5E59,0xC1435E63,0xDED8D5D1,0xD4D7DADF,0x5B5000CC,0x63635D5B,0xCBBD3A58,0xDFE0DBD2,
0xB0D1D7DA,0x5A5B594A,0x4F5F6361,0xD2C6BC15,0xDCDCDEDA,0x5110D0DA,0x635D5858,0xA1425962,
0xDDD7CCBF,0xDBE0DFDE,0x565441C8,0x6063625B,0xBB9E3551,0xDDDAD7CE,0x99D4DFDF,0x6057534E,
0x4C5A6364,0xD2BF1237,0xE1E0DCD8,0x4D3BCADE,0x62615851,0x0238515D,0xDAD7D0BA,0xD8E2E2DF,
0x544B42B0,0x5962635F,0xC6A82B47,0xE0DAD6D3,0x30C9DFE3,0x625B5046,0x3C515F63,0xD3D0BE0F,
0xE4E3DDD6,0x25A7C7DC,0x6060594A,0xAF314556,0xD6D2D2CB,0xCEE0E3E0,0x56451FAF,0x54606361,
0xC6B1394A,0xE0D5C9C8,0x9AC0D5E0,0x645F513B,0x48535D63,0xC2C3BB2A,0xDDE2DBCB,0x4406BDD0,
0x61646256,0xAB415058,0xD4C3C2C3,0xCFD9E2E1,0x5B4810C0,0x555D6263,0xCBC68249,0xE3DFD1C6,
0xB7CAD5DF,0x615E5028,0x3750575E,0xCBC8CCBD,0xDBE2E3DA,0x4596C0D0,0x5D616159,0xC9934A56,
0xDFD2C6CA,0xCAD6DFE1,0x60522CB9,0x515A6062,0xC7CCC235,0xE2E0D9CC,0xA6C4D2DD,0x61605743,
0x9149565D,0xD1C5C5C4,0xD7E0E1DA,0x5027BCCB,0x5E61625D,0xB1154A57,0xD9CCB8AF,0xC7D2DCE0,
0x5F543AB3,0x525A6061,0xBCBBAF37,0xE0E0D5C4,0xA7C6D1D9,0x60605743,0x8E46555C,0xD0C2C3C0,
0xD6DEE1DD,0x502DB9CB,0x5B60615D,0xC4B13F52,0xE0D5C4C1,0xC6D2DBE0,0x615841B0,0x4A575E61,
0xC5CBC99D,0xE1E2DED1,0x83C2D0D9,0x5E605B4C,0xC13A5258,0xD7CAC5CC,0xD3DDE1E0,0x563CB7C8,
0x5D606160,0x99AF3C56,0xDBD3BD08,0xC2CBD5DC,0x605A4B88,0x49595D5F,0xA415A598,0xD9DCD7C8,
0x2CC1CDD3,0x5B5D5C52,0xB421515B,0xD3C09EA5,0xD0D6DCDC,0x5746AAC7,0x585D5B5B,0x311A0C45,
0xD9D4C11E,0xC1CAD1D6,0x5A595126,0x24515C5D,0xBA99ACB3,0xD5D9D8D1,0x34C4D0D2,0x5A585551,
0xBEB73954,0xD7CCB6B1,0xD2D5DADC,0x544A9ECC,0x4E5A5C58,0x9AACB716,0xD9D8D0BA,0xBBCFD1D5,
0x5B57523F,0x1947595E,0xBC233011,0xD1D5D7D1,0x4A8CC7D0,0x5E5E5955,0x95A43453,0xD5C9AC19,
0xD1D2D3D6,0x534B25C7,0x42575D58,0xA7A1B4A5,0xD7D9D4C4,0xB2D0D3D4,0x5D565043,0xA332515D,
0xC8A62086,0xD3D4D6D4,0x4728C6D4,0x595F5A51,0x2A132449,0xD6D0BA22,0xD2D7D4D4,0x544530BA,
0x3E535D5C,0x22383024,0xD0D0D0C0,0x13C2D2D3,0x5D584E3D,0x19274656,0xD1BA292E,0xDBD8D4D4,
0x29B4C8D5,0x4955564B,0x2E98A824,0xD1D0C689,0xCDD6DAD5,0x564515B9,0x3748555B,0x89444636,
0xD4CCC4C1,0x13B7CCD4,0x5A5C5441,0x402E4152,0xC3BE2845,0xD3D6D2C8,0x4810B8C8,0x4F5A5E59,
0x3D453838,0xCBBFB9A6,0xC4D1D6D5,0x5B5336B2,0x193A535B,0xB68C3C39,0xD7D3C6BC,0x10C0CCD5,
0x565C584C,0x3212A042,0xC8C2BD93,0xD4DADAD3,0x502DC1CE,0x224F5A59,0x96343608,0xD1C2B3AE,
0xC1CAD1D5,0x5C55468A,0x300B3F56,0xB9B20837,0xD4D6D0C2,0x32B9CAD0,0x4859594E,0x262F8F8A,
0xC5B0A999,0xD0D3D5D3,0x543EA9C6,0x2A40565C,0xA21C3735,0xD5CFBAA2,0xB9CCD3D4,0x5E5D502B,
0x3D393D51,0xA0828630,0xD1D1D0C2,0x43A1C1CC,0x4A59615A,0x223C423F,0xCAB5180E,0xC1CDD1D0,
0x625636AA,0x42475661,0x1C96213D,0xD2CEC3A1,0xBAC4CDD2,0x575F583D,0xAD253144,0xC6B8B8C0,
0xD2D6D4D1,0x4BB2CACD,0x384C595B,0xB4B70A33,0xD0C7B7A8,0xCFCFD3D5,0x5D5525C8,0x41494C56,
0xAB9AA710,0xD5D4CBC0,0xC0D2D2D2,0x50595A46,0xA22A4449,0xBFB19A93,0xCED0D2CD,0x5520CBD1,
0x5052565C,0x23232543,0xCDC2A611,0xCBCAC7CC,0x5B5D50B1,0x304A5456,0xAAA19B80,0xCBCFCCBE,
0x26CFD2CD,0x56585A55,0xAD073D51,0xC9BCB5B4,0xD2CCCDCF,0x5748C0D4,0x48545858,0xB6B29B31,
0xD0D0C9BE,0xD1D8D3D0,0x59565116,0x15405158,0xC8BBB4AE,0xD4D1D0CF,0x43C0D7D8,0x565A5852,
0x9900374B,0xCDCBC3AC,0xD7D5D0CD,0x595131CB,0x47565D5E,0xBA801B2C,0xD1CCCBC8,0xBCD5DBD6,
0x5E5B5340,0x2E3C515A,0xCCC6B027,0xDED7D1CD,0x43B1D3DE,0x565D5C54,0x2A3D3C48,0xC5C1C0B4,
0xD8DFDBD1,0x5A5022C8,0x49535C5F,0xBC9F3E46,0xD7CBC1C0,0xBDD3DCDE,0x5D5C533D,0x42494E57,
0xC0C3BE81,0xDFDED4C6,0x43B7D2DA,0x53595C56,0xAA394D51,0xCEBFBCBE,0xD8DDDED9,0x594D90CE,
0x5255575B,0xB8B41C46,0xDCD5C4B6,0xC4D6DCDE,0x5B5A543B,0x3B51585A,0xB5AEB6A2,0xDADAD7CC,
0x4F96D0D8,0x5E5E5C59,0x04384F5A,0xD0B91E1C,0xD7DBD8D6,0x565036C7,0x535B5D5A,0x238E8140,
0xD7D3C9A6,0xC0D7DEDC,0x5B554E3B,0x2149585D,0xBA1E259D,0xDDD6D1CA,0x4604CEDB,0x5E5F5A53,
0x32244355,0xCBC19635,0xD8DFDBD3,0x534513C6,0x4A595E5A,0xA1211325,0xD7CFC7C0,0xC0D3DDDF,
0x5E56492C,0x263F545E,0xBEB11F2D,0xDEDBD1C5,0x3EA8CCD8,0x5B605B50,0x363A3B4D,0xC8BCB48E,
0xD4DBDDD6,0x534095C4,0x42535D5D,0xAD1E393B,0xDAD1C1B5,0xB3CDD8DD,0x5F5A4C30,0x40414B58,
0xAEA79234,0xD9DAD3C4,0x39A1C2D2,0x515C5D52,0x8D364044,0xD0BFAEAD,0xD0D8DCD8,0x5641ADC3,
0x4046545B,0xA6A2253E,0xDAD4C5B2,0xC2CBD4DB,0x585B4F0D,0x3543454F,0xBCAEA98C,0xD5DAD6CC,
0x3ABAC6CD,0x4D535955,0xA029424A,0xD2C4B2A6,0xCBD2D8DA,0x5A5087C5,0x484E5158,0x0815203B,
0xD8D5C8AD,0xB2C5C9D3,0x565B5945,0x3C4B5253,0xBA0B242F,0xCFD5D7D0,0x510AC6CB,0x4F525759,
0xA4903246,0xD4C6AE9C,0xCECFD2D6,0x57543FC1,0x404A5053,0x1B15132B,0xD1D3CAAE,0x0EC9CECC,
0x55585850,0x1F394952,0xC1032104,0xD1D0D3D1,0x5440C3D2,0x4D545758,0xB8BA9E3A,0xD9D4C5B7,
0xD1D6D5D6,0x59574CA6,0x334A5458,0xB5AEB4AA,0xD3D5D5CB,0x41C2D4D4,0x5B5D5C56,0xAD264854,
0xD2C3ADB0,0xD7D5D3D5,0x574CA7D2,0x4F575B5C,0x99A9923C,0xD1D2C9B2,0xC0D3D4D1,0x5F5D5542,
0x2849565C,0xC3A8A6AB,0xD3D0D1D0,0x4CA0D0D6,0x5A5E5E59,0xAA9C3E52,0xD1CCB89E,0xD8D9D3D1,
0x584F27CA,0x4254595B,0xBDB9C0A8,0xD4D3D3CC,0xC2D6DCDA,0x5B59523A,0x0140535A,0xC9B50F80,
0xDBD4CFCD,0x4AA4D1DA,0x585C5B56,0x939F264C,0xD0D0C8B1,0xD8DDD9D3,0x5A5235C6,0x41555E5E,
0xC3A6910C,0xD5CFCECD,0xA6D1DBDA,0x615F584A,0x1136515E,0xCBC8B998,0xDBD7D0C9,0x5134C6D7,
0x5760615B,0xB8912944,0xD0CDCFC8,0xD3DCDCD5,0x5C523DB7,0x384F5C60,0xCAC2AC19,0xD6CEC7CA,
0x0AC7D6DA,0x60605747,0x11364856,0xC3C7C5B6,0xDAD9D1C5,0x502FBFD1,0x535D615E,0xC09A3647,
0xCBC3C6C8,0xCBD6DAD6,0x61573EB2,0x47525A60,0xC3C2AB34,0xD7D0C0BC,0x96C4D1D7,0x5D605C4C,
0x973E4D56,0xBFC4C9C2,0xD7DAD6CB,0x5320C9D3,0x535A5F5E,0xC6B3344A,0xD2C4BCC5,0xD1D5D8D9,
0x605A47BA,0x46535A60,0xBAC2BB20,0xD7D4C9BA,0x21CAD4D6,0x5B5E5B51,0xB3334C55,0xC5BCC0C1,
0xD7D7D7D2,0x533BC1D4,0x51575A59,0xC2C0A63F,0xD2C9C0BE,0xCFD7D7D5,0x5D574B9E,0x344F595D,
0xB5B5B6A7,0xD6D2CBC0,0x36C4D5D9,0x5E5F5A51,0xB30B4456,0xC6BEBABB,0xDAD9D4CD,0x5442B3D2,
0x515D605C,0xB7B29437,0xCBC3C0B9,0xC4D5D8D4,0x60574A28,0x32495961,0xC0BEB6A0,0xD9D2C6C1,
0x2DBCD2DA,0x5F625D4E,0xAD234353,0xC1C1C1BE,0xD9DCD6CC,0x5434BDD0,0x515C6261,0xBDB02041,
0xD3C6C0C1,0xCED6DDDC,0x625B44B6,0x374B5760,0xC2C3BA98,0xDEDAD0C4,0x94CCD5DB,0x5D615F51,
0x93374854,0xC4BABCB7,0xD8DBDBD3,0x5A40C3D4,0x545C6161,0xB4A1354A,0xD7CDB9B2,0xD3D9DADA,
0x605B4BB5,0x4150575D,0xB3B0B115,0xDAD8D4C6,0x2ACDD8DB,0x5A5E5D53,0x94384D55,0xCEBBA3A2,
0xDCDBD8D5,0x5844BFD6,0x53595C5D,0x08832846,0xD5D1C5AA,0xD1DBDDDA,0x5B595000,0x3F50585B,
0xBB122A29,0xDCD6D2CB,0x43C1D7DD,0x5C5C5B56,0x393B4B57,0xCDC39935,0xDDDDD8D2,0x5349ADD3,
0x4F585956,0x2439383E,0xD4CEC6B7,0xCBDADFDB,0x56524D30,0x37445258,0xC0A0343A,0xDDD7D1C9,
0x45ADD3DD,0x585A5651,0x3D404250,0xCAC2B226,0xDDE0DBD4,0x51451CCE,0x45535957,0xA5313C3D,
0xD6CFC6BE,0xB6D5DFDD,0x5C564D3C,0x4347525A,0xC0B21E3F,0xDCD7D0C6,0x4A2FC5D8,0x575E5C54,
0x3142464E,0xC6C0B7A0,0xD3DCDAD1,0x554831B8,0x454F585B,0xB48B3441,0xD7CDC4BE,0x9CCAD9DE,
0x5D5B523F,0x42484E56,0xBCB49431,0xDDDBD2C3,0x4306C1D4,0x51575A54,0x233D474B,0xCCC0BBAE,
0xD1DBDFD8,0x574B1EBF,0x484F5459,0xBCAB293F,0xDDD3C4BD,0xBCCED7DE,0x56585236,0x41484E52,
0xB0A8A128,0xDBDED8C8,0x47A7CAD4,0x50535756,0x8533444A,0xD0B11494,0xD1D6DBD9,0x575132C2,
0x4E515356,0x2D152D44,0xDAD4C120,0xB1CED5D9,0x56585546,0x344A5153,0xA433290D,0xD7D8D6CB,
0x4D19C9D4,0x52535555,0x170F3F4F,0xD2C11D33,0xD2D7D8D7,0x54513CBF,0x47525353,0x34320227,
0xD7D3C8A4,0xA4CFD7D9,0x54535246,0x22405256,0xB3303E34,0xD9D7D3CA,0x4A2CC5D5,0x54555250,
0x40312D47,0xCBBA1F3F,0xD1D7D7D3,0x4C483AB7,0x384F5552,0x36413A28,0xD5D0C3A0,0x9DCCD7D9,
0x554E453E,0x35314654,0xBB1E3D40,0xDCDAD5CC,0x3781C7D7,0x52575346,0x44433F44,0xD0C39B39,
0xD3DBDCD7,0x4E3A16BC,0x454F5757,0x2D434845,0xDAD4C9B5,0xB1C9D7DC,0x57534114,0x46444852,
0xC0803D46,0xDBDCD6CF,0x1DB2C3D3,0x4B535348,0x46494644,0xD1C4A337,0xCFD8DCD9,0x4D34B1C2,
0x44485053,0x30434847,0xDAD3C6B0,0xB9C8D3DB,0x55534616,0x4C4A4A50,0xB91C414B,0xD8DBD6CC,
0x28B8C6D1,0x4B52534A,0x474B4947,0xD2C19739,0xD0D6DBDA,0x4F38B2C5,0x47474E52,0x31444C4B,
0xDBD5C8AE,0xC3CCD4DA,0x505143A0,0x4B48454A,0xB7244149,0xD6DAD7CD,0x36B5C5CF,0x4A51534F,
0x484E4D49,0xD1C0863B,0xCDD3D9D8,0x503DB4C8,0x4A474B51,0x36464D4E,0xDBD5C59D,0xC7D0D2D7,
0x4D504694,0x4F4C4747,0xAF30424B,0xD4D9D9CF,0x34C0CFD2,0x45494F4D,0x484E4E48,0xD4C02A40,
0xD2D3D5D8,0x5045A1CB,0x4D48484D,0x41464B50,0xD6D6CA81,0xC3D2D4D4,0x494E4A30,0x50504B47,
0xBA3A494C,0xD4D4D6D2,0x40B1D0D5,0x48464A4C,0x4C4D504F,0xD3C81646,0xD4D5D3D3,0x4B4722C6,
0x4D4B4546,0x3D4C4C4B,0xD0D0CDB6,0xB6D0D4D3,0x4145473A,0x49484946,0xC417464C,0xD5D2CFCE,
0x4286C9D4,0x49444245,0x4F4F4A49,0xCAC6AC41,0xD2D5D2CE,0x414232C0,0x47474542,0x2E4C514C,
0xD0CAC6BB,0xA5CDD5D4,0x443F3E38,0x524D4948,0xC1954552,0xD5D2CBC6,0x3081C4D4,0x46443D34,
0x4F545049,0xC6C2B037,0xCCD5D3CC,0x363029AF,0x48434340,0xA6405051,0xD3CCC8C2,0xA1C5D4D8,
0x3F372F21,0x504A403C,0xC3B42D48,0xD6D5CFC7,0x2E1AB4CD,0x40404037,0x43505148,0xC5BFB812,
0xC4D3D6D1,0x3B2E1EA6,0x4D423A3D,0xA03A4D51,0xD3C8BCB5,0x86B7CCD4,0x3F423D2D,0x5050483F,
0xB6B01B44,0xD2D4D0C2,0x3282B1C5,0x423A3D3F,0x334A504C,0xCBBEB6AB,0xBDCDD5D4,0x3E3C24A4,
0x4F473C37,0xB8A33C4C,0xD5D1C5BD,0x97B4C5D1,0x3A3A3C31,0x4C524E44,0xB8B2A533,0xCBD2D1C7,
0x3B29A8BF,0x4B41393B,0x21435051,0xD0C1AEA1,0xC2CBD2D4,0x34372AAC,0x52504338,0xAAA02D48,
0xD0D0C4AB,0x2FB4C5CC,0x42434643,0x47525249,0xB4181130,0xC5CDD3CE,0x3E3618B7,0x50484241,
0x29425053,0xCDC6B5A0,0xB7C8CECF,0x32363821,0x4E524B3A,0x07313441,0xD0D2D0C0,0x3A88C2CC,
0x4739383E,0x414D5352,0xC1833135,0xC6CACCCB,0x323104BA,0x5148392F,0x1F304350,0xD1CCC3AA,
0xA1C5D1D3,0x372D3231,0x4B535349,0xBF14333C,0xD2D1D1CE,0x3803C2CF,0x4D433B3A,0x2D3F4D51,
0xCEC6B702,0xC9D2D3D2,0x243937A7,0x5553462E,0x033B464F,0xD2CEC8BD,0x88C1D0D4,0x370B122A,
0x4D52534C,0xBA953845,0xD2D1CBC5,0x2D32A7CA,0x5245250D,0x444A4F53,0xC9C0A533,0xC1D0D3D1,
0x9F961D94,0x50504832,0x023E494E,0xD2CEC5BA,0x92B8CDD3,0x431AAAA1,0x4D505150,0xBB913646,
0xD3D5D1C8,0xA08EABC7,0x4B463594,0x42494C4C,0xCCBFA032,0xBDD0D5D4,0x91B4AEA8,0x4D4A4539,
0x3343494E,0xD6D0C2A1,0xB0B2C7D4,0x3F1CB2B7,0x4F504E48,0xA42C414A,0xCBD3D2C3,0xB0B0A5B6,
0x4E463B11,0x454D5151,0xCBB41C38,0xADC2D1D3,0x3592ADA6,0x51504C44,0x33434C51,0xD4D2C395,
0xB2B0BDCD,0x463918AA,0x4E51514D,0xBA223C46,0xC7D3D6D0,0xAAB6B6B9,0x4E463819,0x424A5051,
0xD5C89C36,0xBDC3D0D6,0x1AADB9BE,0x5150483D,0x243B434C,0xD5D7D1BC,0xC1C2C4CD,0x3A0EB2BE,
0x474D4E47,0xC4143F44,0xC5D0D4D3,0xBCC0BEC0,0x4A3F1AB1,0x47484A4D,0xD3CBAA3C,0xBEC1C8D1,
0xA0B8BEBE,0x50504936,0x33484D4D,0xCCD1CFBD,0xBAB9BDC3,0x4321B0B9,0x504F504F,0xC6084650,
0xC2C8D0D0,0xBDBEBCBC,0x4B452AB1,0x4F514F4C,0xCFCAB040,0xB7BCC3CB,0x9ABCC0BB,0x4D4A473C,
0x314C5251,0xC7CCCBBD,0xB8B2B4C0,0x422CB1BD,0x534F4947,0xC6A04451,0xBEC7CDCE,0xBFC0B7B4,
0x454234A3,0x5054514B,0xCEC9B43B,0xADB3C1CA,0x1CB4BEB7,0x4E45413A,0x1C495353,0xCAD0CFC3,
0xBFB5B2C0,0x3B2DA5BD,0x54514741,0xC8A74151,0xBBC8D0D0,0xB6C0BBB4,0x40362F8D,0x4F54524A,
0xCFC8B339,0xB6B3C0CB,0x83B3C0C0,0x50443728,0x21495354,0xC4CECDC0,0xBDB7AFB4,0x2F1AA2B7,
0x5351493C,0xC9B03C4F,0xB0BFCBD0,0xB3BEBCB2,0x3F2A109E,0x4551524B,0xD0D0C314,0xB5A7B3C5,
0xA0AEBABE,0x4D412B82,0xB5384C51,0xC3D0D3CE,0xB8B7AEB1,0x1D92A3B0,0x51504737,0xD0C03049,
0xA9B8C9D1,0xB1B6B8B1,0x3D1DA1AB,0x4350514B,0xCFD2C9A2,0xBAB2B3C3,0xABB2B7BC,0x50453193,
0xB8374D52,0xB4C5CFCC,0xB4B6B1A8,0x2398A4AC,0x53534D40,0xC9BB334D,0xA1A0B8C7,0xA5ACB1B0,
0x463480A3,0x48535551,0xBEC5C01C,0xB1A99CA9,0xA4ACAEB1,0x534C3D1C,0xB23C5055,0x97B4C4C6,
0xB5B3A996,0x19ADB6B7,0x50514A3D,0xC8C38345,0x9E94ACC0,0xBCBAB5AE,0x4122ABB9,0x334B504C,
0xC0CACBBC,0xB8B2AAB0,0xBBC1C1BD,0x4E4430A6,0xC69B434F,0xA5B5C5CC,0xB9B4ADA5,0x24A8B7BB,
0x4E514D41,0xC8C9B738,0x8A02A1BB,0xB8B7B1A1,0x47339EB4,0x244A5251,0xB3C3C8C0,0xAA94899C,
0xB5BAB9B4,0x524A3799,0xC4A54250,0x179EB8C4,0xB2A60420,0x21B0B8B7,0x4D524F42,0xC2C6BB31,
0x222095B4,0xBBB1A203,0x4526B1BC,0x9F435050,0xABBFC6C3,0x881E230F,0xBBBFB7A7,0x514C3AA0,
0xC6B8344C,0x239AB9C4,0xB1901D27,0x89BCC3C0,0x434F4D40,0xC5C9C49E,0x221E96B7,0xC2B6991A,
0x472DB3C2,0xB9334C50,0xABC1C8C8,0x272F2914,0xC1C4BC9F,0x504D3DA4,0xC7C10745,0x2793B7C4,
0xB1213333,0x11C0C7C3,0x3A4D5045,0xBCC3C2AD,0x3C3521A7,0xC5B71E39,0x4E38B3C5,0xB42E4A52,
0x95B5C0C1,0x36403C2E,0xC4C9C198,0x4F514498,0xC1BB9540,0x3A24A8BB,0xB0334242,0x29C0CAC6,
0x2F48504A,0xBFC3C1B1,0x433D27A9,0xCBBD2241,0x4D3EB3CA,0xBF9B3C4C,0xA4BEC6C6,0x39433F2C,
0xC5CEC6A4,0x474F4711,0xC5C0A633,0x3A0DB5C3,0xB4374645,0x3BB7CCCA,0x26434D4D,0xC1C6C4B4,
0x474025B0,0xCEC31B43,0x504700C7,0xBC843D4A,0x9DBAC3C4,0x3D484432,0xC1D0CBB0,0x444C4930,
0xC6C2B030,0x3A09B4C2,0xC41C4346,0x3EB1CDD1,0x063F494A,0xBFC5C5BB,0x453F24AC,0xD2CFB438,
0x4C451DC6,0xBF9F3848,0x9EB8C2C4,0x2B454534,0xB7CFD2C3,0x444B4836,0xC5C4B42A,0x3C80B7C2,
0xCEAA4046,0x4194C8D2,0x013E494A,0xC0C3C3BB,0x49452DB0,0xCFD0BD38,0x4A452EBD,0xC2B03245,
0xA3BFC4C5,0x0746493A,0xABC8D0C8,0x40484638,0xC5C3BA04,0x4624B7C3,0xCBB1414E,0x421EC0CD,
0xA0364749,0xC1C3C2BB,0x4B4C38AE,0xC5CBC030,0x494635AA,0xC0B31F41,0x9AC1C5C4,0xAB424C42,
0x92C1CCC9,0x3847483E,0xC3C0B590,0x4B32B7C3,0xC8B9374D,0x452AB6C6,0x9F32454B,0xC2C4BFB5,
0x464F439D,0xC5CBC48A,0x464534B1,0xBCB0113B,0x2ABFC8C5,0xB43A4D4A,0x9AC2CAC8,0x3242463D,
0xC6C0B292,0x5043A7C5,0xC7BA2C4A,0x4531B3C5,0x942E4149,0xC0C8C3B4,0x424F4B2A,0xC4C9C39E,
0x434538A7,0xBCA71034,0x41B0C7C7,0xB9304A4F,0x27BBC8C8,0x2E404743,0xC7C1AC08,0x504B2BC0,
0xC5BC2046,0x483E9AC1,0x93263945,0xB3C8C6B6,0x394B4C3D,0xBBC6C3AA,0x3F454221,0xC4B1822D,
0x4501C6CD,0xBB20444C,0x33B1C5C7,0x20334042,0xCDCCBE9F,0x4C4B38B9,0xC7C08541,0x413A94C1,
0xA921313B,0x9BC8CFC5,0x2A454B43,0xBDCAC9B9,0x3239391A,0xCDBB0F2B,0x4830C0CF,0xC103414A,
0x32AAC5C9,0x3133383B,0xCAD0C498,0x4C4D42A6,0xC6C29740,0x3D3D25B8,0xB8283738,0x1FC4D1CE,
0x30464A45,0x99C1C5B6,0x3A3A3E37,0xD1C48437,0x4735B6CE,0xC0804149,0x3D2BB3C4,0x35403D3C,
0xC5D1CBB1,0x484A418C,0xBFC2AF36,0x3A3A3592,0xC31D4040,0x25BDCED0,0x07404742,0x21B5C3BF,
0x403B3635,0xD1CCB334,0x4636ADC8,0xC3AE3747,0x3730A0C0,0x2842423D,0xC0CDCEC0,0x42474113,
0xB7C4BE17,0x40363115,0xCAAB3B44,0x32B4C9D0,0xA03E4846,0x29A1BEC0,0x4B494035,0xCBC9B23D,
0x4B4210C0,0xC0B43248,0x383015B2,0x06444A43,0xB6C9CEC5,0x434D4730,0xA3BDBE86,0x473B2E21,
0xCBB63748,0x39ACC6CE,0xB1364A4A,0x2308B2BE,0x444A4231,0xCFD0C507,0x4B4292C3,0xBBBB0744,
0x3C2818A2,0xB13D4B49,0xBACACFCA,0x3147462B,0xA2B6C0B4,0x4C422692,0xCDC12547,0x41A0C5CD,
0xBA10444B,0x01A3AEBA,0x44504B3A,0xCACCC496,0x48472EBC,0xB1B9AF35,0x4014A8A9,0xB8334A4C,
0xAFC8CEC9,0x0D42493D,0xB1B0B6B7,0x4C462EA7,0xCFC49941,0x4381C6D0,0xB6AC3346,0x94B4B3B2,
0x374A4C3E,0xCDD0C7B0,0x404634BB,0xB4B3B207,0x4113B7BA,0xC3923F48,0xA7CAD2D0,0xA2324440,
0xBAB6B1B0,0x494A3AA5,0xD1C8AB39,0x452EC1D0,0xABA62040,0x22B4B8B2,0x2E454B44,0xCAD0CBB8,
0x354440A5,0xB7A99F0B,0x4736AABC,0xC4904049,0x25C3D1D1,0x162F4042,0xB6BAAA88,0x474A421B,
0xD1C9AE36,0x4039AFCC,0xA5861A33,0x32ADBDB8,0x29434946,0xC3D1CEBC,0x27383C1A,0xBCAF811A,
0x494000B8,0xC502414A,0x33B1CBD1,0x242A323A,0xAABBB694,0x474B4531,0xD0CFB935,0x383812C2,
0xA0293435,0x3893B7B7,0x89424945,0xB3CBD1C7,0x3C39372A,0xB7AB2138,0x483E20B0,0xCEBB3648,
0x2F97C3D0,0x34403F38,0xA2B5B200,0x454B432D,0xCBD0C601,0x3B2D89BA,0xA3293E41,0x3882B0B4,
0xB83B4C48,0xB7C7D0CE,0x403C289D,0xB3B00136,0x4C421DA9,0xD0C61546,0x82B3C2CC,0x2B3E4136,
0xA7B3B19F,0x3A4B4832,0xCCD1CEB8,0x3C16B7C4,0xA21F3941,0x428DB5B1,0xC421484E,0xC1C8CECF,
0x3E4132A7,0xB9AE902C,0x4C482DB3,0xCFCAB03F,0x81BDC8CD,0x2E3D423B,0xA2BAB385,0x26484C3E,
0xCBCECDC1,0x402FB1C4,0xA61E3340,0x4726B6BA,0xC5A7414D,0xBAC6CBCB,0x4044401B,0xB8AF1F36,
0x4B4D409B,0xC9C7B732,0x38A7C2C8,0x36404445,0x2FB0B20E,0x1245504A,0xC8C9C7BE,0x423E0DBF,
0xB120383F,0x514299BA,0xC1A33F50,0xB0C5C9C7,0x41424031,0xAFB11839,0x49514B32,0xCCC4B330,
0x32A7C6CE,0x3241423E,0x4386B3A1,0x96404F50,0xCDD0C9C0,0x40348CC0,0xB1223E43,0x50482BB2,
0xC3AE3248,0xB3C8D0CD,0x40403820,0xA9BCAA31,0x3D4A4A3A,0xD1CBBE8F,0x25A9C3CF,0x133A4038,
0x4626B4B5,0x963A494E,0xCAD1CEC1,0x3E2E9DBD,0xB6A83140,0x4C4A3D96,0xC8B22E43,0xB2C4CDD0,
0x3E433A1B,0x2BADB214,0x424B4D45,0xCFCBBC23,0x33A0C0CA,0xA3344443,0x47398FB2,0xA03B474B,
0xC6CCCDC4,0x463F12B8,0xACB01540,0x4B484022,0xC6B33346,0xA8C1C9CB,0x32454534,0x2DA1B2A4,
0x40494841,0xCCCAC18A,0x3F90C0C8,0xB2853B45,0x413089B0,0xB42D4447,0xC8CDCCC6,0x414227BA,
0xA8B2AC24,0x4744350A,0xC8BE813E,0xA8C6CDCC,0x9435423A,0x219EABAE,0x2F44463D,0xD0CDC6B3,
0x4220C2CF,0xAEA42540,0x44309CAC,0xBA1E4248,0xCAD0CEC7,0x3E453CAE,0x98960028,0x494A4126,
0xC9BF993B,0x28C2D0D0,0x23394545,0x3294A490,0x2A444A45,0xD1CDC3B2,0x4237B4CD,0xA102263A,
0x4C4124A1,0xB421424C,0xC3D0D0C5,0x39434322,0x85A38A28,0x484D4736,0xC7B89037,0x3AADC9CF,
0x1C333F43,0x3F1EA29E,0x2D434C4A,0xD0CEC2A7,0x40401AC3,0xB1A22136,0x494121AB,0xB6153946,
0xBED0D2CA,0x2A35361E,0xA1B3AF8B,0x41474433,0xD1C29C31,0x29B2CCD4,0xA2213336,0x3B85B4B4,
0x283B4344,0xD1D3CAB0,0x37309DC4,0xB6AA1A33,0x46422FAA,0xBD243C43,0xB4CBD3D0,0x353C3925,
0x09B1AE14,0x4446453C,0xD1C5013E,0x339CC3D0,0x93313D3E,0x4231A2B0,0x36454646,0xCBD1CCB3,
0x403817BA,0xB3AC223A,0x43403392,0xC1224246,0xAEC5D0D0,0x323F3C2A,0x18B1B7A0,0x47464037,
0xD1CAAD3C,0x329CC0CD,0xAC243C3E,0x382B9BB3,0x2B444741,0xC6CECDBD,0x403917B5,0xAAB39036,
0x453B3017,0xC8A53E48,0xAFC4CDD0,0x30403F2B,0x2980A9A0,0x474A4236,0xD0CEBC32,0x3498C0CB,
0xA5143940,0x40332493,0x94424B48,0xC6CFD0C6,0x424025B4,0x14950934,0x4C44382A,0xC8B13A4B,
0x90BEC9CD,0x2A40443A,0x2E1D0084,0x454C473C,0xCDCBC01D,0x3E18B9C7,0x9F893140,0x42311592,
0xA43F4C4C,0xC4CBCCC5,0x373F30B0,0x95A3A116,0x4E48381E,0xC8B63249,0x85C0C9CC,0x9C273A38,
0x0FA8AEAC,0x404A483B,0xCECDC49E,0x3827B4C7,0xB2AA8030,0x4329A8B3,0xB038494C,0xC4CDCDC6,
0x21332FA5,0xB3B3AD9D,0x4B48379A,0xC9BD1843,0x22B8C9CD,0xA6103036,0x0DB4BAB3,0x37484940,
0xCDCCC3A8,0x3D369CC3,0xB0A01B33,0x493892B1,0xB629454E,0xBBCBCEC7,0x21323413,0xABB3AB92,
0x4D4E4326,0xCABC1442,0x24B0C6CE,0xA40F2831,0x34A5B8B5,0x3A494E48,0xCBCDC3A1,0x313181BE,
0xB3A60C28,0x4D411AB0,0xB82C454E,0xB4C9D0CB,0x21313221,0xB2BBB59F,0x484B4427,0xCFC4A23A,
0x25A3C2CE,0xAE01282F,0x39A0BBBB,0x32464B48,0xCBD0CAB4,0x2D2695BC,0xBBB29223,0x4C4427B2,
0xC01D434B,0xB1C5CFCE,0x2F332F13,0xA1B6B106,0x474A4534,0xD0C9AB39,0x28A0C0CC,0x902D3635,
0x4027A8B0,0x2B444A48,0xC3CCCBBB,0x363118B0,0xB4AF1633,0x4A44339E,0xC490414A,0xA0BEC9CC,
0x333C3829,0x1BA9AE82,0x474A473C,0xCDCAB832,0x3090B8C6,0xA623383B,0x43319BB0,0x0B444C4B,
0xC1CACCC2,0x3D3924AA,0xAEB08733,0x4E483B13,0xC6AE3C4C,0xA7C0C8CC,0x1F363827,0x24A9B4A9,
0x48504C41,0xCAC8B92D,0x2E98BBC6,0xB4992B35,0x442CA7B7,0x85414D4E,0xC3C8C8C0,0x323313B4,
0xB7B9AC19,0x4E4936A0,0xC4B23147,0xA6C1C8C9,0x912C3329,0x0BB5B9B2,0x404A4A40,0xCAC6BB09,
0x2A90BAC7,0xB9A8152D,0x4429B2BD,0xA8304449,0xC4CAC9C1,0x2C2E16B2,0xB8B8A913,0x48483C93,
0xC4B32140,0x9DBEC9CB,0x152E3229,0x35A8B7AD,0x404A4E48,0xC8C4B227,0x3521AEC2,0xA8213639,
0x4E4425AB,0x013C474E,0xBEC8C8BE,0x373425A2,0xA7B6A42B,0x4B4D4734,0xC3A53746,0xA3BBC6C9,
0x92303220,0x3B97BAB8,0x40484A48,0xCAC8BB1D,0x2A97B6C4,0xC0B31D32,0x47401EB8,0x9E3A4649,
0xC1C8CBC3,0x303003B3,0xA9BFBB96,0x48474231,0xC7B52D43,0xA8BFC6CA,0xB2243527,0x3789B9C0,
0x42494943,0xC6C5BA20,0x3500B8C3,0xBEB98635,0x443A20B0,0xA6374649,0xC2C6C6C1,0x2E3A2BB0,
0x96B6BBAB,0x49474030,0xC4B72242,0x97C0C7C7,0xB6823535,0x3288B2BB,0x37464741,0xC9C5BFA1,
0x3A26B7C7,0xB4B6A230,0x473D269F,0xB0294349,0xC2C9C7C1,0x18373697,0x86ADB5B0,0x4A4A4331,
0xC1B11E40,0x25B6C7C8,0xB39F2D37,0x3A1AA6B2,0x3A484D48,0xC9C3B216,0x3331A2C3,0xB4B4AD10,
0x4A4021A8,0x8C33434B,0xBCC9C8BC,0xA0263110,0x9CB1B5B2,0x474A4531,0xC3A72E3F,0x26AFC5CA,
0xB6AD082E,0x3C01B3B8,0x3D454A49,0xC8C6B426,0x262D8DBE,0xB7B5B098,0x474227AD,0x003A4347,
0xB0C5C9C0,0x9E213024,0x9AB7B8B1,0x494A473A,0xC3A43845,0x2B94BDC7,0xB6AA8826,0x3D14B6BD,
0x40454544,0xC6C8BC21,0x132404B7,0xC0BDB19E,0x44402CAF,0xA03B4646,0xA7C1C9C3,0x9C0C201D,
0x0CB6BCB3,0x47454239,0xC7B63044,0x1A94B9C6,0xBAA88115,0x3B26B0BF,0x3B454441,0xC3CAC49F,
0x878393B1,0xBAC0B59F,0x413B3196,0xB82C4345,0xABBFC9C8,0xB1989099,0x1CB1C0BE,0x46443D34,
0xC9C18740,0x9CAAB9C5,0xBEB5A08A,0x382C91B6,0x37474942,0xC0C7C5B0,0x11119DB1,0xB1BEBBA6,
0x48403111,0xBD24464C,0xADBAC4C7,0xB1091D91,0x21A3B9BE,0x4B4B4436,0xC6C3A53E,0x17A3B6C1,
0xBDB9A021,0x3C2890B1,0x26454B47,0xC0C5C6BC,0x032194B4,0xA4B7BDB3,0x4D443620,0xC099414D,
0xAABAC2C4,0xBFAD1712,0x23A0B6C0,0x4B50483C,0xC2C1AF37,0x1A9CB6C0,0xB8C0B795,0x45361AA6,
0x1744504F,0xBDC1C1B8,0xB0080EAD,0xA0B4BFBF,0x514A3C23,0xBB993F4E,0x95B7C0C1,0xBDB59220,
0x2C94AEB9,0x48515043,0xC2BFB12D,0x1B1AABBE,0xB5BCB9A8,0x493605A8,0x17425051,0xB5C0BDB2,
0xB38D2385,0xA8B4BBBD,0x514E4017,0xB99E3549,0x16ACC0C1,0xBFBBAD10,0x2AA9B6BB,0x434F5046,
0xC3C0AD28,0x96179BB9,0xBCBCBBB3,0x4A37A3B9,0x8A38484F,0xB0C0C2B8,0xB6A60F06,0xB9C0BFBB,
0x4D4D4109,0xC0A83044,0x1698B8C2,0xBAB3A98A,0x35ABBFC0,0x404A4E48,0xBAC0B322,0x981519A2,
0xC1BCB2A8,0x4C4114B9,0x933B484E,0x84B0BEBA,0xA99E8B13,0xAEC1C1B7,0x4E4E4733,0xB9A93246,
0x081692B2,0xC0B0988C,0x3B94BEC4,0x414B4E48,0xA2B4B218,0x8A880309,0xC6C5BBA4,0x4A401CB8,
0x9A38494E,0x090BA3B1,0xB1860689,0xAFC3C8C3,0x4D4C442E,0xADAD2443,0x86958695,0xC6BCA011,
0x389ABEC7,0x394A4E48,0x009BAB94,0x10158F90,0xC5C7C2AE,0x4A4015B8,0xA526444D,0x989A9AA6,
0xB6002513,0xB2C3C7C4,0x484B4328,0xA4AA9338,0x1F8FA2A2,0xC7C0A81A,0x34A7C1C8,0x19414A46,
0xABACAEAA,0x88200EA3,0xC7C8C3B4,0x483E8ABE,0xAB953345,0xA0B0B2AF,0xBCA51213,0xB6C5C9C6,
0x3F47442A,0xAFA79A23,0x2210A4B0,0xC8C1B004,0x3CA3C3C9,0x18354447,0xAFB1A899,0x9F191B99,
0xC7C8C3B6,0x474428B9,0x04233341,0x1A9EABA3,0xBBA41926,0xA0C4C9C5,0x4147483F,0xA2092B37,
0x2F2D179E,0xC7BDA41E,0x452EB9C8,0x3C43474A,0x0997092F,0x172C3027,0xC5C9C2AC,0x464537A9,
0x1B344044,0x270F9D9C,0xB604292D,0x80C0C9C6,0x4143443C,0xADA02438,0x241D86A6,0xCBC2A81C,
0x3C22B8C9,0x303C4041,0x9CABA982,0x0025210E,0xC5CDC8B8,0x3F3B2CAE,0xA31F353D,0x119AA9AF,
0xC1A22425,0x08BCC9CA,0x3D403F36,0xA8A41233,0x2B218AA2,0xCBC6B318,0x3C2BADC4,0x2A3C4141,
0x9CA5A694,0x882E2C12,0xBBC7C7BB,0x43413582,0xA4163641,0x19A1ACAD,0xC4AF212C,0x25B0C3C9,
0x4043423B,0xA49D0C31,0x312F10A1,0xC7C6BA0A,0x3E309DBF,0x27394243,0x9BA8A283,0xAA2A3222,
0xB9C7CAC4,0x4340338A,0x9C14303E,0x2B82A6A7,0xC8BD8430,0x1BB2C3CA,0x39414138,0xADA50129,
0x1D2A13A5,0xCACCC6B2,0x3B24ABC1,0x152E3A40,0x94ACAB9E,0xBB023029,0xB6C4CAC8,0x41413602,
0xA1082A37,0x3423A0AA,0xC8C1A52E,0x31A4BEC6,0x3B434542,0xA19F122E,0x23383416,0xC3C7C4B3,
0x433786B7,0x2A384144,0x32039C06,0xB8163B3E,0xA6BDC3C3,0x44454230,0x01263640,0x423E2B00,
0xC4BE9E36,0x378FB9C2,0x3F444543,0x0F951A34,0x223E4134,0xC1C5C3B5,0x423C22B1,0x20353F42,
0x3C259D9C,0xBEA13441,0xA2BDC4C4,0x41423F30,0xA483303B,0x3D40328E,0xC6C2B322,0x3199BBC5,
0x353C3F3B,0x14A6A31D,0xA1323E37,0xC5C9C7BF,0x393185B8,0x952A383B,0x3C2F94A7,0xC5B51B39,
0xB3C4CBCB,0x3937300C,0xA8A80B31,0x2E393411,0xCCC8BFA1,0x24A5BFC8,0x26383B35,0x2F92AA9D,
0xB124393B,0xC2C9C9C3,0x3F3417B0,0x98203740,0x423F2F8A,0xC2B1243D,0x90B6C3C6,0x40433F30,
0x22901133,0x35414138,0xC7C5BC93,0x3384B4C2,0x22394140,0x3D2D8394,0xAD293F42,0xC1C6C7C1,
0x403712B3,0x97872C3C,0x41403418,0xC4B98736,0xABBFC5C7,0x313B3925,0x28919C10,0x3040423C,
0xC7C5BEA3,0x3099BAC4,0x9224363A,0x4034119E,0xB40D3741,0xC2C7C7C2,0x363312B3,0x9AA2012B,
0x3D413A24,0xC6BEA42B,0xADC1C8CA,0x26343524,0x34129B88,0x17364141,0xC8C6C0AF,0x3182B7C4,
0x921D3136,0x44402C8A,0xB30F3541,0xC2C9C9C3,0x34321AB0,0x1399062A,0x40434236,0xC4B78B32,
0x9ABBC6C8,0x2534362D,0x42300186,0x33414647,0xC7C5BB98,0x341BB1C1,0x03203339,0x47443B24,
0xB1223C44,0xBFC6C8C2,0x323220A9,0x30018E22,0x41464541,0xC6BC9533,0x86B6C4C8,0x0C2C332E,
0x43392290,0x253D4446,0xC6C7C2B0,0x2E18AEC0,0x92A1092A,0x45443C2A,0xBC953542,0xBEC6C9C6,
0x04241CA6,0x330FA4A4,0x40454540,0xC7C1AE29,0x82B4C3C8,0xA3952026,0x433B2892,0x92374446,
0xC8C9C5BB,0x1E13ACC1,0x08A2A58F,0x46453F30,0xC1AF2941,0xBAC6CBC8,0x9E03149E,0x392590A2,
0x3D474844,0xC9C3B318,0x10ACC2C9,0x9AA09015,0x48413214,0x8A36454A,0xC6CAC5B8,0x00109EBA,
0x238B9D98,0x494A4438,0xBFA32F42,0xB0C2C8C7,0x9D91078D,0x3F2D0C98,0x3B464B48,0xCBC5B41B,
0x98ACBFC8,0x939E9E97,0x49433419,0x8D354349,0xC5CAC8BC,0x9B9BA9B9,0x23909B9E,0x4648453A,
0xC4AB2D40,0xB4C1C8CA,0xA3A1A0A6,0x412C91A3,0x3B444847,0xCAC7B916,0xA2ADBBC5,0x9FA1A09F,
0x4A463A1B,0xA3354348,0xC2C8C9C1,0xA1A4AAB5,0x2D97A6A3,0x484A4841,0xC4B32B42,0xB0BBC5C8,
0xA7A2A3A6,0x443608A7,0x3C474A49,0xC7C8BF90,0xA3ABB6C1,0x9EAAA59F,0x4A47402A,0xB1304449,
0xBFC5C8C4,0xA4A4ADB5,0x3192AFAE,0x46484641,0xC7BD033D,0xB5BDC3C8,0xB2AFA8AD,0x42381EA8,
0x30434746,0xC5C7C3B0,0xAEB4BBC1,0xA3B5B6B1,0x47433A27,0xBB103E46,0xBEC3C6C5,0xB1A8ACB6,
0x3619AAB4,0x474A4842,0xC4BFA038,0xAEB9C1C3,0xB3B5ADA4,0x453C289C,0x2A444B4A,0xC2C3C1B2,
0xACA9B4BF,0x03AFB8B6,0x4D484132,0xBA913D4A,0xB9C1C3C2,0xB7B1A5AB,0x3B24A1B4,0x474F4D46,
0xC1BCA832,0xA7B3C0C2,0xABB5B4AC,0x48403108,0x1D414B4D,0xC1C1BDB2,0xB1A6ACB9,0x249EB2B5,
0x504D4539,0xB592394A,0xB1BDC1BF,0xB3B1A7A2,0x3F2E02A9,0x454F5049,0xC1B9A52D,0xA4A9B8C1,
0xA4B3B4AE,0x4C433315,0x123D4B50,0xBFC2BFB1,0xB2AAA8B3,0x2595ADB4,0x4F50473B,0xB99F3145,
0xAEBAC2C2,0xB5B6B1A8,0x412C91AD,0x404C504C,0xC4C0B021,0xB1ADB6C1,0xAEB6BAB7,0x4F45328F,
0x9036474F,0xBDC4C3B9,0xBBB5B0B2,0x0EABB6BB,0x4B4F4A3A,0xC1AF2741,0xB0B8C2C5,0xB9BCB9B3,
0x4328A4B3,0x37464D4D,0xC4C4B989,0xB7B2B4BF,0xB0B6BABB,0x4E483691,0xA231424A,0xB7C1C3BE,
0xBAB8B3B1,0x1BACB4B7,0x484C4A40,0xC0AF2640,0xB0B2BBC2,0xB6B8B9B5,0x4531A2B4,0x36444A4B,
0xBFC1B88E,0xB7B3B0B6,0xB0B5B6B8,0x4D4A4018,0xA432434A,0xADB7BFBB,0xB4B5B2AB,0x30A7B5B5,
0x474B4B44,0xC0B5163D,0xAFABB4BD,0xB7B3B2B2,0x483C81B4,0x33444A4C,0xBCC1BEA6,0xB5B5B1B2,
0xB0BBB9B5,0x4B4A4227,0xBA083D47,0xB2B9C2C3,0xB6B4B5B3,0x3896B8BC,0x464B4B46,0xC2BFA435,
0xB6B5B6BE,0xBCB9B4B4,0x484126B0,0x2641494B,0xB5BEBFB1,0xB2B4B4B2,0x9DB8BBB5,0x4C4A4435,
0xB8853C48,0xB2B2B9BF,0xB7B1B0B2,0x3E1FB2BB,0x454C4C47,0xBCBDA932,0xB2B3B2B5,0xB9BAB3AF,
0x494332A0,0x113E484B,0xB3B9BDB5,0xB1B0B3B2,0x12B3BCB8,0x4C4B463B,0xB8A13546,0xB2B1B3B9,
0xBAB2ABB0,0x412CA7BA,0x434C4D48,0xB5B9B027,0xA9B1B2B2,0xB5BCB6AB,0x4A433682,0x9939484C,
0xB4B5BAB8,0xB3A9AFB3,0x1FAFBCBC,0x4C4C463C,0xB9B02743,0xB0B4B5B7,0xBEB7A9A5,0x412CA4B9,
0x3D4A4D49,0xB7B8B58E,0xA1A6B2B6,0xB3BDBCB1,0x4C453706,0xA531464E,0xB2B4B4B4,0xB5A394A5,
0x1EABBABD,0x4A4C463A,0xB4AF123F,0xA0B0B5B5,0xBFBCB1A0,0x402BA1B7,0x32464D49,0xB8B5B19D,
0xA89DA9B5,0xB7C0C0B8,0x494128A2,0xB00F3D49,0xB3BABBB7,0xBDB1A2A4,0x82B1BDC1,0x44494536,
0xB7B19A31,0xA3ABB6BA,0xC1C1B9AC,0x401FAEBC,0x213F4849,0xB8B9B4A5,0xAE999BAF,0xB5BDC0BA,
0x4A45329C,0xAD803444,0xAAB7BCB8,0xBEB4A59B,0x12B2BCC0,0x3E48483E,0xBBB3A124,0x9BA0B1BA,
0xBBBCB8AC,0x4532A1B5,0x1A37454B,0xB5BAB5A5,0xB3A398A7,0xB3BBBDBA,0x49493E0A,0xB0843141,
0xA3B2BABA,0xBDB9AFA0,0x28B0BDBF,0x3D464943,0xBCB59F29,0xA9A3B0BA,0xC0BEBBB4,0x4738A1BB,
0x21394348,0xB4BBB7A7,0xB9B0A5A8,0xBBC2C1BE,0x46473F04,0xB0103441,0xA0ADB8BA,0xBEB8B2A5,
0x34ACC1C2,0x3F464946,0xB9B49430,0xAFA6A9B4,0xC2C0BAB6,0x4A421DB9,0x2B3F464A,0xA4B2B3A0,
0xB3ADA195,0xA8C0C1B9,0x4A4B4636,0xA91C3A44,0x8C90A7B1,0xBBB2A9A0,0x4120B5C0,0x42484B49,
0xABAC8E33,0xA69C929F,0xC1C2B9AF,0x47422DAF,0x1D3A4448,0x98A7AFA6,0xB2A39B97,0x98BCC2BF,
0x46464335,0xB1A02B40,0xA1A2A8B0,0xC4BDAFA2,0x3912B6C3,0x39444643,0xAFB0A817,0xA1959FA7,
0xC2C6C2B4,0x463E25B0,0x90314247,0xA2ACB0AB,0xBDA88A8F,0x97BCC5C5,0x47494435,0xAC9C263E,
0x079AABB0,0xC5C1B394,0x3F22B1C1,0x36454A48,0xADADA119,0xA21612A0,0xBAC3C3BA,0x4B45339F,
0x07304149,0x8CAAB0A6,0xC1B2831B,0x14B4C1C4,0x474C493E,0xA1112F3D,0x282587A4,0xC2C1B58E,
0x432DA9BD,0x3642494B,0xA2A99A22,0xA7202B16,0xB9C1C3BC,0x49473893,0x832F3D45,0x268EA9A9,
0xC1B3092C,0x16B6C2C3,0x42474840,0xAD9E2438,0x252D17A4,0xC5C3BBA2,0x432EB0C1,0x323F4447,
0x90A9A70E,0xB1112E28,0xC0C6C6C1,0x454336A2,0x9E263A42,0x2C0BAAAF,0xC2B69528,0x25B5C4C5,
0x41464641,0xAFA71536,0x24312799,0xC6C4BAA5,0x4233A6C1,0x2C3D4345,0x1AA7AF98,0xAE123032,
0xB7C4C4BE,0x45453E1C,0xA9133641,0x31289CB0,0xC0B39128,0x34A2C0C4,0x41454642,0xA3AB8633,
0x1F30301C,0xC4C3BAA5,0x433910B8,0x13374144,0x1AA4B3AE,0xB391242B,0xB4C4C7C2,0x4141391C,
0xB7A9273B,0x2017A3B5,0xC9C0AE84,0x23B0C3CA,0x313D3F39,0xB5BCB799,0xA2020AA0,0xC9CBC6B8,
0x3D309ABF,0xAE243B40,0x87ADBABB,0xBEA51117,0xB2C4C9C8,0x4242391F,0xB6B11138,0x292390AF,
0xC6C0AD18,0x3782B8C4,0x36434743,0x96AFB087,0x1E343426,0xBEC3C0B0,0x48412DA6,0x9B2E4248,
0x351EA2AC,0xB683333A,0x04B4C0C1,0x45484538,0xB0AC0A38,0x3737289C,0xC2BEAA24,0x3D18B3C1,
0x2C414746,0x93B1B2A0,0x9C2C352C,0xC2C6C4BB,0x443E20B3,0xB38A3341,0x2D82B2B9,0xC0B10F30,
0xA7C0C6C5,0x3B424131,0xBCBBAA25,0x222D19AD,0xC6C2B8A1,0x3B11B8C5,0x01344042,0x81B3BBB3,
0xAA1C3230,0xC0C5C4BD,0x434132A7,0xB8A22E3F,0x301CABB9,0xC0B29027,0x15B7C4C5,0x3A43433C,
0xB4BBB216,0x26322E8D,0xC4C1B698,0x4234A0BE,0x9A334245,0x1FAABAB7,0xA2213132,0xB4C1C1B7,
0x45443C1A,0xB8A92940,0x342C8AB3,0xBFAD122F,0x2CAAC0C3,0x36424440,0xACBAB68E,0x2632311A,
0xC3C2B69A,0x433809B8,0xA5304146,0x269BB4B7,0xAA172E31,0xB1C1C4BE,0x43433C22,0xBAB58538,
0x2F2886B1,0xC3B79227,0x30A2BEC5,0x2B404440,0xA3B7BBAC,0x21303020,0xC2C4BDA7,0x443A17B3,
0xB2163C45,0x2886B0B8,0xB20C2C30,0xA2BCC3C1,0x4345402F,0xB6B6A132,0x312D18A6,0xC1B99A27,
0x3A19B1C0,0x223F4644,0x80ACB4AC,0x2836352B,0xB8BFB9A2,0x46412EA0,0xB2923543,0x3117A6B4,
0xB0173437,0x84B5C0BE,0x3E454337,0xB2B5A922,0x3735249D,0xC0B7992D,0x4025ADBD,0x8F344245,
0x95B2B7B3,0x1E333529,0xBAC0BCAA,0x4342339F,0xB8AA233C,0x300DAFB9,0xB7952C34,0x12B7C2C2,
0x3441433B,0xB8BCB381,0x323221A5,0xC3BDA821,0x4030AAC0,0xA32A3D42,0x87B2BBB8,0x1431342C,
0xB6C1BFB0,0x42433C1A,0xBAAE1F39,0x3320A6B8,0xB4033136,0x32A4BEC1,0x35414341,0xB2BAB482,
0x36352990,0xC2BDA229,0x413701B9,0xAD253B41,0x81B0BBBC,0x1132342B,0xB2C2C2B4,0x3F403920,
0xC0B89633,0x2D09ADBB,0xBEA12B33,0x2DA3BEC3,0x273C403B,0xB7BFBDAC,0x353320A3,0xC1C1B023,
0x3F3511B3,0xB78F3540,0x9EB5BFC0,0x91313526,0xA9BEC2B9,0x40423B26,0xBFBAA32F,0x361CABBA,
0xBAA32E3B,0x3609B2BD,0x223D4442,0xB2BBBAAD,0x393E3385,0xB8BBB020,0x443F27A7,0xB3813643,
0x1FAEBBBC,0xA02E3B38,0x96B6BDB8,0x3F444233,0xBFB8A32B,0x392CA2BA,0xBCB01635,0x3A17B2BD,
0x0E364243,0xB6C1BFB2,0x2B363303,0xBABDB59A,0x43402DA6,0xB8943140,0x26AABFC1,0xA6203336,
0x0DB4BDB8,0x3E44443A,0xC2BEA62B,0x363283B7,0xBCB10630,0x402DA9BB,0x0B374244,0xB2C2C3B8,
0x2733321A,0xB7BEB79D,0x43413591,0xC0A82E3F,0x2BA0BDC4,0xA6213234,0x27AAB9B8,0x3A42423E,
0xC2C3B51B,0x343008B4,0xBCB2862E,0x403297B8,0xA5314042,0xAAC0C5C0,0x24333221,0xB0BCB8A4,
0x4241391E,0xC3B51F3C,0x2A92B7C3,0xB4902B32,0x28A6BBBF,0x3240403A,0xC1C5C1A4,0x2B2904B1,
0xC1BEAD15,0x3A2D9BB9,0xB4233C40,0xA6BBC3C3,0x8E272A18,0xB0BEC0B4,0x42403518,0xC3BC8839,
0x288FB4C1,0xB89F2730,0x2F98B6BE,0x3343443E,0xBCC2C0A8,0x333015AB,0xB7B7A525,0x43381FA8,
0xB4244146,0xA1B7C1C1,0x09313325,0x91B1B7B0,0x46463F2E,0xC1BA923A,0x2A87B1BC,0xB6A62131,
0x3308ADB7,0x27424642,0xBAC1C0B1,0x2A2E16A9,0xB4B9B28C,0x453B22A2,0xB8833B46,0x01B0BBC0,
0xA324332F,0x91B0B8B6,0x42464130,0xBEBCA92E,0x3525A3B7,0xB5AB1934,0x3B1DA5B2,0x24414846,
0xB3BBBBB0,0x28332B92,0xB1B5B39D,0x48412A9F,0xB48D3846,0x17ADB9BB,0xAB123031,0x93B1B5B4,
0x41474434,0xBEBAA928,0x3022A5B9,0xB4B09D24,0x3E21A9B3,0x8D374547,0xB5BFBFB5,0x082B2992,
0xB5B7B3AA,0x44412DA3,0xBDAE223E,0x17AFBEC1,0xAC94232D,0x8FB2B7B4,0x35424336,0xC1C0B48C,
0x29259FBA,0xB8B2A311,0x3E21AFB9,0xAA273D42,0xB3C1C2BD,0x9120270D,0xB7BAB5AA,0x4242349E,
0xBEB11538,0x249FBAC1,0xAA951B28,0x27ABB6B4,0x37434540,0xBEBEB20F,0x232913B0,0xB9B2A305,
0x44359BB7,0xA02F4046,0xA1BAC0B9,0x841F2821,0xB0B9B4A5,0x44453F22,0xC0B11D3B,0x1E97B5C1,
0xB1A0011C,0x31A4B9BA,0x31404542,0xC0C3BDA1,0x0C1194B2,0xBFB9AC94,0x433789B7,0xAF273E44,
0xACBBC2C0,0xA0020893,0xAFBDBDB3,0x43443F24,0xC1B70739,0x02A4B5C0,0xB7A50C18,0x329FB9BE,
0x33424642,0xBDC0BBA1,0x1810A0B2,0xBEBCB193,0x453A10B3,0xAC274046,0xAFB8BDBB,0xA8061694,
0xA6BBBFB8,0x4748422D,0xBAB1113C,0x11A5B5BA,0xBCB18E20,0x3891B7BF,0x33444A46,0xBBBBB498,
0x1D2292B2,0xBBBBB49F,0x4A4125AE,0xA4274049,0xA8B9BCB7,0xA7112718,0x99B6BAB5,0x464B4635,
0xBBAE1339,0x1F9EB6BE,0xBBB29B1D,0x3E0BB5BD,0x33434948,0xBCBCB186,0x801D02AF,0xBCBEB7A9,
0x49442EAB,0xA2273E46,0xA5B8BEB7,0xB09B0F0E,0x92B8BEBA,0x4549473A,0xB8A7233A,0x1094B1BA,
0xBDB4A586,0x432BAFBD,0x3442494A,0xB7BCB483,0x8C1508A5,0xB9BEB8AA,0x4A473998,0xA62A3F47,
0x9CB3BDBA,0xB29C0D10,0x1EB4C0BD,0x43484840,0xBCB40736,0x1805A7B8,0xC1B8A601,0x4330ABC0,
0x2C3F4547,0xB3BCBAA5,0x9315159A,0xBDC3BFB1,0x47453A94,0xB01E3B44,0x04A7B7BA,0xB6A0131B,
0x29B2C1C1,0x43474742,0xBAB59335,0x20139FB3,0xC1BAA413,0x443993BB,0x31424848,0xAAB4B49D,
0x8F1C198F,0xB3C0BFB1,0x48463F23,0xAC223F46,0x97AAB4B6,0xBDAC8B04,0x2EA9C0C3,0x42464540,
0xB8B49A33,0x058AA5B3,0xC4C2B69F,0x42358FBB,0x223E4647,0xB3B8B8AD,0xB0938EA4,0xB4C3C6C1,
0x48453A17,0xB4923544,0x9BB1B9BB,0xC3B8A100,0x2DA6BFC5,0x41474741,0xBBB7A52A,0x918EA9B7,
0xC4C6C1B1,0x433595B9,0x153A4548,0xB4BBB9B0,0xBCA68DA1,0xB5C3C7C5,0x47463C17,0xB28F3242,
0x0BA5B6B9,0xC5C0AD05,0x30A7BEC5,0x3F474842,0xB8B4A029,0x951888B0,0xC0C3C1B5,0x473D18B3,
0x253D464A,0x91B0B2A3,0xB69B2123,0xA5BCC1C0,0x4A4A4330,0xA3203A45,0x2B2199AB,0xC0B8A61D,
0x3A0AB5C0,0x42484A46,0xA9AC9032,0x05282801,0xBEC1BCB0,0x484129AB,0x243D464A,0x1B9EABA1,
0xB7A21B27,0xA1BBC2C1,0x47474231,0xAF903342,0x191798AD,0xC4C0B396,0x358EB8C3,0x3C454743,
0xACB2A820,0xAF95819A,0xC2C6C4BD,0x443B1CB2,0x92334247,0x98AAB2B1,0xC2B6A38D,0xAAC0C6C7,
0x44453E27,0xB0A4233C,0x8A839DAC,0xC6C3BAA8,0x3687B6C2,0x38444744,0x9AA7A317,0xAB031A0F,
0xBEC4C3BD,0x463F26A9,0x81314146,0x1D01A0A2,0xBFB18C1F,0x89B5C1C2,0x45484436,0x9990253C,
0x232A2205,0xC1C0B698,0x3E24ABBC,0x37434846,0x1D858821,0xA81B2C2A,0xB7C0C1BA,0x49433397,
0x11314047,0x2E240D8C,0xBEB1812A,0x16B2BEC1,0x4448463C,0x98952038,0x202C260B,0xC3C1BAA5,
0x3C21B0BF,0x20384343,0x85A5ABA1,0xB4962121,0xBDC3C3C0,0x423F2EA5,0xAC902F3E,0x158BA8B0,
0xC3BCAF8A,0x00B7C2C5,0x39424137,0x00A8A025,0x00000000,0x00000000,0x00000000,0x00000000,
0x00000000,
};
|
9687cb9191f583e30ecc1c076506da5576e45c15 | 2eb70b0eae245ed32ab0f6892c85c90968a1c29b | /graph.h | 01688a46c47238b6d2915b157c01ef24e9e53d35 | [] | no_license | foruniverse/C- | f837c432034bcaa1408eafa9d787a12d6e021fb1 | 2717eb2deab7d7c32ad37d8c3c0d960e34ec60c9 | refs/heads/master | 2023-06-28T02:46:27.832285 | 2023-06-11T11:00:07 | 2023-06-11T11:00:07 | 275,594,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,430 | h | graph.h | #ifndef GRAPH_H_
#define GRAPH_H_
#include<iostream>
#include"stack_vector.h"
#include"Queue.h"
using namespace std;
typedef enum{UNDISCOVERED,DISCOVERED,VISITED} VStatus;
typedef enum{UNDETERMINED,TREE,CROSS,FORWARD,BACKWARD} EType;
template<typename Tv,typename Te>
class graph
{
private:
void reset()
{
for(int i=0;i<n;i++)
{
status[i]=UNDISCOVERED;
dtime(i)=ftime (i)=-1;
parent (i)=-1;
priority(i) =INT_MAX;
for(int j=0;j<n;j++)
if(exists(i,j))
type(i,j)=UNDISCOVERED;
}
}
void BFS(int ,int &);// bfs (连通域)广度优先
void DFS(int ,int &); // dfs
void DFS_1(int ,int &);// dfs diedai banben
void BCC(int ,int &,stack<int>&);// 基于dfs的双连通分量分解算法
bool TSORT(int,stack<Tv>*);// 基于dfs的拓扑排序
template<typename PU> void PFS(int ,PU);
public:
int n;
int e;
virtual int insert(Tv,const&) =0;
virtual Tv remove(int )=0;// shandian
virtual Tv&vertex(int ) =0;
virtual int indegree(int )=0;
virtual int outdegree()=0;
virtual int firstnbr()=0;
virtual int nextnbr(int ,int)=0;
virtual int& dtime(int)=0;
virtual int& ftime(int)=0;
virtual int& parent(int)=0;
virtual int& priority(int)=0;
virtual VStatus & status(int)=0;
virtual bool exists(int,int)=0;
virtual void insert(Te const&e,int,int,int)=0;//chabian
virtual Te remove(int,int)=0; // shanbian
virtual EType&type (int,int)=0;
virtual Te& edge(int,int)=0;
virtual int & weight(int,int)=0;
void dfs_1(int);
void bfs(int);
void dfs(int);
void bcc(int);
stack<Tv> *tsort(int);
bool TSORT_1(Queue<int> &);// 非 dfs 的拓扑排序
void pfs(int ,PU);
};
template<typename Tv,typename Te>
template<typename PU>
void graph<Tv,Te>::pfs(int s,PU prioupdater)
{
reset();
int v=s;
do if(UNDISCOVERED==status(v))
PFS(v,prioupdater)
while(s!=(v=(++v%n)));
}
template<typename Tv,typename Te>
template<typename PU>
void graph<Tv,Te>::PFS(int v,PU prioupdater)
{
priority(v)=0;
status(v)=VISITED;
while(true)
{
for(int u=firstnbr(v);-1<u;u=nextnbr(v,u))
prioupdater(this,v,u);
for(int shortest=INT_MAX,u=0;u<n;u++)
if(UNDISCOVERED==status(u))
if(shortest>priority(u))
{
shortest=priority(u);
v=u;
}//只有在存在优先级更低的时候才更新s
if(status(v)=VISITED)// 只有两种状态,undicovered和visited
break;
status(v)=VISITED;
type(parent(v),v)=TREE;
}
}
template<typename Tv,typename Te>
void graph<Tv,Te>::bcc(int S)
{
reset();
int clock=0;
int v=S;
stack<int> s;
do if(UNDISCOVERED==status(v))
{
BCC(v,clock);
}while(S!=(++v(v%n)));
}
#define hca(x) (ftime(x))
template<typename Tv, typename Te>
void graph<Tv,Te>::BCC(int v,int &clock,stack<int> &s)
{
status(v)=DISCOVERED;
s.push(v);
hca(v)=dtime(v)=++clock;
for(int u=firstnbr(v);-1<u;u=nextnbr(v,u))
{
switch(status(u))
{
case UNDISCOVERED:
type(v,u)=TREE;
parent(u)=v;
BCC(u,clock,s);
if(hca(u)<dtime(v))
hca(v)=min(hca(u),hca(v));
else
{
while(v!=s.pop());
s.push(v);
}
case DISCOVERED:
type(v,u)=BACKWARD;
if(parent(v)!=u)
hca(v)=min(dtime(u),hca(v));// 不能省略min()的原因是,父节点v可能和更上层的祖先建立了通路
default:
type(v,u)=(dtime(v)<dtime(u)?FORWARD:CROSS);
}
}
status(v)=VISITED;
}
#undef hca
template<typename Tv,typename Te>
stack<Tv> * graph<Tv,Te>::tsort(int s)
{
reset();
stack<Tv> *S =new stack<Tv>;
int v=s;
do if(UNDISCOVERED==status(v))
if(!TSORT(v,s))// 如果失败 则返回false 直接结束整个循环
{
while(!S.empty())
s.pop();
break;
}
while(s!=(v=(++v%n)));
return S; // 如果失败(存在通路) s为空 否则 栈顶为拓扑排序的起始顶点;
}
template<typename Tv,typename Te>
bool graph<Tv,Te>::TSORT(int v,stack<Tv> *s)// 基于dfs的拓扑排序,如果存在通路 return false结束整个程序
{
status(v)=DISCOVERED;
for(int u=firstnbr(v);-1<u;u=nextnbr(v))
switch(status(u))
{
case UNDISCOVERED:// ke shou suo de dian
if(!TSORT(u,s))
return false;
break;
default:// huanlu
return false;
}
status(v)=VISITED;
s.push(v);
}// 精简后的拓扑排序,源代码参考教材
// 时间复杂度:O(n+e) 应该是reset的原因 暂时不清楚 枚举所有节点(建立在存在有效拓扑排序上) 空间复杂度:O(n)
template<typename Tv,typename Te>
bool TSORT_1(Queue<int> &q)
{
stack<int> s;
for(int i=0;i<n;i++)
{
if(V[i].indegree=0)
s.push(i);
}
int t;
while(!s.empty())
{
t=s.pop();
q.enqueue();
for(int i=0;i<n;i++)
{
if(exists(t,i)&&(V[i].indegree<2))
s.push(i);
}
V.remove(t);
}
return (n?false:true);
}
template<typename Tv,typename Te>
void graph<Tv,Te>::bfs(int s)
{
reset();
int clock=0;
int v=s;
// for(int i=0;i<n;i++)
// {
// if(status(i)=UNDISCOVERED)
// BFS(i,clock);
// }// cannot do that
do if(status(v)=UNDISCOVERED)
BFS(v,clock);
while(s!=(v=(++v%n));// we need to jump vertex s;
}
template<typename Tv,typename Te>
void graph<Tv,Te>::BFS(int v,int & clock)
{
Queue<int> Q;
status(v)=DISCOVERED;
Q.enqueue(v);
while(!Q.empty())
{
int v=Q.dequeue();
dtime(v)=++clock;
for(int u=firstnbr(v);-1<u;u=nextnbr(v,u))
{
if(status(u)==UNDISCOVERED)
{
Q.enqueue(u);
status(u)=DISCOVERED;
type(v,u)=TREE;
parent(u)=v;
}else type(v,u)=CROSS;
}
status(v)=VISITED;
}
}
template<typename Tv,typename Te>
void graph<Tv,Te>::dfs(int s)
{
reset();
int clock=0;
int v=s;
do if(status==UNDISCOVERED)
DFS(v,clock);
while(s!=(v=(++v%n)));
}
template<typename Tv,typename Te>
void graph<Tv,Te>::DFS(int v,int &clock)
{
// here is where it should to be
dtime(v)=++clock;
status(v)=DISCOVERED;
for(int u=firstnbr(v);-1<u;u=nextnbr(v))
switch(status(u))
{
case UNDISCOVERED:// ke shou suo de dian
type(v,u)=TREE;
parent(u)=v;
//status(u)=DISCOVERED;
// cannot turn vertex u in here;
DFS(u,clock);
break;
case DISCOVERED:// huanlu
type(v,u)=BACKWARD;
break;
default:
type(v,u)=(dtime(v)<dtime(u)?FORWARD:CROSS);
}
status(v)=VISITED;
ftime(v)=++clock;
}// 空间复杂度 :O(e+n) (忽略了操作系统为了维护递归所调用的栈)时间复杂度:O(n+e)
/*迭代版我写了三个小时,也不知为什么。写完后才始觉似乎并不复杂,可为什么我写了这么久呢,
尤其是在我写完了递归版之后,应该对整个流程有了很大了解,为什么我模仿它,模拟它的过程还觉得如此的艰难呢
对于图的dfs遍历算法,对于我一直纠结于的问题是回溯时怎么避免改变已访问的边,
我的想法是:
1.单独区分回溯的顶点,为此我引入了回溯状态位,可是接着我发现,无法在合适的时候消除回溯位
2.跳过回溯顶点,为此我尝试引入临时变量保存上个回溯顶点的 邻接矩阵的位置,但这种方式只能保存同一层的
t值,在迭代到更深层时,无法保存上一层的t值,当然我们也可以继续做一些小修改,可是程序会变得不简洁
3.其实,根本原因是对整个过程对顶点和边的操作过程没有清晰的了解,边的初始状态是空,而回溯时必定不为空
那么只需选择空边进行操作,就这么简单,
4.但难道上文所提到的思路真的需要这么长的思考和实现时间吗, 我认为不是这样的,我的思考过程存在问题
思考应是连续且充满突破性的,一旦碰壁,那么立刻思考解决办法,永远不要思维跳空,思考就是发现规律,
找到关键,然后用已有的经验和思路结合问题实际来解决问题
总而言之,思考的过程应该是极其专注的,这才是你变强的最重要的一点
*/
template<typename Tv,typename Te>
void graph<Tv,Te>::dfs_1(int v)
{
reset();
int clock=0;
// BFS_1(v,clock);
// for(int i=0;i<n;i++)
// {
// if(status(i)==UNDISCOVERED)
// DFS_1(i,clock);
// }
int s=v;
do if(status==UNDISCOVERED)
DFS_1(v,clock);
while(s!=(v=(++v%n)));// no repeat
}
template<typename Tv,typename Te>
void graph<Tv,Te>::DFS_1(int v,int &clock)
{
bool nontr=false;
stack<int> s;
s.push(v);// 我们用栈来模拟回溯的过程
status(v)=DISCOVERED;
ditme(v)=++clock;// 既然我们每次访问一个点的方式是将它入栈,那么其对应的接触时间应该与入栈操作一起进行。
while(!s.empty())
{
int v=s.top();
nontr=false;
for(int u=firstnbr(v);-1<u;u=nextnbr(v,u))
{
if(UNDISCOVERED==status(u))// 只有在下一个顶点为 undicovered时我们才访问它
{
s.push(u);
ditme(v)=++clock;
nontr=true;
type(v,u)=TREE;
parent(u)=v;
break;
}
else if(status(u)==DISCOVERED)// 如果在从 根节点s到现节点v的访问过程中,发现了这种类型的顶点,那么u必为v的父节点
{
type(v,u)=BACKWARD;
}
else if(type(v,u)==UNDETERMINED)// 回溯过程中 ,一visit的节点必定是 visited的状态,这时(v,u) 应为树边,为了排除这种情况
type(v,u)=(dtime(v)<ditme(u)?FORWARD:CROSS);
}
if(nontr==false)// 当v节点没有任何处于undicovered节点时,必然到了该部分dfs的最低点,出栈
{
int t=s.pop();
status(t)=VISITED;
ftime(t)=++clock;// 完成时间,结束该节点的活跃期
}
}
}
template<typename Tv,typename Te>
void
#endif |
d1b87ae381aa546b1c5f3aac6f763e865bbf4d0a | 136bb16e8db2e5afba37ab7645158897e03d9642 | /CrashCourse/CrashCourse/NewHighScoreGS.h | 958691341dfd51793a9de1e45ba9ef8d237c5a67 | [
"MIT"
] | permissive | CapySloth/crash-course | 424561dd31d306209cec4a276f040fb0ae837f8b | f2f7649e1c1d86b459fc4fc0d3b922f4bdf6aaa3 | refs/heads/master | 2021-03-16T05:32:00.329225 | 2018-10-17T14:13:54 | 2018-10-17T14:13:54 | 120,671,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | NewHighScoreGS.h | #pragma once
#include "GameState.h"
#include <SFML\Graphics.hpp>
class NewHighScoreGS :
public AGameState
{
public:
static NewHighScoreGS &getInstance() {
static NewHighScoreGS instance;
return instance;
}
private:
NewHighScoreGS();
NewHighScoreGS(NewHighScoreGS const &);
NewHighScoreGS &operator=(NewHighScoreGS const &);
public:
~NewHighScoreGS();
// Inherited via AGameState
virtual void Update(float delta) override;
virtual void Draw(sf::RenderWindow & window) override;
virtual void Init() override;
virtual void Deinit() override;
virtual bool IsInit() override;
void Reset();
virtual sf::Text &getScore() { return mScore; }
virtual sf::Text &getFirstLetter() { return mFirstLetter; }
virtual sf::Text &getSecondLetter() { return mSecondLetter; }
virtual sf::Text &getThirdLetter() { return mThirdLetter; }
virtual sf::Text &getSubmit() { return mSubmit; }
private:
sf::Text mTitle;
sf::Text mScore;
sf::Text mFirstLetter;
sf::Text mSecondLetter;
sf::Text mThirdLetter;
sf::Text mSubmit;
};
|
9fc71d8ef2dc0274a4089597ce79ca8180137cc8 | 43093ea92879ed3d192ee846f9fb5b0ac9b358a7 | /C++/knapSack.cpp | 815415d3caea6a62c2db4936774b92220e9621db | [
"MIT"
] | permissive | GekoTree/hacktoberfest2021-9 | da4d2e3c87825492bab80c511202d0f602b309f9 | b80ba674649f7f68953791f494690da2260150d4 | refs/heads/main | 2023-08-13T00:34:13.158034 | 2021-10-16T04:16:11 | 2021-10-16T04:16:11 | 417,712,950 | 1 | 0 | MIT | 2021-10-16T04:15:33 | 2021-10-16T04:15:33 | null | UTF-8 | C++ | false | false | 838 | cpp | knapSack.cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <bits/stdc++.h>
using namespace std;
int knapsack(int value[], int wt[], int n, int W){
if(n==0 || W==0)
{
return 0;
}
if(wt[n-1]>W){
return knapsack(value,wt,n-1,W);
}
return max(knapsack(value,wt,n-1,W-wt[n-1])+value[n-1],knapsack(value,wt,n-1,W));
}
int main()
{
int wt[]={10,20,30};
int value[]={100,50,150};
int W=50;
cout<<knapsack(value,wt,3,W);
return 0;
}
|
6f65b3a28725ef31f20a2b846cb9cd83c4aeea13 | 624be18c058f134cb075e49dc543f8d0b214babd | /B组乙级/1008-输入时移动/main.cpp | 1c5c98f0c681d01a49f847a27d7a1daa3b416d31 | [] | no_license | RabbitSeries/PAT-Algorithm | 0738302650a19a9d88a6ce42c286a9809fb8b14f | e314636928548da89837d8757f97da4bae6d6c80 | refs/heads/master | 2023-07-07T15:43:35.222335 | 2020-04-25T13:02:14 | 2020-04-25T13:02:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | main.cpp | #include <bits/stdc++.h>
using namespace std;
int N, M;
int arr[105];
int main(int argc, char** argv) {
scanf("%d%d", &N, &M);
M = M % N;
for(int i = 1; i <= N; i++)
{
if(i <= N - M)
{
scanf("%d", &arr[i + M]);
}
else
{
scanf("%d", &arr[i - N + M]);
}
}
for(int i = 1; i <= N; i++)
{
if(i < N)
{
printf("%d ", arr[i]);
}
else
{
printf("%d", arr[i]);
}
}
return 0;
}
|
91b35ce11995d9c8fdfa4ed71c7e23992fbad56d | d07d8108b1c6b1611acba6e38ad3ddb4ad38ef18 | /Map.cpp | 90ac6896a6df753ce15517758df67530b9db8c51 | [] | no_license | jpadgett314/cs300-frupal-group9 | f55db93201d00fbb35970057336e5a26be2cc334 | d42adac48b612d18d0794669d277b18712c55da1 | refs/heads/main | 2023-01-24T22:48:02.323362 | 2020-12-08T02:36:35 | 2020-12-08T02:36:35 | 311,191,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,301 | cpp | Map.cpp | #include "Map.h"
#include "CsvToOccupant.h"
#include "TileOccupant.h"
#include "TileType.h"
#include <stdexcept>
Tile::Tile() : revealed(false), type(0), occupant(0) {}
Tile::~Tile() {
if (type)
delete type;
if (occupant)
delete occupant;
}
Map::Map(string srcFile, int &heroX, int &heroY) {
// MaxScreenY = 0; //LINES
// The max we can go on the screen
// MenuBorder = 0; // MaxScreenX for frupal Map
getmaxyx(stdscr, MaxScreenY, MenuBorder);
MaxY = MaxScreenY;
if (MenuBorder > 182)
MenuBorder = MAPSIZE;
else
MenuBorder = MenuBorder - (3 * MenuBorder / 10);
MaxX = MenuBorder;
MinX = 0;
MinY = 0;
if (!(loadFile(srcFile, heroX, heroY))) {
throw runtime_error("File cannot open");
}
if (!(loadOccupants("occupantFile.txt"))) {
throw runtime_error("File cannot open");
}
}
// Read in the map
bool Map::loadFile(string src, int &heroX, int &heroY) {
string temp;
int i = 0;
int j = 0;
// if(read_file==0)
ifstream infile;
// Open the designated file
// infile.open("practice.txt");
infile.open(src);
// If file was open sucessfully then eneter
if (infile) {
infile >> heroX;
infile.ignore(100, ',');
infile >> heroY;
infile.ignore(100, '\n');
// If end of file is not triggered then enter the loop
while (getline(infile, temp)) {
for (unsigned int k = 0; k < temp.size(); ++k) {
if (j == MAPSIZE) {
++i;
j = 0;
}
switch (temp[k]) {
case 'W':
tileArray[i][j].type = new Water; // Color num 4
break;
case 'M':
tileArray[i][j].type = new Wall; // Color num 7
break;
case 'S':
tileArray[i][j].type = new Swamp; // Color num 5
break;
case 'G':
tileArray[i][j].type = new Meadow; // Color num 2
break;
}
++j;
// How should we go about occupants?
}
}
infile.close();
} else {
return false;
}
return true; // placeholder for better things
}
bool Map::loadOccupants(string src) {
string temp;
ifstream fin;
fin.open(src);
if (fin) {
// Convert the file to a vector of strings
vector<string> contents = inputFile(src);
// Remove empty lines and comments
contents = cleanFile(contents);
// The first (used) line must be the occupant count
int qty = stoi(contents[0]);
for (int i = 1; i <= qty; ++i) {
// Convert line to stream
stringstream thisLine(contents[i]);
// Read coordinates of tileOccupant
getline(thisLine, temp, ',');
int col = stoi(temp);
getline(thisLine, temp, ',');
int row = stoi(temp);
// Read tileOccupant type string (without trailing whitespace)
getline(thisLine, temp, ',');
string type = temp;
// Read tileOccupant data as comma-separated values
getline(thisLine, temp);
// If the tile already has an occupant, remove it.
// TODO: IDEALLY MAKE THIS WORK
// if (tileArray[row][col].occupant != 0)
// delete tileArray[row][col].occupant;
tileArray[row][col].occupant = newOccupant(type, temp);
}
} else {
return false;
}
return true;
}
bool Map::saveFile(string dest, int heroX, int heroY) {
// Variable: Outfile
ofstream outfile;
// Open the data.txt files
outfile.open(dest);
// Clear what was in function
outfile.clear();
// Close the file
outfile.close();
// Reopen another file
outfile.open(dest, ios::app);
outfile << "Last Position of Hero: " << heroX << "," << heroY << endl;
// Loop through list.
for (int i = 0; i < MAPSIZE; ++i) {
for (int j = 0; j < MAPSIZE; ++j) {
if (tileArray[i][j].type->toString() == "Meadow")
outfile << "G";
else if (tileArray[i][j].type->toString() == "Water")
outfile << "W";
else if (tileArray[i][j].type->toString() == "Wall")
outfile << "M";
else if (tileArray[i][j].type->toString() == "Swamp")
outfile << "S";
}
outfile << endl;
}
// Close the file
outfile.close();
return true;
}
bool Map::saveOccupants(string dest) {
ofstream fout("CustomOccupants.txt");
// Collect occupants (in order to count) before saving to file.
vector<TileOccupant *> occupants;
vector<int> rows;
vector<int> cols;
for (int i = 0; i < MAPSIZE; ++i) {
for (int j = 0; j < MAPSIZE; ++j) {
TileOccupant *occ = tileArray[i][j].occupant;
if (occ) {
occupants.push_back(occ);
rows.push_back(i);
cols.push_back(j);
}
}
}
if (fout) {
fout << occupants.size() << "\n";
for (unsigned int i = 0; i < occupants.size(); ++i) {
fout << "\n"
<< rows[i] << "," << cols[i] << "," << occupants[i]->typeStr() << ","
<< occupants[i]->dataAsCsv() << "\n";
}
} else {
return false;
}
return true;
}
// Return what type of tile it is
TileType *Map::tileTypeAt(int col, int row) { return tileArray[row][col].type; }
// Return what occupies the tile
TileOccupant *Map::occupantAt(int col, int row) {
return tileArray[row][col].occupant;
}
// Reveal the tile(Discovered)
void Map::tile_revealed(int row, int col) {
tileArray[row][col].revealed = true;
}
void Map::revealAll() {
for (int i = 0; i < MAPSIZE; ++i) {
for (int j = 0; j < MAPSIZE; ++j) {
tileArray[i][j].revealed = true;
}
}
}
// Remove a tileOccupant, typicaly after it is bought/consumed/looted
void Map::setOccupantAt(int col, int row, TileOccupant *newOccupant) {
TileOccupant *&temp = tileArray[row][col].occupant;
if (temp)
delete temp;
temp = newOccupant;
}
// Can a ship be left on the tile at the provided coordinates
bool Map::isDebarkSafe(int col, int row) {
// Can never leave ship in water
if (tileTypeAt(col, row)->toString() == "Water")
return false;
const Hero withoutShip{};
// Check all adjacent tiles
for (int i = 0; i < 9; ++i) {
int r = row + i % 3 - 1;
int c = col + i / 3 - 1;
if ((r >= 0) && (c >= 0) && (r < MAPSIZE) && (c < MAPSIZE) &&
(r != row || c != col)) {
if (tileTypeAt(c, r)->canEnter(withoutShip)) {
// Allow ship debarking if even one adjacent tile is walkable.
return true;
}
}
}
return false;
}
// Have we been at tile before
bool Map::isTileDiscovered(int col, int row) {
if (tileArray[row][col].revealed) {
return true;
}
return false;
}
// Display what is discovered
void Map::displayMap(WINDOW *win) {
string MarkerDisplay;
// Print the Grovnicks that are used
for (int i = MinY; i < MaxY; ++i) {
for (int j = MinX; j < MaxX; ++j) {
if (tileArray[i][j].revealed) {
if (tileArray[i][j].occupant)
MarkerDisplay = string(1, tileArray[i][j].occupant->marker());
else
MarkerDisplay = " ";
if (tileArray[i][j].occupant != NULL &&
tileArray[i][j].occupant->typeStr() == "Diamond") {
wattron(win, COLOR_PAIR(1));
mvwprintw(win, i - MinY, j - MinX, MarkerDisplay.data());
} else {
wattron(win, COLOR_PAIR(tileArray[i][j].type->color()));
mvwprintw(win, i - MinY, j - MinX, MarkerDisplay.data());
}
}
}
}
}
|
82b4357f80f599b9a67f34744bc9b4cf2caa34ee | 6412fc70000a83cc4de3535f18c9cebe46a3789f | /applayer/ScapSSLConnection.h | 605638cbe271362c7bbc2a01756055ef474e7e8e | [] | no_license | jorgedsmatias/eidmw | d91fbe089b85d27a5d69fb70f64aa4025e8b31fc | d2c94b8e6496649d44d3f985e2584122eeb07399 | refs/heads/master | 2020-07-06T10:52:09.889974 | 2019-08-20T07:53:19 | 2019-08-20T07:53:19 | 202,992,798 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | ScapSSLConnection.h | #ifndef SCAPSSL_H_
#define SCAPSSL_H_
#include "SSLConnection.h"
namespace eIDMW
{
class ScapSSLConnection: public SSLConnection
{
public:
EIDMW_APL_API ScapSSLConnection() { };
EIDMW_APL_API ScapSSLConnection(char *host, char *port);
EIDMW_APL_API ~ScapSSLConnection() { /* CloseConnection(); */ }
EIDMW_APL_API char * postSoapRequest(char *endpoint, char *soapAction, char *soapBody);
};
}
#endif
|
1862adf0574053754078bf7a73f5e530045035ce | 9924d3af3acc7c72dc0c8098ac2086eb9c8675ec | /src/CQPixmapCache.cpp | f653e9d3b28756679948c16748ea580517c4635f | [
"MIT"
] | permissive | colinw7/CQUtil | e69cfbc7c03e6ca725894d987bf77bf1f2942be0 | 8f25c77030f16ec4ba1815df4b343d418cf95523 | refs/heads/master | 2023-09-01T14:53:16.410202 | 2023-08-20T23:22:25 | 2023-08-20T23:22:25 | 12,828,789 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,414 | cpp | CQPixmapCache.cpp | #include <CQPixmapCache.h>
#include <CQStyleMgr.h>
#include <QIconEngine>
#include <QPainter>
#include <cassert>
#include <iostream>
class CQPixmapIcon : public QIconEngine {
public:
CQPixmapIcon(const QString &lightId, const QString &darkId) :
lightId_(lightId), darkId_(darkId), dark_(CQPixmapCacheInst->isDark()) {
updateIcon();
}
void updateIcon() {
if (dark_ && darkId_.length())
icon_ = CQPixmapCacheInst->getPixmapIcon(darkId_);
else
icon_ = CQPixmapCacheInst->getPixmapIcon(lightId_);
}
QSize actualSize(const QSize &size, QIcon::Mode, QIcon::State) override {
return size;
}
QString iconName() const override {
if (dark_ && darkId_.length())
return darkId_;
return lightId_;
}
void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) override {
painter->drawPixmap(0, 0, pixmap(rect.size(), mode, state));
}
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override {
bool dark = CQPixmapCacheInst->isDark();
if (dark_ != dark) {
dark_ = dark;
if (darkId_.length())
updateIcon();
}
if (size != state_.size || mode != state_.mode || state != state_.state) {
pixmap_ = icon_.pixmap(size, mode, state);
state_.size = size;
state_.mode = mode;
state_.state = state;
}
return pixmap_;
}
QIconEngine *clone() const override {
return new CQPixmapIcon(lightId_, darkId_);
}
private:
struct State {
QSize size;
QIcon::Mode mode;
QIcon::State state;
};
QString lightId_;
QString darkId_;
QIcon icon_;
QPixmap pixmap_;
State state_;
bool dark_ { false };
};
//------
static CQPixmapCache *s_inst;
CQPixmapCache *
CQPixmapCache::
instance()
{
if (! s_inst)
s_inst = new CQPixmapCache;
return s_inst;
}
void
CQPixmapCache::
release()
{
delete s_inst;
s_inst = nullptr;
}
CQPixmapCache::
CQPixmapCache()
{
connect(CQStyleMgrInst, SIGNAL(themeChanged()), this, SLOT(updateTheme()));
}
CQPixmapCache::
~CQPixmapCache()
{
}
void
CQPixmapCache::
clear()
{
idData_.clear();
}
void
CQPixmapCache::
updateTheme()
{
setDark(CQStyleMgrInst->theme() == CQStyleMgr::Theme::DARK);
}
void
CQPixmapCache::
addData(const QString &id, const uchar *data, int len)
{
auto p = idData_.find(id);
if (p != idData_.end()) {
const Data &oldData = (*p).second;
bool match = (oldData.len == len);
if (match) {
for (int i = 0; i < len; ++i) {
if (oldData.data[i] != data[i]) {
match = false;
break;
}
}
}
if (! match) {
std::cerr << "Pixmap '" << id.toStdString() << "' multiple definition\n";
std::cerr << " Old Size " << oldData.len << " New Size " << len << "\n";
}
}
if (getenv("CQPIXMAP_CACHE_DEBUG"))
std::cerr << "Add Pixmap '" << id.toStdString() << "' (" << len << " bytes)\n";
idData_[id] = Data(data, len);
}
bool
CQPixmapCache::
hasPixmap(const QString &id) const
{
auto p = idData_.find(id);
return (p != idData_.end());
}
const QPixmap &
CQPixmapCache::
getPixmap(const QString &id)
{
static QPixmap dummy_pixmap;
auto p = idData_.find(id);
if (p == idData_.end()) {
std::cerr << "Pixmap '" << id.toStdString() << "' not found\n";
if (getenv("CQPIXMAP_CACHE_ASSERT"))
assert(false);
else
return dummy_pixmap;
}
Data &data = (*p).second;
if (! data.pixmap) {
data.pixmap = new QPixmap;
bool rc = data.pixmap->loadFromData(data.data, uint(data.len));
if (! rc) {
std::cerr << "Pixmap '" << id.toStdString() << "' failed to load\n";
if (getenv("CQPIXMAP_CACHE_ASSERT"))
assert(false);
else
return dummy_pixmap;
}
}
return *data.pixmap;
}
QPixmap
CQPixmapCache::
getSizedPixmap(const QString &id, const QSize &s)
{
return getPixmap(id).scaled(s, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
}
QIcon
CQPixmapCache::
getLightDarkIcon(const QString &iconName)
{
if (hasPixmap(iconName + "_LIGHT"))
return getIcon(iconName + "_LIGHT", iconName + "_DARK");
else
return getIcon(iconName);
}
QIcon
CQPixmapCache::
getIcon(const QString &lightId, const QString &darkId)
{
return QIcon(new CQPixmapIcon(lightId, darkId));
}
QIcon
CQPixmapCache::
getPixmapIcon(const QString &id)
{
return QIcon(getPixmap(id));
}
|
9dd1a35fb82fbdd1336a9430148b6d39eafeaa00 | 5b41e312db8aeb5532ba59498c93e2ec1dccd4ff | /SMC_DBClasses/CPD_RECIPE.h | f0df94bf679e26fe9bf3c6f194d3279d800966c7 | [] | no_license | frankilfrancis/KPO_HMI_vs17 | 10d96c6cb4aebffb83254e6ca38fe6d1033eba79 | de49aa55eccd8a7abc165f6057088a28426a1ceb | refs/heads/master | 2020-04-15T16:40:14.366351 | 2019-11-14T15:33:25 | 2019-11-14T15:33:25 | 164,845,188 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,455 | h | CPD_RECIPE.h | //## Copyright (C) 2010 SMS Siemag AG, Germany
//## Version generated by DBClassCodeUtility BETA 0.6.3
//## ALL METHODS MARKED AS - //##DBClassCodeUtility - WILL BE OVERWRITTEN, IF DB CLASS RE-GENERATED
//## MANUALLY IMPLEMENTED METHODS MUST BE LOCATED BELOW THE MARK - "YOUR-CODE" -
#if defined (_MSC_VER) && (_MSC_VER >= 1000)
#pragma once
#endif
#ifndef _INC_CPD_RECIPE_INCLUDED
#define _INC_CPD_RECIPE_INCLUDED
#include "SRECIPE.h"
#include "CSMC_DBData.h"
class CPD_RECIPE_ENTRY;
class CGT_MAT;
class CPD_RECIPE
: public CSMC_DBData
{
public:
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string HEATID;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string TREATID;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string PLANT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string RECIPENAME;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string RECIPENO;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string SOURCE;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string BATCHSTATUSNO;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string CALC_BASIS_NO;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string BATCHSTATUSCHGDATE;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string UPDTIME;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string WEIGHTTOTAL;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string COSTSBATCH;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string BULKVOL;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string ACTOXYGENMOMENT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string ACT_AR_MOMENT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string ACT_N2_MOMENT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string ACT_EGY;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string DURSINCEHEATANNOUNCEMENT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string DURSINCESTARTOFFHEAT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string BATCHFEEDSPEED;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string DISCHARGESTARTTIME;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string DISCHARGEENDTIME;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string VOLUME;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string CHARGING_DEST_NAME;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string ACT_O2_MOMENT;
//##DBClassCodeUtility ! DO NOT EDIT !
static const std::string CHARGE_MOMENT;
//##DBClassCodeUtility ! DO NOT EDIT !
CPD_RECIPE(cCBS_StdConnection* Connection);
//##DBClassCodeUtility ! DO NOT EDIT !
CPD_RECIPE(cCBS_Connection* Connection);
//##DBClassCodeUtility ! DO NOT EDIT !
CPD_RECIPE();
//##DBClassCodeUtility ! DO NOT EDIT !
~CPD_RECIPE();
//##DBClassCodeUtility ! DO NOT EDIT !
//##Internal heat identifier
std::string getHEATID(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setHEATID(const std::string& value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Treatment identifier
std::string getTREATID(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setTREATID(const std::string& value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Plant identifier
std::string getPLANT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setPLANT(const std::string& value);
//##DBClassCodeUtility ! DO NOT EDIT !
std::string getRECIPENAME(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setRECIPENAME(const std::string& value);
//##DBClassCodeUtility ! DO NOT EDIT !
long getRECIPENO(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setRECIPENO(long value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Valid Sources of a Recipe. SOURCE = ALL means all SOURCES for the recipe
std::string getSOURCE(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setSOURCE(const std::string& value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Batch Status number (Number in the L1/L2 Telgramm in the, Material handling report
long getBATCHSTATUSNO(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setBATCHSTATUSNO(long value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Basis of the related model calculation
long getCALC_BASIS_NO(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setCALC_BASIS_NO(long value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Date of last status change., Comment:, Weighed time = first Weighed for one recipe
CDateTime getBATCHSTATUSCHGDATE(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setBATCHSTATUSCHGDATE(const CDateTime& value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Date and time of last revision
CDateTime getUPDTIME(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setUPDTIME(const CDateTime& value);
//##DBClassCodeUtility ! DO NOT EDIT !
double getWEIGHTTOTAL(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setWEIGHTTOTAL(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Total Cost of the Batch
double getCOSTSBATCH(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setCOSTSBATCH(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Bulk volume
double getBULKVOL(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setBULKVOL(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Oxygen Moment, Only for AOD, BOF, Conarc and, Recipe Status, Enable, Processing Start, Weighing Complete, First Material in Charging Hopper, Discharge Start, Weighing Complete, Last Material In Chrging Hopper, Discharged
double getACTOXYGENMOMENT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setACTOXYGENMOMENT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Ar Moment, Only for AOD, BOF, Conarc and, Recipe Status, Enable, Processing Start, Weighing Complete, First Material in Charging Hopper, Discharge Start, Weighing Complete, Last Material In Chrging Hopper, Discharged
double getACT_AR_MOMENT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setACT_AR_MOMENT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##N2 Moment, Only for AOD, BOF, Conarc and, Recipe Status, Enable, Processing Start, Weighing Complete, First Material in Charging Hopper, Discharge Start, Weighing Complete, Last Material In Chrging Hopper, Discharged
double getACT_N2_MOMENT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setACT_N2_MOMENT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Only for EAF/LF, Only for Recipe Status, Recipe Status, Enable, Processing Start, Weighing Complete, First Material in Charging Hopper, Discharge Start, Weighing Complete, Last Material In Chrging Hopper, Discharged
double getACT_EGY(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setACT_EGY(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Duration since heat announcement
double getDURSINCEHEATANNOUNCEMENT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setDURSINCEHEATANNOUNCEMENT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Duration since start of heat
double getDURSINCESTARTOFFHEAT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setDURSINCESTARTOFFHEAT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Batch Material feed speed., BATCHMATFEEDSPEED=, TOTALBATCHWEIGHT/, Discharged Time Discharge Start Time, Only filled for Status 10!!!
double getBATCHFEEDSPEED(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setBATCHFEEDSPEED(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Timestamp when Batch status "Discharge Start" has been reached
CDateTime getDISCHARGESTARTTIME(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setDISCHARGESTARTTIME(const CDateTime& value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Timestamp when Batch status "Discharge End" has been reached
CDateTime getDISCHARGEENDTIME(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setDISCHARGEENDTIME(const CDateTime& value);
//##DBClassCodeUtility ! DO NOT EDIT !
double getVOLUME(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setVOLUME(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
//##Charging destination name, e.g TapLadle, ladle
std::string getCHARGING_DEST_NAME(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setCHARGING_DEST_NAME(const std::string& value);
//##DBClassCodeUtility ! DO NOT EDIT !
double getACT_O2_MOMENT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setACT_O2_MOMENT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
double getCHARGE_MOMENT(long Row);
//##DBClassCodeUtility ! DO NOT EDIT !
void setCHARGE_MOMENT(double value);
//##DBClassCodeUtility ! DO NOT EDIT !
bool select(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, const std::string& SOURCE, long BATCHSTATUSNO);
//## ----------------------------------END-GENERATED-CODE---------------------
//## ----------------------------------YOUR-CODE------------------------------
bool selectInUse(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, const std::string& SOURCE);
bool selectNotUsedRecipes(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, std::vector<std::string> SOURCE_LIST);
bool selectNotUsedRecipes(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, const std::string& SOURCE);
bool selectOrderdByBatchStatusNo(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, bool ASC );
bool selectOrderdByRecipeName(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, const std::string& SOURCE, bool ASC );
bool selectOrdered(std::string& HeatID, std::string& TreatID, std::string& Plant, long BATCHSTATUSNO, std::string& ORDERBY);
bool selectPrepared(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, const std::string& SOURCE);
bool copyDataToBatchStatus(const std::string & HeatID, const std::string & TreatID,const std::string & Plant, const std::string & RECIPENAME, long RECIPENO, const std::string & SOURCE, long BATCHSTATUSNO_SOURCE, long BATCHSTATUSNO_AIM, bool Commit, cCBS_ODBC_DBError &Error);
bool copyDataToFinalBatchStatus(const std::string & HeatID, const std::string & TreatID,const std::string & Plant, const std::string & RECIPENAME, long RECIPENO, const std::string & SOURCE, long BATCHSTATUSNO, bool Commit, cCBS_ODBC_DBError &Error);
bool checkBatchForCalculatedMaterials(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, seqBatch &SeqBatch);
bool checkBatchStateChange(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo);
bool cleanRecipeData(const std::string & HeatID, const std::string & TreatID, const std::string & Plant, const std::string & RECIPENAME, long RECIPENO, const std::string & SOURCE, bool Commit, cCBS_ODBC_DBError &Error);
bool deleteRow(const std::string & HeatID, const std::string & TreatID, const std::string & Plant, const std::string & RECIPENAME, long RECIPENO, const std::string & SOURCE, long BATCHSTATUSNO, bool Commit, cCBS_ODBC_DBError &Error);
virtual void doOnConstruct();
virtual void doOnDestruct();
long getActRecipeNo(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, const std::string& SOURCE);
double getCostsChargedBatch(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, long PLANTNO, const std::string& PURP_CODE);
double getMatWeightForChargeDest(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, long PLANTNO, std::vector<std::string> SOURCE_LIST, const std::string& CHARGING_DEST_NAME);
double getMatWeightForChargeDestAndPurpose(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, long PLANTNO, std::vector<std::string> SOURCE_LIST, std::vector<std::string> CHARGING_DEST_NAME_LIST, const std::string& PURP_CODE);
double getMatWeightForChargeDestAndPurpose(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, long PLANTNO, std::vector<std::string> SOURCE_LIST, const std::string& CHARGING_DEST_NAME, const std::string& PURP_CODE);
double getMatWeightForPurpose(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, long PLANTNO, const std::string& PURP_CODE);
bool insertRecipeData(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, sMetTimeStamp &MetTimeStamp, seqBatchPrio &SeqBatchPrio, bool Commit, cCBS_ODBC_DBError &Error);
bool isRecipeIniUse(const std::string& HEATID, const std::string& TREATID, const std::string& PLANT, const std::string& RECIPENAME, long RECIPENO, const std::string& SOURCE);
bool removeRecipeData(const std::string & HeatID, const std::string & TreatID, const std::string & Plant, const std::string & RECIPENAME, long RECIPENO, const std::string & SOURCE, long BATCHSTATUSNO, bool Commit, cCBS_ODBC_DBError &Error);
bool replaceBatch(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, sMetTimeStamp &MetTimeStamp, seqBatch &SeqBatch, bool Commit, cCBS_ODBC_DBError &Error);
bool setCalculatedFeedingValues(CDateTime & StartTime, CDateTime & EndTime, double WeightTotal);
double setCalculatedValues(seqBatchPrio &SeqBatchPrio);
void setGasInfo(double ACT_O2_MOMENT, double ACT_AR_MOMENT, double ACT_N2_MOMENT);
bool updateGasAndElecData(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, sMetTimeStamp &MetTimeStamp, bool Commit, cCBS_ODBC_DBError &Error);
bool updateChargeMoment(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, bool Commit, cCBS_ODBC_DBError &Error);
bool updateRecipeData(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, sMetTimeStamp &MetTimeStamp, seqBatchPrio &SeqBatchPrio, bool Commit, cCBS_ODBC_DBError &Error);
bool writeBatch(const std::string& HeatID, const std::string& TreatID, const std::string& Plant, sRecipeInfo &SRecipeInfo, sMetTimeStamp &MetTimeStamp, seqBatch &SeqBatch, bool Commit, cCBS_ODBC_DBError &Error);
bool writeBatchPrio(const std::string& HeatID, const std::string& TreatID,const std::string& Plant, sRecipeInfo &SRecipeInfo, sMetTimeStamp &MetTimeStamp, seqBatchPrio &SeqBatchPrio, bool Commit, cCBS_ODBC_DBError &Error);
CPD_RECIPE_ENTRY * m_pPD_RECIPE_ENTRY;
CGT_MAT * m_pGT_MAT;
};
#endif /* _INC_CPD_RECIPE_INCLUDED */
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.