hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
sequencelengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
sequencelengths
1
10
max_issues_count
float64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
sequencelengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
4b0d7f5f9775d1999b58c14cccceda7daf121a03
1,059
adb
Ada
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/mi_dyn_arr/pck.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/mi_dyn_arr/pck.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/mi_dyn_arr/pck.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2014-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pck is function New_Bounded (Low, High : Integer) return Bounded is Result : Bounded (Low .. High); begin for J in Low .. High loop Result (J) := J; end loop; return Result; end New_Bounded; procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Pck;
34.16129
73
0.696884
4bab4e9bf915d4cc02829d67cbe5d9bcc16e9bf1
436
adb
Ada
136/ada/show_increment_2.adb
notdb/LC-Practice
48898e0a29ed3f4559b8680fe0bdd596c5faae1f
[ "MIT" ]
null
null
null
136/ada/show_increment_2.adb
notdb/LC-Practice
48898e0a29ed3f4559b8680fe0bdd596c5faae1f
[ "MIT" ]
null
null
null
136/ada/show_increment_2.adb
notdb/LC-Practice
48898e0a29ed3f4559b8680fe0bdd596c5faae1f
[ "MIT" ]
null
null
null
with Ada.Text_IO; use Ada.Text_IO; with Increment_By; procedure Show_Increment_2 is A, B, C : Integer; procedure Display_Result is begin Put_Line ("Increment of " & Integer'Image(A) & " with " & Integer'Image(B) & " is " & Integer'Image(C)); end Display_Result; begin A := 10; B := 3; C := Increment_By (A, B); Display_Result; end Show_Increment_2;
24.222222
49
0.571101
4b929ad0094e0a5039aa979a38352a43734710e0
2,584
ads
Ada
src/svd/sam_svd-rstc.ads
Fabien-Chouteau/samd51-hal
54d4b29df100502d8b3e3b4680a198640faa5f4d
[ "BSD-3-Clause" ]
1
2020-02-24T23:19:03.000Z
2020-02-24T23:19:03.000Z
src/svd/sam_svd-rstc.ads
Fabien-Chouteau/samd51-hal
54d4b29df100502d8b3e3b4680a198640faa5f4d
[ "BSD-3-Clause" ]
null
null
null
src/svd/sam_svd-rstc.ads
Fabien-Chouteau/samd51-hal
54d4b29df100502d8b3e3b4680a198640faa5f4d
[ "BSD-3-Clause" ]
null
null
null
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.RSTC is pragma Preelaborate; --------------- -- Registers -- --------------- -- Reset Cause type RSTC_RCAUSE_Register is record -- Read-only. Power On Reset POR : Boolean; -- Read-only. Brown Out CORE Detector Reset BODCORE : Boolean; -- Read-only. Brown Out VDD Detector Reset BODVDD : Boolean; -- Read-only. NVM Reset NVM : Boolean; -- Read-only. External Reset EXT : Boolean; -- Read-only. Watchdog Reset WDT : Boolean; -- Read-only. System Reset Request SYST : Boolean; -- Read-only. Backup Reset BACKUP : Boolean; end record with Volatile_Full_Access, Object_Size => 8, Bit_Order => System.Low_Order_First; for RSTC_RCAUSE_Register use record POR at 0 range 0 .. 0; BODCORE at 0 range 1 .. 1; BODVDD at 0 range 2 .. 2; NVM at 0 range 3 .. 3; EXT at 0 range 4 .. 4; WDT at 0 range 5 .. 5; SYST at 0 range 6 .. 6; BACKUP at 0 range 7 .. 7; end record; -- Backup Exit Source type RSTC_BKUPEXIT_Register is record -- unspecified Reserved_0_0 : HAL.Bit; -- Read-only. Real Timer Counter Interrupt RTC : Boolean; -- Read-only. Battery Backup Power Switch BBPS : Boolean; -- unspecified Reserved_3_6 : HAL.UInt4; -- Read-only. Hibernate HIB : Boolean; end record with Volatile_Full_Access, Object_Size => 8, Bit_Order => System.Low_Order_First; for RSTC_BKUPEXIT_Register use record Reserved_0_0 at 0 range 0 .. 0; RTC at 0 range 1 .. 1; BBPS at 0 range 2 .. 2; Reserved_3_6 at 0 range 3 .. 6; HIB at 0 range 7 .. 7; end record; ----------------- -- Peripherals -- ----------------- -- Reset Controller type RSTC_Peripheral is record -- Reset Cause RCAUSE : aliased RSTC_RCAUSE_Register; -- Backup Exit Source BKUPEXIT : aliased RSTC_BKUPEXIT_Register; end record with Volatile; for RSTC_Peripheral use record RCAUSE at 16#0# range 0 .. 7; BKUPEXIT at 16#2# range 0 .. 7; end record; -- Reset Controller RSTC_Periph : aliased RSTC_Peripheral with Import, Address => RSTC_Base; end SAM_SVD.RSTC;
26.639175
68
0.575464
22f2252c383300f34472a5843cdb63f0bab8ee8a
120,895
adb
Ada
test/halide_data/pldi_camera_ready/big_apps_32_real/conv2d_b2b/collateral/conv2d_b2b/hls_target/.autopilot/db/Loop_3_proc.sched.adb
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
20
2019-03-12T20:12:31.000Z
2022-02-07T04:23:22.000Z
test/halide_data/pldi_camera_ready/big_apps_32_real/conv2d_b2b/collateral/conv2d_b2b/hls_target/.autopilot/db/Loop_3_proc.sched.adb
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
30
2019-07-22T19:25:42.000Z
2020-06-18T17:58:43.000Z
test/halide_data/pldi_camera_ready/big_apps_32_real/conv2d_b2b/collateral/conv2d_b2b/hls_target/.autopilot/db/Loop_3_proc.sched.adb
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
3
2019-10-14T18:07:26.000Z
2022-01-20T14:36:17.000Z
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>Loop_3_proc</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>p_p2_mul1_stencil_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>hw_output_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned int, 1, 1, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>hw_output_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned int, 1, 1, 1, 1&amp;gt; &amp;gt;.V.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>44</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>6</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>58</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>8</id> <name>indvar_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>158</item> <item>159</item> <item>160</item> <item>161</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>9</id> <name>p_hw_output_y_scan_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>162</item> <item>163</item> <item>164</item> <item>165</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>10</id> <name>p_hw_output_x_scan_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>_hw_output_x___scan_dim_0</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>166</item> <item>167</item> <item>168</item> <item>169</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>11</id> <name>exitcond_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>170</item> <item>172</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>12</id> <name>indvar_flatten_next</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>173</item> <item>175</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>13</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>176</item> <item>177</item> <item>178</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>16</id> <name>exitcond7</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>59</item> <item>61</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>17</id> <name>p_hw_output_x_scan_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>62</item> <item>64</item> <item>65</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>18</id> <name>p_hw_output_y_scan_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>223</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>223</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>67</item> <item>68</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>19</id> <name>tmp_7_mid1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>69</item> <item>71</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>20</id> <name>tmp_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>72</item> <item>73</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>21</id> <name>tmp_7_mid2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>74</item> <item>75</item> <item>76</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_hw_output_y_scan_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>77</item> <item>78</item> <item>79</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_value_V_5</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>81</item> <item>82</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>26</id> <name>p_417</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>237</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>237</second> </item> </second> </item> </inlineStackInfo> <originalName>_417</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>83</item> </oprand_edges> <opcode>sitofp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>27</id> <name>p_418</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>238</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>238</second> </item> </second> </item> </inlineStackInfo> <originalName>_418</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>84</item> </oprand_edges> <opcode>fpext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>28</id> <name>p_419</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName>_419</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>85</item> <item>87</item> </oprand_edges> <opcode>dmul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>29</id> <name>p_Val2_s</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>475</lineNumber> <contextFuncName>fp_struct</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>480</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</first> <second>fp_struct</second> </first> <second>475</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>val</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>88</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>30</id> <name>loc_V</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>477</lineNumber> <contextFuncName>fp_struct</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>480</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</first> <second>fp_struct</second> </first> <second>477</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>loc.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>90</item> <item>91</item> <item>93</item> <item>95</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>31</id> <name>loc_V_1</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>478</lineNumber> <contextFuncName>fp_struct</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>480</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</first> <second>fp_struct</second> </first> <second>478</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>loc.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>52</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>96</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>32</id> <name>tmp_i_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>482</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>482</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>54</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>98</item> <item>100</item> <item>101</item> <item>103</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>33</id> <name>tmp_i_cast_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>482</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>482</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>137</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>104</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>34</id> <name>tmp_i_i_cast_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>502</lineNumber> <contextFuncName>expv</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</first> <second>expv</second> </first> <second>502</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>105</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>35</id> <name>sh_assign</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>502</lineNumber> <contextFuncName>expv</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/utils/x_hls_utils.h</first> <second>expv</second> </first> <second>502</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>sh</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>107</item> <item>108</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>36</id> <name>isNeg</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>isNeg</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>110</item> <item>111</item> <item>113</item> </oprand_edges> <opcode>bitselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_1_i_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>115</item> <item>116</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_1_i_cast_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>117</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>39</id> <name>sh_assign_1</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>sh</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>118</item> <item>119</item> <item>120</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>40</id> <name>sh_assign_1_i_cast_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>121</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>41</id> <name>tmp_2_i_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>137</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>122</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>42</id> <name>tmp_2_i_cast_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>54</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>123</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>43</id> <name>tmp_3_i_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>54</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>124</item> <item>125</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>44</id> <name>tmp_4_i_i</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>137</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>126</item> <item>127</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>488</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>488</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>129</item> <item>130</item> <item>132</item> </oprand_edges> <opcode>bitselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>46</id> <name>tmp_1</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>488</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>488</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>133</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>47</id> <name>tmp_4</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>488</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>488</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>135</item> <item>136</item> <item>137</item> <item>139</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>48</id> <name>p_Val2_4</name> <fileName>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</fileName> <fileDirectory>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</fileDirectory> <lineNumber>485</lineNumber> <contextFuncName>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</contextFuncName> <inlineStackInfo> <count>2</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>240</second> </item> </second> </item> <item> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products</first> <second> <count>3</count> <item_version>0</item_version> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, 6, double&amp;gt;</second> </first> <second>485</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/hls/hls_round.h</first> <second>cast_IEEE754&amp;lt;unsigned int, double&amp;gt;</second> </first> <second>523</second> </item> <item> <first> <first>/wrk/2017.2/nightly/2017_06_15_1909853/src/products/hls/hls_lib/src/lib_floatconversion.cpp</first> <second>__hls_fptoui_double_i32</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>140</item> <item>141</item> <item>142</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>143</item> <item>145</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>50</id> <name>tmp_last_V</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>146</item> <item>147</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>51</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>248</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>248</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>149</item> <item>150</item> <item>151</item> <item>152</item> <item>153</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>53</id> <name>p_hw_output_x_scan_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName>_hw_output_x___scan_dim_0</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>154</item> <item>155</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>54</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>156</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>56</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_48"> <Value> <Obj> <type>2</type> <id>60</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1917</content> </item> <item class_id_reference="16" object_id="_49"> <Value> <Obj> <type>2</type> <id>63</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_50"> <Value> <Obj> <type>2</type> <id>66</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>70</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1076</content> </item> <item class_id_reference="16" object_id="_52"> <Value> <Obj> <type>2</type> <id>86</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>1</const_type> <content>0.125</content> </item> <item class_id_reference="16" object_id="_53"> <Value> <Obj> <type>2</type> <id>92</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>52</content> </item> <item class_id_reference="16" object_id="_54"> <Value> <Obj> <type>2</type> <id>94</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>62</content> </item> <item class_id_reference="16" object_id="_55"> <Value> <Obj> <type>2</type> <id>99</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_56"> <Value> <Obj> <type>2</type> <id>102</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_57"> <Value> <Obj> <type>2</type> <id>106</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <const_type>0</const_type> <content>3073</content> </item> <item class_id_reference="16" object_id="_58"> <Value> <Obj> <type>2</type> <id>112</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>11</content> </item> <item class_id_reference="16" object_id="_59"> <Value> <Obj> <type>2</type> <id>114</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1023</content> </item> <item class_id_reference="16" object_id="_60"> <Value> <Obj> <type>2</type> <id>131</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>53</content> </item> <item class_id_reference="16" object_id="_61"> <Value> <Obj> <type>2</type> <id>138</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>84</content> </item> <item class_id_reference="16" object_id="_62"> <Value> <Obj> <type>2</type> <id>144</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1916</content> </item> <item class_id_reference="16" object_id="_63"> <Value> <Obj> <type>2</type> <id>157</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_64"> <Value> <Obj> <type>2</type> <id>171</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>2064609</content> </item> <item class_id_reference="16" object_id="_65"> <Value> <Obj> <type>2</type> <id>174</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_66"> <Obj> <type>3</type> <id>7</id> <name>newFuncRoot</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>6</item> </node_objs> </item> <item class_id_reference="18" object_id="_67"> <Obj> <type>3</type> <id>14</id> <name>.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> </node_objs> </item> <item class_id_reference="18" object_id="_68"> <Obj> <type>3</type> <id>55</id> <name>.preheader37</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>36</count> <item_version>0</item_version> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>53</item> <item>54</item> </node_objs> </item> <item class_id_reference="18" object_id="_69"> <Obj> <type>3</type> <id>57</id> <name>.exitStub</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>56</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>93</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_70"> <id>58</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>59</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>61</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>62</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>64</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>65</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>67</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>68</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>69</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>71</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>72</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>73</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>74</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>75</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>76</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>77</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>78</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>79</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>82</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>83</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>84</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>85</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>87</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>88</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>91</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>93</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>95</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>96</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>100</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>101</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>103</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>104</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>105</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>107</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>108</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>111</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>113</id> <edge_type>1</edge_type> <source_obj>112</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>115</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>116</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>117</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>118</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>119</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>120</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>121</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>122</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>123</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>124</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>125</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>126</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>127</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>130</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>132</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>133</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>136</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>137</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>139</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>140</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>141</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>142</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>143</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>145</id> <edge_type>1</edge_type> <source_obj>144</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>146</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>147</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>150</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>151</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>152</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>153</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>154</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>155</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>156</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>158</id> <edge_type>1</edge_type> <source_obj>157</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>159</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>160</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>161</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>162</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>163</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>164</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>165</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>166</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>167</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>168</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>169</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>170</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>172</id> <edge_type>1</edge_type> <source_obj>171</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>173</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>175</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>176</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>177</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>178</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>238</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>239</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>240</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_162"> <id>241</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>14</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_163"> <mId>1</mId> <mTag>Loop_3_proc</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2064633</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_164"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>7</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_165"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>14</item> <item>55</item> </basic_blocks> <mII>1</mII> <mDepth>24</mDepth> <mMinTripCount>2064609</mMinTripCount> <mMaxTripCount>2064609</mMaxTripCount> <mMinLatency>2064631</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_166"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>57</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>44</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>6</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>3</first> <second>7</second> </second> </item> <item> <first>27</first> <second> <first>11</first> <second>1</second> </second> </item> <item> <first>28</first> <second> <first>13</first> <second>9</second> </second> </item> <item> <first>29</first> <second> <first>22</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>22</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>22</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>7</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>55</first> <second> <first>1</first> <second>24</second> </second> </item> <item> <first>57</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="1" version="0" object_id="_167"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>14</item> <item>55</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>24</pipe_depth> </item> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
29.251149
138
0.597204
047b0d59507fd0c4d9d52d0c2c7e75df09a9471d
5,684
ads
Ada
3-mid/impact/source/2d/orbs/dynamics/joints/impact-d2-orbs-joint-prismatic.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
3-mid/impact/source/2d/orbs/dynamics/joints/impact-d2-orbs-joint-prismatic.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
3-mid/impact/source/2d/orbs/dynamics/joints/impact-d2-orbs-joint-prismatic.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
package impact.d2.orbs.Joint.prismatic -- -- -- is -- -- #include <Box2D/Dynamics/Joints/b2Joint.h> -- -- /// Prismatic joint definition. This requires defining a line of -- /// motion using an axis and an anchor point. The definition uses local -- /// anchor points and a local axis so that the initial configuration -- /// can violate the constraint slightly. The joint translation is zero -- /// when the local anchor points coincide in world space. Using local -- /// anchors and a local axis helps when saving and loading a game. -- /// @warning at least one body should by dynamic with a non-fixed rotation. -- struct b2PrismaticJointDef : public b2JointDef -- { -- b2PrismaticJointDef() -- { -- type = e_prismaticJoint; -- localAnchorA.SetZero(); -- localAnchorB.SetZero(); -- localAxis1.Set(1.0f, 0.0f); -- referenceAngle = 0.0f; -- enableLimit = false; -- lowerTranslation = 0.0f; -- upperTranslation = 0.0f; -- enableMotor = false; -- maxMotorForce = 0.0f; -- motorSpeed = 0.0f; -- } -- -- /// Initialize the bodies, anchors, axis, and reference angle using the world -- /// anchor and world axis. -- void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor, const b2Vec2& axis); -- -- /// The local anchor point relative to body1's origin. -- b2Vec2 localAnchorA; -- -- /// The local anchor point relative to body2's origin. -- b2Vec2 localAnchorB; -- -- /// The local translation axis in body1. -- b2Vec2 localAxis1; -- -- /// The constrained angle between the bodies: body2_angle - body1_angle. -- float32 referenceAngle; -- -- /// Enable/disable the joint limit. -- bool enableLimit; -- -- /// The lower translation limit, usually in meters. -- float32 lowerTranslation; -- -- /// The upper translation limit, usually in meters. -- float32 upperTranslation; -- -- /// Enable/disable the joint motor. -- bool enableMotor; -- -- /// The maximum motor torque, usually in N-m. -- float32 maxMotorForce; -- -- /// The desired motor speed in radians per second. -- float32 motorSpeed; -- }; -- -- /// A prismatic joint. This joint provides one degree of freedom: translation -- /// along an axis fixed in body1. Relative rotation is prevented. You can -- /// use a joint limit to restrict the range of motion and a joint motor to -- /// drive the motion or to model joint friction. -- class b2PrismaticJoint : public b2Joint -- { -- public: -- b2Vec2 GetAnchorA() const; -- b2Vec2 GetAnchorB() const; -- -- b2Vec2 GetReactionForce(float32 inv_dt) const; -- float32 GetReactionTorque(float32 inv_dt) const; -- -- /// Get the current joint translation, usually in meters. -- float32 GetJointTranslation() const; -- -- /// Get the current joint translation speed, usually in meters per second. -- float32 GetJointSpeed() const; -- -- /// Is the joint limit enabled? -- bool IsLimitEnabled() const; -- -- /// Enable/disable the joint limit. -- void EnableLimit(bool flag); -- -- /// Get the lower joint limit, usually in meters. -- float32 GetLowerLimit() const; -- -- /// Get the upper joint limit, usually in meters. -- float32 GetUpperLimit() const; -- -- /// Set the joint limits, usually in meters. -- void SetLimits(float32 lower, float32 upper); -- -- /// Is the joint motor enabled? -- bool IsMotorEnabled() const; -- -- /// Enable/disable the joint motor. -- void EnableMotor(bool flag); -- -- /// Set the motor speed, usually in meters per second. -- void SetMotorSpeed(float32 speed); -- -- /// Get the motor speed, usually in meters per second. -- float32 GetMotorSpeed() const; -- -- /// Set the maximum motor force, usually in N. -- void SetMaxMotorForce(float32 force); -- -- /// Get the current motor force, usually in N. -- float32 GetMotorForce() const; -- -- protected: -- friend class b2Joint; -- friend class b2GearJoint; -- b2PrismaticJoint(const b2PrismaticJointDef* def); -- -- void InitVelocityConstraints(const b2TimeStep& step); -- void SolveVelocityConstraints(const b2TimeStep& step); -- bool SolvePositionConstraints(float32 baumgarte); -- -- b2Vec2 m_localAnchor1; -- b2Vec2 m_localAnchor2; -- b2Vec2 m_localXAxis1; -- b2Vec2 m_localYAxis1; -- float32 m_refAngle; -- -- b2Vec2 m_axis, m_perp; -- float32 m_s1, m_s2; -- float32 m_a1, m_a2; -- -- b2Mat33 m_K; -- b2Vec3 m_impulse; -- -- float32 m_motorMass; // effective mass for motor/limit translational constraint. -- float32 m_motorImpulse; -- -- float32 m_lowerTranslation; -- float32 m_upperTranslation; -- float32 m_maxMotorForce; -- float32 m_motorSpeed; -- -- bool m_enableLimit; -- bool m_enableMotor; -- b2LimitState m_limitState; -- }; -- -- inline float32 b2PrismaticJoint::GetMotorSpeed() const -- { -- return m_motorSpeed; -- } -- -- #endif procedure dummy; end impact.d2.orbs.Joint.prismatic;
34.035928
115
0.58304
048698a54e1d4131ce70b96cbf1a378ce87fca16
576
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array4.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array4.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array4.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } procedure Array4 is type A is array (1..5) of Integer; f : constant A := (1, 2, 3, 4, 5); i1 : integer renames f(1); i2 : integer renames f(2); i3 : integer renames f(3); i4 : integer renames f(4); i5 : integer renames f(5); procedure Link_Failure; pragma Import (C, Link_Failure); begin if i1 /= 1 then Link_Failure; end if; if i2 /= 2 then Link_Failure; end if; if i3 /= 3 then Link_Failure; end if; if i4 /= 4 then Link_Failure; end if; if i5 /= 5 then Link_Failure; end if; end;
15.157895
37
0.583333
adbe3fee5fb326e7d2ed97685878ae994ccf35f8
2,953
adb
Ada
boards/MicroBit_v2/src/microbit-accelerometer.adb
BaderKashkash/Ada_Drivers_Library
027f0982c033a45a490b262080a9ede8c6adbc1c
[ "BSD-3-Clause" ]
1
2022-01-10T13:58:36.000Z
2022-01-10T13:58:36.000Z
boards/MicroBit_v2/src/microbit-accelerometer.adb
BaderKashkash/Ada_Drivers_Library
027f0982c033a45a490b262080a9ede8c6adbc1c
[ "BSD-3-Clause" ]
null
null
null
boards/MicroBit_v2/src/microbit-accelerometer.adb
BaderKashkash/Ada_Drivers_Library
027f0982c033a45a490b262080a9ede8c6adbc1c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018-2019, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ with MicroBit.I2C; package body MicroBit.Accelerometer is Acc : LSM303AGR.LSM303AGR_Accelerometer (MicroBit.I2C.Controller); procedure Initialize; ---------------- -- Initialize -- ---------------- procedure Initialize is begin if not MicroBit.I2C.Initialized then MicroBit.I2C.Initialize; end if; Acc.Configure (LSM303AGR.Freq_400); end Initialize; ---------- -- Data -- ---------- function Data return LSM303AGR.All_Axes_Data is (Acc.Read_Accelerometer); begin Initialize; end MicroBit.Accelerometer;
46.873016
78
0.528276
2e3c60b6e5f484d55f7d678db2da44b6523599c0
2,626
ads
Ada
tools/scitools/conf/understand/ada/ada05/s-strops.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada05/s-strops.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada05/s-strops.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . S T R I N G _ O P S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains functions for runtime operations on strings -- (other than runtime comparison, found in s-strcom.ads). package System.String_Ops is pragma Pure; function Str_Concat (X, Y : String) return String; -- Concatenate two strings and return resulting string function Str_Concat_SC (X : String; Y : Character) return String; -- Concatenate string and character function Str_Concat_CS (X : Character; Y : String) return String; -- Concatenate character and string function Str_Concat_CC (X, Y : Character) return String; -- Concatenate two characters end System.String_Ops;
49.54717
78
0.456588
c70cd09a1c753b369927ba5e8ee3bc234b754ce8
2,648
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindgen.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindgen.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindgen.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- B I N D G E N -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the routines to output the binder file. This is -- an Ada program which contains the following: -- Initialization for main program case -- Sequence of calls to elaboration routines in appropriate order -- Call to main program for main program case -- See the body for exact details of the file that is generated with ALI; use ALI; package Bindgen is procedure Gen_Output_File (Filename : String; Elab_Order : Unit_Id_Array); -- Filename is the full path name of the binder output file procedure Set_Bind_Env (Key, Value : String); -- Add (Key, Value) pair to bind environment. These associations -- are made available at run time using System.Bind_Environment. end Bindgen;
55.166667
78
0.467523
2e9a79e8f8e906af3f61c018a5c2113988fdbe4c
6,246
adb
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-pack35.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-pack35.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-pack35.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 3 5 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_35 is subtype Bit_Order is System.Bit_Order; Reverse_Bit_Order : constant Bit_Order := Bit_Order'Val (1 - Bit_Order'Pos (System.Default_Bit_Order)); subtype Ofs is System.Storage_Elements.Storage_Offset; subtype Uns is System.Unsigned_Types.Unsigned; subtype N07 is System.Unsigned_Types.Unsigned range 0 .. 7; use type System.Storage_Elements.Storage_Offset; use type System.Unsigned_Types.Unsigned; type Cluster is record E0, E1, E2, E3, E4, E5, E6, E7 : Bits_35; end record; for Cluster use record E0 at 0 range 0 * Bits .. 0 * Bits + Bits - 1; E1 at 0 range 1 * Bits .. 1 * Bits + Bits - 1; E2 at 0 range 2 * Bits .. 2 * Bits + Bits - 1; E3 at 0 range 3 * Bits .. 3 * Bits + Bits - 1; E4 at 0 range 4 * Bits .. 4 * Bits + Bits - 1; E5 at 0 range 5 * Bits .. 5 * Bits + Bits - 1; E6 at 0 range 6 * Bits .. 6 * Bits + Bits - 1; E7 at 0 range 7 * Bits .. 7 * Bits + Bits - 1; end record; for Cluster'Size use Bits * 8; for Cluster'Alignment use Integer'Min (Standard'Maximum_Alignment, 1 + 1 * Boolean'Pos (Bits mod 2 = 0) + 2 * Boolean'Pos (Bits mod 4 = 0)); -- Use maximum possible alignment, given the bit field size, since this -- will result in the most efficient code possible for the field. type Cluster_Ref is access Cluster; type Rev_Cluster is new Cluster with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_Cluster_Ref is access Rev_Cluster; ------------ -- Get_35 -- ------------ function Get_35 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_35 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end Get_35; ------------ -- Set_35 -- ------------ procedure Set_35 (Arr : System.Address; N : Natural; E : Bits_35; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end Set_35; end System.Pack_35;
39.531646
78
0.460775
04d5dabe3aba7134b60e8f54525c6c2257793c22
99,112
adb
Ada
examples/dump_tree/dump_elements.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
examples/dump_tree/dump_elements.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
examples/dump_tree/dump_elements.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
1
2019-10-16T09:05:27.000Z
2019-10-16T09:05:27.000Z
-- SPDX-FileCopyrightText: 2019 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Wide_Wide_Text_IO; with Program.Element_Iterators; with Program.Element_Visitors; with Program.Elements.Pragmas; with Program.Elements.Defining_Identifiers; with Program.Elements.Defining_Character_Literals; with Program.Elements.Defining_Operator_Symbols; with Program.Elements.Defining_Expanded_Names; with Program.Elements.Type_Declarations; with Program.Elements.Task_Type_Declarations; with Program.Elements.Protected_Type_Declarations; with Program.Elements.Subtype_Declarations; with Program.Elements.Object_Declarations; with Program.Elements.Single_Task_Declarations; with Program.Elements.Single_Protected_Declarations; with Program.Elements.Number_Declarations; with Program.Elements.Enumeration_Literal_Specifications; with Program.Elements.Discriminant_Specifications; with Program.Elements.Component_Declarations; with Program.Elements.Loop_Parameter_Specifications; with Program.Elements.Generalized_Iterator_Specifications; with Program.Elements.Element_Iterator_Specifications; with Program.Elements.Procedure_Declarations; with Program.Elements.Function_Declarations; with Program.Elements.Parameter_Specifications; with Program.Elements.Procedure_Body_Declarations; with Program.Elements.Function_Body_Declarations; with Program.Elements.Return_Object_Specifications; with Program.Elements.Package_Declarations; with Program.Elements.Package_Body_Declarations; with Program.Elements.Object_Renaming_Declarations; with Program.Elements.Exception_Renaming_Declarations; with Program.Elements.Procedure_Renaming_Declarations; with Program.Elements.Function_Renaming_Declarations; with Program.Elements.Package_Renaming_Declarations; with Program.Elements.Generic_Package_Renaming_Declarations; with Program.Elements.Generic_Procedure_Renaming_Declarations; with Program.Elements.Generic_Function_Renaming_Declarations; with Program.Elements.Task_Body_Declarations; with Program.Elements.Protected_Body_Declarations; with Program.Elements.Entry_Declarations; with Program.Elements.Entry_Body_Declarations; with Program.Elements.Entry_Index_Specifications; with Program.Elements.Procedure_Body_Stubs; with Program.Elements.Function_Body_Stubs; with Program.Elements.Package_Body_Stubs; with Program.Elements.Task_Body_Stubs; with Program.Elements.Protected_Body_Stubs; with Program.Elements.Exception_Declarations; with Program.Elements.Choice_Parameter_Specifications; with Program.Elements.Generic_Package_Declarations; with Program.Elements.Generic_Procedure_Declarations; with Program.Elements.Generic_Function_Declarations; with Program.Elements.Package_Instantiations; with Program.Elements.Procedure_Instantiations; with Program.Elements.Function_Instantiations; with Program.Elements.Formal_Object_Declarations; with Program.Elements.Formal_Type_Declarations; with Program.Elements.Formal_Procedure_Declarations; with Program.Elements.Formal_Function_Declarations; with Program.Elements.Formal_Package_Declarations; with Program.Elements.Subtype_Indications; with Program.Elements.Component_Definitions; with Program.Elements.Discrete_Subtype_Indications; with Program.Elements.Discrete_Range_Attribute_References; with Program.Elements.Discrete_Simple_Expression_Ranges; with Program.Elements.Unknown_Discriminant_Parts; with Program.Elements.Known_Discriminant_Parts; with Program.Elements.Record_Definitions; with Program.Elements.Null_Components; with Program.Elements.Variant_Parts; with Program.Elements.Variants; with Program.Elements.Others_Choices; with Program.Elements.Anonymous_Access_To_Objects; with Program.Elements.Anonymous_Access_To_Procedures; with Program.Elements.Anonymous_Access_To_Functions; with Program.Elements.Private_Type_Definitions; with Program.Elements.Private_Extension_Definitions; with Program.Elements.Incomplete_Type_Definitions; with Program.Elements.Task_Definitions; with Program.Elements.Protected_Definitions; with Program.Elements.Aspect_Specifications; with Program.Elements.Real_Range_Specifications; with Program.Elements.Numeric_Literals; with Program.Elements.String_Literals; with Program.Elements.Identifiers; with Program.Elements.Operator_Symbols; with Program.Elements.Character_Literals; with Program.Elements.Explicit_Dereferences; with Program.Elements.Infix_Operators; with Program.Elements.Function_Calls; with Program.Elements.Indexed_Components; with Program.Elements.Slices; with Program.Elements.Selected_Components; with Program.Elements.Attribute_References; with Program.Elements.Record_Aggregates; with Program.Elements.Extension_Aggregates; with Program.Elements.Array_Aggregates; with Program.Elements.Short_Circuit_Operations; with Program.Elements.Membership_Tests; with Program.Elements.Null_Literals; with Program.Elements.Parenthesized_Expressions; with Program.Elements.Raise_Expressions; with Program.Elements.Type_Conversions; with Program.Elements.Qualified_Expressions; with Program.Elements.Allocators; with Program.Elements.Case_Expressions; with Program.Elements.If_Expressions; with Program.Elements.Quantified_Expressions; with Program.Elements.Discriminant_Associations; with Program.Elements.Record_Component_Associations; with Program.Elements.Array_Component_Associations; with Program.Elements.Parameter_Associations; with Program.Elements.Formal_Package_Associations; with Program.Elements.Null_Statements; with Program.Elements.Assignment_Statements; with Program.Elements.If_Statements; with Program.Elements.Case_Statements; with Program.Elements.Loop_Statements; with Program.Elements.While_Loop_Statements; with Program.Elements.For_Loop_Statements; with Program.Elements.Block_Statements; with Program.Elements.Exit_Statements; with Program.Elements.Goto_Statements; with Program.Elements.Call_Statements; with Program.Elements.Simple_Return_Statements; with Program.Elements.Extended_Return_Statements; with Program.Elements.Accept_Statements; with Program.Elements.Requeue_Statements; with Program.Elements.Delay_Statements; with Program.Elements.Terminate_Alternative_Statements; with Program.Elements.Select_Statements; with Program.Elements.Abort_Statements; with Program.Elements.Raise_Statements; with Program.Elements.Code_Statements; with Program.Elements.Elsif_Paths; with Program.Elements.Case_Paths; with Program.Elements.Select_Paths; with Program.Elements.Case_Expression_Paths; with Program.Elements.Elsif_Expression_Paths; with Program.Elements.Use_Clauses; with Program.Elements.With_Clauses; with Program.Elements.Component_Clauses; with Program.Elements.Derived_Types; with Program.Elements.Derived_Record_Extensions; with Program.Elements.Enumeration_Types; with Program.Elements.Signed_Integer_Types; with Program.Elements.Modular_Types; with Program.Elements.Root_Types; with Program.Elements.Floating_Point_Types; with Program.Elements.Ordinary_Fixed_Point_Types; with Program.Elements.Decimal_Fixed_Point_Types; with Program.Elements.Unconstrained_Array_Types; with Program.Elements.Constrained_Array_Types; with Program.Elements.Record_Types; with Program.Elements.Interface_Types; with Program.Elements.Object_Access_Types; with Program.Elements.Procedure_Access_Types; with Program.Elements.Function_Access_Types; with Program.Elements.Formal_Private_Type_Definitions; with Program.Elements.Formal_Derived_Type_Definitions; with Program.Elements.Formal_Discrete_Type_Definitions; with Program.Elements.Formal_Signed_Integer_Type_Definitions; with Program.Elements.Formal_Modular_Type_Definitions; with Program.Elements.Formal_Floating_Point_Definitions; with Program.Elements.Formal_Ordinary_Fixed_Point_Definitions; with Program.Elements.Formal_Decimal_Fixed_Point_Definitions; with Program.Elements.Formal_Unconstrained_Array_Types; with Program.Elements.Formal_Constrained_Array_Types; with Program.Elements.Formal_Object_Access_Types; with Program.Elements.Formal_Procedure_Access_Types; with Program.Elements.Formal_Function_Access_Types; with Program.Elements.Formal_Interface_Types; with Program.Elements.Range_Attribute_References; with Program.Elements.Simple_Expression_Ranges; with Program.Elements.Digits_Constraints; with Program.Elements.Delta_Constraints; with Program.Elements.Index_Constraints; with Program.Elements.Discriminant_Constraints; with Program.Elements.Attribute_Definition_Clauses; with Program.Elements.Enumeration_Representation_Clauses; with Program.Elements.Record_Representation_Clauses; with Program.Elements.At_Clauses; with Program.Elements.Exception_Handlers; package body Dump_Elements is package Visitors is type Visitor is new Program.Element_Visitors.Element_Visitor with record Level : Natural := 0; end record; procedure Pragma_Element (Self : in out Visitor; Element : not null Program.Elements.Pragmas.Pragma_Access); procedure Defining_Identifier (Self : in out Visitor; Element : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access); procedure Defining_Character_Literal (Self : in out Visitor; Element : not null Program.Elements.Defining_Character_Literals .Defining_Character_Literal_Access); procedure Defining_Operator_Symbol (Self : in out Visitor; Element : not null Program.Elements.Defining_Operator_Symbols .Defining_Operator_Symbol_Access); procedure Defining_Expanded_Name (Self : in out Visitor; Element : not null Program.Elements.Defining_Expanded_Names .Defining_Expanded_Name_Access); procedure Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Type_Declarations .Type_Declaration_Access); procedure Task_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Type_Declarations .Task_Type_Declaration_Access); procedure Protected_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration_Access); procedure Subtype_Declaration (Self : in out Visitor; Element : not null Program.Elements.Subtype_Declarations .Subtype_Declaration_Access); procedure Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Declarations .Object_Declaration_Access); procedure Single_Task_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Task_Declarations .Single_Task_Declaration_Access); procedure Single_Protected_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration_Access); procedure Number_Declaration (Self : in out Visitor; Element : not null Program.Elements.Number_Declarations .Number_Declaration_Access); procedure Enumeration_Literal_Specification (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Access); procedure Discriminant_Specification (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Specifications .Discriminant_Specification_Access); procedure Component_Declaration (Self : in out Visitor; Element : not null Program.Elements.Component_Declarations .Component_Declaration_Access); procedure Loop_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification_Access); procedure Generalized_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements .Generalized_Iterator_Specifications .Generalized_Iterator_Specification_Access); procedure Element_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification_Access); procedure Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Declarations .Procedure_Declaration_Access); procedure Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Declarations .Function_Declaration_Access); procedure Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Parameter_Specifications .Parameter_Specification_Access); procedure Procedure_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration_Access); procedure Function_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Declarations .Function_Body_Declaration_Access); procedure Return_Object_Specification (Self : in out Visitor; Element : not null Program.Elements.Return_Object_Specifications .Return_Object_Specification_Access); procedure Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Declarations .Package_Declaration_Access); procedure Package_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Declarations .Package_Body_Declaration_Access); procedure Object_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration_Access); procedure Exception_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration_Access); procedure Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration_Access); procedure Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Access); procedure Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration_Access); procedure Generic_Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration_Access); procedure Generic_Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration_Access); procedure Generic_Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration_Access); procedure Task_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Declarations .Task_Body_Declaration_Access); procedure Protected_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration_Access); procedure Entry_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Declarations .Entry_Declaration_Access); procedure Entry_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Body_Declarations .Entry_Body_Declaration_Access); procedure Entry_Index_Specification (Self : in out Visitor; Element : not null Program.Elements.Entry_Index_Specifications .Entry_Index_Specification_Access); procedure Procedure_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Stubs .Procedure_Body_Stub_Access); procedure Function_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Stubs .Function_Body_Stub_Access); procedure Package_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Stubs .Package_Body_Stub_Access); procedure Task_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Stubs .Task_Body_Stub_Access); procedure Protected_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Stubs .Protected_Body_Stub_Access); procedure Exception_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Declarations .Exception_Declaration_Access); procedure Choice_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification_Access); procedure Generic_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration_Access); procedure Generic_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration_Access); procedure Generic_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration_Access); procedure Package_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Package_Instantiations .Package_Instantiation_Access); procedure Procedure_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Procedure_Instantiations .Procedure_Instantiation_Access); procedure Function_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Function_Instantiations .Function_Instantiation_Access); procedure Formal_Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Access); procedure Formal_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Type_Declarations .Formal_Type_Declaration_Access); procedure Formal_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration_Access); procedure Formal_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration_Access); procedure Formal_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration_Access); procedure Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Subtype_Indications .Subtype_Indication_Access); procedure Component_Definition (Self : in out Visitor; Element : not null Program.Elements.Component_Definitions .Component_Definition_Access); procedure Discrete_Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Discrete_Subtype_Indications .Discrete_Subtype_Indication_Access); procedure Discrete_Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements .Discrete_Range_Attribute_References .Discrete_Range_Attribute_Reference_Access); procedure Discrete_Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Discrete_Simple_Expression_Ranges .Discrete_Simple_Expression_Range_Access); procedure Unknown_Discriminant_Part (Self : in out Visitor; Element : not null Program.Elements.Unknown_Discriminant_Parts .Unknown_Discriminant_Part_Access); procedure Known_Discriminant_Part (Self : in out Visitor; Element : not null Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access); procedure Record_Definition (Self : in out Visitor; Element : not null Program.Elements.Record_Definitions .Record_Definition_Access); procedure Null_Component (Self : in out Visitor; Element : not null Program.Elements.Null_Components .Null_Component_Access); procedure Variant_Part (Self : in out Visitor; Element : not null Program.Elements.Variant_Parts .Variant_Part_Access); procedure Variant (Self : in out Visitor; Element : not null Program.Elements.Variants.Variant_Access); procedure Others_Choice (Self : in out Visitor; Element : not null Program.Elements.Others_Choices .Others_Choice_Access); procedure Anonymous_Access_To_Object (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Objects .Anonymous_Access_To_Object_Access); procedure Anonymous_Access_To_Procedure (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Procedures .Anonymous_Access_To_Procedure_Access); procedure Anonymous_Access_To_Function (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Functions .Anonymous_Access_To_Function_Access); procedure Private_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Private_Type_Definitions .Private_Type_Definition_Access); procedure Private_Extension_Definition (Self : in out Visitor; Element : not null Program.Elements.Private_Extension_Definitions .Private_Extension_Definition_Access); procedure Incomplete_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Incomplete_Type_Definitions .Incomplete_Type_Definition_Access); procedure Task_Definition (Self : in out Visitor; Element : not null Program.Elements.Task_Definitions .Task_Definition_Access); procedure Protected_Definition (Self : in out Visitor; Element : not null Program.Elements.Protected_Definitions .Protected_Definition_Access); procedure Aspect_Specification (Self : in out Visitor; Element : not null Program.Elements.Aspect_Specifications .Aspect_Specification_Access); procedure Real_Range_Specification (Self : in out Visitor; Element : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access); procedure Numeric_Literal (Self : in out Visitor; Element : not null Program.Elements.Numeric_Literals .Numeric_Literal_Access); procedure String_Literal (Self : in out Visitor; Element : not null Program.Elements.String_Literals .String_Literal_Access); procedure Identifier (Self : in out Visitor; Element : not null Program.Elements.Identifiers.Identifier_Access); procedure Operator_Symbol (Self : in out Visitor; Element : not null Program.Elements.Operator_Symbols .Operator_Symbol_Access); procedure Character_Literal (Self : in out Visitor; Element : not null Program.Elements.Character_Literals .Character_Literal_Access); procedure Explicit_Dereference (Self : in out Visitor; Element : not null Program.Elements.Explicit_Dereferences .Explicit_Dereference_Access); procedure Infix_Operator (Self : in out Visitor; Element : not null Program.Elements.Infix_Operators .Infix_Operator_Access); procedure Function_Call (Self : in out Visitor; Element : not null Program.Elements.Function_Calls .Function_Call_Access); procedure Indexed_Component (Self : in out Visitor; Element : not null Program.Elements.Indexed_Components .Indexed_Component_Access); procedure Slice (Self : in out Visitor; Element : not null Program.Elements.Slices.Slice_Access); procedure Selected_Component (Self : in out Visitor; Element : not null Program.Elements.Selected_Components .Selected_Component_Access); procedure Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Attribute_References .Attribute_Reference_Access); procedure Record_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Record_Aggregates .Record_Aggregate_Access); procedure Extension_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Extension_Aggregates .Extension_Aggregate_Access); procedure Array_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Array_Aggregates .Array_Aggregate_Access); procedure Short_Circuit_Operation (Self : in out Visitor; Element : not null Program.Elements.Short_Circuit_Operations .Short_Circuit_Operation_Access); procedure Membership_Test (Self : in out Visitor; Element : not null Program.Elements.Membership_Tests .Membership_Test_Access); procedure Null_Literal (Self : in out Visitor; Element : not null Program.Elements.Null_Literals .Null_Literal_Access); procedure Parenthesized_Expression (Self : in out Visitor; Element : not null Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access); procedure Raise_Expression (Self : in out Visitor; Element : not null Program.Elements.Raise_Expressions .Raise_Expression_Access); procedure Type_Conversion (Self : in out Visitor; Element : not null Program.Elements.Type_Conversions .Type_Conversion_Access); procedure Qualified_Expression (Self : in out Visitor; Element : not null Program.Elements.Qualified_Expressions .Qualified_Expression_Access); procedure Allocator (Self : in out Visitor; Element : not null Program.Elements.Allocators.Allocator_Access); procedure Case_Expression (Self : in out Visitor; Element : not null Program.Elements.Case_Expressions .Case_Expression_Access); procedure If_Expression (Self : in out Visitor; Element : not null Program.Elements.If_Expressions .If_Expression_Access); procedure Quantified_Expression (Self : in out Visitor; Element : not null Program.Elements.Quantified_Expressions .Quantified_Expression_Access); procedure Discriminant_Association (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Associations .Discriminant_Association_Access); procedure Record_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Record_Component_Associations .Record_Component_Association_Access); procedure Array_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Array_Component_Associations .Array_Component_Association_Access); procedure Parameter_Association (Self : in out Visitor; Element : not null Program.Elements.Parameter_Associations .Parameter_Association_Access); procedure Formal_Package_Association (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Associations .Formal_Package_Association_Access); procedure Null_Statement (Self : in out Visitor; Element : not null Program.Elements.Null_Statements .Null_Statement_Access); procedure Assignment_Statement (Self : in out Visitor; Element : not null Program.Elements.Assignment_Statements .Assignment_Statement_Access); procedure If_Statement (Self : in out Visitor; Element : not null Program.Elements.If_Statements .If_Statement_Access); procedure Case_Statement (Self : in out Visitor; Element : not null Program.Elements.Case_Statements .Case_Statement_Access); procedure Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.Loop_Statements .Loop_Statement_Access); procedure While_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.While_Loop_Statements .While_Loop_Statement_Access); procedure For_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.For_Loop_Statements .For_Loop_Statement_Access); procedure Block_Statement (Self : in out Visitor; Element : not null Program.Elements.Block_Statements .Block_Statement_Access); procedure Exit_Statement (Self : in out Visitor; Element : not null Program.Elements.Exit_Statements .Exit_Statement_Access); procedure Goto_Statement (Self : in out Visitor; Element : not null Program.Elements.Goto_Statements .Goto_Statement_Access); procedure Call_Statement (Self : in out Visitor; Element : not null Program.Elements.Call_Statements .Call_Statement_Access); procedure Simple_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Simple_Return_Statements .Simple_Return_Statement_Access); procedure Extended_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Extended_Return_Statements .Extended_Return_Statement_Access); procedure Accept_Statement (Self : in out Visitor; Element : not null Program.Elements.Accept_Statements .Accept_Statement_Access); procedure Requeue_Statement (Self : in out Visitor; Element : not null Program.Elements.Requeue_Statements .Requeue_Statement_Access); procedure Delay_Statement (Self : in out Visitor; Element : not null Program.Elements.Delay_Statements .Delay_Statement_Access); procedure Terminate_Alternative_Statement (Self : in out Visitor; Element : not null Program.Elements.Terminate_Alternative_Statements .Terminate_Alternative_Statement_Access); procedure Select_Statement (Self : in out Visitor; Element : not null Program.Elements.Select_Statements .Select_Statement_Access); procedure Abort_Statement (Self : in out Visitor; Element : not null Program.Elements.Abort_Statements .Abort_Statement_Access); procedure Raise_Statement (Self : in out Visitor; Element : not null Program.Elements.Raise_Statements .Raise_Statement_Access); procedure Code_Statement (Self : in out Visitor; Element : not null Program.Elements.Code_Statements .Code_Statement_Access); procedure Elsif_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Paths.Elsif_Path_Access); procedure Case_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Paths.Case_Path_Access); procedure Select_Path (Self : in out Visitor; Element : not null Program.Elements.Select_Paths.Select_Path_Access); procedure Case_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Expression_Paths .Case_Expression_Path_Access); procedure Elsif_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Expression_Paths .Elsif_Expression_Path_Access); procedure Use_Clause (Self : in out Visitor; Element : not null Program.Elements.Use_Clauses.Use_Clause_Access); procedure With_Clause (Self : in out Visitor; Element : not null Program.Elements.With_Clauses.With_Clause_Access); procedure Component_Clause (Self : in out Visitor; Element : not null Program.Elements.Component_Clauses .Component_Clause_Access); procedure Derived_Type (Self : in out Visitor; Element : not null Program.Elements.Derived_Types .Derived_Type_Access); procedure Derived_Record_Extension (Self : in out Visitor; Element : not null Program.Elements.Derived_Record_Extensions .Derived_Record_Extension_Access); procedure Enumeration_Type (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Types .Enumeration_Type_Access); procedure Signed_Integer_Type (Self : in out Visitor; Element : not null Program.Elements.Signed_Integer_Types .Signed_Integer_Type_Access); procedure Modular_Type (Self : in out Visitor; Element : not null Program.Elements.Modular_Types .Modular_Type_Access); procedure Root_Type (Self : in out Visitor; Element : not null Program.Elements.Root_Types.Root_Type_Access); procedure Floating_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Floating_Point_Types .Floating_Point_Type_Access); procedure Ordinary_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Access); procedure Decimal_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Decimal_Fixed_Point_Types .Decimal_Fixed_Point_Type_Access); procedure Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Unconstrained_Array_Types .Unconstrained_Array_Type_Access); procedure Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Constrained_Array_Types .Constrained_Array_Type_Access); procedure Record_Type (Self : in out Visitor; Element : not null Program.Elements.Record_Types.Record_Type_Access); procedure Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Interface_Types .Interface_Type_Access); procedure Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Object_Access_Types .Object_Access_Type_Access); procedure Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Procedure_Access_Types .Procedure_Access_Type_Access); procedure Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Function_Access_Types .Function_Access_Type_Access); procedure Formal_Private_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Private_Type_Definitions .Formal_Private_Type_Definition_Access); procedure Formal_Derived_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Derived_Type_Definitions .Formal_Derived_Type_Definition_Access); procedure Formal_Discrete_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Discrete_Type_Definitions .Formal_Discrete_Type_Definition_Access); procedure Formal_Signed_Integer_Type_Definition (Self : in out Visitor; Element : not null Program.Elements .Formal_Signed_Integer_Type_Definitions .Formal_Signed_Integer_Type_Definition_Access); procedure Formal_Modular_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Modular_Type_Definitions .Formal_Modular_Type_Definition_Access); procedure Formal_Floating_Point_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Floating_Point_Definitions .Formal_Floating_Point_Definition_Access); procedure Formal_Ordinary_Fixed_Point_Definition (Self : in out Visitor; Element : not null Program.Elements .Formal_Ordinary_Fixed_Point_Definitions .Formal_Ordinary_Fixed_Point_Definition_Access); procedure Formal_Decimal_Fixed_Point_Definition (Self : in out Visitor; Element : not null Program.Elements .Formal_Decimal_Fixed_Point_Definitions .Formal_Decimal_Fixed_Point_Definition_Access); procedure Formal_Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Unconstrained_Array_Types .Formal_Unconstrained_Array_Type_Access); procedure Formal_Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Constrained_Array_Types .Formal_Constrained_Array_Type_Access); procedure Formal_Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Access_Types .Formal_Object_Access_Type_Access); procedure Formal_Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Access_Types .Formal_Procedure_Access_Type_Access); procedure Formal_Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Access_Types .Formal_Function_Access_Type_Access); procedure Formal_Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Interface_Types .Formal_Interface_Type_Access); procedure Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Range_Attribute_References .Range_Attribute_Reference_Access); procedure Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access); procedure Digits_Constraint (Self : in out Visitor; Element : not null Program.Elements.Digits_Constraints .Digits_Constraint_Access); procedure Delta_Constraint (Self : in out Visitor; Element : not null Program.Elements.Delta_Constraints .Delta_Constraint_Access); procedure Index_Constraint (Self : in out Visitor; Element : not null Program.Elements.Index_Constraints .Index_Constraint_Access); procedure Discriminant_Constraint (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Constraints .Discriminant_Constraint_Access); procedure Attribute_Definition_Clause (Self : in out Visitor; Element : not null Program.Elements.Attribute_Definition_Clauses .Attribute_Definition_Clause_Access); procedure Enumeration_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Representation_Clauses .Enumeration_Representation_Clause_Access); procedure Record_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Record_Representation_Clauses .Record_Representation_Clause_Access); procedure At_Clause (Self : in out Visitor; Element : not null Program.Elements.At_Clauses.At_Clause_Access); procedure Exception_Handler (Self : in out Visitor; Element : not null Program.Elements.Exception_Handlers .Exception_Handler_Access); end Visitors; package body Visitors is procedure Print (Self : in out Visitor'Class; Element : access Program.Elements.Element'Class; Text : Wide_Wide_String); procedure Print (Self : in out Visitor'Class; Element : access Program.Elements.Element'Class; Text : Wide_Wide_String) is S : constant Wide_Wide_String := " " & " " & " " & " "; begin Ada.Wide_Wide_Text_IO.Put_Line (S (1 .. Self.Level) & Text); Self.Level := Self.Level + 1; for Cursor in Element.Each_Child loop Cursor.Element.Visit (Self); end loop; Self.Level := Self.Level - 1; end Print; procedure Pragma_Element (Self : in out Visitor; Element : not null Program.Elements.Pragmas.Pragma_Access) is begin Self.Print (Element, "Pragma_Element"); end Pragma_Element; procedure Defining_Identifier (Self : in out Visitor; Element : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access) is begin Self.Print (Element, "Defining_Identifier: " & Element.Image); end Defining_Identifier; procedure Defining_Character_Literal (Self : in out Visitor; Element : not null Program.Elements.Defining_Character_Literals .Defining_Character_Literal_Access) is begin Self.Print (Element, "Defining_Character_Literal: " & Element.Image); end Defining_Character_Literal; procedure Defining_Operator_Symbol (Self : in out Visitor; Element : not null Program.Elements.Defining_Operator_Symbols .Defining_Operator_Symbol_Access) is begin Self.Print (Element, "Defining_Operator_Symbol: " & Element.Image); end Defining_Operator_Symbol; procedure Defining_Expanded_Name (Self : in out Visitor; Element : not null Program.Elements.Defining_Expanded_Names .Defining_Expanded_Name_Access) is begin Self.Print (Element, "Defining_Expanded_Name: " & Element.Image); end Defining_Expanded_Name; procedure Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Type_Declarations .Type_Declaration_Access) is begin Self.Print (Element, "Type_Declaration"); end Type_Declaration; procedure Task_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Type_Declarations .Task_Type_Declaration_Access) is begin Self.Print (Element, "Task_Type_Declaration"); end Task_Type_Declaration; procedure Protected_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration_Access) is begin Self.Print (Element, "Protected_Type_Declaration"); end Protected_Type_Declaration; procedure Subtype_Declaration (Self : in out Visitor; Element : not null Program.Elements.Subtype_Declarations .Subtype_Declaration_Access) is begin Self.Print (Element, "Subtype_Declaration"); end Subtype_Declaration; procedure Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Declarations .Object_Declaration_Access) is begin Self.Print (Element, "Object_Declaration"); end Object_Declaration; procedure Single_Task_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Task_Declarations .Single_Task_Declaration_Access) is begin Self.Print (Element, "Single_Task_Declaration"); end Single_Task_Declaration; procedure Single_Protected_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration_Access) is begin Self.Print (Element, "Single_Protected_Declaration"); end Single_Protected_Declaration; procedure Number_Declaration (Self : in out Visitor; Element : not null Program.Elements.Number_Declarations .Number_Declaration_Access) is begin Self.Print (Element, "Number_Declaration"); end Number_Declaration; procedure Enumeration_Literal_Specification (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Access) is begin Self.Print (Element, "Enumeration_Literal_Specification"); end Enumeration_Literal_Specification; procedure Discriminant_Specification (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Specifications .Discriminant_Specification_Access) is begin Self.Print (Element, "Discriminant_Specification"); end Discriminant_Specification; procedure Component_Declaration (Self : in out Visitor; Element : not null Program.Elements.Component_Declarations .Component_Declaration_Access) is begin Self.Print (Element, "Component_Declaration"); end Component_Declaration; procedure Loop_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification_Access) is begin Self.Print (Element, "Loop_Parameter_Specification"); end Loop_Parameter_Specification; procedure Generalized_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements .Generalized_Iterator_Specifications .Generalized_Iterator_Specification_Access) is begin Self.Print (Element, "Generalized_Iterator_Specification"); end Generalized_Iterator_Specification; procedure Element_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification_Access) is begin Self.Print (Element, "Element_Iterator_Specification"); end Element_Iterator_Specification; procedure Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Declarations .Procedure_Declaration_Access) is begin Self.Print (Element, "Procedure_Declaration"); end Procedure_Declaration; procedure Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Declarations .Function_Declaration_Access) is begin Self.Print (Element, "Function_Declaration"); end Function_Declaration; procedure Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Parameter_Specifications .Parameter_Specification_Access) is begin Self.Print (Element, "Parameter_Specification"); end Parameter_Specification; procedure Procedure_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration_Access) is begin Self.Print (Element, "Procedure_Body_Declaration"); end Procedure_Body_Declaration; procedure Function_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Declarations .Function_Body_Declaration_Access) is begin Self.Print (Element, "Function_Body_Declaration"); end Function_Body_Declaration; procedure Return_Object_Specification (Self : in out Visitor; Element : not null Program.Elements.Return_Object_Specifications .Return_Object_Specification_Access) is begin Self.Print (Element, "Return_Object_Specification"); end Return_Object_Specification; procedure Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Declarations .Package_Declaration_Access) is begin Self.Print (Element, "Package_Declaration"); end Package_Declaration; procedure Package_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Declarations .Package_Body_Declaration_Access) is begin Self.Print (Element, "Package_Body_Declaration"); end Package_Body_Declaration; procedure Object_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration_Access) is begin Self.Print (Element, "Object_Renaming_Declaration"); end Object_Renaming_Declaration; procedure Exception_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration_Access) is begin Self.Print (Element, "Exception_Renaming_Declaration"); end Exception_Renaming_Declaration; procedure Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration_Access) is begin Self.Print (Element, "Procedure_Renaming_Declaration"); end Procedure_Renaming_Declaration; procedure Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Access) is begin Self.Print (Element, "Function_Renaming_Declaration"); end Function_Renaming_Declaration; procedure Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration_Access) is begin Self.Print (Element, "Package_Renaming_Declaration"); end Package_Renaming_Declaration; procedure Generic_Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration_Access) is begin Self.Print (Element, "Generic_Package_Renaming_Declaration"); end Generic_Package_Renaming_Declaration; procedure Generic_Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration_Access) is begin Self.Print (Element, "Generic_Procedure_Renaming_Declaration"); end Generic_Procedure_Renaming_Declaration; procedure Generic_Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration_Access) is begin Self.Print (Element, "Generic_Function_Renaming_Declaration"); end Generic_Function_Renaming_Declaration; procedure Task_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Declarations .Task_Body_Declaration_Access) is begin Self.Print (Element, "Task_Body_Declaration"); end Task_Body_Declaration; procedure Protected_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration_Access) is begin Self.Print (Element, "Protected_Body_Declaration"); end Protected_Body_Declaration; procedure Entry_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Declarations .Entry_Declaration_Access) is begin Self.Print (Element, "Entry_Declaration"); end Entry_Declaration; procedure Entry_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Body_Declarations .Entry_Body_Declaration_Access) is begin Self.Print (Element, "Entry_Body_Declaration"); end Entry_Body_Declaration; procedure Entry_Index_Specification (Self : in out Visitor; Element : not null Program.Elements.Entry_Index_Specifications .Entry_Index_Specification_Access) is begin Self.Print (Element, "Entry_Index_Specification"); end Entry_Index_Specification; procedure Procedure_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Stubs .Procedure_Body_Stub_Access) is begin Self.Print (Element, "Procedure_Body_Stub"); end Procedure_Body_Stub; procedure Function_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Stubs .Function_Body_Stub_Access) is begin Self.Print (Element, "Function_Body_Stub"); end Function_Body_Stub; procedure Package_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Stubs .Package_Body_Stub_Access) is begin Self.Print (Element, "Package_Body_Stub"); end Package_Body_Stub; procedure Task_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Stubs .Task_Body_Stub_Access) is begin Self.Print (Element, "Task_Body_Stub"); end Task_Body_Stub; procedure Protected_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Stubs .Protected_Body_Stub_Access) is begin Self.Print (Element, "Protected_Body_Stub"); end Protected_Body_Stub; procedure Exception_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Declarations .Exception_Declaration_Access) is begin Self.Print (Element, "Exception_Declaration"); end Exception_Declaration; procedure Choice_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification_Access) is begin Self.Print (Element, "Choice_Parameter_Specification"); end Choice_Parameter_Specification; procedure Generic_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration_Access) is begin Self.Print (Element, "Generic_Package_Declaration"); end Generic_Package_Declaration; procedure Generic_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration_Access) is begin Self.Print (Element, "Generic_Procedure_Declaration"); end Generic_Procedure_Declaration; procedure Generic_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration_Access) is begin Self.Print (Element, "Generic_Function_Declaration"); end Generic_Function_Declaration; procedure Package_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Package_Instantiations .Package_Instantiation_Access) is begin Self.Print (Element, "Package_Instantiation"); end Package_Instantiation; procedure Procedure_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Procedure_Instantiations .Procedure_Instantiation_Access) is begin Self.Print (Element, "Procedure_Instantiation"); end Procedure_Instantiation; procedure Function_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Function_Instantiations .Function_Instantiation_Access) is begin Self.Print (Element, "Function_Instantiation"); end Function_Instantiation; procedure Formal_Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Access) is begin Self.Print (Element, "Formal_Object_Declaration"); end Formal_Object_Declaration; procedure Formal_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Type_Declarations .Formal_Type_Declaration_Access) is begin Self.Print (Element, "Formal_Type_Declaration"); end Formal_Type_Declaration; procedure Formal_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration_Access) is begin Self.Print (Element, "Formal_Procedure_Declaration"); end Formal_Procedure_Declaration; procedure Formal_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration_Access) is begin Self.Print (Element, "Formal_Function_Declaration"); end Formal_Function_Declaration; procedure Formal_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration_Access) is begin Self.Print (Element, "Formal_Package_Declaration"); end Formal_Package_Declaration; procedure Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Subtype_Indications .Subtype_Indication_Access) is begin Self.Print (Element, "Subtype_Indication"); end Subtype_Indication; procedure Component_Definition (Self : in out Visitor; Element : not null Program.Elements.Component_Definitions .Component_Definition_Access) is begin Self.Print (Element, "Component_Definition"); end Component_Definition; procedure Discrete_Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Discrete_Subtype_Indications .Discrete_Subtype_Indication_Access) is begin Self.Print (Element, "Discrete_Subtype_Indication"); end Discrete_Subtype_Indication; procedure Discrete_Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements .Discrete_Range_Attribute_References .Discrete_Range_Attribute_Reference_Access) is begin Self.Print (Element, "Discrete_Range_Attribute_Reference"); end Discrete_Range_Attribute_Reference; procedure Discrete_Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Discrete_Simple_Expression_Ranges .Discrete_Simple_Expression_Range_Access) is begin Self.Print (Element, "Discrete_Simple_Expression_Range"); end Discrete_Simple_Expression_Range; procedure Unknown_Discriminant_Part (Self : in out Visitor; Element : not null Program.Elements.Unknown_Discriminant_Parts .Unknown_Discriminant_Part_Access) is begin Self.Print (Element, "Unknown_Discriminant_Part"); end Unknown_Discriminant_Part; procedure Known_Discriminant_Part (Self : in out Visitor; Element : not null Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access) is begin Self.Print (Element, "Known_Discriminant_Part"); end Known_Discriminant_Part; procedure Record_Definition (Self : in out Visitor; Element : not null Program.Elements.Record_Definitions .Record_Definition_Access) is begin Self.Print (Element, "Record_Definition"); end Record_Definition; procedure Null_Component (Self : in out Visitor; Element : not null Program.Elements.Null_Components .Null_Component_Access) is begin Self.Print (Element, "Null_Component"); end Null_Component; procedure Variant_Part (Self : in out Visitor; Element : not null Program.Elements.Variant_Parts.Variant_Part_Access) is begin Self.Print (Element, "Variant_Part"); end Variant_Part; procedure Variant (Self : in out Visitor; Element : not null Program.Elements.Variants.Variant_Access) is begin Self.Print (Element, "Variant"); end Variant; procedure Others_Choice (Self : in out Visitor; Element : not null Program.Elements.Others_Choices .Others_Choice_Access) is begin Self.Print (Element, "Others_Choice"); end Others_Choice; procedure Anonymous_Access_To_Object (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Objects .Anonymous_Access_To_Object_Access) is begin Self.Print (Element, "Anonymous_Access_To_Object"); end Anonymous_Access_To_Object; procedure Anonymous_Access_To_Procedure (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Procedures .Anonymous_Access_To_Procedure_Access) is begin Self.Print (Element, "Anonymous_Access_To_Procedure"); end Anonymous_Access_To_Procedure; procedure Anonymous_Access_To_Function (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Functions .Anonymous_Access_To_Function_Access) is begin Self.Print (Element, "Anonymous_Access_To_Function"); end Anonymous_Access_To_Function; procedure Private_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Private_Type_Definitions .Private_Type_Definition_Access) is begin Self.Print (Element, "Private_Type_Definition"); end Private_Type_Definition; procedure Private_Extension_Definition (Self : in out Visitor; Element : not null Program.Elements.Private_Extension_Definitions .Private_Extension_Definition_Access) is begin Self.Print (Element, "Private_Extension_Definition"); end Private_Extension_Definition; procedure Incomplete_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Incomplete_Type_Definitions .Incomplete_Type_Definition_Access) is begin Self.Print (Element, "Incomplete_Type_Definition"); end Incomplete_Type_Definition; procedure Task_Definition (Self : in out Visitor; Element : not null Program.Elements.Task_Definitions .Task_Definition_Access) is begin Self.Print (Element, "Task_Definition"); end Task_Definition; procedure Protected_Definition (Self : in out Visitor; Element : not null Program.Elements.Protected_Definitions .Protected_Definition_Access) is begin Self.Print (Element, "Protected_Definition"); end Protected_Definition; procedure Aspect_Specification (Self : in out Visitor; Element : not null Program.Elements.Aspect_Specifications .Aspect_Specification_Access) is begin Self.Print (Element, "Aspect_Specification"); end Aspect_Specification; procedure Real_Range_Specification (Self : in out Visitor; Element : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access) is begin Self.Print (Element, "Real_Range_Specification"); end Real_Range_Specification; procedure Numeric_Literal (Self : in out Visitor; Element : not null Program.Elements.Numeric_Literals .Numeric_Literal_Access) is begin Self.Print (Element, "Numeric_Literal: " & Element.Image); end Numeric_Literal; procedure String_Literal (Self : in out Visitor; Element : not null Program.Elements.String_Literals .String_Literal_Access) is begin Self.Print (Element, "String_Literal: " & Element.Image); end String_Literal; procedure Identifier (Self : in out Visitor; Element : not null Program.Elements.Identifiers.Identifier_Access) is begin Self.Print (Element, "Identifier: " & Element.Image); end Identifier; procedure Operator_Symbol (Self : in out Visitor; Element : not null Program.Elements.Operator_Symbols .Operator_Symbol_Access) is begin Self.Print (Element, "Operator_Symbol: " & Element.Image); end Operator_Symbol; procedure Character_Literal (Self : in out Visitor; Element : not null Program.Elements.Character_Literals .Character_Literal_Access) is begin Self.Print (Element, "Character_Literal: " & Element.Image); end Character_Literal; procedure Explicit_Dereference (Self : in out Visitor; Element : not null Program.Elements.Explicit_Dereferences .Explicit_Dereference_Access) is begin Self.Print (Element, "Explicit_Dereference"); end Explicit_Dereference; procedure Infix_Operator (Self : in out Visitor; Element : not null Program.Elements.Infix_Operators .Infix_Operator_Access) is begin Self.Print (Element, "Infix_Operator"); end Infix_Operator; procedure Function_Call (Self : in out Visitor; Element : not null Program.Elements.Function_Calls .Function_Call_Access) is begin Self.Print (Element, "Function_Call"); end Function_Call; procedure Indexed_Component (Self : in out Visitor; Element : not null Program.Elements.Indexed_Components .Indexed_Component_Access) is begin Self.Print (Element, "Indexed_Component"); end Indexed_Component; procedure Slice (Self : in out Visitor; Element : not null Program.Elements.Slices.Slice_Access) is begin Self.Print (Element, "Slice"); end Slice; procedure Selected_Component (Self : in out Visitor; Element : not null Program.Elements.Selected_Components .Selected_Component_Access) is begin Self.Print (Element, "Selected_Component"); end Selected_Component; procedure Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Attribute_References .Attribute_Reference_Access) is begin Self.Print (Element, "Attribute_Reference"); end Attribute_Reference; procedure Record_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Record_Aggregates .Record_Aggregate_Access) is begin Self.Print (Element, "Record_Aggregate"); end Record_Aggregate; procedure Extension_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Extension_Aggregates .Extension_Aggregate_Access) is begin Self.Print (Element, "Extension_Aggregate"); end Extension_Aggregate; procedure Array_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Array_Aggregates .Array_Aggregate_Access) is begin Self.Print (Element, "Array_Aggregate"); end Array_Aggregate; procedure Short_Circuit_Operation (Self : in out Visitor; Element : not null Program.Elements.Short_Circuit_Operations .Short_Circuit_Operation_Access) is begin Self.Print (Element, "Short_Circuit_Operation"); end Short_Circuit_Operation; procedure Membership_Test (Self : in out Visitor; Element : not null Program.Elements.Membership_Tests .Membership_Test_Access) is begin Self.Print (Element, "Membership_Test"); end Membership_Test; procedure Null_Literal (Self : in out Visitor; Element : not null Program.Elements.Null_Literals.Null_Literal_Access) is begin Self.Print (Element, "Null_Literal"); end Null_Literal; procedure Parenthesized_Expression (Self : in out Visitor; Element : not null Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access) is begin Self.Print (Element, "Parenthesized_Expression"); end Parenthesized_Expression; procedure Raise_Expression (Self : in out Visitor; Element : not null Program.Elements.Raise_Expressions .Raise_Expression_Access) is begin Self.Print (Element, "Raise_Expression"); end Raise_Expression; procedure Type_Conversion (Self : in out Visitor; Element : not null Program.Elements.Type_Conversions .Type_Conversion_Access) is begin Self.Print (Element, "Type_Conversion"); end Type_Conversion; procedure Qualified_Expression (Self : in out Visitor; Element : not null Program.Elements.Qualified_Expressions .Qualified_Expression_Access) is begin Self.Print (Element, "Qualified_Expression"); end Qualified_Expression; procedure Allocator (Self : in out Visitor; Element : not null Program.Elements.Allocators.Allocator_Access) is begin Self.Print (Element, "Allocator"); end Allocator; procedure Case_Expression (Self : in out Visitor; Element : not null Program.Elements.Case_Expressions .Case_Expression_Access) is begin Self.Print (Element, "Case_Expression"); end Case_Expression; procedure If_Expression (Self : in out Visitor; Element : not null Program.Elements.If_Expressions .If_Expression_Access) is begin Self.Print (Element, "If_Expression"); end If_Expression; procedure Quantified_Expression (Self : in out Visitor; Element : not null Program.Elements.Quantified_Expressions .Quantified_Expression_Access) is begin Self.Print (Element, "Quantified_Expression"); end Quantified_Expression; procedure Discriminant_Association (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Associations .Discriminant_Association_Access) is begin Self.Print (Element, "Discriminant_Association"); end Discriminant_Association; procedure Record_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Record_Component_Associations .Record_Component_Association_Access) is begin Self.Print (Element, "Record_Component_Association"); end Record_Component_Association; procedure Array_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Array_Component_Associations .Array_Component_Association_Access) is begin Self.Print (Element, "Array_Component_Association"); end Array_Component_Association; procedure Parameter_Association (Self : in out Visitor; Element : not null Program.Elements.Parameter_Associations .Parameter_Association_Access) is begin Self.Print (Element, "Parameter_Association"); end Parameter_Association; procedure Formal_Package_Association (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Associations .Formal_Package_Association_Access) is begin Self.Print (Element, "Formal_Package_Association"); end Formal_Package_Association; procedure Null_Statement (Self : in out Visitor; Element : not null Program.Elements.Null_Statements .Null_Statement_Access) is begin Self.Print (Element, "Null_Statement"); end Null_Statement; procedure Assignment_Statement (Self : in out Visitor; Element : not null Program.Elements.Assignment_Statements .Assignment_Statement_Access) is begin Self.Print (Element, "Assignment_Statement"); end Assignment_Statement; procedure If_Statement (Self : in out Visitor; Element : not null Program.Elements.If_Statements.If_Statement_Access) is begin Self.Print (Element, "If_Statement"); end If_Statement; procedure Case_Statement (Self : in out Visitor; Element : not null Program.Elements.Case_Statements .Case_Statement_Access) is begin Self.Print (Element, "Case_Statement"); end Case_Statement; procedure Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.Loop_Statements .Loop_Statement_Access) is begin Self.Print (Element, "Loop_Statement"); end Loop_Statement; procedure While_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.While_Loop_Statements .While_Loop_Statement_Access) is begin Self.Print (Element, "While_Loop_Statement"); end While_Loop_Statement; procedure For_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.For_Loop_Statements .For_Loop_Statement_Access) is begin Self.Print (Element, "For_Loop_Statement"); end For_Loop_Statement; procedure Block_Statement (Self : in out Visitor; Element : not null Program.Elements.Block_Statements .Block_Statement_Access) is begin Self.Print (Element, "Block_Statement"); end Block_Statement; procedure Exit_Statement (Self : in out Visitor; Element : not null Program.Elements.Exit_Statements .Exit_Statement_Access) is begin Self.Print (Element, "Exit_Statement"); end Exit_Statement; procedure Goto_Statement (Self : in out Visitor; Element : not null Program.Elements.Goto_Statements .Goto_Statement_Access) is begin Self.Print (Element, "Goto_Statement"); end Goto_Statement; procedure Call_Statement (Self : in out Visitor; Element : not null Program.Elements.Call_Statements .Call_Statement_Access) is begin Self.Print (Element, "Call_Statement"); end Call_Statement; procedure Simple_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Simple_Return_Statements .Simple_Return_Statement_Access) is begin Self.Print (Element, "Simple_Return_Statement"); end Simple_Return_Statement; procedure Extended_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Extended_Return_Statements .Extended_Return_Statement_Access) is begin Self.Print (Element, "Extended_Return_Statement"); end Extended_Return_Statement; procedure Accept_Statement (Self : in out Visitor; Element : not null Program.Elements.Accept_Statements .Accept_Statement_Access) is begin Self.Print (Element, "Accept_Statement"); end Accept_Statement; procedure Requeue_Statement (Self : in out Visitor; Element : not null Program.Elements.Requeue_Statements .Requeue_Statement_Access) is begin Self.Print (Element, "Requeue_Statement"); end Requeue_Statement; procedure Delay_Statement (Self : in out Visitor; Element : not null Program.Elements.Delay_Statements .Delay_Statement_Access) is begin Self.Print (Element, "Delay_Statement"); end Delay_Statement; procedure Terminate_Alternative_Statement (Self : in out Visitor; Element : not null Program.Elements.Terminate_Alternative_Statements .Terminate_Alternative_Statement_Access) is begin Self.Print (Element, "Terminate_Alternative_Statement"); end Terminate_Alternative_Statement; procedure Select_Statement (Self : in out Visitor; Element : not null Program.Elements.Select_Statements .Select_Statement_Access) is begin Self.Print (Element, "Select_Statement"); end Select_Statement; procedure Abort_Statement (Self : in out Visitor; Element : not null Program.Elements.Abort_Statements .Abort_Statement_Access) is begin Self.Print (Element, "Abort_Statement"); end Abort_Statement; procedure Raise_Statement (Self : in out Visitor; Element : not null Program.Elements.Raise_Statements .Raise_Statement_Access) is begin Self.Print (Element, "Raise_Statement"); end Raise_Statement; procedure Code_Statement (Self : in out Visitor; Element : not null Program.Elements.Code_Statements .Code_Statement_Access) is begin Self.Print (Element, "Code_Statement"); end Code_Statement; procedure Elsif_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Paths.Elsif_Path_Access) is begin Self.Print (Element, "Elsif_Path"); end Elsif_Path; procedure Case_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Paths.Case_Path_Access) is begin Self.Print (Element, "Case_Path"); end Case_Path; procedure Select_Path (Self : in out Visitor; Element : not null Program.Elements.Select_Paths.Select_Path_Access) is begin Self.Print (Element, "Select_Path"); end Select_Path; procedure Case_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Expression_Paths .Case_Expression_Path_Access) is begin Self.Print (Element, "Case_Expression_Path"); end Case_Expression_Path; procedure Elsif_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Expression_Paths .Elsif_Expression_Path_Access) is begin Self.Print (Element, "Elsif_Expression_Path"); end Elsif_Expression_Path; procedure Use_Clause (Self : in out Visitor; Element : not null Program.Elements.Use_Clauses.Use_Clause_Access) is begin Self.Print (Element, "Use_Clause"); end Use_Clause; procedure With_Clause (Self : in out Visitor; Element : not null Program.Elements.With_Clauses.With_Clause_Access) is begin Self.Print (Element, "With_Clause"); end With_Clause; procedure Component_Clause (Self : in out Visitor; Element : not null Program.Elements.Component_Clauses .Component_Clause_Access) is begin Self.Print (Element, "Component_Clause"); end Component_Clause; procedure Derived_Type (Self : in out Visitor; Element : not null Program.Elements.Derived_Types.Derived_Type_Access) is begin Self.Print (Element, "Derived_Type"); end Derived_Type; procedure Derived_Record_Extension (Self : in out Visitor; Element : not null Program.Elements.Derived_Record_Extensions .Derived_Record_Extension_Access) is begin Self.Print (Element, "Derived_Record_Extension"); end Derived_Record_Extension; procedure Enumeration_Type (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Types .Enumeration_Type_Access) is begin Self.Print (Element, "Enumeration_Type"); end Enumeration_Type; procedure Signed_Integer_Type (Self : in out Visitor; Element : not null Program.Elements.Signed_Integer_Types .Signed_Integer_Type_Access) is begin Self.Print (Element, "Signed_Integer_Type"); end Signed_Integer_Type; procedure Modular_Type (Self : in out Visitor; Element : not null Program.Elements.Modular_Types.Modular_Type_Access) is begin Self.Print (Element, "Modular_Type"); end Modular_Type; procedure Root_Type (Self : in out Visitor; Element : not null Program.Elements.Root_Types.Root_Type_Access) is begin Self.Print (Element, "Root_Type"); end Root_Type; procedure Floating_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Floating_Point_Types .Floating_Point_Type_Access) is begin Self.Print (Element, "Floating_Point_Type"); end Floating_Point_Type; procedure Ordinary_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Access) is begin Self.Print (Element, "Ordinary_Fixed_Point_Type"); end Ordinary_Fixed_Point_Type; procedure Decimal_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Decimal_Fixed_Point_Types .Decimal_Fixed_Point_Type_Access) is begin Self.Print (Element, "Decimal_Fixed_Point_Type"); end Decimal_Fixed_Point_Type; procedure Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Unconstrained_Array_Types .Unconstrained_Array_Type_Access) is begin Self.Print (Element, "Unconstrained_Array_Type"); end Unconstrained_Array_Type; procedure Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Constrained_Array_Types .Constrained_Array_Type_Access) is begin Self.Print (Element, "Constrained_Array_Type"); end Constrained_Array_Type; procedure Record_Type (Self : in out Visitor; Element : not null Program.Elements.Record_Types.Record_Type_Access) is begin Self.Print (Element, "Record_Type"); end Record_Type; procedure Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Interface_Types .Interface_Type_Access) is begin Self.Print (Element, "Interface_Type"); end Interface_Type; procedure Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Object_Access_Types .Object_Access_Type_Access) is begin Self.Print (Element, "Object_Access_Type"); end Object_Access_Type; procedure Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Procedure_Access_Types .Procedure_Access_Type_Access) is begin Self.Print (Element, "Procedure_Access_Type"); end Procedure_Access_Type; procedure Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Function_Access_Types .Function_Access_Type_Access) is begin Self.Print (Element, "Function_Access_Type"); end Function_Access_Type; procedure Formal_Private_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Private_Type_Definitions .Formal_Private_Type_Definition_Access) is begin Self.Print (Element, "Formal_Private_Type_Definition"); end Formal_Private_Type_Definition; procedure Formal_Derived_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Derived_Type_Definitions .Formal_Derived_Type_Definition_Access) is begin Self.Print (Element, "Formal_Derived_Type_Definition"); end Formal_Derived_Type_Definition; procedure Formal_Discrete_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Discrete_Type_Definitions .Formal_Discrete_Type_Definition_Access) is begin Self.Print (Element, "Formal_Discrete_Type_Definition"); end Formal_Discrete_Type_Definition; procedure Formal_Signed_Integer_Type_Definition (Self : in out Visitor; Element : not null Program.Elements .Formal_Signed_Integer_Type_Definitions .Formal_Signed_Integer_Type_Definition_Access) is begin Self.Print (Element, "Formal_Signed_Integer_Type_Definition"); end Formal_Signed_Integer_Type_Definition; procedure Formal_Modular_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Modular_Type_Definitions .Formal_Modular_Type_Definition_Access) is begin Self.Print (Element, "Formal_Modular_Type_Definition"); end Formal_Modular_Type_Definition; procedure Formal_Floating_Point_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Floating_Point_Definitions .Formal_Floating_Point_Definition_Access) is begin Self.Print (Element, "Formal_Floating_Point_Definition"); end Formal_Floating_Point_Definition; procedure Formal_Ordinary_Fixed_Point_Definition (Self : in out Visitor; Element : not null Program.Elements .Formal_Ordinary_Fixed_Point_Definitions .Formal_Ordinary_Fixed_Point_Definition_Access) is begin Self.Print (Element, "Formal_Ordinary_Fixed_Point_Definition"); end Formal_Ordinary_Fixed_Point_Definition; procedure Formal_Decimal_Fixed_Point_Definition (Self : in out Visitor; Element : not null Program.Elements .Formal_Decimal_Fixed_Point_Definitions .Formal_Decimal_Fixed_Point_Definition_Access) is begin Self.Print (Element, "Formal_Decimal_Fixed_Point_Definition"); end Formal_Decimal_Fixed_Point_Definition; procedure Formal_Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Unconstrained_Array_Types .Formal_Unconstrained_Array_Type_Access) is begin Self.Print (Element, "Formal_Unconstrained_Array_Type"); end Formal_Unconstrained_Array_Type; procedure Formal_Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Constrained_Array_Types .Formal_Constrained_Array_Type_Access) is begin Self.Print (Element, "Formal_Constrained_Array_Type"); end Formal_Constrained_Array_Type; procedure Formal_Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Access_Types .Formal_Object_Access_Type_Access) is begin Self.Print (Element, "Formal_Object_Access_Type"); end Formal_Object_Access_Type; procedure Formal_Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Access_Types .Formal_Procedure_Access_Type_Access) is begin Self.Print (Element, "Formal_Procedure_Access_Type"); end Formal_Procedure_Access_Type; procedure Formal_Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Access_Types .Formal_Function_Access_Type_Access) is begin Self.Print (Element, "Formal_Function_Access_Type"); end Formal_Function_Access_Type; procedure Formal_Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Interface_Types .Formal_Interface_Type_Access) is begin Self.Print (Element, "Formal_Interface_Type"); end Formal_Interface_Type; procedure Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Range_Attribute_References .Range_Attribute_Reference_Access) is begin Self.Print (Element, "Range_Attribute_Reference"); end Range_Attribute_Reference; procedure Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access) is begin Self.Print (Element, "Simple_Expression_Range"); end Simple_Expression_Range; procedure Digits_Constraint (Self : in out Visitor; Element : not null Program.Elements.Digits_Constraints .Digits_Constraint_Access) is begin Self.Print (Element, "Digits_Constraint"); end Digits_Constraint; procedure Delta_Constraint (Self : in out Visitor; Element : not null Program.Elements.Delta_Constraints .Delta_Constraint_Access) is begin Self.Print (Element, "Delta_Constraint"); end Delta_Constraint; procedure Index_Constraint (Self : in out Visitor; Element : not null Program.Elements.Index_Constraints .Index_Constraint_Access) is begin Self.Print (Element, "Index_Constraint"); end Index_Constraint; procedure Discriminant_Constraint (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Constraints .Discriminant_Constraint_Access) is begin Self.Print (Element, "Discriminant_Constraint"); end Discriminant_Constraint; procedure Attribute_Definition_Clause (Self : in out Visitor; Element : not null Program.Elements.Attribute_Definition_Clauses .Attribute_Definition_Clause_Access) is begin Self.Print (Element, "Attribute_Definition_Clause"); end Attribute_Definition_Clause; procedure Enumeration_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Representation_Clauses .Enumeration_Representation_Clause_Access) is begin Self.Print (Element, "Enumeration_Representation_Clause"); end Enumeration_Representation_Clause; procedure Record_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Record_Representation_Clauses .Record_Representation_Clause_Access) is begin Self.Print (Element, "Record_Representation_Clause"); end Record_Representation_Clause; procedure At_Clause (Self : in out Visitor; Element : not null Program.Elements.At_Clauses.At_Clause_Access) is begin Self.Print (Element, "At_Clause"); end At_Clause; procedure Exception_Handler (Self : in out Visitor; Element : not null Program.Elements.Exception_Handlers .Exception_Handler_Access) is begin Self.Print (Element, "Exception_Handler"); end Exception_Handler; end Visitors; ----------- -- Print -- ----------- procedure Print (Element : Program.Elements.Element_Access) is V : Visitors.Visitor; begin Element.Visit (V); end Print; end Dump_Elements;
35.884142
79
0.668486
31913a40fd9a0206ab0f16039de884e96d6cc4dc
18,013
adb
Ada
applet/aide/source/palettes/aide-palette-of_types.adb
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
3
2017-04-29T14:25:22.000Z
2017-09-29T10:15:28.000Z
applet/aide/source/palettes/aide-palette-of_types.adb
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
null
null
null
applet/aide/source/palettes/aide-palette-of_types.adb
charlie5/aIDE
fab406dbcd9b72a4cb215ffebb05166c788d6365
[ "MIT" ]
null
null
null
with aIDE.Palette.of_types_subpackages; -- AdaM.Declaration.of_exception; with Ada.Text_IO; use Ada.Text_IO; with Glib; use Glib; with Glib.Error; use Glib.Error; with Glib.Object; use Glib.Object; with Gtk.Builder; use Gtk.Builder; with Gtk.Button; use Gtk.Button; with Gtk.Handlers; -- Gtk.Label; with Common_Gtk; use Common_Gtk; with Gtk.Window; use Gtk.Window; with adam.Assist; with ada.Containers.Ordered_Sets; with Ada.Containers.Vectors; with ada.Strings.Unbounded; with AdaM.a_Package; package body aIDE.Palette.of_types is -- Recent Exceptions -- package recent_Exceptions is procedure register_Usage (the_Exception : in AdaM.a_Type.view); function fetch return AdaM.a_Type.vector; end recent_Exceptions; package body recent_Exceptions is type exception_Usage is record the_Exception : AdaM.a_Type.view; Count : Natural; end record; function "<" (L, R : in exception_Usage) return Boolean is use type AdaM.Identifier; begin return L.the_Exception.Name < R.the_Exception.Name; end "<"; overriding function "=" (L, R : in exception_Usage) return Boolean is use type AdaM.Identifier; begin return L.the_Exception.Name = R.the_Exception.Name; end "="; package exception_Usage_Sets is new ada.Containers.Ordered_Sets (exception_Usage); the_usage_Stats : exception_Usage_Sets.Set; -- procedure register_Usage (the_Exception : in adam.Text) -- is -- use exception_Usage_Sets; -- -- the_exception_Usage : exception_Usage := (the_Exception, others => <>); -- Current : constant exception_Usage_Sets.Cursor := the_usage_Stats.find (the_exception_Usage); -- begin -- if Current /= No_Element -- then -- the_exception_Usage.Count := Element (Current).Count + 1; -- the_usage_Stats.replace_Element (Current, the_exception_Usage); -- else -- the_exception_Usage.Count := 1; -- the_usage_Stats.insert (the_exception_Usage); -- end if; -- end register_Usage; procedure register_Usage (the_Exception : in AdaM.a_Type.view) is use exception_Usage_Sets; use type AdaM.a_Type.view; the_exception_Usage : exception_Usage := (the_Exception, others => <>); Current : constant exception_Usage_Sets.Cursor := the_usage_Stats.find (the_exception_Usage); begin if the_Exception = null then raise program_Error with "NULLLLLLLL exception !!!"; else put_Line ("ALL FINEEEEEEEEEEEEEEEEEEEEEE"); end if; if Current /= No_Element then the_exception_Usage.Count := Element (Current).Count + 1; the_usage_Stats.replace_Element (Current, the_exception_Usage); else the_exception_Usage.Count := 1; the_usage_Stats.insert (the_exception_Usage); end if; end register_Usage; function fetch return AdaM.a_Type.vector is use exception_Usage_Sets, ada.Containers; -- the_Lines : AdaM.text_Lines; the_Exceptions : AdaM.a_Type.vector; package type_Usage_Vectors is new ada.Containers.Vectors (Positive, exception_Usage); use type_Usage_Vectors; the_usage_List : type_Usage_Vectors.Vector; begin declare Cursor : exception_Usage_Sets.Cursor := the_usage_Stats.First; begin while has_Element (Cursor) loop if Element (Cursor).Count > 0 then the_usage_List.append (Element (Cursor)); end if; exit when the_Exceptions.Length = 25; -- Limit results to 25 entries. next (Cursor); end loop; end; declare function "<" (L, R : in exception_Usage) return Boolean is begin return L.Count > R.Count; end "<"; package Sorter is new type_Usage_Vectors.Generic_Sorting ("<"); begin Sorter.sort (the_usage_List); end; declare use type AdaM.a_Type.view; Cursor : type_Usage_Vectors.Cursor := the_usage_List.First; begin while has_Element (Cursor) loop if Element (Cursor).Count > 0 then if Element (Cursor).the_Exception = null then raise Program_Error with "KKKKKKKKKKKKKKKKKKKKK"; end if; the_Exceptions.append (Element (Cursor).the_Exception); end if; next (Cursor); end loop; end; return the_Exceptions; end fetch; -- function fetch return adam.text_Lines -- is -- use exception_Usage_Sets, -- ada.Containers; -- -- the_Lines : adam.text_Lines; -- -- package exception_Usage_Vectors is new ada.Containers.Vectors (Positive, exception_Usage); -- use exception_Usage_Vectors; -- -- the_usage_List : exception_Usage_Vectors.Vector; -- -- begin -- declare -- Cursor : exception_Usage_Sets.Cursor := the_usage_Stats.First; -- begin -- while has_Element (Cursor) -- loop -- if Element (Cursor).Count > 0 then -- the_usage_List.append (Element (Cursor)); -- end if; -- -- exit when the_Lines.Length = 25; -- next (Cursor); -- end loop; -- end; -- -- declare -- function "<" (L, R : in exception_Usage) return Boolean -- is -- begin -- return L.Count > R.Count; -- end "<"; -- -- package Sorter is new exception_Usage_Vectors.Generic_Sorting ("<"); -- begin -- Sorter.sort (the_usage_List); -- end; -- -- declare -- Cursor : exception_Usage_Vectors.Cursor := the_usage_List.First; -- begin -- while has_Element (Cursor) -- loop -- if Element (Cursor).Count > 0 then -- the_Lines.Append (Element (Cursor).Name); -- end if; -- -- exit when the_Lines.Length = 25; -- next (Cursor); -- end loop; -- end; -- -- return the_Lines; -- end fetch; end recent_Exceptions; -- Events -- procedure on_delete_Button_clicked (the_Button : access Gtk_Button_Record'Class; Self : in aIDE.Palette.of_types.view) is pragma Unreferenced (the_Button); -- the_Label : String := the_Button.Get_Label; begin Self.Invoked_by.hide; Self.Target.all := null; Self.Top.hide; end on_delete_Button_clicked; procedure on_close_Button_clicked (the_Button : access Gtk_Button_Record'Class; Self : in aIDE.Palette.of_types.view) is pragma Unreferenced (the_Button); begin Self.Top.Hide; end on_close_Button_clicked; -- use gtk.Label; -- type label_Info is -- record -- -- package_Name : AdaM.Text; -- Palette : aIDE.Palette.of_exceptions.view; -- end record; package Button_Callbacks is new Gtk.Handlers.User_Callback (Gtk_Button_Record, aIDE.Palette.of_types.view); -- package Label_return_Callbacks is new Gtk.Handlers.User_Return_Callback (gtk.Label.Gtk_Label_Record, -- Boolean, -- label_Info); -- Forge -- function to_Palette return View is Self : constant Palette.of_types.view := new Palette.of_types.item; the_Builder : Gtk_Builder; Error : aliased GError; Result : Guint; pragma Unreferenced (Result); begin gtk_New (the_Builder); Result := the_Builder.add_from_File ("glade/palette/exception_palette.glade", Error'Access); if Error /= null then raise program_Error with "Error: 'adam.Palette.exceptions.to_exceptions_Palette' ~ " & Get_Message (Error); end if; Self.Top := gtk_Window (the_Builder.get_Object ("top_Window")); Self.top_Notebook := gtk_Notebook (the_Builder.get_Object ("top_Notebook")); Self.all_Notebook := gtk_Notebook (the_Builder.get_Object ("all_Notebook")); Self.recent_Table := gtk_Table (the_Builder.get_Object ("recent_Table")); Self.delete_Button := gtk_Button (the_Builder.get_Object ("delete_Button")); Self.close_Button := gtk_Button (the_Builder.get_Object ("close_Button")); Button_Callbacks.connect (Self.delete_Button, "clicked", on_delete_Button_clicked'Access, Self); Button_Callbacks.connect (Self.close_Button, "clicked", on_close_Button_clicked'Access, Self); Self.freshen; enable_bold_Tabs_for (Self.top_Notebook); enable_bold_Tabs_for (Self.all_Notebook); return Self; end to_Palette; -- Attributes -- function top_Widget (Self : in Item) return gtk.Widget.Gtk_Widget is begin return gtk.Widget.Gtk_Widget (Self.Top); end top_Widget; -- Operations -- procedure choice_is (Self : in out Item; --Now : in String; -- package_Name : in String; the_Type : in AdaM.a_Type.view) is use AdaM, AdaM.Assist; -- full_Name : constant String := package_Name & "." & Now; full_Name : constant String := String (the_Type.full_Name); begin -- recent_Exceptions.register_Usage (+full_Name); recent_Exceptions.register_Usage (the_Type); Self.build_recent_List; Self.Invoked_by.set_Label (String (strip_standard_Prefix (identifier_Suffix (the_Type.full_Name, 2)))); Self.Invoked_by.set_Tooltip_Text (full_Name); Self.Target.all := the_Type; -- Self.Target.my_add_Exception (the_Exception); Self.Top.hide; end choice_is; procedure show (Self : in out Item; Invoked_by : in Gtk.Button.gtk_Button; Target : access AdaM.a_Type.view) is begin Self.Invoked_by := Invoked_by; Self.Target := Target; -- Self.Slot := Slot; Self.Top.show_All; end show; procedure freshen (Self : in out Item) is use Adam; -- type a_Package; -- type Package_view is access all a_Package; -- -- package package_Vectors is new ada.Containers.Vectors (Positive, Package_view); -- subtype Package_vector is package_Vectors.Vector; -- -- type a_Package is -- record -- Name : adam.Text; -- Parent : Package_view; -- Children : Package_vector; -- -- Exceptions : adam.text_Lines; -- end record; -- the_Exceptions : constant adam.text_Lines := adam.Assist.known_Exceptions; -- Root : aliased a_Package; begin -- Root.Name := +"Root"; -- Clear out old notebook pages. -- while Self.all_Notebook.Get_N_Pages > 0 loop Self.all_Notebook.Get_Nth_Page (0).Destroy; end loop; -- Build the Gui tree. -- build_Gui_Tree: declare procedure build_Gui_for (the_Package : in AdaM.a_Package.view; children_Notebook : in gtk_Notebook) is the_Children : AdaM.a_Package.Vector renames the_Package.child_Packages; the_exceptions_Palette_package : constant Palette.of_types_subpackages.view := aIDE.Palette.of_types_subpackages.to_exceptions_Palette_package; begin -- Build the package pane. -- the_exceptions_Palette_package.Parent_is (Self'unchecked_Access); the_exceptions_Palette_package.top_Widget.Reparent (children_Notebook); children_Notebook.set_Tab_Label_Text (the_exceptions_Palette_package.top_Widget, +the_Package.Name); -- Build the exceptions sub-pane. -- for Each of the_Package.all_Types loop the_exceptions_Palette_package.add_Exception (Each, the_Package); -- the_exceptions_Palette_package.add_Exception (named => Each.Name, -- package_Name => the_Package.Name); -- -- package_Name => full_Name (the_Package)); end loop; -- Configure event handling. -- -- declare -- use gtk.Label; -- the_tab_Label : constant gtk_Label -- := gtk_Label (children_Notebook.get_tab_Label (the_exceptions_Palette_package.top_Widget)); -- begin -- the_tab_Label.set_Selectable (True); -- label_return_Callbacks.connect (the_tab_Label, -- "button-release-event", -- on_tab_Label_clicked'Access, -- (package_name => the_Package.Name, -- palette => Self'unchecked_Access)); -- end; -- Build each childs Gui. -- for i in 1 .. Integer (the_Children.Length) loop build_Gui_for (the_Children.Element (i), the_exceptions_Palette_package.children_Notebook); -- Recurse. end loop; enable_bold_Tabs_for (the_exceptions_Palette_package.children_Notebook); end build_Gui_for; begin -- Recursively add sub-gui's for each package, rooted at 'Standard'. -- -- for i in 1 .. Integer (the_Environ.standard_Package.Children.Length) -- loop -- build_Gui_for (the_Environ.standard_Package.child_Packages.Element (i).all'Access, -- Self.all_Notebook); -- end loop; -- for i in 1 .. Integer (the_entity_Environ.standard_Package.child_Packages.Length) -- loop -- build_Gui_for (the_Environ.standard_Package.child_Packages.Element (i).all'Access, -- Self.all_Notebook); -- end loop; build_Gui_for (the_entity_Environ.standard_Package, Self.all_Notebook); Self.all_Notebook.Popup_enable; Self.all_Notebook.Show_All; end build_Gui_Tree; Self.build_recent_List; -- todo: This is useless til usage stats are made persistent. end freshen; procedure destroy_Callback (Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class) is begin Widget.destroy; end destroy_Callback; procedure build_recent_List (Self : in out Item) is -- the_Recent : constant adam.text_Lines := recent_Exceptions.fetch; the_Recent : constant adam.a_Type.vector := recent_Exceptions.fetch; the_Button : gtk_Button; Row, Col : Guint := 0; begin Self.recent_Table.Foreach (destroy_Callback'Access); for i in 1 .. Integer (the_Recent.Length) loop declare use adam, ada.Strings.Unbounded; -- the_Exception : adam.Text renames the_Recent.Element (i); the_Exception : constant adam.a_Type.view := the_Recent.Element (i); begin put_Line ("Recent: " & String (the_Exception.full_Name)); put_Line ("Named : " & String (assist. Tail_of (the_Exception.full_Name))); put_Line ("package_Name: " & String (assist.strip_Tail_of (the_Exception.full_Name))); -- gtk_New (the_Button, +the_Exception); the_Button := aIDE.Palette.of_types_subpackages.new_Button (for_Exception => the_Exception, Named => String (assist. Tail_of (the_Exception.full_Name)), package_Name => String (assist.strip_Tail_of (the_Exception.full_Name)), exceptions_Palette => Self'unchecked_Access, use_simple_Name => False); Self.recent_Table.attach (the_Button, Col, Col + 1, Row, Row + 1, Xoptions => 0, Yoptions => 0); the_Button.show_All; if Row = 6 then Row := 0; Col := Col + 1; else Row := Row + 1; end if; end; end loop; end build_recent_List; end aIDE.Palette.of_types;
32.69147
118
0.547382
137704e6c18f6dc1869748229092eac1f248be61
402,237
adb
Ada
fpga/wave/.autopilot/db/big_mult_v3_94_17_s.bind.adb
dorin-ionita/RustHPC
903e5dd8f09213a5cc33f5e651d687e234944e84
[ "MIT" ]
2
2021-06-22T19:23:55.000Z
2021-07-03T16:47:01.000Z
fpga/wave/.autopilot/db/big_mult_v3_94_17_s.bind.adb
dorin-ionita/RustHPC
903e5dd8f09213a5cc33f5e651d687e234944e84
[ "MIT" ]
60
2019-11-05T14:12:34.000Z
2021-06-21T22:31:17.000Z
fpga/wave/.autopilot/db/big_mult_v3_94_17_s.bind.adb
dorin-ionita/wireless-models-experiments
903e5dd8f09213a5cc33f5e651d687e234944e84
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>big_mult_v3_94_17_s</name> <ret_bitwidth>188</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>a_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>78</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>150</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_2"> <Value> <Obj> <type>0</type> <id>2</id> <name>a_V_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>78</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>176</item> <item>177</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_3"> <Value> <Obj> <type>0</type> <id>3</id> <name>a_V_cast</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>178</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>4</id> <name>pp_V</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>216</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>216</second> </item> </second> </item> </inlineStackInfo> <originalName>pp.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>180</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name>pp_V_addr</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>181</item> <item>183</item> <item>184</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>6</id> <name>pps_V</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>226</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>226</second> </item> </second> </item> </inlineStackInfo> <originalName>pps.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>185</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>7</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>186</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>9</id> <name>i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>189</item> <item>190</item> <item>191</item> <item>192</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>10</id> <name>exitcond3</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>193</item> <item>195</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>12</id> <name>i_11</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>196</item> <item>198</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>13</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>199</item> <item>200</item> <item>201</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>15</id> <name>tmp_s</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>220</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>220</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>202</item> <item>204</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>16</id> <name>tmp_290</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>206</item> <item>207</item> <item>208</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>17</id> <name>p_shl_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>209</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>18</id> <name>tmp_291</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>218</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>218</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>211</item> <item>212</item> <item>214</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>19</id> <name>p_shl1_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>215</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>20</id> <name>tmp_292</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>216</item> <item>217</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>21</id> <name>Lo_assign</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName>Lo</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>219</item> <item>220</item> <item>221</item> <item>222</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>22</id> <name>tmp_183</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>220</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>220</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>223</item> <item>225</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>23</id> <name>Ui_2</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>220</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>220</second> </item> </second> </item> </inlineStackInfo> <originalName>Ui</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>226</item> <item>228</item> <item>229</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>24</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>219</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>230</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>26</id> <name>j</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>231</item> <item>232</item> <item>233</item> <item>234</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>27</id> <name>exitcond5</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>219</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>235</item> <item>236</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>29</id> <name>j_6</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>219</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>237</item> <item>238</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>30</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>219</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>239</item> <item>240</item> <item>241</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>32</id> <name>tmp_187</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>242</item> <item>243</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>33</id> <name>Lo_assign_1</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName>Lo</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>244</item> <item>245</item> <item>246</item> <item>247</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>34</id> <name>tmp_188</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>248</item> <item>249</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>35</id> <name>Uj</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName>Uj</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>250</item> <item>251</item> <item>252</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>36</id> <name>tmp_189_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>253</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_293</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>254</item> <item>255</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_299_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>256</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>39</id> <name>pp_V_addr_3</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>257</item> <item>258</item> <item>259</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>40</id> <name>tmp_358</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>260</item> <item>261</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>41</id> <name>tmp_359</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>263</item> <item>264</item> <item>266</item> <item>268</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>42</id> <name>tmp_360</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>269</item> <item>270</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>43</id> <name>tmp_361</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>271</item> <item>272</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>44</id> <name>tmp_362</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>273</item> <item>274</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_363</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>275</item> <item>276</item> <item>277</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>46</id> <name>tmp_364</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>278</item> <item>279</item> <item>280</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>47</id> <name>tmp_365</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>281</item> <item>282</item> <item>283</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_366</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>284</item> <item>285</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_367</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>286</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>50</id> <name>tmp_368</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>287</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp_369</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>288</item> <item>289</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>52</id> <name>tmp_370</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>291</item> <item>292</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>53</id> <name>p_Result_16</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>293</item> <item>294</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>54</id> <name>tmp_372</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>295</item> <item>296</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_373</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>297</item> <item>298</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>56</id> <name>tmp_374</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>299</item> <item>300</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>57</id> <name>tmp_375</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>301</item> <item>302</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>58</id> <name>tmp_376</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>303</item> <item>304</item> <item>305</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>59</id> <name>tmp_377</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>306</item> <item>308</item> <item>310</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>60</id> <name>tmp_378</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>311</item> <item>312</item> <item>313</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_379</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>314</item> <item>315</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_380</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>316</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>63</id> <name>tmp_381</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>317</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>64</id> <name>tmp_382</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>318</item> <item>319</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>65</id> <name>tmp_383</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>320</item> <item>321</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>66</id> <name>p_Result_17</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>322</item> <item>323</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>67</id> <name>tmp_385</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>324</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>68</id> <name>tmp_386</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>325</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp_192</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>326</item> <item>327</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>70</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>222</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>222</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>328</item> <item>329</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>71</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>219</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>330</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>73</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>187</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>75</id> <name>pp_V_load</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>331</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>76</id> <name>tmp</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>332</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>77</id> <name>pps_V_addr</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>333</item> <item>334</item> <item>335</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>78</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>336</item> <item>337</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>79</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>338</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>81</id> <name>i_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>340</item> <item>341</item> <item>342</item> <item>343</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>82</id> <name>i_1_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>344</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>83</id> <name>exitcond4</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>345</item> <item>347</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>85</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>348</item> <item>349</item> <item>350</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>87</id> <name>tmp_184</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>352</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>88</id> <name>tmp_185</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>353</item> <item>355</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>89</id> <name>tmp_186</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>356</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>90</id> <name>pps_V_addr_5</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>357</item> <item>358</item> <item>359</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>91</id> <name>pps_V_load</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>360</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>92</id> <name>r_V</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>362</item> <item>363</item> <item>365</item> <item>367</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>93</id> <name>r_V_8</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>368</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>94</id> <name>pps_V_addr_6</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>369</item> <item>370</item> <item>371</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>95</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>230</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>230</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>372</item> <item>373</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>96</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>374</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>98</id> <name>j_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>375</item> <item>376</item> <item>377</item> <item>378</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>99</id> <name>j_1_cast3</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>379</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>100</id> <name>j_1_cast3_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>380</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>101</id> <name>exitcond6</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>381</item> <item>382</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>103</id> <name>j_7</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>383</item> <item>384</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>104</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>385</item> <item>386</item> <item>387</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>106</id> <name>ult</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>388</item> <item>389</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>107</id> <name>rev5</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>390</item> <item>392</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>108</id> <name>tmp_196</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>393</item> <item>394</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>109</id> <name>tmp_197</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>395</item> <item>397</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>110</id> <name>or_cond</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>398</item> <item>399</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>111</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>400</item> <item>401</item> <item>402</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>113</id> <name>tmp_198_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>232</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>232</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>403</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_99"> <Value> <Obj> <type>0</type> <id>114</id> <name>tmp_294</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>404</item> <item>405</item> <item>406</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_100"> <Value> <Obj> <type>0</type> <id>115</id> <name>p_shl2_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>407</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_101"> <Value> <Obj> <type>0</type> <id>116</id> <name>tmp_295</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>408</item> <item>409</item> <item>410</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_102"> <Value> <Obj> <type>0</type> <id>117</id> <name>p_shl3_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>411</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_103"> <Value> <Obj> <type>0</type> <id>118</id> <name>tmp_296</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>412</item> <item>413</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_104"> <Value> <Obj> <type>0</type> <id>119</id> <name>tmp_297</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>414</item> <item>415</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_105"> <Value> <Obj> <type>0</type> <id>120</id> <name>tmp_303_cast</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>416</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_106"> <Value> <Obj> <type>0</type> <id>121</id> <name>pp_V_addr_4</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>417</item> <item>418</item> <item>419</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_107"> <Value> <Obj> <type>0</type> <id>122</id> <name>pp_V_load_2</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>420</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_108"> <Value> <Obj> <type>0</type> <id>123</id> <name>tmp_199</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>421</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_109"> <Value> <Obj> <type>0</type> <id>124</id> <name>pps_V_load_4</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>422</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_110"> <Value> <Obj> <type>0</type> <id>125</id> <name>tmp_200</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>423</item> <item>424</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_111"> <Value> <Obj> <type>0</type> <id>126</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>233</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>233</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>425</item> <item>426</item> <item>562</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_112"> <Value> <Obj> <type>0</type> <id>127</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>234</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>234</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>427</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_113"> <Value> <Obj> <type>0</type> <id>129</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>231</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>231</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>428</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_114"> <Value> <Obj> <type>0</type> <id>131</id> <name>i_13</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>429</item> <item>430</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_115"> <Value> <Obj> <type>0</type> <id>132</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>431</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_116"> <Value> <Obj> <type>0</type> <id>134</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>238</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>238</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>351</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_117"> <Value> <Obj> <type>0</type> <id>136</id> <name>p_Val2_34</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>432</item> <item>433</item> <item>435</item> <item>436</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_118"> <Value> <Obj> <type>0</type> <id>137</id> <name>i_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>437</item> <item>438</item> <item>440</item> <item>441</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_119"> <Value> <Obj> <type>0</type> <id>138</id> <name>exitcond</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>238</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>238</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>442</item> <item>443</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_120"> <Value> <Obj> <type>0</type> <id>140</id> <name>i_12</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>238</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>238</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>444</item> <item>445</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_121"> <Value> <Obj> <type>0</type> <id>141</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>238</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>238</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>446</item> <item>447</item> <item>448</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_122"> <Value> <Obj> <type>0</type> <id>143</id> <name>Li</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName>Li</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>450</item> <item>451</item> <item>452</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_123"> <Value> <Obj> <type>0</type> <id>144</id> <name>Ui</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>241</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>241</second> </item> </second> </item> </inlineStackInfo> <originalName>Ui</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>454</item> <item>455</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_124"> <Value> <Obj> <type>0</type> <id>145</id> <name>tmp_193</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>242</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>242</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>456</item> <item>458</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_125"> <Value> <Obj> <type>0</type> <id>146</id> <name>Hi_assign</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>242</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>242</second> </item> </second> </item> </inlineStackInfo> <originalName>Hi</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>459</item> <item>460</item> <item>461</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_126"> <Value> <Obj> <type>0</type> <id>147</id> <name>tmp_194</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>462</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_127"> <Value> <Obj> <type>0</type> <id>148</id> <name>pps_V_addr_7</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>463</item> <item>464</item> <item>465</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_128"> <Value> <Obj> <type>0</type> <id>149</id> <name>p_Val2_s</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>48</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>466</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_129"> <Value> <Obj> <type>0</type> <id>150</id> <name>tmp_387</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>17</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>467</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_130"> <Value> <Obj> <type>0</type> <id>151</id> <name>loc_V</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName>loc.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>468</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_131"> <Value> <Obj> <type>0</type> <id>152</id> <name>tmp_388</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>469</item> <item>470</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_132"> <Value> <Obj> <type>0</type> <id>153</id> <name>tmp_389</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>471</item> <item>472</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_133"> <Value> <Obj> <type>0</type> <id>154</id> <name>tmp_390</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>473</item> <item>474</item> <item>475</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_134"> <Value> <Obj> <type>0</type> <id>155</id> <name>tmp_391</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>476</item> <item>477</item> <item>478</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_135"> <Value> <Obj> <type>0</type> <id>156</id> <name>tmp_392</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>479</item> <item>480</item> <item>481</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_136"> <Value> <Obj> <type>0</type> <id>157</id> <name>tmp_393</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>482</item> <item>483</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_137"> <Value> <Obj> <type>0</type> <id>158</id> <name>tmp_394</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>484</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_138"> <Value> <Obj> <type>0</type> <id>159</id> <name>tmp_395</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>485</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_139"> <Value> <Obj> <type>0</type> <id>160</id> <name>tmp_396</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>486</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_140"> <Value> <Obj> <type>0</type> <id>161</id> <name>tmp_397</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>487</item> <item>488</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_141"> <Value> <Obj> <type>0</type> <id>162</id> <name>tmp_398</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>490</item> <item>491</item> <item>493</item> <item>494</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_142"> <Value> <Obj> <type>0</type> <id>163</id> <name>tmp_399</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>239</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>239</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>495</item> <item>496</item> <item>497</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_143"> <Value> <Obj> <type>0</type> <id>164</id> <name>tmp_400</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>499</item> <item>500</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_144"> <Value> <Obj> <type>0</type> <id>165</id> <name>tmp_401</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>501</item> <item>502</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_145"> <Value> <Obj> <type>0</type> <id>166</id> <name>p_demorgan</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>503</item> <item>504</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_146"> <Value> <Obj> <type>0</type> <id>167</id> <name>tmp_402</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>505</item> <item>506</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_147"> <Value> <Obj> <type>0</type> <id>168</id> <name>tmp_403</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>507</item> <item>508</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_148"> <Value> <Obj> <type>0</type> <id>169</id> <name>tmp_404</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>509</item> <item>510</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_149"> <Value> <Obj> <type>0</type> <id>170</id> <name>p_Result_s</name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>243</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>243</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>511</item> <item>512</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_150"> <Value> <Obj> <type>0</type> <id>171</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>238</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>238</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>513</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_151"> <Value> <Obj> <type>0</type> <id>173</id> <name></name> <fileName>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</fileName> <fileDirectory>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</fileDirectory> <lineNumber>246</lineNumber> <contextFuncName>big_mult_v3&amp;lt;94, 17&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/wrk/2016.4/nightly/2017_01_23_1756540/src/products/hls/hls_lib/src/hls/hls_big_mult.h</first> <second>big_mult_v3&amp;lt;94, 17&amp;gt;</second> </first> <second>246</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>514</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>27</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_152"> <Value> <Obj> <type>2</type> <id>179</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_153"> <Value> <Obj> <type>2</type> <id>182</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_154"> <Value> <Obj> <type>2</type> <id>188</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_155"> <Value> <Obj> <type>2</type> <id>194</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>6</content> </item> <item class_id_reference="16" object_id="_156"> <Value> <Obj> <type>2</type> <id>197</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_157"> <Value> <Obj> <type>2</type> <id>203</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>5</content> </item> <item class_id_reference="16" object_id="_158"> <Value> <Obj> <type>2</type> <id>213</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_159"> <Value> <Obj> <type>2</type> <id>224</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_160"> <Value> <Obj> <type>2</type> <id>227</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <const_type>0</const_type> <content>93</content> </item> <item class_id_reference="16" object_id="_161"> <Value> <Obj> <type>2</type> <id>265</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>93</content> </item> <item class_id_reference="16" object_id="_162"> <Value> <Obj> <type>2</type> <id>267</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_163"> <Value> <Obj> <type>2</type> <id>290</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <const_type>0</const_type> <content>19807040628566084398385987583</content> </item> <item class_id_reference="16" object_id="_164"> <Value> <Obj> <type>2</type> <id>307</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <const_type>0</const_type> <content>10874496769113186656352141312</content> </item> <item class_id_reference="16" object_id="_165"> <Value> <Obj> <type>2</type> <id>309</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>94</bitwidth> </Value> <const_type>0</const_type> <content>237372029602271161299249</content> </item> <item class_id_reference="16" object_id="_166"> <Value> <Obj> <type>2</type> <id>339</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_167"> <Value> <Obj> <type>2</type> <id>346</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>12</content> </item> <item class_id_reference="16" object_id="_168"> <Value> <Obj> <type>2</type> <id>354</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>15</content> </item> <item class_id_reference="16" object_id="_169"> <Value> <Obj> <type>2</type> <id>364</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>17</content> </item> <item class_id_reference="16" object_id="_170"> <Value> <Obj> <type>2</type> <id>366</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>47</content> </item> <item class_id_reference="16" object_id="_171"> <Value> <Obj> <type>2</type> <id>391</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_172"> <Value> <Obj> <type>2</type> <id>396</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>6</content> </item> <item class_id_reference="16" object_id="_173"> <Value> <Obj> <type>2</type> <id>434</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <const_type>4</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_174"> <Value> <Obj> <type>2</type> <id>439</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_175"> <Value> <Obj> <type>2</type> <id>453</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_176"> <Value> <Obj> <type>2</type> <id>457</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <const_type>0</const_type> <content>187</content> </item> <item class_id_reference="16" object_id="_177"> <Value> <Obj> <type>2</type> <id>492</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>187</content> </item> <item class_id_reference="16" object_id="_178"> <Value> <Obj> <type>2</type> <id>498</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>188</bitwidth> </Value> <const_type>0</const_type> <content>392318858461667547739736838950479151006397215279002157055</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_179"> <Obj> <type>3</type> <id>8</id> <name>.preheader163.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> </node_objs> </item> <item class_id_reference="18" object_id="_180"> <Obj> <type>3</type> <id>14</id> <name>.preheader163</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>9</item> <item>10</item> <item>12</item> <item>13</item> </node_objs> </item> <item class_id_reference="18" object_id="_181"> <Obj> <type>3</type> <id>25</id> <name>.preheader162.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>10</count> <item_version>0</item_version> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> </node_objs> </item> <item class_id_reference="18" object_id="_182"> <Obj> <type>3</type> <id>31</id> <name>.preheader162</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>26</item> <item>27</item> <item>29</item> <item>30</item> </node_objs> </item> <item class_id_reference="18" object_id="_183"> <Obj> <type>3</type> <id>72</id> <name>_ifconv</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>40</count> <item_version>0</item_version> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> </node_objs> </item> <item class_id_reference="18" object_id="_184"> <Obj> <type>3</type> <id>74</id> <name>.preheader163.loopexit</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>73</item> </node_objs> </item> <item class_id_reference="18" object_id="_185"> <Obj> <type>3</type> <id>80</id> <name>arrayctor.loop4.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> </node_objs> </item> <item class_id_reference="18" object_id="_186"> <Obj> <type>3</type> <id>86</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>81</item> <item>82</item> <item>83</item> <item>85</item> </node_objs> </item> <item class_id_reference="18" object_id="_187"> <Obj> <type>3</type> <id>97</id> <name>_ZrsILi48ELb0EE11ap_int_baseIXT_EXT0_EXleT_Li64EEERKS1_i.exit</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>10</count> <item_version>0</item_version> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> </node_objs> </item> <item class_id_reference="18" object_id="_188"> <Obj> <type>3</type> <id>105</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>98</item> <item>99</item> <item>100</item> <item>101</item> <item>103</item> <item>104</item> </node_objs> </item> <item class_id_reference="18" object_id="_189"> <Obj> <type>3</type> <id>112</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>111</item> </node_objs> </item> <item class_id_reference="18" object_id="_190"> <Obj> <type>3</type> <id>128</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>15</count> <item_version>0</item_version> <item>113</item> <item>114</item> <item>115</item> <item>116</item> <item>117</item> <item>118</item> <item>119</item> <item>120</item> <item>121</item> <item>122</item> <item>123</item> <item>124</item> <item>125</item> <item>126</item> <item>127</item> </node_objs> </item> <item class_id_reference="18" object_id="_191"> <Obj> <type>3</type> <id>130</id> <name>._crit_edge165</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>129</item> </node_objs> </item> <item class_id_reference="18" object_id="_192"> <Obj> <type>3</type> <id>133</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>131</item> <item>132</item> </node_objs> </item> <item class_id_reference="18" object_id="_193"> <Obj> <type>3</type> <id>135</id> <name>.preheader.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>134</item> </node_objs> </item> <item class_id_reference="18" object_id="_194"> <Obj> <type>3</type> <id>142</id> <name>.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>136</item> <item>137</item> <item>138</item> <item>140</item> <item>141</item> </node_objs> </item> <item class_id_reference="18" object_id="_195"> <Obj> <type>3</type> <id>172</id> <name>._crit_edge166</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>29</count> <item_version>0</item_version> <item>143</item> <item>144</item> <item>145</item> <item>146</item> <item>147</item> <item>148</item> <item>149</item> <item>150</item> <item>151</item> <item>152</item> <item>153</item> <item>154</item> <item>155</item> <item>156</item> <item>157</item> <item>158</item> <item>159</item> <item>160</item> <item>161</item> <item>162</item> <item>163</item> <item>164</item> <item>165</item> <item>166</item> <item>167</item> <item>168</item> <item>169</item> <item>170</item> <item>171</item> </node_objs> </item> <item class_id_reference="18" object_id="_196"> <Obj> <type>3</type> <id>174</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>173</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>318</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_197"> <id>177</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>2</sink_obj> </item> <item class_id_reference="20" object_id="_198"> <id>178</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>3</sink_obj> </item> <item class_id_reference="20" object_id="_199"> <id>180</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>4</sink_obj> </item> <item class_id_reference="20" object_id="_200"> <id>181</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_201"> <id>183</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_202"> <id>184</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_203"> <id>185</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_204"> <id>186</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>7</sink_obj> </item> <item class_id_reference="20" object_id="_205"> <id>187</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>73</sink_obj> </item> <item class_id_reference="20" object_id="_206"> <id>189</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_207"> <id>190</id> <edge_type>2</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_208"> <id>191</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_209"> <id>192</id> <edge_type>2</edge_type> <source_obj>74</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_210"> <id>193</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_211"> <id>195</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_212"> <id>196</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_213"> <id>198</id> <edge_type>1</edge_type> <source_obj>197</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_214"> <id>199</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_215"> <id>200</id> <edge_type>2</edge_type> <source_obj>25</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_216"> <id>201</id> <edge_type>2</edge_type> <source_obj>80</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_217"> <id>202</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_218"> <id>204</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_219"> <id>207</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_220"> <id>208</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_221"> <id>209</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_222"> <id>212</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_223"> <id>214</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_224"> <id>215</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_225"> <id>216</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_226"> <id>217</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_227"> <id>220</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_228"> <id>221</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_229"> <id>222</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_230"> <id>223</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_231"> <id>225</id> <edge_type>1</edge_type> <source_obj>224</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_232"> <id>226</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_233"> <id>228</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_234"> <id>229</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_235"> <id>230</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_236"> <id>231</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_237"> <id>232</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_238"> <id>233</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_239"> <id>234</id> <edge_type>2</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_240"> <id>235</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_241"> <id>236</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_242"> <id>237</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_243"> <id>238</id> <edge_type>1</edge_type> <source_obj>197</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_244"> <id>239</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_245"> <id>240</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_246"> <id>241</id> <edge_type>2</edge_type> <source_obj>74</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_247"> <id>242</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_248"> <id>243</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_249"> <id>245</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_250"> <id>246</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_251"> <id>247</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_252"> <id>248</id> <edge_type>1</edge_type> <source_obj>224</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_253"> <id>249</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_254"> <id>250</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_255"> <id>251</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_256"> <id>252</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_257"> <id>253</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_258"> <id>254</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_259"> <id>255</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_260"> <id>256</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_261"> <id>257</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_262"> <id>258</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_263"> <id>259</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_264"> <id>260</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_265"> <id>261</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_266"> <id>264</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_267"> <id>266</id> <edge_type>1</edge_type> <source_obj>265</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_268"> <id>268</id> <edge_type>1</edge_type> <source_obj>267</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_269"> <id>269</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_270"> <id>270</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_271"> <id>271</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_272"> <id>272</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_273"> <id>273</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_274"> <id>274</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_275"> <id>275</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_276"> <id>276</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_277"> <id>277</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_278"> <id>278</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_279"> <id>279</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_280"> <id>280</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_281"> <id>281</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_282"> <id>282</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_283"> <id>283</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_284"> <id>284</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_285"> <id>285</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_286"> <id>286</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_287"> <id>287</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_288"> <id>288</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_289"> <id>289</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_290"> <id>291</id> <edge_type>1</edge_type> <source_obj>290</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_291"> <id>292</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_292"> <id>293</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_293"> <id>294</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_294"> <id>295</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_295"> <id>296</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_296"> <id>297</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_297"> <id>298</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_298"> <id>299</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_299"> <id>300</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_300"> <id>301</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_301"> <id>302</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_302"> <id>303</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_303"> <id>304</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_304"> <id>305</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_305"> <id>306</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_306"> <id>308</id> <edge_type>1</edge_type> <source_obj>307</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_307"> <id>310</id> <edge_type>1</edge_type> <source_obj>309</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_308"> <id>311</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_309"> <id>312</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_310"> <id>313</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_311"> <id>314</id> <edge_type>1</edge_type> <source_obj>227</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_312"> <id>315</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_313"> <id>316</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_314"> <id>317</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_315"> <id>318</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_316"> <id>319</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_317"> <id>320</id> <edge_type>1</edge_type> <source_obj>290</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_318"> <id>321</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_319"> <id>322</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_320"> <id>323</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_321"> <id>324</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_322"> <id>325</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>68</sink_obj> </item> <item class_id_reference="20" object_id="_323"> <id>326</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_324"> <id>327</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_325"> <id>328</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_326"> <id>329</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_327"> <id>330</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>71</sink_obj> </item> <item class_id_reference="20" object_id="_328"> <id>331</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>75</sink_obj> </item> <item class_id_reference="20" object_id="_329"> <id>332</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_330"> <id>333</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>77</sink_obj> </item> <item class_id_reference="20" object_id="_331"> <id>334</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>77</sink_obj> </item> <item class_id_reference="20" object_id="_332"> <id>335</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>77</sink_obj> </item> <item class_id_reference="20" object_id="_333"> <id>336</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_334"> <id>337</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_335"> <id>338</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_336"> <id>340</id> <edge_type>1</edge_type> <source_obj>339</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_337"> <id>341</id> <edge_type>2</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_338"> <id>342</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_339"> <id>343</id> <edge_type>2</edge_type> <source_obj>133</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_340"> <id>344</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>82</sink_obj> </item> <item class_id_reference="20" object_id="_341"> <id>345</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>83</sink_obj> </item> <item class_id_reference="20" object_id="_342"> <id>347</id> <edge_type>1</edge_type> <source_obj>346</source_obj> <sink_obj>83</sink_obj> </item> <item class_id_reference="20" object_id="_343"> <id>348</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_344"> <id>349</id> <edge_type>2</edge_type> <source_obj>97</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_345"> <id>350</id> <edge_type>2</edge_type> <source_obj>135</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_346"> <id>351</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>134</sink_obj> </item> <item class_id_reference="20" object_id="_347"> <id>352</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>87</sink_obj> </item> <item class_id_reference="20" object_id="_348"> <id>353</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>88</sink_obj> </item> <item class_id_reference="20" object_id="_349"> <id>355</id> <edge_type>1</edge_type> <source_obj>354</source_obj> <sink_obj>88</sink_obj> </item> <item class_id_reference="20" object_id="_350"> <id>356</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_351"> <id>357</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_352"> <id>358</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_353"> <id>359</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_354"> <id>360</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>91</sink_obj> </item> <item class_id_reference="20" object_id="_355"> <id>363</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>92</sink_obj> </item> <item class_id_reference="20" object_id="_356"> <id>365</id> <edge_type>1</edge_type> <source_obj>364</source_obj> <sink_obj>92</sink_obj> </item> <item class_id_reference="20" object_id="_357"> <id>367</id> <edge_type>1</edge_type> <source_obj>366</source_obj> <sink_obj>92</sink_obj> </item> <item class_id_reference="20" object_id="_358"> <id>368</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>93</sink_obj> </item> <item class_id_reference="20" object_id="_359"> <id>369</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>94</sink_obj> </item> <item class_id_reference="20" object_id="_360"> <id>370</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>94</sink_obj> </item> <item class_id_reference="20" object_id="_361"> <id>371</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>94</sink_obj> </item> <item class_id_reference="20" object_id="_362"> <id>372</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>95</sink_obj> </item> <item class_id_reference="20" object_id="_363"> <id>373</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>95</sink_obj> </item> <item class_id_reference="20" object_id="_364"> <id>374</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>96</sink_obj> </item> <item class_id_reference="20" object_id="_365"> <id>375</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>98</sink_obj> </item> <item class_id_reference="20" object_id="_366"> <id>376</id> <edge_type>2</edge_type> <source_obj>97</source_obj> <sink_obj>98</sink_obj> </item> <item class_id_reference="20" object_id="_367"> <id>377</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>98</sink_obj> </item> <item class_id_reference="20" object_id="_368"> <id>378</id> <edge_type>2</edge_type> <source_obj>130</source_obj> <sink_obj>98</sink_obj> </item> <item class_id_reference="20" object_id="_369"> <id>379</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>99</sink_obj> </item> <item class_id_reference="20" object_id="_370"> <id>380</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>100</sink_obj> </item> <item class_id_reference="20" object_id="_371"> <id>381</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>101</sink_obj> </item> <item class_id_reference="20" object_id="_372"> <id>382</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>101</sink_obj> </item> <item class_id_reference="20" object_id="_373"> <id>383</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>103</sink_obj> </item> <item class_id_reference="20" object_id="_374"> <id>384</id> <edge_type>1</edge_type> <source_obj>197</source_obj> <sink_obj>103</sink_obj> </item> <item class_id_reference="20" object_id="_375"> <id>385</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>104</sink_obj> </item> <item class_id_reference="20" object_id="_376"> <id>386</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>104</sink_obj> </item> <item class_id_reference="20" object_id="_377"> <id>387</id> <edge_type>2</edge_type> <source_obj>133</source_obj> <sink_obj>104</sink_obj> </item> <item class_id_reference="20" object_id="_378"> <id>388</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>106</sink_obj> </item> <item class_id_reference="20" object_id="_379"> <id>389</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>106</sink_obj> </item> <item class_id_reference="20" object_id="_380"> <id>390</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>107</sink_obj> </item> <item class_id_reference="20" object_id="_381"> <id>392</id> <edge_type>1</edge_type> <source_obj>391</source_obj> <sink_obj>107</sink_obj> </item> <item class_id_reference="20" object_id="_382"> <id>393</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>108</sink_obj> </item> <item class_id_reference="20" object_id="_383"> <id>394</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>108</sink_obj> </item> <item class_id_reference="20" object_id="_384"> <id>395</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>109</sink_obj> </item> <item class_id_reference="20" object_id="_385"> <id>397</id> <edge_type>1</edge_type> <source_obj>396</source_obj> <sink_obj>109</sink_obj> </item> <item class_id_reference="20" object_id="_386"> <id>398</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>110</sink_obj> </item> <item class_id_reference="20" object_id="_387"> <id>399</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>110</sink_obj> </item> <item class_id_reference="20" object_id="_388"> <id>400</id> <edge_type>1</edge_type> <source_obj>110</source_obj> <sink_obj>111</sink_obj> </item> <item class_id_reference="20" object_id="_389"> <id>401</id> <edge_type>2</edge_type> <source_obj>130</source_obj> <sink_obj>111</sink_obj> </item> <item class_id_reference="20" object_id="_390"> <id>402</id> <edge_type>2</edge_type> <source_obj>128</source_obj> <sink_obj>111</sink_obj> </item> <item class_id_reference="20" object_id="_391"> <id>403</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>113</sink_obj> </item> <item class_id_reference="20" object_id="_392"> <id>405</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>114</sink_obj> </item> <item class_id_reference="20" object_id="_393"> <id>406</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>114</sink_obj> </item> <item class_id_reference="20" object_id="_394"> <id>407</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>115</sink_obj> </item> <item class_id_reference="20" object_id="_395"> <id>409</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>116</sink_obj> </item> <item class_id_reference="20" object_id="_396"> <id>410</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>116</sink_obj> </item> <item class_id_reference="20" object_id="_397"> <id>411</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>117</sink_obj> </item> <item class_id_reference="20" object_id="_398"> <id>412</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>118</sink_obj> </item> <item class_id_reference="20" object_id="_399"> <id>413</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>118</sink_obj> </item> <item class_id_reference="20" object_id="_400"> <id>414</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>119</sink_obj> </item> <item class_id_reference="20" object_id="_401"> <id>415</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>119</sink_obj> </item> <item class_id_reference="20" object_id="_402"> <id>416</id> <edge_type>1</edge_type> <source_obj>119</source_obj> <sink_obj>120</sink_obj> </item> <item class_id_reference="20" object_id="_403"> <id>417</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>121</sink_obj> </item> <item class_id_reference="20" object_id="_404"> <id>418</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>121</sink_obj> </item> <item class_id_reference="20" object_id="_405"> <id>419</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>121</sink_obj> </item> <item class_id_reference="20" object_id="_406"> <id>420</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>122</sink_obj> </item> <item class_id_reference="20" object_id="_407"> <id>421</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>123</sink_obj> </item> <item class_id_reference="20" object_id="_408"> <id>422</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>124</sink_obj> </item> <item class_id_reference="20" object_id="_409"> <id>423</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>125</sink_obj> </item> <item class_id_reference="20" object_id="_410"> <id>424</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>125</sink_obj> </item> <item class_id_reference="20" object_id="_411"> <id>425</id> <edge_type>1</edge_type> <source_obj>125</source_obj> <sink_obj>126</sink_obj> </item> <item class_id_reference="20" object_id="_412"> <id>426</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>126</sink_obj> </item> <item class_id_reference="20" object_id="_413"> <id>427</id> <edge_type>2</edge_type> <source_obj>130</source_obj> <sink_obj>127</sink_obj> </item> <item class_id_reference="20" object_id="_414"> <id>428</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>129</sink_obj> </item> <item class_id_reference="20" object_id="_415"> <id>429</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>131</sink_obj> </item> <item class_id_reference="20" object_id="_416"> <id>430</id> <edge_type>1</edge_type> <source_obj>339</source_obj> <sink_obj>131</sink_obj> </item> <item class_id_reference="20" object_id="_417"> <id>431</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>132</sink_obj> </item> <item class_id_reference="20" object_id="_418"> <id>432</id> <edge_type>1</edge_type> <source_obj>170</source_obj> <sink_obj>136</sink_obj> </item> <item class_id_reference="20" object_id="_419"> <id>433</id> <edge_type>2</edge_type> <source_obj>172</source_obj> <sink_obj>136</sink_obj> </item> <item class_id_reference="20" object_id="_420"> <id>435</id> <edge_type>1</edge_type> <source_obj>434</source_obj> <sink_obj>136</sink_obj> </item> <item class_id_reference="20" object_id="_421"> <id>436</id> <edge_type>2</edge_type> <source_obj>135</source_obj> <sink_obj>136</sink_obj> </item> <item class_id_reference="20" object_id="_422"> <id>437</id> <edge_type>1</edge_type> <source_obj>140</source_obj> <sink_obj>137</sink_obj> </item> <item class_id_reference="20" object_id="_423"> <id>438</id> <edge_type>2</edge_type> <source_obj>172</source_obj> <sink_obj>137</sink_obj> </item> <item class_id_reference="20" object_id="_424"> <id>440</id> <edge_type>1</edge_type> <source_obj>439</source_obj> <sink_obj>137</sink_obj> </item> <item class_id_reference="20" object_id="_425"> <id>441</id> <edge_type>2</edge_type> <source_obj>135</source_obj> <sink_obj>137</sink_obj> </item> <item class_id_reference="20" object_id="_426"> <id>442</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>138</sink_obj> </item> <item class_id_reference="20" object_id="_427"> <id>443</id> <edge_type>1</edge_type> <source_obj>346</source_obj> <sink_obj>138</sink_obj> </item> <item class_id_reference="20" object_id="_428"> <id>444</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>140</sink_obj> </item> <item class_id_reference="20" object_id="_429"> <id>445</id> <edge_type>1</edge_type> <source_obj>339</source_obj> <sink_obj>140</sink_obj> </item> <item class_id_reference="20" object_id="_430"> <id>446</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>141</sink_obj> </item> <item class_id_reference="20" object_id="_431"> <id>447</id> <edge_type>2</edge_type> <source_obj>172</source_obj> <sink_obj>141</sink_obj> </item> <item class_id_reference="20" object_id="_432"> <id>448</id> <edge_type>2</edge_type> <source_obj>174</source_obj> <sink_obj>141</sink_obj> </item> <item class_id_reference="20" object_id="_433"> <id>451</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>143</sink_obj> </item> <item class_id_reference="20" object_id="_434"> <id>452</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>143</sink_obj> </item> <item class_id_reference="20" object_id="_435"> <id>454</id> <edge_type>1</edge_type> <source_obj>453</source_obj> <sink_obj>144</sink_obj> </item> <item class_id_reference="20" object_id="_436"> <id>455</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>144</sink_obj> </item> <item class_id_reference="20" object_id="_437"> <id>456</id> <edge_type>1</edge_type> <source_obj>144</source_obj> <sink_obj>145</sink_obj> </item> <item class_id_reference="20" object_id="_438"> <id>458</id> <edge_type>1</edge_type> <source_obj>457</source_obj> <sink_obj>145</sink_obj> </item> <item class_id_reference="20" object_id="_439"> <id>459</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>146</sink_obj> </item> <item class_id_reference="20" object_id="_440"> <id>460</id> <edge_type>1</edge_type> <source_obj>457</source_obj> <sink_obj>146</sink_obj> </item> <item class_id_reference="20" object_id="_441"> <id>461</id> <edge_type>1</edge_type> <source_obj>144</source_obj> <sink_obj>146</sink_obj> </item> <item class_id_reference="20" object_id="_442"> <id>462</id> <edge_type>1</edge_type> <source_obj>137</source_obj> <sink_obj>147</sink_obj> </item> <item class_id_reference="20" object_id="_443"> <id>463</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>148</sink_obj> </item> <item class_id_reference="20" object_id="_444"> <id>464</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>148</sink_obj> </item> <item class_id_reference="20" object_id="_445"> <id>465</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>148</sink_obj> </item> <item class_id_reference="20" object_id="_446"> <id>466</id> <edge_type>1</edge_type> <source_obj>148</source_obj> <sink_obj>149</sink_obj> </item> <item class_id_reference="20" object_id="_447"> <id>467</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>150</sink_obj> </item> <item class_id_reference="20" object_id="_448"> <id>468</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>151</sink_obj> </item> <item class_id_reference="20" object_id="_449"> <id>469</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>152</sink_obj> </item> <item class_id_reference="20" object_id="_450"> <id>470</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>152</sink_obj> </item> <item class_id_reference="20" object_id="_451"> <id>471</id> <edge_type>1</edge_type> <source_obj>457</source_obj> <sink_obj>153</sink_obj> </item> <item class_id_reference="20" object_id="_452"> <id>472</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>153</sink_obj> </item> <item class_id_reference="20" object_id="_453"> <id>473</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>154</sink_obj> </item> <item class_id_reference="20" object_id="_454"> <id>474</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>154</sink_obj> </item> <item class_id_reference="20" object_id="_455"> <id>475</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>154</sink_obj> </item> <item class_id_reference="20" object_id="_456"> <id>476</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>155</sink_obj> </item> <item class_id_reference="20" object_id="_457"> <id>477</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>155</sink_obj> </item> <item class_id_reference="20" object_id="_458"> <id>478</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>155</sink_obj> </item> <item class_id_reference="20" object_id="_459"> <id>479</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>156</sink_obj> </item> <item class_id_reference="20" object_id="_460"> <id>480</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>156</sink_obj> </item> <item class_id_reference="20" object_id="_461"> <id>481</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>156</sink_obj> </item> <item class_id_reference="20" object_id="_462"> <id>482</id> <edge_type>1</edge_type> <source_obj>457</source_obj> <sink_obj>157</sink_obj> </item> <item class_id_reference="20" object_id="_463"> <id>483</id> <edge_type>1</edge_type> <source_obj>154</source_obj> <sink_obj>157</sink_obj> </item> <item class_id_reference="20" object_id="_464"> <id>484</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>158</sink_obj> </item> <item class_id_reference="20" object_id="_465"> <id>485</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>159</sink_obj> </item> <item class_id_reference="20" object_id="_466"> <id>486</id> <edge_type>1</edge_type> <source_obj>157</source_obj> <sink_obj>160</sink_obj> </item> <item class_id_reference="20" object_id="_467"> <id>487</id> <edge_type>1</edge_type> <source_obj>151</source_obj> <sink_obj>161</sink_obj> </item> <item class_id_reference="20" object_id="_468"> <id>488</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>161</sink_obj> </item> <item class_id_reference="20" object_id="_469"> <id>491</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>162</sink_obj> </item> <item class_id_reference="20" object_id="_470"> <id>493</id> <edge_type>1</edge_type> <source_obj>492</source_obj> <sink_obj>162</sink_obj> </item> <item class_id_reference="20" object_id="_471"> <id>494</id> <edge_type>1</edge_type> <source_obj>267</source_obj> <sink_obj>162</sink_obj> </item> <item class_id_reference="20" object_id="_472"> <id>495</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>163</sink_obj> </item> <item class_id_reference="20" object_id="_473"> <id>496</id> <edge_type>1</edge_type> <source_obj>162</source_obj> <sink_obj>163</sink_obj> </item> <item class_id_reference="20" object_id="_474"> <id>497</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>163</sink_obj> </item> <item class_id_reference="20" object_id="_475"> <id>499</id> <edge_type>1</edge_type> <source_obj>498</source_obj> <sink_obj>164</sink_obj> </item> <item class_id_reference="20" object_id="_476"> <id>500</id> <edge_type>1</edge_type> <source_obj>159</source_obj> <sink_obj>164</sink_obj> </item> <item class_id_reference="20" object_id="_477"> <id>501</id> <edge_type>1</edge_type> <source_obj>498</source_obj> <sink_obj>165</sink_obj> </item> <item class_id_reference="20" object_id="_478"> <id>502</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>165</sink_obj> </item> <item class_id_reference="20" object_id="_479"> <id>503</id> <edge_type>1</edge_type> <source_obj>164</source_obj> <sink_obj>166</sink_obj> </item> <item class_id_reference="20" object_id="_480"> <id>504</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>166</sink_obj> </item> <item class_id_reference="20" object_id="_481"> <id>505</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>167</sink_obj> </item> <item class_id_reference="20" object_id="_482"> <id>506</id> <edge_type>1</edge_type> <source_obj>498</source_obj> <sink_obj>167</sink_obj> </item> <item class_id_reference="20" object_id="_483"> <id>507</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>168</sink_obj> </item> <item class_id_reference="20" object_id="_484"> <id>508</id> <edge_type>1</edge_type> <source_obj>167</source_obj> <sink_obj>168</sink_obj> </item> <item class_id_reference="20" object_id="_485"> <id>509</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>169</sink_obj> </item> <item class_id_reference="20" object_id="_486"> <id>510</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>169</sink_obj> </item> <item class_id_reference="20" object_id="_487"> <id>511</id> <edge_type>1</edge_type> <source_obj>168</source_obj> <sink_obj>170</sink_obj> </item> <item class_id_reference="20" object_id="_488"> <id>512</id> <edge_type>1</edge_type> <source_obj>169</source_obj> <sink_obj>170</sink_obj> </item> <item class_id_reference="20" object_id="_489"> <id>513</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>171</sink_obj> </item> <item class_id_reference="20" object_id="_490"> <id>514</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>173</sink_obj> </item> <item class_id_reference="20" object_id="_491"> <id>539</id> <edge_type>2</edge_type> <source_obj>8</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_492"> <id>540</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_493"> <id>541</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_494"> <id>542</id> <edge_type>2</edge_type> <source_obj>25</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_495"> <id>543</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_496"> <id>544</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>72</sink_obj> </item> <item class_id_reference="20" object_id="_497"> <id>545</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_498"> <id>546</id> <edge_type>2</edge_type> <source_obj>74</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_499"> <id>547</id> <edge_type>2</edge_type> <source_obj>80</source_obj> <sink_obj>86</sink_obj> </item> <item class_id_reference="20" object_id="_500"> <id>548</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>135</sink_obj> </item> <item class_id_reference="20" object_id="_501"> <id>549</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>97</sink_obj> </item> <item class_id_reference="20" object_id="_502"> <id>550</id> <edge_type>2</edge_type> <source_obj>97</source_obj> <sink_obj>105</sink_obj> </item> <item class_id_reference="20" object_id="_503"> <id>551</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>133</sink_obj> </item> <item class_id_reference="20" object_id="_504"> <id>552</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>112</sink_obj> </item> <item class_id_reference="20" object_id="_505"> <id>553</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>128</sink_obj> </item> <item class_id_reference="20" object_id="_506"> <id>554</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>130</sink_obj> </item> <item class_id_reference="20" object_id="_507"> <id>555</id> <edge_type>2</edge_type> <source_obj>128</source_obj> <sink_obj>130</sink_obj> </item> <item class_id_reference="20" object_id="_508"> <id>556</id> <edge_type>2</edge_type> <source_obj>130</source_obj> <sink_obj>105</sink_obj> </item> <item class_id_reference="20" object_id="_509"> <id>557</id> <edge_type>2</edge_type> <source_obj>133</source_obj> <sink_obj>86</sink_obj> </item> <item class_id_reference="20" object_id="_510"> <id>558</id> <edge_type>2</edge_type> <source_obj>135</source_obj> <sink_obj>142</sink_obj> </item> <item class_id_reference="20" object_id="_511"> <id>559</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>174</sink_obj> </item> <item class_id_reference="20" object_id="_512"> <id>560</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>172</sink_obj> </item> <item class_id_reference="20" object_id="_513"> <id>561</id> <edge_type>2</edge_type> <source_obj>172</source_obj> <sink_obj>142</sink_obj> </item> <item class_id_reference="20" object_id="_514"> <id>562</id> <edge_type>4</edge_type> <source_obj>124</source_obj> <sink_obj>126</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_515"> <mId>1</mId> <mTag>big_mult_v3&lt;94, 17&gt;</mTag> <mType>0</mType> <sub_regions> <count>7</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>7</item> <item>8</item> <item>12</item> <item>13</item> <item>14</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>529</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_516"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>8</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_517"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>6</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>6</mMinTripCount> <mMaxTripCount>6</mMaxTripCount> <mMinLatency>336</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_518"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>14</item> <item>25</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_519"> <mId>5</mId> <mTag>Loop 1.1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>31</item> <item>72</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>6</mMinTripCount> <mMaxTripCount>6</mMaxTripCount> <mMinLatency>54</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_520"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>74</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_521"> <mId>7</mId> <mTag>Region 3</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>80</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_522"> <mId>8</mId> <mTag>Loop 2</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>9</item> <item>10</item> <item>11</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>11</mMinTripCount> <mMaxTripCount>11</mMaxTripCount> <mMinLatency>165</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_523"> <mId>9</mId> <mTag>Region 4</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>86</item> <item>97</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_524"> <mId>10</mId> <mTag>Loop 2.1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>4</count> <item_version>0</item_version> <item>105</item> <item>112</item> <item>128</item> <item>130</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>6</mMinTripCount> <mMaxTripCount>6</mMaxTripCount> <mMinLatency>12</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_525"> <mId>11</mId> <mTag>Region 5</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>133</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_526"> <mId>12</mId> <mTag>Region 6</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>135</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_527"> <mId>13</mId> <mTag>Loop 3</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>142</item> <item>172</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>12</mMinTripCount> <mMaxTripCount>12</mMaxTripCount> <mMinLatency>24</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_528"> <mId>14</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>174</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_529"> <states class_id="25" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_530"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_531"> <id>2</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_532"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_533"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_534"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_535"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_536"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_537"> <id>2</id> <operations> <count>16</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_538"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_539"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_540"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_541"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_542"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_543"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_544"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_545"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_546"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_547"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_548"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_549"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_550"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_551"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_552"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_553"> <id>75</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_554"> <id>3</id> <operations> <count>27</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_555"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_556"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_557"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_558"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_559"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_560"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_561"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_562"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_563"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_564"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_565"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_566"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_567"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_568"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_569"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_570"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_571"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_572"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_573"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_574"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_575"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_576"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_577"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_578"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_579"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_580"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_581"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_582"> <id>4</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_583"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_584"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_585"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_586"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_587"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_588"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_589"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_590"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_591"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_592"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_593"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_594"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_595"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_596"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_597"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_598"> <id>69</id> <stage>6</stage> <latency>6</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_599"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_600"> <id>69</id> <stage>5</stage> <latency>6</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_601"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_602"> <id>69</id> <stage>4</stage> <latency>6</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_603"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_604"> <id>69</id> <stage>3</stage> <latency>6</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_605"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_606"> <id>69</id> <stage>2</stage> <latency>6</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_607"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_608"> <id>69</id> <stage>1</stage> <latency>6</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_609"> <id>11</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_610"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_611"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_612"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_613"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_614"> <id>12</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_615"> <id>75</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_616"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_617"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_618"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_619"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_620"> <id>13</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_621"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_622"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_623"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_624"> <id>84</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_625"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_626"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_627"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_628"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_629"> <id>91</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_630"> <id>134</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_631"> <id>14</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_632"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_633"> <id>91</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_634"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_635"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_636"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_637"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_638"> <id>96</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_639"> <id>15</id> <operations> <count>26</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_640"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_641"> <id>99</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_642"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_643"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_644"> <id>102</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_645"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_646"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_647"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_648"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_649"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_650"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_651"> <id>110</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_652"> <id>111</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_653"> <id>113</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_654"> <id>114</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_655"> <id>115</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_656"> <id>116</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_657"> <id>117</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_658"> <id>118</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_659"> <id>119</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_660"> <id>120</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_661"> <id>121</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_662"> <id>122</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_663"> <id>124</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_664"> <id>131</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_665"> <id>132</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_666"> <id>16</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_667"> <id>122</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_668"> <id>123</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_669"> <id>124</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_670"> <id>125</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_671"> <id>126</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_672"> <id>127</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_673"> <id>129</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_674"> <id>17</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_675"> <id>136</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_676"> <id>137</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_677"> <id>138</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_678"> <id>139</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_679"> <id>140</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_680"> <id>141</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_681"> <id>143</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_682"> <id>144</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_683"> <id>145</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_684"> <id>146</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_685"> <id>147</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_686"> <id>148</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_687"> <id>149</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_688"> <id>173</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_689"> <id>18</id> <operations> <count>23</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_690"> <id>149</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_691"> <id>150</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_692"> <id>151</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_693"> <id>152</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_694"> <id>153</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_695"> <id>154</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_696"> <id>155</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_697"> <id>156</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_698"> <id>157</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_699"> <id>158</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_700"> <id>159</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_701"> <id>160</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_702"> <id>161</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_703"> <id>162</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_704"> <id>163</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_705"> <id>164</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_706"> <id>165</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_707"> <id>166</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_708"> <id>167</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_709"> <id>168</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_710"> <id>169</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_711"> <id>170</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_712"> <id>171</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>22</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_713"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>44</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_714"> <inState>2</inState> <outState>12</outState> <condition> <id>45</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>10</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_715"> <inState>2</inState> <outState>3</outState> <condition> <id>47</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>10</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_716"> <inState>3</inState> <outState>4</outState> <condition> <id>48</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>27</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_717"> <inState>4</inState> <outState>5</outState> <condition> <id>50</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_718"> <inState>5</inState> <outState>6</outState> <condition> <id>51</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_719"> <inState>6</inState> <outState>7</outState> <condition> <id>52</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_720"> <inState>7</inState> <outState>8</outState> <condition> <id>53</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_721"> <inState>8</inState> <outState>9</outState> <condition> <id>54</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_722"> <inState>9</inState> <outState>10</outState> <condition> <id>55</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_723"> <inState>10</inState> <outState>11</outState> <condition> <id>56</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_724"> <inState>11</inState> <outState>3</outState> <condition> <id>58</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_725"> <inState>3</inState> <outState>2</outState> <condition> <id>60</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>27</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_726"> <inState>12</inState> <outState>13</outState> <condition> <id>63</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_727"> <inState>13</inState> <outState>14</outState> <condition> <id>64</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>83</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_728"> <inState>14</inState> <outState>15</outState> <condition> <id>67</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_729"> <inState>15</inState> <outState>16</outState> <condition> <id>68</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>101</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_730"> <inState>16</inState> <outState>15</outState> <condition> <id>71</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_731"> <inState>15</inState> <outState>13</outState> <condition> <id>73</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>101</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_732"> <inState>13</inState> <outState>17</outState> <condition> <id>75</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>83</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_733"> <inState>17</inState> <outState>18</outState> <condition> <id>76</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>138</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_734"> <inState>18</inState> <outState>17</outState> <condition> <id>79</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>150</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>2</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>3</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>4</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>5</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>6</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>7</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>70</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>76</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>92</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>96</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>99</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>108</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>109</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>110</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>111</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>113</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>114</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>115</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>116</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>117</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>118</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>119</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>120</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>121</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>122</first> <second> <first>5</first> <second>1</second> </second> </item> <item> <first>123</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>124</first> <second> <first>5</first> <second>1</second> </second> </item> <item> <first>125</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>126</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>127</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>129</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>131</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>132</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>134</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>136</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>137</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>138</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>140</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>141</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>143</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>144</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>145</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>146</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>147</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>148</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>149</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>150</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>151</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>152</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>153</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>154</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>155</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>156</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>157</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>158</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>159</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>160</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>161</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>162</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>163</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>164</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>165</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>166</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>167</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>168</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>169</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>170</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>171</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>173</first> <second> <first>4</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>8</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>31</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>72</first> <second> <first>2</first> <second>10</second> </second> </item> <item> <first>74</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>80</first> <second> <first>1</first> <second>2</second> </second> </item> <item> <first>86</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>97</first> <second> <first>3</first> <second>4</second> </second> </item> <item> <first>105</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>112</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>128</first> <second> <first>5</first> <second>6</second> </second> </item> <item> <first>130</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>133</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>135</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>142</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>172</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>174</first> <second> <first>4</first> <second>4</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>125</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>80</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>84</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>88</first> <second> <count>1</count> <item_version>0</item_version> <item>2</item> </second> </item> <item> <first>94</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>102</first> <second> <count>5</count> <item_version>0</item_version> <item>75</item> <item>75</item> <item>70</item> <item>122</item> <item>122</item> </second> </item> <item> <first>106</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>113</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>120</first> <second> <count>9</count> <item_version>0</item_version> <item>78</item> <item>91</item> <item>91</item> <item>95</item> <item>124</item> <item>124</item> <item>126</item> <item>149</item> <item>149</item> </second> </item> <item> <first>125</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>132</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>139</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>146</first> <second> <count>1</count> <item_version>0</item_version> <item>148</item> </second> </item> <item> <first>157</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>168</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>179</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>214</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>221</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>225</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>237</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>243</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>251</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>255</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>263</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>267</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>273</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>283</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>289</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>297</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>303</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>309</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>315</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>325</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>331</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>339</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>343</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>352</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>361</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>365</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>370</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>374</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>382</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>389</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>396</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>402</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>406</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>410</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>416</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>422</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>428</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>432</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>436</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>440</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>445</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>449</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>457</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>465</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>472</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>478</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>482</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>486</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>492</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>498</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>504</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>508</first> <second> <count>6</count> <item_version>0</item_version> <item>69</item> <item>69</item> <item>69</item> <item>69</item> <item>69</item> <item>69</item> </second> </item> <item> <first>512</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>516</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>521</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>525</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>531</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>537</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>542</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>547</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>557</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>562</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>566</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>570</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>576</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>582</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>588</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>594</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>599</first> <second> <count>1</count> <item_version>0</item_version> <item>109</item> </second> </item> <item> <first>605</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>611</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>615</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>623</first> <second> <count>1</count> <item_version>0</item_version> <item>115</item> </second> </item> <item> <first>627</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>635</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>639</first> <second> <count>1</count> <item_version>0</item_version> <item>118</item> </second> </item> <item> <first>645</first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> <item> <first>651</first> <second> <count>1</count> <item_version>0</item_version> <item>120</item> </second> </item> <item> <first>656</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>662</first> <second> <count>1</count> <item_version>0</item_version> <item>123</item> </second> </item> <item> <first>666</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>673</first> <second> <count>1</count> <item_version>0</item_version> <item>138</item> </second> </item> <item> <first>679</first> <second> <count>1</count> <item_version>0</item_version> <item>140</item> </second> </item> <item> <first>685</first> <second> <count>1</count> <item_version>0</item_version> <item>143</item> </second> </item> <item> <first>693</first> <second> <count>1</count> <item_version>0</item_version> <item>144</item> </second> </item> <item> <first>699</first> <second> <count>1</count> <item_version>0</item_version> <item>145</item> </second> </item> <item> <first>705</first> <second> <count>1</count> <item_version>0</item_version> <item>146</item> </second> </item> <item> <first>713</first> <second> <count>1</count> <item_version>0</item_version> <item>147</item> </second> </item> <item> <first>718</first> <second> <count>1</count> <item_version>0</item_version> <item>150</item> </second> </item> <item> <first>722</first> <second> <count>1</count> <item_version>0</item_version> <item>151</item> </second> </item> <item> <first>726</first> <second> <count>1</count> <item_version>0</item_version> <item>152</item> </second> </item> <item> <first>730</first> <second> <count>1</count> <item_version>0</item_version> <item>153</item> </second> </item> <item> <first>735</first> <second> <count>1</count> <item_version>0</item_version> <item>154</item> </second> </item> <item> <first>741</first> <second> <count>1</count> <item_version>0</item_version> <item>155</item> </second> </item> <item> <first>747</first> <second> <count>1</count> <item_version>0</item_version> <item>156</item> </second> </item> <item> <first>754</first> <second> <count>1</count> <item_version>0</item_version> <item>157</item> </second> </item> <item> <first>760</first> <second> <count>1</count> <item_version>0</item_version> <item>158</item> </second> </item> <item> <first>764</first> <second> <count>1</count> <item_version>0</item_version> <item>159</item> </second> </item> <item> <first>768</first> <second> <count>1</count> <item_version>0</item_version> <item>160</item> </second> </item> <item> <first>772</first> <second> <count>1</count> <item_version>0</item_version> <item>161</item> </second> </item> <item> <first>778</first> <second> <count>1</count> <item_version>0</item_version> <item>162</item> </second> </item> <item> <first>788</first> <second> <count>1</count> <item_version>0</item_version> <item>163</item> </second> </item> <item> <first>796</first> <second> <count>1</count> <item_version>0</item_version> <item>164</item> </second> </item> <item> <first>802</first> <second> <count>1</count> <item_version>0</item_version> <item>165</item> </second> </item> <item> <first>808</first> <second> <count>1</count> <item_version>0</item_version> <item>166</item> </second> </item> <item> <first>814</first> <second> <count>1</count> <item_version>0</item_version> <item>167</item> </second> </item> <item> <first>820</first> <second> <count>1</count> <item_version>0</item_version> <item>168</item> </second> </item> <item> <first>826</first> <second> <count>1</count> <item_version>0</item_version> <item>169</item> </second> </item> <item> <first>832</first> <second> <count>1</count> <item_version>0</item_version> <item>170</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>121</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>Hi_assign_fu_705</first> <second> <count>1</count> <item_version>0</item_version> <item>146</item> </second> </item> <item> <first>Li_fu_685</first> <second> <count>1</count> <item_version>0</item_version> <item>143</item> </second> </item> <item> <first>Lo_assign_1_fu_315</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>Lo_assign_fu_273</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>Ui_2_fu_289</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>Ui_fu_693</first> <second> <count>1</count> <item_version>0</item_version> <item>144</item> </second> </item> <item> <first>Uj_fu_331</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>a_V_cast_fu_221</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>exitcond3_fu_225</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>exitcond4_fu_525</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>exitcond5_fu_297</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>exitcond6_fu_570</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>exitcond_fu_673</first> <second> <count>1</count> <item_version>0</item_version> <item>138</item> </second> </item> <item> <first>i_11_fu_231</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>i_12_fu_679</first> <second> <count>1</count> <item_version>0</item_version> <item>140</item> </second> </item> <item> <first>i_13_fu_656</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>i_1_cast_fu_521</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>i_1_phi_fu_179</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>i_2_phi_fu_214</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>i_phi_fu_157</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>j_1_cast3_cast_fu_566</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>j_1_cast3_fu_562</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>j_1_phi_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>j_6_fu_303</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>j_7_fu_576</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>j_phi_fu_168</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>loc_V_fu_722</first> <second> <count>1</count> <item_version>0</item_version> <item>151</item> </second> </item> <item> <first>or_cond_fu_605</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>p_Result_16_fu_422</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>p_Result_17_fu_498</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>p_Result_s_fu_832</first> <second> <count>1</count> <item_version>0</item_version> <item>170</item> </second> </item> <item> <first>p_Val2_34_phi_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>p_demorgan_fu_808</first> <second> <count>1</count> <item_version>0</item_version> <item>166</item> </second> </item> <item> <first>p_shl1_cast_fu_263</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>p_shl2_cast_fu_623</first> <second> <count>1</count> <item_version>0</item_version> <item>115</item> </second> </item> <item> <first>p_shl3_cast_fu_635</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>p_shl_cast_fu_251</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>pp_V_addr_3_gep_fu_106</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>pp_V_addr_4_gep_fu_139</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>pp_V_addr_gep_fu_94</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>pp_V_alloca_fu_80</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>pps_V_addr_5_gep_fu_125</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>pps_V_addr_6_gep_fu_132</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>pps_V_addr_7_gep_fu_146</first> <second> <count>1</count> <item_version>0</item_version> <item>148</item> </second> </item> <item> <first>pps_V_addr_gep_fu_113</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>pps_V_alloca_fu_84</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>r_V_8_fu_557</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>r_V_fu_547</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>rev5_fu_588</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>tmp_183_fu_283</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_184_fu_542</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>tmp_185_fu_531</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>tmp_186_fu_537</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>tmp_187_fu_309</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>tmp_188_fu_325</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_189_cast_fu_339</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>tmp_193_fu_699</first> <second> <count>1</count> <item_version>0</item_version> <item>145</item> </second> </item> <item> <first>tmp_194_fu_713</first> <second> <count>1</count> <item_version>0</item_version> <item>147</item> </second> </item> <item> <first>tmp_196_fu_594</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>tmp_197_fu_599</first> <second> <count>1</count> <item_version>0</item_version> <item>109</item> </second> </item> <item> <first>tmp_198_cast_fu_611</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>tmp_199_fu_662</first> <second> <count>1</count> <item_version>0</item_version> <item>123</item> </second> </item> <item> <first>tmp_200_fu_666</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>tmp_290_fu_243</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>tmp_291_fu_255</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_292_fu_267</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>tmp_293_fu_343</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_294_fu_615</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>tmp_295_fu_627</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>tmp_296_fu_639</first> <second> <count>1</count> <item_version>0</item_version> <item>118</item> </second> </item> <item> <first>tmp_297_fu_645</first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> <item> <first>tmp_299_cast_fu_512</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_303_cast_fu_651</first> <second> <count>1</count> <item_version>0</item_version> <item>120</item> </second> </item> <item> <first>tmp_358_fu_348</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>tmp_359_fu_352</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>tmp_360_fu_361</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>tmp_361_fu_365</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>tmp_362_fu_370</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>tmp_363_fu_374</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_364_fu_382</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>tmp_365_fu_389</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_366_fu_396</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_367_fu_402</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_368_fu_406</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>tmp_369_fu_410</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>tmp_370_fu_416</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tmp_372_fu_432</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>tmp_373_fu_436</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>tmp_374_fu_440</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>tmp_375_fu_445</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>tmp_376_fu_449</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>tmp_377_fu_457</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>tmp_378_fu_465</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>tmp_379_fu_472</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_380_fu_478</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>tmp_381_fu_482</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>tmp_382_fu_486</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp_383_fu_492</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>tmp_385_fu_428</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_386_fu_504</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_387_fu_718</first> <second> <count>1</count> <item_version>0</item_version> <item>150</item> </second> </item> <item> <first>tmp_388_fu_726</first> <second> <count>1</count> <item_version>0</item_version> <item>152</item> </second> </item> <item> <first>tmp_389_fu_730</first> <second> <count>1</count> <item_version>0</item_version> <item>153</item> </second> </item> <item> <first>tmp_390_fu_735</first> <second> <count>1</count> <item_version>0</item_version> <item>154</item> </second> </item> <item> <first>tmp_391_fu_741</first> <second> <count>1</count> <item_version>0</item_version> <item>155</item> </second> </item> <item> <first>tmp_392_fu_747</first> <second> <count>1</count> <item_version>0</item_version> <item>156</item> </second> </item> <item> <first>tmp_393_fu_754</first> <second> <count>1</count> <item_version>0</item_version> <item>157</item> </second> </item> <item> <first>tmp_394_fu_760</first> <second> <count>1</count> <item_version>0</item_version> <item>158</item> </second> </item> <item> <first>tmp_395_fu_764</first> <second> <count>1</count> <item_version>0</item_version> <item>159</item> </second> </item> <item> <first>tmp_396_fu_768</first> <second> <count>1</count> <item_version>0</item_version> <item>160</item> </second> </item> <item> <first>tmp_397_fu_772</first> <second> <count>1</count> <item_version>0</item_version> <item>161</item> </second> </item> <item> <first>tmp_398_fu_778</first> <second> <count>1</count> <item_version>0</item_version> <item>162</item> </second> </item> <item> <first>tmp_399_fu_788</first> <second> <count>1</count> <item_version>0</item_version> <item>163</item> </second> </item> <item> <first>tmp_400_fu_796</first> <second> <count>1</count> <item_version>0</item_version> <item>164</item> </second> </item> <item> <first>tmp_401_fu_802</first> <second> <count>1</count> <item_version>0</item_version> <item>165</item> </second> </item> <item> <first>tmp_402_fu_814</first> <second> <count>1</count> <item_version>0</item_version> <item>167</item> </second> </item> <item> <first>tmp_403_fu_820</first> <second> <count>1</count> <item_version>0</item_version> <item>168</item> </second> </item> <item> <first>tmp_404_fu_826</first> <second> <count>1</count> <item_version>0</item_version> <item>169</item> </second> </item> <item> <first>tmp_fu_516</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>tmp_s_fu_237</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>ult_fu_582</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>1</count> <item_version>0</item_version> <item> <first>grp_fu_508</first> <second> <count>6</count> <item_version>0</item_version> <item>69</item> <item>69</item> <item>69</item> <item>69</item> <item>69</item> <item>69</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>1</count> <item_version>0</item_version> <item> <first>a_V_read_read_fu_88</first> <second> <count>1</count> <item_version>0</item_version> <item>2</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="49" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first class_id="51" tracking_level="0" version="0"> <first>pp_V</first> <second>0</second> </first> <second> <count>5</count> <item_version>0</item_version> <item>75</item> <item>75</item> <item>70</item> <item>122</item> <item>122</item> </second> </item> <item> <first> <first>pps_V</first> <second>0</second> </first> <second> <count>9</count> <item_version>0</item_version> <item>78</item> <item>91</item> <item>91</item> <item>95</item> <item>124</item> <item>124</item> <item>126</item> <item>149</item> <item>149</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>31</count> <item_version>0</item_version> <item> <first>153</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>164</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>175</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>187</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>198</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>838</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>844</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>852</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>857</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>862</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>871</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>881</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>886</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>895</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>902</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>907</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>912</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>917</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>922</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>930</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>935</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>943</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>948</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>952</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>957</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>965</first> <second> <count>1</count> <item_version>0</item_version> <item>140</item> </second> </item> <item> <first>970</first> <second> <count>1</count> <item_version>0</item_version> <item>143</item> </second> </item> <item> <first>979</first> <second> <count>1</count> <item_version>0</item_version> <item>146</item> </second> </item> <item> <first>986</first> <second> <count>1</count> <item_version>0</item_version> <item>148</item> </second> </item> <item> <first>991</first> <second> <count>1</count> <item_version>0</item_version> <item>170</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>31</count> <item_version>0</item_version> <item> <first>Hi_assign_reg_979</first> <second> <count>1</count> <item_version>0</item_version> <item>146</item> </second> </item> <item> <first>Li_reg_970</first> <second> <count>1</count> <item_version>0</item_version> <item>143</item> </second> </item> <item> <first>Lo_assign_1_reg_886</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>Lo_assign_reg_862</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>Ui_2_reg_871</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>Uj_reg_895</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>a_V_cast_reg_838</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>i_11_reg_852</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>i_12_reg_965</first> <second> <count>1</count> <item_version>0</item_version> <item>140</item> </second> </item> <item> <first>i_13_reg_957</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>i_1_cast_reg_922</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>i_1_reg_175</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>i_2_reg_210</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>i_reg_153</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>j_1_reg_187</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>j_6_reg_881</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>j_7_reg_943</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>j_reg_164</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>or_cond_reg_948</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>p_Result_s_reg_991</first> <second> <count>1</count> <item_version>0</item_version> <item>170</item> </second> </item> <item> <first>p_Val2_34_reg_198</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>pp_V_addr_4_reg_952</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>pp_V_addr_reg_844</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>pps_V_addr_5_reg_930</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>pps_V_addr_6_reg_935</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>pps_V_addr_7_reg_986</first> <second> <count>1</count> <item_version>0</item_version> <item>148</item> </second> </item> <item> <first>tmp_192_reg_917</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>tmp_292_reg_857</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>tmp_293_reg_902</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_385_reg_907</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_386_reg_912</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>6</count> <item_version>0</item_version> <item> <first>153</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>164</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>175</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>187</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>198</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>6</count> <item_version>0</item_version> <item> <first>i_1_reg_175</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>i_2_reg_210</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>i_reg_153</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>j_1_reg_187</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>j_reg_164</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>p_Val2_34_reg_198</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>a_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>2</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>2</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>4</first> <second>RAM</second> </item> <item> <first>6</first> <second>RAM</second> </item> </node2core> </syndb> </boost_serialization>
26.733816
113
0.595308
220fc98160dd94c68dd4b4a8951100ac3c8f5719
3,077
adb
Ada
src/tools/Dependency_Graph_Extractor/src/extraction-source_files_from_projects.adb
selroc/Renaissance-Ada
39230b34aced4a9d83831be346ca103136c53715
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:47.000Z
2022-03-08T13:00:47.000Z
src/tools/Dependency_Graph_Extractor/src/extraction-source_files_from_projects.adb
selroc/Renaissance-Ada
39230b34aced4a9d83831be346ca103136c53715
[ "BSD-3-Clause" ]
null
null
null
src/tools/Dependency_Graph_Extractor/src/extraction-source_files_from_projects.adb
selroc/Renaissance-Ada
39230b34aced4a9d83831be346ca103136c53715
[ "BSD-3-Clause" ]
null
null
null
with Extraction.Node_Edge_Types; package body Extraction.Source_Files_From_Projects is use type VFS.File_Array_Access; use type VFS.Filesystem_String; procedure Extract_Nodes (Project : GPR.Project_Type; Graph : Graph_Operations.Graph_Context) is Source_Files : VFS.File_Array_Access := Project.Extended_Projects_Source_Files; begin for Source_File of Source_Files.all loop Graph.Write_Node(Source_File); end loop; VFS.Unchecked_Free(Source_Files); end Extract_Nodes; procedure Extract_Edges (Project : GPR.Project_Type; Context : Utilities.Project_Context; Recurse_Projects : Boolean; Graph : Graph_Operations.Graph_Context) is Source_Files : VFS.File_Array_Access := Project.Extended_Projects_Source_Files; Main_Files : VFS.File_Array_Access := null; Has_Non_Ada_Main : Boolean := False; begin for Source_File of Source_Files.all loop Graph.Write_Edge(Project, Source_File, Node_Edge_Types.Edge_Type_Contains); -- GPRBuild compiles all sources in languages other than Ada. if not Utilities.Is_Ada_File_In_Project_Context(+Source_File.Full_Name, Context, Recurse_Projects) and then Utilities.Is_Buildable_File_In_Project_Context(+Source_File.Full_Name, Context) then Graph.Write_Edge(Project, Source_File, Node_Edge_Types.Edge_Type_Compiles); end if; if Project.Is_Main_File(Source_File.Full_Name) then VFS.Append(Main_Files, Source_File); Has_Non_Ada_Main := Has_Non_Ada_Main or not Utilities.Is_Ada_File_In_Project_Context(+Source_File.Full_Name, Context, Recurse_Projects); end if; end loop; VFS.Unchecked_Free(Source_Files); -- This is an over-approximation, as we do not handle the "Roots" attibute; -- see the description of compilation phase in the GPRBuild documentation. declare Built_Files : VFS.File_Array_Access; begin if Has_Non_Ada_Main -- GPRBuild compiles all Ada soruces if there is non-Ada main. or else Main_Files = null -- GPRBuild compiles all Ada sources if no main is specified. then Built_Files := Project.Extended_Projects_Source_Files; else declare Status : GPR.Status_Type; begin -- GPRBuild compiles all Ada files in the closure of an Ada main. Project.Get_Closures(Main_Files, False, False, Status, Built_Files); end; end if; for Built_File of Built_Files.all loop if Utilities.Is_Buildable_File_In_Project_Context(+Built_File.Full_Name, Context) then Graph.Write_Edge(Project, Built_File, Node_Edge_Types.Edge_Type_Compiles); end if; end loop; VFS.Unchecked_Free(Built_Files); end; VFS.Unchecked_Free(Main_Files); end Extract_Edges; end Extraction.Source_Files_From_Projects;
38.4625
148
0.679558
4b4775734b3cf2a23fc5d0042b59abe51cbec467
39,953
adb
Ada
gcc-gcc-7_3_0-release/gcc/ada/sinput.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/sinput.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/sinput.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S I N P U T -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2016, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ pragma Style_Checks (All_Checks); -- Subprograms not all in alpha order with Atree; use Atree; with Debug; use Debug; with Opt; use Opt; with Output; use Output; with Scans; use Scans; with Tree_IO; use Tree_IO; with Widechar; use Widechar; with GNAT.Byte_Order_Mark; use GNAT.Byte_Order_Mark; with System; use System; with System.Memory; with System.WCh_Con; use System.WCh_Con; with Unchecked_Conversion; with Unchecked_Deallocation; package body Sinput is use ASCII; -- Make control characters visible First_Time_Around : Boolean := True; -- This needs a comment ??? -- Routines to support conversion between types Lines_Table_Ptr, -- Logical_Lines_Table_Ptr and System.Address. pragma Warnings (Off); -- These unchecked conversions are aliasing safe, since they are never -- used to construct improperly aliased pointer values. function To_Address is new Unchecked_Conversion (Lines_Table_Ptr, Address); function To_Address is new Unchecked_Conversion (Logical_Lines_Table_Ptr, Address); function To_Pointer is new Unchecked_Conversion (Address, Lines_Table_Ptr); function To_Pointer is new Unchecked_Conversion (Address, Logical_Lines_Table_Ptr); pragma Warnings (On); --------------------------- -- Add_Line_Tables_Entry -- --------------------------- procedure Add_Line_Tables_Entry (S : in out Source_File_Record; P : Source_Ptr) is LL : Physical_Line_Number; begin -- Reallocate the lines tables if necessary -- Note: the reason we do not use the normal Table package -- mechanism is that we have several of these tables. We could -- use the new GNAT.Dynamic_Tables package and that would probably -- be a good idea ??? if S.Last_Source_Line = S.Lines_Table_Max then Alloc_Line_Tables (S, Int (S.Last_Source_Line) * ((100 + Alloc.Lines_Increment) / 100)); if Debug_Flag_D then Write_Str ("--> Reallocating lines table, size = "); Write_Int (Int (S.Lines_Table_Max)); Write_Eol; end if; end if; S.Last_Source_Line := S.Last_Source_Line + 1; LL := S.Last_Source_Line; S.Lines_Table (LL) := P; -- Deal with setting new entry in logical lines table if one is -- present. Note that there is always space (because the call to -- Alloc_Line_Tables makes sure both tables are the same length), if S.Logical_Lines_Table /= null then -- We can always set the entry from the previous one, because -- the processing for a Source_Reference pragma ensures that -- at least one entry following the pragma is set up correctly. S.Logical_Lines_Table (LL) := S.Logical_Lines_Table (LL - 1) + 1; end if; end Add_Line_Tables_Entry; ----------------------- -- Alloc_Line_Tables -- ----------------------- procedure Alloc_Line_Tables (S : in out Source_File_Record; New_Max : Nat) is subtype size_t is Memory.size_t; New_Table : Lines_Table_Ptr; New_Logical_Table : Logical_Lines_Table_Ptr; New_Size : constant size_t := size_t (New_Max * Lines_Table_Type'Component_Size / Storage_Unit); begin if S.Lines_Table = null then New_Table := To_Pointer (Memory.Alloc (New_Size)); else New_Table := To_Pointer (Memory.Realloc (To_Address (S.Lines_Table), New_Size)); end if; if New_Table = null then raise Storage_Error; else S.Lines_Table := New_Table; S.Lines_Table_Max := Physical_Line_Number (New_Max); end if; if S.Num_SRef_Pragmas /= 0 then if S.Logical_Lines_Table = null then New_Logical_Table := To_Pointer (Memory.Alloc (New_Size)); else New_Logical_Table := To_Pointer (Memory.Realloc (To_Address (S.Logical_Lines_Table), New_Size)); end if; if New_Logical_Table = null then raise Storage_Error; else S.Logical_Lines_Table := New_Logical_Table; end if; end if; end Alloc_Line_Tables; ----------------- -- Backup_Line -- ----------------- procedure Backup_Line (P : in out Source_Ptr) is Sindex : constant Source_File_Index := Get_Source_File_Index (P); Src : constant Source_Buffer_Ptr := Source_File.Table (Sindex).Source_Text; Sfirst : constant Source_Ptr := Source_File.Table (Sindex).Source_First; begin P := P - 1; if P = Sfirst then return; end if; if Src (P) = CR then if Src (P - 1) = LF then P := P - 1; end if; else -- Src (P) = LF if Src (P - 1) = CR then P := P - 1; end if; end if; -- Now find first character of the previous line while P > Sfirst and then Src (P - 1) /= LF and then Src (P - 1) /= CR loop P := P - 1; end loop; end Backup_Line; --------------------------- -- Build_Location_String -- --------------------------- procedure Build_Location_String (Buf : in out Bounded_String; Loc : Source_Ptr) is Ptr : Source_Ptr := Loc; begin -- Loop through instantiations loop Append (Buf, Reference_Name (Get_Source_File_Index (Ptr))); Append (Buf, ':'); Append (Buf, Nat (Get_Logical_Line_Number (Ptr))); Ptr := Instantiation_Location (Ptr); exit when Ptr = No_Location; Append (Buf, " instantiated at "); end loop; end Build_Location_String; function Build_Location_String (Loc : Source_Ptr) return String is Buf : Bounded_String; begin Build_Location_String (Buf, Loc); return +Buf; end Build_Location_String; ------------------- -- Check_For_BOM -- ------------------- procedure Check_For_BOM is BOM : BOM_Kind; Len : Natural; Tst : String (1 .. 5); C : Character; begin for J in 1 .. 5 loop C := Source (Scan_Ptr + Source_Ptr (J) - 1); -- Definitely no BOM if EOF character marks either end of file, or -- an illegal non-BOM character if not at the end of file. if C = EOF then return; end if; Tst (J) := C; end loop; Read_BOM (Tst, Len, BOM, False); case BOM is when UTF8_All => Scan_Ptr := Scan_Ptr + Source_Ptr (Len); Wide_Character_Encoding_Method := WCEM_UTF8; Upper_Half_Encoding := True; when UTF16_BE | UTF16_LE => Set_Standard_Error; Write_Line ("UTF-16 encoding format not recognized"); Set_Standard_Output; raise Unrecoverable_Error; when UTF32_BE | UTF32_LE => Set_Standard_Error; Write_Line ("UTF-32 encoding format not recognized"); Set_Standard_Output; raise Unrecoverable_Error; when Unknown => null; when others => raise Program_Error; end case; end Check_For_BOM; --------------------------------- -- Comes_From_Inherited_Pragma -- --------------------------------- function Comes_From_Inherited_Pragma (S : Source_Ptr) return Boolean is SIE : Source_File_Record renames Source_File.Table (Get_Source_File_Index (S)); begin return SIE.Inherited_Pragma; end Comes_From_Inherited_Pragma; ----------------------------- -- Comes_From_Inlined_Body -- ----------------------------- function Comes_From_Inlined_Body (S : Source_Ptr) return Boolean is SIE : Source_File_Record renames Source_File.Table (Get_Source_File_Index (S)); begin return SIE.Inlined_Body; end Comes_From_Inlined_Body; ----------------------- -- Get_Column_Number -- ----------------------- function Get_Column_Number (P : Source_Ptr) return Column_Number is S : Source_Ptr; C : Column_Number; Sindex : Source_File_Index; Src : Source_Buffer_Ptr; begin -- If the input source pointer is not a meaningful value then return -- at once with column number 1. This can happen for a file not found -- condition for a file loaded indirectly by RTE, and also perhaps on -- some unknown internal error conditions. In either case we certainly -- don't want to blow up. if P < 1 then return 1; else Sindex := Get_Source_File_Index (P); Src := Source_File.Table (Sindex).Source_Text; S := Line_Start (P); C := 1; while S < P loop if Src (S) = HT then C := (C - 1) / 8 * 8 + (8 + 1); S := S + 1; -- Deal with wide character case, but don't include brackets -- notation in this circuit, since we know that this will -- display unencoded (no one encodes brackets notation). elsif Src (S) /= '[' and then Is_Start_Of_Wide_Char (Src, S) then C := C + 1; Skip_Wide (Src, S); -- Normal (non-wide) character case or brackets sequence else C := C + 1; S := S + 1; end if; end loop; return C; end if; end Get_Column_Number; ----------------------------- -- Get_Logical_Line_Number -- ----------------------------- function Get_Logical_Line_Number (P : Source_Ptr) return Logical_Line_Number is SFR : Source_File_Record renames Source_File.Table (Get_Source_File_Index (P)); L : constant Physical_Line_Number := Get_Physical_Line_Number (P); begin if SFR.Num_SRef_Pragmas = 0 then return Logical_Line_Number (L); else return SFR.Logical_Lines_Table (L); end if; end Get_Logical_Line_Number; --------------------------------- -- Get_Logical_Line_Number_Img -- --------------------------------- function Get_Logical_Line_Number_Img (P : Source_Ptr) return String is begin Name_Len := 0; Add_Nat_To_Name_Buffer (Nat (Get_Logical_Line_Number (P))); return Name_Buffer (1 .. Name_Len); end Get_Logical_Line_Number_Img; ------------------------------ -- Get_Physical_Line_Number -- ------------------------------ function Get_Physical_Line_Number (P : Source_Ptr) return Physical_Line_Number is Sfile : Source_File_Index; Table : Lines_Table_Ptr; Lo : Physical_Line_Number; Hi : Physical_Line_Number; Mid : Physical_Line_Number; Loc : Source_Ptr; begin -- If the input source pointer is not a meaningful value then return -- at once with line number 1. This can happen for a file not found -- condition for a file loaded indirectly by RTE, and also perhaps on -- some unknown internal error conditions. In either case we certainly -- don't want to blow up. if P < 1 then return 1; -- Otherwise we can do the binary search else Sfile := Get_Source_File_Index (P); Loc := P + Source_File.Table (Sfile).Sloc_Adjust; Table := Source_File.Table (Sfile).Lines_Table; Lo := 1; Hi := Source_File.Table (Sfile).Last_Source_Line; loop Mid := (Lo + Hi) / 2; if Loc < Table (Mid) then Hi := Mid - 1; else -- Loc >= Table (Mid) if Mid = Hi or else Loc < Table (Mid + 1) then return Mid; else Lo := Mid + 1; end if; end if; end loop; end if; end Get_Physical_Line_Number; --------------------------- -- Get_Source_File_Index -- --------------------------- function Get_Source_File_Index (S : Source_Ptr) return Source_File_Index is begin return Source_File_Index_Table (Int (S) / Source_Align); end Get_Source_File_Index; ---------------- -- Initialize -- ---------------- procedure Initialize is begin Source_gnat_adc := No_Source_File; First_Time_Around := True; Source_File.Init; Instances.Init; Instances.Append (No_Location); pragma Assert (Instances.Last = No_Instance_Id); end Initialize; ------------------- -- Instantiation -- ------------------- function Instantiation (S : SFI) return Source_Ptr is SIE : Source_File_Record renames Source_File.Table (S); begin if SIE.Inlined_Body or SIE.Inherited_Pragma then return SIE.Inlined_Call; else return Instances.Table (SIE.Instance); end if; end Instantiation; ------------------------- -- Instantiation_Depth -- ------------------------- function Instantiation_Depth (S : Source_Ptr) return Nat is Sind : Source_File_Index; Sval : Source_Ptr; Depth : Nat; begin Sval := S; Depth := 0; loop Sind := Get_Source_File_Index (Sval); Sval := Instantiation (Sind); exit when Sval = No_Location; Depth := Depth + 1; end loop; return Depth; end Instantiation_Depth; ---------------------------- -- Instantiation_Location -- ---------------------------- function Instantiation_Location (S : Source_Ptr) return Source_Ptr is begin return Instantiation (Get_Source_File_Index (S)); end Instantiation_Location; -------------------------- -- Iterate_On_Instances -- -------------------------- procedure Iterate_On_Instances is begin for J in 1 .. Instances.Last loop Process (J, Instances.Table (J)); end loop; end Iterate_On_Instances; ---------------------- -- Last_Source_File -- ---------------------- function Last_Source_File return Source_File_Index is begin return Source_File.Last; end Last_Source_File; ---------------- -- Line_Start -- ---------------- function Line_Start (P : Source_Ptr) return Source_Ptr is Sindex : constant Source_File_Index := Get_Source_File_Index (P); Src : constant Source_Buffer_Ptr := Source_File.Table (Sindex).Source_Text; Sfirst : constant Source_Ptr := Source_File.Table (Sindex).Source_First; S : Source_Ptr; begin S := P; while S > Sfirst and then Src (S - 1) /= CR and then Src (S - 1) /= LF loop S := S - 1; end loop; return S; end Line_Start; function Line_Start (L : Physical_Line_Number; S : Source_File_Index) return Source_Ptr is begin return Source_File.Table (S).Lines_Table (L); end Line_Start; ---------- -- Lock -- ---------- procedure Lock is begin Source_File.Locked := True; Source_File.Release; end Lock; ---------------------- -- Num_Source_Files -- ---------------------- function Num_Source_Files return Nat is begin return Int (Source_File.Last) - Int (Source_File.First) + 1; end Num_Source_Files; ---------------------- -- Num_Source_Lines -- ---------------------- function Num_Source_Lines (S : Source_File_Index) return Nat is begin return Nat (Source_File.Table (S).Last_Source_Line); end Num_Source_Lines; ----------------------- -- Original_Location -- ----------------------- function Original_Location (S : Source_Ptr) return Source_Ptr is Sindex : Source_File_Index; Tindex : Source_File_Index; begin if S <= No_Location then return S; else Sindex := Get_Source_File_Index (S); if Instantiation (Sindex) = No_Location then return S; else Tindex := Template (Sindex); while Instantiation (Tindex) /= No_Location loop Tindex := Template (Tindex); end loop; return S - Source_First (Sindex) + Source_First (Tindex); end if; end if; end Original_Location; ------------------------- -- Physical_To_Logical -- ------------------------- function Physical_To_Logical (Line : Physical_Line_Number; S : Source_File_Index) return Logical_Line_Number is SFR : Source_File_Record renames Source_File.Table (S); begin if SFR.Num_SRef_Pragmas = 0 then return Logical_Line_Number (Line); else return SFR.Logical_Lines_Table (Line); end if; end Physical_To_Logical; -------------------------------- -- Register_Source_Ref_Pragma -- -------------------------------- procedure Register_Source_Ref_Pragma (File_Name : File_Name_Type; Stripped_File_Name : File_Name_Type; Mapped_Line : Nat; Line_After_Pragma : Physical_Line_Number) is subtype size_t is Memory.size_t; SFR : Source_File_Record renames Source_File.Table (Current_Source_File); ML : Logical_Line_Number; begin if File_Name /= No_File then SFR.Reference_Name := Stripped_File_Name; SFR.Full_Ref_Name := File_Name; if not Debug_Generated_Code then SFR.Debug_Source_Name := Stripped_File_Name; SFR.Full_Debug_Name := File_Name; end if; SFR.Num_SRef_Pragmas := SFR.Num_SRef_Pragmas + 1; end if; if SFR.Num_SRef_Pragmas = 1 then SFR.First_Mapped_Line := Logical_Line_Number (Mapped_Line); end if; if SFR.Logical_Lines_Table = null then SFR.Logical_Lines_Table := To_Pointer (Memory.Alloc (size_t (SFR.Lines_Table_Max * Logical_Lines_Table_Type'Component_Size / Storage_Unit))); end if; SFR.Logical_Lines_Table (Line_After_Pragma - 1) := No_Line_Number; ML := Logical_Line_Number (Mapped_Line); for J in Line_After_Pragma .. SFR.Last_Source_Line loop SFR.Logical_Lines_Table (J) := ML; ML := ML + 1; end loop; end Register_Source_Ref_Pragma; --------------------------------- -- Set_Source_File_Index_Table -- --------------------------------- procedure Set_Source_File_Index_Table (Xnew : Source_File_Index) is Ind : Int; SP : Source_Ptr; SL : constant Source_Ptr := Source_File.Table (Xnew).Source_Last; begin SP := Source_File.Table (Xnew).Source_First; pragma Assert (SP mod Source_Align = 0); Ind := Int (SP) / Source_Align; while SP <= SL loop Source_File_Index_Table (Ind) := Xnew; SP := SP + Source_Align; Ind := Ind + 1; end loop; end Set_Source_File_Index_Table; --------------------------- -- Skip_Line_Terminators -- --------------------------- procedure Skip_Line_Terminators (P : in out Source_Ptr; Physical : out Boolean) is Chr : constant Character := Source (P); begin if Chr = CR then if Source (P + 1) = LF then P := P + 2; else P := P + 1; end if; elsif Chr = LF then P := P + 1; elsif Chr = FF or else Chr = VT then P := P + 1; Physical := False; return; -- Otherwise we have a wide character else Skip_Wide (Source, P); end if; -- Fall through in the physical line terminator case. First deal with -- making a possible entry into the lines table if one is needed. -- Note: we are dealing with a real source file here, this cannot be -- the instantiation case, so we need not worry about Sloc adjustment. declare S : Source_File_Record renames Source_File.Table (Current_Source_File); begin Physical := True; -- Make entry in lines table if not already made (in some scan backup -- cases, we will be rescanning previously scanned source, so the -- entry may have already been made on the previous forward scan). if Source (P) /= EOF and then P > S.Lines_Table (S.Last_Source_Line) then Add_Line_Tables_Entry (S, P); end if; end; end Skip_Line_Terminators; ---------------- -- Sloc_Range -- ---------------- procedure Sloc_Range (N : Node_Id; Min, Max : out Source_Ptr) is function Process (N : Node_Id) return Traverse_Result; -- Process function for traversing the node tree procedure Traverse is new Traverse_Proc (Process); ------------- -- Process -- ------------- function Process (N : Node_Id) return Traverse_Result is Orig : constant Node_Id := Original_Node (N); begin if Sloc (Orig) < Min then if Sloc (Orig) > No_Location then Min := Sloc (Orig); end if; elsif Sloc (Orig) > Max then if Sloc (Orig) > No_Location then Max := Sloc (Orig); end if; end if; return OK_Orig; end Process; -- Start of processing for Sloc_Range begin Min := Sloc (N); Max := Sloc (N); Traverse (N); end Sloc_Range; ------------------- -- Source_Offset -- ------------------- function Source_Offset (S : Source_Ptr) return Nat is Sindex : constant Source_File_Index := Get_Source_File_Index (S); Sfirst : constant Source_Ptr := Source_File.Table (Sindex).Source_First; begin return Nat (S - Sfirst); end Source_Offset; ------------------------ -- Top_Level_Location -- ------------------------ function Top_Level_Location (S : Source_Ptr) return Source_Ptr is Oldloc : Source_Ptr; Newloc : Source_Ptr; begin Newloc := S; loop Oldloc := Newloc; Newloc := Instantiation_Location (Oldloc); exit when Newloc = No_Location; end loop; return Oldloc; end Top_Level_Location; --------------- -- Tree_Read -- --------------- procedure Tree_Read is begin -- First we must free any old source buffer pointers if not First_Time_Around then for J in Source_File.First .. Source_File.Last loop declare S : Source_File_Record renames Source_File.Table (J); procedure Free_Ptr is new Unchecked_Deallocation (Big_Source_Buffer, Source_Buffer_Ptr); pragma Warnings (Off); -- This unchecked conversion is aliasing safe, since it is not -- used to create improperly aliased pointer values. function To_Source_Buffer_Ptr is new Unchecked_Conversion (Address, Source_Buffer_Ptr); pragma Warnings (On); Tmp1 : Source_Buffer_Ptr; begin if S.Instance /= No_Instance_Id then null; else -- Free the buffer, we use Free here, because we used malloc -- or realloc directly to allocate the tables. That is -- because we were playing the big array trick. -- We have to recreate a proper pointer to the actual array -- from the zero origin pointer stored in the source table. Tmp1 := To_Source_Buffer_Ptr (S.Source_Text (S.Source_First)'Address); Free_Ptr (Tmp1); if S.Lines_Table /= null then Memory.Free (To_Address (S.Lines_Table)); S.Lines_Table := null; end if; if S.Logical_Lines_Table /= null then Memory.Free (To_Address (S.Logical_Lines_Table)); S.Logical_Lines_Table := null; end if; end if; end; end loop; end if; -- Read in source file table and instance table Source_File.Tree_Read; Instances.Tree_Read; -- The pointers we read in there for the source buffer and lines table -- pointers are junk. We now read in the actual data that is referenced -- by these two fields. for J in Source_File.First .. Source_File.Last loop declare S : Source_File_Record renames Source_File.Table (J); begin -- For the instantiation case, we do not read in any data. Instead -- we share the data for the generic template entry. Since the -- template always occurs first, we can safely refer to its data. if S.Instance /= No_Instance_Id then declare ST : Source_File_Record renames Source_File.Table (S.Template); begin -- The lines tables are copied from the template entry S.Lines_Table := Source_File.Table (S.Template).Lines_Table; S.Logical_Lines_Table := Source_File.Table (S.Template).Logical_Lines_Table; -- In the case of the source table pointer, we share the -- same data as the generic template, but the virtual origin -- is adjusted. For example, if the first subscript of the -- template is 100, and that of the instantiation is 200, -- then the instantiation pointer is obtained by subtracting -- 100 from the template pointer. declare pragma Suppress (All_Checks); pragma Warnings (Off); -- This unchecked conversion is aliasing safe since it -- not used to create improperly aliased pointer values. function To_Source_Buffer_Ptr is new Unchecked_Conversion (Address, Source_Buffer_Ptr); pragma Warnings (On); begin S.Source_Text := To_Source_Buffer_Ptr (ST.Source_Text (ST.Source_First - S.Source_First)'Address); end; end; -- Normal case (non-instantiation) else First_Time_Around := False; S.Lines_Table := null; S.Logical_Lines_Table := null; Alloc_Line_Tables (S, Int (S.Last_Source_Line)); for J in 1 .. S.Last_Source_Line loop Tree_Read_Int (Int (S.Lines_Table (J))); end loop; if S.Num_SRef_Pragmas /= 0 then for J in 1 .. S.Last_Source_Line loop Tree_Read_Int (Int (S.Logical_Lines_Table (J))); end loop; end if; -- Allocate source buffer and read in the data and then set the -- virtual origin to point to the logical zero'th element. This -- address must be computed with subscript checks turned off. declare subtype B is Text_Buffer (S.Source_First .. S.Source_Last); type Text_Buffer_Ptr is access B; T : Text_Buffer_Ptr; pragma Suppress (All_Checks); pragma Warnings (Off); -- This unchecked conversion is aliasing safe, since it is -- never used to create improperly aliased pointer values. function To_Source_Buffer_Ptr is new Unchecked_Conversion (Address, Source_Buffer_Ptr); pragma Warnings (On); begin T := new B; Tree_Read_Data (T (S.Source_First)'Address, Int (S.Source_Last) - Int (S.Source_First) + 1); S.Source_Text := To_Source_Buffer_Ptr (T (0)'Address); end; end if; end; Set_Source_File_Index_Table (J); end loop; end Tree_Read; ---------------- -- Tree_Write -- ---------------- procedure Tree_Write is begin Source_File.Tree_Write; Instances.Tree_Write; -- The pointers we wrote out there for the source buffer and lines -- table pointers are junk, we now write out the actual data that -- is referenced by these two fields. for J in Source_File.First .. Source_File.Last loop declare S : Source_File_Record renames Source_File.Table (J); begin -- For instantiations, there is nothing to do, since the data is -- shared with the generic template. When the tree is read, the -- pointers must be set, but no extra data needs to be written. if S.Instance /= No_Instance_Id then null; -- For the normal case, write out the data of the tables else -- Lines table for J in 1 .. S.Last_Source_Line loop Tree_Write_Int (Int (S.Lines_Table (J))); end loop; -- Logical lines table if present if S.Num_SRef_Pragmas /= 0 then for J in 1 .. S.Last_Source_Line loop Tree_Write_Int (Int (S.Logical_Lines_Table (J))); end loop; end if; -- Source buffer Tree_Write_Data (S.Source_Text (S.Source_First)'Address, Int (S.Source_Last) - Int (S.Source_First) + 1); end if; end; end loop; end Tree_Write; -------------------- -- Write_Location -- -------------------- procedure Write_Location (P : Source_Ptr) is begin if P = No_Location then Write_Str ("<no location>"); elsif P <= Standard_Location then Write_Str ("<standard location>"); else declare SI : constant Source_File_Index := Get_Source_File_Index (P); begin Write_Name (Debug_Source_Name (SI)); Write_Char (':'); Write_Int (Int (Get_Logical_Line_Number (P))); Write_Char (':'); Write_Int (Int (Get_Column_Number (P))); if Instantiation (SI) /= No_Location then Write_Str (" ["); Write_Location (Instantiation (SI)); Write_Char (']'); end if; end; end if; end Write_Location; ---------------------- -- Write_Time_Stamp -- ---------------------- procedure Write_Time_Stamp (S : Source_File_Index) is T : constant Time_Stamp_Type := Time_Stamp (S); P : Natural; begin if T (1) = '9' then Write_Str ("19"); P := 0; else Write_Char (T (1)); Write_Char (T (2)); P := 2; end if; Write_Char (T (P + 1)); Write_Char (T (P + 2)); Write_Char ('-'); Write_Char (T (P + 3)); Write_Char (T (P + 4)); Write_Char ('-'); Write_Char (T (P + 5)); Write_Char (T (P + 6)); Write_Char (' '); Write_Char (T (P + 7)); Write_Char (T (P + 8)); Write_Char (':'); Write_Char (T (P + 9)); Write_Char (T (P + 10)); Write_Char (':'); Write_Char (T (P + 11)); Write_Char (T (P + 12)); end Write_Time_Stamp; ---------------------------------------------- -- Access Subprograms for Source File Table -- ---------------------------------------------- function Debug_Source_Name (S : SFI) return File_Name_Type is begin return Source_File.Table (S).Debug_Source_Name; end Debug_Source_Name; function Instance (S : SFI) return Instance_Id is begin return Source_File.Table (S).Instance; end Instance; function File_Name (S : SFI) return File_Name_Type is begin return Source_File.Table (S).File_Name; end File_Name; function File_Type (S : SFI) return Type_Of_File is begin return Source_File.Table (S).File_Type; end File_Type; function First_Mapped_Line (S : SFI) return Logical_Line_Number is begin return Source_File.Table (S).First_Mapped_Line; end First_Mapped_Line; function Full_Debug_Name (S : SFI) return File_Name_Type is begin return Source_File.Table (S).Full_Debug_Name; end Full_Debug_Name; function Full_File_Name (S : SFI) return File_Name_Type is begin return Source_File.Table (S).Full_File_Name; end Full_File_Name; function Full_Ref_Name (S : SFI) return File_Name_Type is begin return Source_File.Table (S).Full_Ref_Name; end Full_Ref_Name; function Identifier_Casing (S : SFI) return Casing_Type is begin return Source_File.Table (S).Identifier_Casing; end Identifier_Casing; function Inherited_Pragma (S : SFI) return Boolean is begin return Source_File.Table (S).Inherited_Pragma; end Inherited_Pragma; function Inlined_Body (S : SFI) return Boolean is begin return Source_File.Table (S).Inlined_Body; end Inlined_Body; function Inlined_Call (S : SFI) return Source_Ptr is begin return Source_File.Table (S).Inlined_Call; end Inlined_Call; function Keyword_Casing (S : SFI) return Casing_Type is begin return Source_File.Table (S).Keyword_Casing; end Keyword_Casing; function Last_Source_Line (S : SFI) return Physical_Line_Number is begin return Source_File.Table (S).Last_Source_Line; end Last_Source_Line; function License (S : SFI) return License_Type is begin return Source_File.Table (S).License; end License; function Num_SRef_Pragmas (S : SFI) return Nat is begin return Source_File.Table (S).Num_SRef_Pragmas; end Num_SRef_Pragmas; function Reference_Name (S : SFI) return File_Name_Type is begin return Source_File.Table (S).Reference_Name; end Reference_Name; function Source_Checksum (S : SFI) return Word is begin return Source_File.Table (S).Source_Checksum; end Source_Checksum; function Source_First (S : SFI) return Source_Ptr is begin if S = Internal_Source_File then return Internal_Source'First; else return Source_File.Table (S).Source_First; end if; end Source_First; function Source_Last (S : SFI) return Source_Ptr is begin if S = Internal_Source_File then return Internal_Source'Last; else return Source_File.Table (S).Source_Last; end if; end Source_Last; function Source_Text (S : SFI) return Source_Buffer_Ptr is begin if S = Internal_Source_File then return Internal_Source_Ptr; else return Source_File.Table (S).Source_Text; end if; end Source_Text; function Template (S : SFI) return SFI is begin return Source_File.Table (S).Template; end Template; function Time_Stamp (S : SFI) return Time_Stamp_Type is begin return Source_File.Table (S).Time_Stamp; end Time_Stamp; function Unit (S : SFI) return Unit_Number_Type is begin return Source_File.Table (S).Unit; end Unit; ------------------------------------------ -- Set Procedures for Source File Table -- ------------------------------------------ procedure Set_Identifier_Casing (S : SFI; C : Casing_Type) is begin Source_File.Table (S).Identifier_Casing := C; end Set_Identifier_Casing; procedure Set_Keyword_Casing (S : SFI; C : Casing_Type) is begin Source_File.Table (S).Keyword_Casing := C; end Set_Keyword_Casing; procedure Set_License (S : SFI; L : License_Type) is begin Source_File.Table (S).License := L; end Set_License; procedure Set_Unit (S : SFI; U : Unit_Number_Type) is begin Source_File.Table (S).Unit := U; end Set_Unit; ---------------------- -- Trim_Lines_Table -- ---------------------- procedure Trim_Lines_Table (S : Source_File_Index) is Max : constant Nat := Nat (Source_File.Table (S).Last_Source_Line); begin -- Release allocated storage that is no longer needed Source_File.Table (S).Lines_Table := To_Pointer (Memory.Realloc (To_Address (Source_File.Table (S).Lines_Table), Memory.size_t (Max * (Lines_Table_Type'Component_Size / System.Storage_Unit)))); Source_File.Table (S).Lines_Table_Max := Physical_Line_Number (Max); end Trim_Lines_Table; ------------ -- Unlock -- ------------ procedure Unlock is begin Source_File.Locked := False; Source_File.Release; end Unlock; -------- -- wl -- -------- procedure wl (P : Source_Ptr) is begin Write_Location (P); Write_Eol; end wl; end Sinput;
29.420471
79
0.548194
58d9cdf0f3ca5073b08408068198fb580124e67a
3,527
adb
Ada
tools-src/gnu/gcc/gcc/ada/4hexcpol.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
tools-src/gnu/gcc/gcc/ada/4hexcpol.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
tools-src/gnu/gcc/gcc/ada/4hexcpol.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- A D A . E X C E P T I O N S . P O L L -- -- (version supporting asynchronous abort test and time slicing) -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2000, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNARL; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This version is for targets that do not support per-thread asynchronous -- signals or that do not handle async timers properly. On such targets, we -- require compilation with the -gnatP switch that activates periodic polling. -- Then in the body of the polling routine we test for asynchronous abort and -- yield periodically. -- HP-UX and SCO currently use this file with System.Soft_Links; -- used for Check_Abort_Status separate (Ada.Exceptions) ---------- -- Poll -- ---------- procedure Poll is begin if Counter = 10000 then Counter := 0; delay 0.0; else Counter := Counter + 1; end if; -- Test for asynchronous abort on each poll if System.Soft_Links.Check_Abort_Status.all /= 0 then raise Standard'Abort_Signal; end if; end Poll;
51.115942
79
0.469521
1ae909251ea44cf3d5b9fbb596d99aaa176d4a42
1,528
ads
Ada
source/asis/spec/ada-wide_wide_text_io-bounded_io.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
4
2016-02-05T15:51:56.000Z
2022-03-25T20:38:32.000Z
source/asis/spec/ada-wide_wide_text_io-bounded_io.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
source/asis/spec/ada-wide_wide_text_io-bounded_io.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of ada.ads file -- ------------------------------------------------------------------------------ -- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $ with Ada.Strings.Wide_Wide_Bounded; generic with package Bounded is new Ada.Strings.Wide_Wide_Bounded.Generic_Bounded_Length (<>); package Ada.Wide_Wide_Text_IO.Bounded_IO is procedure Put (File : in File_Type; Item : in Bounded.Wide_Wide_Bounded_String); procedure Put (Item : in Bounded.Wide_Wide_Bounded_String); procedure Put_Line (File : in File_Type; Item : in Bounded.Wide_Wide_Bounded_String); procedure Put_Line (Item : in Bounded.Wide_Wide_Bounded_String); function Get_Line (File : in File_Type) return Bounded.Wide_Wide_Bounded_String; function Get_Line return Bounded.Wide_Wide_Bounded_String; procedure Get_Line (File : in File_Type; Item : out Bounded.Wide_Wide_Bounded_String); procedure Get_Line (Item : out Bounded.Wide_Wide_Bounded_String); end Ada.Wide_Wide_Text_IO.Bounded_IO;
33.955556
78
0.551702
584c560a9679917117cbf5cf05c7b1566d748be0
3,108
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-sha1.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-sha1.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-sha1.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- G N A T . S H A 1 -- -- -- -- S p e c -- -- -- -- Copyright (C) 2009-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package implements the SHA-1 secure hash function as described in -- FIPS PUB 180-3. The complete text of FIPS PUB 180-3 can be found at: -- http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf -- See the declaration of GNAT.Secure_Hashes.H in g-sechas.ads for complete -- documentation. with GNAT.Secure_Hashes.SHA1; with System; package GNAT.SHA1 is new GNAT.Secure_Hashes.H (Block_Words => GNAT.Secure_Hashes.SHA1.Block_Words, State_Words => 5, Hash_Words => 5, Hash_Bit_Order => System.High_Order_First, Hash_State => GNAT.Secure_Hashes.SHA1.Hash_State, Initial_State => GNAT.Secure_Hashes.SHA1.Initial_State, Transform => GNAT.Secure_Hashes.SHA1.Transform);
62.16
78
0.45045
adcaea22411bec21c992758c4aa02f5a4a6e58dd
228
ads
Ada
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_use_type.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_use_type.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_use_type.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
with SimpleAda; package Simple_Use_Type is use type SimpleAda.Device; stdcout : constant SimpleAda.Device := 0; stdcerr : constant SimpleAda.Device := 1; stdcurr : SimpleAda.Device := stdcerr; end Simple_Use_Type;
19
43
0.736842
04f0a7cc68e5a51236d4574f80b97aee9cb71aea
16,302
adb
Ada
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/a-coinho.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/a-coinho.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/a-coinho.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . I N D E F I N I T E _ H O L D E R S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2013-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- ------------------------------------------------------------------------------ -- Note: special attention must be paid to the case of simultaneous access -- to internal shared objects and elements by different tasks. The Reference -- counter of internal shared object is the only component protected using -- atomic operations; other components and elements can be modified only when -- reference counter is equal to one (so there are no other references to this -- internal shared object and element). with Ada.Unchecked_Deallocation; with System.Put_Images; package body Ada.Containers.Indefinite_Holders is procedure Free is new Ada.Unchecked_Deallocation (Element_Type, Element_Access); procedure Detach (Container : Holder); -- Detach data from shared copy if necessary. This is necessary to prepare -- container to be modified. --------- -- "=" -- --------- function "=" (Left, Right : Holder) return Boolean is begin if Left.Reference = Right.Reference then -- Covers both null and not null but the same shared object cases return True; elsif Left.Reference /= null and Right.Reference /= null then return Left.Reference.Element.all = Right.Reference.Element.all; else return False; end if; end "="; ------------ -- Adjust -- ------------ overriding procedure Adjust (Container : in out Holder) is begin if Container.Reference /= null then if Container.Busy = 0 then -- Container is not locked, reuse existing internal shared object Reference (Container.Reference); else -- Otherwise, create copy of both internal shared object and -- element. Container.Reference := new Shared_Holder' (Counter => <>, Element => new Element_Type'(Container.Reference.Element.all)); end if; end if; Container.Busy := 0; end Adjust; overriding procedure Adjust (Control : in out Reference_Control_Type) is begin if Control.Container /= null then Reference (Control.Container.Reference); Control.Container.Busy := Control.Container.Busy + 1; end if; end Adjust; ------------ -- Assign -- ------------ procedure Assign (Target : in out Holder; Source : Holder) is begin if Target.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Target.Reference /= Source.Reference then if Target.Reference /= null then Unreference (Target.Reference); end if; Target.Reference := Source.Reference; if Source.Reference /= null then Reference (Target.Reference); end if; end if; end Assign; ----------- -- Clear -- ----------- procedure Clear (Container : in out Holder) is begin if Container.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Container.Reference /= null then Unreference (Container.Reference); Container.Reference := null; end if; end Clear; ------------------------ -- Constant_Reference -- ------------------------ function Constant_Reference (Container : aliased Holder) return Constant_Reference_Type is begin if Container.Reference = null then raise Constraint_Error with "container is empty"; end if; Detach (Container); declare Ref : constant Constant_Reference_Type := (Element => Container.Reference.Element.all'Access, Control => (Controlled with Container'Unrestricted_Access)); begin Reference (Ref.Control.Container.Reference); Ref.Control.Container.Busy := Ref.Control.Container.Busy + 1; return Ref; end; end Constant_Reference; ---------- -- Copy -- ---------- function Copy (Source : Holder) return Holder is begin if Source.Reference = null then return (Controlled with null, 0); elsif Source.Busy = 0 then -- Container is not locked, reuse internal shared object Reference (Source.Reference); return (Controlled with Source.Reference, 0); else -- Otherwise, create copy of both internal shared object and element return (Controlled with new Shared_Holder' (Counter => <>, Element => new Element_Type'(Source.Reference.Element.all)), 0); end if; end Copy; ------------ -- Detach -- ------------ procedure Detach (Container : Holder) is begin if Container.Busy = 0 and then not System.Atomic_Counters.Is_One (Container.Reference.Counter) then -- Container is not locked and internal shared object is used by -- other container, create copy of both internal shared object and -- element. declare Old : constant Shared_Holder_Access := Container.Reference; begin Container'Unrestricted_Access.Reference := new Shared_Holder' (Counter => <>, Element => new Element_Type'(Container.Reference.Element.all)); Unreference (Old); end; end if; end Detach; ------------- -- Element -- ------------- function Element (Container : Holder) return Element_Type is begin if Container.Reference = null then raise Constraint_Error with "container is empty"; else return Container.Reference.Element.all; end if; end Element; -------------- -- Finalize -- -------------- overriding procedure Finalize (Container : in out Holder) is begin if Container.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Container.Reference /= null then Unreference (Container.Reference); Container.Reference := null; end if; end Finalize; overriding procedure Finalize (Control : in out Reference_Control_Type) is begin if Control.Container /= null then Unreference (Control.Container.Reference); Control.Container.Busy := Control.Container.Busy - 1; Control.Container := null; end if; end Finalize; -------------- -- Is_Empty -- -------------- function Is_Empty (Container : Holder) return Boolean is begin return Container.Reference = null; end Is_Empty; ---------- -- Move -- ---------- procedure Move (Target : in out Holder; Source : in out Holder) is begin if Target.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Source.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Target.Reference /= Source.Reference then if Target.Reference /= null then Unreference (Target.Reference); end if; Target.Reference := Source.Reference; Source.Reference := null; end if; end Move; ------------------- -- Query_Element -- ------------------- procedure Query_Element (Container : Holder; Process : not null access procedure (Element : Element_Type)) is B : Natural renames Container'Unrestricted_Access.Busy; begin if Container.Reference = null then raise Constraint_Error with "container is empty"; end if; Detach (Container); B := B + 1; begin Process (Container.Reference.Element.all); exception when others => B := B - 1; raise; end; B := B - 1; end Query_Element; --------------- -- Put_Image -- --------------- procedure Put_Image (S : in out Ada.Strings.Text_Buffers.Root_Buffer_Type'Class; V : Holder) is use System.Put_Images; begin Array_Before (S); if not Is_Empty (V) then Element_Type'Put_Image (S, Element (V)); end if; Array_After (S); end Put_Image; ---------- -- Read -- ---------- procedure Read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Container : out Holder) is begin Clear (Container); if not Boolean'Input (Stream) then Container.Reference := new Shared_Holder' (Counter => <>, Element => new Element_Type'(Element_Type'Input (Stream))); end if; end Read; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Constant_Reference_Type) is begin raise Program_Error with "attempt to stream reference"; end Read; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Reference_Type) is begin raise Program_Error with "attempt to stream reference"; end Read; --------------- -- Reference -- --------------- procedure Reference (Item : not null Shared_Holder_Access) is begin System.Atomic_Counters.Increment (Item.Counter); end Reference; function Reference (Container : aliased in out Holder) return Reference_Type is begin if Container.Reference = null then raise Constraint_Error with "container is empty"; end if; Detach (Container); declare Ref : constant Reference_Type := (Element => Container.Reference.Element.all'Access, Control => (Controlled with Container'Unrestricted_Access)); begin Reference (Ref.Control.Container.Reference); Ref.Control.Container.Busy := Ref.Control.Container.Busy + 1; return Ref; end; end Reference; --------------------- -- Replace_Element -- --------------------- procedure Replace_Element (Container : in out Holder; New_Item : Element_Type) is -- Element allocator may need an accessibility check in case actual type -- is class-wide or has access discriminants (RM 4.8(10.1) and -- AI12-0035). pragma Unsuppress (Accessibility_Check); begin if Container.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Container.Reference = null then -- Holder is empty, allocate new Shared_Holder. Container.Reference := new Shared_Holder' (Counter => <>, Element => new Element_Type'(New_Item)); elsif System.Atomic_Counters.Is_One (Container.Reference.Counter) then -- Shared_Holder can be reused. Free (Container.Reference.Element); Container.Reference.Element := new Element_Type'(New_Item); else Unreference (Container.Reference); Container.Reference := new Shared_Holder' (Counter => <>, Element => new Element_Type'(New_Item)); end if; end Replace_Element; ---------- -- Swap -- ---------- procedure Swap (Left, Right : in out Holder) is begin if Left.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Right.Busy /= 0 then raise Program_Error with "attempt to tamper with elements"; end if; if Left.Reference /= Right.Reference then declare Tmp : constant Shared_Holder_Access := Left.Reference; begin Left.Reference := Right.Reference; Right.Reference := Tmp; end; end if; end Swap; --------------- -- To_Holder -- --------------- function To_Holder (New_Item : Element_Type) return Holder is -- The element allocator may need an accessibility check in the case the -- actual type is class-wide or has access discriminants (RM 4.8(10.1) -- and AI12-0035). pragma Unsuppress (Accessibility_Check); begin return (Controlled with new Shared_Holder' (Counter => <>, Element => new Element_Type'(New_Item)), 0); end To_Holder; ----------------- -- Unreference -- ----------------- procedure Unreference (Item : not null Shared_Holder_Access) is procedure Free is new Ada.Unchecked_Deallocation (Shared_Holder, Shared_Holder_Access); Aux : Shared_Holder_Access := Item; begin if System.Atomic_Counters.Decrement (Aux.Counter) then Free (Aux.Element); Free (Aux); end if; end Unreference; -------------------- -- Update_Element -- -------------------- procedure Update_Element (Container : in out Holder; Process : not null access procedure (Element : in out Element_Type)) is B : Natural renames Container.Busy; begin if Container.Reference = null then raise Constraint_Error with "container is empty"; end if; Detach (Container); B := B + 1; begin Process (Container.Reference.Element.all); exception when others => B := B - 1; raise; end; B := B - 1; end Update_Element; ----------- -- Write -- ----------- procedure Write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Container : Holder) is begin Boolean'Output (Stream, Container.Reference = null); if Container.Reference /= null then Element_Type'Output (Stream, Container.Reference.Element.all); end if; end Write; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Reference_Type) is begin raise Program_Error with "attempt to stream reference"; end Write; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Constant_Reference_Type) is begin raise Program_Error with "attempt to stream reference"; end Write; end Ada.Containers.Indefinite_Holders;
28.6
79
0.547724
1a2aaee8ff7f690eca49639a0360f166aaac922a
1,343
adb
Ada
source/image/required/s-widlli.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/image/required/s-widlli.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/image/required/s-widlli.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
with System.Formatting; with System.Long_Long_Integer_Types; package body System.Wid_LLI is use type Long_Long_Integer_Types.Long_Long_Unsigned; subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned; -- implementation function Width_Long_Long_Integer (Lo, Hi : Long_Long_Integer) return Natural is begin if Lo > Hi then return 0; else declare Max_Abs : Long_Long_Unsigned; Digits_Width : Natural; begin if Hi <= 0 then Max_Abs := -Long_Long_Unsigned'Mod (Lo); elsif Lo >= 0 then Max_Abs := Long_Long_Unsigned (Hi); else -- Lo < 0 and then Hi > 0 Max_Abs := Long_Long_Unsigned'Max ( -Long_Long_Unsigned'Mod (Lo), Long_Long_Unsigned (Hi)); end if; if Long_Long_Integer'Size <= Standard'Word_Size then Digits_Width := Formatting.Digits_Width (Word_Unsigned (Max_Abs)); else Digits_Width := Formatting.Digits_Width (Max_Abs); end if; return Digits_Width + 1; -- sign end; end if; end Width_Long_Long_Integer; end System.Wid_LLI;
31.97619
76
0.601638
2ed5b038448ff6a0a79c73a1f29c26068299e2cc
4,814
ads
Ada
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_mixeroptions_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
1
2018-01-18T00:51:00.000Z
2018-01-18T00:51:00.000Z
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_mixeroptions_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_mixeroptions_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_mixertrack_h; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h; with glib; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_mixeroptions_h is -- unsupported macro: GST_TYPE_MIXER_OPTIONS (gst_mixer_options_get_type ()) -- arg-macro: function GST_MIXER_OPTIONS (obj) -- return G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_MIXER_OPTIONS, GstMixerOptions); -- arg-macro: function GST_MIXER_OPTIONS_GET_CLASS (obj) -- return G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_MIXER_OPTIONS, GstMixerOptionsClass); -- arg-macro: function GST_MIXER_OPTIONS_CLASS (klass) -- return G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_MIXER_OPTIONS, GstMixerOptionsClass); -- arg-macro: function GST_IS_MIXER_OPTIONS (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_MIXER_OPTIONS); -- arg-macro: function GST_IS_MIXER_OPTIONS_CLASS (klass) -- return G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MIXER_OPTIONS); -- GStreamer Mixer -- * Copyright (C) 2003 Ronald Bultje <[email protected]> -- * -- * mixeroptions.h: mixer track options object -- * This should be a subclass of MixerItem, along with MixerOptions, -- * but that's not possible because of API/ABI in 0.8.x. FIXME. -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- type GstMixerOptions; type u_GstMixerOptions_u_gst_reserved_array is array (0 .. 3) of System.Address; --subtype GstMixerOptions is u_GstMixerOptions; -- gst/interfaces/mixeroptions.h:47 type GstMixerOptionsClass; type u_GstMixerOptionsClass_u_gst_reserved_array is array (0 .. 2) of System.Address; --subtype GstMixerOptionsClass is u_GstMixerOptionsClass; -- gst/interfaces/mixeroptions.h:48 --* -- * GstMixerOptions: -- * @values: List of option strings. Do not access this member directly, -- * always use gst_mixer_options_get_values() instead. -- * -- * Mixer control object. -- type GstMixerOptions is record parent : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_mixertrack_h.GstMixerTrack; -- gst/interfaces/mixeroptions.h:58 values : access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/interfaces/mixeroptions.h:62 u_gst_reserved : u_GstMixerOptions_u_gst_reserved_array; -- gst/interfaces/mixeroptions.h:65 end record; pragma Convention (C_Pass_By_Copy, GstMixerOptions); -- gst/interfaces/mixeroptions.h:57 --< public > -- list of strings (do not access directly) (FIXME 0.11: make private) --< private > --* -- * GstMixerOptionsClass: -- * @parent: the parent interface -- * @get_values: Optional implementation of gst_mixer_options_get_values(). -- * (Since: 0.10.18) -- type GstMixerOptionsClass is record parent : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_mixertrack_h.GstMixerTrackClass; -- gst/interfaces/mixeroptions.h:75 get_values : access function (arg1 : access GstMixerOptions) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/interfaces/mixeroptions.h:83 u_gst_reserved : u_GstMixerOptionsClass_u_gst_reserved_array; -- gst/interfaces/mixeroptions.h:85 end record; pragma Convention (C_Pass_By_Copy, GstMixerOptionsClass); -- gst/interfaces/mixeroptions.h:74 -- signals function gst_mixer_options_get_type return GLIB.GType; -- gst/interfaces/mixeroptions.h:88 pragma Import (C, gst_mixer_options_get_type, "gst_mixer_options_get_type"); function gst_mixer_options_get_values (mixer_options : access GstMixerOptions) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/interfaces/mixeroptions.h:90 pragma Import (C, gst_mixer_options_get_values, "gst_mixer_options_get_values"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_mixeroptions_h;
49.628866
185
0.754051
130e514e428efb1a69dd201cbf5ab6d67aa30e25
10,143
ads
Ada
source/nodes/program-nodes-function_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-function_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-function_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
1
2019-10-16T09:05:27.000Z
2019-10-16T09:05:27.000Z
-- SPDX-FileCopyrightText: 2019 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Defining_Names; with Program.Elements.Parameter_Specifications; with Program.Elements.Parenthesized_Expressions; with Program.Elements.Aspect_Specifications; with Program.Elements.Function_Declarations; with Program.Element_Visitors; package Program.Nodes.Function_Declarations is pragma Preelaborate; type Function_Declaration is new Program.Nodes.Node and Program.Elements.Function_Declarations.Function_Declaration and Program.Elements.Function_Declarations.Function_Declaration_Text with private; function Create (Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Overriding_Token : Program.Lexical_Elements.Lexical_Element_Access; Function_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Name : not null Program.Elements.Defining_Names .Defining_Name_Access; Left_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Parameters : Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; Right_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Return_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Not_Token_2 : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Result_Subtype : not null Program.Elements.Element_Access; Is_Token : Program.Lexical_Elements.Lexical_Element_Access; Result_Expression : Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access; Abstract_Token : Program.Lexical_Elements.Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Function_Declaration; type Implicit_Function_Declaration is new Program.Nodes.Node and Program.Elements.Function_Declarations.Function_Declaration with private; function Create (Name : not null Program.Elements.Defining_Names .Defining_Name_Access; Parameters : Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; Result_Subtype : not null Program.Elements.Element_Access; Result_Expression : Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False; Has_Not : Boolean := False; Has_Overriding : Boolean := False; Has_Abstract : Boolean := False; Has_Not_Null : Boolean := False) return Implicit_Function_Declaration with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Function_Declaration is abstract new Program.Nodes.Node and Program.Elements.Function_Declarations.Function_Declaration with record Name : not null Program.Elements.Defining_Names .Defining_Name_Access; Parameters : Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; Result_Subtype : not null Program.Elements.Element_Access; Result_Expression : Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; end record; procedure Initialize (Self : in out Base_Function_Declaration'Class); overriding procedure Visit (Self : not null access Base_Function_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Name (Self : Base_Function_Declaration) return not null Program.Elements.Defining_Names.Defining_Name_Access; overriding function Parameters (Self : Base_Function_Declaration) return Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; overriding function Result_Subtype (Self : Base_Function_Declaration) return not null Program.Elements.Element_Access; overriding function Result_Expression (Self : Base_Function_Declaration) return Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access; overriding function Aspects (Self : Base_Function_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; overriding function Is_Function_Declaration (Self : Base_Function_Declaration) return Boolean; overriding function Is_Declaration (Self : Base_Function_Declaration) return Boolean; type Function_Declaration is new Base_Function_Declaration and Program.Elements.Function_Declarations.Function_Declaration_Text with record Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Overriding_Token : Program.Lexical_Elements.Lexical_Element_Access; Function_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Left_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Right_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Return_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Not_Token_2 : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Is_Token : Program.Lexical_Elements.Lexical_Element_Access; Abstract_Token : Program.Lexical_Elements.Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Function_Declaration_Text (Self : in out Function_Declaration) return Program.Elements.Function_Declarations .Function_Declaration_Text_Access; overriding function Not_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Overriding_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Function_Token (Self : Function_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Left_Bracket_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Right_Bracket_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Return_Token (Self : Function_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Not_Token_2 (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Null_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Is_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Abstract_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token (Self : Function_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Function_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Has_Not (Self : Function_Declaration) return Boolean; overriding function Has_Overriding (Self : Function_Declaration) return Boolean; overriding function Has_Abstract (Self : Function_Declaration) return Boolean; overriding function Has_Not_Null (Self : Function_Declaration) return Boolean; type Implicit_Function_Declaration is new Base_Function_Declaration with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; Has_Not : Boolean; Has_Overriding : Boolean; Has_Abstract : Boolean; Has_Not_Null : Boolean; end record; overriding function To_Function_Declaration_Text (Self : in out Implicit_Function_Declaration) return Program.Elements.Function_Declarations .Function_Declaration_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Function_Declaration) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Function_Declaration) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Function_Declaration) return Boolean; overriding function Has_Not (Self : Implicit_Function_Declaration) return Boolean; overriding function Has_Overriding (Self : Implicit_Function_Declaration) return Boolean; overriding function Has_Abstract (Self : Implicit_Function_Declaration) return Boolean; overriding function Has_Not_Null (Self : Implicit_Function_Declaration) return Boolean; end Program.Nodes.Function_Declarations;
38.420455
78
0.737553
04d57f0006bb79f59f843160867d1d8021df354f
2,942
adb
Ada
samples/measures.adb
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
60
2015-01-18T23:05:34.000Z
2022-03-20T18:56:30.000Z
samples/measures.adb
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
20
2016-09-15T16:41:30.000Z
2022-03-29T22:02:32.000Z
samples/measures.adb
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
10
2015-02-13T04:00:45.000Z
2022-03-20T18:57:54.000Z
----------------------------------------------------------------------- -- measures -- Example of Runtime Benchmark -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Text_IO; with Util.Measures; -- -- This example performs several measures and dumps the result. -- The result produced by <b>Util.Measures.Write</b> looks like: -- -- <measures title="Example of measures"> -- <time count="1000" time="406.000000000us" title="Empty"/> -- <time count="2" time="34.000000000us" title="Ada.Text_IO.Put_Line"/> -- <time count="1" time="413.000000000us" -- title="No tracking Empty procedure called 1000 times"/> -- <time count="1" time="1.960000000ms" -- title="Tracking Empty procedure called 1000 times"/> -- </measures> -- -- 'Empty' is called 1000 times for a total time of 406us (or 406ns per call). procedure Measures is procedure Print; procedure Empty; Perf : Util.Measures.Measure_Set; procedure Print is S : Util.Measures.Stamp; begin Ada.Text_IO.Put_Line ("Print test benchmark"); Util.Measures.Report (Perf, S, "Ada.Text_IO.Put_Line"); end Print; procedure Empty is S : Util.Measures.Stamp; begin Util.Measures.Report (Perf, S, "Empty"); end Empty; begin Print; Print; -- Measure time for calling 'Empty' 1000 times declare S : Util.Measures.Stamp; begin for I in 1 .. 1_000 loop Empty; end loop; Util.Measures.Report (Perf, S, "Tracking Empty procedure called 1000 times"); end; -- Disable measures (the next calls will not be counted) Util.Measures.Disable (Perf); Print; Print; -- Measure time for calling 'Empty' 1000 times with performance tracking OFF. declare S : Util.Measures.Stamp; begin for I in 1 .. 1_000 loop Empty; end loop; -- Enable measures again to track Util.Measures.Enable (Perf); Util.Measures.Report (Perf, S, "No tracking Empty procedure called 1000 times"); end; -- Dump the result Util.Measures.Write (Perf, "Example of measures", Ada.Text_IO.Standard_Output); end Measures;
31.978261
81
0.624745
5892e4d206d8e951bd764eb8a2a73e5a2c071379
5,044
ads
Ada
src/sdl-inputs-joysticks-game_controllers.ads
Fabien-Chouteau/sdlada
f08d72e3f5dcec228d68fb5b6681ea831f81ef47
[ "Zlib" ]
1
2021-10-30T14:41:56.000Z
2021-10-30T14:41:56.000Z
src/sdl-inputs-joysticks-game_controllers.ads
Fabien-Chouteau/sdlada
f08d72e3f5dcec228d68fb5b6681ea831f81ef47
[ "Zlib" ]
null
null
null
src/sdl-inputs-joysticks-game_controllers.ads
Fabien-Chouteau/sdlada
f08d72e3f5dcec228d68fb5b6681ea831f81ef47
[ "Zlib" ]
null
null
null
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- -- SDL.Inputs.Joysticks.Game_Controllers -------------------------------------------------------------------------------------------------------------------- with SDL.Events.Joysticks.Game_Controllers; package SDL.Inputs.Joysticks.Game_Controllers is type Bind_Types is (None, Button, Axis, Hat) with Convention => C; type Hat_Bindings is record Hat : SDL.Events.Joysticks.Hats; Mask : SDL.Events.Joysticks.Hat_Positions; end record with Convention => C; type Binding_Values (Which : Bind_Types := None) is record case Which is when None => null; when Button => Button : SDL.Events.Joysticks.Game_Controllers.Buttons; when Axis => Axis : SDL.Events.Joysticks.Game_Controllers.Axes; when Hat => Hat : Hat_Bindings; end case; end record with Unchecked_Union; type Bindings is record Which : Bind_Types; Value : Binding_Values (None); end record with Convention => C; Mapping_Error : exception; type Game_Controller is new Ada.Finalization.Limited_Controlled with private; Null_Game_Controller : constant Game_Controller; procedure Add_Mapping (Data : in String; Updated_Existing : out Boolean); procedure Add_Mappings_From_File (Database_Filename : in String; Number_Added : out Natural); function Axis_Value (Self : in Game_Controller; Axis : in SDL.Events.Joysticks.Game_Controllers.LR_Axes) return SDL.Events.Joysticks.Game_Controllers.LR_Axes_Values; function Axis_Value (Self : in Game_Controller; Axis : in SDL.Events.Joysticks.Game_Controllers.Trigger_Axes) return SDL.Events.Joysticks.Game_Controllers.Trigger_Axes_Values; procedure Close (Self : in out Game_Controller); function Get_Axis (Axis : in String) return SDL.Events.Joysticks.Game_Controllers.Axes; function Get_Binding (Self : in Game_Controller; Axis : in SDL.Events.Joysticks.Game_Controllers.Axes) return Bindings; function Get_Binding (Self : in Game_Controller; Button : in SDL.Events.Joysticks.Game_Controllers.Buttons) return Bindings; function Get_Button (Button_Name : in String) return SDL.Events.Joysticks.Game_Controllers.Buttons; function Get_Joystick (Self : in Game_Controller) return Joystick; function Get_Mapping (Self : in Game_Controller) return String; function Get_Mapping (Controller : in GUIDs) return String; function Get_Name (Self : in Game_Controller) return String; function Get_Name (Device : in Devices) return String; function Image (Axis : in SDL.Events.Joysticks.Game_Controllers.Axes) return String; function Image (Button : in SDL.Events.Joysticks.Game_Controllers.Buttons) return String; function Is_Attached (Self : in Game_Controller) return Boolean with Inline => True; function Is_Button_Pressed (Self : in Game_Controller; Button : in SDL.Events.Joysticks.Buttons) return SDL.Events.Button_State with Inline => True; function Is_Game_Controller (Device : in Devices) return Boolean with Inline => True; private type Game_Controller is new Ada.Finalization.Limited_Controlled with record Internal : SDL.C_Pointers.Game_Controller_Pointer := null; Owns : Boolean := True; end record; Null_Game_Controller : constant Game_Controller := (Ada.Finalization.Limited_Controlled with Internal => null, Owns => True); end SDL.Inputs.Joysticks.Game_Controllers;
41.00813
116
0.62391
049eb3b1691661deb6e0bb3118feb3f74be20498
5,085
ads
Ada
sources/glew/opengl-generic_buffers.ads
godunko/adagl
5b62d3bac6aa4e11084b4b19171dadbf805e95d6
[ "BSD-3-Clause" ]
6
2018-01-18T16:57:21.000Z
2020-01-19T07:40:12.000Z
sources/glew/opengl-generic_buffers.ads
godunko/adagl
5b62d3bac6aa4e11084b4b19171dadbf805e95d6
[ "BSD-3-Clause" ]
null
null
null
sources/glew/opengl-generic_buffers.ads
godunko/adagl
5b62d3bac6aa4e11084b4b19171dadbf805e95d6
[ "BSD-3-Clause" ]
1
2018-01-20T16:12:26.000Z
2018-01-20T16:12:26.000Z
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2018, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; private with GLFW, GLEW; generic type Element is private; type Index is (<>); type Element_Array is array (Index range <>) of Element; package OpenGL.Generic_Buffers is pragma Preelaborate; type OpenGL_Buffer (Buffer_Type : OpenGL.Buffer_Type) is tagged limited private; procedure Allocate (Self : in out OpenGL_Buffer'Class; Data : Element_Array); -- Allocates necessary space to the buffer, initialized to the contents of -- Data. Any previous contents will be removed. function Bind (Self : in out OpenGL_Buffer'Class) return Boolean; -- Binds the buffer associated with this object to the current OpenGL -- context. Returns False if binding was not possible. -- -- The buffer must be bound to the same OpenGL_Context current when Create -- was called. Otherwise, False will be returned from this function. procedure Bind (Self : in out OpenGL_Buffer'Class); -- Binds the buffer associated with this object to the current OpenGL -- context. Raise Program_Error if binding was not possible. -- -- The buffer must be bound to the same OpenGL_Context current when Create -- was called. Otherwise, Program_Error will be raised by this function. function Create (Self : in out OpenGL_Buffer'Class) return Boolean; -- Creates the buffer object in the OpenGL server. Returns True if the -- object was created; False otherwise. procedure Create (Self : in out OpenGL_Buffer'Class); -- Creates the buffer object in the OpenGL server. Raise Program_Error if -- the object was created; False otherwise. function Stride return System.Storage_Elements.Storage_Count; -- Returns offset between two elements in element array in storage units. private type OpenGL_Buffer (Buffer_Type : OpenGL.Buffer_Type) is tagged limited record Context : GLFW.GLFWwindow_Access; Buffer : aliased GLEW.GLuint := 0; end record; end OpenGL.Generic_Buffers;
52.96875
78
0.538446
043aaa50e47853df862a4fbe48efd21a2cd983fc
18,065
ads
Ada
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-libsin.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-libsin.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-libsin.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . L I B M _ S I N G L E -- -- -- -- S p e c -- -- -- -- Copyright (C) 2014-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the Ada Cert Math specific version of s-libsin.ads with System.Libm_Prefix; -- @llrset Libm -- LLR Libm -- ======== package System.Libm_Single is pragma Pure; package SLP renames System.Libm_Prefix; -- This package provides an implementation of the various C99 functions -- used in the Ada run time. It is intended to be used for targets that -- do not have a C math library, or where the C math library isn't of -- sufficient quality and accuracy to meet Ada requirements. -- In case of error conditions, NaNs or infinities are returned as -- recommended in clause F.9 of the C99 standard. When called from C code, -- the implementation behaves as if the FENV_ACCESS state is off, assuming -- default rounding behavior and exception behavior. -- The following C99 elementary functions are provided for single -- precision (with the "f" suffix): -- Acos, Acosh, Asin, Asinh, Atan, Atan2, Atanh, Cosh, Exp, Exp2, Log, -- Log1p, Log2, Pow, Sin, Sinh, Tan, Tanh -- All functions with a NaN argument return a NaN result, except where -- stated otherwise. Unless otherwise specified, where the symbol +- occurs -- in both an argument and the result, the result has the same sign as -- the argument. -- Each function lists C special values, Ada expected values as well as -- Ada accuracy requirements the function meets. For accuracy requirements -- the maximum relative error (abbreviated as MRE) is given, as well as -- the domain for which the accuracy is guaranteed, where applicable. -- The maximum relative error is expressed as multiple of Eps, -- where Eps is Float'Model_Epsilon. -- What about principal branch ??? ---------- -- Acos -- ---------- function Acos (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "acosf"; -- @llr acos (Float) Special Values -- The Acos function shall return the following special values: -- -- C99 special values: -- Acos (1) = +0 -- Acos (x) = NaN if abs (x) > 1 -- -- Ada expected values: -- Acos (0) = Pi/2.0 (tightly approximated) -- Acos (-1) = Pi (tightly approximated) -- Acos (x) return a result in [0, Pi] radians -- -- @llr acos (Float) Accuracy -- The Acos function shall return the inverse cosine of <X> with the -- following accuracy: -- -- Ada accuracy requirements: -- MRE <= 4.0 * Eps ----------- -- Acosh -- ----------- function Acosh (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "acoshf"; -- @llr acosh (Float) Special Values -- The Acosh function shall return the following special values: -- -- C99 special values: -- Acosh (1) = +0 -- Acosh (x) = NaN if abs X > 1 -- Acosh (+INF) = +INF -- -- @llr acosh (Float) Accuracy -- The Acosh function shall return the inverse hyperbolic tangent of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 8.0 * Eps ---------- -- Asin -- ---------- function Asin (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "asinf"; -- @llr asin (Float) Special Values -- The Asin function shall return the following special values: -- -- C99 special values: -- Asin (+-0) = +-0 -- Asin (x) = NaN if abs (x) > 1 -- -- Ada expected values: -- Asin (1) = Pi/2.0 (tightly approximated) -- Asin (-1) = -Pi/2 (tightly approximated) -- Asin (x) return a result in [-Pi/2, Pi/2] radians -- -- @llr asin (Float) Accuracy -- The Asin function shall return the inverse sine of <X> with the -- following accuracy: -- -- Ada accuracy requirements: -- MRE <= 4.0 * Eps ----------- -- Asinh -- ----------- function Asinh (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "asinhf"; -- @llr asinh (Float) Special Values -- The Asinh function shall return the following special values: -- -- C99 special values: -- Asinh (0) = 0 -- Asinh (+INF) = +INF -- -- @llr asinh (Float) Accuracy -- The Asinh function shall return the inverse hyperbolic sine of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 8.0 * Eps ---------- -- Atan -- ---------- function Atan (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "atanf"; -- @llr atan (Float) Special Values -- The Atan function shall return the following special values: -- -- C99 special values: -- Atan (+-0) = +-Pi -- Atan2 (+-INF) = +-0.5 * Pi -- -- C expected values: -- Atan (x) return a result in [-Pi/2, Pi/2] ----------- -- Atan2 -- ----------- function Atan2 (Y : Float; X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "atan2f"; -- @llr atan2 (Float; Float) Special Values -- The Atan2 function shall return the following special values: -- -- C99 special values: -- Atan2 (+-0, -0) = +-Pi -- Atan2 (+-0, +0) = +-0 -- Atan2 (+-0, x) = +-Pi, if x < 0 -- Atan2 (+-0, x) = +-0, if x > 0 -- Atan2 (y, +-0) = -0.5 * Pi, if y < 0 -- Atan2 (y, +-0) = 0.5 * Pi, if y > 0 -- Atan2 (+-y, -INF) = +-Pi, if y > 0 and y is finite -- (tightly approximated) -- Atan2 (+-y, +INF) = +-0, if y > 0 and y is finite -- Atan2 (+-INF, x) = +-0.5 * Pi, if x is finite -- (tightly approximated) -- Atan2 (+-INF, -INF) = +-0.75 * Pi (tightly approximated) -- Atan2 (+-INF, +INF) = +-0.25 * Pi (tightly approximated) -- -- Ada expected values: -- Atan2 (y, x) return a result in [-Pi, Pi] -- -- @llr atan2 (Float; Float) Accuracy -- The Atan2 function shall return the inverse tangent of <Y> / <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 4.0 * Eps ----------- -- Atanh -- ----------- function Atanh (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "atanhf"; -- @llr atanh (Float) Special Values -- The Atanh function shall return the following special values: -- -- C99 special values: -- Atanh (0) = 0 -- Atanh (+-1) = +- INF -- Atanh (X) = NaN for abs X > 1 -- -- @llr atanh (Float) Accuracy -- The Atanh function shall return the inverse hyperbolic tangent of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 8.0 * Eps --------- -- Cos -- --------- function Cos (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "cosf"; -- @llr cos (Float) Special Values -- The Cos function shall return the following special values: -- -- C99 special values: -- Cos (+-0) = 1 -- Cos (+-INF) = NaN -- -- Ada expected values: -- abs (Cos (x)) <= 1 -- -- @llr cos (Float) Accuracy -- The Cos function shall return the cosine of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 2.0 * Eps ---------- -- Cosh -- ---------- function Cosh (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "coshf"; -- @llr cosh (Float) Special Values -- The Cosh function shall return the following special values: -- -- C99 special values: -- Cosh (+-0) = 1 -- Cosh (+-INF) = +INF -- -- Ada expected values: -- abs (Cosh (x)) > 1 -- -- @llr cosh (Float) Accuracy -- The Cosh function shall return the inverse cosine of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 8.0 * Eps --------- -- Exp -- --------- function Exp (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "expf"; -- @llr exp (Float) Special Values -- The Exp function shall return the following special values: -- -- C99 special values: -- Exp (+-0) = 1 -- Exp (-INF) = +0 -- Exp (+INF) = +INF -- -- @llr exp (Float) Accuracy -- The Exp function shall return the exponential of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 4.0 * Eps ---------- -- Exp2 -- ---------- function Exp2 (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "exp2f"; -- @llr exp2 (Float) Special Values -- The Exp2 function shall return the following special values: -- -- C99 special values: -- Exp2 (+-0) = 1 -- Exp2 (-INF) = +0 -- Exp2 (+INF) = +INF -- -- @llr exp2 (Float) Accuracy -- The Exp2 function shall return the exponential of <X> in base 2 -- with the following accuracy: -- -- Accuracy requirements: -- MRE <= 4.0 * Eps --------- -- Log -- --------- function Log (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "logf"; -- @llr log (Float) Special Values -- The Log function shall return the following special values: -- -- C99 special values: -- Log (+-0) = -INF -- Log (1) = +0 -- Log (x) = NaN if x<0 -- Log (+INF) = +INF -- -- @llr log (Float) Accuracy -- The Log function shall return the logarithm of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 4.0 * Eps ----------- -- Log1p -- ----------- function Log1p (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "log1pf"; -- @llr log1p (Float) Special Values: -- The Log1p function shall return the following special values: -- -- C99 special values: -- Log1p (+-0) = -INF -- Log1p (1) = +0 -- Log1p (x) = NaN if x<0 -- Log1p (+INF) = +INF -- -- @llr log1p (Float) Accuracy -- The Log1p function shall return the logarithm of <X> + 1 -- with the following accuracy: -- -- Accuracy requirements: -- MRE <= 4.0 * Eps ---------- -- Log2 -- ---------- function Log2 (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "log2f"; -- @llr log2 (Float) Special Values -- The Log2 function shall return the following special values: -- -- C99 Special values: -- Log2 (+-0) = -INF -- Log2 (1) = +0 -- Log2 (x) = NaN if x<0 -- Log2 (+INF) = +INF -- -- @llr log2 (Float) Accuracy -- The Log function shall return the logarithm of <X> in base 2 -- with the following accuracy: -- -- Accuracy requirements: -- MRE <= 4.0 * Eps --------- -- Pow -- --------- function Pow (Left, Right : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "powf"; -- @llr pow (Float; Float) Special Values -- The Pow function shall return the following special values -- -- C99 Special values: -- Pow (+-0, y) = +-INF, if y < 0 and y an odd integer -- Pow (+-0, y) = +INF, if y < 0 and y not an odd integer -- Pow (+-0, y) = +-0 if y > 0 and y an odd integer -- Pow (+-0, y) = +0 if y > 0 and y not an odd integer -- Pow (-1, +-INF) = 1 -- Pow (1, y) = 1 for any y, even a NaN -- Pow (x, +-0) = 1 for any x, even a NaN -- Pow (x, y) = NaN, if x < 0 and both x and y finite and not integer -- Pow (x, -INF) = +INF if abs (x) < 1 -- Pow (x, -INF) = +0 if abs (x) > 1 -- Pow (x, +INF) = +0 if abs (x) < 1 -- Pow (x, +INF) = +INF if abs (x) > 1 -- Pow (-INF, y) = -0 if y < 0 and y an odd integer -- Pow (-INF, y) = +0 if y < 0 and y not an odd integer -- Pow (-INF, y) = -INF if y > 0 and y an odd integer -- Pow (-INF, y) = +INF if y > 0 and y not an odd integer -- Pow (+INF, y) = +0 if y < 0 -- Pow (+INF, y) = +INF if y > 0 -- -- @llr pow (Float; Float) Accuracy -- The Pow function shall return <Left> to the power of <Right> -- with the following accuracy: -- -- Ada Accuracy requirements: -- MRE <= (4.0 + abs (x * Log (y)) / 32) * Eps --------- -- Sin -- --------- function Sin (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "sinf"; -- @llr sin (Float) Special Values -- The Sin function shall return the following special values: -- -- C99 special values: -- Sin (+-0) = +-0 -- Sin (+-INF) = NaN -- -- @llr sin (Float) Accuracy -- The Sin function shall return the sine of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 2.0 * Eps ---------- -- Sinh -- ---------- function Sinh (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "sinhf"; -- @llr sinh (Float) Special Values -- The Sinh function shall return the following special values: -- -- C99 Special values: -- Sinh (+-0) = +-0 -- Sinh (+-INF) = +-INF -- -- @llr sinh (Float) Accuracy -- The Sinh function shall return the hyperbolic sine of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 8.0 * Eps ---------- -- Sqrt -- ---------- function Sqrt (X : Float) return Float with Convention => C; -- @ignore -- The Sqrt function shall return the following special values: -- -- C99 special values: -- Sqrt (+-0) = +-0 -- Sqrt (INF) = INF -- Sqrt (X) = NaN, for X < 0.0 --------- -- Tan -- --------- function Tan (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "tanf"; -- @llr tan (Float) Special Values -- The Tan function shall return the following special values: -- -- C99 special values: -- Tan (+-0) = +0 -- Tan (+-INF) = NaN -- -- @llr tan (Float) Accuracy -- The Tan function shall return the tangent of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 4.0 * Eps ---------- -- Tanh -- ---------- function Tanh (X : Float) return Float with Export, Convention => C, External_Name => SLP.Prefix & "tanhf"; -- @llr tanh (Float) Special Values -- The Tanh function shall return the following special values: -- -- C99 special values: -- Tanh (+-0) = +-0 -- Tanh (+-INF) = +-1 -- -- @llr tanh (Float) Accuracy -- The Tanh function shall return the hyperbolic tangent of <X> -- with the following accuracy: -- -- Ada accuracy requirements: -- MRE <= 8.0 * Eps private function Identity (X : Float) return Float is (X); function Infinity return Float with Import, Convention => Intrinsic, External_Name => "__builtin_inff"; function NaN return Float is (Infinity - Infinity); function Exact (X : Long_Long_Float) return Float is (Float (X)); function Epsilon return Float is (Float'Model_Epsilon); function Maximum_Relative_Error (X : Float) return Float is (0.0 * X); end System.Libm_Single;
33.703358
79
0.515361
ad76e15be617c2ecae545935dfbce5485b14c898
5,972
ads
Ada
bb-runtimes/src/s-bbpara__samv71.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/src/s-bbpara__samv71.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/src/s-bbpara__samv71.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . B B . P A R A M E T E R S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-2002 Universidad Politecnica de Madrid -- -- Copyright (C) 2003-2005 The European Space Agency -- -- Copyright (C) 2003-2019, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- -- The port of GNARL to bare board targets was initially developed by the -- -- Real-Time Systems Group at the Technical University of Madrid. -- -- -- ------------------------------------------------------------------------------ -- This package defines basic parameters used by the low level tasking system -- This is the SAM (ARMv7-M) version of this package pragma Restrictions (No_Elaboration_Code); with System.BB.Board_Parameters; with System.BB.MCU_Parameters; package System.BB.Parameters is pragma No_Elaboration_Code_All; pragma Preelaborate (System.BB.Parameters); Clock_Frequency : constant := Board_Parameters.Clock_Frequency; Ticks_Per_Second : constant := Clock_Frequency; Has_FPU : constant Boolean := MCU_Parameters.Has_FPU; -- Set to true if core has a FPU Has_VTOR : constant Boolean := True; -- Set to true if core has a Vector Table Offset Register (VTOR). -- VTOR is implemented in Cortex-M0+, Cortex-M4 and above. Has_OS_Extensions : constant Boolean := True; -- Set to true if core has armv6-m OS extensions (PendSV, MSP, PSP, -- etc...). The OS extensions are optional for the Cortex-M1. Is_ARMv6m : constant Boolean := False; -- Set to true if core is an armv6-m (Cortex-M0, Cortex-M0+, Cortex-M1) ---------------- -- Interrupts -- ---------------- -- These definitions are in this package in order to isolate target -- dependencies. subtype Interrupt_Range is Integer range -1 .. MCU_Parameters.Number_Of_Interrupts; -- Number of interrupts (for both the interrupt controller and the -- Sys_Tick_Trap). This static range is used to declare a type, and the -- handler table. Trap_Vectors : constant := 17; -- While on this target there is little difference between interrupts -- and traps, we consider the following traps: -- -- Name Nr -- -- Reset_Vector 1 -- NMI_Vector 2 -- Hard_Fault_Vector 3 -- Mem_Manage_Vector 4 -- Bus_Fault_Vector 5 -- Usage_Fault_Vector 6 -- SVC_Vector 11 -- Debug_Mon_Vector 12 -- Pend_SV_Vector 14 -- Sys_Tick_Vector 15 -- Interrupt_Request_Vector 16 -- -- These trap vectors correspond to different low-level trap handlers in -- the run time. Note that as all interrupt requests (IRQs) will use the -- same interrupt wrapper, there is no benefit to consider using separate -- vectors for each. Context_Buffer_Capacity : constant := 10; -- The context buffer contains registers r4 .. r11 and the SP_process -- (PSP). The size is rounded up to an even number for alignment ------------ -- Stacks -- ------------ Interrupt_Stack_Size : constant := 2 * 1024; -- Size of each of the interrupt stacks in bytes. While there nominally is -- an interrupt stack per interrupt priority, the entire space is used as a -- single stack. Interrupt_Sec_Stack_Size : constant := 128; -- Size of the secondary stack for interrupt handlers ---------- -- CPUS -- ---------- Max_Number_Of_CPUs : constant := 1; -- Maximum number of CPUs Multiprocessor : constant Boolean := Max_Number_Of_CPUs /= 1; -- Are we on a multiprocessor board? end System.BB.Parameters;
45.587786
79
0.520429
1387e99e613e3e6403782c94ca40f1adff346d8d
2,243
ads
Ada
bb-runtimes/arm/nordic/nrf52/setup_board.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/nordic/nrf52/setup_board.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/nordic/nrf52/setup_board.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- Copyright (C) 2012-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ pragma Suppress (All_Checks); procedure Setup_Board; pragma No_Elaboration_Code_All (Setup_Board); -- This code is executed before elaboration, so better not need elaboration -- code.
64.085714
78
0.444048
1a34feabba1e5a0b0241a1846661f3b4622c8ad1
1,028
ads
Ada
source/lexer/webidl-string_sources.ads
reznikmm/webidl
744bbdc9e3dfbe690d37b6dc5d7d82233b919cd4
[ "MIT" ]
null
null
null
source/lexer/webidl-string_sources.ads
reznikmm/webidl
744bbdc9e3dfbe690d37b6dc5d7d82233b919cd4
[ "MIT" ]
null
null
null
source/lexer/webidl-string_sources.ads
reznikmm/webidl
744bbdc9e3dfbe690d37b6dc5d7d82233b919cd4
[ "MIT" ]
null
null
null
-- SPDX-FileCopyrightText: 2010-2021 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with WebIDL.Abstract_Sources; with League.Strings; with League.String_Vectors; with League.Strings.Cursors.Characters; package WebIDL.String_Sources is pragma Preelaborate; type String_Source is new WebIDL.Abstract_Sources.Abstract_Source with private; overriding function Get_Next (Self : not null access String_Source) return WebIDL.Abstract_Sources.Code_Unit_32; procedure Set_String_Vector (Self : out String_Source; Value : League.String_Vectors.Universal_String_Vector); private type String_Source is new WebIDL.Abstract_Sources.Abstract_Source with record Vector : League.String_Vectors.Universal_String_Vector; Index : Positive; Line : League.Strings.Universal_String; Cursor : League.Strings.Cursors.Characters.Character_Cursor; end record; end WebIDL.String_Sources;
28.555556
73
0.720817
c7f719aef4c80ce4a3c4b6bab265cf529ec62a56
12,267
adb
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tigeau.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tigeau.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tigeau.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T E X T _ I O . G E N E R I C _ A U X -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Interfaces.C_Streams; use Interfaces.C_Streams; with System.File_IO; with System.File_Control_Block; package body Ada.Text_IO.Generic_Aux is package FIO renames System.File_IO; package FCB renames System.File_Control_Block; subtype AP is FCB.AFCB_Ptr; ------------------------ -- Check_End_Of_Field -- ------------------------ procedure Check_End_Of_Field (Buf : String; Stop : Integer; Ptr : Integer; Width : Field) is begin if Ptr > Stop then return; elsif Width = 0 then raise Data_Error; else for J in Ptr .. Stop loop if not Is_Blank (Buf (J)) then raise Data_Error; end if; end loop; end if; end Check_End_Of_Field; ----------------------- -- Check_On_One_Line -- ----------------------- procedure Check_On_One_Line (File : File_Type; Length : Integer) is begin FIO.Check_Write_Status (AP (File)); if File.Line_Length /= 0 then if Count (Length) > File.Line_Length then raise Layout_Error; elsif File.Col + Count (Length) > File.Line_Length + 1 then New_Line (File); end if; end if; end Check_On_One_Line; ---------- -- Getc -- ---------- function Getc (File : File_Type) return int is ch : int; begin ch := fgetc (File.Stream); if ch = EOF and then ferror (File.Stream) /= 0 then raise Device_Error; else return ch; end if; end Getc; -------------- -- Is_Blank -- -------------- function Is_Blank (C : Character) return Boolean is begin return C = ' ' or else C = ASCII.HT; end Is_Blank; ---------- -- Load -- ---------- procedure Load (File : File_Type; Buf : out String; Ptr : in out Integer; Char : Character; Loaded : out Boolean) is ch : int; begin ch := Getc (File); if ch = Character'Pos (Char) then Store_Char (File, ch, Buf, Ptr); Loaded := True; else Ungetc (ch, File); Loaded := False; end if; end Load; procedure Load (File : File_Type; Buf : out String; Ptr : in out Integer; Char : Character) is ch : int; begin ch := Getc (File); if ch = Character'Pos (Char) then Store_Char (File, ch, Buf, Ptr); else Ungetc (ch, File); end if; end Load; procedure Load (File : File_Type; Buf : out String; Ptr : in out Integer; Char1 : Character; Char2 : Character; Loaded : out Boolean) is ch : int; begin ch := Getc (File); if ch = Character'Pos (Char1) or else ch = Character'Pos (Char2) then Store_Char (File, ch, Buf, Ptr); Loaded := True; else Ungetc (ch, File); Loaded := False; end if; end Load; procedure Load (File : File_Type; Buf : out String; Ptr : in out Integer; Char1 : Character; Char2 : Character) is ch : int; begin ch := Getc (File); if ch = Character'Pos (Char1) or else ch = Character'Pos (Char2) then Store_Char (File, ch, Buf, Ptr); else Ungetc (ch, File); end if; end Load; ----------------- -- Load_Digits -- ----------------- procedure Load_Digits (File : File_Type; Buf : out String; Ptr : in out Integer; Loaded : out Boolean) is ch : int; After_Digit : Boolean; begin ch := Getc (File); if ch not in Character'Pos ('0') .. Character'Pos ('9') then Loaded := False; else Loaded := True; After_Digit := True; loop Store_Char (File, ch, Buf, Ptr); ch := Getc (File); if ch in Character'Pos ('0') .. Character'Pos ('9') then After_Digit := True; elsif ch = Character'Pos ('_') and then After_Digit then After_Digit := False; else exit; end if; end loop; end if; Ungetc (ch, File); end Load_Digits; procedure Load_Digits (File : File_Type; Buf : out String; Ptr : in out Integer) is ch : int; After_Digit : Boolean; begin ch := Getc (File); if ch in Character'Pos ('0') .. Character'Pos ('9') then After_Digit := True; loop Store_Char (File, ch, Buf, Ptr); ch := Getc (File); if ch in Character'Pos ('0') .. Character'Pos ('9') then After_Digit := True; elsif ch = Character'Pos ('_') and then After_Digit then After_Digit := False; else exit; end if; end loop; end if; Ungetc (ch, File); end Load_Digits; -------------------------- -- Load_Extended_Digits -- -------------------------- procedure Load_Extended_Digits (File : File_Type; Buf : out String; Ptr : in out Integer; Loaded : out Boolean) is ch : int; After_Digit : Boolean := False; begin Loaded := False; loop ch := Getc (File); if ch in Character'Pos ('0') .. Character'Pos ('9') or else ch in Character'Pos ('a') .. Character'Pos ('f') or else ch in Character'Pos ('A') .. Character'Pos ('F') then After_Digit := True; elsif ch = Character'Pos ('_') and then After_Digit then After_Digit := False; else exit; end if; Store_Char (File, ch, Buf, Ptr); Loaded := True; end loop; Ungetc (ch, File); end Load_Extended_Digits; procedure Load_Extended_Digits (File : File_Type; Buf : out String; Ptr : in out Integer) is Junk : Boolean; pragma Unreferenced (Junk); begin Load_Extended_Digits (File, Buf, Ptr, Junk); end Load_Extended_Digits; --------------- -- Load_Skip -- --------------- procedure Load_Skip (File : File_Type) is C : Character; begin FIO.Check_Read_Status (AP (File)); -- Loop till we find a non-blank character (note that as usual in -- Text_IO, blank includes horizontal tab). Note that Get deals with -- the Before_LM and Before_LM_PM flags appropriately. loop Get (File, C); exit when not Is_Blank (C); end loop; Ungetc (Character'Pos (C), File); File.Col := File.Col - 1; end Load_Skip; ---------------- -- Load_Width -- ---------------- procedure Load_Width (File : File_Type; Width : Field; Buf : out String; Ptr : in out Integer) is ch : int; begin FIO.Check_Read_Status (AP (File)); -- If we are immediately before a line mark, then we have no characters. -- This is always a data error, so we may as well raise it right away. if File.Before_LM then raise Data_Error; else for J in 1 .. Width loop ch := Getc (File); if ch = EOF then return; elsif ch = LM then Ungetc (ch, File); return; else Store_Char (File, ch, Buf, Ptr); end if; end loop; end if; end Load_Width; ----------- -- Nextc -- ----------- function Nextc (File : File_Type) return int is ch : int; begin ch := fgetc (File.Stream); if ch = EOF then if ferror (File.Stream) /= 0 then raise Device_Error; else return EOF; end if; else Ungetc (ch, File); return ch; end if; end Nextc; -------------- -- Put_Item -- -------------- procedure Put_Item (File : File_Type; Str : String) is begin Check_On_One_Line (File, Str'Length); Put (File, Str); end Put_Item; ---------------- -- Store_Char -- ---------------- procedure Store_Char (File : File_Type; ch : int; Buf : in out String; Ptr : in out Integer) is begin File.Col := File.Col + 1; if Ptr < Buf'Last then Ptr := Ptr + 1; end if; Buf (Ptr) := Character'Val (ch); end Store_Char; ----------------- -- String_Skip -- ----------------- procedure String_Skip (Str : String; Ptr : out Integer) is begin -- Routines calling String_Skip malfunction if Str'Last = Positive'Last. -- It's too much trouble to make this silly case work, so we just raise -- Program_Error with an appropriate message. We raise Program_Error -- rather than Constraint_Error because we don't want this case to be -- converted to Data_Error. if Str'Last = Positive'Last then raise Program_Error with "string upper bound is Positive'Last, not supported"; end if; -- Normal case where Str'Last < Positive'Last Ptr := Str'First; loop if Ptr > Str'Last then raise End_Error; elsif not Is_Blank (Str (Ptr)) then return; else Ptr := Ptr + 1; end if; end loop; end String_Skip; ------------ -- Ungetc -- ------------ procedure Ungetc (ch : int; File : File_Type) is begin if ch /= EOF then if ungetc (ch, File.Stream) = EOF then raise Device_Error; end if; end if; end Ungetc; end Ada.Text_IO.Generic_Aux;
25.137295
79
0.473465
0bf2c9f7e5ae7ca8cd67d590c0ae8af053c2607d
4,435
ads
Ada
src/aof-core-objects.ads
glencornell/ada-object-framework
76383688a26e1d46cd83ee9e6ab45621692cd7f8
[ "MIT" ]
null
null
null
src/aof-core-objects.ads
glencornell/ada-object-framework
76383688a26e1d46cd83ee9e6ab45621692cd7f8
[ "MIT" ]
null
null
null
src/aof-core-objects.ads
glencornell/ada-object-framework
76383688a26e1d46cd83ee9e6ab45621692cd7f8
[ "MIT" ]
null
null
null
-- Copyright (C) 2020 Glen Cornell <[email protected]> -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU General Public License as -- published by the Free Software Foundation, either version 3 of the -- License, or (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see -- <http://www.gnu.org/licenses/>. with Ada.Containers.Doubly_Linked_Lists; with Ada.Strings.Unbounded; with Aof.Core.Root_Objects; with Aof.Core.Signals; with Aof.Core.Properties; package Aof.Core.Objects is pragma Preelaborate; -- Publicly accessible parts of the Object type. No objects should -- be made of this type. Rather, see Object below. type Public_Part is abstract limited new Aof.Core.Root_Objects.Root_Object with record Name : Aof.Core.Properties.Unbounded_Strings.Property; Destroyed : Aof.Core.Signals.Access_Objects.Signal; end record; overriding procedure Finalize (This : in out Public_Part); -- The object type is the root object in the Ada Object Framework. -- All objects should be derived from this type. type Object is limited new Public_Part with private; type Access_Object is access all Object'Class; package Object_List is new Ada.Containers.Doubly_Linked_Lists (Element_Type => Access_Object); -- This exception is raised when an attempt is made to insert a -- parent as a child of an object, creating a circular hierarchy -- of objects. Circular_Reference_Exception : exception; -- Accessor to the object's name as a simple string. This is a -- convenience subprogram that is the same as -- Ada.Strings.Unbounded.To_String(This.Object_Name.Get). function Get_Name (This : in Object'Class) return String; procedure Set_Name (This : in out Object'Class; Name : in String); -- Accessors to the object's parent. function Get_Parent (This : in Object'Class) return Access_Object; procedure Set_Parent -- raises Circular_Reference_Exception (This : in out Object'Class; Parent : in not null Access_Object); -- Accessors to the object's children. function Get_Children (This : in Object'Class) return Object_List.List; type Find_Child_Options is (Find_Direct_Children_Only, Find_Children_Recursively); function Find_Child (This : in Object'Class; Name : in Ada.Strings.Unbounded.Unbounded_String; Options : in Find_Child_Options := Find_Children_Recursively) return Access_Object; function Find_Child (This : in Object'Class; Name : in String; Options : in Find_Child_Options := Find_Children_Recursively) return Access_Object; function Find_Children (This : in Object'Class; Name : in Ada.Strings.Unbounded.Unbounded_String; Options : in Find_Child_Options := Find_Children_Recursively) return Object_List.List; function Find_Children (This : in Object'Class; Name : in String; Options : in Find_Child_Options := Find_Children_Recursively) return Object_List.List; generic with procedure Proc(This : in out Access_Object); procedure Iterate (This : in Access_Object; Options : in Find_Child_Options := Find_Children_Recursively); function Contains (This : in out Object'Class; Child : in not null Access_Object) return Boolean; private procedure Delete_Child (This : in out Object'Class; Child : in out not null Access_Object; Options : in Find_Child_Options := Find_Children_Recursively); -- This type is derived from Ada.Finalization.Limited_Controlled -- to ensure that memory is reclaimed when the object is destroyed -- or goes out of scope. When the object is destroyed, so are all -- of its childern. type Object is limited new Public_Part with record Parent : Access_Object := null; Children : Object_List.List; end record; overriding procedure Finalize(This : in out Object); end Aof.Core.Objects;
39.598214
92
0.714092
2e961ae927d99d1953351263ae44accd3a7c505a
355
ads
Ada
3-mid/opengl/source/lean/model/opengl-model-sphere.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
3-mid/opengl/source/lean/model/opengl-model-sphere.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
3-mid/opengl/source/lean/model/opengl-model-sphere.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
package openGL.Model.sphere -- -- Provides an abstract model of a sphere. -- is type Item is abstract new Model.item with record null; end record; type View is access all Item'Class; -------------- --- Attributes -- overriding function Bounds (Self : in Item) return openGL.Bounds; end openGL.Model.sphere;
16.136364
57
0.622535
2e885becdab0623fe7f068fd31e222d27ebb2fd9
5,436
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-intman__vxworks.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-intman__vxworks.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-intman__vxworks.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . I N T E R R U P T _ M A N A G E M E N T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the VxWorks version of this package -- This package encapsulates and centralizes information about all -- uses of interrupts (or signals), including the target-dependent -- mapping of interrupts (or signals) to exceptions. -- Unlike the original design, System.Interrupt_Management can only -- be used for tasking systems. -- PLEASE DO NOT put any subprogram declarations with arguments of -- type Interrupt_ID into the visible part of this package. The type -- Interrupt_ID is used to derive the type in Ada.Interrupts, and -- adding more operations to that type would be illegal according -- to the Ada Reference Manual. This is the reason why the signals -- sets are implemented using visible arrays rather than functions. with System.OS_Interface; with Interfaces.C; package System.Interrupt_Management is pragma Preelaborate; type Interrupt_Mask is limited private; type Interrupt_ID is new Interfaces.C.int range 0 .. System.OS_Interface.Max_Interrupt; type Interrupt_Set is array (Interrupt_ID) of Boolean; subtype Signal_ID is Interrupt_ID range 0 .. System.OS_Interface.NSIG - 1; type Signal_Set is array (Signal_ID) of Boolean; -- The following objects serve as constants, but are initialized in the -- body to aid portability. This permits us to use more portable names for -- interrupts, where distinct names may map to the same interrupt ID -- value. -- For example, suppose SIGRARE is a signal that is not defined on all -- systems, but is always reserved when it is defined. If we have the -- convention that ID zero is not used for any "real" signals, and SIGRARE -- = 0 when SIGRARE is not one of the locally supported signals, we can -- write: -- Reserved (SIGRARE) := True; -- and the initialization code will be portable. Abort_Task_Interrupt : Signal_ID; -- The signal that is used to implement task abort if an interrupt is used -- for that purpose. This is one of the reserved signals. Reserve : Interrupt_Set := (others => False); -- Reserve (I) is true iff the interrupt I is one that cannot be permitted -- to be attached to a user handler. The possible reasons are many. For -- example, it may be mapped to an exception used to implement task abort, -- or used to implement time delays. procedure Initialize_Interrupts; pragma Import (C, Initialize_Interrupts, "__gnat_install_handler"); -- Under VxWorks, there is no signal inheritance between tasks. -- This procedure is used to initialize signal-to-exception mapping in -- each task. procedure Initialize; -- Initialize the various variables defined in this package. This procedure -- must be called before accessing any object from this package and can be -- called multiple times (only the first call has any effect). private type Interrupt_Mask is new System.OS_Interface.sigset_t; -- In some implementation Interrupt_Mask can be represented as a linked -- list. end System.Interrupt_Management;
51.283019
79
0.579286
4b91973a19d3472e2299be35af35172eedc27255
738
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt49.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt49.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt49.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } -- { dg-options "-O -fstack-check" } procedure Opt49 is function Ident (I : Integer) return Integer; pragma No_Inline (Ident); function Ident (I : Integer) return Integer is begin return I; end; Int_0 : Integer := Ident (0); Int_4 : Integer := Ident (4); A : array (-4 .. Int_4) of Integer; begin A := (-4 , -3 , -2 , -1 , 100 , 1 , 2 , 3 , 4); A (-4 .. Int_0) := A (Int_0 .. 4); if A /= (100 , 1 , 2 , 3 , 4 , 1 , 2 , 3 , 4) then raise Program_Error; end if; A := (-4 , -3 , -2 , -1 , 100 , 1 , 2 , 3 , 4); A (Int_0 .. 4) := A (-4 .. Int_0); if A /= (-4 , -3 , -2 , -1 , -4 , -3 , -2 , -1 , 100) then raise Program_Error; end if; end;
23.0625
62
0.471545
1370a7c2302fe5634dc1fd5113cf6154f37f5449
72,348
adb
Ada
kv-avm-test.adb
davidkristola/vole
aa8e19d9deff2efe98fcd4dc0028c2895d624693
[ "Unlicense" ]
4
2015-02-02T12:11:41.000Z
2020-12-19T02:14:21.000Z
kv-avm-test.adb
davidkristola/vole
aa8e19d9deff2efe98fcd4dc0028c2895d624693
[ "Unlicense" ]
null
null
null
kv-avm-test.adb
davidkristola/vole
aa8e19d9deff2efe98fcd4dc0028c2895d624693
[ "Unlicense" ]
3
2017-02-22T10:44:02.000Z
2021-05-16T09:34:39.000Z
with Interfaces; use Interfaces; with Ada.Unchecked_Deallocation; with Ada.Text_IO; use Ada.Text_IO; with Ada.Unchecked_Conversion; with AUnit.Assertions; use AUnit.Assertions; with String_Ops; use String_Ops; with kv.avm.references; use kv.avm.references; with kv.avm.Instructions; with kv.avm.Registers; with kv.avm.Memories; use kv.avm.Memories; with kv.avm.Processors; with kv.avm.Instances; with kv.avm.Actors; with kv.avm.Control; with kv.avm.Messages; with kv.avm.Tuples; with kv.avm.Actor_References; with kv.avm.actor_pool; with kv.avm.Machines; with kv.avm.Frames; with kv.avm.Assemblers; with kv.avm.Log; with kv.avm.Methods; use kv.avm.Methods; with kv.avm.Executables; use kv.avm.Executables; with kv.avm.Executable_Lists; with kv.avm.Test.Runners; -- test stub with kv.avm.Actor_References.Sets; package body kv.avm.Test is use kv.avm.Instructions; use kv.avm.Registers; use kv.avm.Processors; use kv.avm.Instances; use kv.avm.Actors; use kv.avm.Control; use kv.avm.Messages; use kv.avm.Tuples; use kv.avm.Actor_References; procedure Free is new Ada.Unchecked_Deallocation(Code_Type, Code_Access); procedure Free is new Ada.Unchecked_Deallocation(Actor_Type, Actor_Access); procedure Free is new Ada.Unchecked_Deallocation(Instance_Type, Instance_Access); procedure Free is new Ada.Unchecked_Deallocation(String, String_Ops.String_Pointer_Type); function Convert is new Ada.Unchecked_Conversion(Interfaces.Integer_32, Interfaces.Unsigned_32); -- -- -- package Fake_Vm is type Post_Command_Behavior_Type is (Normal, Deferred); type Fake_Vm_Type is new Control_Interface with record Posted : Interfaces.Unsigned_32 := 0; Source : kv.avm.Actor_References.Actor_Reference_Type; Reply_To : kv.avm.Actor_References.Actor_Reference_Type; Destination : kv.avm.Actor_References.Actor_Reference_Type; Message_Name : String_Ops.String_Pointer_Type; Data : kv.avm.Tuples.Tuple_Type; Future : Interfaces.Unsigned_32; Post_Command_Behavior : Post_Command_Behavior_Type := Normal; end record; overriding procedure New_Actor (Self : in out Fake_Vm_Type; Name : in String; Instance : out kv.avm.Actor_References.Actor_Reference_Type); overriding procedure Post_Message (Self : in out Fake_Vm_Type; Message : in kv.avm.Messages.Message_Type; Status : out Status_Type); overriding procedure Post_Response (Self : in out Fake_Vm_Type; Reply_To : in kv.avm.Actor_References.Actor_Reference_Type; Answer : in kv.avm.Tuples.Tuple_Type; Future : in Interfaces.Unsigned_32); overriding procedure Generate_Next_Future (Self : in out Fake_Vm_Type; Future : out Interfaces.Unsigned_32); overriding procedure Trap_To_The_Machine (Self : in out Fake_Vm_Type; Trap : in String; Data : in kv.avm.Registers.Register_Type; Answer : out kv.avm.Registers.Register_Type; Status : out kv.avm.Control.Status_Type); overriding procedure Activate_Instance (Self : in out Fake_Vm_Type; Instance : in kv.avm.Actor_References.Actor_Reference_Type); end Fake_Vm; Fake_Actor_Name : aliased constant String := "FakeActor"; Fake_Instance : aliased kv.avm.Instances.Instance_Type; Fake_Ref : aliased kv.avm.Actor_References.Actor_Reference_Type; Fake_Invoker : aliased kv.avm.Instances.Instance_Type; Fake_Invoker_Ref : aliased kv.avm.Actor_References.Actor_Reference_Type; package body Fake_Vm is Available_Future : Interfaces.Unsigned_32 := 3; procedure New_Actor (Self : in out Fake_Vm_Type; Name : in String; Instance : out kv.avm.Actor_References.Actor_Reference_Type) is begin kv.avm.Log.Put_Line("Fake_Vm_Type.New_Actor called with name = '"&Name&"'"); kv.avm.actor_pool.Add(Fake_Instance'ACCESS, Fake_Ref); Instance := Fake_Ref; end New_Actor; procedure Post_Message (Self : in out Fake_Vm_Type; Message : in kv.avm.Messages.Message_Type; Status : out Status_Type) is begin kv.avm.Log.Put_Line("Fake_Vm_Type.Post_Message called with name = '"&Message.Get_Name&"'."); if Self.Post_Command_Behavior = Normal then Status := kv.avm.Control.Active; Self.Posted := 27; Self.Source := Message.Get_Source; Self.Reply_To := Message.Get_Reply_To; Self.Destination := Message.Get_Destination; if Self.Message_Name /= null then Free(Self.Message_Name); end if; Self.Message_Name := new String'(Message.Get_Name); Self.Data := Message.Get_Data; Self.Future := Message.Get_Future; else Status := kv.avm.Control.Deferred; end if; end Post_Message; procedure Post_Response (Self : in out Fake_Vm_Type; Reply_To : in kv.avm.Actor_References.Actor_Reference_Type; Answer : in kv.avm.Tuples.Tuple_Type; Future : in Interfaces.Unsigned_32) is begin Self.Posted := 73; end Post_Response; procedure Generate_Next_Future (Self : in out Fake_Vm_Type; Future : out Interfaces.Unsigned_32) is begin Future := Available_Future; Available_Future := Available_Future + 1; end Generate_Next_Future; procedure Trap_To_The_Machine (Self : in out Fake_Vm_Type; Trap : in String; Data : in kv.avm.Registers.Register_Type; Answer : out kv.avm.Registers.Register_Type; Status : out kv.avm.Control.Status_Type) is begin kv.avm.Log.Put_Line("Fake_Vm_Type.Trap_To_The_Machine called with name = '"&Trap&"'"); Answer := Make_U(0); Status := kv.avm.Control.Active; end Trap_To_The_Machine; procedure Activate_Instance (Self : in out Fake_Vm_Type; Instance : in kv.avm.Actor_References.Actor_Reference_Type) is begin null; end Activate_Instance; end Fake_Vm; Fake_Machine : aliased Fake_Vm.Fake_Vm_Type; -- -- -- Test_Message_Name : aliased constant String := "DefaultTestMessage"; Msg_Name : aliased constant String := "FooBar"; Actor_Name : aliased constant String := "TestActor"; procedure Set_Up (T : in out Instruction_Test_Case) is Tup : kv.avm.Tuples.Tuple_Type; Ref : Actor_Reference_Type; Mem_Local : kv.avm.Memories.Register_Array_Type; Mem_Fixed : kv.avm.Memories.Register_Array_Type; Mem_Attr : kv.avm.Memories.Register_Array_Type; begin kv.avm.Log.Verbose := False; Put_Line("=========================================================="); T.i := new kv.avm.Instances.Instance_Type; T.c := new Code_Type(0..31); T.f := new Code_Type(0..31); Mem_Local.Allocate(32); Mem_Fixed.Allocate(32); Mem_Attr.Allocate(32); T.m.Set(Local, Mem_Local); T.m.Set(fixed, Mem_Fixed); T.m.Set(Attribute, Mem_Attr); T.a := new Actor_Type; T.p.Initialize(Fake_Machine'ACCESS); T.a.Initialize(Actor_Name'ACCESS, T.c, Fixed_Registers => Mem_Fixed); T.a.Add_Method(New_Method(Test_Message_Name, T.c)); T.a.Add_Method(New_Method(Msg_Name, T.f)); kv.avm.Actor_Pool.Add(kv.avm.Executables.Executable_Access(T.i), Ref); T.i.Initialize(T.a, T.m, Ref); T.x.Initialize(Ref, Ref, Ref, Test_Message_Name, Tup, 0); T.i.Process_Message(T.x); end Set_Up; procedure Tear_Down (T : in out Instruction_Test_Case) is begin kv.avm.Log.Verbose := False; --Free(T.x); Free(T.a); T.m.Deallocate; Free(T.f); Free(T.c); Free(T.i); Put_Line("=========================================================="); end Tear_Down; ----------------------------------------------------------------------------- procedure Mem_Set (T : in out Instruction_Test_Case; Ref : in reference_type; Val : in kv.avm.Registers.Register_Type) is begin T.m.Write(Ref, Val); end Mem_Set; ----------------------------------------------------------------------------- function Mem_Get (T : in Instruction_Test_Case; Ref : in reference_type) return kv.avm.Registers.Register_Type is begin return T.m.Read(Ref); end Mem_Get; ----------------------------------------------------------------------------- procedure Step(T : in out Instruction_Test_Case) is begin T.i.Step(T.p'ACCESS, T.s); end Step; L0 : constant reference_type := (memory => local, index => 0); L1 : constant reference_type := (memory => local, index => 1); L2 : constant reference_type := (memory => local, index => 2); L3 : constant reference_type := (memory => local, index => 3); L4 : constant reference_type := (memory => local, index => 4); L5 : constant reference_type := (memory => local, index => 5); L6 : constant reference_type := (memory => local, index => 6); L7 : constant reference_type := (memory => local, index => 7); L8 : constant reference_type := (memory => local, index => 8); L9 : constant reference_type := (memory => local, index => 9); L10 : constant reference_type := (memory => local, index => 10); L11 : constant reference_type := (memory => local, index => 11); L12 : constant reference_type := (memory => local, index => 12); L13 : constant reference_type := (memory => local, index => 13); L14 : constant reference_type := (memory => local, index => 14); L15 : constant reference_type := (memory => local, index => 15); L16 : constant reference_type := (memory => local, index => 16); L17 : constant reference_type := (memory => local, index => 17); L18 : constant reference_type := (memory => local, index => 18); L19 : constant reference_type := (memory => local, index => 19); F0 : constant reference_type := (memory => fixed, index => 0); F1 : constant reference_type := (memory => fixed, index => 1); F2 : constant reference_type := (memory => fixed, index => 2); F3 : constant reference_type := (memory => fixed, index => 3); F4 : constant reference_type := (memory => fixed, index => 4); F5 : constant reference_type := (memory => fixed, index => 5); F6 : constant reference_type := (memory => fixed, index => 6); F7 : constant reference_type := (memory => fixed, index => 7); F8 : constant reference_type := (memory => fixed, index => 8); F9 : constant reference_type := (memory => fixed, index => 9); F10 : constant reference_type := (memory => fixed, index => 10); F11 : constant reference_type := (memory => fixed, index => 11); F12 : constant reference_type := (memory => fixed, index => 12); F13 : constant reference_type := (memory => fixed, index => 13); F14 : constant reference_type := (memory => fixed, index => 14); F15 : constant reference_type := (memory => fixed, index => 15); F16 : constant reference_type := (memory => fixed, index => 16); F17 : constant reference_type := (memory => fixed, index => 17); F18 : constant reference_type := (memory => fixed, index => 18); F19 : constant reference_type := (memory => fixed, index => 19); A0 : constant reference_type := (memory => Attribute, index => 0); A1 : constant reference_type := (memory => Attribute, index => 1); I0 : constant reference_type := (memory => Input, index => 0); I1 : constant reference_type := (memory => Input, index => 1); I2 : constant reference_type := (memory => Input, index => 2); ----------------------------------------------------------------------------- function S(Value : Interfaces.Integer_64) return kv.avm.Registers.Register_Type is begin return (format => Signed_Integer, signed_value => Value); end S; ----------------------------------------------------------------------------- function U(Value : Interfaces.Unsigned_64) return kv.avm.Registers.Register_Type is begin return (format => Unsigned_Integer, unsigned_value => Value); end U; ----------------------------------------------------------------------------- function B(Value : Boolean) return kv.avm.Registers.Register_Type is begin return (format => Bit_Or_Boolean, bit => Value); end B; ----------------------------------------------------------------------------- function Name (T : Test_1) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 01: NO_OP."); end Name; procedure Run_Test (T : in out Test_1) is begin Put_Line("test 01"); Assert(T.i.Program_Counter = 0, "Initial pc was not 0."); T.c(0) := (op_code => no_op); T.Step; Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_2) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 02: SET."); end Name; procedure Run_Test (T : in out Test_2) is x : reference_type := (memory => local, index => 0); y : reference_type := (memory => local, index => 1); begin Put_Line("test 02"); Assert(T.Mem_Get(L0).format = Unset, "Local(0) was not 'Unset'."); T.c(0) := (op_code => SET, lhs => x, rhs => y); T.Mem_Set(L1, (format => Signed_Integer, signed_value => -13)); T.Step; Assert(T.Mem_Get(L0).format = Signed_Integer, "Local(0) was not 'Signed_Integer'."); Assert(T.Mem_Get(L0).signed_value = -13, "Local(0) was not -13."); Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); T.c(1) := (op_code => set, lhs => (Attribute, 0), rhs => y); T.Step; Assert(T.Mem_Get(A0).format = Signed_Integer, "Instance(0) was not 'Signed_Integer'."); Assert(T.Mem_Get(A0).signed_value = -13, "Instance(0) was not -13."); Assert(T.i.Program_Counter = 2, "instruction did not advance pc to 2."); begin T.c(2) := (op_code => set, lhs => (Attribute, 0), rhs => (memory => local, index => 2)); T.Step; Assert(False, "Set of an invalid rhs did not raise an exception!"); exception when others => null; end; begin T.c(3) := (op_code => set, lhs => (Fixed, 0), rhs => y); T.Step; Assert(False, "Set of an invalid lhs did not raise an exception!"); exception when others => null; end; end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_3) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 03: JUMP."); end Name; procedure Run_Test (T : in out Test_3) is destination : reference_type := (memory => local, index => 0); DESTINATION_PC : constant := 27; use kv.avm.Assemblers; begin Put_Line("test 03"); --T.c(0) := (op_code => jump, value => destination); T.c(0) := Decode_Op_Code("JUMP L0"); T.Mem_Set(L0, U(DESTINATION_PC)); T.Step; Assert(T.i.Program_Counter = DESTINATION_PC, "jump did not advance pc to L0."); T.c(27) := Decode_Op_Code("JUMP_ABS 13"); T.Step; Assert(T.i.Program_Counter = 13, "JUMP_ABS did not advance pc to 13."); T.c(13) := Decode_Op_Code("JUMP_REL -1"); T.Step; Assert(T.i.Program_Counter = 13, "JUMP_REL did not back 1."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_4) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 04: ADD, SUBTRACT, MULTIPLY, DIVIDE."); end Name; procedure Run_Test (T : in out Test_4) is a : reference_type := (memory => local, index => 0); x : reference_type := (memory => local, index => 1); y : reference_type := (memory => local, index => 2); s : reference_type := (memory => local, index => 3); m : reference_type := (memory => local, index => 4); d : reference_type := (memory => local, index => 5); begin Put_Line("test 04"); T.c(0) := (op_code => COMPUTE, action => add, result => a, left => x, right => y); T.c(1) := (op_code => COMPUTE, action => sub, result => s, left => y, right => x); T.c(2) := (op_code => COMPUTE, action => mul, result => m, left => x, right => y); T.c(3) := (op_code => COMPUTE, action => div, result => d, left => y, right => x); T.Mem_Set(L1, (format => Signed_Integer, signed_value => 3)); T.Mem_Set(L2, (format => Signed_Integer, signed_value => 5)); T.Step; Assert(T.Mem_Get(L0).format = Signed_Integer, "Local(0) was not 'Signed_Integer'."); Assert(T.Mem_Get(L0).signed_value = 8, "Local(0) was not 3+5=8."); Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); T.Step; Assert(T.Mem_Get(L3).format = Signed_Integer, "Local(3) was not 'Signed_Integer'."); Assert(T.Mem_Get(L3).signed_value = 2, "Local(3) was not 5-3=2."); Assert(T.i.Program_Counter = 2, "instruction did not advance pc to 2."); T.Step; Assert(T.Mem_Get(L4).format = Signed_Integer, "Local(4) was not 'Signed_Integer'."); Assert(T.Mem_Get(L4).signed_value = 15, "Local(4) was not 3*5=15."); Assert(T.i.Program_Counter = 3, "instruction did not advance pc to 3."); T.Step; Assert(T.Mem_Get(L5).format = Signed_Integer, "Local(5) was not 'Signed_Integer'."); Assert(T.Mem_Get(L5).signed_value = 1, "Local(5) was not 5/3=1."); Assert(T.i.Program_Counter = 4, "instruction did not advance pc to 4."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_4b) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 04b: MOD, ...."); end Name; procedure Run_Test (T : in out Test_4b) is begin Put_Line("test 04b"); T.c(0) := (op_code => COMPUTE, action => Modulo, result => L0, left => L1, right => L2); T.Mem_Set(L1, (format => Signed_Integer, signed_value => 4)); T.Mem_Set(L2, (format => Signed_Integer, signed_value => 2)); T.Step; Assert(T.Mem_Get(L0).format = Signed_Integer, "Local(0) was not 'Signed_Integer'."); Assert(T.Mem_Get(L0).signed_value = 0, "Local(0) was not 4%2=0."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_5) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 05: BRANCH."); end Name; procedure Run_Test (T : in out Test_5) is condition_false : reference_type := (memory => local, index => 0); condition_true : reference_type := (memory => local, index => 1); use kv.avm.Assemblers; begin Put_Line("test 05"); T.Mem_Set(L0, (format => Bit_Or_Boolean, bit => False)); T.Mem_Set(L1, (format => Bit_Or_Boolean, bit => True)); T.c(0) := (op_code => branch_abs, condition => condition_true, target => 3); T.Step; Assert(T.i.Program_Counter = 3, "branch_abs did not jump pc to 3."); T.c(3) := (op_code => branch_rel, condition => condition_true, target => Convert(-3)); -- jump back 3 from next PC T.Step; Assert(T.i.Program_Counter = 1, "branch_rel did not jump pc to 1."); T.c(1) := (op_code => branch_abs, condition => condition_false, target => 4); T.Step; Assert(T.i.Program_Counter = 2, "branch_abs did not advance pc to 2."); T.c(2) := (op_code => branch_rel, condition => condition_false, target => 4); T.Step; Assert(T.i.Program_Counter = 3, "branch_rel did not advance pc to 3."); T.c(3) := (op_code => branch_rel, condition => condition_true, target => 1); -- skip the following single instruction T.Step; Assert(T.i.Program_Counter = 5, "branch_rel did not skip forward one instruction."); T.c(5) := Decode_Op_Code("BRANCH_NEQ L0 5"); T.Step; Assert(T.i.Program_Counter = 11, "BRANCH_NEQ did not skip forward 5 instructions."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_6) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 06: REPLY."); end Name; procedure Run_Test (T : in out Test_6) is answer : reference_type := (memory => local, index => 7); Save : kv.avm.Frames.Frame_Access := T.i.Get_Frame; my_tuple : kv.avm.Tuples.Tuple_Type; begin Put_Line("test 06"); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.Mem_Set(L7, (format => kv.avm.Registers.Tuple, Folded_Tuple => my_tuple)); T.c(0) := (op_code => REPLY, value => answer); Put_Line("pre-step"); T.Step; Put_Line("post-step"); Assert(Fake_Machine.Posted = 73, "response message was not posted."); begin T.Step; Assert(False, "Error, an exception was not raised when a non-running frame was processed."); exception when Frame_Stopped_Error => null; -- Pass when others => null; -- Pass end; end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_6b) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 06b: STOP_FRAME."); end Name; procedure Run_Test (T : in out Test_6b) is answer : reference_type := (memory => local, index => 7); Save : kv.avm.Frames.Frame_Access := T.i.Get_Frame; my_tuple : kv.avm.Tuples.Tuple_Type; begin Put_Line("test 06b"); T.c(0) := (op_code => STOP_FRAME); Put_Line("pre-step"); T.Step; Put_Line("post-step"); begin T.Step; Assert(False, "Error, an exception was not raised when a non-running frame was processed."); exception when Frame_Stopped_Error => null; -- Pass when others => null; -- Pass end; end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_7) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 07: NEW_ACTOR."); end Name; procedure Run_Test (T : in out Test_7) is target : reference_type := (memory => local, index => 0); actor_def : reference_type := (memory => fixed, index => 0); constuctor_args : reference_type := (memory => local, index => 1); my_tuple : kv.avm.Tuples.Tuple_Type; use kv.avm.Registers; begin Put_Line("test 07"); T.c(0) := (op_code => new_actor, a => target, y => actor_def, x => constuctor_args); T.Mem_Set(L1, (format => kv.avm.Registers.Tuple, Folded_Tuple => my_tuple)); -- Empty constructor T.Mem_Set(F0, (format => Actor_Definition, Actor_Kind => +Fake_Actor_Name)); T.Step; Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); Assert(T.Mem_Get(L0).format = kv.avm.Registers.Actor_Reference, "Target register of new_actor is not 'Actor_Reference'."); Assert(kv.avm.actor_pool.Resolve(T.Mem_Get(L0).Instance) = Fake_Instance'ACCESS, "Value of new_actor reference is not what was expected."); Assert(Fake_Machine.Posted = 27, "constructor message was not posted."); Assert(Fake_Machine.Message_Name.all = "CONSTRUCTOR", "message name error."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_8) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 08: new tuple stuff."); end Name; procedure Run_Test (T : in out Test_8) is My_Data : aliased kv.avm.Memories.Register_Array_Type; My_Tuple : aliased kv.avm.Tuples.Tuple_Type; My_Data2 : aliased kv.avm.Memories.Register_Array_Type; begin Put_Line("test 08"); My_Data.Initialize((U(99), U(98), U(97))); My_Tuple.Fold(My_Data); My_Data2.Initialize(My_Tuple); Assert(My_Data.Read(2) = My_Data2.Read(2), "Register array not initialized from tuple."); end Run_Test; ----------------------------------------------------------------------------- procedure Set_Up (T : in out Machine_Test_Case) is begin kv.avm.Log.Verbose := False; Put_Line("=========================================================="); end Set_Up; ----------------------------------------------------------------------------- procedure Tear_Down (T : in out Machine_Test_Case) is begin kv.avm.Log.Verbose := False; kv.avm.Actors.Empty_Actor_Map; Put_Line("=========================================================="); end Tear_Down; ----------------------------------------------------------------------------- function Name (T : Test_9) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 09: Start_With."); end Name; procedure Run_Test (T : in out Test_9) is Builder : aliased kv.avm.Assemblers.Assembler_Type; VM : aliased kv.avm.Machines.Machine_Type; CPU : aliased kv.avm.Processors.Processor_Type; Factory : aliased kv.avm.Test.Runners.Runner_Factory; Data : kv.avm.Memories.Register_Set_Type(0..8); Registers : kv.avm.Memories.Register_Array_Type; Instance : kv.avm.Executables.Executable_Access; Runner : kv.avm.Test.Runners.Runner_Access; begin Put_Line("test 09"); --kv.avm.Log.Verbose := True; Builder.Initialize; Builder.Parse_Input_File("test_a1.volea"); Builder.Transfer_Actors_To_Store; VM.Initialize(CPU'UNCHECKED_ACCESS, Factory'UNCHECKED_ACCESS); CPU.Initialize(VM'UNCHECKED_ACCESS); Registers.Initialize((Make_U(0), Make_U(1))); VM.Start_With("Test_A1", "Go", Registers); VM.Step; Instance := VM.Current_Instance; Assert(Instance.all in kv.avm.Test.Runners.Runner_Type'CLASS, "Incorrect executable class"); Assert(Factory.Get_Allocated_Count = 1, "Incorrect number of runners allocated"); Runner := Factory.Get_Runner_By_ID(1); -- ID = count Assert(VM.Get_Queue_Size = 1, "wrong number of queued messages"); Assert(Runner.Last_Msg.Get_Name = "CONSTRUCTOR", "the 'CONSTRUCTOR' message wasn't delivered"); VM.Step; VM.Step; VM.Step; VM.Step; VM.Step; Assert(VM.Get_Queue_Size = 0, "wrong number of queued messages"); Assert(Runner.Last_Msg.Get_Name = "Go", "the 'Go' message wasn't delivered"); while not VM.Done loop VM.Step; Assert(VM.Get_Steps < 20, "VM did not complete in time"); end loop; Assert(VM.Get_Total = 1, "wrong number of executables in the VM"); Assert(VM.Get_Active = 0, "wrong number of active executables"); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_9b) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 9b: machine utilities."); end Name; procedure Run_Test (T : in out Test_9b) is Factory : aliased kv.avm.Test.Runners.Runner_Factory; Instance : kv.avm.Executables.Executable_Access; Executable : kv.avm.Executables.Executable_Access; Reference : kv.avm.Actor_References.Actor_Reference_Type; List_1 : kv.avm.Executable_Lists.Executable_Holder_Type; List_2 : kv.avm.Executable_Lists.Executable_Holder_Type; Place : kv.avm.Executable_Lists.Cursor_Type; Position : kv.avm.Executable_Lists.Cursor_Type; Handle : kv.avm.Executable_Lists.Executable_Handle_Access; use kv.avm.Executable_Lists; begin Put_Line("test 9b"); Factory.New_Executable(null, null, Instance, Reference); begin List_1.Add(Instance, Reference); Assert(False, "Using an uninitialized list did not raise an exception."); exception when Constraint_Error => null; -- expected when others => Assert(False, "Expected constraint error"); end; List_1.Initialize(kv.avm.Control.Active); List_2.Initialize(kv.avm.Control.Blocked); List_1.Add(Instance, Reference); Assert(List_1.Is_In(Instance), "couldn't find instance"); Place := List_1.Find(Instance); Executable := List_1.Get(Place); Assert(Instance = Executable, "find or get didn't work"); List_2.Acquire_From(Place, List_1); Assert(not List_1.Is_In(Instance), "found removed instance"); Place := List_2.Find(Instance); Handle := List_2.Get_Handle(Place); Position := Handle.Get_Cursor; Assert(Place = Position, "wrong place"); Assert(Handle.Get_List = kv.avm.Control.Blocked, "wrong list"); Factory.New_Executable(null, null, Executable, Reference); List_2.Add(Executable, Reference); Place := List_2.Find(Executable); Handle := List_2.Get_Handle(Place); Position := Handle.Get_Cursor; Assert(Position = 2, "wrong place"); List_2.Drop(Instance); Assert(not List_2.Is_In(Instance), "found deleted instance"); Position := Handle.Get_Cursor; Assert(Position = 1, "wrong place"); -- My handle should be updated to reflect the new location in List_2 Factory.New_Executable(null, null, Instance, Reference); List_1.Add(Instance, Reference); Factory.New_Executable(null, null, Executable, Reference); List_1.Add(Executable, Reference); Handle := List_1.Get_Handle(List_1.Find(Executable)); List_1.Drop(Executable); Position := Handle.Get_Cursor; Assert(Position = 0, "dropped executable not flagged as being dropped"); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_9c) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 9c: garbage collection."); end Name; procedure Run_Test (T : in out Test_9c) is Empty_Tuple : aliased kv.avm.Tuples.Tuple_Type; Builder : aliased kv.avm.Assemblers.Assembler_Type; VM : aliased kv.avm.Machines.Machine_Type; CPU : aliased kv.avm.Processors.Processor_Type; Factory : aliased kv.avm.Test.Runners.Runner_Factory; Runner : kv.avm.Test.Runners.Runner_Access; Actor_1 : kv.avm.Actor_References.Actor_Reference_Type; Status : kv.avm.Control.Status_Type; Message : kv.avm.Messages.Message_Type; begin Put_Line("test 9c"); Empty_Tuple.Initialize; Empty_Tuple.Fold_Empty; Builder.Initialize; Builder.Parse_Input_File("test_a1.volea"); Builder.Transfer_Actors_To_Store; --kv.avm.Log.Verbose := True; VM.Initialize(CPU'UNCHECKED_ACCESS, Factory'UNCHECKED_ACCESS); CPU.Initialize(VM'UNCHECKED_ACCESS); VM.New_Actor("Test_A1", Actor_1); VM.Set_Garbage_Trigger(50); Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Actor_1, Message_Name => "CONSTRUCTOR", Data => Empty_Tuple, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); Runner := Factory.Get_Runner_By_ID(1); -- ID = count Runner.Set_Behavior_Spawn(3); for Step in 1 .. 30 loop VM.Step; end loop; Assert(VM.Get_Total >= 3, "wrong number of executables in the VM"); for Step in 1 .. 500 loop VM.Step; end loop; Assert(VM.Get_Active <= 10, "too many active executables"); Assert(VM.Get_Total <= 10, "too many executables in the VM"); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_9d) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 9d: trap to machine."); end Name; procedure Run_Test (T : in out Test_9d) is Empty_Tuple : aliased kv.avm.Tuples.Tuple_Type; -- Builder : aliased kv.avm.Assemblers.Assembler_Type; VM : aliased kv.avm.Machines.Machine_Type; CPU : aliased kv.avm.Processors.Processor_Type; Factory : aliased kv.avm.Instances.Instance_Factory; -- Status : kv.avm.Control.Status_Type; use kv.avm.Registers; use kv.avm.Assemblers; use kv.avm.Instances; begin Put_Line("test 9d"); VM.Initialize(CPU'UNCHECKED_ACCESS, Factory'UNCHECKED_ACCESS); CPU.Initialize(VM'UNCHECKED_ACCESS); T.p.Initialize(VM'UNCHECKED_ACCESS); T.Mem_Set(F0, Make_Tuple_Map((L0, L1, L2))); T.Mem_Set(F1, (format => kv.avm.Registers.Immutable_String, The_String => +"print")); T.Mem_Set(L0, U(113)); T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- L3 is the tuple (message arguments) -- L4 is the reply future if there is a reply T.c(0) := Decode_Op_Code("Fold L3 F0"); T.c(1) := Decode_Op_Code("TRAP L4 := F1 L3"); --kv.avm.Log.Verbose := True; T.Step; T.Step; Assert(kv.avm.Log.Get_Last_Log_Line = "Machine_Type.Trap_To_The_Machine called with name = 'print'", "wrong log message"); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_10) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 10: Message Queue accumulation."); end Name; procedure Run_Test (T : in out Test_10) is -- Problem: a pair of actors, a producer and a consumer, run in parallel -- but the producer cycles faster than the consumer. Messages accumulate -- in the Machine's message queue threatening to take all memory. Empty_Tuple : aliased kv.avm.Tuples.Tuple_Type; Builder : aliased kv.avm.Assemblers.Assembler_Type; VM : aliased kv.avm.Machines.Machine_Type; CPU : aliased kv.avm.Processors.Processor_Type; Factory : aliased kv.avm.Test.Runners.Runner_Factory; Runner : kv.avm.Test.Runners.Runner_Access; Actor_1 : kv.avm.Actor_References.Actor_Reference_Type; Actor_2 : kv.avm.Actor_References.Actor_Reference_Type; Status : kv.avm.Control.Status_Type; Q_Limit : constant := 3; Message : kv.avm.Messages.Message_Type; begin Put_Line("test 10"); Empty_Tuple.Initialize; Empty_Tuple.Fold_Empty; --kv.avm.Log.Verbose := True; Builder.Initialize; Builder.Parse_Input_File("test_a1.volea"); Builder.Transfer_Actors_To_Store; VM.Initialize(CPU'UNCHECKED_ACCESS, Factory'UNCHECKED_ACCESS); VM.Set_Queue_Limit(Q_Limit); CPU.Initialize(VM'UNCHECKED_ACCESS); VM.New_Actor("Test_A1", Actor_1); VM.New_Actor("Test_A1", Actor_2); Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Actor_1, Message_Name => "CONSTRUCTOR", Data => Empty_Tuple, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); Message.Finalize; Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Actor_2, Message_Name => "CONSTRUCTOR", Data => Empty_Tuple, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); Assert(VM.Get_Queue_Size = 0, "wrong number of queued messages"); Runner := Factory.Get_Runner_By_ID(1); -- ID = count Runner.Set_Behavior_Send(Actor_2, 1); loop exit when VM.Get_Steps > 500; VM.Step; Assert(VM.Get_Queue_Size <= Q_Limit, "queue limit exceeded"); end loop; Assert(VM.Get_Total = 2, "wrong number of executables in the VM"); Assert(VM.Get_Steps > 500, "wrong number of steps"); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_11) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 11: FOLD and PEEK."); end Name; procedure Run_Test (T : in out Test_11) is Tuple_Index : constant := 3; new_tuple : reference_type := (memory => local, index => Tuple_Index); data_start : reference_type := (memory => local, index => 0); data_count : reference_type := (memory => fixed, index => 0); peek_1 : reference_type := (memory => fixed, index => 1); peek_2 : reference_type := (memory => fixed, index => 2); peek_3 : reference_type := (memory => fixed, index => 3); data_peek : reference_type := (memory => local, index => 4); Tuple_Layout : kv.avm.Tuples.Map_Type; Fold_List : aliased constant Reference_Array_Type := (F3, L1, L2); use kv.avm.Assemblers; begin Put_Line("test 11"); Tuple_Layout.Set(Fold_List'ACCESS); Assert(Tuple_Layout.Get.all(0).Index = 3, "Tuple_Layout(0)'s index is not 3."); --T.c(0) := (op_code => FOLD, a => new_tuple, x => data_start, y => data_count); T.c(0) := (op_code => Fold, lhs => new_tuple, rhs => F4); T.Mem_Set(L0, U(2)); -- target of data_start T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); T.Mem_Set(F0, U(3)); -- target of data_count T.Mem_Set(F1, U(0)); T.Mem_Set(F2, U(1)); T.Mem_Set(F3, U(2)); T.Mem_Set(F4, (format => Tuple_Map, Map => Tuple_Layout)); T.Step; Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); Assert(T.Mem_Get(L3).format = kv.avm.Registers.Tuple, "Target ('" & Data_Kind'IMAGE(T.Mem_Get(L3).format) & "') was not 'Tuple'."); T.c(1) := (op_code => PEEK, a => data_peek, x => new_tuple, y => peek_1); T.Step; Assert(T.Mem_Get(L4).format = kv.avm.Registers.Unsigned_Integer, "Peek 1 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Unsigned_Integer'."); Assert(T.Mem_Get(L4).unsigned_value = 2, "Peek 1 was not 2."); --T.c(2) := (op_code => peek, a => data_peek, x => new_tuple, y => peek_2); T.c(2) := Decode_Op_Code("PEEK_IMMEDIATE L4 := L3 [ 1 ]"); T.Step; Assert(T.Mem_Get(L4).format = kv.avm.Registers.Unsigned_Integer, "Peek 2 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Unsigned_Integer'."); Assert(T.Mem_Get(L4).unsigned_value = 4, "Peek 2 was not 4."); T.c(3) := (op_code => peek, a => data_peek, x => new_tuple, y => peek_3); T.Step; Assert(T.Mem_Get(L4).format = kv.avm.Registers.Unsigned_Integer, "Peek 3 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Unsigned_Integer'."); Assert(T.Mem_Get(L4).unsigned_value = 8, "Peek 3 was not 8."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_12) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 12: Blocking operation."); end Name; procedure Run_Test (T : in out Test_12) is use kv.avm.Registers; use kv.avm.Assemblers; use kv.avm.Instances; begin Put_Line("test 12"); --kv.avm.Log.Verbose := True; kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); T.i.Get_Frame.Set_Future(99); T.Mem_Set(F0, Make_Tuple_Map((L0, L1, L2))); T.Mem_Set(F1, (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 1)); T.Mem_Set(L0, U(113)); T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- L3 is the tuple (message arguments) -- L4 is the reply future if there is a reply T.Mem_Set(L5, (format => kv.avm.Registers.Actor_Reference, Instance => Fake_Ref)); T.c(0) := Decode_Op_Code("Fold L3 F0"); T.c(1) := Decode_Op_Code("ACTOR_CALL L4 := L3 => L5 . F1"); T.c(2) := Decode_Op_Code("NO_OP"); T.c(3) := Decode_Op_Code("PEEK_IMMEDIATE L6 := L4 [ 0 ]"); T.Step; T.Step; T.Step; T.Step; Assert(Fake_Machine.Message_Name.all = Msg_Name, "message was not posted."); Assert(T.Mem_Get(L4).format = kv.avm.Registers.Future, "L4 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Future'."); Assert(T.Mem_Get(L4).ID = Fake_Machine.Future, "L4 was not = Fake.Future."); Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Reply_To) = +T.i, "Reply_To error."); Assert(T.s = kv.avm.Control.Blocked, "Execution of PEEK_IMMEDIATE did not return blocked status."); Assert(T.i.Program_Counter = 3, "Program Counter did not hold at blocked instruction."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_13) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 13: EMIT."); end Name; procedure Run_Test (T : in out Test_13) is L24 : reference_type := (memory => local, index => 24); begin Put_Line("test 13"); T.c(0) := (op_code => emit, value => L24); T.Mem_Set(L24, U(13)); --Put_Line("<<<<<<<<<<<< emit (13):"); T.Step; --Put_Line(">>>>>>>>>>>>"); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_14) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 14: SELF_TAIL_SEND."); end Name; procedure Run_Test (T : in out Test_14) is use kv.avm.Registers; use kv.avm.Assemblers; begin Put_Line("test 14"); --kv.avm.Log.Verbose := True; kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); T.i.Get_Frame.Set_Future(88); T.Mem_Set(F0, Make_Tuple_Map((L0, L1, L2))); T.Mem_Set(F1, (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 1)); T.Mem_Set(L0, U(113)); -- target of Fold T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- L3 is the tuple (message arguments) T.c(0) := Decode_Op_Code("Fold L3 F0"); T.c(1) := Decode_Op_Code("SELF_TAIL_SEND L3 => F1"); T.Step; T.Step; T.f(0) := Decode_Op_Code("SET L13 I0"); T.Step; Assert(T.Mem_Get(L13).unsigned_value = 113, "SELF_TAIL_SEND did not transfer control to the test message."); -- Now we should be running FooBar (in T.f) end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_15) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 15: HALT_ACTOR."); end Name; procedure Run_Test (T : in out Test_15) is begin Put_Line("test 15"); Assert(T.i.Alive = True, "Healthy instance reports that it is *NOT* alive."); T.c(0) := (op_code => HALT_ACTOR); T.Step; Assert(T.i.Program_Counter = 0, "program counter did not stay at HALT_ACTOR instruction."); Assert(T.i.Alive = False, "Halted instance reports that it is still alive."); Assert(T.i.Is_Running = False, "Halted instance reports that it is still running."); end Run_Test; ----------------------------------------------------------------------------- function Make_Code(Code : kv.avm.Instructions.Code_Type) return kv.avm.Instructions.Code_Access is Code_Pointer : kv.avm.Instructions.Code_Access; begin Code_Pointer := new kv.avm.Instructions.Code_Type'(Code); return Code_Pointer; end Make_Code; ----------------------------------------------------------------------------- function Name (T : Test_16) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 16: Machine test."); end Name; Test_16_Actor_Name : aliased constant String := "Test_16_Actor"; Test_16_Return_1 : aliased constant String := "Return_1"; procedure Run_Test (T : in out Test_16) is pragma Unreferenced (T); VM : aliased kv.avm.Machines.Machine_Type; CPU : aliased kv.avm.Processors.Processor_Type; Instance_Factory : aliased kv.avm.Instances.Instance_Factory; Actor_Pointer : kv.avm.Actors.Actor_Access; Constructor : kv.avm.Instructions.Code_Access; Subroutine : kv.avm.Instructions.Code_Access; Instance_1 : kv.avm.Actor_References.Actor_Reference_Type; Data : aliased kv.avm.Tuples.Tuple_Type; Constants : kv.avm.Memories.Register_Array_Type; Registers : kv.avm.Memories.Register_Array_Type; Status : kv.avm.Control.Status_Type; Message : kv.avm.Messages.Message_Type; begin Put_Line("test 16"); VM.Initialize(CPU'UNCHECKED_ACCESS, Instance_Factory'UNCHECKED_ACCESS); CPU.Initialize(VM'UNCHECKED_ACCESS); Constructor := Make_Code(((op_code => REPLY, value => F1), (op_code => STOP_FRAME))); Constants.Initialize((U(0), U(1))); Actor_Pointer := kv.avm.Actors.New_Actor(Test_16_Actor_Name, Constructor, 3, Constants); Subroutine := Make_Code(((op_code => SET, lhs => L0, rhs => F1), (op_code => EMIT, value => L0), (op_code => REPLY, value => L0), (op_code => STOP_FRAME))); Actor_Pointer.Add_Method(New_Method(Test_16_Return_1, Subroutine)); VM.New_Actor(Test_16_Actor_Name, Instance_1); Registers.Initialize((U(0), U(1))); Data.Initialize; Data.Fold(Registers); Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Instance_1, Message_Name => "CONSTRUCTOR", Data => Data, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); Message.Finalize; Assert(VM.Get_Total = 1, "There should be one actor total."); Assert(VM.Get_Active = 1, "There should be one active actor."); Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Instance_1, Message_Name => Test_16_Return_1, Data => Data, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); while not VM.Done loop VM.Step; end loop; Assert(VM.Get_Steps = 5, "5 steps should have been taken."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_17) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 17: Multi-actor messaging."); end Name; Test_17_Calculator : aliased constant String := "Test_17_Calculator"; procedure Run_Test (T : in out Test_17) is pragma Unreferenced (T); VM : aliased kv.avm.Machines.Machine_Type; CPU : aliased kv.avm.Processors.Processor_Type; Instance_Factory : aliased kv.avm.Instances.Instance_Factory; Actor_Pointer : kv.avm.Actors.Actor_Access; Actor_Pointer2 : kv.avm.Actors.Actor_Access; Constructor : kv.avm.Instructions.Code_Access; Constructor2 : kv.avm.Instructions.Code_Access; Subroutine : kv.avm.Instructions.Code_Access; Subroutine2 : kv.avm.Instructions.Code_Access; Constants : kv.avm.Memories.Register_Array_Type; ConstantI2 : kv.avm.Memories.Register_Array_Type; Instance_1 : kv.avm.Actor_References.Actor_Reference_Type; Data : aliased kv.avm.Tuples.Tuple_Type; T1 : aliased kv.avm.Tuples.Tuple_Type; T2 : aliased kv.avm.Tuples.Tuple_Type; Rp : access constant kv.avm.Memories.Register_Set_Type; Registers : kv.avm.Memories.Register_Array_Type; RegisterI2 : kv.avm.Memories.Register_Array_Type; Status : kv.avm.Control.Status_Type; Message : kv.avm.Messages.Message_Type; use kv.avm.Registers; begin Put_Line("test 17"); Registers.Initialize((U(0), U(1))); T1.Initialize; T1.Fold(Registers); T2 := T1; Rp := T2.Unfolded; Assert(Rp /= null, "Rp should not be null."); VM.Initialize(CPU'UNCHECKED_ACCESS, Instance_Factory'UNCHECKED_ACCESS); CPU.Initialize(VM'UNCHECKED_ACCESS); Constructor := Make_Code(((op_code => REPLY, value => F1), (op_code => STOP_FRAME))); Constants.Initialize((U(0), U(1), U(2), U(3), U(127), U(137), U(147), U(227), U(237), U(247), U(327), U(337), U(347), (format => Actor_Definition, Actor_Kind => +Test_17_Calculator), (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 2), Make_Tuple_Map((F4, F5, F6)), Make_Tuple_Map((F7, F8, F9)), Make_Tuple_Map((F10, F11, F12)) )); Actor_Pointer := kv.avm.Actors.New_Actor (Name => "Actor17", Constructor => Constructor, Attribute_Count => 3, Fixed_Registers => Constants, Parent => null); Subroutine := Make_Code(((op_code => NEW_ACTOR, a => L1, y => F13, x => F1), (op_code => NEW_ACTOR, a => L2, y => F13, x => F2), (op_code => NEW_ACTOR, a => L3, y => F13, x => F3), --(op_code => FOLD, a => L4, x => F4, y => F3), (op_code => Fold, lhs => L4, rhs => F15), --(op_code => SEND, reply => True, tail => False, message => L4, actor => L1, profile => F14), (op_code => ACTOR_CALL, rply_5a1 => L5, args_5a1 => L4, actr_5a1 => L1, mdef_5a1 => F14), --(op_code => FOLD, a => L6, x => F7, y => F3), (op_code => Fold, lhs => L6, rhs => F16), --(op_code => SEND, reply => True, tail => False, message => L6, actor => L2, profile => F14), (op_code => ACTOR_CALL, rply_5a1 => L7, args_5a1 => L6, actr_5a1 => L2, mdef_5a1 => F14), --(op_code => FOLD, a => L8, x => F10, y => F3), (op_code => Fold, lhs => L8, rhs => F17), --(op_code => SEND, reply => True, tail => False, message => L8, actor => L3, profile => F14), (op_code => ACTOR_CALL, rply_5a1 => L9, args_5a1 => L8, actr_5a1 => L3, mdef_5a1 => F14), (op_code => PEEK, a => L10, x => L5, y => F0), (op_code => PEEK, a => L11, x => L5, y => F1), (op_code => PEEK, a => L12, x => L7, y => F0), (op_code => PEEK, a => L13, x => L7, y => F1), (op_code => PEEK, a => L15, x => L9, y => F0), (op_code => PEEK, a => L16, x => L9, y => F1), (op_code => COMPUTE, action => add, result => L0, left => F0, right => L10), (op_code => COMPUTE, action => add, result => L0, left => L0, right => L11), (op_code => COMPUTE, action => add, result => L0, left => L0, right => L12), (op_code => COMPUTE, action => add, result => L0, left => L0, right => L13), (op_code => COMPUTE, action => add, result => L0, left => L0, right => L15), (op_code => COMPUTE, action => add, result => L0, left => L0, right => L16), (op_code => EMIT, value => L0), (op_code => TRAP, a => L17, x => F1, y => L0), (op_code => REPLY, value => L0), (op_code => STOP_FRAME))); Actor_Pointer.Add_Method(New_Method("Go", Subroutine)); VM.New_Actor("Actor17", Instance_1); Assert(VM.Get_Total = 1, "There should be one actor total."); Assert(VM.Get_Active = 1, "There should be one active actor."); RegisterI2.Initialize((U(0), U(1))); Data.Initialize; Data.Fold(RegisterI2); Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Instance_1, Message_Name => "CONSTRUCTOR", Data => Data, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); Message.Finalize; Message.Initialize (Source => kv.avm.Actor_References.Null_Reference, Reply_To => kv.avm.Actor_References.Null_Reference, Destination => Instance_1, Message_Name => "Go", Data => Data, Future => kv.avm.Control.NO_FUTURE); VM.Post_Message (Message => Message, Status => Status); Constructor2 := Make_Code(((op_code => SET, lhs => A0, rhs => I0), (op_code => EMIT, value => A0), (op_code => REPLY, value => F1), (op_code => STOP_FRAME))); ConstantI2.Initialize((U(0), U(1), U(2), U(3), Make_Tuple_Map((L2, L3)) )); Actor_Pointer2 := kv.avm.Actors.New_Actor (Name => Test_17_Calculator, Constructor => Constructor2, Attribute_Count => 3, Fixed_Registers => ConstantI2, Parent => null); Subroutine2 := Make_Code(((op_code => COMPUTE, action => add, result => L0, left => I0, right => I1), (op_code => COMPUTE, action => add, result => L1, left => I1, right => I2), (op_code => COMPUTE, action => sub, result => L2, left => L1, right => L0), (op_code => SET, lhs => L3, rhs => A0), --(op_code => FOLD, a => L4, x => L2, y => F2), (op_code => Fold, lhs => L4, rhs => F4), (op_code => REPLY, value => L4), (op_code => STOP_FRAME))); Actor_Pointer2.Add_Method(New_Method(Msg_Name, Subroutine2)); while not VM.Done loop VM.Step; Assert(VM.Get_Steps < 200, "Too many steps have been taken."); end loop; Assert(VM.Get_Steps = 60, "Wrong step count."&Natural'IMAGE(VM.Get_Steps)); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_18) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 18: ADD, SUBTRACT, MULTIPLY, DIVIDE."); end Name; procedure Run_Test (T : in out Test_18) is a : reference_type := (memory => local, index => 0); x : reference_type := (memory => local, index => 1); y : reference_type := (memory => local, index => 2); s : reference_type := (memory => local, index => 3); m : reference_type := (memory => local, index => 4); d : reference_type := (memory => local, index => 5); b : reference_type := (memory => local, index => 6); begin Put_Line("test 18"); T.Mem_Set(L1, (format => Signed_Integer, signed_value => 3)); T.Mem_Set(L2, (format => Signed_Integer, signed_value => 5)); T.c(0) := (op_code => compute, action => Add, result => a, left => x, right => y); T.c(1) := (op_code => compute, action => Sub, result => s, left => y, right => x); T.c(2) := (op_code => compute, action => Mul, result => m, left => x, right => y); T.c(3) := (op_code => compute, action => Div, result => d, left => y, right => x); T.c(4) := (op_code => compute, action => Eq , result => b, left => y, right => x); T.c(5) := (op_code => compute, action => Neq, result => b, left => y, right => x); T.c(6) := (op_code => compute, action => L_t, result => b, left => x, right => x); T.c(7) := (op_code => compute, action => Lte, result => b, left => x, right => x); T.c(8) := (op_code => compute, action => G_t, result => b, left => x, right => y); T.c(9) := (op_code => compute, action => Gte, result => b, left => y, right => x); T.Step; Assert(T.Mem_Get(L0).format = Signed_Integer, "Local(0) was not 'Signed_Integer'."); Assert(T.Mem_Get(L0).signed_value = 8, "Local(0) was not 3+5=8."); Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); T.Step; Assert(T.Mem_Get(L3).format = Signed_Integer, "Local(3) was not 'Signed_Integer'."); Assert(T.Mem_Get(L3).signed_value = 2, "Local(3) was not 5-3=2."); Assert(T.i.Program_Counter = 2, "instruction did not advance pc to 2."); T.Step; Assert(T.Mem_Get(L4).format = Signed_Integer, "Local(4) was not 'Signed_Integer'."); Assert(T.Mem_Get(L4).signed_value = 15, "Local(4) was not 3*5=15."); Assert(T.i.Program_Counter = 3, "instruction did not advance pc to 3."); T.Step; Assert(T.Mem_Get(L5).format = Signed_Integer, "Local(5) was not 'Signed_Integer'."); Assert(T.Mem_Get(L5).signed_value = 1, "Local(5) was not 5/3=1."); Assert(T.i.Program_Counter = 4, "instruction did not advance pc to 4."); T.Step; Assert(T.Mem_Get(L6).format = Bit_Or_Boolean, "Local(6) was not 'Bit_Or_Boolean'."); Assert(T.Mem_Get(L6).bit = False, "Local(6) was not correct."); T.Step; Assert(T.Mem_Get(L6).bit = True, "Local(6) was not correct."); T.Step; Assert(T.Mem_Get(L6).bit = False, "Local(6) was not correct."); T.Step; Assert(T.Mem_Get(L6).bit = True, "Local(6) was not correct."); T.Step; Assert(T.Mem_Get(L6).bit = False, "Local(6) was not correct."); T.Step; Assert(T.Mem_Get(L6).bit = True, "Local(6) was not correct."); end Run_Test; ----------------------------------------------------------------------------- procedure Send_Reply_Tail_2 (T : in out Instruction_Test_Case; Do_Reply : in Boolean; Do_Tail : in Boolean) is use kv.avm.Registers; use kv.avm.Assemblers; begin --kv.avm.Log.Verbose := True; kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); T.i.Get_Frame.Set_Future(1027); T.Mem_Set(F0, Make_Tuple_Map((L0, L1, L2))); T.Mem_Set(F1, (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 1)); T.Mem_Set(F2, U(0)); -- peek_0 T.Mem_Set(F3, U(3)); T.Mem_Set(L0, U(113)); -- target of Fold T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- L3 is the tuple (message arguments) -- L4 is the reply future if there is a reply T.Mem_Set(L5, (format => kv.avm.Registers.Actor_Reference, Instance => Fake_Ref)); T.c(0) := Decode_Op_Code("Fold L3 F0"); if Do_Reply then if Do_Tail then T.c(1) := Decode_Op_Code("ACTOR_TAIL_CALL L3 => L5 . F1"); --!@#$ else T.c(1) := Decode_Op_Code("ACTOR_CALL L4 := L3 => L5 . F1"); end if; else if Do_Tail then T.c(1) := Decode_Op_Code("ACTOR_TAIL_SEND L3 => L5 . F1"); --!@#$ else T.c(1) := Decode_Op_Code("ACTOR_SEND L3 => L5 . F1"); end if; end if; T.Step; T.Step; Assert(Fake_Machine.Posted = 27, "message was not posted."); Assert(Fake_Machine.Message_Name.all = Msg_Name, "message name error."); Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Destination) = +(Fake_Instance'ACCESS), "Destination error."); Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Source) = +T.i, "Source error."); Assert(Fake_Machine.Data.Peek(0).unsigned_value = 113, "Tuple error."); if Do_Reply then if Do_Tail then Assert(T.Mem_Get(L4).format /= kv.avm.Registers.Future, "local 4 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') should not be 'Future'."); Assert(Fake_Machine.Reply_To = T.i.Get_Frame.Get_Invoker, "Do_Tail Reply_To error."); Assert(Fake_Machine.Future = 1027, "Fake.Future was not 1027."); else Assert(T.Mem_Get(L4).format = kv.avm.Registers.Future, "local 4 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Future'."); Assert(T.Mem_Get(L4).ID >= 3, "local 4 was not >= 3."); Assert(T.Mem_Get(L4).ID = Fake_Machine.Future, "local 4 was not = Fake.Future."); Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Reply_To) = +T.i, "Reply_To error."); end if; else if Do_Tail then Assert(T.Mem_Get(L4).format /= kv.avm.Registers.Future, "local 4 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') should not be 'Future'."); Assert(Fake_Machine.Reply_To = T.i.Get_Frame.Get_Invoker, "Do_Tail Reply_To error."); else Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Reply_To) = +T.i, "Reply_To error."); end if; end if; end Send_Reply_Tail_2; ----------------------------------------------------------------------------- function Name (T : Test_19) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 19: SELF_CALL."); end Name; procedure Run_Test (T : in out Test_19) is use kv.avm.Registers; use kv.avm.Assemblers; begin --kv.avm.Log.Verbose := True; Put_Line("test 19"); kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); T.i.Get_Frame.Set_Future(1027); T.Mem_Set(F0, String_To_Tuple_Map("[ L0 L1 L2]")); T.Mem_Set(F1, (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 1)); T.Mem_Set(F2, U(0)); -- peek_0 T.Mem_Set(F3, U(3)); T.Mem_Set(L0, U(113)); -- target of Fold T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- local 3 is the tuple (message arguments) -- local 4 is the reply future if there is a reply T.c(0) := Decode_Op_Code("Fold L3 F0"); T.c(1) := Decode_Op_Code("SELF_CALL L4 := L3 => F1"); T.c(2) := Decode_Op_Code("PEEK L7 L4 F2"); T.Step; T.Step; -- L4 should be a future Assert(T.Mem_Get(L4).format = kv.avm.Registers.Future, "local 4 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Future'."); Assert(T.Mem_Get(L4).ID >= 1, "local 4 was not >= 1."); T.f(0) := Decode_Op_Code("COMPUTE L6 := I0 + F3"); T.f(1) := Decode_Op_Code("REPLY L6"); T.Step; T.Step; -- L4 should now be a tuple returned from FooBar. Assert(T.Mem_Get(L4).format = kv.avm.Registers.Tuple, "local 4 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Tuple'."); T.Step; Assert(T.Mem_Get(L7).format = kv.avm.Registers.Unsigned_Integer, "Peek 0 ('" & Data_Kind'IMAGE(T.Mem_Get(L4).format) & "') was not 'Unsigned_Integer'."); Assert(T.Mem_Get(L7).unsigned_value = 116, "Peek 0 was not 116."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_20) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 20: ACTOR_CALL."); end Name; procedure Run_Test (T : in out Test_20) is begin Put_Line("test 20"); Send_Reply_Tail_2(Instruction_Test_Case(T), true, false); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_21) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 21: ACTOR_TAIL_CALL."); end Name; procedure Run_Test (T : in out Test_21) is begin Put_Line("test 21"); Send_Reply_Tail_2(Instruction_Test_Case(T), true, true); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_22) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 22: ACTOR_TAIL_SEND."); end Name; procedure Run_Test (T : in out Test_22) is begin Put_Line("test 22"); Send_Reply_Tail_2(Instruction_Test_Case(T), false, true); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_23) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 23: ACTOR_SEND."); end Name; procedure Run_Test (T : in out Test_23) is begin Put_Line("test 23"); Send_Reply_Tail_2(Instruction_Test_Case(T), false, false); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_24) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 24: ASSERT."); end Name; procedure Run_Test (T : in out Test_24) is use kv.avm.Assemblers; begin Put_Line("test 24"); --kv.avm.Log.Verbose := True; T.Mem_Set(L0, B(True)); T.Mem_Set(L1, B(False)); T.c(0) := Decode_Op_Code("ASSERT L0"); T.c(1) := Decode_Op_Code("ASSERT L1"); T.Step; Assert(T.i.Program_Counter = 1, "instruction did not advance pc to 1."); T.Step; Assert(T.i.Program_Counter = 1, "pc did not stay at 1 (failed assertion)."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_25) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 25: SELF_SEND."); end Name; procedure Run_Test (T : in out Test_25) is use kv.avm.Registers; use kv.avm.Assemblers; begin Put_Line("test 25"); --kv.avm.Log.Verbose := True; kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); T.i.Get_Frame.Set_Future(13); T.Mem_Set(F0, String_To_Tuple_Map("[ L0 L1 L2]")); T.Mem_Set(F1, (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 1)); T.Mem_Set(L0, U(113)); -- target of Fold T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- local 3 is the tuple (message arguments) T.c(0) := Decode_Op_Code("FOLD L3 F0"); T.c(1) := Decode_Op_Code("SELF_SEND L3 => F1"); T.c(2) := Decode_Op_Code("REPLY L3"); T.Step; Put_Line("after step 1"); T.Step; Put_Line("after step 2"); Assert(Fake_Machine.Posted = 27, "message was not posted."); Assert(Fake_Machine.Message_Name.all = Msg_Name, "message name error."); Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Source) = +T.i, "Source error."); Assert(kv.avm.actor_pool.Resolve(Fake_Machine.Destination) = +T.i, "Destination error."); T.Step; Put_Line("after step 3"); Assert(T.i.Program_Counter = 0, "processing did not complete normally."); end Run_Test; ----------------------------------------------------------------------------- function Name (T : Test_26) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("test 26: Deferred."); end Name; procedure Run_Test (T : in out Test_26) is use kv.avm.Registers; use kv.avm.Assemblers; begin Put_Line("test 26"); kv.avm.Log.Verbose := True; -- Send a message but have it not go out because it is deferred Fake_Machine.Post_Command_Behavior := Fake_Vm.Deferred; -- undefer instances -- see that the message is sent properly kv.avm.actor_pool.Add(Fake_Invoker'ACCESS, Fake_Invoker_Ref); T.i.Get_Frame.Set_Invoker(Fake_Invoker_Ref); T.i.Get_Frame.Set_Future(13); T.Mem_Set(F0, String_To_Tuple_Map("[ L0 L1 L2]")); T.Mem_Set(F1, (format => Message_Definition, Message_Name => +Msg_Name, Send_Count => 3, Reply_Count => 1)); T.Mem_Set(L0, U(113)); -- target of Fold T.Mem_Set(L1, U(4)); T.Mem_Set(L2, U(8)); -- local 3 is the tuple (message arguments) T.Mem_Set(L5, (format => kv.avm.Registers.Actor_Reference, Instance => Fake_Ref)); T.c(0) := Decode_Op_Code("FOLD L3 F0"); T.c(1) := Decode_Op_Code("ACTOR_SEND L3 => L5 . F1"); T.c(2) := Decode_Op_Code("SET L6 := L1 = L2"); T.c(3) := Decode_Op_Code("ASSERT L6"); -- this will fail if executed (it should not be executed T.Step; Put_Line("after step 1"); T.Step; Put_Line("after step 2"); Assert(T.s = Deferred, "Fake machine should have returned deferred status."); Assert(T.i.Program_Counter = 1, "PC didn't stay at deferred instruction."); T.Step; Put_Line("after step 3"); Assert(T.s = Deferred, "Fake machine should have returned deferred status."); Assert(T.i.Program_Counter = 1, "PC didn't stay at deferred instruction."); Fake_Machine.Post_Command_Behavior := Fake_Vm.Normal; T.Step; Put_Line("after step 4"); Assert(T.s = Active, "Fake machine should have returned active status."); Assert(T.i.Program_Counter = 2, "PC didn't advance."); T.Step; Put_Line("after step 5"); Assert(T.i.Program_Counter = 3, "processing did not advance normally."); end Run_Test; end kv.avm.Test;
41.627158
145
0.574473
139c89268332a14b9a63134ad64d9311bab20573
240
adb
Ada
src/ada/src/tests/test.adb
VVCAS-Sean/OpenUxAS
dcd7be29d182d278a5387908f568d6f8a06b79ee
[ "NASA-1.3" ]
88
2017-08-24T07:02:01.000Z
2022-03-18T04:34:17.000Z
src/ada/src/tests/test.adb
VVCAS-Sean/OpenUxAS
dcd7be29d182d278a5387908f568d6f8a06b79ee
[ "NASA-1.3" ]
46
2017-06-08T18:18:08.000Z
2022-03-15T18:24:43.000Z
src/ada/src/tests/test.adb
VVCAS-Sean/OpenUxAS
dcd7be29d182d278a5387908f568d6f8a06b79ee
[ "NASA-1.3" ]
53
2017-06-22T14:48:05.000Z
2022-02-15T16:59:38.000Z
with Ada.Text_IO; use Ada.Text_IO; with Common_Formal_Containers; use Common_Formal_Containers; procedure Test is S : Int64_Set; use Int64_Sets; begin Put_Line ("Starting"); Include (S, 1000); Put_Line ("Done"); end Test;
18.461538
61
0.716667
4b27c7db1fe23e80a49471d0a6db60cdf9857527
6,825
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/g-shsh64.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/g-shsh64.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/g-shsh64.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- G N A T . S E C U R E _ H A S H E S . S H A 2 _ 6 4 -- -- -- -- S p e c -- -- -- -- Copyright (C) 2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides support for the 64-bit FIPS PUB 180-3 functions -- SHA-384 and SHA-512. -- This is an internal unit and should not be used directly in applications. -- Use GNAT.SHA384 and GNAT.SHA512 instead. with Interfaces; with GNAT.Byte_Swapping; with GNAT.Secure_Hashes.SHA2_Common; package GNAT.Secure_Hashes.SHA2_64 is subtype Word is Interfaces.Unsigned_64; package Hash_State is new Hash_Function_State (Word => Word, Swap => GNAT.Byte_Swapping.Swap8, Hash_Bit_Order => System.High_Order_First); -- SHA-384 and SHA-512 operate on 64-bit big endian words K : Hash_State.State (0 .. 79) := (16#428a2f98d728ae22#, 16#7137449123ef65cd#, 16#b5c0fbcfec4d3b2f#, 16#e9b5dba58189dbbc#, 16#3956c25bf348b538#, 16#59f111f1b605d019#, 16#923f82a4af194f9b#, 16#ab1c5ed5da6d8118#, 16#d807aa98a3030242#, 16#12835b0145706fbe#, 16#243185be4ee4b28c#, 16#550c7dc3d5ffb4e2#, 16#72be5d74f27b896f#, 16#80deb1fe3b1696b1#, 16#9bdc06a725c71235#, 16#c19bf174cf692694#, 16#e49b69c19ef14ad2#, 16#efbe4786384f25e3#, 16#0fc19dc68b8cd5b5#, 16#240ca1cc77ac9c65#, 16#2de92c6f592b0275#, 16#4a7484aa6ea6e483#, 16#5cb0a9dcbd41fbd4#, 16#76f988da831153b5#, 16#983e5152ee66dfab#, 16#a831c66d2db43210#, 16#b00327c898fb213f#, 16#bf597fc7beef0ee4#, 16#c6e00bf33da88fc2#, 16#d5a79147930aa725#, 16#06ca6351e003826f#, 16#142929670a0e6e70#, 16#27b70a8546d22ffc#, 16#2e1b21385c26c926#, 16#4d2c6dfc5ac42aed#, 16#53380d139d95b3df#, 16#650a73548baf63de#, 16#766a0abb3c77b2a8#, 16#81c2c92e47edaee6#, 16#92722c851482353b#, 16#a2bfe8a14cf10364#, 16#a81a664bbc423001#, 16#c24b8b70d0f89791#, 16#c76c51a30654be30#, 16#d192e819d6ef5218#, 16#d69906245565a910#, 16#f40e35855771202a#, 16#106aa07032bbd1b8#, 16#19a4c116b8d2d0c8#, 16#1e376c085141ab53#, 16#2748774cdf8eeb99#, 16#34b0bcb5e19b48a8#, 16#391c0cb3c5c95a63#, 16#4ed8aa4ae3418acb#, 16#5b9cca4f7763e373#, 16#682e6ff3d6b2b8a3#, 16#748f82ee5defb2fc#, 16#78a5636f43172f60#, 16#84c87814a1f0ab72#, 16#8cc702081a6439ec#, 16#90befffa23631e28#, 16#a4506cebde82bde9#, 16#bef9a3f7b2c67915#, 16#c67178f2e372532b#, 16#ca273eceea26619c#, 16#d186b8c721c0c207#, 16#eada7dd6cde0eb1e#, 16#f57d4f7fee6ed178#, 16#06f067aa72176fba#, 16#0a637dc5a2c898a6#, 16#113f9804bef90dae#, 16#1b710b35131c471b#, 16#28db77f523047d84#, 16#32caab7b40c72493#, 16#3c9ebe0a15c9bebc#, 16#431d67c49c100d4c#, 16#4cc5d4becb3e42b6#, 16#597f299cfc657e2a#, 16#5fcb6fab3ad6faec#, 16#6c44198c4a475817#); -- Constants from FIPS PUB 180-3 function Sigma0 (X : Word) return Word; function Sigma1 (X : Word) return Word; function S0 (X : Word) return Word; function S1 (X : Word) return Word; pragma Inline (Sigma0, Sigma1, S0, S1); -- Elementary functions Sigma^512_0, Sigma^512_1, sigma^512_0, sigma^512_1 -- from FIPS PUB 180-3. procedure Transform is new SHA2_Common.Transform (Hash_State => Hash_State, K => K, Rounds => 80, Sigma0 => Sigma0, Sigma1 => Sigma1, S0 => S0, S1 => S1); SHA384_Init_State : constant Hash_State.State := (0 => 16#cbbb9d5dc1059ed8#, 1 => 16#629a292a367cd507#, 2 => 16#9159015a3070dd17#, 3 => 16#152fecd8f70e5939#, 4 => 16#67332667ffc00b31#, 5 => 16#8eb44a8768581511#, 6 => 16#db0c2e0d64f98fa7#, 7 => 16#47b5481dbefa4fa4#); SHA512_Init_State : constant Hash_State.State := (0 => 16#6a09e667f3bcc908#, 1 => 16#bb67ae8584caa73b#, 2 => 16#3c6ef372fe94f82b#, 3 => 16#a54ff53a5f1d36f1#, 4 => 16#510e527fade682d1#, 5 => 16#9b05688c2b3e6c1f#, 6 => 16#1f83d9abfb41bd6b#, 7 => 16#5be0cd19137e2179#); -- Initialization vectors from FIPS PUB 180-3 end GNAT.Secure_Hashes.SHA2_64;
51.315789
78
0.52293
41d99b1f628a72def0f2d52d7f5dbb337788ea1e
1,247
ads
Ada
llvm-gcc-4.2-2.9/gcc/ada/a-contai.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/a-contai.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/a-contai.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S -- -- -- -- S p e c -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ package Ada.Containers is pragma Pure; type Hash_Type is mod 2**32; type Count_Type is range 0 .. 2**31 - 1; end Ada.Containers;
54.217391
78
0.297514
4b5a8577e17f31daff9f534b982ea77e1b449f02
5,459
adb
Ada
src/helios-monitor.adb
stcarrez/helios
770055d87eaaa70a29a8a39190ecc8aa4e31b5be
[ "Apache-2.0" ]
1
2020-09-04T18:34:08.000Z
2020-09-04T18:34:08.000Z
src/helios-monitor.adb
stcarrez/helios
770055d87eaaa70a29a8a39190ecc8aa4e31b5be
[ "Apache-2.0" ]
null
null
null
src/helios-monitor.adb
stcarrez/helios
770055d87eaaa70a29a8a39190ecc8aa4e31b5be
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- helios-monitor -- Helios monitor -- Copyright (C) 2017 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Properties.Basic; with Util.Log.Loggers; package body Helios.Monitor is use type Helios.Schemas.Value_Index; Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Helios.Monitor"); List : Agent_Type_Access; -- ------------------------------ -- The timer handler executed when the timer deadline has passed. -- ------------------------------ overriding procedure Time_Handler (Agent : in out Agent_Type; Event : in out Util.Events.Timers.Timer_Ref'Class) is Data : Helios.Datas.Snapshot_Type_Access; begin Log.Debug ("Running agent {0}", Agent.Node.Name); Helios.Datas.Prepare (Agent.Data, Data); Agent_Type'Class (Agent).Collect (Data.all); Event.Repeat (Agent.Period); Helios.Datas.Finish (Data.all); end Time_Handler; -- ------------------------------ -- Create a new definition with the given name. The filter parameter allows to control -- which definition values are really needed. The "*" indicates that all values are required. -- Otherwise, it is a comma separated list of strings. A null definition is returned if -- the filter does not contain the definition name. -- ------------------------------ function Create_Definition (Agent : in Agent_Type; Name : in String; Filter : in String := "*") return Schemas.Definition_Type_Access is begin return Schemas.Create_Definition (Agent.Node, Name, Filter); end Create_Definition; -- ------------------------------ -- Add a definition to the agent. -- ------------------------------ procedure Add_Definition (Agent : in out Agent_Type; Def : in Schemas.Definition_Type_Access) is begin Schemas.Add_Definition (Agent.Node, Def); end Add_Definition; -- ------------------------------ -- Find a child definition with the given name. -- Returns null if there is no such definition. -- ------------------------------ function Find_Definition (Agent : in Agent_Type; Name : in String) return Schemas.Definition_Type_Access is use type Schemas.Definition_Type_Access; begin if Agent.Node = null or else Agent.Node.Child = null then return null; else return Schemas.Find_Definition (Agent.Node.Child, Name); end if; end Find_Definition; -- ------------------------------ -- Register the agent. -- ------------------------------ procedure Register (Agent : in Agent_Type_Access; Name : in String; Config : in Util.Properties.Manager) is begin Log.Info ("Register agent {0}", Name); Agent.Period := Get_Period (Config, "period", 1); Agent.Node := Schemas.Create_Definition (null, Name, "*", Schemas.V_NONE); Agent.Start (Config); if Agent.Node.Index > 0 then Agent.Next := List; List := Agent; end if; end Register; -- ------------------------------ -- Get the current report and prepare the plugin agents for a new snapshot. -- ------------------------------ function Get_Report return Helios.Datas.Report_Queue_Type is procedure Flush (Agent : in out Agent_Type'Class); procedure Flush (Agent : in out Agent_Type'Class) is begin Helios.Datas.Flush (Agent.Data); end Flush; begin Iterate (Flush'Access); return Helios.Datas.Get_Report; end Get_Report; -- ------------------------------ -- Iterate over the plugin agents that are registered and execute -- the <tt>Process</tt> procedure. -- ------------------------------ procedure Iterate (Process : not null access procedure (Agent : in out Agent_Type'Class)) is Agent : Agent_Type_Access := List; begin while Agent /= null loop Process (Agent.all); Agent := Agent.Next; end loop; end Iterate; -- ------------------------------ -- Get a period configuration parameter. -- ------------------------------ function Get_Period (Config : in Util.Properties.Manager; Name : in String; Default : in Natural) return Ada.Real_Time.Time_Span is Period : Integer := Util.Properties.Basic.Integer_Property.Get (Config, Name, Default); begin if Period <= 0 then Period := Default; end if; return Ada.Real_Time.Seconds (Period); end Get_Period; end Helios.Monitor;
38.443662
98
0.565488
2ea9735e56b593987972657c346b41b3737bdf9f
4,433
ads
Ada
source/nodes/program-nodes-assignment_statements.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-assignment_statements.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-assignment_statements.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
1
2019-10-16T09:05:27.000Z
2019-10-16T09:05:27.000Z
-- SPDX-FileCopyrightText: 2019 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Assignment_Statements; with Program.Element_Visitors; package Program.Nodes.Assignment_Statements is pragma Preelaborate; type Assignment_Statement is new Program.Nodes.Node and Program.Elements.Assignment_Statements.Assignment_Statement and Program.Elements.Assignment_Statements.Assignment_Statement_Text with private; function Create (Variable_Name : not null Program.Elements.Expressions .Expression_Access; Assignment_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Expression : not null Program.Elements.Expressions .Expression_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Assignment_Statement; type Implicit_Assignment_Statement is new Program.Nodes.Node and Program.Elements.Assignment_Statements.Assignment_Statement with private; function Create (Variable_Name : not null Program.Elements.Expressions .Expression_Access; Expression : not null Program.Elements.Expressions .Expression_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Assignment_Statement with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Assignment_Statement is abstract new Program.Nodes.Node and Program.Elements.Assignment_Statements.Assignment_Statement with record Variable_Name : not null Program.Elements.Expressions .Expression_Access; Expression : not null Program.Elements.Expressions .Expression_Access; end record; procedure Initialize (Self : in out Base_Assignment_Statement'Class); overriding procedure Visit (Self : not null access Base_Assignment_Statement; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Variable_Name (Self : Base_Assignment_Statement) return not null Program.Elements.Expressions.Expression_Access; overriding function Expression (Self : Base_Assignment_Statement) return not null Program.Elements.Expressions.Expression_Access; overriding function Is_Assignment_Statement (Self : Base_Assignment_Statement) return Boolean; overriding function Is_Statement (Self : Base_Assignment_Statement) return Boolean; type Assignment_Statement is new Base_Assignment_Statement and Program.Elements.Assignment_Statements.Assignment_Statement_Text with record Assignment_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Assignment_Statement_Text (Self : in out Assignment_Statement) return Program.Elements.Assignment_Statements .Assignment_Statement_Text_Access; overriding function Assignment_Token (Self : Assignment_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Assignment_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Assignment_Statement is new Base_Assignment_Statement with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Assignment_Statement_Text (Self : in out Implicit_Assignment_Statement) return Program.Elements.Assignment_Statements .Assignment_Statement_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Assignment_Statement) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Assignment_Statement) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Assignment_Statement) return Boolean; end Program.Nodes.Assignment_Statements;
33.839695
77
0.739905
4b39fe7177b8ec6032d5beefe1203e1cd0cec552
11,175
adb
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/style.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/style.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/style.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S T Y L E -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Atree; use Atree; with Casing; use Casing; with Csets; use Csets; with Einfo; use Einfo; with Errout; use Errout; with Namet; use Namet; with Nlists; use Nlists; with Opt; use Opt; with Sinfo; use Sinfo; with Sinput; use Sinput; with Stand; use Stand; with Stylesw; use Stylesw; package body Style is ----------------------- -- Body_With_No_Spec -- ----------------------- -- If the check specs mode (-gnatys) is set, then all subprograms must -- have specs unless they are parameterless procedures at the library -- level (i.e. they are possible main programs). procedure Body_With_No_Spec (N : Node_Id) is begin if Style_Check_Specs then if Nkind (Parent (N)) = N_Compilation_Unit then declare Spec : constant Node_Id := Specification (N); Defnm : constant Node_Id := Defining_Unit_Name (Spec); begin if Nkind (Spec) = N_Procedure_Specification and then Nkind (Defnm) = N_Defining_Identifier and then No (First_Formal (Defnm)) then return; end if; end; end if; Error_Msg_N ("(style) subprogram body has no previous spec", N); end if; end Body_With_No_Spec; --------------------------------- -- Check_Array_Attribute_Index -- --------------------------------- procedure Check_Array_Attribute_Index (N : Node_Id; E1 : Node_Id; D : Int) is begin if Style_Check_Array_Attribute_Index then if D = 1 and then Present (E1) then Error_Msg_N -- CODEFIX ("(style) index number not allowed for one dimensional array", E1); elsif D > 1 and then No (E1) then Error_Msg_N -- CODEFIX ("(style) index number required for multi-dimensional array", N); end if; end if; end Check_Array_Attribute_Index; ---------------------- -- Check_Identifier -- ---------------------- -- In check references mode (-gnatyr), identifier uses must be cased -- the same way as the corresponding identifier declaration. If standard -- references are checked (-gnatyn), then identifiers from Standard must -- be cased as in the Reference Manual. procedure Check_Identifier (Ref : Node_Or_Entity_Id; Def : Node_Or_Entity_Id) is Sref : Source_Ptr := Sloc (Ref); Sdef : Source_Ptr := Sloc (Def); Tref : Source_Buffer_Ptr; Tdef : Source_Buffer_Ptr; Nlen : Nat; Cas : Casing_Type; begin -- If reference does not come from source, nothing to check if not Comes_From_Source (Ref) then return; -- If previous error on either node/entity, ignore elsif Error_Posted (Ref) or else Error_Posted (Def) then return; -- Case of definition comes from source elsif Comes_From_Source (Def) then -- Check same casing if we are checking references if Style_Check_References then Tref := Source_Text (Get_Source_File_Index (Sref)); Tdef := Source_Text (Get_Source_File_Index (Sdef)); -- Ignore operator name case completely. This also catches the -- case of where one is an operator and the other is not. This -- is a phenomenon from rewriting of operators as functions, -- and is to be ignored. if Tref (Sref) = '"' or else Tdef (Sdef) = '"' then return; else while Tref (Sref) = Tdef (Sdef) loop -- If end of identifier, all done if not Identifier_Char (Tref (Sref)) then return; -- Otherwise loop continues else Sref := Sref + 1; Sdef := Sdef + 1; end if; end loop; -- Fall through loop when mismatch between identifiers -- If either identifier is not terminated, error. if Identifier_Char (Tref (Sref)) or else Identifier_Char (Tdef (Sdef)) then Error_Msg_Node_1 := Def; Error_Msg_Sloc := Sloc (Def); Error_Msg -- CODEFIX ("(style) bad casing of & declared#", Sref, Ref); return; -- Else end of identifiers, and they match else return; end if; end if; end if; -- Case of definition in package Standard elsif Sdef = Standard_Location or else Sdef = Standard_ASCII_Location then -- Check case of identifiers in Standard if Style_Check_Standard then Tref := Source_Text (Get_Source_File_Index (Sref)); -- Ignore operators if Tref (Sref) = '"' then null; -- Otherwise determine required casing of Standard entity else -- ASCII is all upper case if Entity (Ref) = Standard_ASCII then Cas := All_Upper_Case; -- Special handling for names in package ASCII elsif Sdef = Standard_ASCII_Location then declare Nam : constant String := Get_Name_String (Chars (Def)); begin -- Bar is mixed case if Nam = "bar" then Cas := Mixed_Case; -- All names longer than 4 characters are mixed case elsif Nam'Length > 4 then Cas := Mixed_Case; -- All names shorter than 4 characters (other than Bar, -- which we already tested for specially) are Upper case. else Cas := All_Upper_Case; end if; end; -- All other entities are in mixed case else Cas := Mixed_Case; end if; Nlen := Length_Of_Name (Chars (Ref)); -- Now check if we have the right casing if Determine_Casing (Tref (Sref .. Sref + Source_Ptr (Nlen) - 1)) = Cas then null; else Name_Len := Integer (Nlen); Name_Buffer (1 .. Name_Len) := String (Tref (Sref .. Sref + Source_Ptr (Nlen) - 1)); Set_Casing (Cas); Error_Msg_Name_1 := Name_Enter; Error_Msg_N -- CODEFIX ("(style) bad casing of %% declared in Standard", Ref); end if; end if; end if; end if; end Check_Identifier; ------------------------ -- Missing_Overriding -- ------------------------ procedure Missing_Overriding (N : Node_Id; E : Entity_Id) is Nod : Node_Id; begin -- Perform the check on source subprograms and on subprogram instances, -- because these can be primitives of untagged types. Note that such -- indicators were introduced in Ada 2005. We apply Comes_From_Source -- to Original_Node to catch the case of a procedure body declared with -- "is null" that has been rewritten as a normal empty body. if Style_Check_Missing_Overriding and then (Comes_From_Source (Original_Node (N)) or else Is_Generic_Instance (E)) and then Ada_Version_Explicit >= Ada_2005 then -- If the subprogram is an instantiation, its declaration appears -- within a wrapper package that precedes the instance node. Place -- warning on the node to avoid references to the original generic. if Nkind (N) = N_Subprogram_Declaration and then Is_Generic_Instance (E) then Nod := Next (Parent (Parent (List_Containing (N)))); else Nod := N; end if; if Nkind (N) = N_Subprogram_Body then Error_Msg_NE -- CODEFIX ("(style) missing OVERRIDING indicator in body of&", N, E); elsif Nkind (N) = N_Abstract_Subprogram_Declaration then Error_Msg_NE -- CODEFIX ("(style) missing OVERRIDING indicator in declaration of&", Specification (N), E); else Error_Msg_NE -- CODEFIX ("(style) missing OVERRIDING indicator in declaration of&", Nod, E); end if; end if; end Missing_Overriding; ----------------------------------- -- Subprogram_Not_In_Alpha_Order -- ----------------------------------- procedure Subprogram_Not_In_Alpha_Order (Name : Node_Id) is begin if Style_Check_Order_Subprograms then Error_Msg_N -- CODEFIX ("(style) subprogram body& not in alphabetical order", Name); end if; end Subprogram_Not_In_Alpha_Order; end Style;
35.252366
79
0.500045
2e2d70c2ed151bf12c32f84e758a4f2a0eb0fef4
1,628
ads
Ada
tier-1/xcb/source/thin/xcb-xcb_get_font_path_reply_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
2
2015-11-12T11:16:20.000Z
2021-08-24T22:32:04.000Z
tier-1/xcb/source/thin/xcb-xcb_get_font_path_reply_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
1
2018-06-05T05:19:35.000Z
2021-11-20T01:13:23.000Z
tier-1/xcb/source/thin/xcb-xcb_get_font_path_reply_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
null
null
null
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with swig; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_get_font_path_reply_t is -- Item -- type Item is record response_type : aliased Interfaces.Unsigned_8; pad0 : aliased Interfaces.Unsigned_8; sequence : aliased Interfaces.Unsigned_16; length : aliased Interfaces.Unsigned_32; path_len : aliased Interfaces.Unsigned_16; pad1 : aliased swig.int8_t_Array (0 .. 21); end record; -- Item_Array -- type Item_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_get_font_path_reply_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_get_font_path_reply_t.Item, Element_Array => xcb.xcb_get_font_path_reply_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_get_font_path_reply_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_get_font_path_reply_t.Pointer, Element_Array => xcb.xcb_get_font_path_reply_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_get_font_path_reply_t;
28.561404
78
0.662776
4b4c1f17c29dad0e58dd4adf81603c99bc220e98
480
ads
Ada
ch_conn.ads
byllgrim/iictl
8a2e32aef4df2ebb76ec6e5eb51ddc59d4fd8016
[ "CC0-1.0" ]
null
null
null
ch_conn.ads
byllgrim/iictl
8a2e32aef4df2ebb76ec6e5eb51ddc59d4fd8016
[ "CC0-1.0" ]
null
null
null
ch_conn.ads
byllgrim/iictl
8a2e32aef4df2ebb76ec6e5eb51ddc59d4fd8016
[ "CC0-1.0" ]
null
null
null
with Ada.Directories; package Ch_Conn is procedure Rejoin_Channels (Irc_Dir : String); procedure Scan_Server (Srv_Dir : Ada.Directories.Directory_Entry_Type); procedure Maintain_Channel_Connection (Srv_Dir : Ada.Directories.Directory_Entry_Type; Ch_Dir : Ada.Directories.Directory_Entry_Type); procedure Rejoin_Channel (Srv_Dir : Ada.Directories.Directory_Entry_Type; Ch_Dir : Ada.Directories.Directory_Entry_Type); end Ch_Conn;
36.923077
75
0.75625
04a1e1233dd7e44a7155258aa5b38bf17e3fe1be
9,788
ads
Ada
arch/ARM/RP/svd/rp2040/rp_svd-pads_bank0.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/RP/svd/rp2040/rp_svd-pads_bank0.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/RP/svd/rp2040/rp_svd-pads_bank0.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd. -- -- SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from rp2040.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package RP_SVD.PADS_BANK0 is pragma Preelaborate; --------------- -- Registers -- --------------- type VOLTAGE_SELECT_VOLTAGE_SELECT_Field is (-- Set voltage to 3.3V (DVDD >= 2V5) Val_3V3, -- Set voltage to 1.8V (DVDD <= 1V8) Val_1V8) with Size => 1; for VOLTAGE_SELECT_VOLTAGE_SELECT_Field use (Val_3V3 => 0, Val_1V8 => 1); -- Voltage select. Per bank control type VOLTAGE_SELECT_Register is record VOLTAGE_SELECT : VOLTAGE_SELECT_VOLTAGE_SELECT_Field := RP_SVD.PADS_BANK0.Val_3V3; -- unspecified Reserved_1_31 : HAL.UInt31 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for VOLTAGE_SELECT_Register use record VOLTAGE_SELECT at 0 range 0 .. 0; Reserved_1_31 at 0 range 1 .. 31; end record; -- Drive strength. type GPIO0_DRIVE_Field is (Val_2MA, Val_4MA, Val_8MA, Val_12MA) with Size => 2; for GPIO0_DRIVE_Field use (Val_2MA => 0, Val_4MA => 1, Val_8MA => 2, Val_12MA => 3); -- Pad control register type GPIO_Register is record -- Slew rate control. 1 = Fast, 0 = Slow SLEWFAST : Boolean := False; -- Enable schmitt trigger SCHMITT : Boolean := True; -- Pull down enable PDE : Boolean := True; -- Pull up enable PUE : Boolean := False; -- Drive strength. DRIVE : GPIO0_DRIVE_Field := RP_SVD.PADS_BANK0.Val_4MA; -- Input enable IE : Boolean := True; -- Output disable. Has priority over output enable from peripherals OD : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for GPIO_Register use record SLEWFAST at 0 range 0 .. 0; SCHMITT at 0 range 1 .. 1; PDE at 0 range 2 .. 2; PUE at 0 range 3 .. 3; DRIVE at 0 range 4 .. 5; IE at 0 range 6 .. 6; OD at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- Drive strength. type SWCLK_DRIVE_Field is (Val_2MA, Val_4MA, Val_8MA, Val_12MA) with Size => 2; for SWCLK_DRIVE_Field use (Val_2MA => 0, Val_4MA => 1, Val_8MA => 2, Val_12MA => 3); -- Pad control register type SWCLK_Register is record -- Slew rate control. 1 = Fast, 0 = Slow SLEWFAST : Boolean := False; -- Enable schmitt trigger SCHMITT : Boolean := True; -- Pull down enable PDE : Boolean := False; -- Pull up enable PUE : Boolean := True; -- Drive strength. DRIVE : SWCLK_DRIVE_Field := RP_SVD.PADS_BANK0.Val_4MA; -- Input enable IE : Boolean := True; -- Output disable. Has priority over output enable from peripherals OD : Boolean := True; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SWCLK_Register use record SLEWFAST at 0 range 0 .. 0; SCHMITT at 0 range 1 .. 1; PDE at 0 range 2 .. 2; PUE at 0 range 3 .. 3; DRIVE at 0 range 4 .. 5; IE at 0 range 6 .. 6; OD at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- Drive strength. type SWD_DRIVE_Field is (Val_2MA, Val_4MA, Val_8MA, Val_12MA) with Size => 2; for SWD_DRIVE_Field use (Val_2MA => 0, Val_4MA => 1, Val_8MA => 2, Val_12MA => 3); -- Pad control register type SWD_Register is record -- Slew rate control. 1 = Fast, 0 = Slow SLEWFAST : Boolean := False; -- Enable schmitt trigger SCHMITT : Boolean := True; -- Pull down enable PDE : Boolean := False; -- Pull up enable PUE : Boolean := True; -- Drive strength. DRIVE : SWD_DRIVE_Field := RP_SVD.PADS_BANK0.Val_4MA; -- Input enable IE : Boolean := True; -- Output disable. Has priority over output enable from peripherals OD : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SWD_Register use record SLEWFAST at 0 range 0 .. 0; SCHMITT at 0 range 1 .. 1; PDE at 0 range 2 .. 2; PUE at 0 range 3 .. 3; DRIVE at 0 range 4 .. 5; IE at 0 range 6 .. 6; OD at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; ----------------- -- Peripherals -- ----------------- type PADS_BANK0_Peripheral is record -- Voltage select. Per bank control VOLTAGE_SELECT : aliased VOLTAGE_SELECT_Register; -- Pad control register GPIO0 : aliased GPIO_Register; -- Pad control register GPIO1 : aliased GPIO_Register; -- Pad control register GPIO2 : aliased GPIO_Register; -- Pad control register GPIO3 : aliased GPIO_Register; -- Pad control register GPIO4 : aliased GPIO_Register; -- Pad control register GPIO5 : aliased GPIO_Register; -- Pad control register GPIO6 : aliased GPIO_Register; -- Pad control register GPIO7 : aliased GPIO_Register; -- Pad control register GPIO8 : aliased GPIO_Register; -- Pad control register GPIO9 : aliased GPIO_Register; -- Pad control register GPIO10 : aliased GPIO_Register; -- Pad control register GPIO11 : aliased GPIO_Register; -- Pad control register GPIO12 : aliased GPIO_Register; -- Pad control register GPIO13 : aliased GPIO_Register; -- Pad control register GPIO14 : aliased GPIO_Register; -- Pad control register GPIO15 : aliased GPIO_Register; -- Pad control register GPIO16 : aliased GPIO_Register; -- Pad control register GPIO17 : aliased GPIO_Register; -- Pad control register GPIO18 : aliased GPIO_Register; -- Pad control register GPIO19 : aliased GPIO_Register; -- Pad control register GPIO20 : aliased GPIO_Register; -- Pad control register GPIO21 : aliased GPIO_Register; -- Pad control register GPIO22 : aliased GPIO_Register; -- Pad control register GPIO23 : aliased GPIO_Register; -- Pad control register GPIO24 : aliased GPIO_Register; -- Pad control register GPIO25 : aliased GPIO_Register; -- Pad control register GPIO26 : aliased GPIO_Register; -- Pad control register GPIO27 : aliased GPIO_Register; -- Pad control register GPIO28 : aliased GPIO_Register; -- Pad control register GPIO29 : aliased GPIO_Register; -- Pad control register SWCLK : aliased SWCLK_Register; -- Pad control register SWD : aliased SWD_Register; end record with Volatile; for PADS_BANK0_Peripheral use record VOLTAGE_SELECT at 16#0# range 0 .. 31; GPIO0 at 16#4# range 0 .. 31; GPIO1 at 16#8# range 0 .. 31; GPIO2 at 16#C# range 0 .. 31; GPIO3 at 16#10# range 0 .. 31; GPIO4 at 16#14# range 0 .. 31; GPIO5 at 16#18# range 0 .. 31; GPIO6 at 16#1C# range 0 .. 31; GPIO7 at 16#20# range 0 .. 31; GPIO8 at 16#24# range 0 .. 31; GPIO9 at 16#28# range 0 .. 31; GPIO10 at 16#2C# range 0 .. 31; GPIO11 at 16#30# range 0 .. 31; GPIO12 at 16#34# range 0 .. 31; GPIO13 at 16#38# range 0 .. 31; GPIO14 at 16#3C# range 0 .. 31; GPIO15 at 16#40# range 0 .. 31; GPIO16 at 16#44# range 0 .. 31; GPIO17 at 16#48# range 0 .. 31; GPIO18 at 16#4C# range 0 .. 31; GPIO19 at 16#50# range 0 .. 31; GPIO20 at 16#54# range 0 .. 31; GPIO21 at 16#58# range 0 .. 31; GPIO22 at 16#5C# range 0 .. 31; GPIO23 at 16#60# range 0 .. 31; GPIO24 at 16#64# range 0 .. 31; GPIO25 at 16#68# range 0 .. 31; GPIO26 at 16#6C# range 0 .. 31; GPIO27 at 16#70# range 0 .. 31; GPIO28 at 16#74# range 0 .. 31; GPIO29 at 16#78# range 0 .. 31; SWCLK at 16#7C# range 0 .. 31; SWD at 16#80# range 0 .. 31; end record; PADS_BANK0_Periph : aliased PADS_BANK0_Peripheral with Import, Address => PADS_BANK0_Base; end RP_SVD.PADS_BANK0;
32.845638
74
0.538108
4be17586cca2406b3b6764ba9b490435f79cf2a1
3,662
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-tiflau.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-tiflau.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-tiflau.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T E X T _ I O . F L O A T _ A U X -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the routines for Ada.Text_IO.Float_IO that are -- shared among separate instantiations of this package. The routines in -- this package are identical semantically to those in Float_IO itself, -- except that generic parameter Num has been replaced by Long_Long_Float, -- and the default parameters have been removed because they are supplied -- explicitly by the calls from within the generic template. This package -- is also used by Ada.Text_IO.Fixed_IO, and Ada.Text_IO.Decimal_IO. private package Ada.Text_IO.Float_Aux is procedure Load_Real (File : File_Type; Buf : out String; Ptr : in out Natural); -- This is an auxiliary routine that is used to load a possibly signed -- real literal value from the input file into Buf, starting at Ptr + 1. procedure Get (File : File_Type; Item : out Long_Long_Float; Width : Field); procedure Put (File : File_Type; Item : Long_Long_Float; Fore : Field; Aft : Field; Exp : Field); procedure Gets (From : String; Item : out Long_Long_Float; Last : out Positive); procedure Puts (To : out String; Item : Long_Long_Float; Aft : Field; Exp : Field); end Ada.Text_IO.Float_Aux;
50.164384
78
0.476789
13969f61867d7dffec1cccf249984a38e862ce2b
755
adb
Ada
examples/example.adb
ray2501/AdaBaseXClient
016641d451a02015ca73cb25c5e9458f17b3904d
[ "MIT" ]
null
null
null
examples/example.adb
ray2501/AdaBaseXClient
016641d451a02015ca73cb25c5e9458f17b3904d
[ "MIT" ]
null
null
null
examples/example.adb
ray2501/AdaBaseXClient
016641d451a02015ca73cb25c5e9458f17b3904d
[ "MIT" ]
1
2021-07-08T01:14:51.000Z
2021-07-08T01:14:51.000Z
with Ada.Text_IO; with Ada.Exceptions; with AdaBaseXClient; use Ada.Exceptions; use AdaBaseXClient; procedure Example is begin if (Connect ("localhost", 1_984) = False) then Ada.Text_IO.Put_Line ("Connect failed."); return; else if (Authenticate ("admin", "admin") = False) then Ada.Text_IO.Put_Line ("Authenticate failed."); Close; return; end if; end if; declare Response : String := Execute ("xquery 1 to 10"); begin Ada.Text_IO.Put_Line (Response); end; Close; exception when Error : BaseXException => Ada.Text_IO.Put ("Exception: "); Ada.Text_IO.Put_Line (Exception_Name (Error)); Ada.Text_IO.Put (Exception_Message (Error)); end Example;
20.972222
55
0.638411
046079fb8d5dee90d39deb765a94e385f69374b7
31,510
adb
Ada
generated-sources/ada-server/mojang-api/src/server/com-github-asyncmc-mojang-api-ada-server-model-skeletons.adb
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/ada-server/mojang-api/src/server/com-github-asyncmc-mojang-api-ada-server-model-skeletons.adb
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/ada-server/mojang-api/src/server/com-github-asyncmc-mojang-api-ada-server-model-skeletons.adb
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
-- Mojang API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do not edit the class manually. with Swagger.Streams; with Swagger.Servers.Operation; package body com.github.asyncmc.mojang.api.ada.server.model.Skeletons is package body Skeleton is package API_Get_Orders_Statistics is new Swagger.Servers.Operation (Handler => Get_Orders_Statistics, Method => Swagger.Servers.POST, URI => URI_Prefix & "/orders/statistics"); -- Get statistics on the sales of Minecraft. procedure Get_Orders_Statistics (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Input : Swagger.Value_Type; Impl : Implementation_Type; Order_Statistics_Request_Type : OrderStatisticsRequest_Type; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.OrderStatisticsResponse_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Read (Req, Input); com.github.asyncmc.mojang.api.ada.server.model.Models.Deserialize (Input, "OrderStatisticsRequest_Type", Order_Statistics_Request_Type); Impl.Get_Orders_Statistics (Order_Statistics_Request_Type, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Get_Orders_Statistics; package API_Find_Unique_Ids_By_Name is new Swagger.Servers.Operation (Handler => Find_Unique_Ids_By_Name, Method => Swagger.Servers.POST, URI => URI_Prefix & "/profiles/minecraft"); -- Find the current UUID of multiple players at once procedure Find_Unique_Ids_By_Name (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Input : Swagger.Value_Type; Impl : Implementation_Type; String : Swagger.UString_Vectors.Vector; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.CurrentPlayerIDs_Type_Vectors.Vector; begin Swagger.Servers.Read (Req, Input); Deserialize (Input, "string", String); Impl.Find_Unique_Ids_By_Name (String, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Find_Unique_Ids_By_Name; package API_Get_Name_History is new Swagger.Servers.Operation (Handler => Get_Name_History, Method => Swagger.Servers.GET, URI => URI_Prefix & "/user/profiles/{stripped_uuid}/names"); -- Gets the full player's name history procedure Get_Name_History (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; Stripped_Uuid : Swagger.UString; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.NameChange_Type_Vectors.Vector; begin Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Impl.Get_Name_History (Stripped_Uuid, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Get_Name_History; package API_Get_Unique_Id_By_Name is new Swagger.Servers.Operation (Handler => Get_Unique_Id_By_Name, Method => Swagger.Servers.GET, URI => URI_Prefix & "/users/profiles/minecraft/{username}"); -- Find the UUID by name procedure Get_Unique_Id_By_Name (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; Username : Swagger.UString; P_At : Swagger.Nullable_Long; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.CurrentPlayerIDs_Type; begin Swagger.Servers.Get_Query_Parameter (Req, "at", P_At); Swagger.Servers.Get_Path_Parameter (Req, 1, Username); Impl.Get_Unique_Id_By_Name (Username, P_At, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Get_Unique_Id_By_Name; package API_Check_Security_Status is new Swagger.Servers.Operation (Handler => Check_Security_Status, Method => Swagger.Servers.GET, URI => URI_Prefix & "/user/security/location"); -- Check if security questions are needed procedure Check_Security_Status (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Impl.Check_Security_Status (Context); end Check_Security_Status; package API_List_Pending_Security_Questions is new Swagger.Servers.Operation (Handler => List_Pending_Security_Questions, Method => Swagger.Servers.GET, URI => URI_Prefix & "/user/security/challenges"); -- Get list of questions procedure List_Pending_Security_Questions (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.SecurityChallenge_Type_Vectors.Vector; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Impl.List_Pending_Security_Questions (Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end List_Pending_Security_Questions; package API_Send_Security_Question_Answers is new Swagger.Servers.Operation (Handler => Send_Security_Question_Answers, Method => Swagger.Servers.POST, URI => URI_Prefix & "/user/security/location"); -- Send back the answers procedure Send_Security_Question_Answers (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Input : Swagger.Value_Type; Impl : Implementation_Type; Security_Answer : com.github.asyncmc.mojang.api.ada.server.model.Models.SecurityAnswer_Type_Vectors.Vector; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Read (Req, Input); com.github.asyncmc.mojang.api.ada.server.model.Models.Deserialize (Input, "SecurityAnswer", Security_Answer); Impl.Send_Security_Question_Answers (Security_Answer, Context); end Send_Security_Question_Answers; package API_Change_Player_Skin is new Swagger.Servers.Operation (Handler => Change_Player_Skin, Method => Swagger.Servers.POST, URI => URI_Prefix & "/user/profile/{stripped_uuid}/skin"); -- Changes the player skin by URL procedure Change_Player_Skin (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; Stripped_Uuid : Swagger.UString; Url : Swagger.UString; Model : com.github.asyncmc.mojang.api.ada.server.model.Models.SkinModel_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Swagger.Servers.Get_Parameter (Context, "model", Model); Swagger.Servers.Get_Parameter (Context, "url", Url); Impl.Change_Player_Skin (Stripped_Uuid, Url, Model, Context); end Change_Player_Skin; package API_Reset_Player_Skin is new Swagger.Servers.Operation (Handler => Reset_Player_Skin, Method => Swagger.Servers.DELETE, URI => URI_Prefix & "/user/profile/{stripped_uuid}/skin"); -- Resets the player skin to default procedure Reset_Player_Skin (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; Stripped_Uuid : Swagger.UString; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Impl.Reset_Player_Skin (Stripped_Uuid, Context); end Reset_Player_Skin; package API_Upload_Player_Skin is new Swagger.Servers.Operation (Handler => Upload_Player_Skin, Method => Swagger.Servers.PUT, URI => URI_Prefix & "/user/profile/{stripped_uuid}/skin"); -- Changes the player skin by upload procedure Upload_Player_Skin (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Impl : Implementation_Type; Stripped_Uuid : Swagger.UString; File : Swagger.File_Part_Type; Model : com.github.asyncmc.mojang.api.ada.server.model.Models.SkinModel_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Swagger.Servers.Get_Parameter (Context, "model", Model); Swagger.Servers.Get_Parameter (Context, "file", File); Impl.Upload_Player_Skin (Stripped_Uuid, File, Model, Context); end Upload_Player_Skin; procedure Register (Server : in out Swagger.Servers.Application_Type'Class) is begin Swagger.Servers.Register (Server, API_Get_Orders_Statistics.Definition); Swagger.Servers.Register (Server, API_Find_Unique_Ids_By_Name.Definition); Swagger.Servers.Register (Server, API_Get_Name_History.Definition); Swagger.Servers.Register (Server, API_Get_Unique_Id_By_Name.Definition); Swagger.Servers.Register (Server, API_Check_Security_Status.Definition); Swagger.Servers.Register (Server, API_List_Pending_Security_Questions.Definition); Swagger.Servers.Register (Server, API_Send_Security_Question_Answers.Definition); Swagger.Servers.Register (Server, API_Change_Player_Skin.Definition); Swagger.Servers.Register (Server, API_Reset_Player_Skin.Definition); Swagger.Servers.Register (Server, API_Upload_Player_Skin.Definition); end Register; end Skeleton; package body Shared_Instance is -- Get statistics on the sales of Minecraft. procedure Get_Orders_Statistics (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Input : Swagger.Value_Type; Order_Statistics_Request_Type : OrderStatisticsRequest_Type; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.OrderStatisticsResponse_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Read (Req, Input); com.github.asyncmc.mojang.api.ada.server.model.Models.Deserialize (Input, "OrderStatisticsRequest_Type", Order_Statistics_Request_Type); Server.Get_Orders_Statistics (Order_Statistics_Request_Type, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Get_Orders_Statistics; package API_Get_Orders_Statistics is new Swagger.Servers.Operation (Handler => Get_Orders_Statistics, Method => Swagger.Servers.POST, URI => URI_Prefix & "/orders/statistics"); -- Find the current UUID of multiple players at once procedure Find_Unique_Ids_By_Name (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Input : Swagger.Value_Type; String : Swagger.UString_Vectors.Vector; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.CurrentPlayerIDs_Type_Vectors.Vector; begin Swagger.Servers.Read (Req, Input); Deserialize (Input, "string", String); Server.Find_Unique_Ids_By_Name (String, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Find_Unique_Ids_By_Name; package API_Find_Unique_Ids_By_Name is new Swagger.Servers.Operation (Handler => Find_Unique_Ids_By_Name, Method => Swagger.Servers.POST, URI => URI_Prefix & "/profiles/minecraft"); -- Gets the full player's name history procedure Get_Name_History (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Stripped_Uuid : Swagger.UString; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.NameChange_Type_Vectors.Vector; begin Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Server.Get_Name_History (Stripped_Uuid, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Get_Name_History; package API_Get_Name_History is new Swagger.Servers.Operation (Handler => Get_Name_History, Method => Swagger.Servers.GET, URI => URI_Prefix & "/user/profiles/{stripped_uuid}/names"); -- Find the UUID by name procedure Get_Unique_Id_By_Name (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Username : Swagger.UString; P_At : Swagger.Nullable_Long; Result : com.github.asyncmc.mojang.api.ada.server.model.Models.CurrentPlayerIDs_Type; begin Swagger.Servers.Get_Query_Parameter (Req, "at", P_At); Swagger.Servers.Get_Path_Parameter (Req, 1, Username); Server.Get_Unique_Id_By_Name (Username, P_At, Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end Get_Unique_Id_By_Name; package API_Get_Unique_Id_By_Name is new Swagger.Servers.Operation (Handler => Get_Unique_Id_By_Name, Method => Swagger.Servers.GET, URI => URI_Prefix & "/users/profiles/minecraft/{username}"); -- Check if security questions are needed procedure Check_Security_Status (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Server.Check_Security_Status (Context); end Check_Security_Status; package API_Check_Security_Status is new Swagger.Servers.Operation (Handler => Check_Security_Status, Method => Swagger.Servers.GET, URI => URI_Prefix & "/user/security/location"); -- Get list of questions procedure List_Pending_Security_Questions (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Result : com.github.asyncmc.mojang.api.ada.server.model.Models.SecurityChallenge_Type_Vectors.Vector; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Server.List_Pending_Security_Questions (Result, Context); if Context.Get_Status = 200 then Stream.Start_Document; com.github.asyncmc.mojang.api.ada.server.model.Models.Serialize (Stream, "", Result); Stream.End_Document; end if; end List_Pending_Security_Questions; package API_List_Pending_Security_Questions is new Swagger.Servers.Operation (Handler => List_Pending_Security_Questions, Method => Swagger.Servers.GET, URI => URI_Prefix & "/user/security/challenges"); -- Send back the answers procedure Send_Security_Question_Answers (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Input : Swagger.Value_Type; Security_Answer : com.github.asyncmc.mojang.api.ada.server.model.Models.SecurityAnswer_Type_Vectors.Vector; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Read (Req, Input); com.github.asyncmc.mojang.api.ada.server.model.Models.Deserialize (Input, "SecurityAnswer", Security_Answer); Server.Send_Security_Question_Answers (Security_Answer, Context); end Send_Security_Question_Answers; package API_Send_Security_Question_Answers is new Swagger.Servers.Operation (Handler => Send_Security_Question_Answers, Method => Swagger.Servers.POST, URI => URI_Prefix & "/user/security/location"); -- Changes the player skin by URL procedure Change_Player_Skin (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Stripped_Uuid : Swagger.UString; Url : Swagger.UString; Model : com.github.asyncmc.mojang.api.ada.server.model.Models.SkinModel_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Swagger.Servers.Get_Parameter (Context, "model", Model); Swagger.Servers.Get_Parameter (Context, "url", Url); Server.Change_Player_Skin (Stripped_Uuid, Url, Model, Context); end Change_Player_Skin; package API_Change_Player_Skin is new Swagger.Servers.Operation (Handler => Change_Player_Skin, Method => Swagger.Servers.POST, URI => URI_Prefix & "/user/profile/{stripped_uuid}/skin"); -- Resets the player skin to default procedure Reset_Player_Skin (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Stripped_Uuid : Swagger.UString; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Server.Reset_Player_Skin (Stripped_Uuid, Context); end Reset_Player_Skin; package API_Reset_Player_Skin is new Swagger.Servers.Operation (Handler => Reset_Player_Skin, Method => Swagger.Servers.DELETE, URI => URI_Prefix & "/user/profile/{stripped_uuid}/skin"); -- Changes the player skin by upload procedure Upload_Player_Skin (Req : in out Swagger.Servers.Request'Class; Reply : in out Swagger.Servers.Response'Class; Stream : in out Swagger.Servers.Output_Stream'Class; Context : in out Swagger.Servers.Context_Type) is Stripped_Uuid : Swagger.UString; File : Swagger.File_Part_Type; Model : com.github.asyncmc.mojang.api.ada.server.model.Models.SkinModel_Type; begin if not Context.Is_Authenticated then Context.Set_Error (401, "Not authenticated"); return; end if; Swagger.Servers.Get_Path_Parameter (Req, 1, Stripped_Uuid); Swagger.Servers.Get_Parameter (Context, "model", Model); Swagger.Servers.Get_Parameter (Context, "file", File); Server.Upload_Player_Skin (Stripped_Uuid, File, Model, Context); end Upload_Player_Skin; package API_Upload_Player_Skin is new Swagger.Servers.Operation (Handler => Upload_Player_Skin, Method => Swagger.Servers.PUT, URI => URI_Prefix & "/user/profile/{stripped_uuid}/skin"); procedure Register (Server : in out Swagger.Servers.Application_Type'Class) is begin Swagger.Servers.Register (Server, API_Get_Orders_Statistics.Definition); Swagger.Servers.Register (Server, API_Find_Unique_Ids_By_Name.Definition); Swagger.Servers.Register (Server, API_Get_Name_History.Definition); Swagger.Servers.Register (Server, API_Get_Unique_Id_By_Name.Definition); Swagger.Servers.Register (Server, API_Check_Security_Status.Definition); Swagger.Servers.Register (Server, API_List_Pending_Security_Questions.Definition); Swagger.Servers.Register (Server, API_Send_Security_Question_Answers.Definition); Swagger.Servers.Register (Server, API_Change_Player_Skin.Definition); Swagger.Servers.Register (Server, API_Reset_Player_Skin.Definition); Swagger.Servers.Register (Server, API_Upload_Player_Skin.Definition); end Register; protected body Server is -- Get statistics on the sales of Minecraft. procedure Get_Orders_Statistics (Order_Statistics_Request_Type : in OrderStatisticsRequest_Type; Result : out com.github.asyncmc.mojang.api.ada.server.model.Models.OrderStatisticsResponse_Type; Context : in out Swagger.Servers.Context_Type) is begin Impl.Get_Orders_Statistics (Order_Statistics_Request_Type, Result, Context); end Get_Orders_Statistics; -- Find the current UUID of multiple players at once procedure Find_Unique_Ids_By_Name (String : in Swagger.UString_Vectors.Vector; Result : out com.github.asyncmc.mojang.api.ada.server.model.Models.CurrentPlayerIDs_Type_Vectors.Vector; Context : in out Swagger.Servers.Context_Type) is begin Impl.Find_Unique_Ids_By_Name (String, Result, Context); end Find_Unique_Ids_By_Name; -- Gets the full player's name history procedure Get_Name_History (Stripped_Uuid : in Swagger.UString; Result : out com.github.asyncmc.mojang.api.ada.server.model.Models.NameChange_Type_Vectors.Vector; Context : in out Swagger.Servers.Context_Type) is begin Impl.Get_Name_History (Stripped_Uuid, Result, Context); end Get_Name_History; -- Find the UUID by name procedure Get_Unique_Id_By_Name (Username : in Swagger.UString; P_At : in Swagger.Nullable_Long; Result : out com.github.asyncmc.mojang.api.ada.server.model.Models.CurrentPlayerIDs_Type; Context : in out Swagger.Servers.Context_Type) is begin Impl.Get_Unique_Id_By_Name (Username, P_At, Result, Context); end Get_Unique_Id_By_Name; -- Check if security questions are needed procedure Check_Security_Status (Context : in out Swagger.Servers.Context_Type) is begin Impl.Check_Security_Status (Context); end Check_Security_Status; -- Get list of questions procedure List_Pending_Security_Questions (Result : out com.github.asyncmc.mojang.api.ada.server.model.Models.SecurityChallenge_Type_Vectors.Vector; Context : in out Swagger.Servers.Context_Type) is begin Impl.List_Pending_Security_Questions (Result, Context); end List_Pending_Security_Questions; -- Send back the answers procedure Send_Security_Question_Answers (Security_Answer : in com.github.asyncmc.mojang.api.ada.server.model.Models.SecurityAnswer_Type_Vectors.Vector; Context : in out Swagger.Servers.Context_Type) is begin Impl.Send_Security_Question_Answers (Security_Answer, Context); end Send_Security_Question_Answers; -- Changes the player skin by URL procedure Change_Player_Skin (Stripped_Uuid : in Swagger.UString; Url : in Swagger.UString; Model : in com.github.asyncmc.mojang.api.ada.server.model.Models.SkinModel_Type; Context : in out Swagger.Servers.Context_Type) is begin Impl.Change_Player_Skin (Stripped_Uuid, Url, Model, Context); end Change_Player_Skin; -- Resets the player skin to default procedure Reset_Player_Skin (Stripped_Uuid : in Swagger.UString; Context : in out Swagger.Servers.Context_Type) is begin Impl.Reset_Player_Skin (Stripped_Uuid, Context); end Reset_Player_Skin; -- Changes the player skin by upload procedure Upload_Player_Skin (Stripped_Uuid : in Swagger.UString; File : in Swagger.File_Part_Type; Model : in com.github.asyncmc.mojang.api.ada.server.model.Models.SkinModel_Type; Context : in out Swagger.Servers.Context_Type) is begin Impl.Upload_Player_Skin (Stripped_Uuid, File, Model, Context); end Upload_Player_Skin; end Server; end Shared_Instance; end com.github.asyncmc.mojang.api.ada.server.model.Skeletons;
45.078684
157
0.622596
13da51c7e0f4955e1ca345771746af89ed847322
3,076
adb
Ada
src/Ada/ewok-debug.adb
wookey-project/ewok-legacy
c973752dac3a0ebe3f7cfca062f50744578f051b
[ "Apache-2.0" ]
null
null
null
src/Ada/ewok-debug.adb
wookey-project/ewok-legacy
c973752dac3a0ebe3f7cfca062f50744578f051b
[ "Apache-2.0" ]
null
null
null
src/Ada/ewok-debug.adb
wookey-project/ewok-legacy
c973752dac3a0ebe3f7cfca062f50744578f051b
[ "Apache-2.0" ]
null
null
null
-- -- Copyright 2018 The wookey project team <[email protected]> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with types.c; with c.kernel; #if CONFIG_KERNEL_PANIC_WIPE with soc; with soc.layout; use soc.layout; #end if; #if not CONFIG_KERNEL_PANIC_FREEZE with m4; with m4.scb; #end if; package body ewok.debug with spark_mode => off is procedure log (s : string; nl : boolean := true) is c_string : types.c.c_string (1 .. s'length + 3); begin for i in s'range loop c_string(1 + i - s'first) := s(i); end loop; if nl then c_string(c_string'last - 2) := ASCII.CR; c_string(c_string'last - 1) := ASCII.LF; c_string(c_string'last) := ASCII.NUL; else c_string(c_string'last - 2) := ASCII.NUL; end if; c.kernel.log (c_string); c.kernel.flush; end log; procedure log (level : t_level; s : string) is begin case level is when DEBUG => log (BG_COLOR_ORANGE & s & BG_COLOR_BLACK); when INFO => log (BG_COLOR_BLUE & s & BG_COLOR_BLACK); when WARNING => log (BG_COLOR_ORANGE & s & BG_COLOR_BLACK); when ERROR .. ALERT => log (BG_COLOR_RED & s & BG_COLOR_BLACK); end case; end log; procedure alert (s : string) is begin log (BG_COLOR_RED & s & BG_COLOR_BLACK, false); end alert; procedure newline is s : constant types.c.c_string (1 .. 3) := (ASCII.CR, ASCII.LF, ASCII.NUL); begin c.kernel.log (s); c.kernel.flush; end newline; procedure panic (s : string) is begin log (BG_COLOR_RED & "panic: " & s & BG_COLOR_BLACK); #if CONFIG_KERNEL_PANIC_FREEZE loop null; end loop; #end if; #if CONFIG_KERNEL_PANIC_REBOOT m4.scb.reset; #end if; #if CONFIG_KERNEL_PANIC_WIPE declare sram : array (0 .. soc.layout.USER_RAM_SIZE) of types.byte with address => to_address(USER_RAM_BASE); begin -- Wiping the user applications in RAM before reseting. Kernel data -- and bss are not cleared because the are in use and there should -- be no sensible content in kernel data (secrets are hold by user tasks). -- TODO: Clearing IPC content sram := (others => 0); m4.scb.reset; end; #end if; end panic; end ewok.debug;
24.220472
83
0.616385
4b718a9ec687889dddc3d30ff0d2dc600dd14d76
8,195
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C37211A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT CONSTRAINT_ERROR IS RAISED BY A DISCRIMINANT CONSTRAINT -- IF A VALUE SPECIFIED FOR A DISCRIMINANT DOES NOT LIE IN THE RANGE -- OF THE DISCRIMINANT. THIS TEST CONTAINS CHECKS FOR SUBTYPE -- INDICATIONS WHERE THE TYPE MARK DENOTES A RECORD TYPE. -- R.WILLIAMS 8/28/86 -- EDS 7/14/98 AVOID OPTIMIZATION WITH REPORT; USE REPORT; PROCEDURE C37211A IS TYPE REC (D : POSITIVE) IS RECORD NULL; END RECORD; BEGIN TEST ( "C37211A", "CHECK THAT CONSTRAINT_ERROR IS RAISED BY " & "A DISCRIMINANT CONSTRAINT IF A VALUE " & "SPECIFIED FOR A DISCRIMINANT DOES NOT LIE " & "IN THE RANGE OF THE DISCRIMINANT WHERE THE " & "TYPE MARK DENOTES A RECORD TYPE" ); BEGIN DECLARE SUBTYPE SUBREC IS REC (IDENT_INT (-1)); BEGIN DECLARE SR : SUBREC; BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "ELABORATION OF SUBTYPE SUBREC " & INTEGER'IMAGE(SR.D)); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT DECLARATION OF " & "OBJECT SR" ); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT ELABORATION OF " & "SUBTYPE SUBREC" ); END; BEGIN DECLARE TYPE ARR IS ARRAY (1 .. 10) OF REC (IDENT_INT (-1)); BEGIN DECLARE AR : ARR; BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "ELABORATION OF TYPE ARR " & INTEGER'IMAGE(AR(1).D)); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT DECLARATION OF " & "OBJECT AR" ); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT ELABORATION OF " & "TYPE ARR" ); END; BEGIN DECLARE TYPE REC1 IS RECORD X : REC (IDENT_INT (-1)); END RECORD; BEGIN DECLARE R1 : REC1; BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "ELABORATION OF TYPE REC1 " & INTEGER'IMAGE(R1.X.D)); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT DECLARATION OF " & "OBJECT R1" ); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT ELABORATION OF " & "TYPE REC1" ); END; BEGIN DECLARE TYPE ACCREC IS ACCESS REC (IDENT_INT (-1)); BEGIN DECLARE ACR : ACCREC; BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "ELABORATION OF TYPE ACCREC " & INTEGER'IMAGE(ACR.D)); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT DECLARATION OF " & "OBJECT ACR" ); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT ELABORATION OF " & "TYPE ACCREC" ); END; BEGIN DECLARE TYPE NEWREC IS NEW REC (IDENT_INT (-1)); BEGIN DECLARE NR : NEWREC; BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "ELABORATION OF TYPE NEWREC " & INTEGER'IMAGE(NR.D)); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT DECLARATION OF " & "OBJECT NR" ); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT ELABORATION OF " & "TYPE NEWREC" ); END; BEGIN DECLARE R : REC (IDENT_INT (-1)); BEGIN FAILED ( "NO EXCEPTION RAISED AT THE DECLARATION OF " & "R " & INTEGER'IMAGE(R.D)); EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED INSIDE BLOCK " & "CONTAINING R" ); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT DECLARATION OF " & "R" ); END; BEGIN DECLARE TYPE REC_NAME IS ACCESS REC; BEGIN DECLARE RN : REC_NAME := NEW REC (IDENT_INT (-1)); BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "DECLARATION OF OBJECT RN " & INTEGER'IMAGE(RN.D)); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT DECLARATION " & "OF OBJECT RN" ); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT ELABORATION OF TYPE " & "REC_NAME" ); END; BEGIN DECLARE TYPE BAD_REC (D : POSITIVE := IDENT_INT (-1)) IS RECORD NULL; END RECORD; BEGIN DECLARE BR : BAD_REC; BEGIN FAILED ( "NO EXCEPTION RAISED AT THE " & "DECLARATION OF OBJECT BR " & INTEGER'IMAGE(BR.D)); END; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED AT DECLARATION " & "OF OBJECT BR" ); END; EXCEPTION WHEN OTHERS => FAILED ( "EXCEPTION RAISED AT ELABORATION OF TYPE " & "BAD_REC" ); END; RESULT; END C37211A;
33.72428
85
0.455644
4b478d1c5410afe4dd4e995278b93bc4af4bea26
228
adb
Ada
example_1.1/src/geometric_objects.adb
rogermc2/GA_Ada
0b55eb5691ac1c543c79c9a06ffdbe2e47e8f1be
[ "ISC" ]
3
2019-04-12T01:09:55.000Z
2021-02-24T18:17:32.000Z
example_1.1/src/geometric_objects.adb
rogermc2/GA_Ada
0b55eb5691ac1c543c79c9a06ffdbe2e47e8f1be
[ "ISC" ]
1
2020-08-12T10:10:25.000Z
2020-08-12T10:10:25.000Z
example_1.1/src/geometric_objects.adb
rogermc2/GA_Ada
0b55eb5691ac1c543c79c9a06ffdbe2e47e8f1be
[ "ISC" ]
1
2019-04-12T01:14:15.000Z
2019-04-12T01:14:15.000Z
with E3GA; package body Geometric_Objects is function Set_Line (L1, L2 : C3GA.Normalized_Point) return C3GA.Line is begin return C3GA.Unit_R (E3GA.Outer_Product (L1, L2)); end Set_Line; end Geometric_Objects;
19
73
0.732456
adbcdb65de75a11a90e6fd3419cfbb4d2cbe21e3
18,444
adb
Ada
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_raycast-continuous_convex.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_raycast-continuous_convex.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_raycast-continuous_convex.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
with impact.d3.Transform; with impact.d3.Vector; with impact.d3.Transform_Util; with impact.d3.Scalar; with impact.d3.collision.Detector.discrete.gjk_pair; with impact.d3.collision.Detector.discrete; -- #include "impact.d3.collision.convex_Raycast.continuous_convex.h" -- #include "BulletCollision/CollisionShapes/impact.d3.Shape.convex.h" -- #include "BulletCollision/NarrowPhaseCollision/impact.d3.collision.simplex_Solver.h" -- #include "LinearMath/impact.d3.TransformUtil.h" -- #include "BulletCollision/CollisionShapes/impact.d3.Shape.convex.internal.sphere.h" -- -- #include "impact.d3.collision.Detector.discrete.gjk_pair.h" -- #include "impact.d3.collision.point_Collector.h" -- #include "BulletCollision/CollisionShapes/impact.d3.Shape.concave.static_plane.h" package body impact.d3.collision.convex_Raycast.continuous_convex is --- Forge -- function to_convex_Raycast (shapeA, shapeB : access impact.d3.Shape.convex.Item'Class; simplexSolver : access impact.d3.collision.simplex_Solver.item'Class; penetrationDepthSolver : access impact.d3.collision.convex_penetration_depth_Solver.item'Class) return Item is Self : Item; begin Self.m_simplexSolver := simplexSolver; Self.m_penetrationDepthSolver := penetrationDepthSolver; Self.m_convexA := shapeA; Self.m_convexB1 := shapeB; return Self; end to_convex_Raycast; -- impact.d3.collision.convex_Raycast.continuous_convex::impact.d3.collision.convex_Raycast.continuous_convex ( const impact.d3.Shape.convex* convexA,const impact.d3.Shape.convex* convexB,impact.d3.collision.simplex_Solver* simplexSolver, impact.d3.collision.convex_penetration_depth_Solver* penetrationDepthSolver) -- :m_simplexSolver(simplexSolver), -- m_penetrationDepthSolver(penetrationDepthSolver), -- m_convexA(convexA),m_convexB1(convexB),m_planeShape(0) -- { -- } -- -- impact.d3.collision.convex_Raycast.continuous_convex::impact.d3.collision.convex_Raycast.continuous_convex( const impact.d3.Shape.convex* convexA,const impact.d3.Shape.concave.static_plane* plane) -- :m_simplexSolver(0), -- m_penetrationDepthSolver(0), -- m_convexA(convexA),m_convexB1(0),m_planeShape(plane) -- { -- } function to_convex_Raycast (shapeA : access impact.d3.Shape.convex.Item'Class; plane : access impact.d3.Shape.concave.static_plane.item'Class) return Item is Self : Item; begin Self.m_convexA := shapeA; Self.m_planeShape := plane; return Self; end to_convex_Raycast; --- Attributes -- -- This maximum should not be necessary. It allows for untested/degenerate cases in production code. -- You don't want your game ever to lock-up. -- MAX_ITERATIONS : constant := 64; overriding function calcTimeOfImpact (Self : access Item; fromA, toA : in Transform_3d; fromB, toB : in Transform_3d; result : access impact.d3.collision.convex_Raycast.CastResult'Class) return Boolean is linVelA, angVelA, linVelB, angVelB : math.Vector_3; begin -- compute linear and angular velocity for this interval, to interpolate -- impact.d3.transform_Util.calculateVelocity (fromA, toA, 1.0, linVelA, angVelA); impact.d3.transform_Util.calculateVelocity (fromB, toB, 1.0, linVelB, angVelB); declare use impact.d3.Vector, math.Vectors; boundingRadiusA : math.Real := Self.m_convexA.getAngularMotionDisc; boundingRadiusB : constant math.Real := (if Self.m_convexB1 /= null then Self.m_convexB1.getAngularMotionDisc else 0.0); maxAngularProjectedVelocity : math.Real := length (angVelA) * boundingRadiusA + length (angVelB) * boundingRadiusB; relLinVel : constant math.Vector_3 := linVelB - linVelA; relLinVelocLength : constant math.Real := length (linVelB - linVelA); begin if relLinVelocLength + maxAngularProjectedVelocity = 0.0 then return False; end if; declare lambda : math.Real := 0.0; v : math.Vector_3 := (1.0, 0.0, 0.0); maxIter : constant Integer := MAX_ITERATIONS; n : math.Vector_3 := (0.0, 0.0, 0.0); hasResult : Boolean := False; c : math.Vector_3; lastLambda : math.Real := lambda; -- impact.d3.Scalar epsilon = impact.d3.Scalar(0.001); numIter : Integer := 0; -- first solution, using GJK radius : math.Real := 0.001; pointCollector1 : impact.d3.collision.point_Collector.Item; begin Self.computeClosestPoints (fromA, fromB, pointCollector1); hasResult := pointCollector1.m_hasResult; c := pointCollector1.m_pointInWorld; if hasResult then n := pointCollector1.m_normalOnBInWorld; declare dist : math.Real := pointCollector1.m_distance + result.m_allowedPenetration; projectedLinearVelocity : math.Real := dot (relLinVel, n); dLambda : math.Real; begin if projectedLinearVelocity + maxAngularProjectedVelocity <= impact.d3.Scalar.SIMD_EPSILON then return False; end if; -- not close enough -- while dist > radius loop dLambda := 0.0; projectedLinearVelocity := dot (relLinVel, n); -- don't report time of impact for motion away from the contact normal (or causes minor penetration) -- if projectedLinearVelocity + maxAngularProjectedVelocity <= impact.d3.Scalar.SIMD_EPSILON then return False; end if; dLambda := dist / (projectedLinearVelocity + maxAngularProjectedVelocity); lambda := lambda + dLambda; if lambda > 1.0 then return False; end if; if lambda < 0.0 then return False; end if; -- todo: next check with relative epsilon if lambda <= lastLambda then return False; -- n.setValue(0,0,0); exit; end if; lastLambda := lambda; -- Interpolate to next lambda. -- declare use impact.d3.Transform; interpolatedTransA, interpolatedTransB, relativeTrans : Transform_3d; pragma Unreferenced (relativeTrans); pointCollector : impact.d3.collision.point_Collector.item; begin impact.d3.transform_Util.integrateTransform (fromA, linVelA, angVelA, lambda, interpolatedTransA); impact.d3.transform_Util.integrateTransform (fromB, linVelB, angVelB, lambda, interpolatedTransB); relativeTrans := inverseTimes (interpolatedTransB, interpolatedTransA); Self.computeClosestPoints (interpolatedTransA, interpolatedTransB, pointCollector); if pointCollector.m_hasResult then dist := pointCollector.m_distance + result.m_allowedPenetration; c := pointCollector.m_pointInWorld; n := pointCollector.m_normalOnBInWorld; else result.reportFailure (-1, numIter); return False; end if; numIter := numIter + 1; if numIter > maxIter then result.reportFailure (-2, numIter); return False; end if; end; end loop; result.m_fraction := lambda; result.m_normal := n; result.m_hitPoint := c; return True; end; end if; return False; end; end; end calcTimeOfImpact; procedure computeClosestPoints (Self : in out Item; transA, transB : in Transform_3d; pointCollector : in out impact.d3.collision.point_Collector.item) is begin if Self.m_convexB1 /= null then Self.m_simplexSolver.reset; declare use impact.d3.collision.Detector.discrete.gjk_pair; gjk : impact.d3.collision.Detector.discrete.gjk_pair.item := to_gjk_pair_Detector (Self.m_convexA, Self.m_convexB1, Self.m_convexA.getShapeType, Self.m_convexB1.getShapeType, Self.m_convexA.getMargin, Self.m_convexB1.getMargin, Self.m_simplexSolver, Self.m_penetrationDepthSolver); input : impact.d3.collision.Detector.discrete.ClosestPointInput; begin input.m_transformA := transA; input.m_transformB := transB; gjk.getClosestPoints (input, pointCollector, False); end; else -- convex versus plane declare use linear_Algebra_3d, impact.d3.Transform, impact.d3.Vector, math.Vectors; convexShape : constant access impact.d3.Shape.convex .Item'Class := Self.m_convexA; planeShape : constant access impact.d3.Shape.concave.static_plane.Item'Class := Self.m_planeShape; hasCollision : Boolean := False; planeNormal : math.Vector_3 renames planeShape.getPlaneNormal; planeConstant : math.Real := planeShape.getPlaneConstant; convexWorldTransform : constant Transform_3d := transA; convexInPlaneTrans : constant Transform_3d := inverse (transB) * convexWorldTransform; planeInConvex : constant Transform_3d := inverse (convexWorldTransform) * transB; vtx : constant math.Vector_3 := convexShape.localGetSupportingVertex (getBasis (planeInConvex) * (-planeNormal)); vtxInPlane : constant math.Vector_3 := convexInPlaneTrans * vtx; distance : constant math.Real := dot (planeNormal, vtxInPlane) - planeConstant; vtxInPlaneProjected : constant math.Vector_3 := vtxInPlane - distance*planeNormal; vtxInPlaneWorld : constant math.Vector_3 := transB * vtxInPlaneProjected; normalOnSurfaceB : constant math.Vector_3 := getBasis (transB) * planeNormal; begin pointCollector.addContactPoint (normalOnSurfaceB, vtxInPlaneWorld, distance); end; end if; end computeClosestPoints; end impact.d3.collision.convex_Raycast.continuous_convex; -- bool impact.d3.collision.convex_Raycast.continuous_convex::calcTimeOfImpact( -- const impact.d3.Transform& fromA, -- const impact.d3.Transform& toA, -- const impact.d3.Transform& fromB, -- const impact.d3.Transform& toB, -- CastResult& result) -- { -- -- -- /// compute linear and angular velocity for this interval, to interpolate -- impact.d3.Vector linVelA,angVelA,linVelB,angVelB; -- impact.d3.TransformUtil::calculateVelocity(fromA,toA,impact.d3.Scalar(1.),linVelA,angVelA); -- impact.d3.TransformUtil::calculateVelocity(fromB,toB,impact.d3.Scalar(1.),linVelB,angVelB); -- -- -- impact.d3.Scalar boundingRadiusA = m_convexA->getAngularMotionDisc(); -- impact.d3.Scalar boundingRadiusB = m_convexB1?m_convexB1->getAngularMotionDisc():0.f; -- -- impact.d3.Scalar maxAngularProjectedVelocity = angVelA.length() * boundingRadiusA + angVelB.length() * boundingRadiusB; -- impact.d3.Vector relLinVel = (linVelB-linVelA); -- -- impact.d3.Scalar relLinVelocLength = (linVelB-linVelA).length(); -- -- if ((relLinVelocLength+maxAngularProjectedVelocity) == 0.f) -- return false; -- -- -- -- impact.d3.Scalar lambda = impact.d3.Scalar(0.); -- impact.d3.Vector v(1,0,0); -- -- int maxIter = MAX_ITERATIONS; -- -- impact.d3.Vector n; -- n.setValue(impact.d3.Scalar(0.),impact.d3.Scalar(0.),impact.d3.Scalar(0.)); -- bool hasResult = false; -- impact.d3.Vector c; -- -- impact.d3.Scalar lastLambda = lambda; -- //impact.d3.Scalar epsilon = impact.d3.Scalar(0.001); -- -- int numIter = 0; -- //first solution, using GJK -- -- -- impact.d3.Scalar radius = 0.001f; -- // result.drawCoordSystem(sphereTr); -- -- impact.d3.collision.point_Collector pointCollector1; -- -- { -- -- computeClosestPoints(fromA,fromB,pointCollector1); -- -- hasResult = pointCollector1.m_hasResult; -- c = pointCollector1.m_pointInWorld; -- } -- -- if (hasResult) -- { -- impact.d3.Scalar dist; -- dist = pointCollector1.m_distance + result.m_allowedPenetration; -- n = pointCollector1.m_normalOnBInWorld; -- impact.d3.Scalar projectedLinearVelocity = relLinVel.dot(n); -- if ((projectedLinearVelocity+ maxAngularProjectedVelocity)<=SIMD_EPSILON) -- return false; -- -- //not close enough -- while (dist > radius) -- { -- if (result.m_debugDrawer) -- { -- result.m_debugDrawer->drawSphere(c,0.2f,impact.d3.Vector(1,1,1)); -- } -- impact.d3.Scalar dLambda = impact.d3.Scalar(0.); -- -- projectedLinearVelocity = relLinVel.dot(n); -- -- -- //don't report time of impact for motion away from the contact normal (or causes minor penetration) -- if ((projectedLinearVelocity+ maxAngularProjectedVelocity)<=SIMD_EPSILON) -- return false; -- -- dLambda = dist / (projectedLinearVelocity+ maxAngularProjectedVelocity); -- -- -- -- lambda = lambda + dLambda; -- -- if (lambda > impact.d3.Scalar(1.)) -- return false; -- -- if (lambda < impact.d3.Scalar(0.)) -- return false; -- -- -- //todo: next check with relative epsilon -- if (lambda <= lastLambda) -- { -- return false; -- //n.setValue(0,0,0); -- break; -- } -- lastLambda = lambda; -- -- -- -- //interpolate to next lambda -- impact.d3.Transform interpolatedTransA,interpolatedTransB,relativeTrans; -- -- impact.d3.TransformUtil::integrateTransform(fromA,linVelA,angVelA,lambda,interpolatedTransA); -- impact.d3.TransformUtil::integrateTransform(fromB,linVelB,angVelB,lambda,interpolatedTransB); -- relativeTrans = interpolatedTransB.inverseTimes(interpolatedTransA); -- -- if (result.m_debugDrawer) -- { -- result.m_debugDrawer->drawSphere(interpolatedTransA.getOrigin(),0.2f,impact.d3.Vector(1,0,0)); -- } -- -- result.DebugDraw( lambda ); -- -- impact.d3.collision.point_Collector pointCollector; -- computeClosestPoints(interpolatedTransA,interpolatedTransB,pointCollector); -- -- if (pointCollector.m_hasResult) -- { -- dist = pointCollector.m_distance+result.m_allowedPenetration; -- c = pointCollector.m_pointInWorld; -- n = pointCollector.m_normalOnBInWorld; -- } else -- { -- result.reportFailure(-1, numIter); -- return false; -- } -- -- numIter++; -- if (numIter > maxIter) -- { -- result.reportFailure(-2, numIter); -- return false; -- } -- } -- -- result.m_fraction = lambda; -- result.m_normal = n; -- result.m_hitPoint = c; -- return true; -- } -- -- return false; -- -- }
38.911392
330
0.525916
133c47ca285950abcd3bd3fa496c803f92073037
19,488
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/s-finimp.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/s-finimp.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/s-finimp.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . F I N A L I Z A T I O N _ I M P L E M E N T A T I O N -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Exceptions; with Ada.Tags; with System.Storage_Elements; with System.Soft_Links; with Unchecked_Conversion; with System.Restrictions; package body System.Finalization_Implementation is use Ada.Exceptions; use System.Finalization_Root; package SSL renames System.Soft_Links; package SSE renames System.Storage_Elements; use type SSE.Storage_Offset; ----------------------- -- Local Subprograms -- ----------------------- type RC_Ptr is access all Record_Controller; function To_RC_Ptr is new Unchecked_Conversion (Address, RC_Ptr); procedure Raise_Exception_No_Defer (E : Exception_Id; Message : String := ""); pragma Import (Ada, Raise_Exception_No_Defer, "ada__exceptions__raise_exception_no_defer"); pragma No_Return (Raise_Exception_No_Defer); -- Raise an exception without deferring abort. Note that we have to -- use this rather kludgy Ada Import interface, since this subprogram -- is not available in the visible spec of Ada.Exceptions. procedure Raise_From_Finalize (L : Finalizable_Ptr; From_Abort : Boolean; E_Occ : Exception_Occurrence); -- Deal with an exception raised during finalization of a list. L is a -- pointer to the list of element not yet finalized. From_Abort is true -- if the finalization actions come from an abort rather than a normal -- exit. E_Occ represents the exception being raised. function RC_Offset (T : Ada.Tags.Tag) return SSE.Storage_Offset; pragma Import (Ada, RC_Offset, "ada__tags__get_rc_offset"); function Parent_Size (Obj : Address; T : Ada.Tags.Tag) return SSE.Storage_Count; pragma Import (Ada, Parent_Size, "ada__tags__parent_size"); function Get_Deep_Controller (Obj : System.Address) return RC_Ptr; -- Given the address (obj) of a tagged object, return a -- pointer to the record controller of this object. ------------ -- Adjust -- ------------ procedure Adjust (Object : in out Record_Controller) is First_Comp : Finalizable_Ptr; My_Offset : constant SSE.Storage_Offset := Object.My_Address - Object'Address; procedure Ptr_Adjust (Ptr : in out Finalizable_Ptr); -- Subtract the offset to the pointer procedure Reverse_Adjust (P : Finalizable_Ptr); -- Ajust the components in the reverse order in which they are stored -- on the finalization list. (Adjust and Finalization are not done in -- the same order) ---------------- -- Ptr_Adjust -- ---------------- procedure Ptr_Adjust (Ptr : in out Finalizable_Ptr) is begin if Ptr /= null then Ptr := To_Finalizable_Ptr (To_Addr (Ptr) - My_Offset); end if; end Ptr_Adjust; -------------------- -- Reverse_Adjust -- -------------------- procedure Reverse_Adjust (P : Finalizable_Ptr) is begin if P /= null then Ptr_Adjust (P.Next); Reverse_Adjust (P.Next); Adjust (P.all); Object.F := P; -- Successfully adjusted, so place in list. end if; end Reverse_Adjust; -- Start of processing for Adjust begin -- Adjust the components and their finalization pointers next. We must -- protect against an exception in some call to Adjust, so we keep -- pointing to the list of successfully adjusted components, which can -- be finalized if an exception is raised. First_Comp := Object.F; Object.F := null; -- nothing adjusted yet. Ptr_Adjust (First_Comp); -- set addresss of first component. Reverse_Adjust (First_Comp); -- Then Adjust the controller itself Object.My_Address := Object'Address; exception when others => -- Finalize those components that were successfully adjusted, and -- propagate exception. The object itself is not yet attached to -- global finalization list, so we cannot rely on the outer call to -- Clean to take care of these components. Finalize (Object); raise; end Adjust; -------------------------- -- Attach_To_Final_List -- -------------------------- procedure Attach_To_Final_List (L : in out Finalizable_Ptr; Obj : in out Finalizable; Nb_Link : Short_Short_Integer) is begin -- Simple case: attachement to a one way list if Nb_Link = 1 then Obj.Next := L; L := Obj'Unchecked_Access; -- Dynamically allocated objects: they are attached to a doubly linked -- list, so that an element can be finalized at any moment by means of -- an unchecked deallocation. Attachement is protected against -- multi-threaded access. elsif Nb_Link = 2 then Locked_Processing : begin SSL.Lock_Task.all; Obj.Next := L.Next; Obj.Prev := L.Next.Prev; L.Next.Prev := Obj'Unchecked_Access; L.Next := Obj'Unchecked_Access; SSL.Unlock_Task.all; exception when others => SSL.Unlock_Task.all; raise; end Locked_Processing; -- Attachement of arrays to the final list (used only for objects -- returned by function). Obj, in this case is the last element, -- but all other elements are already threaded after it. We just -- attach the rest of the final list at the end of the array list. elsif Nb_Link = 3 then declare P : Finalizable_Ptr := Obj'Unchecked_Access; begin while P.Next /= null loop P := P.Next; end loop; P.Next := L; L := Obj'Unchecked_Access; end; -- Make the object completely unattached (case of a library-level, -- Finalize_Storage_Only object). elsif Nb_Link = 4 then Obj.Prev := null; Obj.Next := null; end if; end Attach_To_Final_List; --------------------- -- Deep_Tag_Adjust -- --------------------- procedure Deep_Tag_Adjust (L : in out SFR.Finalizable_Ptr; A : System.Address; B : Short_Short_Integer) is V : constant SFR.Finalizable_Ptr := To_Finalizable_Ptr (A); Controller : constant RC_Ptr := Get_Deep_Controller (A); begin if Controller /= null then Adjust (Controller.all); Attach_To_Final_List (L, Controller.all, B); end if; -- Is controlled if V.all in Finalizable then Adjust (V.all); Attach_To_Final_List (L, Finalizable (V.all), 1); end if; end Deep_Tag_Adjust; --------------------- -- Deep_Tag_Attach -- ---------------------- procedure Deep_Tag_Attach (L : in out SFR.Finalizable_Ptr; A : System.Address; B : Short_Short_Integer) is V : constant SFR.Finalizable_Ptr := To_Finalizable_Ptr (A); Controller : constant RC_Ptr := Get_Deep_Controller (A); begin if Controller /= null then Attach_To_Final_List (L, Controller.all, B); end if; -- Is controlled if V.all in Finalizable then Attach_To_Final_List (L, V.all, B); end if; end Deep_Tag_Attach; ----------------------- -- Deep_Tag_Finalize -- ----------------------- procedure Deep_Tag_Finalize (L : in out SFR.Finalizable_Ptr; A : System.Address; B : Boolean) is pragma Warnings (Off, L); V : constant SFR.Finalizable_Ptr := To_Finalizable_Ptr (A); Controller : constant RC_Ptr := Get_Deep_Controller (A); begin if Controller /= null then if B then Finalize_One (Controller.all); else Finalize (Controller.all); end if; end if; -- Is controlled if V.all in Finalizable then if B then Finalize_One (V.all); else Finalize (V.all); end if; end if; end Deep_Tag_Finalize; ------------------------- -- Deep_Tag_Initialize -- ------------------------- procedure Deep_Tag_Initialize (L : in out SFR.Finalizable_Ptr; A : System.Address; B : Short_Short_Integer) is V : constant SFR.Finalizable_Ptr := To_Finalizable_Ptr (A); Controller : constant RC_Ptr := Get_Deep_Controller (A); begin -- This procedure should not be called if the object has no -- controlled components if Controller = null then raise Program_Error; -- Has controlled components else Initialize (Controller.all); Attach_To_Final_List (L, Controller.all, B); end if; -- Is controlled if V.all in Finalizable then Initialize (V.all); Attach_To_Final_List (Controller.F, Finalizable (Controller.all), 1); end if; end Deep_Tag_Initialize; ----------------------------- -- Detach_From_Final_List -- ----------------------------- -- We know that the detach object is neither at the beginning nor at the -- end of the list, thank's to the dummy First and Last Elements but the -- object may not be attached at all if it is Finalize_Storage_Only procedure Detach_From_Final_List (Obj : in out Finalizable) is begin -- When objects are not properly attached to a doubly linked list do -- not try to detach them. The only case where it can happen is when -- dealing with Finalize_Storage_Only objects which are not always -- attached to the finalization list. if Obj.Next /= null and then Obj.Prev /= null then SSL.Lock_Task.all; Obj.Next.Prev := Obj.Prev; Obj.Prev.Next := Obj.Next; SSL.Unlock_Task.all; end if; exception when others => SSL.Unlock_Task.all; raise; end Detach_From_Final_List; -------------- -- Finalize -- -------------- procedure Finalize (Object : in out Limited_Record_Controller) is begin Finalize_List (Object.F); end Finalize; -------------------------- -- Finalize_Global_List -- -------------------------- procedure Finalize_Global_List is begin -- There are three case here: -- a. the application uses tasks, in which case Finalize_Global_Tasks -- will defer abort. -- b. the application doesn't use tasks but uses other tasking -- constructs, such as ATCs and protected objects. In this case, -- the binder will call Finalize_Global_List instead of -- Finalize_Global_Tasks, letting abort undeferred, and leading -- to assertion failures in the GNULL -- c. the application doesn't use any tasking construct in which case -- deferring abort isn't necessary. -- Until another solution is found to deal with case b, we need to -- call abort_defer here to pass the checks, but we do not need to -- undefer abort, since Finalize_Global_List is the last procedure -- called before exiting the partition. SSL.Abort_Defer.all; Finalize_List (Global_Final_List); end Finalize_Global_List; ------------------- -- Finalize_List -- ------------------- procedure Finalize_List (L : Finalizable_Ptr) is P : Finalizable_Ptr := L; Q : Finalizable_Ptr; type Fake_Exception_Occurence is record Id : Exception_Id; end record; type Ptr is access all Fake_Exception_Occurence; function To_Ptr is new Unchecked_Conversion (Exception_Occurrence_Access, Ptr); X : Exception_Id := Null_Id; begin -- If abort is allowed, we get the current exception before starting -- to finalize in order to check if we are in the abort case if an -- exception is raised. When abort is not allowed, avoid accessing the -- current exception since this can be a pretty costly operation in -- programs using controlled types heavily. if System.Restrictions.Abort_Allowed then X := To_Ptr (System.Soft_Links.Get_Current_Excep.all).Id; end if; while P /= null loop Q := P.Next; Finalize (P.all); P := Q; end loop; exception when E_Occ : others => Raise_From_Finalize ( Q, X = Standard'Abort_Signal'Identity, E_Occ); end Finalize_List; ------------------ -- Finalize_One -- ------------------ procedure Finalize_One (Obj : in out Finalizable) is begin Detach_From_Final_List (Obj); Finalize (Obj); exception when E_Occ : others => Raise_From_Finalize (null, False, E_Occ); end Finalize_One; ------------------------- -- Get_Deep_Controller -- ------------------------- function Get_Deep_Controller (Obj : System.Address) return RC_Ptr is The_Tag : Ada.Tags.Tag := To_Finalizable_Ptr (Obj)'Tag; Offset : SSE.Storage_Offset := RC_Offset (The_Tag); begin -- Fetch the controller from the Parent or above if necessary -- when there are no controller at this level while Offset = -2 loop The_Tag := Ada.Tags.Parent_Tag (The_Tag); Offset := RC_Offset (The_Tag); end loop; -- No Controlled component case if Offset = 0 then return null; -- The _controller Offset is known statically elsif Offset > 0 then return To_RC_Ptr (Obj + Offset); -- At this stage, we know that the controller is part of the -- ancestor corresponding to the tag "The_Tag" and that its parent -- is variable sized. We assume that the _controller is the first -- compoment right after the parent. -- ??? note that it may not be true if there are new discriminants else -- Offset = -1 declare -- define a faked record controller to avoid generating -- unnecessary expanded code for controlled types type Faked_Record_Controller is record Tag, Prec, Next : Address; end record; -- Reconstruction of a type with characteristics -- comparable to the original type D : constant := SSE.Storage_Offset (Storage_Unit - 1); type Parent_Type is new SSE.Storage_Array (1 .. (Parent_Size (Obj, The_Tag) + D) / SSE.Storage_Offset (Storage_Unit)); for Parent_Type'Alignment use Address'Alignment; type Faked_Type_Of_Obj is record Parent : Parent_Type; Controller : Faked_Record_Controller; end record; type Obj_Ptr is access all Faked_Type_Of_Obj; function To_Obj_Ptr is new Unchecked_Conversion (Address, Obj_Ptr); begin return To_RC_Ptr (To_Obj_Ptr (Obj).Controller'Address); end; end if; end Get_Deep_Controller; ---------------- -- Initialize -- ---------------- procedure Initialize (Object : in out Limited_Record_Controller) is pragma Warnings (Off, Object); begin null; end Initialize; procedure Initialize (Object : in out Record_Controller) is begin Object.My_Address := Object'Address; end Initialize; ------------------------- -- Raise_From_Finalize -- ------------------------- procedure Raise_From_Finalize (L : Finalizable_Ptr; From_Abort : Boolean; E_Occ : Exception_Occurrence) is Msg : constant String := Exception_Message (E_Occ); P : Finalizable_Ptr := L; Q : Finalizable_Ptr; begin -- We already got an exception. We now finalize the remainder of -- the list, ignoring all further exceptions. while P /= null loop Q := P.Next; begin Finalize (P.all); exception when others => null; end; P := Q; end loop; -- If finalization from an Abort, then nothing to do if From_Abort then null; -- If no message, then add our own message saying what happened elsif Msg = "" then Raise_Exception_No_Defer (E => Program_Error'Identity, Message => "exception " & Exception_Name (E_Occ) & " raised during finalization"); -- If there was a message, pass it on else Raise_Exception_No_Defer (Program_Error'Identity, Msg); end if; end Raise_From_Finalize; -- Initialization of package, set Adafinal soft link begin SSL.Finalize_Global_List := Finalize_Global_List'Access; end System.Finalization_Implementation;
32.105437
78
0.571018
22609551508a3bfe9bb2ce59182e8f82b13de51b
7,347
adb
Ada
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
-- Abstract : -- -- See spec -- -- Copyright (C) 2012, 2013, 2015, 2017 - 2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3, or (at -- your option) any later version. This program is distributed in the -- hope that it will be useful, but WITHOUT ANY WARRANTY; without even -- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -- PURPOSE. See the GNU General Public License for more details. You -- should have received a copy of the GNU General Public License -- distributed with this program; see file COPYING. If not, write to -- the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, -- MA 02110-1335, USA. pragma License (GPL); with Ada.Text_IO; with WisiToken.Generate; package body WisiToken.BNF.Output_Elisp_Common is function Find_Elisp_ID (List : in String_Lists.List; Elisp_Name : in String) return Integer is I : Integer := 0; -- match elisp array begin for Name of List loop if Name = Elisp_Name then return I; end if; I := I + 1; end loop; raise Not_Found with "unknown elisp name: '" & Elisp_Name & "'"; end Find_Elisp_ID; function Elisp_Name_To_Ada (Elisp_Name : in String; Append_ID : in Boolean; Trim : in Integer) return String is Result : String := Elisp_Name (Elisp_Name'First + Trim .. Elisp_Name'Last); begin Result (Result'First) := To_Upper (Result (Result'First)); for I in Result'Range loop if Result (I) = '-' then Result (I) := '_'; Result (I + 1) := To_Upper (Result (I + 1)); elsif Result (I) = '_' then Result (I + 1) := To_Upper (Result (I + 1)); end if; end loop; if Append_ID then return Result & "_ID"; -- Some elisp names may be Ada reserved words; else return Result; end if; end Elisp_Name_To_Ada; procedure Indent_Keyword_Table (Output_File_Root : in String; Label : in String; Keywords : in String_Pair_Lists.List; Image : access function (Name : in Ada.Strings.Unbounded.Unbounded_String) return String) is use Ada.Text_IO; use WisiToken.Generate; begin Indent_Line ("(defconst " & Output_File_Root & "-" & Label & "-keyword-table-raw"); Indent_Line (" '("); Indent := Indent + 3; for Pair of Keywords loop Indent_Line ("(" & (-Pair.Value) & " . " & Image (Pair.Name) & ")"); end loop; Indent_Line ("))"); Indent := Indent - 3; end Indent_Keyword_Table; procedure Indent_Token_Table (Output_File_Root : in String; Label : in String; Tokens : in Token_Lists.List; Image : access function (Name : in Ada.Strings.Unbounded.Unbounded_String) return String) is use Ada.Strings.Unbounded; use Ada.Text_IO; use WisiToken.Generate; function To_Double_Quotes (Item : in String) return String is Result : String := Item; begin if Result (Result'First) = ''' then Result (Result'First) := '"'; end if; if Result (Result'Last) = ''' then Result (Result'Last) := '"'; end if; return Result; end To_Double_Quotes; begin Indent_Line ("(defconst " & Output_File_Root & "-" & Label & "-token-table-raw"); Indent_Line (" '("); Indent := Indent + 3; for Kind of Tokens loop if not (-Kind.Kind = "line_comment" or -Kind.Kind = "whitespace") then Indent_Line ("(""" & (-Kind.Kind) & """"); Indent := Indent + 1; for Token of Kind.Tokens loop if 0 = Length (Token.Value) then Indent_Line ("(" & Image (Token.Name) & ")"); else if -Kind.Kind = "number" then -- allow for (<token> <number-p> <require>) Indent_Line ("(" & Image (Token.Name) & " " & (-Token.Value) & ")"); elsif -Kind.Kind = "symbol" or -Kind.Kind = "string-double" or -Kind.Kind = "string-single" then -- value not used by elisp Indent_Line ("(" & Image (Token.Name) & " . """")"); else Indent_Line ("(" & Image (Token.Name) & " . " & To_Double_Quotes (-Token.Value) & ")"); end if; end if; end loop; Indent_Line (")"); Indent := Indent - 1; end if; end loop; Indent_Line ("))"); Indent := Indent - 3; end Indent_Token_Table; procedure Indent_Name_Table (Output_File_Root : in String; Label : in String; Names : in String_Lists.List) is use Ada.Text_IO; use WisiToken.Generate; begin Indent_Line ("(defconst " & Output_File_Root & "-" & Label); Indent_Line (" ["); Indent := Indent + 3; for Name of Names loop Indent_Line (Name); end loop; Indent_Line ("])"); Indent := Indent - 3; end Indent_Name_Table; procedure Indent_Repair_Image (Output_File_Root : in String; Label : in String; Tokens : in WisiToken.BNF.Tokens) is use all type Ada.Text_IO.Count; use Ada.Strings.Unbounded; use WisiToken.Generate; function re2c_To_Elisp (Item : in String) return String is Result : String (1 .. Item'Length * 2); Last : Integer := Result'First - 1; begin -- Convert re2c case-insensitive string '...' to elisp string "...", -- with '"' escaped. if Item (Item'First) /= ''' then return Item; end if; for C of Item loop if C = ''' then Result (Last + 1) := '"'; Last := Last + 1; elsif C = '"' then Result (Last + 1) := '\'; Result (Last + 2) := '"'; Last := Last + 2; else Result (Last + 1) := C; Last := Last + 1; end if; end loop; return Result (1 .. Last); end re2c_To_Elisp; begin Indent_Line ("(defconst " & Output_File_Root & "-" & Label & "-repair-image"); Indent_Line (" '("); Indent := Indent + 3; for Pair of Tokens.Keywords loop Indent_Line ("(" & (-Pair.Name) & " . " & (-Pair.Value) & ")"); end loop; for Kind of Tokens.Tokens loop for Token of Kind.Tokens loop if Length (Token.Repair_Image) > 0 then Indent_Line ("(" & (-Token.Name) & " . " & re2c_To_Elisp (-Token.Repair_Image) & ")"); else Indent_Line ("(" & (-Token.Name) & " . " & (-Token.Value) & ")"); end if; end loop; end loop; Indent_Line ("))"); Indent := Indent - 3; end Indent_Repair_Image; end WisiToken.BNF.Output_Elisp_Common;
34.492958
108
0.535184
4b8bff14b842d40094e43c80695771c92212c295
3,942
ads
Ada
1-base/lace/source/text/lace-text-forge.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
1-base/lace/source/text/lace-text-forge.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
1-base/lace/source/text/lace-text-forge.ads
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
package lace.Text.forge -- -- Provides constructors for Text. -- is -- Files -- type Filename is new String; function to_String (Filename : in forge.Filename) return String; function to_Text (Filename : in forge.Filename) return Item; -- Stock Items -- function to_Text_2 (From : in String) return Item_2; function to_Text_2 (From : in Text.item) return Item_2; function to_Text_4 (From : in String) return Item_4; function to_Text_4 (From : in Text.item) return Item_4; function to_Text_8 (From : in String) return Item_8; function to_Text_8 (From : in Text.item) return Item_8; function to_Text_16 (From : in String) return Item_16; function to_Text_16 (From : in Text.item) return Item_16; function to_Text_32 (From : in String) return Item_32; function to_Text_32 (From : in Text.item) return Item_32; function to_Text_64 (From : in String) return Item_64; function to_Text_64 (From : in Text.item) return Item_64; function to_Text_128 (From : in String) return Item_128; function to_Text_128 (From : in Text.item) return Item_128; function to_Text_256 (From : in String) return Item_256; function to_Text_256 (From : in Text.item) return Item_256; function to_Text_512 (From : in String) return Item_512; function to_Text_512 (From : in Text.item) return Item_512; function to_Text_1k (From : in String) return Item_1k; function to_Text_1k (From : in Text.item) return Item_1k; function to_Text_2k (From : in String) return Item_2k; function to_Text_2k (From : in Text.item) return Item_2k; function to_Text_4k (From : in String) return Item_4k; function to_Text_4k (From : in Text.item) return Item_4k; function to_Text_8k (From : in String) return Item_8k; function to_Text_8k (From : in Text.item) return Item_8k; function to_Text_16k (From : in String) return Item_16k; function to_Text_16k (From : in Text.item) return Item_16k; function to_Text_32k (From : in String) return Item_32k; function to_Text_32k (From : in Text.item) return Item_32k; function to_Text_64k (From : in String) return Item_64k; function to_Text_64k (From : in Text.item) return Item_64k; function to_Text_128k (From : in String) return Item_128k; function to_Text_128k (From : in Text.item) return Item_128k; function to_Text_256k (From : in String) return Item_256k; function to_Text_256k (From : in Text.item) return Item_256k; function to_Text_512k (From : in String) return Item_512k; function to_Text_512k (From : in Text.item) return Item_512k; function to_Text_1m (From : in String) return Item_1m; function to_Text_1m (From : in Text.item) return Item_1m; function to_Text_2m (From : in String) return Item_2m; function to_Text_2m (From : in Text.item) return Item_2m; function to_Text_4m (From : in String) return Item_4m; function to_Text_4m (From : in Text.item) return Item_4m; function to_Text_8m (From : in String) return Item_8m; function to_Text_8m (From : in Text.item) return Item_8m; function to_Text_16m (From : in String) return Item_16m; function to_Text_16m (From : in Text.item) return Item_16m; function to_Text_32m (From : in String) return Item_32m; function to_Text_32m (From : in Text.item) return Item_32m; function to_Text_64m (From : in String) return Item_64m; function to_Text_64m (From : in Text.item) return Item_64m; function to_Text_128m (From : in String) return Item_128m; function to_Text_128m (From : in Text.item) return Item_128m; function to_Text_256m (From : in String) return Item_256m; function to_Text_256m (From : in Text.item) return Item_256m; function to_Text_512m (From : in String) return Item_512m; function to_Text_512m (From : in Text.item) return Item_512m; end lace.Text.forge;
36.841121
67
0.717149
2eb12903569a40bf8ee1fd61fd2fc75fc7a66e06
4,235
ads
Ada
source/amf/dd/amf-dg-polylines.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/dd/amf-dg-polylines.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/dd/amf-dg-polylines.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ -- Polyline is a marked element that defines a shape consisting of a sequence -- of connected straight line segments. ------------------------------------------------------------------------------ limited with AMF.DC; with AMF.DG.Marked_Elements; package AMF.DG.Polylines is pragma Preelaborate; type DG_Polyline is limited interface and AMF.DG.Marked_Elements.DG_Marked_Element; type DG_Polyline_Access is access all DG_Polyline'Class; for DG_Polyline_Access'Storage_Size use 0; not overriding function Get_Point (Self : not null access constant DG_Polyline) return AMF.DC.Sequence_Of_DC_Point is abstract; -- Getter of Polyline::point. -- -- a list of 2 or more points making up the polyline. end AMF.DG.Polylines;
59.647887
79
0.434711
1ae5807f73a0d0e0e863cde8fab01902db7e8aad
2,342
ads
Ada
source/oasis/program-elements-interface_types.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/oasis/program-elements-interface_types.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/oasis/program-elements-interface_types.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
1
2019-10-16T09:05:27.000Z
2019-10-16T09:05:27.000Z
-- SPDX-FileCopyrightText: 2019 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Type_Definitions; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Interface_Types is pragma Pure (Program.Elements.Interface_Types); type Interface_Type is limited interface and Program.Elements.Type_Definitions.Type_Definition; type Interface_Type_Access is access all Interface_Type'Class with Storage_Size => 0; not overriding function Progenitors (Self : Interface_Type) return Program.Elements.Expressions.Expression_Vector_Access is abstract; not overriding function Has_Limited (Self : Interface_Type) return Boolean is abstract; not overriding function Has_Task (Self : Interface_Type) return Boolean is abstract; not overriding function Has_Protected (Self : Interface_Type) return Boolean is abstract; not overriding function Has_Synchronized (Self : Interface_Type) return Boolean is abstract; type Interface_Type_Text is limited interface; type Interface_Type_Text_Access is access all Interface_Type_Text'Class with Storage_Size => 0; not overriding function To_Interface_Type_Text (Self : in out Interface_Type) return Interface_Type_Text_Access is abstract; not overriding function Limited_Token (Self : Interface_Type_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Task_Token (Self : Interface_Type_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Protected_Token (Self : Interface_Type_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Synchronized_Token (Self : Interface_Type_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Interface_Token (Self : Interface_Type_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function And_Token (Self : Interface_Type_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Interface_Types;
32.985915
79
0.76345
04e5c3bc5a697a8da6247b1b29d61c847a0dc37d
15,450
adb
Ada
boards/MicroBit/src/microbit-ios.adb
Kidev/Ada_Drivers_Library
da434883bc217ddecb8f61686d301d24cb1df17d
[ "BSD-3-Clause" ]
null
null
null
boards/MicroBit/src/microbit-ios.adb
Kidev/Ada_Drivers_Library
da434883bc217ddecb8f61686d301d24cb1df17d
[ "BSD-3-Clause" ]
null
null
null
boards/MicroBit/src/microbit-ios.adb
Kidev/Ada_Drivers_Library
da434883bc217ddecb8f61686d301d24cb1df17d
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ with HAL; use HAL; with nRF51.GPIO; use nRF51.GPIO; with nRF51.ADC; use nRF51.ADC; with nRF51.Device; use nRF51.Device; with nRF51.PPI; use nRF51.PPI; with nRF51.Timers; use nRF51.Timers; with nRF51.GPIO.Tasks_And_Events; use nRF51.GPIO.Tasks_And_Events; with nRF51.Events; use nRF51.Events; with nRF51.Interrupts; use nRF51.Interrupts; package body MicroBit.IOs is -- The analog out feature is implemented as PWM signal. To generate the PWM -- signals we use a timer with the configuration described bellow. -- -- Because of the limited number of timer comparators and GPIOTE channels, -- we can only have 3 PWMs on the system at the same time. However there -- are 5 pins allowed to use PWM, so we need to dynamicaly allocate the -- PWM based on user requests. -- -- Timer configuration: -- -- Comparator 0, 1, 2 are used to control the pulse width of the 3 PWMs. -- Each of those comparator is associated with a PWM and a pin. When the -- timer counter reaches the value of a comparator, the associated pin -- toggles. -- -- Comparator 3 is use to control the period. When the timer counter reaches -- its value, all pins toggle. -- -- Comparator 3 also trigger an interrupt. In the handler for this -- interrupt, we update all the comparator values and start the timer again. -- -- -- Int handler and timer start Cmp 0 Cmp 1 Cmp 2 Cmp3, Timer stop and interrupt -- v v v v v -- _______________________________ ____ -- |_______________________| -- ______________________________________ ____ -- |________________| -- _____________________________________________ ____ -- |_________| -- -- ^------------------ Timer loop sequence -------------------^ -- -- Since all the timer events trigger a toggle of the pin, we have to make -- sure that the pin is at a good state (high) when starting the timer, -- otherwise the waveform could be inverted. This is why the GPIO channels -- are always configured when the timer is reconfigured. -- -- PPI and GPIOTE: -- -- To trigger a pin toggle from the timer compare events we use the -- following configuation. -- -- Two PPI channels are used for each PWM pin. For a PWM X, one PPI channel -- is used to trigger a GPIOTE task on comparator X event, a second PPI -- channel is used to trigger a GPIOTE event on comparator 3 event. So -- the comparator 3 event is used by all PWMs. -- -- For a PWM X, GPIOTE channel X is configure to do a pin toggle when its -- task is activated by one of the two PPI channels described above. -- Mapping between pin id and GPIO_Points Points : array (Pin_Id) of GPIO_Point := (0 => MB_P0, 1 => MB_P1, 2 => MB_P2, 3 => MB_P3, 4 => MB_P4, 5 => MB_P5, 6 => MB_P6, 7 => MB_P7, 8 => MB_P8, 9 => MB_P9, 10 => MB_P10, 11 => MB_P11, 12 => MB_P12, 13 => MB_P13, 14 => MB_P14, 15 => MB_P15, 16 => MB_P16, 17 => MB_P0, -- There's no pin17, using P0 to fill in... 18 => MB_P0, -- There's no pin18, using P0 to fill in... 19 => MB_P19, 20 => MB_P20); -- We keep track of the current mode of the pin to be able to detect when a -- change of configuration is needed. type Pin_Mode is (None, Digital_In, Digital_Out, Analog_In, Analog_Out); Current_Mode : array (Pin_Id) of Pin_Mode := (others => None); -- PWM -- Number_Of_PWMs : constant := 3; type PWM_Allocated is range 0 .. Number_Of_PWMs; subtype PWM_Id is PWM_Allocated range 0 .. Number_Of_PWMs - 1; No_PWM : constant PWM_Allocated := Number_Of_PWMs; PWM_Alloc : array (Pin_Id) of PWM_Allocated := (others => No_PWM); PWM_Timer : Timer renames Timer_0; PWM_Interrupt : constant Interrupt_Name := TIMER0_Interrupt; PWM_Global_Compare : constant Timer_Channel := 3; PWM_Precision : constant := 4; PWM_Period : UInt32 := 2_000 / PWM_Precision; type PWM_Status is record Taken : Boolean := False; Pulse_Width : Analog_Value; Cmp : UInt32 := 10; Pin : Pin_Id; end record; PWMs : array (PWM_Id) of PWM_Status; function Has_PWM (Pin : Pin_Id) return Boolean is (PWM_Alloc (Pin) /= No_PWM); procedure Allocate_PWM (Pin : Pin_Id; Success : out Boolean) with Pre => not Has_PWM (Pin); procedure Deallocate_PWM (Pin : Pin_Id) with Pre => Has_PWM (Pin), Post => not Has_PWM (Pin); procedure Configure_PPI (Id : PWM_Id); procedure Configure_GPIOTE (Id : PWM_Id); procedure Init_PWM_Timer; function To_Compare_Value (V : Analog_Value) return UInt32; procedure PWM_Timer_Handler; ---------------------- -- To_Compare_Value -- ---------------------- function To_Compare_Value (V : Analog_Value) return UInt32 is Cmp : constant UInt32 := UInt32 (Float (PWM_Period) * (Float (V) / Float (Analog_Value'Last))); begin if Cmp = 0 then return 1; elsif Cmp >= PWM_Period then return PWM_Period - 1; else return Cmp; end if; end To_Compare_Value; ------------------ -- Allocate_PWM -- ------------------ procedure Allocate_PWM (Pin : Pin_Id; Success : out Boolean) is begin for Id in PWM_Id loop if not PWMs (Id).Taken then PWMs (Id).Taken := True; PWMs (Id).Pin := Pin; PWM_Alloc (Pin) := Id; Configure_PPI (Id); Success := True; return; end if; end loop; Success := False; end Allocate_PWM; -------------------- -- Deallocate_PWM -- -------------------- procedure Deallocate_PWM (Pin : Pin_Id) is begin if PWM_Alloc (Pin) /= No_PWM then nRF51.GPIO.Tasks_And_Events.Disable (GPIOTE_Channel (PWM_Alloc (Pin))); PWMs (PWM_Alloc (Pin)).Taken := False; PWM_Alloc (Pin) := No_PWM; end if; end Deallocate_PWM; ------------------- -- Configure_PPI -- ------------------- procedure Configure_PPI (Id : PWM_Id) is Chan1 : constant Channel_ID := Channel_ID (Id) * 2; Chan2 : constant Channel_ID := Chan1 + 1; begin -- Use one PPI channel to triggerd GPTIOTE OUT task on the compare event -- associated with this PWM_Id; nRF51.PPI.Configure (Chan => Chan1, Evt_EP => PWM_Timer.Compare_Event (Timer_Channel (Id)), Task_EP => Out_Task (GPIOTE_Channel (Id))); -- Use another PPI channel to triggerd GPTIOTE OUT task on compare 3 event nRF51.PPI.Configure (Chan => Chan2, Evt_EP => PWM_Timer.Compare_Event (PWM_Global_Compare), Task_EP => Out_Task (GPIOTE_Channel (Id))); nRF51.PPI.Enable_Channel (Chan1); nRF51.PPI.Enable_Channel (Chan2); end Configure_PPI; ---------------------- -- Configure_GPIOTE -- ---------------------- procedure Configure_GPIOTE (Id : PWM_Id) is begin -- Configure the GPIOTE OUT task to toggle the pin nRF51.GPIO.Tasks_And_Events.Enable_Task (Chan => GPIOTE_Channel (Id), GPIO_Pin => Points (PWMs (Id).Pin).Pin, Action => Toggle_Pin, Initial_Value => Init_Set); end Configure_GPIOTE; ----------------------- -- PWM_Timer_Handler -- ----------------------- procedure PWM_Timer_Handler is begin Clear (PWM_Timer.Compare_Event (PWM_Global_Compare)); PWM_Timer.Set_Compare (PWM_Global_Compare, PWM_Period); PWM_Timer.Set_Compare (0, PWMs (0).Cmp); PWM_Timer.Set_Compare (1, PWMs (1).Cmp); PWM_Timer.Set_Compare (2, PWMs (2).Cmp); PWM_Timer.Start; end PWM_Timer_Handler; -------------------- -- Init_PWM_Timer -- -------------------- procedure Init_PWM_Timer is begin PWM_Timer.Set_Mode (Mode_Timer); PWM_Timer.Set_Prescaler (6); PWM_Timer.Set_Bitmode (Bitmode_32bit); -- Clear counter internal register and stop when timer reaches compare -- value 3. PWM_Timer.Compare_Shortcut (Chan => PWM_Global_Compare, Stop => True, Clear => True); PWM_Timer.Set_Compare (PWM_Global_Compare, PWM_Period); for Id in PWM_Id loop PWM_Timer.Set_Compare (Timer_Channel (Id), To_Compare_Value (PWMs (Id).Pulse_Width)); if PWMs (Id).Taken then Configure_GPIOTE (Id); end if; end loop; Enable_Interrupt (PWM_Timer.Compare_Event (PWM_Global_Compare)); nRF51.Interrupts.Register (PWM_Interrupt, PWM_Timer_Handler'Access); nRF51.Interrupts.Enable (PWM_Interrupt); end Init_PWM_Timer; --------- -- Set -- --------- procedure Set (Pin : Pin_Id; Value : Boolean) is Pt : GPIO_Point renames Points (Pin); Conf : GPIO_Configuration; begin if Current_Mode (Pin) /= Digital_Out then if Has_PWM (Pin) then Deallocate_PWM (Pin); end if; Conf.Mode := Mode_Out; Conf.Resistors := No_Pull; Conf.Input_Buffer := Input_Buffer_Connect; Conf.Sense := Sense_Disabled; Pt.Configure_IO (Conf); Current_Mode (Pin) := Digital_Out; end if; if Value then Pt.Set; else Pt.Clear; end if; end Set; --------- -- Set -- --------- function Set (Pin : Pin_Id) return Boolean is Pt : GPIO_Point renames Points (Pin); Conf : GPIO_Configuration; begin if Current_Mode (Pin) /= Digital_In then if Has_PWM (Pin) then Deallocate_PWM (Pin); end if; Conf.Mode := Mode_In; Conf.Resistors := No_Pull; Conf.Input_Buffer := Input_Buffer_Connect; Conf.Sense := Sense_Disabled; Pt.Configure_IO (Conf); Current_Mode (Pin) := Digital_In; end if; return Pt.Set; end Set; -------------------------- -- Set_Analog_Period_Us -- -------------------------- procedure Set_Analog_Period_Us (Period : Natural) is begin PWM_Period := UInt32 (Period) / PWM_Precision; -- Update the comparator values for ech PWM for PWM of PWMs loop PWM.Cmp := To_Compare_Value (PWM.Pulse_Width); end loop; end Set_Analog_Period_Us; ----------- -- Write -- ----------- procedure Write (Pin : Pin_Id; Value : Analog_Value) is Success : Boolean; Pt : GPIO_Point renames Points (Pin); Conf : GPIO_Configuration; begin if not Has_PWM (Pin) then -- Stop the timer while we configure a new pin PWM_Timer.Stop; PWM_Timer.Clear; Allocate_PWM (Pin, Success); if not Success then raise Program_Error with "No PWM available"; end if; -- Set the pin as output Conf.Mode := Mode_Out; Conf.Resistors := No_Pull; Conf.Input_Buffer := Input_Buffer_Connect; Conf.Sense := Sense_Disabled; Pt.Configure_IO (Conf); Pt.Clear; Current_Mode (Pin) := Analog_Out; Init_PWM_Timer; PWM_Timer.Start; end if; PWMs (PWM_Alloc (Pin)).Pulse_Width := Value; PWMs (PWM_Alloc (Pin)).Cmp := To_Compare_Value (Value); end Write; ------------ -- Analog -- ------------ function Analog (Pin : Pin_Id) return Analog_Value is begin if Current_Mode (Pin) /= Analog_In then if Has_PWM (Pin) then Deallocate_PWM (Pin); end if; Current_Mode (Pin) := Analog_In; end if; Start_Pin_Conversion (Pin => (case Pin is when 0 => 4, when 1 => 3, when 2 => 2, when 3 => 5, when 4 => 6, when 10 => 7, when others => 0), Input => Pin_One_Third, Ref => VDD_One_Third, Res => 10); return Analog_Value (Wait_For_Result); end Analog; end MicroBit.IOs;
33.36933
92
0.540518
04de7a82f107a2c09269b5caa4ed2e5328c2b116
611
adb
Ada
Practica 03/P03_Ejercicio2/src/ejercicio2.adb
dpr1005/Tiempo-Real-Ejercicios
244911e9e9a2d8667649eb9f3d7417c39b340161
[ "BSD-3-Clause" ]
null
null
null
Practica 03/P03_Ejercicio2/src/ejercicio2.adb
dpr1005/Tiempo-Real-Ejercicios
244911e9e9a2d8667649eb9f3d7417c39b340161
[ "BSD-3-Clause" ]
null
null
null
Practica 03/P03_Ejercicio2/src/ejercicio2.adb
dpr1005/Tiempo-Real-Ejercicios
244911e9e9a2d8667649eb9f3d7417c39b340161
[ "BSD-3-Clause" ]
1
2022-03-06T17:37:39.000Z
2022-03-06T17:37:39.000Z
with Ada.Text_IO; use Ada.Text_IO; procedure Ejercicio2 is task Tarea1; task Tarea2; task Tarea3; task body Tarea1 is begin for I in 1..10 loop Put_Line("Soy T1"); delay 0.01; end loop; end Tarea1; task body Tarea2 is begin for I in 1..15 loop Put_Line("Soy T2"); delay 0.01; end loop; end Tarea2; task body Tarea3 is begin for I in 1..4 loop Put_Line("Soy T3"); delay 0.01; end loop; end Tarea3; begin for I in 0..7 loop Put_Line("Soy P"); end loop; end Ejercicio2;
16.078947
34
0.554828
2e0953062f44655965e601f09f0c1d9e245abc01
13,284
ads
Ada
awa/src/awa-modules.ads
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
awa/src/awa-modules.ads
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
awa/src/awa-modules.ads
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- awa-modules -- Application Module -- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2016, 2017 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Finalization; with Ada.Strings.Hash; with Ada.Strings.Unbounded; with Ada.Containers.Indefinite_Hashed_Maps; with Util.Log.Loggers; with Util.Beans.Basic; with Util.Beans.Objects; with Util.Serialize.IO; with Util.Listeners; with EL.Expressions; with ASF.Beans; with ASF.Applications; with ADO.Sessions; with AWA.Events; limited with AWA.Applications; -- == Introduction == -- A module is a software component that can be integrated in the -- web application. The module can bring a set of service APIs, -- some Ada beans and some presentation files. The AWA framework -- allows to configure various parts of a module when it is integrated -- in an application. Some modules are designed to be re-used by -- several applications (for example a _mail_ module, a _users_ -- module, ...). Other modules could be specific to an application. -- An application will be made of several modules, some will be -- generic some others specific to the application. -- -- == Registration == -- The module should have only one instance per application and it must -- be registered when the application is initialized. The module -- instance should be added to the application record as follows: -- -- type Application is new AWA.Applications.Application with record -- Xxx : aliased Xxx_Module; -- end record; -- -- The application record must override the `Initialize_Module` procedure -- and it must register the module instance. This is done as follows: -- -- overriding -- procedure Initialize_Modules (App : in out Application) is -- begin -- Register (App => App.Self.all'Access, -- Name => Xxx.Module.NAME, -- URI => "xxx", -- Module => App.User_Module'Access); -- end Initialize_Modules; -- -- The module is registered under a unique name. That name is used -- to load the module configuration. -- -- == Configuration == -- The module is configured by using an XML or a properties file. -- The configuration file is used to define: -- -- * the Ada beans that the module defines and uses, -- * the events that the module wants to receive and the action -- that must be performed when the event is posted, -- * the permissions that the module needs and how to check them, -- * the navigation rules which are used for the module web interface, -- * the servlet and filter mappings used by the module -- -- The module configuration is located in the *config* directory -- and must be the name of the module followed by the file extension -- (example: `module-name`.xml or `module-name`.properties). -- -- package AWA.Modules is type Application_Access is access all AWA.Applications.Application'Class; -- ------------------------------ -- Module manager -- ------------------------------ -- -- The <b>Module_Manager</b> represents the root of the logic manager type Module_Manager is new Ada.Finalization.Limited_Controlled and Util.Beans.Basic.Readonly_Bean with private; function Get_Value (Manager : in Module_Manager; Name : in String) return Util.Beans.Objects.Object; -- Get the module configuration property identified by the name. -- If the configuration property does not exist, returns the default value. function Get_Config (Plugin : Module_Manager; Name : String; Default : String := "") return String; -- Get the module configuration property identified by the <tt>Config</tt> parameter. -- If the property does not exist, the default configuration value is returned. function Get_Config (Plugin : in Module_Manager; Config : in ASF.Applications.Config_Param) return String; -- ------------------------------ -- Module -- ------------------------------ type Module is abstract new Ada.Finalization.Limited_Controlled with private; type Module_Access is access all Module'Class; -- Get the module name function Get_Name (Plugin : Module) return String; -- Get the base URI for this module function Get_URI (Plugin : Module) return String; -- Get the application in which this module is registered. function Get_Application (Plugin : in Module) return Application_Access; -- Find the module with the given name function Find_Module (Plugin : Module; Name : String) return Module_Access; -- Get the module configuration property identified by the name. -- If the configuration property does not exist, returns the default value. function Get_Config (Plugin : Module; Name : String; Default : String := "") return String; -- Get the module configuration property identified by the name. -- If the configuration property does not exist, returns the default value. function Get_Config (Plugin : Module; Name : String; Default : Integer := -1) return Integer; -- Get the module configuration property identified by the name. -- If the configuration property does not exist, returns the default value. function Get_Config (Plugin : Module; Name : String; Default : Boolean := False) return Boolean; -- Get the module configuration property identified by the <tt>Config</tt> parameter. -- If the property does not exist, the default configuration value is returned. function Get_Config (Plugin : in Module; Config : in ASF.Applications.Config_Param) return String; -- Get the module configuration property identified by the <tt>Config</tt> parameter. -- If the configuration property does not exist, returns the default value. function Get_Config (Plugin : in Module; Name : in String; Default : in String := "") return EL.Expressions.Expression; procedure Initialize (Manager : in out Module_Manager; Module : in AWA.Modules.Module'Class); procedure Initialize (Plugin : in out Module; App : in Application_Access; Props : in ASF.Applications.Config); -- Initialize the configuration file parser represented by <b>Parser</b> to recognize -- the specific configuration recognized by the module. procedure Initialize_Parser (Plugin : in out Module; Parser : in out Util.Serialize.IO.Parser'Class) is null; -- Configures the module after its initialization and after having read its XML configuration. procedure Configure (Plugin : in out Module; Props : in ASF.Applications.Config) is null; -- Send the event to the module. The module identified by <b>To</b> is -- found and the event is posted on its event channel. procedure Send_Event (Plugin : in Module; Content : in AWA.Events.Module_Event'Class); -- Get the database connection for reading function Get_Session (Manager : Module) return ADO.Sessions.Session; -- Get the database connection for writing function Get_Master_Session (Manager : Module) return ADO.Sessions.Master_Session; -- Register under the given name a function to create the bean instance when -- it is accessed for a first time. The scope defines the scope of the bean. -- bean procedure Register (Plugin : in out Module; Name : in String; Bind : in ASF.Beans.Class_Binding_Access); -- Add a listener to the module listner list. The module will invoke the listner -- depending on events or actions that occur in the module. procedure Add_Listener (Into : in out Module; Item : in Util.Listeners.Listener_Access); -- Find the module with the given name in the application and add the listener to the -- module listener list. procedure Add_Listener (Plugin : in Module; Name : in String; Item : in Util.Listeners.Listener_Access); -- Remove a listener from the module listener list. procedure Remove_Listener (Into : in out Module; Item : in Util.Listeners.Listener_Access); -- Finalize the module. overriding procedure Finalize (Plugin : in out Module); type Pool_Module is abstract new Module with private; type Session_Module is abstract new Module with private; generic type Manager_Type is new Module_Manager with private; type Manager_Type_Access is access all Manager_Type'Class; Name : String; function Get_Manager return Manager_Type_Access; -- Get the database connection for reading function Get_Session (Manager : Module_Manager) return ADO.Sessions.Session; -- Get the database connection for writing function Get_Master_Session (Manager : Module_Manager) return ADO.Sessions.Master_Session; -- Send the event to the module. The module identified by <b>To</b> is -- found and the event is posted on its event channel. procedure Send_Event (Manager : in Module_Manager; Content : in AWA.Events.Module_Event'Class); -- ------------------------------ -- Module Registry -- ------------------------------ -- The module registry maintains the list of available modules with -- operations to retrieve them either from a name or from the base URI. type Module_Registry is limited private; type Module_Registry_Access is access all Module_Registry; -- Initialize the registry procedure Initialize (Registry : in out Module_Registry; Config : in ASF.Applications.Config); -- Register the module in the registry. procedure Register (Registry : in Module_Registry_Access; App : in Application_Access; Plugin : in Module_Access; Name : in String; URI : in String); -- Find the module with the given name function Find_By_Name (Registry : Module_Registry; Name : String) return Module_Access; -- Find the module mapped to a given URI function Find_By_URI (Registry : Module_Registry; URI : String) return Module_Access; -- Iterate over the modules that have been registered and execute the <b>Process</b> -- procedure on each of the module instance. procedure Iterate (Registry : in Module_Registry; Process : access procedure (Plugin : in out Module'Class)); private use Ada.Strings.Unbounded; type Module is abstract new Ada.Finalization.Limited_Controlled with record Registry : Module_Registry_Access; App : Application_Access := null; Name : Unbounded_String; URI : Unbounded_String; Config : ASF.Applications.Config; Self : Module_Access := null; Listeners : Util.Listeners.List; end record; -- Map to find a module from its name or its URI package Module_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => String, Element_Type => Module_Access, Hash => Ada.Strings.Hash, Equivalent_Keys => "="); type Module_Registry is limited record Config : ASF.Applications.Config; Name_Map : Module_Maps.Map; URI_Map : Module_Maps.Map; end record; type Module_Manager is new Ada.Finalization.Limited_Controlled and Util.Beans.Basic.Readonly_Bean with record Module : Module_Access := null; end record; type Pool_Module is new Module with record D : Natural; end record; type Session_Module is new Module with record P : Natural; end record; use Util.Log; -- The logger (used by the generic Get function). Log : constant Loggers.Logger := Loggers.Create ("AWA.Modules"); end AWA.Modules;
41.383178
98
0.638061
04addc80f78856e9df5c48b0c31c0b146b74e2d0
7,518
adb
Ada
arch/ARM/STM32/driver_demos/demo_timer_pwm/src/demo_pwm_adt.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
arch/ARM/STM32/driver_demos/demo_timer_pwm/src/demo_pwm_adt.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
arch/ARM/STM32/driver_demos/demo_timer_pwm/src/demo_pwm_adt.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ -- This demonstration illustrates the use of PWM to control the brightness of -- an LED. The effect is to make the LED increase and decrease in brightness, -- iteratively, for as long as the application runs. In effect the LED light -- waxes and wanes. See http://visualgdb.com/tutorials/arm/stm32/fpu/ for the -- inspiration. -- -- The demo uses an abstract data type PWM_Modulator to control the power to -- the LED via pulse-width-modulation. A timer is still used underneath, but -- the details are hidden. For direct use of the timer see the other demo. -- -- The demo is currently intended for the STM32F4 Discovery board for the sake -- of the convenience of the four LEDs and their association with Timer_4, but -- other boards could be used. with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with STM32.PWM; use STM32.PWM; with STM32.Timers; use STM32.Timers; procedure Demo_PWM_ADT is -- demo the higher-level PWM abstract data type Selected_Timer : STM32.Timers.Timer renames Timer_4; -- NOT arbitrary! We drive the on-board LEDs that are tied to the channels -- of Timer_4 on some boards. Not all boards have this association. If you -- use a different board, select a GPIO point connected to your selected -- timer and drive that instead. Timer_AF : constant STM32.GPIO_Alternate_Function := GPIO_AF_TIM4_2; -- Note that this value MUST match the corresponding timer selected! Output_Channel : constant Timer_Channel := Channel_2; -- arbitrary -- The LED driven by this example is determined by the channel selected. -- That is so because each channel of Timer_4 is connected to a specific -- LED in the alternate function configuration on this board. We will -- initialize all of the LEDs to be in the AF mode. The -- particular channel selected is completely arbitrary, as long as the -- selected GPIO port/pin for the LED matches the selected channel. -- -- Channel_1 is connected to the green LED. -- Channel_2 is connected to the orange LED. -- Channel_3 is connected to the red LED. -- Channel_4 is connected to the blue LED. LED_For : constant array (Timer_Channel) of User_LED := (Channel_1 => Green_LED, Channel_2 => Orange_LED, Channel_3 => Red_LED, Channel_4 => Blue_LED); Requested_Frequency : constant Hertz := 30_000; -- arbitrary Power_Control : PWM_Modulator; -- The SFP run-time library for these boards is intended for certified -- environments and so does not contain the full set of facilities defined -- by the Ada language. The elementary functions are not included, for -- example. In contrast, the Ravenscar "full" run-times do have these -- functions. function Sine (Input : Long_Float) return Long_Float; -- Therefore there are four choices: 1) use the "ravescar-full-stm32f4" -- runtime library, 2) pull the sources for the language-defined elementary -- function package into the board's run-time library and rebuild the -- run-time, 3) pull the sources for those packages into the source -- directory of your application and rebuild your application, or 4) roll -- your own approximation to the functions required by your application. -- In this demonstration we roll our own approximation to the sine function -- so that it doesn't matter which runtime library is used. function Sine (Input : Long_Float) return Long_Float is Pi : constant Long_Float := 3.14159_26535_89793_23846; X : constant Long_Float := Long_Float'Remainder (Input, Pi * 2.0); B : constant Long_Float := 4.0 / Pi; C : constant Long_Float := (-4.0) / (Pi * Pi); Y : constant Long_Float := B * X + C * X * abs (X); P : constant Long_Float := 0.225; begin return P * (Y * abs (Y) - Y) + Y; end Sine; -- We use the sine function to drive the power applied to the LED, thereby -- making the LED increase and decrease in brightness. We attach the timer -- to the LED and then control how much power is supplied by changing the -- value of the timer's output compare register. The sine function drives -- that value, thus the waxing/waning effect. begin Configure_PWM_Timer (Selected_Timer'Access, Requested_Frequency); Power_Control.Attach_PWM_Channel (Selected_Timer'Access, Output_Channel, LED_For (Output_Channel), Timer_AF); Power_Control.Enable_Output; declare Arg : Long_Float := 0.0; Value : Percentage; Increment : constant Long_Float := 0.00003; -- The Increment value controls the rate at which the brightness -- increases and decreases. The value is more or less arbitrary, but -- note that the effect of compiler optimization is observable. begin loop Value := Percentage (50.0 * (1.0 + Sine (Arg))); Power_Control.Set_Duty_Cycle (Value); Arg := Arg + Increment; end loop; end; end Demo_PWM_ADT;
51.493151
79
0.637936
0461b0151af5d07aa4f9f62d365da1416307a1ea
11,191
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45503a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45503a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45503a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C45503A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT 'REM' AND 'MOD' YIELD CORRECT RESULTS WHEN THE OPERANDS -- ARE OF PREDEFINED TYPE INTEGER. -- R.WILLIAMS 9/1/86 WITH REPORT; USE REPORT; PROCEDURE C45503A IS BEGIN TEST ( "C45503A", "CHECK THAT 'REM' AND 'MOD' YIELD CORRECT " & "RESULTS WHEN THE OPERANDS ARE OF PREDEFINED " & "TYPE INTEGER" ); DECLARE I0 : INTEGER := 0; I1 : INTEGER := 1; I2 : INTEGER := 2; I3 : INTEGER := 3; I4 : INTEGER := 4; I5 : INTEGER := 5; I10 : INTEGER := 10; I11 : INTEGER := 11; I12 : INTEGER := 12; I13 : INTEGER := 13; I14 : INTEGER := 14; N1 : INTEGER := -1; N2 : INTEGER := -2; N3 : INTEGER := -3; N4 : INTEGER := -4; N5 : INTEGER := -5; N10 : INTEGER := -10; N11 : INTEGER := -11; N12 : INTEGER := -12; N13 : INTEGER := -13; N14 : INTEGER := -14; BEGIN IF I10 REM I5 /= I0 THEN FAILED ( "INCORRECT RESULT FOR I10 REM I5" ); END IF; IF IDENT_INT (I11) REM IDENT_INT (I5) /= I1 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I11) REM " & "IDENT_INT (I5)" ); END IF; IF I12 REM I5 /= I2 THEN FAILED ( "INCORRECT RESULT FOR I12 REM I5" ); END IF; IF "REM" (LEFT => I12, RIGHT => I5) /= I2 THEN FAILED ( "INCORRECT RESULT FOR ""REM"" (LEFT => I12, " & "RIGHT => I5)" ); END IF; IF IDENT_INT (I13) REM IDENT_INT (I5) /= I3 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I13) REM " & "IDENT_INT (I5)" ); END IF; IF I14 REM I5 /= I4 THEN FAILED ( "INCORRECT RESULT FOR I14 REM I5" ); END IF; IF IDENT_INT (I10) REM IDENT_INT (N5) /= I0 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I10) REM " & "IDENT_INT (N5)" ); END IF; IF "REM" (LEFT => IDENT_INT (I10), RIGHT => IDENT_INT (N5)) /= I0 THEN FAILED ( "INCORRECT RESULT FOR ""REM"" (LEFT => " & "IDENT_INT (I10), RIGHT => IDENT_INT (N5))" ); END IF; IF I11 REM N5 /= I1 THEN FAILED ( "INCORRECT RESULT FOR I11 REM N5" ); END IF; IF IDENT_INT (I12) REM IDENT_INT (N5) /= I2 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I12) REM " & "IDENT_INT (N5)" ); END IF; IF I13 REM N5 /= I3 THEN FAILED ( "INCORRECT RESULT FOR I13 REM N5" ); END IF; IF "REM" (LEFT => I13, RIGHT => N5) /= I3 THEN FAILED ( "INCORRECT RESULT FOR ""REM"" (LEFT => I13, " & "RIGHT => N5)" ); END IF; IF IDENT_INT (I14) REM IDENT_INT (N5) /= I4 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I14) REM " & "IDENT_INT (N5)" ); END IF; IF N10 REM I5 /= I0 THEN FAILED ( "INCORRECT RESULT FOR N10 REM I5" ); END IF; IF IDENT_INT (N11) REM IDENT_INT (I5) /= N1 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N11) REM " & "IDENT_INT (I5)" ); END IF; IF "REM" (LEFT => IDENT_INT (N11), RIGHT => IDENT_INT (I5)) /= N1 THEN FAILED ( "INCORRECT RESULT FOR ""REM"" (LEFT => " & "IDENT_INT (N11), RIGHT => IDENT_INT (I5))" ); END IF; IF N12 REM I5 /= N2 THEN FAILED ( "INCORRECT RESULT FOR N12 REM I5" ); END IF; IF IDENT_INT (N13) REM IDENT_INT (I5) /= N3 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N13) REM " & "IDENT_INT (I5)" ); END IF; IF N14 REM I5 /= N4 THEN FAILED ( "INCORRECT RESULT FOR N14 REM I5" ); END IF; IF "REM" (LEFT => N14, RIGHT => I5) /= N4 THEN FAILED ( "INCORRECT RESULT FOR ""REM"" (LEFT => N14, " & "RIGHT => I5)" ); END IF; IF IDENT_INT (N10) REM IDENT_INT (N5) /= I0 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N10) REM " & "IDENT_INT (N5)" ); END IF; IF N11 REM N5 /= N1 THEN FAILED ( "INCORRECT RESULT FOR N11 REM N5" ); END IF; IF IDENT_INT (N12) REM IDENT_INT (N5) /= N2 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N12) REM " & "IDENT_INT (N5)" ); END IF; IF "REM" (LEFT => IDENT_INT (N12), RIGHT => IDENT_INT (N5)) /= N2 THEN FAILED ( "INCORRECT RESULT FOR ""REM"" (LEFT => " & "IDENT_INT (N12), RIGHT => IDENT_INT (N5))" ); END IF; IF N13 REM N5 /= N3 THEN FAILED ( "INCORRECT RESULT FOR N13 REM N5" ); END IF; IF IDENT_INT (N14) REM IDENT_INT (N5) /= N4 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N14) REM " & "IDENT_INT (N5)" ); END IF; IF I10 MOD I5 /= I0 THEN FAILED ( "INCORRECT RESULT FOR I10 MOD I5" ); END IF; IF IDENT_INT (I11) MOD IDENT_INT (I5) /= I1 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I11) MOD " & "IDENT_INT (I5)" ); END IF; IF I12 MOD I5 /= I2 THEN FAILED ( "INCORRECT RESULT FOR I12 MOD I5" ); END IF; IF "MOD" (LEFT => I12, RIGHT => I5) /= I2 THEN FAILED ( "INCORRECT RESULT FOR ""MOD"" (LEFT => I12, " & "RIGHT => I5)" ); END IF; IF IDENT_INT (I13) MOD IDENT_INT (I5) /= I3 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I13) MOD " & "IDENT_INT (I5)" ); END IF; IF I14 MOD I5 /= I4 THEN FAILED ( "INCORRECT RESULT FOR I14 MOD I5" ); END IF; IF IDENT_INT (I10) MOD IDENT_INT (N5) /= I0 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I10) MOD " & "IDENT_INT (N5)" ); END IF; IF "MOD" (LEFT => IDENT_INT (I10), RIGHT => IDENT_INT (N5)) /= I0 THEN FAILED ( "INCORRECT RESULT FOR ""MOD"" (LEFT => " & "IDENT_INT (I10), RIGHT => IDENT_INT (N5))" ); END IF; IF I11 MOD N5 /= N4 THEN FAILED ( "INCORRECT RESULT FOR I11 MOD N5" ); END IF; IF IDENT_INT (I12) MOD IDENT_INT (N5) /= N3 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I12) MOD " & "IDENT_INT (N5)" ); END IF; IF I13 MOD N5 /= N2 THEN FAILED ( "INCORRECT RESULT FOR I13 MOD N5" ); END IF; IF "MOD" (LEFT => I13, RIGHT => N5) /= N2 THEN FAILED ( "INCORRECT RESULT FOR ""MOD"" (LEFT => I13, " & "RIGHT => N5)" ); END IF; IF IDENT_INT (I14) MOD IDENT_INT (N5) /= N1 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (I14) MOD " & "IDENT_INT (N5)" ); END IF; IF N10 MOD I5 /= I0 THEN FAILED ( "INCORRECT RESULT FOR N10 MOD I5" ); END IF; IF IDENT_INT (N11) MOD IDENT_INT (I5) /= I4 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N11) MOD " & "IDENT_INT (I5)" ); END IF; IF "MOD" (LEFT => IDENT_INT (N11), RIGHT => IDENT_INT (I5)) /= I4 THEN FAILED ( "INCORRECT RESULT FOR ""MOD"" (LEFT => " & "IDENT_INT (N11), RIGHT => IDENT_INT (I5))" ); END IF; IF N12 MOD I5 /= I3 THEN FAILED ( "INCORRECT RESULT FOR N12 MOD I5" ); END IF; IF IDENT_INT (N13) MOD IDENT_INT (I5) /= I2 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N13) MOD " & "IDENT_INT (I5)" ); END IF; IF N14 MOD I5 /= I1 THEN FAILED ( "INCORRECT RESULT FOR N14 MOD I5" ); END IF; IF "MOD" (LEFT => N14, RIGHT => I5) /= I1 THEN FAILED ( "INCORRECT RESULT FOR ""MOD"" (LEFT => I14, " & "RIGHT => I5)" ); END IF; IF IDENT_INT (N10) MOD IDENT_INT (N5) /= I0 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N10) MOD " & "IDENT_INT (N5)" ); END IF; IF N11 MOD N5 /= N1 THEN FAILED ( "INCORRECT RESULT FOR N11 MOD N5" ); END IF; IF IDENT_INT (N12) MOD IDENT_INT (N5) /= N2 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N12) MOD " & "IDENT_INT (N5)" ); END IF; IF "MOD" (LEFT => IDENT_INT (N12), RIGHT => IDENT_INT (N5)) /= N2 THEN FAILED ( "INCORRECT RESULT FOR ""MOD"" (LEFT => " & "IDENT_INT (N12), RIGHT => IDENT_INT (N5))" ); END IF; IF N13 MOD N5 /= N3 THEN FAILED ( "INCORRECT RESULT FOR N13 MOD N5" ); END IF; IF IDENT_INT (N14) MOD IDENT_INT (N5) /= N4 THEN FAILED ( "INCORRECT RESULT FOR IDENT_INT (N14) MOD " & "IDENT_INT (N5)" ); END IF; END; RESULT; END C45503A;
35.983923
79
0.468591
04f7e3370c4d7cca50424732add889ca664dddb5
6,115
ads
Ada
source/amf/utp/amf-internals-utp_test_cases.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/utp/amf-internals-utp_test_cases.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/utp/amf-internals-utp_test_cases.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Internals.Utp_Elements; with AMF.String_Collections; with AMF.UML.Behaviors; with AMF.UML.Operations; with AMF.Utp.Test_Cases; with AMF.Visitors; package AMF.Internals.Utp_Test_Cases is type Utp_Test_Case_Proxy is limited new AMF.Internals.Utp_Elements.Utp_Element_Proxy and AMF.Utp.Test_Cases.Utp_Test_Case with null record; overriding function Get_Base_Behavior (Self : not null access constant Utp_Test_Case_Proxy) return AMF.UML.Behaviors.UML_Behavior_Access; -- Getter of TestCase::base_Behavior. -- overriding procedure Set_Base_Behavior (Self : not null access Utp_Test_Case_Proxy; To : AMF.UML.Behaviors.UML_Behavior_Access); -- Setter of TestCase::base_Behavior. -- overriding function Get_Base_Operation (Self : not null access constant Utp_Test_Case_Proxy) return AMF.UML.Operations.UML_Operation_Access; -- Getter of TestCase::base_Operation. -- overriding procedure Set_Base_Operation (Self : not null access Utp_Test_Case_Proxy; To : AMF.UML.Operations.UML_Operation_Access); -- Setter of TestCase::base_Operation. -- overriding function Get_Priority (Self : not null access constant Utp_Test_Case_Proxy) return AMF.Optional_String; -- Getter of TestCase::priority. -- overriding procedure Set_Priority (Self : not null access Utp_Test_Case_Proxy; To : AMF.Optional_String); -- Setter of TestCase::priority. -- overriding function Get_Compatible_SUT_Version (Self : not null access constant Utp_Test_Case_Proxy) return AMF.String_Collections.Set_Of_String; -- Getter of TestCase::compatibleSUTVersion. -- overriding function Get_Compatible_SUT_Variant (Self : not null access constant Utp_Test_Case_Proxy) return AMF.String_Collections.Set_Of_String; -- Getter of TestCase::compatibleSUTVariant. -- overriding procedure Enter_Element (Self : not null access constant Utp_Test_Case_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Leave_Element (Self : not null access constant Utp_Test_Case_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Visit_Element (Self : not null access constant Utp_Test_Case_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); end AMF.Internals.Utp_Test_Cases;
49.314516
78
0.539493
4b4da48582c0de0dc1291fd5b226fcbf115d2b21
891
ads
Ada
source/main.ads
bracke/Ext2Dir
84068a3c785eb1b7c606342b56097decfadfc907
[ "MIT" ]
1
2017-04-29T20:02:28.000Z
2017-04-29T20:02:28.000Z
source/main.ads
bracke/Ext2Dir
84068a3c785eb1b7c606342b56097decfadfc907
[ "MIT" ]
null
null
null
source/main.ads
bracke/Ext2Dir
84068a3c785eb1b7c606342b56097decfadfc907
[ "MIT" ]
null
null
null
-- StrongEd$WrapWidth=256 -- StrongEd$Mode=Ada -- with RASCAL.Utility; use RASCAL.Utility; package Main is type Names is array(natural range <>) of ustring; type Options is (Remove_Extension,Change_Name,Set_FileType, Set_Access,Remove_Original,Verbose,Help,Descend,Move_Sub_Content); type Bit_Array is array (Options'Range) of Boolean; type Path_Variables is (source,target); type String_Array is array (Path_Variables'Range) of ustring; Bits : Bit_Array := (others => false); Paths : String_Array := (U(""),U("")); -- procedure Main; -- procedure Proces_File(FilePath : in string; Target : in String); -- procedure Proces_Dir (Path : in String; Target : in String); -- procedure Help; ---- end Main;
18.5625
73
0.588103
1af01cc5518a94830b0e24e972769593f8d294b3
1,847
ads
Ada
source/slim-messages-grfe.ads
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
source/slim-messages-grfe.ads
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
source/slim-messages-grfe.ads
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
-- Copyright (c) 2019 Maxim Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Players.Displays; package Slim.Messages.grfe is type Grfe_Message is new Message with private; -- Sends a bitmap to the client for display. not overriding procedure Initialize (Self : in out Grfe_Message; Value : Ada.Streams.Stream_Element_Array; Transition : Slim.Players.Displays.Transition_Kind := Slim.Players.Displays.None; Offset : Natural := 0); not overriding function Data (Self : Grfe_Message) return Ada.Streams.Stream_Element_Array; private subtype Byte is Ada.Streams.Stream_Element; type Grfe_Message is new Base_Message (Max_8 => 1 + 1, Max_16 => 1, Max_32 => 0, Max_64 => 0) with record Data : League.Stream_Element_Vectors.Stream_Element_Vector; end record; overriding function Read (Data : not null access League.Stream_Element_Vectors.Stream_Element_Vector) return Grfe_Message; overriding procedure Read_Custom_Field (Self : in out Grfe_Message; Index : Positive; Input : in out Ada.Streams.Stream_Element_Offset; Data : League.Stream_Element_Vectors.Stream_Element_Vector); overriding procedure Write_Custom_Field (Self : Grfe_Message; Index : Positive; Data : in out League.Stream_Element_Vectors.Stream_Element_Vector); overriding procedure Write (Self : Grfe_Message; Tag : out Message_Tag; Data : out League.Stream_Element_Vectors.Stream_Element_Vector); overriding procedure Visit (Self : not null access Grfe_Message; Visiter : in out Slim.Message_Visiters.Visiter'Class); end Slim.Messages.grfe;
29.790323
74
0.678397
3db946a833fa3c758c9e6892a37f73fd6d2ab878
4,601
adb
Ada
test_draw_line_major/src/shader_manager.adb
rogermc2/GA_Ada
0b55eb5691ac1c543c79c9a06ffdbe2e47e8f1be
[ "ISC" ]
3
2019-04-12T01:09:55.000Z
2021-02-24T18:17:32.000Z
test_draw_line/src/shader_manager.adb
rogermc2/GA_Ada
0b55eb5691ac1c543c79c9a06ffdbe2e47e8f1be
[ "ISC" ]
1
2020-08-12T10:10:25.000Z
2020-08-12T10:10:25.000Z
test_draw_line/src/shader_manager.adb
rogermc2/GA_Ada
0b55eb5691ac1c543c79c9a06ffdbe2e47e8f1be
[ "ISC" ]
1
2019-04-12T01:14:15.000Z
2019-04-12T01:14:15.000Z
with Ada.Text_IO; use Ada.Text_IO; with GL.Objects.Shaders; with Program_Loader; package body Shader_Manager is Black : constant GL.Types.Singles.Vector4 := (0.0, 0.0, 0.0, 0.0); Render_Uniforms : Shader_Uniforms; procedure Init (Render_Program : in out GL.Objects.Programs.Program) is use GL.Objects.Programs; use GL.Objects.Shaders; use GL.Types.Singles; use Program_Loader; Light : constant Singles.Vector3 := (0.0, 4.0, 1.0); begin Render_Program := Program_From ((Src ("src/shaders/vertex_shader_line.glsl", Vertex_Shader), Src ("src/shaders/fragment_shader_line.glsl", Fragment_Shader))); Render_Uniforms.View_Matrix_ID := Uniform_Location (Render_Program, "view_matrix"); Render_Uniforms.Model_Matrix_ID := Uniform_Location (Render_Program, "model_matrix"); Render_Uniforms.Projection_Matrix_ID := Uniform_Location (Render_Program, "projection_matrix"); Render_Uniforms.Model_View_Matrix_ID := Uniform_Location (Render_Program, "mv_matrix"); Render_Uniforms.Light_Position_ID := Uniform_Location (Render_Program, "light_position"); Render_Uniforms.Ambient_Colour_ID := Uniform_Location (Render_Program, "Ambient_Colour"); Render_Uniforms.Diffuse_Colour_ID := Uniform_Location (Render_Program, "Diffuse_Colour"); Render_Uniforms.Drawing_Colour_ID := Uniform_Location (Render_Program, "Drawing_Colour"); Use_Program (Render_Program); GL.Uniforms.Set_Single (Render_Uniforms.Light_Position_ID, Light); GL.Uniforms.Set_Single (Render_Uniforms.Model_Matrix_ID, Identity4); GL.Uniforms.Set_Single (Render_Uniforms.Model_View_Matrix_ID, Identity4); GL.Uniforms.Set_Single (Render_Uniforms.Light_Position_ID, Light); GL.Uniforms.Set_Single (Render_Uniforms.View_Matrix_ID, Identity4); GL.Uniforms.Set_Single (Render_Uniforms.Ambient_Colour_ID, Black); GL.Uniforms.Set_Single (Render_Uniforms.Diffuse_Colour_ID, Black); GL.Uniforms.Set_Single (Render_Uniforms.Drawing_Colour_ID, Black); exception when others => Put_Line ("An exception occurred in Shader_Manager.Init."); raise; end Init; -- ------------------------------------------------------------------------- procedure Set_Ambient_Colour (Ambient_Colour : Singles.Vector4) is begin GL.Uniforms.Set_Single (Render_Uniforms.Ambient_Colour_ID, Ambient_Colour); end Set_Ambient_Colour; -- ------------------------------------------------------------------------- procedure Set_Diffuse_Colour (Diffuse_Colour : Singles.Vector4) is begin GL.Uniforms.Set_Single (Render_Uniforms.Diffuse_Colour_ID, Diffuse_Colour); end Set_Diffuse_Colour; -- ------------------------------------------------------------------------- procedure Set_Drawing_Colour (Drawing_Colour : Singles.Vector4) is begin GL.Uniforms.Set_Single (Render_Uniforms.Drawing_Colour_ID, Drawing_Colour); end Set_Drawing_Colour; -- ------------------------------------------------------------------------- procedure Set_Light_Position_Vector (Light_Position : Singles.Vector3) is begin GL.Uniforms.Set_Single (Render_Uniforms.Light_Position_ID, Light_Position); end Set_Light_Position_Vector; -- ------------------------------------------------------------------------- procedure Set_Model_Matrix (Model_Matrix : Singles.Matrix4) is begin GL.Uniforms.Set_Single (Render_Uniforms.Model_Matrix_ID, Model_Matrix); end Set_Model_Matrix; -- ------------------------------------------------------------------------- procedure Set_View_Matrix (View_Matrix : Singles.Matrix4) is begin GL.Uniforms.Set_Single (Render_Uniforms.View_Matrix_ID, View_Matrix); end Set_View_Matrix; -- ------------------------------------------------------------------------- procedure Set_Model_View_Matrix (Model_View_Matrix : Singles.Matrix4) is begin GL.Uniforms.Set_Single (Render_Uniforms.Model_View_Matrix_ID, Model_View_Matrix); end Set_Model_View_Matrix; -- ------------------------------------------------------------------------- procedure Set_Projection_Matrix (Projection_Matrix : Singles.Matrix4) is begin GL.Uniforms.Set_Single (Render_Uniforms.Projection_Matrix_ID, Projection_Matrix); end Set_Projection_Matrix; -- ------------------------------------------------------------------------- end Shader_Manager;
37.713115
81
0.621169
4bc9cca3a9e5859178f30216afe672336f6b2cb0
1,697
adb
Ada
ImgAnnealing/src/imageops.adb
kochab/simulatedannealing-ada
ed1f2d15b0aadd31d8ca474b67ac02ae380aaf71
[ "MIT" ]
null
null
null
ImgAnnealing/src/imageops.adb
kochab/simulatedannealing-ada
ed1f2d15b0aadd31d8ca474b67ac02ae380aaf71
[ "MIT" ]
null
null
null
ImgAnnealing/src/imageops.adb
kochab/simulatedannealing-ada
ed1f2d15b0aadd31d8ca474b67ac02ae380aaf71
[ "MIT" ]
null
null
null
with Ada.Numerics.Discrete_Random; with Bitmaps.RGB; package body ImageOps is package Random_Luminance is new Ada.Numerics.Discrete_Random (Bitmaps.Luminance); Random_Luminance_G : Random_Luminance.Generator; function Manhattan_Distance (A, B : in Bitmaps.RGB.Pixel) return Natural is (abs (Integer (A.R) - Integer (B.R)) + abs (Integer (A.G) - Integer (B.G)) + abs (Integer (A.B) - Integer (B.B))); function Adj_Distance_Sum (Source : in Bitmaps.RGB.Image) return Long_Integer is S : Long_Integer := 0; begin for Y in 1 .. Bitmaps.RGB.Max_Y (Source) loop for X in 1 .. Bitmaps.RGB.Max_X (Source) loop S := S + Long_Integer (Manhattan_Distance (Bitmaps.RGB.Get_Pixel (Source, X, Y), Bitmaps.RGB.Get_Pixel (Source, X - 1, Y))); S := S + Long_Integer (Manhattan_Distance (Bitmaps.RGB.Get_Pixel (Source, X, Y), Bitmaps.RGB.Get_Pixel (Source, X, Y - 1))); end loop; end loop; return S; end Adj_Distance_Sum; procedure Noise (Target : in out Bitmaps.RGB.Image) is begin for Y in 0 .. Bitmaps.RGB.Max_Y (Target) loop for X in 0 .. Bitmaps.RGB.Max_X (Target) loop Bitmaps.RGB.Set_Pixel (Target, X, Y, (R => Random_Luminance.Random (Random_Luminance_G), G => Random_Luminance.Random (Random_Luminance_G), B => Random_Luminance.Random (Random_Luminance_G))); end loop; end loop; end Noise; end ImageOps;
29.77193
78
0.565115
049edb8b1e43fe8e8365e1bcd2014904c8e6a041
3,320
adb
Ada
src/hyperion-hosts-beans.adb
stcarrez/hyperion
166b10135521ee6553affc1b79f0bee3a9c7ea43
[ "Apache-2.0" ]
null
null
null
src/hyperion-hosts-beans.adb
stcarrez/hyperion
166b10135521ee6553affc1b79f0bee3a9c7ea43
[ "Apache-2.0" ]
null
null
null
src/hyperion-hosts-beans.adb
stcarrez/hyperion
166b10135521ee6553affc1b79f0bee3a9c7ea43
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- hyperion-hosts-beans -- Beans for module hosts -- Copyright (C) 2017 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with ASF.Events.Faces.Actions; package body Hyperion.Hosts.Beans is -- ------------------------------ -- Example of action method. -- ------------------------------ procedure Action (Bean : in out Host_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin null; end Action; package Action_Binding is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Host_Bean, Method => Action, Name => "action"); Host_Bean_Binding : aliased constant Util.Beans.Methods.Method_Binding_Array := (Action_Binding.Proxy'Access, null); -- ------------------------------ -- Get the value identified by the name. -- ------------------------------ overriding function Get_Value (From : in Host_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "count" then return Util.Beans.Objects.To_Object (From.Count); else return Util.Beans.Objects.Null_Object; end if; end Get_Value; -- ------------------------------ -- Set the value identified by the name. -- ------------------------------ overriding procedure Set_Value (From : in out Host_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "count" then From.Count := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression -- ------------------------------ overriding function Get_Method_Bindings (From : in Host_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Host_Bean_Binding'Access; end Get_Method_Bindings; -- ------------------------------ -- Create the Host_Bean bean instance. -- ------------------------------ function Create_Host_Bean (Module : in Hyperion.Hosts.Modules.Host_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access is Object : constant Host_Bean_Access := new Host_Bean; begin Object.Module := Module; return Object.all'Access; end Create_Host_Bean; end Hyperion.Hosts.Beans;
37.303371
89
0.551807
1ab74b65d4a4e7a0564b10c0ca9c42726868da86
3,977
ads
Ada
src/sys/streams/util-streams-buffered-encoders.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
60
2015-01-18T23:05:34.000Z
2022-03-20T18:56:30.000Z
src/sys/streams/util-streams-buffered-encoders.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
20
2016-09-15T16:41:30.000Z
2022-03-29T22:02:32.000Z
src/sys/streams/util-streams-buffered-encoders.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
10
2015-02-13T04:00:45.000Z
2022-03-20T18:57:54.000Z
----------------------------------------------------------------------- -- util-streams-encoders -- Streams with encoding and decoding capabilities -- Copyright (C) 2017, 2019, 2021 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Encoders; -- == Encoding Streams == -- The <tt>Encoding_Stream</tt> tagged record represents a stream with encoding capabilities. -- The stream passes the data to be written to the <tt>Transformer</tt> interface that -- allows to make transformations on the data before being written. -- -- Encode : Util.Streams.Buffered.Encoders.Encoding_Stream; -- -- The encoding stream manages a buffer that is used to hold the encoded data before it is -- written to the target stream. The <tt>Initialize</tt> procedure must be called to indicate -- the target stream, the size of the buffer and the encoding format to be used. -- -- Encode.Initialize (Output => File'Access, Size => 4096, Format => "base64"); -- generic type Encoder is limited new Util.Encoders.Transformer with private; package Util.Streams.Buffered.Encoders is -- ----------------------- -- Encoding stream -- ----------------------- -- The <b>Encoding_Stream</b> is an output stream which uses an encoder to -- transform the data before writing it to the output. The transformer can -- change the data by encoding it in Base64, Base16 or encrypting it. type Encoder_Stream is limited new Util.Streams.Buffered.Input_Output_Buffer_Stream with record Transform : Encoder; Flushed : Boolean := False; end record; -- Initialize the stream with a buffer of <b>Size</b> bytes. procedure Initialize (Stream : in out Encoder_Stream; Size : in Positive); -- Initialize the stream to write on the given stream. -- An internal buffer is allocated for writing the stream. procedure Produces (Stream : in out Encoder_Stream; Output : access Output_Stream'Class; Size : in Positive); -- Initialize the stream to read the given streams. procedure Consumes (Stream : in out Encoder_Stream; Input : access Input_Stream'Class; Size : in Positive); -- Close the sink. overriding procedure Close (Stream : in out Encoder_Stream); -- Write the buffer array to the output stream. overriding procedure Write (Stream : in out Encoder_Stream; Buffer : in Ada.Streams.Stream_Element_Array); -- Read into the buffer as many bytes as possible and return in -- `last` the position of the last byte read. overriding procedure Read (Stream : in out Encoder_Stream; Into : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset); -- Flush the buffer by writing on the output stream. -- Raises Data_Error if there is no output stream. overriding procedure Flush (Stream : in out Encoder_Stream); overriding procedure Finalize (Stream : in out Encoder_Stream); -- Fill the buffer by reading the input stream. -- Raises Data_Error if there is no input stream; procedure Fill (Stream : in out Encoder_Stream); end Util.Streams.Buffered.Encoders;
42.308511
95
0.655771
2e66b645cdf7ab722e2dd615799bb8719e1969b8
433
ads
Ada
source/strings/a-stbost.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/strings/a-stbost.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/strings/a-stbost.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); -- extended unit with Ada.References.Strings; with Ada.Streams.Block_Transmission.Strings; with Ada.Strings.Generic_Bounded; package Ada.Strings.Bounded_Strings is new Generic_Bounded ( Character, String, Streams.Block_Transmission.Strings.Read, Streams.Block_Transmission.Strings.Write, References.Strings.Slicing); pragma Preelaborate (Ada.Strings.Bounded_Strings);
30.928571
50
0.775982
c76afd2b388efec4de653ab10eaba246d1d480de
6,556
adb
Ada
source/s-refcou.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/s-refcou.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/s-refcou.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
with System.Storage_Barriers; package body System.Reference_Counting is pragma Suppress (All_Checks); use type Storage_Elements.Storage_Offset; function atomic_load ( ptr : not null access constant Counter; memorder : Integer := Storage_Barriers.ATOMIC_ACQUIRE) return Counter with Import, Convention => Intrinsic, External_Name => "__atomic_load_4"; procedure atomic_add_fetch ( ptr : not null access Counter; val : Counter; memorder : Integer := Storage_Barriers.ATOMIC_ACQ_REL) with Import, Convention => Intrinsic, External_Name => "__atomic_add_fetch_4"; function atomic_sub_fetch ( ptr : not null access Counter; val : Counter; memorder : Integer := Storage_Barriers.ATOMIC_ACQ_REL) return Counter with Import, Convention => Intrinsic, External_Name => "__atomic_sub_fetch_4"; pragma Compile_Time_Error ( Storage_Elements.Storage_Offset'Size /= 32 and then Storage_Elements.Storage_Offset'Size /= 64, "Storage_Elements.Storage_Offset'Size is neither 32 nor 64"); -- Use sequentially consistent model because an object's length and -- contents should be synchronized. Order : constant := Storage_Barriers.ATOMIC_SEQ_CST; function atomic_compare_exchange ( ptr : not null access Length_Type; expected : not null access Length_Type; desired : Length_Type; weak : Boolean := False; success_memorder : Integer := Order; failure_memorder : Integer := Order) return Boolean with Import, Convention => Intrinsic, External_Name => (case Storage_Elements.Storage_Offset'Size is when 32 => "__atomic_compare_exchange_4", when others => "__atomic_compare_exchange_8"); -- implementation function Shared (Data : not null Data_Access) return Boolean is begin return atomic_load (Data) > 1; -- static is True end Shared; -- not null because using sentinel (that means empty data block) procedure Adjust ( Target : not null access Container) is Reference_Count : constant not null Data_Access := Target.all; begin if atomic_load (Reference_Count) /= Static then atomic_add_fetch (Reference_Count, 1); end if; end Adjust; procedure Assign ( Target : not null access Container; Source : not null access constant Container; Free : not null access procedure (Object : in out Data_Access)) is begin if Target.all /= Source.all then Clear (Target, Free); Target.all := Source.all; Adjust (Target); end if; end Assign; procedure Clear ( Target : not null access Container; Free : not null access procedure (Object : in out Data_Access)) is Reference_Count : constant not null Data_Access := Target.all; begin if atomic_load (Reference_Count) /= Static and then atomic_sub_fetch (Reference_Count, 1) = 0 then Free (Target.all); end if; end Clear; procedure Move ( Target : not null access Container; Source : not null access Container; Sentinel : not null Data_Access; Free : not null access procedure (Object : in out Data_Access)) is begin if Target.all /= Source.all then Clear (Target, Free); Target.all := Source.all; Source.all := Sentinel; end if; end Move; procedure Unique ( Target : not null access Container; Target_Length : Length_Type; Target_Capacity : Length_Type; New_Length : Length_Type; New_Capacity : Length_Type; Sentinel : not null Data_Access; Reallocate : not null access procedure ( Target : aliased in out not null Data_Access; Length : Length_Type; Max_Length : Length_Type; Capacity : Length_Type); Copy : not null access procedure ( Target : out not null Data_Access; Source : not null Data_Access; Length : Length_Type; Max_Length : Length_Type; Capacity : Length_Type); Free : not null access procedure (Object : in out Data_Access)) is begin if Shared (Target.all) then if New_Capacity /= Target_Capacity or else Target.all /= Sentinel then declare Old : aliased Container := Target.all; begin if New_Capacity = 0 then Target.all := Sentinel; else Copy ( Target.all, Old, Target_Length, New_Length, New_Capacity); end if; Clear (Old'Access, Free => Free); end; end if; else -- not shared if New_Capacity /= Target_Capacity then if New_Capacity = 0 then Free (Target.all); Target.all := Sentinel; else Reallocate ( Target.all, Target_Length, New_Length, New_Capacity); end if; end if; end if; end Unique; procedure In_Place_Set_Length ( Target_Data : not null Data_Access; Target_Length : Length_Type; Target_Max_Length : aliased in out Length_Type; Target_Capacity : Length_Type; New_Length : Length_Type; Failure : out Boolean) is begin if New_Length > Target_Length then -- inscreasing if New_Length > Target_Capacity then -- expanding Failure := True; -- should be reallocated else -- try to use reserved area declare Expected : aliased Length_Type := Target_Length; begin Failure := not atomic_compare_exchange ( Target_Max_Length'Access, Expected'Access, New_Length); end; if Failure and then not Shared (Target_Data) then -- reference count = 1 Target_Max_Length := New_Length; Failure := False; -- success end if; end if; else -- decreasing if not Shared (Target_Data) then Target_Max_Length := New_Length; end if; Failure := False; -- success end if; end In_Place_Set_Length; end System.Reference_Counting;
32.616915
79
0.597773
4b010dd7819560cfdd0229d8077c8cdafdc087b2
867
adb
Ada
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/enum_idx_packed/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/enum_idx_packed/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/enum_idx_packed/foo.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2012-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is Full : Full_Table := (False, True, False, True, False); begin Do_Nothing (Full'Address); -- STOP end Foo;
34.68
73
0.724337
c73a7aab570622fdd99547a505534f0cd313e69b
16,299
ads
Ada
src/vulkan-math/vulkan-math-packing.ads
zrmyers/VulkanAda
ed8c46d923bc8936db3a5d55d36afebb928a9ede
[ "MIT" ]
1
2021-01-29T21:10:45.000Z
2021-01-29T21:10:45.000Z
src/vulkan-math/vulkan-math-packing.ads
zrmyers/VulkanAda
ed8c46d923bc8936db3a5d55d36afebb928a9ede
[ "MIT" ]
8
2020-04-22T14:55:20.000Z
2021-11-22T03:58:08.000Z
src/vulkan-math/vulkan-math-packing.ads
zrmyers/VulkanAda
ed8c46d923bc8936db3a5d55d36afebb928a9ede
[ "MIT" ]
1
2021-04-05T13:19:21.000Z
2021-04-05T13:19:21.000Z
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- 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. -------------------------------------------------------------------------------- with Vulkan.Math.Vec2; with Vulkan.Math.Vec4; with Vulkan.Math.Uvec2; use Vulkan.Math.Vec2; use Vulkan.Math.Vec4; use Vulkan.Math.Uvec2; -------------------------------------------------------------------------------- --< @group Vulkan Math Functions -------------------------------------------------------------------------------- --< @summary --< This package provides GLSL Floating Point Packing and Unpacking functions. --< --< @description --< All floating point pack and unpack functions op -------------------------------------------------------------------------------- package Vulkan.Math.Packing is pragma Preelaborate; pragma Pure; ---------------------------------------------------------------------------- -- Normalized Vector Packing and Unpacking Functions ---------------------------------------------------------------------------- --< @summary --< This operation packs a normalized Vkm_Vec2 with unsigned components into --< a 32-bit unsigned integer. --< --< @description --< Each component of the unsigned normalized input Vkm_Vec2 is packed into --< an 16-bit bitfield of an unsigned integer. --< --< The following conversion function is used to transform each floating --< point component into an 16-bit bitfield, where c is a component of the vector: --< --< uint16_c := round( clamp ( c, 0, 1) * 65535.0) --< --< The packed vector is formatted as follows in the unsigned integer: --< bits | 31 30 ... 17 16 | 15 14 ... 1 0 | --< component | y | x | --< --< @param vector --< The normalized Vkm_Vec2 value to pack into an unsigned integer. --< --< @return --< The unsigned integer value. ---------------------------------------------------------------------------- function Pack_Unsigned_Normalized_2x16( vector : in Vkm_Vec2) return Vkm_Uint; ---------------------------------------------------------------------------- --< @summary --< This operation packs a normalized Vkm_Vec2 with signed components into --< a 32-bit unsigned integer. --< --< @description --< Each component of the signed normalized input Vkm_Vec2 is packed into --< an 16-bit bitfield of an unsigned integer. --< --< The following conversion function is used to transform each floating --< point component into an 16-bit bitfield, where c is a component of the vector: --< --< int16_c := round( clamp ( c, -1, 1) * 32767.0) --< --< The packed vector is formatted as follows in the unsigned integer: --< bits | 31 30 ... 17 16 | 15 14 ... 1 0 | --< component | y | x | --< --< @param vector --< The normalized Vkm_Vec2 value to pack into an unsigned integer. --< --< @return --< The unsigned integer value. ---------------------------------------------------------------------------- function Pack_Signed_Normalized_2x16( vector : in Vkm_Vec2) return Vkm_Uint; ---------------------------------------------------------------------------- --< @summary --< This operation packs a normalized Vkm_Vec4 with unsigned components into --< a 32-bit unsigned integer. --< --< @description --< Each component of the unsigned normalized input Vkm_Vec4 is packed into --< an 8-bit bitfield of an unsigned integer. --< --< The following conversion function is used to transform each floating --< point component into an 8-bit bitfield, where c is a component of the vector: --< --< uint8_c := round( clamp ( c, 0, 1) * 255.0) --< --< The packed vector is formatted as follows in the unsigned integer: --< bits | 31 ... 24 | 23 ... 16 | 15 ... 8 | 7 ... 0 | --< component | w | z | y | x | --< --< @param vector --< The normalized Vkm_Vec4 value to pack into an unsigned integer. --< --< @return --< The unsigned integer value. ---------------------------------------------------------------------------- function Pack_Unsigned_Normalized_4x8( vector : in Vkm_Vec4) return Vkm_Uint; ---------------------------------------------------------------------------- --< @summary --< This operation packs a normalized Vkm_Vec4 with signed components into --< a 32-bit unsigned integer. --< --< @description --< Each component of the signed normalized input Vkm_Vec4 is packed into --< an 8-bit bitfield of an unsigned integer. --< --< The following conversion function is used to transform each floating --< point component into an 8-bit bitfield, where c is a component of the vector: --< --< int8_c := round( clamp ( c, -1, 1) * 127.0) --< --< The packed vector is formatted as follows in the unsigned integer: --< bits | 31 ... 24 | 23 ... 16 | 15 ... 8 | 7 ... 0 | --< component | w | z | y | x | --< --< @param vector --< The normalized Vkm_Vec4 value to pack into an unsigned integer. --< --< @return --< The unsigned integer value. ---------------------------------------------------------------------------- function Pack_Signed_Normalized_4x8( vector : in Vkm_Vec4) return Vkm_Uint; ---------------------------------------------------------------------------- --< @summary --< This operation unpacks a normalized Vkm_Vec2 with unsigned components from --< a 32-bit unsigned integer. --< --< @description --< Each component of the unsigned normalized output Vkm_Vec2 is unpacked from --< a 16-bit bitfield of an unsigned integer. --< --< The unpacked vector is extracted as follows from the unsigned integer: --< bits | 31 30 ... 17 16 | 15 14 ... 1 0 | --< component | y | x | --< --< The following conversion function is used to transform each 16-bit --< bitfield into a floating point value, where c is a component of the vector, --< and uint16_c is the 16-bit packed component: --< --< c := uint16_c / 65535.0 --< --< @param packed --< The unsigned integer that contains the packed Vkm_Vec2. --< --< @return --< The unpacked signed normalized Vkm_Vec2 value. ---------------------------------------------------------------------------- function Unpack_Unsigned_Normalized_2x16( packed : in Vkm_Uint) return Vkm_Vec2; ---------------------------------------------------------------------------- --< @summary --< This operation unpacks a normalized Vkm_Vec2 with signed components from --< a 32-bit unsigned integer. --< --< @description --< Each component of the signed normalized output Vkm_Vec2 is unpacked from --< a 16-bit bitfield of an unsigned integer. --< --< The unpacked vector is extracted as follows from the unsigned integer: --< bits | 31 30 ... 17 16 | 15 14 ... 1 0 | --< component | y | x | --< --< The following conversion function is used to transform each 16-bit --< bitfield into a floating point value, where c is a component of the vector, --< and uint16_c is the 16-bit packed component: --< --< c := clamp(uint16_c / 32767.0, -1, 1) --< --< @param packed --< The unsigned integer that contains the packed Vkm_Vec2. --< --< @return --< The unpacked signed normalized Vkm_Vec2 value. ---------------------------------------------------------------------------- function Unpack_Signed_Normalized_2x16( packed : in Vkm_Uint) return Vkm_Vec2; ---------------------------------------------------------------------------- --< @summary --< This operation unpacks a normalized Vkm_Vec4 with unsigned components from --< a 32-bit unsigned integer. --< --< @description --< Each component of the unsigned normalized output Vkm_Vec4 is unpacked from --< an 8-bit bitfield of an unsigned integer. --< --< The unpacked vector is extracted as follows from the unsigned integer: --< bits | 31 ... 24 | 23 ... 16 | 15 ... 8 | 7 ... 0 | --< component | w | z | y | x | --< --< The following conversion function is used to transform each 8-bit --< bitfield into a floating point value, where c is a component of the vector, --< and uint8_c is the 8-bit packed component: --< --< c := uint8_c / 256.0 --< --< @param packed --< The unsigned integer that contains the packed Vkm_Vec4. --< --< @return --< The unpacked unsigned normalized Vkm_Vec4 value. ---------------------------------------------------------------------------- function Unpack_Unsigned_Normalized_4x8( packed : in Vkm_Uint) return Vkm_Vec4; ---------------------------------------------------------------------------- --< @summary --< This operation unpacks a normalized Vkm_Vec4 with signed components from --< a 32-bit unsigned integer. --< --< @description --< Each component of the signed normalized output Vkm_Vec4 is unpacked from --< an 8-bit bitfield of an unsigned integer. --< --< The unpacked vector is extracted as follows from the unsigned integer: --< bits | 31 ... 24 | 23 ... 16 | 15 ... 8 | 7 ... 0 | --< component | w | z | y | x | --< --< The following conversion function is used to transform each 8-bit --< bitfield into a floating point value, where c is a component of the vector, --< and uint8_c is the 8-bit packed component: --< --< c := clamp(uint8_c / 127.0, -1, 1) --< --< @param packed --< The unsigned integer that contains the packed Vkm_Vec4. --< --< @return --< The unpacked signed normalized Vkm_Vec4 value. ---------------------------------------------------------------------------- function Unpack_Signed_Normalized_4x8( packed : in Vkm_Uint) return Vkm_Vec4; ---------------------------------------------------------------------------- -- Half-Float packing and unpacking functions ---------------------------------------------------------------------------- --< @summary --< This operation packs components of a Vkm_Vec2 as half-floats into --< a 32-bit unsigned integer. --< --< @description --< Each component of the Vkm_Vec2 is converted to a half-precision floating --< point number and then packed into a 16-bit field of an unsigned integer. --< --< The floating point representations are shown below for reference: --< --< bits | Sign | Exponent | Significand | --< Half-Float | 15 | 14 .. 10 | 9 .. 0 | --< Single-Float | 31 | 30 .. 23 | 22 .. 0 | --< --< Conversion is performed by copying the least significant bits of the fields --< of the single-precision floating point number to the corresponding fields --< of the half-precision floating point number. --< --< The vector is packed as follows into the unsigned integer: --< bits | 31 30 ... 17 16 | 15 14 ... 1 0 | --< component | y | x | --< --< @param vector --< The Vkm_Vec2 vector that is packed into the Vkm_Uint. --< --< @return --< The Vkm_Uint that contains the packed vector. ---------------------------------------------------------------------------- function Pack_Half_2x16( vector : in Vkm_Vec2) return Vkm_Uint; ---------------------------------------------------------------------------- --< @summary --< This operation upacks a Vkm_Vec2 vector from an unsigned integer. --< --< @description --< Each component of the Vkm_Vec2 is converted from a half-precision floating --< point number after being unpacked from a 16-bit field of an unsigned integer. --< --< The packed vector is extracted as follows from the unsigned integer: --< bits | 31 30 ... 17 16 | 15 14 ... 1 0 | --< component | y | x | --< --< The floating point representations are shown below for reference: --< --< Fields | Sign | Exponent | Significand | --< Half-Float | 15 | 14 .. 10 | 9 .. 0 | --< Single-Float | 31 | 30 .. 23 | 22 .. 0 | --< --< Conversion is performed by copying the fields of the half-precision --< floating point number to the least significant bits of the corresponding --< fields of the single-precision floating point number. --< --< @param packed --< The Vkm_Uint that contains the packed vector. --< --< @return --< The unpacked Vkm_Vec2. ---------------------------------------------------------------------------- function Unpack_Half_2x16( packed : in Vkm_Uint) return Vkm_Vec2; ---------------------------------------------------------------------------- -- Douple packing and unpacking functions ---------------------------------------------------------------------------- --< @summary --< This operation packs a Vkm_Uvec2 into a 64-bit Vkm_Double value. --< --< @description --< Each component of the Vkm_Uvec2 input is packed into a 32-bit bitfield --< of a Vkm_Double. --< --< The Vkm_Uvec2 is packed into the Vkm_Double as follows: --< bits | 63 62 ... 33 32 | 31 30 ... 1 0 | --< component | y | x | --< --< @param vector --< The Vkm_Uvec2 vector that is packed into the double. --< --< @return --< The Vkm_Double that contains the packed Vkm_Uvec2 value. ---------------------------------------------------------------------------- function Pack_Double_2x32( vector : in Vkm_Uvec2) return Vkm_Double; ---------------------------------------------------------------------------- --< @summary --< This operation unpacks a Vkm_Uvec2 from a 64-bit Vkm_Double value. --< --< @description --< Each component of the Vkm_Uvec2 output is unpacked from a 32-bit bitfield --< of a Vkm_Double. --< --< The Vkm_Uvec2 is unpacked from the Vkm_Double as follows: --< bits | 63 62 ... 33 32 | 31 30 ... 1 0 | --< component | y | x | --< --< @param packed --< The Vkm_Double that contains the packed Vkm_Uvec2. --< --< @return --< The Vkm_Uvec2 unpacked from the Vkm_Double. ---------------------------------------------------------------------------- function Unpack_Double_2x32( packed : in Vkm_Double) return Vkm_Uvec2; end Vulkan.Math.Packing;
41.792308
86
0.51089
c76b7c35665abef817de6126741d32ab161f8b97
2,830
adb
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-assert.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-assert.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-assert.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . A S S E R T -- -- -- -- B o d y -- -- -- -- Copyright (C) 2007-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body Ada.Assertions with SPARK_Mode is ------------ -- Assert -- ------------ procedure Assert (Check : Boolean) is begin if Check = False then raise Ada.Assertions.Assertion_Error; end if; end Assert; procedure Assert (Check : Boolean; Message : String) is begin if Check = False then raise Ada.Assertions.Assertion_Error with Message; end if; end Assert; end Ada.Assertions;
52.407407
78
0.402827
d0e203d27801c1fbe8959d5812dcbf9c444d1523
18,901
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/a-ngcefu.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/a-ngcefu.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/a-ngcefu.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.NUMERICS.GENERIC_COMPLEX_ELEMENTARY_FUNCTIONS -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Numerics.Generic_Elementary_Functions; package body Ada.Numerics.Generic_Complex_Elementary_Functions is package Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Real'Base); use Elementary_Functions; PI : constant := 3.14159_26535_89793_23846_26433_83279_50288_41971; PI_2 : constant := PI / 2.0; Sqrt_Two : constant := 1.41421_35623_73095_04880_16887_24209_69807_85696; Log_Two : constant := 0.69314_71805_59945_30941_72321_21458_17656_80755; subtype T is Real'Base; Epsilon : constant T := 2.0 ** (1 - T'Model_Mantissa); Square_Root_Epsilon : constant T := Sqrt_Two ** (1 - T'Model_Mantissa); Inv_Square_Root_Epsilon : constant T := Sqrt_Two ** (T'Model_Mantissa - 1); Root_Root_Epsilon : constant T := Sqrt_Two ** ((1 - T'Model_Mantissa) / 2); Log_Inverse_Epsilon_2 : constant T := T (T'Model_Mantissa - 1) / 2.0; Complex_Zero : constant Complex := (0.0, 0.0); Complex_One : constant Complex := (1.0, 0.0); Complex_I : constant Complex := (0.0, 1.0); Half_Pi : constant Complex := (PI_2, 0.0); -------- -- ** -- -------- function "**" (Left : Complex; Right : Complex) return Complex is begin if Re (Right) = 0.0 and then Im (Right) = 0.0 and then Re (Left) = 0.0 and then Im (Left) = 0.0 then raise Argument_Error; elsif Re (Left) = 0.0 and then Im (Left) = 0.0 and then Re (Right) < 0.0 then raise Constraint_Error; elsif Re (Left) = 0.0 and then Im (Left) = 0.0 then return Left; elsif Right = (0.0, 0.0) then return Complex_One; elsif Re (Right) = 0.0 and then Im (Right) = 0.0 then return 1.0 + Right; elsif Re (Right) = 1.0 and then Im (Right) = 0.0 then return Left; else return Exp (Right * Log (Left)); end if; end "**"; function "**" (Left : Real'Base; Right : Complex) return Complex is begin if Re (Right) = 0.0 and then Im (Right) = 0.0 and then Left = 0.0 then raise Argument_Error; elsif Left = 0.0 and then Re (Right) < 0.0 then raise Constraint_Error; elsif Left = 0.0 then return Compose_From_Cartesian (Left, 0.0); elsif Re (Right) = 0.0 and then Im (Right) = 0.0 then return Complex_One; elsif Re (Right) = 1.0 and then Im (Right) = 0.0 then return Compose_From_Cartesian (Left, 0.0); else return Exp (Log (Left) * Right); end if; end "**"; function "**" (Left : Complex; Right : Real'Base) return Complex is begin if Right = 0.0 and then Re (Left) = 0.0 and then Im (Left) = 0.0 then raise Argument_Error; elsif Re (Left) = 0.0 and then Im (Left) = 0.0 and then Right < 0.0 then raise Constraint_Error; elsif Re (Left) = 0.0 and then Im (Left) = 0.0 then return Left; elsif Right = 0.0 then return Complex_One; elsif Right = 1.0 then return Left; else return Exp (Right * Log (Left)); end if; end "**"; ------------ -- Arccos -- ------------ function Arccos (X : Complex) return Complex is Result : Complex; begin if X = Complex_One then return Complex_Zero; elsif abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return Half_Pi - X; elsif abs Re (X) > Inv_Square_Root_Epsilon or else abs Im (X) > Inv_Square_Root_Epsilon then return -2.0 * Complex_I * Log (Sqrt ((1.0 + X) / 2.0) + Complex_I * Sqrt ((1.0 - X) / 2.0)); end if; Result := -Complex_I * Log (X + Complex_I * Sqrt (1.0 - X * X)); if Im (X) = 0.0 and then abs Re (X) <= 1.00 then Set_Im (Result, Im (X)); end if; return Result; end Arccos; ------------- -- Arccosh -- ------------- function Arccosh (X : Complex) return Complex is Result : Complex; begin if X = Complex_One then return Complex_Zero; elsif abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then Result := Compose_From_Cartesian (-Im (X), -PI_2 + Re (X)); elsif abs Re (X) > Inv_Square_Root_Epsilon or else abs Im (X) > Inv_Square_Root_Epsilon then Result := Log_Two + Log (X); else Result := 2.0 * Log (Sqrt ((1.0 + X) / 2.0) + Sqrt ((X - 1.0) / 2.0)); end if; if Re (Result) <= 0.0 then Result := -Result; end if; return Result; end Arccosh; ------------ -- Arccot -- ------------ function Arccot (X : Complex) return Complex is Xt : Complex; begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return Half_Pi - X; elsif abs Re (X) > 1.0 / Epsilon or else abs Im (X) > 1.0 / Epsilon then Xt := Complex_One / X; if Re (X) < 0.0 then Set_Re (Xt, PI - Re (Xt)); return Xt; else return Xt; end if; end if; Xt := Complex_I * Log ((X - Complex_I) / (X + Complex_I)) / 2.0; if Re (Xt) < 0.0 then Xt := PI + Xt; end if; return Xt; end Arccot; -------------- -- Arctcoth -- -------------- function Arccoth (X : Complex) return Complex is R : Complex; begin if X = (0.0, 0.0) then return Compose_From_Cartesian (0.0, PI_2); elsif abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return PI_2 * Complex_I + X; elsif abs Re (X) > 1.0 / Epsilon or else abs Im (X) > 1.0 / Epsilon then if Im (X) > 0.0 then return (0.0, 0.0); else return PI * Complex_I; end if; elsif Im (X) = 0.0 and then Re (X) = 1.0 then raise Constraint_Error; elsif Im (X) = 0.0 and then Re (X) = -1.0 then raise Constraint_Error; end if; begin R := Log ((1.0 + X) / (X - 1.0)) / 2.0; exception when Constraint_Error => R := (Log (1.0 + X) - Log (X - 1.0)) / 2.0; end; if Im (R) < 0.0 then Set_Im (R, PI + Im (R)); end if; if Re (X) = 0.0 then Set_Re (R, Re (X)); end if; return R; end Arccoth; ------------ -- Arcsin -- ------------ function Arcsin (X : Complex) return Complex is Result : Complex; begin -- For very small argument, sin (x) = x if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; elsif abs Re (X) > Inv_Square_Root_Epsilon or else abs Im (X) > Inv_Square_Root_Epsilon then Result := -Complex_I * (Log (Complex_I * X) + Log (2.0 * Complex_I)); if Im (Result) > PI_2 then Set_Im (Result, PI - Im (X)); elsif Im (Result) < -PI_2 then Set_Im (Result, -(PI + Im (X))); end if; return Result; end if; Result := -Complex_I * Log (Complex_I * X + Sqrt (1.0 - X * X)); if Re (X) = 0.0 then Set_Re (Result, Re (X)); elsif Im (X) = 0.0 and then abs Re (X) <= 1.00 then Set_Im (Result, Im (X)); end if; return Result; end Arcsin; ------------- -- Arcsinh -- ------------- function Arcsinh (X : Complex) return Complex is Result : Complex; begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; elsif abs Re (X) > Inv_Square_Root_Epsilon or else abs Im (X) > Inv_Square_Root_Epsilon then Result := Log_Two + Log (X); -- may have wrong sign if (Re (X) < 0.0 and Re (Result) > 0.0) or else (Re (X) > 0.0 and Re (Result) < 0.0) then Set_Re (Result, -Re (Result)); end if; return Result; end if; Result := Log (X + Sqrt (1.0 + X * X)); if Re (X) = 0.0 then Set_Re (Result, Re (X)); elsif Im (X) = 0.0 then Set_Im (Result, Im (X)); end if; return Result; end Arcsinh; ------------ -- Arctan -- ------------ function Arctan (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; else return -Complex_I * (Log (1.0 + Complex_I * X) - Log (1.0 - Complex_I * X)) / 2.0; end if; end Arctan; ------------- -- Arctanh -- ------------- function Arctanh (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; else return (Log (1.0 + X) - Log (1.0 - X)) / 2.0; end if; end Arctanh; --------- -- Cos -- --------- function Cos (X : Complex) return Complex is begin return Compose_From_Cartesian (Cos (Re (X)) * Cosh (Im (X)), -Sin (Re (X)) * Sinh (Im (X))); end Cos; ---------- -- Cosh -- ---------- function Cosh (X : Complex) return Complex is begin return Compose_From_Cartesian (Cosh (Re (X)) * Cos (Im (X)), Sinh (Re (X)) * Sin (Im (X))); end Cosh; --------- -- Cot -- --------- function Cot (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return Complex_One / X; elsif Im (X) > Log_Inverse_Epsilon_2 then return -Complex_I; elsif Im (X) < -Log_Inverse_Epsilon_2 then return Complex_I; end if; return Cos (X) / Sin (X); end Cot; ---------- -- Coth -- ---------- function Coth (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return Complex_One / X; elsif Re (X) > Log_Inverse_Epsilon_2 then return Complex_One; elsif Re (X) < -Log_Inverse_Epsilon_2 then return -Complex_One; else return Cosh (X) / Sinh (X); end if; end Coth; --------- -- Exp -- --------- function Exp (X : Complex) return Complex is EXP_RE_X : constant Real'Base := Exp (Re (X)); begin return Compose_From_Cartesian (EXP_RE_X * Cos (Im (X)), EXP_RE_X * Sin (Im (X))); end Exp; function Exp (X : Imaginary) return Complex is ImX : constant Real'Base := Im (X); begin return Compose_From_Cartesian (Cos (ImX), Sin (ImX)); end Exp; --------- -- Log -- --------- function Log (X : Complex) return Complex is ReX : Real'Base; ImX : Real'Base; Z : Complex; begin if Re (X) = 0.0 and then Im (X) = 0.0 then raise Constraint_Error; elsif abs (1.0 - Re (X)) < Root_Root_Epsilon and then abs Im (X) < Root_Root_Epsilon then Z := X; Set_Re (Z, Re (Z) - 1.0); return (1.0 - (1.0 / 2.0 - (1.0 / 3.0 - (1.0 / 4.0) * Z) * Z) * Z) * Z; end if; begin ReX := Log (Modulus (X)); exception when Constraint_Error => ReX := Log (Modulus (X / 2.0)) - Log_Two; end; ImX := Arctan (Im (X), Re (X)); if ImX > PI then ImX := ImX - 2.0 * PI; end if; return Compose_From_Cartesian (ReX, ImX); end Log; --------- -- Sin -- --------- function Sin (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; end if; return Compose_From_Cartesian (Sin (Re (X)) * Cosh (Im (X)), Cos (Re (X)) * Sinh (Im (X))); end Sin; ---------- -- Sinh -- ---------- function Sinh (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; else return Compose_From_Cartesian (Sinh (Re (X)) * Cos (Im (X)), Cosh (Re (X)) * Sin (Im (X))); end if; end Sinh; ---------- -- Sqrt -- ---------- function Sqrt (X : Complex) return Complex is ReX : constant Real'Base := Re (X); ImX : constant Real'Base := Im (X); XR : constant Real'Base := abs Re (X); YR : constant Real'Base := abs Im (X); R : Real'Base; R_X : Real'Base; R_Y : Real'Base; begin -- Deal with pure real case, see (RM G.1.2(39)) if ImX = 0.0 then if ReX > 0.0 then return Compose_From_Cartesian (Sqrt (ReX), 0.0); elsif ReX = 0.0 then return X; else return Compose_From_Cartesian (0.0, Real'Copy_Sign (Sqrt (-ReX), ImX)); end if; elsif ReX = 0.0 then R_X := Sqrt (YR / 2.0); if ImX > 0.0 then return Compose_From_Cartesian (R_X, R_X); else return Compose_From_Cartesian (R_X, -R_X); end if; else R := Sqrt (XR ** 2 + YR ** 2); -- If the square of the modulus overflows, try rescaling the -- real and imaginary parts. We cannot depend on an exception -- being raised on all targets. if R > Real'Base'Last then raise Constraint_Error; end if; -- We are solving the system -- XR = R_X ** 2 - Y_R ** 2 (1) -- YR = 2.0 * R_X * R_Y (2) -- -- The symmetric solution involves square roots for both R_X and -- R_Y, but it is more accurate to use the square root with the -- larger argument for either R_X or R_Y, and equation (2) for the -- other. if ReX < 0.0 then R_Y := Sqrt (0.5 * (R - ReX)); R_X := YR / (2.0 * R_Y); else R_X := Sqrt (0.5 * (R + ReX)); R_Y := YR / (2.0 * R_X); end if; end if; if Im (X) < 0.0 then -- halve angle, Sqrt of magnitude R_Y := -R_Y; end if; return Compose_From_Cartesian (R_X, R_Y); exception when Constraint_Error => -- Rescale and try again R := Modulus (Compose_From_Cartesian (Re (X / 4.0), Im (X / 4.0))); R_X := 2.0 * Sqrt (0.5 * R + 0.5 * Re (X / 4.0)); R_Y := 2.0 * Sqrt (0.5 * R - 0.5 * Re (X / 4.0)); if Im (X) < 0.0 then -- halve angle, Sqrt of magnitude R_Y := -R_Y; end if; return Compose_From_Cartesian (R_X, R_Y); end Sqrt; --------- -- Tan -- --------- function Tan (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; elsif Im (X) > Log_Inverse_Epsilon_2 then return Complex_I; elsif Im (X) < -Log_Inverse_Epsilon_2 then return -Complex_I; else return Sin (X) / Cos (X); end if; end Tan; ---------- -- Tanh -- ---------- function Tanh (X : Complex) return Complex is begin if abs Re (X) < Square_Root_Epsilon and then abs Im (X) < Square_Root_Epsilon then return X; elsif Re (X) > Log_Inverse_Epsilon_2 then return Complex_One; elsif Re (X) < -Log_Inverse_Epsilon_2 then return -Complex_One; else return Sinh (X) / Cosh (X); end if; end Tanh; end Ada.Numerics.Generic_Complex_Elementary_Functions;
26.583685
78
0.489286
4b4ee55a4421f1bf18a01427973084c0509cd000
212
ads
Ada
json.ads
Feqzz/film-parser
b3979e154401ea3bff39016bac4836506a0c85df
[ "MIT" ]
null
null
null
json.ads
Feqzz/film-parser
b3979e154401ea3bff39016bac4836506a0c85df
[ "MIT" ]
1
2020-09-05T15:00:14.000Z
2020-09-05T17:59:23.000Z
json.ads
Feqzz/film-parser
b3979e154401ea3bff39016bac4836506a0c85df
[ "MIT" ]
null
null
null
with Ada.Text_IO; with Ada.Calendar; with Ada.Real_Time; with Ada.Integer_Text_IO; package Json is procedure AppendFilm (title, year, score, imdb : String); procedure Init; procedure Close; end Json;
16.307692
60
0.740566
04589278e52810d311630c501f2a8596af887028
2,542
ads
Ada
llvm-gcc-4.2-2.9/gcc/ada/exp_ch5.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/exp_ch5.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/exp_ch5.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E X P _ C H 5 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-1999, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Expand routines for chapter 5 constructs with Types; use Types; package Exp_Ch5 is procedure Expand_N_Assignment_Statement (N : Node_Id); procedure Expand_N_Block_Statement (N : Node_Id); procedure Expand_N_Case_Statement (N : Node_Id); procedure Expand_N_Exit_Statement (N : Node_Id); procedure Expand_N_Goto_Statement (N : Node_Id); procedure Expand_N_If_Statement (N : Node_Id); procedure Expand_N_Loop_Statement (N : Node_Id); procedure Expand_N_Return_Statement (N : Node_Id); end Exp_Ch5;
62
78
0.440991
2e17b54cbbda929041b325e1c896d08b2f68a30e
1,626
ads
Ada
src/common_utils.ads
psyomn/ash
7630208f9f2dc296f75076141d591354bde02ac7
[ "Apache-2.0" ]
11
2017-04-08T17:48:19.000Z
2021-12-31T23:36:25.000Z
src/common_utils.ads
psyomn/axios
7630208f9f2dc296f75076141d591354bde02ac7
[ "Apache-2.0" ]
3
2017-03-24T04:34:15.000Z
2017-04-03T05:18:47.000Z
src/common_utils.ads
psyomn/axios
7630208f9f2dc296f75076141d591354bde02ac7
[ "Apache-2.0" ]
4
2017-05-14T11:46:37.000Z
2019-04-18T20:34:07.000Z
-- Copyright 2019 Simon Symeonidis (psyomn) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. with Ada.Exceptions; use Ada.Exceptions; with GNAT.Traceback.Symbolic; use GNAT.Traceback.Symbolic; with Ada.Text_IO; use Ada.Text_IO; package Common_Utils is -- TODO: I'm not sure if we should really care about inlines. Maybe they -- make sense in the functionality bellow, but I would like to empirically -- see if any of these make sense. procedure Empty_String_Range (S : String; First : out Positive; Last : out Positive) with Inline; procedure Empty_String (S : in out String) with Inline; function Header_String (Field : String; Value : String) return String with Inline; function Header_String (Field : String; Value : Integer) return String with Inline; function Integer_To_Trimmed_String (I : Integer) return String with Inline; function Concat_Null_Strings (S1, S2 : String) return String; procedure Print_Exception (E : Exception_Occurrence; Message : String); end Common_Utils;
34.595745
78
0.707872
137404c1f1f8701716fea0ea02341006c9a59641
276
ada
Ada
Task/Primality-by-trial-division/Ada/primality-by-trial-division-2.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Primality-by-trial-division/Ada/primality-by-trial-division-2.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Primality-by-trial-division/Ada/primality-by-trial-division-2.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
with Prime_Numbers; procedure Test_Prime is package Integer_Numbers is new Prime_Numbers (Natural, 0, 1, 2); use Integer_Numbers; begin if Is_Prime(12) or (not Is_Prime(13)) then raise Program_Error with "Test_Prime failed!"; end if; end Test_Prime;
19.714286
52
0.717391
2e0238b482b835c3d12cd7cd3a289f123b89e5c0
11,556
ads
Ada
tools/scitools/conf/understand/ada/ada12/a-coorma.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/a-coorma.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/a-coorma.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . O R D E R E D _ M A P S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2004-2012, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ with Ada.Iterator_Interfaces; private with Ada.Containers.Red_Black_Trees; private with Ada.Finalization; private with Ada.Streams; generic type Key_Type is private; type Element_Type is private; with function "<" (Left, Right : Key_Type) return Boolean is <>; with function "=" (Left, Right : Element_Type) return Boolean is <>; package Ada.Containers.Ordered_Maps is pragma Preelaborate; pragma Remote_Types; function Equivalent_Keys (Left, Right : Key_Type) return Boolean; type Map is tagged private with Constant_Indexing => Constant_Reference, Variable_Indexing => Reference, Default_Iterator => Iterate, Iterator_Element => Element_Type; type Cursor is private; pragma Preelaborable_Initialization (Cursor); Empty_Map : constant Map; No_Element : constant Cursor; function Has_Element (Position : Cursor) return Boolean; package Map_Iterator_Interfaces is new Ada.Iterator_Interfaces (Cursor, Has_Element); function "=" (Left, Right : Map) return Boolean; function Length (Container : Map) return Count_Type; function Is_Empty (Container : Map) return Boolean; procedure Clear (Container : in out Map); function Key (Position : Cursor) return Key_Type; function Element (Position : Cursor) return Element_Type; procedure Replace_Element (Container : in out Map; Position : Cursor; New_Item : Element_Type); procedure Query_Element (Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : Element_Type)); procedure Update_Element (Container : in out Map; Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : in out Element_Type)); type Constant_Reference_Type (Element : not null access constant Element_Type) is private with Implicit_Dereference => Element; type Reference_Type (Element : not null access Element_Type) is private with Implicit_Dereference => Element; function Constant_Reference (Container : aliased Map; Position : Cursor) return Constant_Reference_Type; pragma Inline (Constant_Reference); function Reference (Container : aliased in out Map; Position : Cursor) return Reference_Type; pragma Inline (Reference); function Constant_Reference (Container : aliased Map; Key : Key_Type) return Constant_Reference_Type; pragma Inline (Constant_Reference); function Reference (Container : aliased in out Map; Key : Key_Type) return Reference_Type; pragma Inline (Reference); procedure Assign (Target : in out Map; Source : Map); function Copy (Source : Map) return Map; procedure Move (Target : in out Map; Source : in out Map); procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean); procedure Insert (Container : in out Map; Key : Key_Type; Position : out Cursor; Inserted : out Boolean); procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type); procedure Include (Container : in out Map; Key : Key_Type; New_Item : Element_Type); procedure Replace (Container : in out Map; Key : Key_Type; New_Item : Element_Type); procedure Exclude (Container : in out Map; Key : Key_Type); procedure Delete (Container : in out Map; Key : Key_Type); procedure Delete (Container : in out Map; Position : in out Cursor); procedure Delete_First (Container : in out Map); procedure Delete_Last (Container : in out Map); function First (Container : Map) return Cursor; function First_Element (Container : Map) return Element_Type; function First_Key (Container : Map) return Key_Type; function Last (Container : Map) return Cursor; function Last_Element (Container : Map) return Element_Type; function Last_Key (Container : Map) return Key_Type; function Next (Position : Cursor) return Cursor; procedure Next (Position : in out Cursor); function Previous (Position : Cursor) return Cursor; procedure Previous (Position : in out Cursor); function Find (Container : Map; Key : Key_Type) return Cursor; function Element (Container : Map; Key : Key_Type) return Element_Type; function Floor (Container : Map; Key : Key_Type) return Cursor; function Ceiling (Container : Map; Key : Key_Type) return Cursor; function Contains (Container : Map; Key : Key_Type) return Boolean; function "<" (Left, Right : Cursor) return Boolean; function ">" (Left, Right : Cursor) return Boolean; function "<" (Left : Cursor; Right : Key_Type) return Boolean; function ">" (Left : Cursor; Right : Key_Type) return Boolean; function "<" (Left : Key_Type; Right : Cursor) return Boolean; function ">" (Left : Key_Type; Right : Cursor) return Boolean; procedure Iterate (Container : Map; Process : not null access procedure (Position : Cursor)); procedure Reverse_Iterate (Container : Map; Process : not null access procedure (Position : Cursor)); -- The map container supports iteration in both the forward and reverse -- directions, hence these constructor functions return an object that -- supports the Reversible_Iterator interface. function Iterate (Container : Map) return Map_Iterator_Interfaces.Reversible_Iterator'class; function Iterate (Container : Map; Start : Cursor) return Map_Iterator_Interfaces.Reversible_Iterator'class; private pragma Inline (Next); pragma Inline (Previous); type Node_Type; type Node_Access is access Node_Type; type Node_Type is limited record Parent : Node_Access; Left : Node_Access; Right : Node_Access; Color : Red_Black_Trees.Color_Type := Red_Black_Trees.Red; Key : Key_Type; Element : aliased Element_Type; end record; package Tree_Types is new Red_Black_Trees.Generic_Tree_Types (Node_Type, Node_Access); type Map is new Ada.Finalization.Controlled with record Tree : Tree_Types.Tree_Type; end record; overriding procedure Adjust (Container : in out Map); overriding procedure Finalize (Container : in out Map) renames Clear; use Red_Black_Trees; use Tree_Types; use Ada.Finalization; use Ada.Streams; procedure Write (Stream : not null access Root_Stream_Type'Class; Container : Map); for Map'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Container : out Map); for Map'Read use Read; type Map_Access is access all Map; for Map_Access'Storage_Size use 0; type Cursor is record Container : Map_Access; Node : Node_Access; end record; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Cursor); for Cursor'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Cursor); for Cursor'Read use Read; type Reference_Control_Type is new Controlled with record Container : Map_Access; end record; overriding procedure Adjust (Control : in out Reference_Control_Type); pragma Inline (Adjust); overriding procedure Finalize (Control : in out Reference_Control_Type); pragma Inline (Finalize); type Constant_Reference_Type (Element : not null access constant Element_Type) is record Control : Reference_Control_Type; end record; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Constant_Reference_Type); for Constant_Reference_Type'Read use Read; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Constant_Reference_Type); for Constant_Reference_Type'Write use Write; type Reference_Type (Element : not null access Element_Type) is record Control : Reference_Control_Type; end record; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Reference_Type); for Reference_Type'Read use Read; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Reference_Type); for Reference_Type'Write use Write; Empty_Map : constant Map := (Controlled with Tree => (First => null, Last => null, Root => null, Length => 0, Busy => 0, Lock => 0)); No_Element : constant Cursor := Cursor'(null, null); end Ada.Containers.Ordered_Maps;
32.27933
78
0.592073
2e0207675b85f38f67ddb4a4d1bb1c8c19309333
162
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr1.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr1.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr1.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } -- { dg-options "-gnatct" } with Discr1_Pkg; use Discr1_Pkg; package Discr1 is procedure Proc (V : Variable_String_Array); end Discr1;
14.727273
45
0.691358
2e214e8deff01161a606e5b39371790766ae779a
4,403
ads
Ada
tools-src/gnu/gcc/gcc/ada/exp_disp.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
tools-src/gnu/gcc/gcc/ada/exp_disp.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
tools-src/gnu/gcc/gcc/ada/exp_disp.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E X P _ D I S P -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-1998 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains routines involved in tagged types and dynamic -- dispatching expansion with Types; use Types; package Exp_Disp is type DT_Access_Action is (CW_Membership, DT_Entry_Size, DT_Prologue_Size, Get_Expanded_Name, Get_External_Tag, Get_Prim_Op_Address, Get_RC_Offset, Get_Remotely_Callable, Get_TSD, Inherit_DT, Inherit_TSD, Register_Tag, Set_Expanded_Name, Set_External_Tag, Set_Prim_Op_Address, Set_RC_Offset, Set_Remotely_Callable, Set_TSD, TSD_Entry_Size, TSD_Prologue_Size); function Fill_DT_Entry (Loc : Source_Ptr; Prim : Entity_Id) return Node_Id; -- Generate the code necessary to fill the appropriate entry of the -- dispatch table of Prim's controlling type with Prim's address. function Make_DT_Access_Action (Typ : Entity_Id; Action : DT_Access_Action; Args : List_Id) return Node_Id; -- Generate a call to one of the Dispatch Table Access Subprograms defined -- in Ada.Tags or in Interfaces.Cpp function Make_DT (Typ : Entity_Id) return List_Id; -- Expand the declarations for the Dispatch Table (or the Vtable in -- the case of type whose ancestor is a CPP_Class) procedure Set_All_DT_Position (Typ : Entity_Id); -- Set the DT_Position field for each primitive operation. In the CPP -- Class case check that no pragma CPP_Virtual is missing and that the -- DT_Position are coherent procedure Expand_Dispatch_Call (Call_Node : Node_Id); -- Expand the call to the operation through the dispatch table and perform -- the required tag checks when appropriate. For CPP types the call is -- done through the Vtable (tag checks are not relevant) procedure Set_Default_Constructor (Typ : Entity_Id); -- Typ is a CPP_Class type. Create the Init procedure of that type to -- be the default constructor (i.e. the function returning this type, -- having a pragma CPP_Constructor and no parameter) function Get_Remotely_Callable (Obj : Node_Id) return Node_Id; -- Return an expression that holds True if the object can be transmitted -- onto another partition according to E.4 (18) end Exp_Disp;
45.391753
78
0.531229
13a44b96579eee4cb9345c2df584ee0e2fed52b2
2,169
adb
Ada
memsim-master/src/test-register.adb
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
memsim-master/src/test-register.adb
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
memsim-master/src/test-register.adb
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
with Memory.Register; use Memory.Register; with Memory.Transform.Offset; use Memory.Transform.Offset; with Memory.Join; use Memory.Join; package body Test.Register is procedure Test_Insert is ram : constant Monitor_Pointer := Create_Monitor(10); offset : Offset_Pointer := Create_Offset; bank : constant Offset_Pointer := Create_Offset; join : constant Join_Pointer := Create_Join(offset, 0); begin Set_Value(offset.all, 4); Set_Value(bank.all, 4); Set_Memory(offset.all, ram); Set_Memory(bank.all, join); Set_Bank(offset.all, bank); Check(Get_Path_Length(ram.all) = 0); Check(Get_Path_Length(bank.all) = 64); Check(Get_Path_Length(offset.all) = 96); Check(Get_Time(offset.all) = 0); Check(Get_Writes(offset.all) = 0); Check(Get_Cost(offset.all) = 0); Read(offset.all, 0, 1); Check(ram.reads = 1); Check(Get_Time(offset.all) = 11); Check(Get_Time(ram.all) = 11); Write(offset.all, 0, 1); Check(Get_Time(offset.all) = 22); Check(Get_Writes(offset.all) = 1); Insert_Registers(offset); Check(Get_Path_Length(ram.all) = 0); Check(Get_Path_Length(bank.all) = 64); Check(Get_Path_Length(offset.all) = 32); Check(Get_Max_Length(offset) = 64); Reset(offset.all, 0); Check(Get_Time(offset.all) = 0); Read(offset.all, 0, 1); Check(Get_Time(offset.all) = 12); Check(Get_Time(ram.all) = 11); Write(offset.all, 0, 1); Check(Get_Time(offset.all) = 24); Check(Get_Writes(offset.all) = 1); offset := Offset_Pointer(Remove_Registers(Memory_Pointer(offset))); Reset(offset.all, 0); Check(Get_Time(offset.all) = 0); Read(offset.all, 0, 1); Check(Get_Time(offset.all) = 11); Check(Get_Time(ram.all) = 11); Write(offset.all, 0, 1); Check(Get_Time(offset.all) = 22); Check(Get_Writes(offset.all) = 1); Destroy(Memory_Pointer(offset)); end Test_Insert; procedure Run_Tests is begin Test_Insert; end Run_Tests; end Test.Register;
27.807692
73
0.616874
138287e1b71e909ce7e496cd3cea4281410b8015
68,108
adb
Ada
honeybee_proj/HBF/.autopilot/db/honeybee.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
honeybee_proj/HBF/.autopilot/db/honeybee.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
honeybee_proj/HBF/.autopilot/db/honeybee.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>honeybee</name> <ret_bitwidth>64</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>edge_p1_x</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p1.x</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>edge_p1_y</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p1.z</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>edge_p1_z</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p1.y</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>edge_p2_x</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p2.x</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>edge_p2_y</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p2.z</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>edge_p2_z</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p2.y</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>0</type> <id>15</id> <name>edge_p2_z_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>29</item> <item>30</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>16</id> <name>edge_p2_y_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>31</item> <item>32</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>17</id> <name>edge_p2_x_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>33</item> <item>34</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>18</id> <name>edge_p1_z_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>35</item> <item>36</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>19</id> <name>edge_p1_y_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>37</item> <item>38</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>20</id> <name>edge_p1_x_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>153</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>153</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>39</item> <item>40</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>21</id> <name>collisions_z</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions_z</originalName> <rtlName>grp_checkAxis_2_fu_64</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>22</id> <name>collisions_y</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>161</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions_y</originalName> <rtlName>grp_checkAxis_0_fu_96</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>23</id> <name>collisions_x</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions_x</originalName> <rtlName>grp_checkAxis_1_fu_80</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>24</id> <name>or_ln164</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>164</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln164_fu_112_p2</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>65</item> <item>66</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>25</id> <name>collisions</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>164</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions</originalName> <rtlName>ap_return</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>67</item> <item>68</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.80</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>26</id> <name>_ln165</name> <fileName>src/honeybee.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>165</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>165</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>69</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_19"> <Value> <Obj> <type>2</type> <id>41</id> <name>checkAxis_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:checkAxis.2&gt;</content> </item> <item class_id_reference="16" object_id="_20"> <Value> <Obj> <type>2</type> <id>49</id> <name>checkAxis_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:checkAxis.0&gt;</content> </item> <item class_id_reference="16" object_id="_21"> <Value> <Obj> <type>2</type> <id>57</id> <name>checkAxis_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:checkAxis.1&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_22"> <Obj> <type>3</type> <id>27</id> <name>honeybee</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>12</count> <item_version>0</item_version> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>32</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_23"> <id>30</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_24"> <id>32</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_25"> <id>34</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_26"> <id>36</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_27"> <id>38</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_28"> <id>40</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_29"> <id>42</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_30"> <id>43</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_31"> <id>44</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_32"> <id>45</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_33"> <id>46</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_34"> <id>47</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_35"> <id>48</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_36"> <id>50</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_37"> <id>51</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_38"> <id>52</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_39"> <id>53</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_40"> <id>54</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_41"> <id>55</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_42"> <id>56</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_43"> <id>58</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_44"> <id>59</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_45"> <id>60</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_46"> <id>61</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_47"> <id>62</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_48"> <id>63</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_49"> <id>64</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_50"> <id>65</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_51"> <id>66</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_52"> <id>67</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>68</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>69</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_55"> <mId>1</mId> <mTag>honeybee</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>27</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>214</mMinLatency> <mMaxLatency>214</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_56"> <states class_id="25" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_57"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_58"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_59"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_60"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_61"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_62"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_63"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_64"> <id>21</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_65"> <id>22</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_66"> <id>23</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_67"> <id>2</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_68"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_69"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_70"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_71"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_72"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_73"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_74"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_75"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_76"> <id>21</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_77"> <id>22</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_78"> <id>23</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_79"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_80"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_81"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_82"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>-1</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="34" tracking_level="1" version="0" object_id="_83"> <dp_component_resource class_id="35" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>grp_checkAxis_0_fu_96 (checkAxis_0)</first> <second class_id="37" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>DSP48E</first> <second>17</second> </item> <item> <first>FF</first> <second>4554</second> </item> <item> <first>LUT</first> <second>10157</second> </item> </second> </item> <item> <first>grp_checkAxis_1_fu_80 (checkAxis_1)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>DSP48E</first> <second>17</second> </item> <item> <first>FF</first> <second>4554</second> </item> <item> <first>LUT</first> <second>10157</second> </item> </second> </item> <item> <first>grp_checkAxis_2_fu_64 (checkAxis_2)</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>DSP48E</first> <second>17</second> </item> <item> <first>FF</first> <second>4554</second> </item> <item> <first>LUT</first> <second>10029</second> </item> </second> </item> </dp_component_resource> <dp_expression_resource> <count>3</count> <item_version>0</item_version> <item> <first>ap_block_state2_on_subcall_done ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> <item> <first>ap_return ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>64</second> </item> </second> </item> <item> <first>or_ln164_fu_112_p2 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>64</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>1</count> <item_version>0</item_version> <item> <first>ap_NS_fsm</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>3</second> </item> <item> <first>LUT</first> <second>3</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>4</count> <item_version>0</item_version> <item> <first>ap_CS_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>grp_checkAxis_0_fu_96_ap_start_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>grp_checkAxis_1_fu_80_ap_start_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>grp_checkAxis_2_fu_64_ap_start_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>3</count> <item_version>0</item_version> <item> <first>grp_checkAxis_0_fu_96</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>grp_checkAxis_1_fu_80</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>grp_checkAxis_2_fu_64</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_dsp_resource> <dp_component_map class_id="39" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>grp_checkAxis_0_fu_96 (checkAxis_0)</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>grp_checkAxis_1_fu_80 (checkAxis_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>grp_checkAxis_2_fu_64 (checkAxis_2)</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> </dp_component_map> <dp_expression_map> <count>2</count> <item_version>0</item_version> <item> <first>ap_return ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>or_ln164_fu_112_p2 ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="41" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>15</first> <second class_id="43" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>22</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>23</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="44" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>27</first> <second class_id="46" tracking_level="0" version="0"> <first>0</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="47" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="48" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>28</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>34</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>40</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>46</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>52</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>58</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>64</first> <second> <count>2</count> <item_version>0</item_version> <item>21</item> <item>21</item> </second> </item> <item> <first>80</first> <second> <count>2</count> <item_version>0</item_version> <item>23</item> <item>23</item> </second> </item> <item> <first>96</first> <second> <count>2</count> <item_version>0</item_version> <item>22</item> <item>22</item> </second> </item> <item> <first>112</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>118</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="51" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>collisions_fu_118</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>or_ln164_fu_112</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>3</count> <item_version>0</item_version> <item> <first>grp_checkAxis_0_fu_96</first> <second> <count>2</count> <item_version>0</item_version> <item>22</item> <item>22</item> </second> </item> <item> <first>grp_checkAxis_1_fu_80</first> <second> <count>2</count> <item_version>0</item_version> <item>23</item> <item>23</item> </second> </item> <item> <first>grp_checkAxis_2_fu_64</first> <second> <count>2</count> <item_version>0</item_version> <item>21</item> <item>21</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>6</count> <item_version>0</item_version> <item> <first>edge_p1_x_read_read_fu_58</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>edge_p1_y_read_read_fu_52</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>edge_p1_z_read_read_fu_46</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>edge_p2_x_read_read_fu_40</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>edge_p2_y_read_read_fu_34</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>edge_p2_z_read_read_fu_28</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>1</count> <item_version>0</item_version> <item> <first>ap_return</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </return_ports> <dp_mem_port_nodes class_id="53" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>6</count> <item_version>0</item_version> <item> <first>124</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>131</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>138</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>152</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>159</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>6</count> <item_version>0</item_version> <item> <first>edge_p1_x_read_reg_159</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>edge_p1_y_read_reg_152</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>edge_p1_z_read_reg_145</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>edge_p2_x_read_reg_138</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>edge_p2_y_read_reg_131</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>edge_p2_z_read_reg_124</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="54" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>edge_p1_x</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> </second> </item> <item> <first>edge_p1_y</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> </second> </item> <item> <first>edge_p1_z</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </second> </item> <item> <first>edge_p2_x</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </second> </item> <item> <first>edge_p2_y</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </second> </item> <item> <first>edge_p2_z</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="56" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
31.342844
79
0.465158
9a1126e34389c3b6c245425f7ffd57f90c00dc5e
12,771
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205l.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205l.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205l.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C36205L.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE -- FOR GENERIC PROCEDURES, CHECK THAT ATTRIBUTES GIVE THE -- CORRECT VALUES FOR UNCONSTRAINED FORMAL PARAMETERS. -- BASIC CHECKS OF ARRAY OBJECTS AND WHOLE ARRAYS PASSED AS -- PARAMETERS TO GENERIC PROCEDURES -- HISTORY -- EDWARD V. BERARD, 9 AUGUST 1990 -- DAS 8 OCT 1990 ADDED OUT MODE PARAMETER TO GENERIC -- PROCEDURE TEST_PROCEDURE AND FORMAL -- GENERIC PARAMETER COMPONENT_VALUE. WITH REPORT ; PROCEDURE C36205L IS SHORT_START : CONSTANT := -100 ; SHORT_END : CONSTANT := 100 ; TYPE SHORT_RANGE IS RANGE SHORT_START .. SHORT_END ; SHORT_LENGTH : CONSTANT NATURAL := (SHORT_END - SHORT_START + 1) ; MEDIUM_START : CONSTANT := 1 ; MEDIUM_END : CONSTANT := 100 ; TYPE MEDIUM_RANGE IS RANGE MEDIUM_START .. MEDIUM_END ; MEDIUM_LENGTH : CONSTANT NATURAL := (MEDIUM_END - MEDIUM_START + 1) ; TYPE MONTH_TYPE IS (JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC) ; TYPE DAY_TYPE IS RANGE 1 .. 31 ; TYPE YEAR_TYPE IS RANGE 1904 .. 2050 ; TYPE DATE IS RECORD MONTH : MONTH_TYPE ; DAY : DAY_TYPE ; YEAR : YEAR_TYPE ; END RECORD ; TODAY : DATE := (MONTH => AUG, DAY => 9, YEAR => 1990) ; SUBTYPE SHORT_STRING IS STRING (1 ..5) ; DEFAULT_STRING : SHORT_STRING := "ABCDE" ; TYPE FIRST_TEMPLATE IS ARRAY (SHORT_RANGE RANGE <>, MEDIUM_RANGE RANGE <>) OF DATE ; TYPE SECOND_TEMPLATE IS ARRAY (MONTH_TYPE RANGE <>, DAY_TYPE RANGE <>) OF SHORT_STRING ; TYPE THIRD_TEMPLATE IS ARRAY (CHARACTER RANGE <>, BOOLEAN RANGE <>) OF DAY_TYPE ; FIRST_ARRAY : FIRST_TEMPLATE (-10 .. 10, 27 .. 35) := (-10 .. 10 => (27 .. 35 => TODAY)) ; SECOND_ARRAY : SECOND_TEMPLATE (JAN .. JUN, 1 .. 25) := (JAN .. JUN => (1 .. 25 => DEFAULT_STRING)) ; THIRD_ARRAY : THIRD_TEMPLATE ('A' .. 'Z', FALSE .. TRUE) := ('A' .. 'Z' => (FALSE .. TRUE => DAY_TYPE (9))) ; FOURTH_ARRAY : FIRST_TEMPLATE (0 .. 27, 75 .. 100) := (0 .. 27 => (75 .. 100 => TODAY)) ; FIFTH_ARRAY : SECOND_TEMPLATE (JUL .. OCT, 6 .. 10) := (JUL .. OCT => (6 .. 10 => DEFAULT_STRING)) ; SIXTH_ARRAY : THIRD_TEMPLATE ('X' .. 'Z', TRUE .. TRUE) := ('X' .. 'Z' => (TRUE .. TRUE => DAY_TYPE (31))) ; GENERIC TYPE FIRST_INDEX IS (<>) ; TYPE SECOND_INDEX IS (<>) ; TYPE COMPONENT_TYPE IS PRIVATE ; TYPE UNCONSTRAINED_ARRAY IS ARRAY (FIRST_INDEX RANGE <>, SECOND_INDEX RANGE <>) OF COMPONENT_TYPE ; COMPONENT_VALUE: IN COMPONENT_TYPE; PROCEDURE TEST_PROCEDURE (FIRST : IN UNCONSTRAINED_ARRAY ; FFIFS : IN FIRST_INDEX ; FFILS : IN FIRST_INDEX ; FSIFS : IN SECOND_INDEX ; FSILS : IN SECOND_INDEX ; FFLEN : IN NATURAL ; FSLEN : IN NATURAL ; FFIRT : IN FIRST_INDEX ; FSIRT : IN SECOND_INDEX ; SECOND : OUT UNCONSTRAINED_ARRAY ; SFIFS : IN FIRST_INDEX ; SFILS : IN FIRST_INDEX ; SSIFS : IN SECOND_INDEX ; SSILS : IN SECOND_INDEX ; SFLEN : IN NATURAL ; SSLEN : IN NATURAL ; SFIRT : IN FIRST_INDEX ; SSIRT : IN SECOND_INDEX ; REMARKS : IN STRING) ; PROCEDURE TEST_PROCEDURE (FIRST : IN UNCONSTRAINED_ARRAY ; FFIFS : IN FIRST_INDEX ; FFILS : IN FIRST_INDEX ; FSIFS : IN SECOND_INDEX ; FSILS : IN SECOND_INDEX ; FFLEN : IN NATURAL ; FSLEN : IN NATURAL ; FFIRT : IN FIRST_INDEX ; FSIRT : IN SECOND_INDEX ; SECOND : OUT UNCONSTRAINED_ARRAY ; SFIFS : IN FIRST_INDEX ; SFILS : IN FIRST_INDEX ; SSIFS : IN SECOND_INDEX ; SSILS : IN SECOND_INDEX ; SFLEN : IN NATURAL ; SSLEN : IN NATURAL ; SFIRT : IN FIRST_INDEX ; SSIRT : IN SECOND_INDEX ; REMARKS : IN STRING) IS BEGIN -- TEST_PROCEDURE IF (FIRST'FIRST /= FFIFS) OR (FIRST'FIRST (1) /= FFIFS) OR (FIRST'FIRST (2) /= FSIFS) OR (SECOND'FIRST /= SFIFS) OR (SECOND'FIRST (1) /= SFIFS) OR (SECOND'FIRST (2) /= SSIFS) THEN REPORT.FAILED ("PROBLEMS WITH 'FIRST. " & REMARKS) ; END IF ; IF (FIRST'LAST /= FFILS) OR (FIRST'LAST (1) /= FFILS) OR (FIRST'LAST (2) /= FSILS) OR (SECOND'LAST /= SFILS) OR (SECOND'LAST (1) /= SFILS) OR (SECOND'LAST (2) /= SSILS) THEN REPORT.FAILED ("PROBLEMS WITH 'LAST. " & REMARKS) ; END IF ; IF (FIRST'LENGTH /= FFLEN) OR (FIRST'LENGTH (1) /= FFLEN) OR (FIRST'LENGTH (2) /= FSLEN) OR (SECOND'LENGTH /= SFLEN) OR (SECOND'LENGTH (1) /= SFLEN) OR (SECOND'LENGTH (2) /= SSLEN) THEN REPORT.FAILED ("PROBLEMS WITH 'LENGTH. " & REMARKS) ; END IF ; IF (FFIRT NOT IN FIRST'RANGE (1)) OR (FFIRT NOT IN FIRST'RANGE) OR (SFIRT NOT IN SECOND'RANGE (1)) OR (SFIRT NOT IN SECOND'RANGE) OR (FSIRT NOT IN FIRST'RANGE (2)) OR (SSIRT NOT IN SECOND'RANGE (2)) THEN REPORT.FAILED ("INCORRECT HANDLING OF 'RANGE " & "ATTRIBUTE. " & REMARKS) ; END IF ; -- ASSIGN VALUES TO THE ARRAY PARAMETER OF MODE OUT FOR I IN SECOND'RANGE(1) LOOP FOR J IN SECOND'RANGE(2) LOOP SECOND(I, J) := COMPONENT_VALUE; END LOOP; END LOOP; END TEST_PROCEDURE ; PROCEDURE FIRST_TEST_PROCEDURE IS NEW TEST_PROCEDURE ( FIRST_INDEX => SHORT_RANGE, SECOND_INDEX => MEDIUM_RANGE, COMPONENT_TYPE => DATE, UNCONSTRAINED_ARRAY => FIRST_TEMPLATE, COMPONENT_VALUE => TODAY) ; PROCEDURE SECOND_TEST_PROCEDURE IS NEW TEST_PROCEDURE ( FIRST_INDEX => MONTH_TYPE, SECOND_INDEX => DAY_TYPE, COMPONENT_TYPE => SHORT_STRING, UNCONSTRAINED_ARRAY => SECOND_TEMPLATE, COMPONENT_VALUE => DEFAULT_STRING) ; PROCEDURE THIRD_TEST_PROCEDURE IS NEW TEST_PROCEDURE ( FIRST_INDEX => CHARACTER, SECOND_INDEX => BOOLEAN, COMPONENT_TYPE => DAY_TYPE, UNCONSTRAINED_ARRAY => THIRD_TEMPLATE, COMPONENT_VALUE => DAY_TYPE'FIRST) ; BEGIN -- C36205L REPORT.TEST ( "C36205L","FOR GENERIC PROCEDURES, CHECK THAT " & "ATTRIBUTES GIVE THE CORRECT VALUES FOR " & "UNCONSTRAINED FORMAL PARAMETERS. BASIC " & "CHECKS OF ARRAY OBJECTS AND WHOLE ARRAYS " & "PASSED AS PARAMETERS TO GENERIC PROCEDURES"); FIRST_TEST_PROCEDURE (FIRST => FIRST_ARRAY, FFIFS => -10, FFILS => 10, FSIFS => 27, FSILS => 35, FFLEN => 21, FSLEN => 9, FFIRT => 0, FSIRT => 29, SECOND => FOURTH_ARRAY, SFIFS => 0, SFILS => 27, SSIFS => 75, SSILS => 100, SFLEN => 28, SSLEN => 26, SFIRT => 5, SSIRT => 100, REMARKS => "FIRST_TEST_PROCEDURE") ; SECOND_TEST_PROCEDURE (FIRST => SECOND_ARRAY, FFIFS => JAN, FFILS => JUN, FSIFS => 1, FSILS => 25, FFLEN => 6, FSLEN => 25, FFIRT => MAR, FSIRT => 17, SECOND => FIFTH_ARRAY, SFIFS => JUL, SFILS => OCT, SSIFS => 6, SSILS => 10, SFLEN => 4, SSLEN => 5, SFIRT => JUL, SSIRT => 6, REMARKS => "SECOND_TEST_PROCEDURE") ; THIRD_TEST_PROCEDURE (FIRST => THIRD_ARRAY, FFIFS => 'A', FFILS => 'Z', FSIFS => FALSE, FSILS => TRUE, FFLEN => 26, FSLEN => 2, FFIRT => 'T', FSIRT => TRUE, SECOND => SIXTH_ARRAY, SFIFS => 'X', SFILS => 'Z', SSIFS => TRUE, SSILS => TRUE, SFLEN => 3, SSLEN => 1, SFIRT => 'Z', SSIRT => TRUE, REMARKS => "THIRD_TEST_PROCEDURE") ; REPORT.RESULT ; END C36205L ;
44.190311
79
0.413828
04bafccb94c829fd53df0a27eaf40fce896bc34e
880
ads
Ada
source/generate_c.ads
jquorning/CELLE
0584a22bd48464c2727751fca9dbca079e217b0c
[ "blessing" ]
null
null
null
source/generate_c.ads
jquorning/CELLE
0584a22bd48464c2727751fca9dbca079e217b0c
[ "blessing" ]
null
null
null
source/generate_c.ads
jquorning/CELLE
0584a22bd48464c2727751fca9dbca079e217b0c
[ "blessing" ]
null
null
null
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Backend; with Sessions; package Generate_C is use Backend; procedure Open_Template -- (Cherry : in Cherry_Interface; (Context : in out Context_Type; User_Template : in String; File_Name : in String; Error_Count : in out Integer); procedure Generate_Spec (Session : in Sessions.Session_Type; Context : in out Context_Type; File_Name : in String; Module : in String; Prefix : in String; First : in Integer; Last : in Integer); end Generate_C;
25.882353
68
0.605682
1ad659be5bd58f1175263cf71e1fbbbd6739497e
14,401
ads
Ada
bb-runtimes/arm/sam/sam4s/s-sam4s.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/sam/sam4s/s-sam4s.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/sam/sam4s/s-sam4s.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . S A M 4 S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This file provides register definitions for the SAM4S (ARM Cortex M4) -- microcontrollers from Atmel. Definitions are taken from 'SAM4S Series' -- datasheet (document 11100E-ATARM-24-Jul-13). package System.SAM4S is pragma No_Elaboration_Code_All; -- Allow user code with pragma No_Elaboration_Code_All to use this package pragma Preelaborate (System.SAM4S); pragma Suppress (Alignment_Check); -- Avoid any warnings for address clauses on variables of type record. type Word is mod 2**32; -- Define address bases for various peripherals Peripheral_Base : constant := 16#4000_0000#; SPI_Base : constant := Peripheral_Base + 16#8000#; System_Controller_Base : constant := Peripheral_Base + 16#e_0000#; PMC_Base : constant := System_Controller_Base + 16#0400#; UART0_Base : constant := System_Controller_Base + 16#0600#; UART1_Base : constant := System_Controller_Base + 16#0800#; EFC0_Base : constant := System_Controller_Base + 16#0A00#; EFC1_Base : constant := System_Controller_Base + 16#0C00#; PIOA_Base : constant := System_Controller_Base + 16#0e00#; PIOB_Base : constant := System_Controller_Base + 16#1000#; PIOC_Base : constant := System_Controller_Base + 16#1200#; WDT_Base : constant := System_Controller_Base + 16#1450#; --------------------------------- -- Power Management Controller -- --------------------------------- type PMC_Registers is record PMC_SCER : Word; PMC_SCDR : Word; PMC_SCSR : Word; Pad0 : Word; PMC_PCER0 : Word; PMC_PCDR0 : Word; PMC_PCSR0 : Word; Pad1 : Word; CKGR_MOR : Word; CKGR_MCFR : Word; CKGR_PLLAR : Word; CKGR_PLLBR : Word; PMC_MCKR : Word; Pad3_4 : Word; PMC_USB : Word; Pad3_C : Word; PMC_PCK0 : Word; PMC_PCK1 : Word; PMC_PCK2 : Word; Pad4_C : Word; Pad5_0 : Word; Pad5_4 : Word; Pad5_8 : Word; Pad5_C : Word; PMC_IER : Word; PMC_IDR : Word; PMC_SR : Word; PMC_IMR : Word; PMC_FSMR : Word; PMC_FSPR : Word; PMC_FOCR : Word; Pad7_C : Word; -- Not complete end record; PMC : PMC_Registers with Volatile, Import, Address => System'To_Address (PMC_Base); -- Constants for the CKGR MOR register package CKGR_MOR is CFDEN : constant := 2 ** 25; MOSCSEL : constant := 2 ** 24; KEY : constant := 16#37# * 2 ** 16; MOSCXTST : constant := 2 ** 8; MOSCRCEN : constant := 2 ** 3; WAITMODE : constant := 2 ** 2; MOSCXTBY : constant := 2 ** 1; MOSCXTEN : constant := 2 ** 0; end CKGR_MOR; -- Constants for the PMC SR register package PMC_SR is MCKRDY : constant := 2 ** 3; LOCKB : constant := 2 ** 2; LOCKA : constant := 2 ** 1; MOSCXTS : constant := 2 ** 0; end PMC_SR; -- Constants for the CKGR PLLAR and PLLBR registers package CKGR_PLLxR is DIV : constant := 2 ** 0; PLLCOUNT : constant := 2 ** 8; MUL : constant := 2 ** 16; ONE : constant := 2 ** 29; end CKGR_PLLxR; -- Constants for the PMC MCKR register package PMC_MCKR is PLLBDIV2 : constant := 2 ** 13; PLLADIV2 : constant := 2 ** 12; PRES_Mask : constant := 2#111# * 2 ** 4; CLK_1 : constant := 0 * 2 ** 4; CLK_2 : constant := 1 * 2 ** 4; CLK_4 : constant := 2 * 2 ** 4; CLK_8 : constant := 3 * 2 ** 4; CLK_16 : constant := 4 * 2 ** 4; CLK_32 : constant := 5 * 2 ** 4; CLK_64 : constant := 6 * 2 ** 4; CLK_3 : constant := 7 * 2 ** 4; CSS_Mask : constant := 2#11# * 2 ** 0; SLOW_CLK : constant := 0 * 2 ** 0; MAIN_CLK : constant := 1 * 2 ** 0; PLLA_CLK : constant := 2 * 2 ** 0; PLLB_CLK : constant := 3 * 2 ** 0; end PMC_MCKR; ---------------------------------------- -- Enhanced Embedded Flash Controller -- ---------------------------------------- type EEFC_Registers is record EEFC_FMR : Word; EEFC_FCR : Word; EEFC_FSR : Word; EEFC_FFR : Word; end record; -- Constants for the EEFC FMR register package EEFC_FMR is FRDY : constant := 2 ** 0; FWS : constant := 2 ** 8; SCOD : constant := 2 ** 16; FAM : constant := 2 ** 24; CLOE : constant := 2 ** 26; end EEFC_FMR; EFC0 : EEFC_Registers with Volatile, Import, Address => System'To_Address (EFC0_Base); -------------------------------------- -- Parallel Input/Output Controller -- -------------------------------------- type PIO_Registers is record PER : Word; PDR : Word; PSR : Word; Pad0 : Word; OER : Word; ODR : Word; OSR : Word; Pad1 : Word; IFER : Word; IFDR : Word; IFSR : Word; Pad2 : Word; SODR : Word; CODR : Word; ODSR : Word; PDSR : Word; IER : Word; IDR : Word; IMR : Word; ISR : Word; MDER : Word; MDDR : Word; MDSR : Word; Pad5 : Word; PUDR : Word; PUER : Word; PUSR : Word; Pad6 : Word; ABCDSR1 : Word; ABCDSR2 : Word; Pad7_8 : Word; Pad7_C : Word; IFSCDR : Word; IFSCER : Word; IFSCSR : Word; SCDR : Word; PPDDR : Word; PPDER : Word; PPDSR : Word; Pad9 : Word; OWER : Word; OWDR : Word; OWSR : Word; Pada : Word; AIMER : Word; AIMDR : Word; AIMMR : Word; Padb : Word; ESR : Word; LSR : Word; ELSR : Word; Padc : Word; FELLSR : Word; REHLSR : Word; FRLHSR : Word; Padd : Word; LOCKSR : Word; WPMR : Word; WPSR : Word; PadE_C : Word; end record; PIOA : PIO_Registers with Volatile, Import, Address => System'To_Address (PIOA_Base); PIOB : PIO_Registers with Volatile, Import, Address => System'To_Address (PIOB_Base); PIOC : PIO_Registers with Volatile, Import, Address => System'To_Address (PIOC_Base); PIOA_ID : constant := 11; PIOB_ID : constant := 12; PIOC_ID : constant := 13; ---------------------------------- -- Serial Peripheral Interface -- ---------------------------------- type SPI_Registers is record SPI_CR : Word; SPI_MR : Word; SPI_RDR : Word; SPI_TDR : Word; SPI_SR : Word; SPI_IER : Word; SPI_IDR : Word; SPI_IMR : Word; Pad_20 : Word; Pad_24 : Word; Pad_28 : Word; Pad_2c : Word; SPI_CSR0 : Word; SPI_CSR1 : Word; SPI_CSR2 : Word; SPI_CSR3 : Word; -- ... end record; -- Constants for the SPI CR register package SPI_CR is SPIEN : constant := 2 ** 0; SPIDIS : constant := 2 ** 1; SWRST : constant := 2 ** 7; LASTXFER : constant := 2 ** 24; end SPI_CR; -- Constants for the SPI MR register package SPI_MR is MSTR : constant := 2 ** 0; PS : constant := 2 ** 1; PCSDEC : constant := 2 ** 2; MODFDIS : constant := 2 ** 4; WDRBT : constant := 2 ** 5; LLB : constant := 2 ** 7; PCS : constant := 2 ** 16; PCS_Mask : constant := 2#1111# * PCS; DLYBCS : constant := 2 ** 16; DLYBCS_Mask : constant := 16#ff# * DLYBCS; end SPI_MR; -- Constants for the SPI TDR register package SPI_TDR is TD : constant := 2 ** 0; PCS : constant := 2 ** 16; LASTXFER : constant := 2 ** 24; end SPI_TDR; -- Constants for the SPI SR register; also used by the SPI IER, IDR and -- IMR registers. package SPI_SR is RDRF : constant := 2 ** 0; TDRE : constant := 2 ** 1; MODF : constant := 2 ** 2; OVRES : constant := 2 ** 3; ENDRX : constant := 2 ** 4; ENDTX : constant := 2 ** 5; RXBUFF : constant := 2 ** 6; TXBUFE : constant := 2 ** 7; NSSR : constant := 2 ** 8; TXEMPTY : constant := 2 ** 9; UNDES : constant := 2 ** 10; SPIENS : constant := 2 ** 16; end SPI_SR; -- Constants for the SPI CSR register package SPI_CSR is CPOL : constant := 2 ** 0; NCPHA : constant := 2 ** 1; CSNAAT : constant := 2 ** 2; CSAAT : constant := 2 ** 3; BITS : constant := 2 ** 4; SCBR : constant := 2 ** 8; DLYBS : constant := 2 ** 16; DLYBCT : constant := 2 ** 24; end SPI_CSR; SPI : SPI_Registers with Volatile, Import, Address => System'To_Address (SPI_Base); SPI_ID : constant := 21; -------------------- -- Watchdog Timer -- -------------------- type WDT_Registers is record WDT_CR : Word; WDT_MR : Word; WDT_SR : Word; end record; -- Constants for the WDT CR register package WDT_CR is KEY : constant := 16#a5_00_00_00#; WDRSTT : constant := 2 ** 0; end WDT_CR; -- Constants for the WDT MR register package WDT_MR is WDV : constant := 2 ** 0; WDFIEN : constant := 2 ** 2; WDRSTEN : constant := 2 ** 13; WDDPROC : constant := 2 ** 14; WDDIS : constant := 2 ** 15; WDD : constant := 2 ** 16; WDDBGHLT : constant := 2 ** 13; WDIDLEHLT : constant := 2 ** 13; end WDT_MR; WDT : WDT_Registers with Volatile, Import, Address => System'To_Address (WDT_Base); ------------------------------------------------- -- Universal Asynchronous Receiver Transmitter -- ------------------------------------------------- type UART_Registers is record UART_CR : Word; UART_MR : Word; UART_IER : Word; UART_IDR : Word; UART_IMR : Word; UART_SR : Word; UART_RHR : Word; UART_THR : Word; UART_BRGR : Word; end record; -- Constants for the UART CR register package UART_CR is RSTRX : constant := 2 ** 2; RSTTX : constant := 2 ** 3; RXEN : constant := 2 ** 4; RXDIS : constant := 2 ** 5; TXEN : constant := 2 ** 6; TXDIS : constant := 2 ** 7; RSTSTA : constant := 2 ** 8; end UART_CR; -- Constants for the UART MR register package UART_MR is CHMODE_NORMAL : constant := 0 * 2 ** 14; CHMODE_AUTOMATIC : constant := 1 * 2 ** 14; CHMODE_LOCAL_LOOPBACK : constant := 2 * 2 ** 14; CHMODE_REMOTE_LOOPBACK : constant := 3 * 2 ** 14; PAR_EVEN : constant := 0 * 2 ** 9; PAR_ODD : constant := 1 * 2 ** 9; PAR_SPACE : constant := 2 * 2 ** 9; PAR_MARK : constant := 3 * 2 ** 9; PAR_NO : constant := 4 * 2 ** 9; end UART_MR; -- Constants for the UART SR register package UART_SR is RXRDY : constant := 2 ** 0; TXRDY : constant := 2 ** 1; ENDRX : constant := 2 ** 3; ENDTX : constant := 2 ** 4; OVRE : constant := 2 ** 5; FRAME : constant := 2 ** 6; PARE : constant := 2 ** 7; TXEMPTY : constant := 2 ** 9; TXBUFE : constant := 2 ** 11; RXBUFF : constant := 2 ** 12; end UART_SR; UART0 : UART_Registers with Volatile, Import, Address => System'To_Address (UART0_Base); UART1 : UART_Registers with Volatile, Import, Address => System'To_Address (UART1_Base); UART0_ID : constant := 8; UART1_ID : constant := 9; end System.SAM4S;
29.692784
78
0.476425
4b606b2ea52c8b0520d20d9e6220f5c55a65bfc3
4,901
adb
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-swuwti.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-swuwti.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-swuwti.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.STRINGS.WIDE_UNBOUNDED.WIDE_TEXT_IO -- -- -- -- B o d y -- -- -- -- Copyright (C) 1997-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Wide_Text_IO; use Ada.Wide_Text_IO; package body Ada.Strings.Wide_Unbounded.Wide_Text_IO is -------------- -- Get_Line -- -------------- function Get_Line return Unbounded_Wide_String is Buffer : Wide_String (1 .. 1000); Last : Natural; Result : Unbounded_Wide_String; begin Get_Line (Buffer, Last); Set_Unbounded_Wide_String (Result, Buffer (1 .. Last)); while Last = Buffer'Last loop Get_Line (Buffer, Last); Append (Result, Buffer (1 .. Last)); end loop; return Result; end Get_Line; function Get_Line (File : Ada.Wide_Text_IO.File_Type) return Unbounded_Wide_String is Buffer : Wide_String (1 .. 1000); Last : Natural; Result : Unbounded_Wide_String; begin Get_Line (File, Buffer, Last); Set_Unbounded_Wide_String (Result, Buffer (1 .. Last)); while Last = Buffer'Last loop Get_Line (File, Buffer, Last); Append (Result, Buffer (1 .. Last)); end loop; return Result; end Get_Line; procedure Get_Line (Item : out Unbounded_Wide_String) is begin Get_Line (Current_Input, Item); end Get_Line; procedure Get_Line (File : Ada.Wide_Text_IO.File_Type; Item : out Unbounded_Wide_String) is Buffer : Wide_String (1 .. 1000); Last : Natural; begin Get_Line (File, Buffer, Last); Set_Unbounded_Wide_String (Item, Buffer (1 .. Last)); while Last = Buffer'Last loop Get_Line (File, Buffer, Last); Append (Item, Buffer (1 .. Last)); end loop; end Get_Line; --------- -- Put -- --------- procedure Put (U : Unbounded_Wide_String) is UR : constant Shared_Wide_String_Access := U.Reference; begin Put (UR.Data (1 .. UR.Last)); end Put; procedure Put (File : File_Type; U : Unbounded_Wide_String) is UR : constant Shared_Wide_String_Access := U.Reference; begin Put (File, UR.Data (1 .. UR.Last)); end Put; -------------- -- Put_Line -- -------------- procedure Put_Line (U : Unbounded_Wide_String) is UR : constant Shared_Wide_String_Access := U.Reference; begin Put_Line (UR.Data (1 .. UR.Last)); end Put_Line; procedure Put_Line (File : File_Type; U : Unbounded_Wide_String) is UR : constant Shared_Wide_String_Access := U.Reference; begin Put_Line (File, UR.Data (1 .. UR.Last)); end Put_Line; end Ada.Strings.Wide_Unbounded.Wide_Text_IO;
36.303704
78
0.49745
04c374a37b8a099b3cec1dd328a0f9e638354313
2,696
adb
Ada
src/imagethresholds.adb
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
src/imagethresholds.adb
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
src/imagethresholds.adb
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
with PixelArray; with Ada.Containers.Vectors; with Ada.Text_IO; package body ImageThresholds is function isBinary(image: PixelArray.ImagePlane) return Boolean is function checkPixel(px: Pixel) return Boolean is begin return (px = 255 or px = 0); end checkPixel; begin return image.allPixels(checkPixel'Access); end isBinary; procedure simple(image: in out PixelArray.ImagePlane; threshold: PixelArray.Pixel) is begin for y in 0 .. image.width - 1 loop for x in 0 .. image.height - 1 loop image.set(x, y, (if image.get(x, y) > threshold then 255 else 0)); end loop; end loop; end simple; function simple(image: PixelArray.ImagePlane; threshold: PixelArray.Pixel) return PixelArray.ImagePlane is begin return result: ImagePlane := PixelArray.allocate(width => image.width, height => image.height) do simple(result, threshold); end return; end simple; function circleMinMax(image: PixelArray.ImagePlane; x, y: Natural; radius: Positive) return MinMaxIntensity is result: MinMaxIntensity; begin result.max := 0; result.min := 255; for px in x - radius .. x + radius loop if px > 0 and px < image.width then for py in y - radius .. y + radius loop if py > 0 and py < image.height then if abs((x - px) ** 2 + (y - py) ** 2) < radius * radius then result.min := PixelArray.Pixel'Min(result.min, image.get(px, py)); result.max := PixelArray.Pixel'Max(result.max, image.get(px, py)); end if; end if; end loop; end if; end loop; return result; end circleMinMax; function bernsenAdaptative(image: PixelArray.ImagePlane; radius: Positive; c_min: PixelArray.Pixel) return PixelArray.ImagePlane is minMax: MinMaxIntensity; threshold: PixelArray.Pixel; begin return result: PixelArray.ImagePlane := PixelArray.allocate(image.width, image.height) do for py in 0 .. image.height - 1 loop for px in 0 .. image.width - 1 loop minMax := circleMinMax(image => image, x => px, y => py, radius => radius); threshold := (if minMax.max - minMax.min >= c_min then (minMax.min + minMax.max) / 2 else 0); result.set(px, py, (if image.get(px, py) > threshold then 255 else 0)); end loop; end loop; end return; end bernsenAdaptative; end ImageThresholds;
37.444444
134
0.58457
4b39bdebc2c11ae5c0fa46b14e0760c47c0047c6
149
ads
Ada
src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/c_code_h.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/c_code_h.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/c_code_h.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
package c_code_h is procedure c_func; pragma Import (C, c_func); procedure c_ada_caller; pragma Import (C, c_ada_caller); end c_code_h;
18.625
35
0.724832
2ee650903a5300ff7f4368cbf42b0091503da112
5,456
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-atopri.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/s-atopri.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-atopri.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . A T O M I C _ P R I M I T I V E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2012, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains atomic primitives defined from gcc built-in functions -- For now, these operations are only used by the compiler to generate the -- lock-free implementation of protected objects. package System.Atomic_Primitives is pragma Preelaborate; type uint8 is mod 2**8 with Size => 8; type uint16 is mod 2**16 with Size => 16; type uint32 is mod 2**32 with Size => 32; type uint64 is mod 2**64 with Size => 64; Relaxed : constant := 0; Consume : constant := 1; Acquire : constant := 2; Release : constant := 3; Acq_Rel : constant := 4; Seq_Cst : constant := 5; Last : constant := 6; subtype Mem_Model is Integer range Relaxed .. Last; function Atomic_Compare_Exchange_8 (X : Address; X_Old : uint8; X_Copy : uint8) return Boolean; pragma Import (Intrinsic, Atomic_Compare_Exchange_8, "__sync_bool_compare_and_swap_1"); -- ??? Should use __atomic_compare_exchange_1 (doesn't work yet): -- function Atomic_Compare_Exchange_8 -- (X : Address; -- X_Old : Address; -- X_Copy : uint8; -- Success_Model : Mem_Model := Seq_Cst; -- Failure_Model : Mem_Model := Seq_Cst) return Boolean; -- pragma Import (Intrinsic, -- Atomic_Compare_Exchange_8, -- "__atomic_compare_exchange_1"); function Atomic_Compare_Exchange_16 (X : Address; X_Old : uint16; X_Copy : uint16) return Boolean; pragma Import (Intrinsic, Atomic_Compare_Exchange_16, "__sync_bool_compare_and_swap_2"); function Atomic_Compare_Exchange_32 (X : Address; X_Old : uint32; X_Copy : uint32) return Boolean; pragma Import (Intrinsic, Atomic_Compare_Exchange_32, "__sync_bool_compare_and_swap_4"); function Atomic_Compare_Exchange_64 (X : Address; X_Old : uint64; X_Copy : uint64) return Boolean; pragma Import (Intrinsic, Atomic_Compare_Exchange_64, "__sync_bool_compare_and_swap_8"); function Atomic_Load_8 (X : Address; Model : Mem_Model := Seq_Cst) return uint8; pragma Import (Intrinsic, Atomic_Load_8, "__atomic_load_1"); function Atomic_Load_16 (X : Address; Model : Mem_Model := Seq_Cst) return uint16; pragma Import (Intrinsic, Atomic_Load_16, "__atomic_load_2"); function Atomic_Load_32 (X : Address; Model : Mem_Model := Seq_Cst) return uint32; pragma Import (Intrinsic, Atomic_Load_32, "__atomic_load_4"); function Atomic_Load_64 (X : Address; Model : Mem_Model := Seq_Cst) return uint64; pragma Import (Intrinsic, Atomic_Load_64, "__atomic_load_8"); procedure Atomic_Synchronize; pragma Import (Intrinsic, Atomic_Synchronize, "__sync_synchronize"); end System.Atomic_Primitives;
42.625
79
0.478006
04c9c6b0e764ed4db4d3c978960858181cf2d048
27,423
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/a-cihama.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/a-cihama.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/a-cihama.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . -- -- I N D E F I N I T E _ H A S H E D _ M A P S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2004-2005, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- This unit has originally being developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ with Ada.Containers.Hash_Tables.Generic_Operations; pragma Elaborate_All (Ada.Containers.Hash_Tables.Generic_Operations); with Ada.Containers.Hash_Tables.Generic_Keys; pragma Elaborate_All (Ada.Containers.Hash_Tables.Generic_Keys); with Ada.Unchecked_Deallocation; package body Ada.Containers.Indefinite_Hashed_Maps is procedure Free_Key is new Ada.Unchecked_Deallocation (Key_Type, Key_Access); procedure Free_Element is new Ada.Unchecked_Deallocation (Element_Type, Element_Access); ----------------------- -- Local Subprograms -- ----------------------- function Copy_Node (Node : Node_Access) return Node_Access; pragma Inline (Copy_Node); function Equivalent_Key_Node (Key : Key_Type; Node : Node_Access) return Boolean; pragma Inline (Equivalent_Key_Node); function Find_Equal_Key (R_HT : Hash_Table_Type; L_Node : Node_Access) return Boolean; procedure Free (X : in out Node_Access); -- pragma Inline (Free); function Hash_Node (Node : Node_Access) return Hash_Type; pragma Inline (Hash_Node); function Next (Node : Node_Access) return Node_Access; pragma Inline (Next); function Read_Node (Stream : access Root_Stream_Type'Class) return Node_Access; procedure Set_Next (Node : Node_Access; Next : Node_Access); pragma Inline (Set_Next); function Vet (Position : Cursor) return Boolean; procedure Write_Node (Stream : access Root_Stream_Type'Class; Node : Node_Access); -------------------------- -- Local Instantiations -- -------------------------- package HT_Ops is new Ada.Containers.Hash_Tables.Generic_Operations (HT_Types => HT_Types, Hash_Node => Hash_Node, Next => Next, Set_Next => Set_Next, Copy_Node => Copy_Node, Free => Free); package Key_Ops is new Hash_Tables.Generic_Keys (HT_Types => HT_Types, Next => Next, Set_Next => Set_Next, Key_Type => Key_Type, Hash => Hash, Equivalent_Keys => Equivalent_Key_Node); --------- -- "=" -- --------- function Is_Equal is new HT_Ops.Generic_Equal (Find_Equal_Key); function "=" (Left, Right : Map) return Boolean is begin return Is_Equal (Left.HT, Right.HT); end "="; ------------ -- Adjust -- ------------ procedure Adjust (Container : in out Map) is begin HT_Ops.Adjust (Container.HT); end Adjust; -------------- -- Capacity -- -------------- function Capacity (Container : Map) return Count_Type is begin return HT_Ops.Capacity (Container.HT); end Capacity; ----------- -- Clear -- ----------- procedure Clear (Container : in out Map) is begin HT_Ops.Clear (Container.HT); end Clear; -------------- -- Contains -- -------------- function Contains (Container : Map; Key : Key_Type) return Boolean is begin return Find (Container, Key) /= No_Element; end Contains; --------------- -- Copy_Node -- --------------- function Copy_Node (Node : Node_Access) return Node_Access is K : Key_Access := new Key_Type'(Node.Key.all); E : Element_Access; begin E := new Element_Type'(Node.Element.all); return new Node_Type'(K, E, null); exception when others => Free_Key (K); Free_Element (E); raise; end Copy_Node; ------------ -- Delete -- ------------ procedure Delete (Container : in out Map; Key : Key_Type) is X : Node_Access; begin Key_Ops.Delete_Key_Sans_Free (Container.HT, Key, X); if X = null then raise Constraint_Error with "attempt to delete key not in map"; end if; Free (X); end Delete; procedure Delete (Container : in out Map; Position : in out Cursor) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Delete equals No_Element"; end if; if Position.Container /= Container'Unrestricted_Access then raise Program_Error with "Position cursor of Delete designates wrong map"; end if; if Container.HT.Busy > 0 then raise Program_Error with "Delete attempted to tamper with elements (map is busy)"; end if; pragma Assert (Vet (Position), "bad cursor in Delete"); HT_Ops.Delete_Node_Sans_Free (Container.HT, Position.Node); Free (Position.Node); Position.Container := null; end Delete; ------------- -- Element -- ------------- function Element (Container : Map; Key : Key_Type) return Element_Type is Node : constant Node_Access := Key_Ops.Find (Container.HT, Key); begin if Node = null then raise Constraint_Error with "no element available because key not in map"; end if; return Node.Element.all; end Element; function Element (Position : Cursor) return Element_Type is begin if Position.Node = null then raise Constraint_Error with "Position cursor of function Element equals No_Element"; end if; if Position.Node.Element = null then raise Program_Error with "Position cursor of function Element is bad"; end if; pragma Assert (Vet (Position), "bad cursor in function Element"); return Position.Node.Element.all; end Element; ------------------------- -- Equivalent_Key_Node -- ------------------------- function Equivalent_Key_Node (Key : Key_Type; Node : Node_Access) return Boolean is begin return Equivalent_Keys (Key, Node.Key.all); end Equivalent_Key_Node; --------------------- -- Equivalent_Keys -- --------------------- function Equivalent_Keys (Left, Right : Cursor) return Boolean is begin if Left.Node = null then raise Constraint_Error with "Left cursor of Equivalent_Keys equals No_Element"; end if; if Right.Node = null then raise Constraint_Error with "Right cursor of Equivalent_Keys equals No_Element"; end if; if Left.Node.Key = null then raise Program_Error with "Left cursor of Equivalent_Keys is bad"; end if; if Right.Node.Key = null then raise Program_Error with "Right cursor of Equivalent_Keys is bad"; end if; pragma Assert (Vet (Left), "bad Left cursor in Equivalent_Keys"); pragma Assert (Vet (Right), "bad Right cursor in Equivalent_Keys"); return Equivalent_Keys (Left.Node.Key.all, Right.Node.Key.all); end Equivalent_Keys; function Equivalent_Keys (Left : Cursor; Right : Key_Type) return Boolean is begin if Left.Node = null then raise Constraint_Error with "Left cursor of Equivalent_Keys equals No_Element"; end if; if Left.Node.Key = null then raise Program_Error with "Left cursor of Equivalent_Keys is bad"; end if; pragma Assert (Vet (Left), "bad Left cursor in Equivalent_Keys"); return Equivalent_Keys (Left.Node.Key.all, Right); end Equivalent_Keys; function Equivalent_Keys (Left : Key_Type; Right : Cursor) return Boolean is begin if Right.Node = null then raise Constraint_Error with "Right cursor of Equivalent_Keys equals No_Element"; end if; if Right.Node.Key = null then raise Program_Error with "Right cursor of Equivalent_Keys is bad"; end if; pragma Assert (Vet (Right), "bad Right cursor in Equivalent_Keys"); return Equivalent_Keys (Left, Right.Node.Key.all); end Equivalent_Keys; ------------- -- Exclude -- ------------- procedure Exclude (Container : in out Map; Key : Key_Type) is X : Node_Access; begin Key_Ops.Delete_Key_Sans_Free (Container.HT, Key, X); Free (X); end Exclude; -------------- -- Finalize -- -------------- procedure Finalize (Container : in out Map) is begin HT_Ops.Finalize (Container.HT); end Finalize; ---------- -- Find -- ---------- function Find (Container : Map; Key : Key_Type) return Cursor is Node : constant Node_Access := Key_Ops.Find (Container.HT, Key); begin if Node = null then return No_Element; end if; return Cursor'(Container'Unchecked_Access, Node); end Find; -------------------- -- Find_Equal_Key -- -------------------- function Find_Equal_Key (R_HT : Hash_Table_Type; L_Node : Node_Access) return Boolean is R_Index : constant Hash_Type := Key_Ops.Index (R_HT, L_Node.Key.all); R_Node : Node_Access := R_HT.Buckets (R_Index); begin while R_Node /= null loop if Equivalent_Keys (L_Node.Key.all, R_Node.Key.all) then return L_Node.Element.all = R_Node.Element.all; end if; R_Node := R_Node.Next; end loop; return False; end Find_Equal_Key; ----------- -- First -- ----------- function First (Container : Map) return Cursor is Node : constant Node_Access := HT_Ops.First (Container.HT); begin if Node = null then return No_Element; end if; return Cursor'(Container'Unchecked_Access, Node); end First; ---------- -- Free -- ---------- procedure Free (X : in out Node_Access) is procedure Deallocate is new Ada.Unchecked_Deallocation (Node_Type, Node_Access); begin if X = null then return; end if; X.Next := X; -- detect mischief (in Vet) begin Free_Key (X.Key); exception when others => X.Key := null; begin Free_Element (X.Element); exception when others => X.Element := null; end; Deallocate (X); raise; end; begin Free_Element (X.Element); exception when others => X.Element := null; Deallocate (X); raise; end; Deallocate (X); end Free; ----------------- -- Has_Element -- ----------------- function Has_Element (Position : Cursor) return Boolean is begin pragma Assert (Vet (Position), "bad cursor in Has_Element"); return Position.Node /= null; end Has_Element; --------------- -- Hash_Node -- --------------- function Hash_Node (Node : Node_Access) return Hash_Type is begin return Hash (Node.Key.all); end Hash_Node; ------------- -- Include -- ------------- procedure Include (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; K : Key_Access; E : Element_Access; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then if Container.HT.Lock > 0 then raise Program_Error with "Include attempted to tamper with cursors (map is locked)"; end if; K := Position.Node.Key; E := Position.Node.Element; Position.Node.Key := new Key_Type'(Key); begin Position.Node.Element := new Element_Type'(New_Item); exception when others => Free_Key (K); raise; end; Free_Key (K); Free_Element (E); end if; end Include; ------------ -- Insert -- ------------ procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean) is function New_Node (Next : Node_Access) return Node_Access; procedure Local_Insert is new Key_Ops.Generic_Conditional_Insert (New_Node); -------------- -- New_Node -- -------------- function New_Node (Next : Node_Access) return Node_Access is K : Key_Access := new Key_Type'(Key); E : Element_Access; begin E := new Element_Type'(New_Item); return new Node_Type'(K, E, Next); exception when others => Free_Key (K); Free_Element (E); raise; end New_Node; HT : Hash_Table_Type renames Container.HT; -- Start of processing for Insert begin if HT_Ops.Capacity (HT) = 0 then HT_Ops.Reserve_Capacity (HT, 1); end if; Local_Insert (HT, Key, Position.Node, Inserted); if Inserted and then HT.Length > HT_Ops.Capacity (HT) then HT_Ops.Reserve_Capacity (HT, HT.Length); end if; Position.Container := Container'Unchecked_Access; end Insert; procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then raise Constraint_Error with "attempt to insert key already in map"; end if; end Insert; -------------- -- Is_Empty -- -------------- function Is_Empty (Container : Map) return Boolean is begin return Container.HT.Length = 0; end Is_Empty; ------------- -- Iterate -- ------------- procedure Iterate (Container : Map; Process : not null access procedure (Position : Cursor)) is procedure Process_Node (Node : Node_Access); pragma Inline (Process_Node); procedure Iterate is new HT_Ops.Generic_Iteration (Process_Node); ------------------ -- Process_Node -- ------------------ procedure Process_Node (Node : Node_Access) is begin Process (Cursor'(Container'Unchecked_Access, Node)); end Process_Node; -- Start of processing Iterate begin Iterate (Container.HT); end Iterate; --------- -- Key -- --------- function Key (Position : Cursor) return Key_Type is begin if Position.Node = null then raise Constraint_Error with "Position cursor of function Key equals No_Element"; end if; if Position.Node.Key = null then raise Program_Error with "Position cursor of function Key is bad"; end if; pragma Assert (Vet (Position), "bad cursor in function Key"); return Position.Node.Key.all; end Key; ------------ -- Length -- ------------ function Length (Container : Map) return Count_Type is begin return Container.HT.Length; end Length; ---------- -- Move -- ---------- procedure Move (Target : in out Map; Source : in out Map) is begin HT_Ops.Move (Target => Target.HT, Source => Source.HT); end Move; ---------- -- Next -- ---------- function Next (Node : Node_Access) return Node_Access is begin return Node.Next; end Next; procedure Next (Position : in out Cursor) is begin Position := Next (Position); end Next; function Next (Position : Cursor) return Cursor is begin if Position.Node = null then return No_Element; end if; if Position.Node.Key = null or else Position.Node.Element = null then raise Program_Error with "Position cursor of Next is bad"; end if; pragma Assert (Vet (Position), "Position cursor of Next is bad"); declare HT : Hash_Table_Type renames Position.Container.HT; Node : constant Node_Access := HT_Ops.Next (HT, Position.Node); begin if Node = null then return No_Element; end if; return Cursor'(Position.Container, Node); end; end Next; ------------------- -- Query_Element -- ------------------- procedure Query_Element (Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : Element_Type)) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Query_Element equals No_Element"; end if; if Position.Node.Key = null or else Position.Node.Element = null then raise Program_Error with "Position cursor of Query_Element is bad"; end if; pragma Assert (Vet (Position), "bad cursor in Query_Element"); declare M : Map renames Position.Container.all; HT : Hash_Table_Type renames M.HT'Unrestricted_Access.all; B : Natural renames HT.Busy; L : Natural renames HT.Lock; begin B := B + 1; L := L + 1; declare K : Key_Type renames Position.Node.Key.all; E : Element_Type renames Position.Node.Element.all; begin Process (K, E); exception when others => L := L - 1; B := B - 1; raise; end; L := L - 1; B := B - 1; end; end Query_Element; ---------- -- Read -- ---------- procedure Read_Nodes is new HT_Ops.Generic_Read (Read_Node); procedure Read (Stream : access Root_Stream_Type'Class; Container : out Map) is begin Read_Nodes (Stream, Container.HT); end Read; procedure Read (Stream : access Root_Stream_Type'Class; Item : out Cursor) is begin raise Program_Error with "attempt to stream map cursor"; end Read; --------------- -- Read_Node -- --------------- function Read_Node (Stream : access Root_Stream_Type'Class) return Node_Access is Node : Node_Access := new Node_Type; begin begin Node.Key := new Key_Type'(Key_Type'Input (Stream)); exception when others => Free (Node); raise; end; begin Node.Element := new Element_Type'(Element_Type'Input (Stream)); exception when others => Free_Key (Node.Key); Free (Node); raise; end; return Node; end Read_Node; ------------- -- Replace -- ------------- procedure Replace (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Node : constant Node_Access := Key_Ops.Find (Container.HT, Key); K : Key_Access; E : Element_Access; begin if Node = null then raise Constraint_Error with "attempt to replace key not in map"; end if; if Container.HT.Lock > 0 then raise Program_Error with "Replace attempted to tamper with cursors (map is locked)"; end if; K := Node.Key; E := Node.Element; Node.Key := new Key_Type'(Key); begin Node.Element := new Element_Type'(New_Item); exception when others => Free_Key (K); raise; end; Free_Key (K); Free_Element (E); end Replace; --------------------- -- Replace_Element -- --------------------- procedure Replace_Element (Container : in out Map; Position : Cursor; New_Item : Element_Type) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Replace_Element equals No_Element"; end if; if Position.Node.Key = null or else Position.Node.Element = null then raise Program_Error with "Position cursor of Replace_Element is bad"; end if; if Position.Container /= Container'Unrestricted_Access then raise Program_Error with "Position cursor of Replace_Element designates wrong map"; end if; if Position.Container.HT.Lock > 0 then raise Program_Error with "Replace_Element attempted to tamper with cursors (map is locked)"; end if; pragma Assert (Vet (Position), "bad cursor in Replace_Element"); declare X : Element_Access := Position.Node.Element; begin Position.Node.Element := new Element_Type'(New_Item); Free_Element (X); end; end Replace_Element; ---------------------- -- Reserve_Capacity -- ---------------------- procedure Reserve_Capacity (Container : in out Map; Capacity : Count_Type) is begin HT_Ops.Reserve_Capacity (Container.HT, Capacity); end Reserve_Capacity; -------------- -- Set_Next -- -------------- procedure Set_Next (Node : Node_Access; Next : Node_Access) is begin Node.Next := Next; end Set_Next; -------------------- -- Update_Element -- -------------------- procedure Update_Element (Container : in out Map; Position : Cursor; Process : not null access procedure (Key : Key_Type; Element : in out Element_Type)) is begin if Position.Node = null then raise Constraint_Error with "Position cursor of Update_Element equals No_Element"; end if; if Position.Node.Key = null or else Position.Node.Element = null then raise Program_Error with "Position cursor of Update_Element is bad"; end if; if Position.Container /= Container'Unrestricted_Access then raise Program_Error with "Position cursor of Update_Element designates wrong map"; end if; pragma Assert (Vet (Position), "bad cursor in Update_Element"); declare HT : Hash_Table_Type renames Container.HT; B : Natural renames HT.Busy; L : Natural renames HT.Lock; begin B := B + 1; L := L + 1; declare K : Key_Type renames Position.Node.Key.all; E : Element_Type renames Position.Node.Element.all; begin Process (K, E); exception when others => L := L - 1; B := B - 1; raise; end; L := L - 1; B := B - 1; end; end Update_Element; --------- -- Vet -- --------- function Vet (Position : Cursor) return Boolean is begin if Position.Node = null then return Position.Container = null; end if; if Position.Container = null then return False; end if; if Position.Node.Next = Position.Node then return False; end if; if Position.Node.Key = null then return False; end if; if Position.Node.Element = null then return False; end if; declare HT : Hash_Table_Type renames Position.Container.HT; X : Node_Access; begin if HT.Length = 0 then return False; end if; if HT.Buckets = null or else HT.Buckets'Length = 0 then return False; end if; X := HT.Buckets (Key_Ops.Index (HT, Position.Node.Key.all)); for J in 1 .. HT.Length loop if X = Position.Node then return True; end if; if X = null then return False; end if; if X = X.Next then -- to prevent endless loop return False; end if; X := X.Next; end loop; return False; end; end Vet; ----------- -- Write -- ----------- procedure Write_Nodes is new HT_Ops.Generic_Write (Write_Node); procedure Write (Stream : access Root_Stream_Type'Class; Container : Map) is begin Write_Nodes (Stream, Container.HT); end Write; procedure Write (Stream : access Root_Stream_Type'Class; Item : Cursor) is begin raise Program_Error with "attempt to stream map cursor"; end Write; ---------------- -- Write_Node -- ---------------- procedure Write_Node (Stream : access Root_Stream_Type'Class; Node : Node_Access) is begin Key_Type'Output (Stream, Node.Key.all); Element_Type'Output (Stream, Node.Element.all); end Write_Node; end Ada.Containers.Indefinite_Hashed_Maps;
25.53352
78
0.545819
4b846bd50fdc2ea928a196cf9547b08f0d54bfd2
1,568
ads
Ada
3-mid/opengl/source/lean/model/opengl-model-any.ads
charlie5/lace-alire
9ace9682cf4daac7adb9f980c2868d6225b8111c
[ "0BSD" ]
1
2022-01-20T07:13:42.000Z
2022-01-20T07:13:42.000Z
3-mid/opengl/source/lean/model/opengl-model-any.ads
charlie5/lace-alire
9ace9682cf4daac7adb9f980c2868d6225b8111c
[ "0BSD" ]
null
null
null
3-mid/opengl/source/lean/model/opengl-model-any.ads
charlie5/lace-alire
9ace9682cf4daac7adb9f980c2868d6225b8111c
[ "0BSD" ]
null
null
null
with openGL.Geometry; package openGL.Model.any -- -- Provides a general 3D model. -- -- This model is largely used by the IO importers of various model formats (ie collada, wavefront, etc). -- is type Item is new Model.item with private; type View is access all Item'Class; --------- --- Forge -- function new_Model (Model : in asset_Name; Texture : in asset_Name; Texture_is_lucid : in Boolean) return openGL.Model.any.view; -------------- --- Attributes -- function model_Name (Self : in Item) return asset_Name; overriding function to_GL_Geometries (Self : access Item; Textures : access Texture.name_Map_of_texture'Class; Fonts : in Font.font_id_Map_of_font) return Geometry.views; -- -- Raises unsupported_model_Format when the model is not a : -- - wavefront '.obj' -- - collada '.dae' -- - lat_long_radius '.tab' unsupported_model_Format : exception; private type Item is new Model.item with record Model : asset_Name := null_Asset; -- A wavefront '.obj' or collada '.dae' file. -- TODO: Rename to 'model_Name'. Texture : asset_Name := null_Asset; -- The models texture image. has_lucid_Texture : Boolean := False; Geometry : openGL.Geometry.view; end record; procedure build_GL_Geometries (Self : in out Item); end openGL.Model.any;
26.576271
137
0.582908
04286206bd7fc9943bc5e6c8989959d6e7752517
9,929
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-stratt.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/s-stratt.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-stratt.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . S T R E A M _ A T T R I B U T E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2010, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the implementations of the stream attributes for -- elementary types. These are the subprograms that are directly accessed -- by occurrences of the stream attributes where the type is elementary. -- We only provide the subprograms for the standard base types. For user -- defined types, the subprogram for the corresponding root type is called -- with an appropriate conversion. with System; with System.Unsigned_Types; with Ada.Streams; package System.Stream_Attributes is pragma Preelaborate; pragma Suppress (Accessibility_Check, Stream_Attributes); -- No need to check accessibility on arguments of subprograms package UST renames System.Unsigned_Types; subtype RST is Ada.Streams.Root_Stream_Type'Class; subtype SEC is Ada.Streams.Stream_Element_Count; -- Enumeration types are usually transferred using the routine for the -- corresponding integer. The exception is that special routines are -- provided for Boolean and the character types, in case the protocol -- in use provides specially for these types. -- Access types use either a thin pointer (single address) or fat pointer -- (double address) form. The following types are used to hold access -- values using unchecked conversions. type Thin_Pointer is record P1 : System.Address; end record; type Fat_Pointer is record P1 : System.Address; P2 : System.Address; end record; ------------------------------------ -- Treatment of enumeration types -- ------------------------------------ -- In this interface, there are no specific routines for general input -- or output of enumeration types. Generally, enumeration types whose -- representation is unsigned (no negative representation values) are -- treated as unsigned integers, and enumeration types that do have -- negative representation values are treated as signed integers. -- An exception is that there are specialized routines for Boolean, -- Character, and Wide_Character types, but these specialized routines -- are used only if the type in question has a standard representation. -- For the case of a non-standard representation (one where the size of -- the first subtype is specified, or where an enumeration representation -- clause is given, these three types are treated like any other cases -- of enumeration types, as described above. -- for --------------------- -- Input Functions -- --------------------- -- Functions for S'Input attribute. These functions are also used for -- S'Read, with the obvious transformation, since the input operation -- is the same for all elementary types (no bounds or discriminants -- are involved). function I_AD (Stream : not null access RST) return Fat_Pointer; function I_AS (Stream : not null access RST) return Thin_Pointer; function I_B (Stream : not null access RST) return Boolean; function I_C (Stream : not null access RST) return Character; function I_F (Stream : not null access RST) return Float; function I_I (Stream : not null access RST) return Integer; function I_LF (Stream : not null access RST) return Long_Float; function I_LI (Stream : not null access RST) return Long_Integer; function I_LLF (Stream : not null access RST) return Long_Long_Float; function I_LLI (Stream : not null access RST) return Long_Long_Integer; function I_LLU (Stream : not null access RST) return UST.Long_Long_Unsigned; function I_LU (Stream : not null access RST) return UST.Long_Unsigned; function I_SF (Stream : not null access RST) return Short_Float; function I_SI (Stream : not null access RST) return Short_Integer; function I_SSI (Stream : not null access RST) return Short_Short_Integer; function I_SSU (Stream : not null access RST) return UST.Short_Short_Unsigned; function I_SU (Stream : not null access RST) return UST.Short_Unsigned; function I_U (Stream : not null access RST) return UST.Unsigned; function I_WC (Stream : not null access RST) return Wide_Character; function I_WWC (Stream : not null access RST) return Wide_Wide_Character; ----------------------- -- Output Procedures -- ----------------------- -- Procedures for S'Write attribute. These procedures are also used -- for 'Output, since for elementary types there is no difference -- between 'Write and 'Output because there are no discriminants -- or bounds to be written. procedure W_AD (Stream : not null access RST; Item : Fat_Pointer); procedure W_AS (Stream : not null access RST; Item : Thin_Pointer); procedure W_B (Stream : not null access RST; Item : Boolean); procedure W_C (Stream : not null access RST; Item : Character); procedure W_F (Stream : not null access RST; Item : Float); procedure W_I (Stream : not null access RST; Item : Integer); procedure W_LF (Stream : not null access RST; Item : Long_Float); procedure W_LI (Stream : not null access RST; Item : Long_Integer); procedure W_LLF (Stream : not null access RST; Item : Long_Long_Float); procedure W_LLI (Stream : not null access RST; Item : Long_Long_Integer); procedure W_LLU (Stream : not null access RST; Item : UST.Long_Long_Unsigned); procedure W_LU (Stream : not null access RST; Item : UST.Long_Unsigned); procedure W_SF (Stream : not null access RST; Item : Short_Float); procedure W_SI (Stream : not null access RST; Item : Short_Integer); procedure W_SSI (Stream : not null access RST; Item : Short_Short_Integer); procedure W_SSU (Stream : not null access RST; Item : UST.Short_Short_Unsigned); procedure W_SU (Stream : not null access RST; Item : UST.Short_Unsigned); procedure W_U (Stream : not null access RST; Item : UST.Unsigned); procedure W_WC (Stream : not null access RST; Item : Wide_Character); procedure W_WWC (Stream : not null access RST; Item : Wide_Wide_Character); function Block_IO_OK return Boolean; -- Package System.Stream_Attributes has several bodies - the default one -- distributed with GNAT, and s-stratt-xdr.adb, which is based on the XDR -- standard. Both bodies share the same spec. The role of this function is -- to indicate whether the current version of System.Stream_Attributes -- supports block IO. private pragma Inline (I_AD); pragma Inline (I_AS); pragma Inline (I_B); pragma Inline (I_C); pragma Inline (I_F); pragma Inline (I_I); pragma Inline (I_LF); pragma Inline (I_LI); pragma Inline (I_LLF); pragma Inline (I_LLI); pragma Inline (I_LLU); pragma Inline (I_LU); pragma Inline (I_SF); pragma Inline (I_SI); pragma Inline (I_SSI); pragma Inline (I_SSU); pragma Inline (I_SU); pragma Inline (I_U); pragma Inline (I_WC); pragma Inline (I_WWC); pragma Inline (W_AD); pragma Inline (W_AS); pragma Inline (W_B); pragma Inline (W_C); pragma Inline (W_F); pragma Inline (W_I); pragma Inline (W_LF); pragma Inline (W_LI); pragma Inline (W_LLF); pragma Inline (W_LLI); pragma Inline (W_LLU); pragma Inline (W_LU); pragma Inline (W_SF); pragma Inline (W_SI); pragma Inline (W_SSI); pragma Inline (W_SSU); pragma Inline (W_SU); pragma Inline (W_U); pragma Inline (W_WC); pragma Inline (W_WWC); pragma Inline (Block_IO_OK); end System.Stream_Attributes;
47.056872
79
0.600161
1384e12053e8d28b9236cf36f81e8c1348e6f983
3,372
adb
Ada
project/adl/middleware/src/BLE/bluetooth_low_energy-beacon.adb
corentingay/adaboy
68f08afa246c8255a42897376d375edcb4e2efc2
[ "MIT" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
middleware/src/BLE/bluetooth_low_energy-beacon.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
middleware/src/BLE/bluetooth_low_energy-beacon.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- 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 COPYRIGHT -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ package body Bluetooth_Low_Energy.Beacon is function Make_Beacon_Packet (UUID : BLE_UUID; Major, Minor : UInt16; Power : Integer_8) return BLE_Packet is Pck : BLE_Packet; begin Set_Header (Pck, 16#42#); -- MAC Push (Pck, (16#FE#, 16#CA#, 16#EF#, 16#BE#, 16#AD#, 16#DE#)); -- Flag length Push (Pck, UInt8 (2)); -- Flag type Push (Pck, UInt8 (1)); -- Flag Content Push (Pck, UInt8 (6)); -- Data length Push (Pck, UInt8 (16#1A#)); -- Data type Push (Pck, UInt8 (16#FF#)); -- Data header Push (Pck, (16#4C#, 16#00#, 16#02#, 16#15#)); -- UUID Push_UUID (Pck, UUID); -- Major Push (Pck, Major); -- Minor Push (Pck, Minor); -- Power Push (Pck, Power); return Pck; end Make_Beacon_Packet; end Bluetooth_Low_Energy.Beacon;
48.869565
78
0.494069
9a1814c9ccbab21d137e3c847201618a7174ebbc
3,066
ads
Ada
tools/scitools/conf/understand/ada/ada12/a-siocst.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/a-siocst.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/a-siocst.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S E Q U E N T I A L _ I O . C _ S T R E A M S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides an interface between Ada.Sequential_IO and the -- C streams. This allows sharing of a stream between Ada and C or C++, -- as well as allowing the Ada program to operate directly on the stream. with Interfaces.C_Streams; generic package Ada.Sequential_IO.C_Streams is package ICS renames Interfaces.C_Streams; function C_Stream (F : File_Type) return ICS.FILEs; -- Obtain stream from existing open file procedure Open (File : in out File_Type; Mode : File_Mode; C_Stream : ICS.FILEs; Form : String := ""; Name : String := ""); -- Create new file from existing stream end Ada.Sequential_IO.C_Streams;
55.745455
78
0.387476
13102ad17e5f82f31c29a3a29ca9c9a99767592c
460
ads
Ada
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/volatile11_pkg.ads
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/volatile11_pkg.ads
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
null
null
null
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/volatile11_pkg.ads
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
package Volatile11_Pkg is procedure Bit_Test(Input : in Integer; Output1 : out Boolean; Output2 : out Boolean; Output3 : out Boolean; Output4 : out Boolean; Output5 : out Boolean; Output6 : out Boolean; Output7 : out Boolean; Output8 : out Boolean); type Ptr is access all Boolean; B : aliased Boolean := False; function F return Ptr; end Volatile11_Pkg;
28.75
68
0.586957
4b3210d45945ef6f8c6e58944e3a99814cb2f324
2,736
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-tadeca.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/s-tadeca.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-tadeca.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- SYSTEM.TASKING.ASYNC_DELAYS.ENQUEUE_CALENDAR -- -- -- -- S p e c -- -- -- -- Copyright (C) 1998-2009, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- Note: the compiler generates direct calls to this interface, via Rtsfind. -- Any changes to this interface may require corresponding compiler changes. -- See comments in package System.Tasking.Async_Delays with Ada.Calendar; function System.Tasking.Async_Delays.Enqueue_Calendar (T : Ada.Calendar.Time; D : Delay_Block_Access) return Boolean;
65.142857
78
0.371345
4b92e0b8d06c4a21addee670e46d3bee5bf347c8
1,531
adb
Ada
clients/ada-server/generated/src/-server.adb
cliffano/pokeapi-clients
92af296c68c3e94afac52642ae22057faaf071ee
[ "MIT" ]
39
2016-10-02T06:45:12.000Z
2021-09-08T20:39:53.000Z
clients/ada-server/generated/src/-server.adb
cliffano/pokeapi-clients
92af296c68c3e94afac52642ae22057faaf071ee
[ "MIT" ]
35
2016-11-02T05:06:34.000Z
2021-09-03T06:03:08.000Z
clients/ada-server/generated/src/-server.adb
cliffano/pokeapi-clients
92af296c68c3e94afac52642ae22057faaf071ee
[ "MIT" ]
23
2016-11-07T04:14:42.000Z
2021-02-15T09:49:13.000Z
with Ada.IO_Exceptions; with AWS.Config.Set; with Swagger.Servers.AWS; with Swagger.Servers.Applications; with Util.Strings; with Util.Log.Loggers; with Util.Properties; with Util.Properties.Basic; with .Servers; procedure .Server is procedure Configure (Config : in out AWS.Config.Object); use Util.Properties.Basic; CONFIG_PATH : constant String := ".properties"; Port : Natural := 8080; procedure Configure (Config : in out AWS.Config.Object) is begin AWS.Config.Set.Server_Port (Config, Port); AWS.Config.Set.Max_Connection (Config, 8); AWS.Config.Set.Accept_Queue_Size (Config, 512); end Configure; App : aliased Swagger.Servers.Applications.Application_Type; WS : Swagger.Servers.AWS.AWS_Container; Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create (".Server"); Props : Util.Properties.Manager; begin Props.Load_Properties (CONFIG_PATH); Util.Log.Loggers.Initialize (Props); Port := Integer_Property.Get (Props, "swagger.port", Port); App.Configure (Props); .Servers.Server_Impl.Register (App); WS.Configure (Configure'Access); WS.Register_Application ("", App'Unchecked_Access); App.Dump_Routes (Util.Log.INFO_LEVEL); Log.Info ("Connect you browser to: http://localhost:{0}/ui/index.html", Util.Strings.Image (Port)); WS.Start; delay 6000.0; exception when Ada.IO_Exceptions.Name_Error => Log.Error ("Cannot read application configuration file {0}", CONFIG_PATH); end .Server;
30.019608
85
0.708687
22e1c1602307f69b58e453186c9e559352bc6624
5,284
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C36205F.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT ATTRIBUTES GIVE THE CORRECT VALUES FOR -- UNCONSTRAINED FORMAL PARAMETERS. -- ATTRIBUTES OF STATIC NON-NULL AGGREGATES -- DAT 2/17/81 -- JBG 9/11/81 -- JWC 6/28/85 RENAMED TO -AB WITH REPORT; PROCEDURE C36205F IS USE REPORT; TYPE I_A IS ARRAY (INTEGER RANGE <> ) OF INTEGER; TYPE I_A_2 IS ARRAY (INTEGER RANGE <> , INTEGER RANGE <> ) OF INTEGER; A10 : I_A (1 .. 10); A20 : I_A (18 .. 20); I10 : INTEGER := IDENT_INT (10); A2_10 : I_A_2 (1 .. I10, 3+I10 .. I10*I10); -- 1..10, 13..20 A2_20 : I_A_2 (11 .. 3*I10, I10+11 .. I10+I10); -- 11..30, 21..20 SUBTYPE STR IS STRING; ALF : CONSTANT STR(IDENT_INT(1)..IDENT_INT(5)) := "ABCDE"; ARF : STR(5 .. 9) := ALF; PROCEDURE P1 (A : I_A; FIR, LAS: INTEGER; S : STRING) IS BEGIN IF A'FIRST /= FIR OR A'FIRST(1) /= FIR THEN FAILED ("'FIRST IS WRONG " & S); END IF; IF A'LAST /= LAS OR A'LAST(1) /= LAS THEN FAILED ("'LAST IS WRONG " & S); END IF; IF A'LENGTH /= LAS - FIR + 1 OR A'LENGTH /= A'LENGTH(1) THEN FAILED ("'LENGTH IS WRONG " & S); END IF; IF (LAS NOT IN A'RANGE AND LAS >= FIR) OR (FIR NOT IN A'RANGE AND LAS >= FIR) OR FIR - 1 IN A'RANGE OR LAS + 1 IN A'RANGE(1) THEN FAILED ("'RANGE IS WRONG " & S); END IF; END P1; PROCEDURE P2 (A : I_A_2; F1,L1,F2,L2 : INTEGER; S : STRING) IS BEGIN IF A'FIRST /= A'FIRST(1) OR A'FIRST /= F1 THEN FAILED ("'FIRST(1) IS WRONG " & S); END IF; IF A'LAST(1) /= L1 THEN FAILED ("'LAST(1) IS WRONG " & S); END IF; IF A'LENGTH(1) /= A'LENGTH OR A'LENGTH /= L1 - F1 + 1 THEN FAILED ("'LENGTH(1) IS WRONG " & S); END IF; IF F1 - 1 IN A'RANGE OR (F1 NOT IN A'RANGE AND F1 <= L1) OR (L1 NOT IN A'RANGE(1) AND F1 <= L1) OR L1 + 1 IN A'RANGE(1) THEN FAILED ("'RANGE(1) IS WRONG " & S); END IF; IF A'FIRST(2) /= F2 THEN FAILED ("'FIRST(2) IS WRONG " & S); END IF; IF A'LAST(2) /= L2 THEN FAILED ("'LAST(2) IS WRONG " & S); END IF; IF L2 - F2 /= A'LENGTH(2) - 1 THEN FAILED ("'LENGTH(2) IS WRONG " & S); END IF; IF F2 - 1 IN A'RANGE(2) OR (F2 NOT IN A'RANGE(2) AND A'LENGTH(2) > 0) OR (L2 NOT IN A'RANGE(2) AND A'LENGTH(2) /= 0) OR L2 + 1 IN A'RANGE(2) THEN FAILED ("'RANGE(2) IS WRONG " & S); END IF; END P2; PROCEDURE S1 (S:STR; F,L:INTEGER; MESS:STRING) IS BEGIN IF S'FIRST /= F THEN FAILED ("STRING 'FIRST IS WRONG " & MESS); END IF; IF S'LAST(1) /= L THEN FAILED ("STRING 'LAST IS WRONG " & MESS); END IF; IF S'LENGTH /= L - F + 1 OR S'LENGTH(1) /= S'LENGTH THEN FAILED ("STRING 'LENGTH IS WRONG " & MESS); END IF; IF (F <= L AND (F NOT IN S'RANGE OR L NOT IN S'RANGE OR F NOT IN S'RANGE(1) OR L NOT IN S'RANGE(1))) OR F - 1 IN S'RANGE OR L + 1 IN S'RANGE(1) THEN FAILED ("STRING 'RANGE IS WRONG " & MESS); END IF; END S1; BEGIN TEST ( "C36205F", "CHECKING ATTRIBUTE VALUES POSSESSED BY FORMAL "& "PARAMETERS WHOSE ACTUALS ARE UNCONSTRAINED " & "ARRAYS - STATIC NON-NULL AGGREGATES"); P1 ((3 .. 5 => 2), 3, 5, "P1 16"); P1 ((5 .. 5 => 5), 5, 5, "P1 17"); RESULT; END C36205F;
31.831325
79
0.498675