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
194e3d01f7f7f94cd93a04b7029fb9f907c6db49
1,766
ads
Ada
resources/scripts/api/recondev.ads
MoisesTapia/Amass
30f786aae86e44751f3ebbe2cebb9b25638c1934
[ "Apache-2.0" ]
2
2022-02-12T20:24:32.000Z
2022-02-27T16:14:56.000Z
resources/scripts/api/recondev.ads
Dheerajmadhukar/Amass
30f786aae86e44751f3ebbe2cebb9b25638c1934
[ "Apache-2.0" ]
1
2021-02-15T09:01:23.000Z
2021-02-15T09:01:23.000Z
resources/scripts/api/recondev.ads
Dheerajmadhukar/Amass
30f786aae86e44751f3ebbe2cebb9b25638c1934
[ "Apache-2.0" ]
1
2021-03-31T06:27:53.000Z
2021-03-31T06:27:53.000Z
-- Copyright 2017-2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "ReconDev" type = "api" function start() setratelimit(5) end function check() local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c ~= nil and c.key ~= nil and c.key ~= "") then return true end return false end function vertical(ctx, domain) local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c == nil or c.key == nil or c.key == "") then return end local resp, err = request(ctx, { url=buildurl(domain, c.key), headers={['Content-Type']="application/json"}, }) if (err ~= nil and err ~= "") then return end local data = json.decode(resp) if (data == nil or #data == 0) then return end for i, set in pairs(data) do local domains = set["rawDomains"] if domains ~= nil and #domains > 0 then for j, name in pairs(domains) do sendnames(ctx, name) end end local addrs = set["rawIp"] if addr ~= nil then newaddr(ctx, domain, addr) end end end function buildurl(domain, key) return "https://recon.dev/api/search?key=" .. key .. "&domain=" .. domain end function sendnames(ctx, content) local names = find(content, subdomainre) if names == nil then return end local found = {} for i, v in pairs(names) do if found[v] == nil then newname(ctx, v) found[v] = true end end end
21.277108
97
0.561155
1940fc796182db9d0705730abdec181fb13bb3ab
4,709
ads
Ada
source/amf/uml/amf-uml-receptions.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-uml-receptions.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-uml-receptions.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 © 2011-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. ------------------------------------------------------------------------------ -- A reception is a declaration stating that a classifier is prepared to -- react to the receipt of a signal. A reception designates a signal and -- specifies the expected behavioral response. The details of handling a -- signal are specified by the behavior associated with the reception or the -- classifier itself. ------------------------------------------------------------------------------ with AMF.UML.Behavioral_Features; limited with AMF.UML.Signals; package AMF.UML.Receptions is pragma Preelaborate; type UML_Reception is limited interface and AMF.UML.Behavioral_Features.UML_Behavioral_Feature; type UML_Reception_Access is access all UML_Reception'Class; for UML_Reception_Access'Storage_Size use 0; not overriding function Get_Signal (Self : not null access constant UML_Reception) return AMF.UML.Signals.UML_Signal_Access is abstract; -- Getter of Reception::signal. -- -- The signal that this reception handles. not overriding procedure Set_Signal (Self : not null access UML_Reception; To : AMF.UML.Signals.UML_Signal_Access) is abstract; -- Setter of Reception::signal. -- -- The signal that this reception handles. end AMF.UML.Receptions;
58.135802
78
0.467615
1a7a695d6e37617e12d5506366d3cc5b523ea31d
633
ads
Ada
src/tests/histogramtests.ads
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
src/tests/histogramtests.ads
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
src/tests/histogramtests.ads
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; package HistogramTests is type TestCase is new AUnit.Test_Cases.Test_Case with null record; procedure Register_Tests(T: in out TestCase); function Name(T: TestCase) return Message_String; procedure testBasicHistograms(T : in out Test_Cases.Test_Case'Class); procedure testRescale(T : in out Test_Cases.Test_Case'Class); procedure testMultiplication(T: in out Test_Cases.Test_Case'Class); procedure testProjections(T : in out Test_Cases.Test_Case'Class); procedure testDistance(T : in out Test_Cases.Test_Case'Class); end HistogramTests;
37.235294
72
0.78515
a09db60528f7d24e2f008123ef725b64cc7ecbcb
2,767
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b10a.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/c8/c87b10a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b10a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C87B10A.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 OVERLOADING RESOLUTION USES THE RULE THAT: -- -- IN A RANGE CONSTRAINT OF A FIXED POINT OR FLOATING POINT TYPE -- DEFINITION, BOTH BOUNDS MUST BE OF SOME REAL TYPE, ALTHOUGH -- THE TWO BOUNDS DO NOT HAVE TO BE OF THE SAME TYPE. -- TRH 7/28/82 -- DSJ 6/10/83 -- JBG 9/19/84 WITH REPORT; USE REPORT; PROCEDURE C87B10A IS SUBTYPE DUR IS DURATION; FUNCTION "+" (X : FLOAT) RETURN INTEGER IS BEGIN FAILED ("RANGE CONSTRAINT FOR REAL TYPE DEFINITIONS " & "MUST HAVE REAL BOUNDS"); RETURN -10; END "+"; FUNCTION "+" (X, Y : FLOAT) RETURN INTEGER IS BEGIN FAILED ("RANGE CONSTRAINT FOR REAL TYPE DEFINITIONS " & "MUST HAVE REAL BOUNDS"); RETURN -10; END "+"; BEGIN TEST ("C87B10A","RANGE BOUNDS IN REAL TYPE DEFINITIONS MUST BE" & " OF SOME (NOT NECESSARILY THE SAME) REAL TYPE"); DECLARE TYPE R1 IS DIGITS 2 RANGE 0.0 .. 1.0 + FLOAT'(1.0); TYPE R2 IS DELTA 0.1 RANGE FLOAT'(1.0) + 1.0 .. DUR'(2.0); TYPE R3 IS DIGITS 2 RANGE +1.0 .. "+" (FLOAT'(2.0), 2.0); TYPE R4 IS DELTA 0.1 RANGE 0.0 + FLOAT'(0.0) .. +1.0; BEGIN IF 2.0 NOT IN R1 OR -1.0 IN R2 OR -1.0 IN R3 OR -0.9 IN R4 THEN FAILED ("RANGE BOUNDS IN REAL TYPE DEFINITIONS DO NOT " & "HAVE TO BE OF THE SAME REAL TYPE"); END IF; END; RESULT; END C87B10A;
36.407895
79
0.609686
a0c03638e6acb5e1d61c1d45ffbb64f9426c8c90
20,551
adb
Ada
src/asf-views-nodes-facelets.adb
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
12
2015-01-18T23:02:20.000Z
2022-03-25T15:30:30.000Z
src/asf-views-nodes-facelets.adb
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
3
2021-01-06T09:44:02.000Z
2022-02-04T20:20:53.000Z
src/asf-views-nodes-facelets.adb
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
4
2016-04-12T05:29:00.000Z
2022-01-24T23:53:59.000Z
----------------------------------------------------------------------- -- nodes-facelets -- Facelets composition nodes -- Copyright (C) 2009, 2010, 2011, 2015, 2018 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. ----------------------------------------------------------------------- -- The <b>ASF.Views.Nodes.Facelets</b> package defines some pre-defined -- tags for composing a view. -- -- xmlns:ui="http://java.sun.com/jsf/facelets" -- -- The following Facelets core elements are defined: -- <ui:include src="..."/> -- <ui:decorate view="..."/> -- <ui:define name="..."/> -- <ui:insert name="..."/> -- <ui:param name="..." value="..."/> -- <ui:debug/> -- <ui:comment condition="...">...</ui:comment> -- <ui:composition .../> -- with Ada.Exceptions; with Util.Log.Loggers; with EL.Contexts; with EL.Variables.Default; package body ASF.Views.Nodes.Facelets is -- The logger Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("ASF.Views.Nodes.Facelets"); COMPOSITION_TAG : aliased constant String := "composition"; DECORATE_TAG : aliased constant String := "decorate"; DEBUG_TAG : aliased constant String := "debug"; DEFINE_TAG : aliased constant String := "define"; INCLUDE_TAG : aliased constant String := "include"; INSERT_TAG : aliased constant String := "insert"; PARAM_TAG : aliased constant String := "param"; COMMENT_TAG : aliased constant String := "comment"; URI : aliased constant String := "http://java.sun.com/jsf/facelets"; -- ------------------------------ -- Register the facelets component factory. -- ------------------------------ procedure Register (Factory : in out ASF.Factory.Component_Factory) is begin ASF.Factory.Register (Factory, URI => URI'Access, Name => COMMENT_TAG'Access, Tag => Create_Comment_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => COMPOSITION_TAG'Access, Tag => Create_Composition_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => DEBUG_TAG'Access, Tag => Create_Debug_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => DECORATE_TAG'Access, Tag => Create_Decorate_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => DEFINE_TAG'Access, Tag => Create_Define_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => INCLUDE_TAG'Access, Tag => Create_Include_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => INSERT_TAG'Access, Tag => Create_Insert_Tag_Node'Access, Create => null); ASF.Factory.Register (Factory, URI => URI'Access, Name => PARAM_TAG'Access, Tag => Create_Param_Tag_Node'Access, Create => null); end Register; -- ------------------------------ -- Include Tag -- ------------------------------ -- The <ui:include src="..."/> -- ------------------------------ -- Create the Include Tag -- ------------------------------ function Create_Include_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Include_Tag_Node_Access := new Include_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Source := Find_Attribute (Attributes, "src"); if Node.Source = null then Node.Error ("Missing 'src' attribute"); end if; return Node.all'Access; end Create_Include_Tag_Node; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ overriding procedure Build_Components (Node : access Include_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is use EL.Objects; use EL.Variables; Ctx : constant EL.Contexts.ELContext_Access := Context.Get_ELContext; Old : constant access Variable_Mapper'Class := Ctx.Get_Variable_Mapper; begin if Node.Source = null then return; end if; declare Source : constant String := To_String (Get_Value (Node.Source.all, Context)); Mapper : aliased Default.Default_Variable_Mapper; begin -- Chain the variable mapper with the previous one. if Old /= null then Mapper.Set_Next_Variable_Mapper (Old.all'Unchecked_Access); end if; -- Set a variable mapper for the include context. -- The <ui:param> variables will be declared in that mapper. Ctx.all.Set_Variable_Mapper (Mapper'Unchecked_Access); -- Build the children to take into account the <ui:param> nodes. Node.Build_Children (Parent, Context); Context.Include_Facelet (Source => Source, Parent => Parent); exception when E : others => Node.Error ("Exception {0} while including {1}", Ada.Exceptions.Exception_Message (E), Source); Ctx.all.Set_Variable_Mapper (Old); raise; end; Ctx.all.Set_Variable_Mapper (Old); end Build_Components; -- ------------------------------ -- Composition Tag -- ------------------------------ -- ------------------------------ -- Create the Composition Tag -- ------------------------------ function Create_Composition_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Composition_Tag_Node_Access := new Composition_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Template := Find_Attribute (Attributes, "template"); return Node.all'Access; end Create_Composition_Tag_Node; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ overriding procedure Build_Components (Node : access Composition_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is use EL.Objects; use EL.Variables; Ctx : constant EL.Contexts.ELContext_Access := Context.Get_ELContext; Old : constant access Variable_Mapper'Class := Ctx.Get_Variable_Mapper; Mapper : aliased Default.Default_Variable_Mapper; begin -- Chain the variable mapper with the previous one. if Old /= null then Mapper.Set_Next_Variable_Mapper (Old.all'Unchecked_Access); end if; Context.Push_Defines (Node); -- Set a variable mapper for the include context. -- The <ui:param> variables will be declared in that mapper. Ctx.all.Set_Variable_Mapper (Mapper'Unchecked_Access); begin Node.Build_Children (Parent, Context); if Node.Template /= null then declare Source : constant String := To_String (Get_Value (Node.Template.all, Context)); begin Log.Info ("Include facelet {0}", Source); Context.Include_Facelet (Source => Source, Parent => Parent); end; end if; exception when E : others => Node.Error ("Exception {0} while expanding composition", Ada.Exceptions.Exception_Message (E)); Ctx.all.Set_Variable_Mapper (Old); Context.Pop_Defines; raise; end; Ctx.all.Set_Variable_Mapper (Old); Context.Pop_Defines; end Build_Components; -- ------------------------------ -- Freeze the tag node tree and perform any initialization steps -- necessary to build the components efficiently. After this call -- the tag node tree should not be modified and it represents a read-only -- tree. -- ------------------------------ overriding procedure Freeze (Node : access Composition_Tag_Node) is Child : Tag_Node_Access := Node.First_Child; Define : Define_Tag_Node_Access := null; begin while Child /= null loop if Child.all in Define_Tag_Node'Class then Define := Define_Tag_Node (Child.all)'Access; Node.Defines.Insert (To_String (Define.Define_Name), Define); end if; Child := Child.Next; end loop; end Freeze; -- ------------------------------ -- Include in the component tree the definition identified by the name. -- Upon completion, return in <b>Found</b> whether the definition was found -- within this composition context. -- ------------------------------ procedure Include_Definition (Node : access Composition_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class; Name : in Unbounded_String; Found : out Boolean) is Pos : constant Define_Maps.Cursor := Node.Defines.Find (To_String (Name)); Old : Unbounded_String; begin if not Define_Maps.Has_Element (Pos) then Found := False; else Found := True; declare File : constant String := Node.Get_File_Name; begin Context.Set_Relative_Path (Path => File, Previous => Old); Define_Maps.Element (Pos).Build_Children (Parent, Context); exception when E : others => Node.Error ("Error when inserting definition: {0}", Ada.Exceptions.Exception_Message (E)); end; Context.Set_Relative_Path (Path => Old); end if; end Include_Definition; -- ------------------------------ -- Create the Debug Tag -- ------------------------------ function Create_Debug_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Debug_Tag_Node_Access := new Debug_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); return Node.all'Access; end Create_Debug_Tag_Node; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ overriding procedure Build_Components (Node : access Debug_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is begin null; end Build_Components; -- ------------------------------ -- Decorate Tag -- ------------------------------ -- Create the Decorate Tag function Create_Decorate_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Decorate_Tag_Node_Access := new Decorate_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Template := Find_Attribute (Attributes, "template"); if Node.Template = null then Node.Error ("Missing attribute 'template' on the decorator"); end if; return Node.all'Access; end Create_Decorate_Tag_Node; -- ------------------------------ -- Create the Define Tag -- ------------------------------ function Create_Define_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : Define_Tag_Node_Access; Attr : constant Tag_Attribute_Access := Find_Attribute (Attributes, "name"); begin if Attr = null then Node := new Define_Tag_Node; -- (Len => 0); Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Error ("Missing attribute 'name' on node"); else Node := new Define_Tag_Node; -- (Len => Attr.Value_Length); Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Define_Name := Attr.Value; end if; return Node.all'Access; end Create_Define_Tag_Node; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ overriding procedure Build_Components (Node : access Define_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is begin null; end Build_Components; -- ------------------------------ -- Create the Insert Tag -- ------------------------------ function Create_Insert_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Insert_Tag_Node_Access := new Insert_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Insert_Name := Find_Attribute (Attributes, "name"); return Node.all'Access; end Create_Insert_Tag_Node; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ overriding procedure Build_Components (Node : access Insert_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is Name : EL.Objects.Object; Found : Boolean; begin if Node.Insert_Name = null then Found := False; else Name := Get_Value (Node.Insert_Name.all, Context); Context.Include_Definition (EL.Objects.To_Unbounded_String (Name), Parent, Found); end if; -- If the definition was not found, insert the content of the <ui:insert> node. if not Found then Node.Build_Children (Parent, Context); end if; end Build_Components; -- ------------------------------ -- Param Tag -- ------------------------------ -- ------------------------------ -- Create the Param Tag -- ------------------------------ function Create_Param_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Param_Tag_Node_Access := new Param_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Value := Find_Attribute (Attributes, "value"); if Node.Value = null then Node.Error ("Missing attribute 'value'"); end if; Node.Var := Find_Attribute (Attributes, "name"); if Node.Var = null then Node.Error ("Missing attribute 'name'"); end if; return Node.all'Access; end Create_Param_Tag_Node; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ overriding procedure Build_Components (Node : access Param_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is pragma Unreferenced (Parent); begin if Node.Value /= null and Node.Var /= null then declare Value : constant EL.Expressions.Expression := Get_Expression (Node.Value.all); begin Context.Set_Variable (Node.Var.Value, Value); end; end if; end Build_Components; -- ------------------------------ -- Comment Tag -- ------------------------------ -- Create the Comment Tag function Create_Comment_Tag_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Comment_Tag_Node_Access := new Comment_Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); Node.Condition := Find_Attribute (Attributes, "condition"); return Node.all'Access; end Create_Comment_Tag_Node; -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. overriding procedure Build_Components (Node : access Comment_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is begin null; end Build_Components; end ASF.Views.Nodes.Facelets;
42.199179
98
0.527712
38e30f08802fe5d3dbfa5e0cc0fdf4606cf870e4
180,139
adb
Ada
fpga/wave/.autopilot/db/on_structure_corner.bind.adb
dorin-ionita/RustHPC
903e5dd8f09213a5cc33f5e651d687e234944e84
[ "MIT" ]
2
2021-06-22T19:23:55.000Z
2021-07-03T16:47:01.000Z
fpga/wave/.autopilot/db/on_structure_corner.bind.adb
dorin-ionita/RustHPC
903e5dd8f09213a5cc33f5e651d687e234944e84
[ "MIT" ]
60
2019-11-05T14:12:34.000Z
2021-06-21T22:31:17.000Z
fpga/wave/.autopilot/db/on_structure_corner.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>on_structure_corner</name> <ret_bitwidth>4</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</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>x</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>x</originalName> <rtlName></rtlName> <coreName></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>y</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>y</originalName> <rtlName></rtlName> <coreName></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>scenario_nr_struct</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> <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>scenario_structure_c</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>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>80</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>60</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name>y_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>78</item> <item>79</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>6</id> <name>x_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>80</item> <item>81</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>7</id> <name>scenario_nr_struct_l</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/dorin</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>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>82</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>8</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>83</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>10</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>31</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>85</item> <item>86</item> <item>87</item> <item>88</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>11</id> <name>i_cast</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>89</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>12</id> <name>tmp</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>90</item> <item>91</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>13</id> <name>i_7</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>92</item> <item>94</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>14</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>95</item> <item>96</item> <item>97</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>16</id> <name>tmp_s</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>34</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>99</item> <item>100</item> <item>102</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>17</id> <name>tmp_268</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>103</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>18</id> <name>scenario_structure_c</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>104</item> <item>106</item> <item>107</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>19</id> <name>tmp_269</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>108</item> <item>110</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>20</id> <name>tmp_270</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>112</item> <item>114</item> <item>115</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>21</id> <name>scenario_structure_c_19</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>116</item> <item>117</item> <item>118</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>22</id> <name>tmp_271</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>119</item> <item>121</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>23</id> <name>tmp_272</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>122</item> <item>123</item> <item>124</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>24</id> <name>scenario_structure_c_20</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>125</item> <item>126</item> <item>127</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_273</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>128</item> <item>130</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_274</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>131</item> <item>132</item> <item>133</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>27</id> <name>scenario_structure_c_21</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>134</item> <item>135</item> <item>136</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>28</id> <name>tmp_275</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>137</item> <item>139</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>29</id> <name>tmp_276</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>140</item> <item>141</item> <item>142</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>30</id> <name>scenario_structure_c_22</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</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>143</item> <item>144</item> <item>145</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>31</id> <name>tmp_277</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>146</item> <item>148</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>32</id> <name>tmp_278</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>149</item> <item>150</item> <item>151</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>33</id> <name>scenario_structure_c_23</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</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>152</item> <item>153</item> <item>154</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>34</id> <name>tmp_279</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>155</item> <item>157</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>35</id> <name>tmp_280</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>158</item> <item>159</item> <item>160</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>36</id> <name>scenario_structure_c_24</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>161</item> <item>162</item> <item>163</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_281</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>164</item> <item>166</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_282</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>167</item> <item>168</item> <item>169</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>39</id> <name>scenario_structure_c_25</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>170</item> <item>171</item> <item>172</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>40</id> <name>scenario_structure_c_26</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>173</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>41</id> <name>tmp_144</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>174</item> <item>175</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>42</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>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="_41"> <Value> <Obj> <type>0</type> <id>44</id> <name>scenario_structure_c_27</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>179</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_145</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>180</item> <item>181</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>46</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>57</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>182</item> <item>183</item> <item>184</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>48</id> <name>scenario_structure_c_28</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>185</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_146</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>186</item> <item>187</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>50</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>188</item> <item>189</item> <item>190</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>52</id> <name>scenario_structure_c_29</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>191</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>53</id> <name>tmp_147</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>192</item> <item>193</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>54</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>59</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>194</item> <item>195</item> <item>196</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>56</id> <name>scenario_structure_c_30</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</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>197</item> </oprand_edges> <opcode>load</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_148</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</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>198</item> <item>199</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>58</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</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>200</item> <item>201</item> <item>202</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>60</id> <name>scenario_structure_c_31</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</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>203</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_149</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</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>204</item> <item>205</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>62</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>61</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>206</item> <item>207</item> <item>208</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>64</id> <name>scenario_structure_c_32</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>209</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>65</id> <name>tmp_150</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>210</item> <item>211</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>66</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>212</item> <item>213</item> <item>214</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>68</id> <name>scenario_structure_c_33</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>215</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp_151</name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>216</item> <item>217</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>70</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>63</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>63</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>218</item> <item>219</item> <item>220</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>72</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>55</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>221</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>74</id> <name>p_0</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> <oprand_edges> <count>10</count> <item_version>0</item_version> <item>223</item> <item>224</item> <item>226</item> <item>227</item> <item>229</item> <item>230</item> <item>232</item> <item>233</item> <item>235</item> <item>236</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>75</id> <name></name> <fileName>wave2/.apc/main.c</fileName> <fileDirectory>/home/dorin</fileDirectory> <lineNumber>67</lineNumber> <contextFuncName>on_structure_corner</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dorin</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>wave2/.apc/main.c</first> <second>on_structure_corner</second> </first> <second>67</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>237</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>17</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_65"> <Value> <Obj> <type>2</type> <id>84</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>31</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_66"> <Value> <Obj> <type>2</type> <id>93</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>31</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_67"> <Value> <Obj> <type>2</type> <id>101</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="_68"> <Value> <Obj> <type>2</type> <id>105</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="_69"> <Value> <Obj> <type>2</type> <id>109</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>34</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_70"> <Value> <Obj> <type>2</type> <id>113</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>30</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_71"> <Value> <Obj> <type>2</type> <id>120</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>34</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_72"> <Value> <Obj> <type>2</type> <id>129</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>34</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_73"> <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>34</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_74"> <Value> <Obj> <type>2</type> <id>147</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>34</bitwidth> </Value> <const_type>0</const_type> <content>5</content> </item> <item class_id_reference="16" object_id="_75"> <Value> <Obj> <type>2</type> <id>156</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>34</bitwidth> </Value> <const_type>0</const_type> <content>6</content> </item> <item class_id_reference="16" object_id="_76"> <Value> <Obj> <type>2</type> <id>165</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>34</bitwidth> </Value> <const_type>0</const_type> <content>7</content> </item> <item class_id_reference="16" object_id="_77"> <Value> <Obj> <type>2</type> <id>222</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="_78"> <Value> <Obj> <type>2</type> <id>225</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>5</content> </item> <item class_id_reference="16" object_id="_79"> <Value> <Obj> <type>2</type> <id>228</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>6</content> </item> <item class_id_reference="16" object_id="_80"> <Value> <Obj> <type>2</type> <id>231</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>7</content> </item> <item class_id_reference="16" object_id="_81"> <Value> <Obj> <type>2</type> <id>234</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>8</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_82"> <Obj> <type>3</type> <id>9</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>5</item> <item>6</item> <item>7</item> <item>8</item> </node_objs> </item> <item class_id_reference="18" object_id="_83"> <Obj> <type>3</type> <id>15</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>5</count> <item_version>0</item_version> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> </node_objs> </item> <item class_id_reference="18" object_id="_84"> <Obj> <type>3</type> <id>43</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>27</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>23</item> <item>24</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> </node_objs> </item> <item class_id_reference="18" object_id="_85"> <Obj> <type>3</type> <id>47</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>3</count> <item_version>0</item_version> <item>44</item> <item>45</item> <item>46</item> </node_objs> </item> <item class_id_reference="18" object_id="_86"> <Obj> <type>3</type> <id>51</id> <name>._crit_edge1</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>3</count> <item_version>0</item_version> <item>48</item> <item>49</item> <item>50</item> </node_objs> </item> <item class_id_reference="18" object_id="_87"> <Obj> <type>3</type> <id>55</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>3</count> <item_version>0</item_version> <item>52</item> <item>53</item> <item>54</item> </node_objs> </item> <item class_id_reference="18" object_id="_88"> <Obj> <type>3</type> <id>59</id> <name>._crit_edge4</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>3</count> <item_version>0</item_version> <item>56</item> <item>57</item> <item>58</item> </node_objs> </item> <item class_id_reference="18" object_id="_89"> <Obj> <type>3</type> <id>63</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>3</count> <item_version>0</item_version> <item>60</item> <item>61</item> <item>62</item> </node_objs> </item> <item class_id_reference="18" object_id="_90"> <Obj> <type>3</type> <id>67</id> <name>._crit_edge7</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>3</count> <item_version>0</item_version> <item>64</item> <item>65</item> <item>66</item> </node_objs> </item> <item class_id_reference="18" object_id="_91"> <Obj> <type>3</type> <id>71</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>3</count> <item_version>0</item_version> <item>68</item> <item>69</item> <item>70</item> </node_objs> </item> <item class_id_reference="18" object_id="_92"> <Obj> <type>3</type> <id>73</id> <name>._crit_edge10</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>72</item> </node_objs> </item> <item class_id_reference="18" object_id="_93"> <Obj> <type>3</type> <id>76</id> <name>._crit_edge</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>74</item> <item>75</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>151</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_94"> <id>79</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>81</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>82</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>7</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>83</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>85</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>86</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>87</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>88</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>89</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>90</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>91</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>92</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>94</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>95</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>96</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>97</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>100</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>102</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>103</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>104</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>106</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>107</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>108</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>110</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>114</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>115</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>116</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>117</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>118</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>119</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>121</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>123</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>124</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>125</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>126</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>127</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>128</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>130</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>132</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>133</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>134</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>135</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>136</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>137</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>139</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>141</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>142</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>143</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>144</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>145</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>146</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>148</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>150</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>151</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>152</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>153</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>154</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>155</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>157</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>159</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>160</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>161</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>162</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>163</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>164</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>166</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>168</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>169</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_162"> <id>170</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_163"> <id>171</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_164"> <id>172</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_165"> <id>173</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_166"> <id>174</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_167"> <id>175</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_168"> <id>176</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_169"> <id>177</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_170"> <id>178</id> <edge_type>2</edge_type> <source_obj>47</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_171"> <id>179</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_172"> <id>180</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_173"> <id>181</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_174"> <id>182</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_175"> <id>183</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_176"> <id>184</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_177"> <id>185</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_178"> <id>186</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_179"> <id>187</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_180"> <id>188</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_181"> <id>189</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_182"> <id>190</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_183"> <id>191</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_184"> <id>192</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_185"> <id>193</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_186"> <id>194</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_187"> <id>195</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_188"> <id>196</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_189"> <id>197</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_190"> <id>198</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_191"> <id>199</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_192"> <id>200</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_193"> <id>201</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_194"> <id>202</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_195"> <id>203</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_196"> <id>204</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_197"> <id>205</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_198"> <id>206</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_199"> <id>207</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_200"> <id>208</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_201"> <id>209</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_202"> <id>210</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_203"> <id>211</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_204"> <id>212</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_205"> <id>213</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_206"> <id>214</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_207"> <id>215</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>68</sink_obj> </item> <item class_id_reference="20" object_id="_208"> <id>216</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_209"> <id>217</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_210"> <id>218</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_211"> <id>219</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_212"> <id>220</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_213"> <id>221</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>72</sink_obj> </item> <item class_id_reference="20" object_id="_214"> <id>223</id> <edge_type>1</edge_type> <source_obj>222</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_215"> <id>224</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_216"> <id>226</id> <edge_type>1</edge_type> <source_obj>225</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_217"> <id>227</id> <edge_type>2</edge_type> <source_obj>47</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_218"> <id>229</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_219"> <id>230</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_220"> <id>232</id> <edge_type>1</edge_type> <source_obj>231</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_221"> <id>233</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_222"> <id>235</id> <edge_type>1</edge_type> <source_obj>234</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_223"> <id>236</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_224"> <id>237</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>75</sink_obj> </item> <item class_id_reference="20" object_id="_225"> <id>238</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_226"> <id>239</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_227"> <id>240</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_228"> <id>241</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_229"> <id>242</id> <edge_type>2</edge_type> <source_obj>43</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_230"> <id>243</id> <edge_type>2</edge_type> <source_obj>47</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_231"> <id>244</id> <edge_type>2</edge_type> <source_obj>47</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_232"> <id>245</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_233"> <id>246</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_234"> <id>247</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_235"> <id>248</id> <edge_type>2</edge_type> <source_obj>55</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_236"> <id>249</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_237"> <id>250</id> <edge_type>2</edge_type> <source_obj>59</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_238"> <id>251</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_239"> <id>252</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_240"> <id>253</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>71</sink_obj> </item> <item class_id_reference="20" object_id="_241"> <id>254</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>73</sink_obj> </item> <item class_id_reference="20" object_id="_242"> <id>255</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_243"> <id>256</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>73</sink_obj> </item> <item class_id_reference="20" object_id="_244"> <id>257</id> <edge_type>2</edge_type> <source_obj>73</source_obj> <sink_obj>15</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="_245"> <mId>1</mId> <mTag>on_structure_corner</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>-1</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_246"> <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>9</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="_247"> <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>10</count> <item_version>0</item_version> <item>15</item> <item>43</item> <item>47</item> <item>51</item> <item>55</item> <item>59</item> <item>63</item> <item>67</item> <item>71</item> <item>73</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="_248"> <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>76</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="_249"> <states class_id="25" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_250"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_251"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_252"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_253"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_254"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_255"> <id>2</id> <operations> <count>9</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_256"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_257"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_258"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_259"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_260"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_261"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_262"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_263"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_264"> <id>40</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_265"> <id>3</id> <operations> <count>25</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_266"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_267"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_268"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_269"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_270"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_271"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_272"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_273"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_274"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_275"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_276"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_277"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_278"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_279"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_280"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_281"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_282"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_283"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_284"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_285"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_286"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_287"> <id>40</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_288"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_289"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_290"> <id>44</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_291"> <id>4</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_292"> <id>44</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_293"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_294"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_295"> <id>48</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_296"> <id>5</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_297"> <id>48</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_298"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_299"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_300"> <id>52</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_301"> <id>6</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_302"> <id>52</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_303"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_304"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_305"> <id>56</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_306"> <id>7</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_307"> <id>56</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_308"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_309"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_310"> <id>60</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_311"> <id>8</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_312"> <id>60</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_313"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_314"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_315"> <id>64</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_316"> <id>9</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_317"> <id>64</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_318"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_319"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_320"> <id>68</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_321"> <id>10</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_322"> <id>68</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_323"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_324"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_325"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_326"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_327"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_328"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>45</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="_329"> <inState>2</inState> <outState>3</outState> <condition> <id>46</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>12</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_330"> <inState>2</inState> <outState>10</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>12</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_331"> <inState>3</inState> <outState>4</outState> <condition> <id>49</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="_332"> <inState>4</inState> <outState>5</outState> <condition> <id>52</id> <sop> <count>2</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_333"> <inState>4</inState> <outState>10</outState> <condition> <id>51</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>2</count> <item_version>0</item_version> <item> <first> <first>41</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_334"> <inState>5</inState> <outState>6</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="_335"> <inState>6</inState> <outState>7</outState> <condition> <id>57</id> <sop> <count>2</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_336"> <inState>6</inState> <outState>10</outState> <condition> <id>56</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>2</count> <item_version>0</item_version> <item> <first> <first>49</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_337"> <inState>7</inState> <outState>8</outState> <condition> <id>59</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="_338"> <inState>8</inState> <outState>9</outState> <condition> <id>62</id> <sop> <count>2</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_339"> <inState>8</inState> <outState>10</outState> <condition> <id>61</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>2</count> <item_version>0</item_version> <item> <first> <first>57</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_340"> <inState>9</inState> <outState>10</outState> <condition> <id>64</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="_341"> <inState>10</inState> <outState>2</outState> <condition> <id>67</id> <sop> <count>16</count> <item_version>0</item_version> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>41</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>49</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>57</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>65</first> <second>0</second> </first> <second>1</second> </item> </item> <item> <count>5</count> <item_version>0</item_version> <item> <first> <first>12</first> <second>0</second> </first> <second>0</second> </item> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>53</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>61</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>69</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>60</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>5</first> <second class_id="39" tracking_level="0" version="0"> <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>8</first> <second> <first>0</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>14</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>2</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>2</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>24</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>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</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>31</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>2</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>1</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>44</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>45</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>49</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>53</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>5</first> <second>1</second> </second> </item> <item> <first>57</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>6</first> <second>1</second> </second> </item> <item> <first>61</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>7</first> <second>1</second> </second> </item> <item> <first>65</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>8</first> <second>1</second> </second> </item> <item> <first>69</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>9</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>9</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>43</first> <second> <first>1</first> <second>2</second> </second> </item> <item> <first>47</first> <second> <first>2</first> <second>3</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>4</second> </second> </item> <item> <first>55</first> <second> <first>4</first> <second>5</second> </second> </item> <item> <first>59</first> <second> <first>5</first> <second>6</second> </second> </item> <item> <first>63</first> <second> <first>6</first> <second>7</second> </second> </item> <item> <first>67</first> <second> <first>7</first> <second>8</second> </second> </item> <item> <first>71</first> <second> <first>8</first> <second>9</second> </second> </item> <item> <first>73</first> <second> <first>9</first> <second>9</second> </second> </item> <item> <first>76</first> <second> <first>9</first> <second>9</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>35</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>48</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>54</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>60</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>67</first> <second> <count>16</count> <item_version>0</item_version> <item>40</item> <item>40</item> <item>44</item> <item>44</item> <item>48</item> <item>48</item> <item>52</item> <item>52</item> <item>56</item> <item>56</item> <item>60</item> <item>60</item> <item>64</item> <item>64</item> <item>68</item> <item>68</item> </second> </item> <item> <first>72</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>79</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>100</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>107</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>114</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>126</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>140</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>157</first> <second> <count>4</count> <item_version>0</item_version> <item>41</item> <item>49</item> <item>57</item> <item>65</item> </second> </item> <item> <first>162</first> <second> <count>4</count> <item_version>0</item_version> <item>45</item> <item>53</item> <item>61</item> <item>69</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>175</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>180</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>186</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>194</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>199</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>204</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>213</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>218</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>227</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>232</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>241</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>246</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>255</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>260</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>269</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>274</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>283</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>288</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>31</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>grp_fu_157</first> <second> <count>4</count> <item_version>0</item_version> <item>41</item> <item>49</item> <item>57</item> <item>65</item> </second> </item> <item> <first>grp_fu_162</first> <second> <count>4</count> <item_version>0</item_version> <item>45</item> <item>53</item> <item>61</item> <item>69</item> </second> </item> <item> <first>i_7_fu_180</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>i_cast_fu_171</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>i_phi_fu_126</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>p_0_phi_fu_140</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>scenario_structure_c_19_gep_fu_72</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>scenario_structure_c_20_gep_fu_79</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>scenario_structure_c_21_gep_fu_86</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>scenario_structure_c_22_gep_fu_93</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>scenario_structure_c_23_gep_fu_100</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>scenario_structure_c_24_gep_fu_107</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>scenario_structure_c_25_gep_fu_114</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>scenario_structure_c_gep_fu_60</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_268_fu_194</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>tmp_269_fu_199</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>tmp_270_fu_204</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>tmp_271_fu_213</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_272_fu_218</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>tmp_273_fu_227</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>tmp_274_fu_232</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_275_fu_241</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>tmp_276_fu_246</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>tmp_277_fu_255</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>tmp_278_fu_260</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>tmp_279_fu_269</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_280_fu_274</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>tmp_281_fu_283</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_282_fu_288</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_fu_175</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>tmp_s_fu_186</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </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>3</count> <item_version>0</item_version> <item> <first>scenario_nr_struct_l_load_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>x_read_read_fu_54</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>y_read_read_fu_48</first> <second> <count>1</count> <item_version>0</item_version> <item>5</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>1</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>scenario_structure_c</first> <second>0</second> </first> <second> <count>16</count> <item_version>0</item_version> <item>40</item> <item>40</item> <item>44</item> <item>44</item> <item>48</item> <item>48</item> <item>52</item> <item>52</item> <item>56</item> <item>56</item> <item>60</item> <item>60</item> <item>64</item> <item>64</item> <item>68</item> <item>68</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>23</count> <item_version>0</item_version> <item> <first>122</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>133</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>297</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>302</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>307</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>312</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>316</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>321</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>332</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>337</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>342</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>347</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>352</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>357</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>362</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>367</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>372</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>376</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>380</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>384</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>388</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>392</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>396</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>23</count> <item_version>0</item_version> <item> <first>i_7_reg_316</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>i_reg_122</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>p_0_reg_133</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>scenario_nr_struct_l_reg_307</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>scenario_structure_c_19_reg_337</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>scenario_structure_c_20_reg_342</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>scenario_structure_c_21_reg_347</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>scenario_structure_c_22_reg_352</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>scenario_structure_c_23_reg_357</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>scenario_structure_c_24_reg_362</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>scenario_structure_c_25_reg_367</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>scenario_structure_c_reg_332</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_144_reg_372</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>tmp_145_reg_376</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_146_reg_380</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_147_reg_384</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>tmp_148_reg_388</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>tmp_149_reg_392</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_150_reg_396</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>tmp_reg_312</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>tmp_s_reg_321</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>x_read_reg_302</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>y_read_reg_297</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>2</count> <item_version>0</item_version> <item> <first>122</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>133</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>2</count> <item_version>0</item_version> <item> <first>i_reg_122</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>p_0_reg_133</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>scenario_nr_struct</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>scenario_structure_c(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>16</count> <item_version>0</item_version> <item>40</item> <item>40</item> <item>44</item> <item>44</item> <item>48</item> <item>48</item> <item>52</item> <item>52</item> <item>56</item> <item>56</item> <item>60</item> <item>60</item> <item>64</item> <item>64</item> <item>68</item> <item>68</item> </second> </item> </second> </item> <item> <first>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>6</item> </second> </item> </second> </item> <item> <first>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>5</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>4</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
24.277493
73
0.56256
8b9c9a2465e1a2c10b14da179671ca91b69e5b70
3,710
ada
Ada
Task/Hamming-numbers/Ada/hamming-numbers.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2021-05-05T13:42:20.000Z
2021-05-05T13:42:20.000Z
Task/Hamming-numbers/Ada/hamming-numbers.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Hamming-numbers/Ada/hamming-numbers.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
with Ada.Numerics.Generic_Elementary_Functions; with Ada.Text_IO; use Ada.Text_IO; with GNATCOLL.GMP.Integers; with GNATCOLL.GMP.Lib; procedure Hamming is type Log_Type is new Long_Long_Float; package Funcs is new Ada.Numerics.Generic_Elementary_Functions (Log_Type); type Factors_Array is array (Positive range <>) of Positive; generic Factors : Factors_Array := (2, 3, 5); -- The factors for smooth numbers. Hamming numbers are 5-smooth. package Smooth_Numbers is type Number is private; function Compute (Nth : Positive) return Number; function Image (N : Number) return String; private type Exponent_Type is new Natural; type Exponents_Array is array (Factors'Range) of Exponent_Type; -- Numbers are stored as the exponents of the prime factors. type Number is record Exponents : Exponents_Array; Log : Log_Type; -- The log of the value, used to ease sorting. end record; function "=" (N1, N2 : Number) return Boolean is (for all F in Factors'Range => N1.Exponents (F) = N2.Exponents (F)); end Smooth_Numbers; package body Smooth_Numbers is One : constant Number := (Exponents => (others => 0), Log => 0.0); Factors_Log : array (Factors'Range) of Log_Type; function Image (N : Number) return String is use GNATCOLL.GMP.Integers, GNATCOLL.GMP.Lib; R, Tmp : Big_Integer; begin Set (R, "1"); for F in Factors'Range loop Set (Tmp, Factors (F)'Image); Raise_To_N (Tmp, GNATCOLL.GMP.Unsigned_Long (N.Exponents (F))); Multiply (R, Tmp); end loop; return Image (R); end Image; function Compute (Nth : Positive) return Number is Candidates : array (Factors'Range) of Number; Values : array (1 .. Nth) of Number; -- Will result in Storage_Error for very large values of Nth Indices : array (Factors'Range) of Natural := (others => Values'First); Current : Number; Tmp : Number; begin for F in Factors'Range loop Factors_Log (F) := Funcs.Log (Log_Type (Factors (F))); Candidates (F) := One; Candidates (F).Exponents (F) := 1; Candidates (F).Log := Factors_Log (F); end loop; Values (1) := One; for Count in 2 .. Nth loop -- Find next value (the lowest of the candidates) Current := Candidates (Factors'First); for F in Factors'First + 1 .. Factors'Last loop if Candidates (F).Log < Current.Log then Current := Candidates (F); end if; end loop; Values (Count) := Current; -- Update the candidates. There might be several candidates with -- the same value for F in Factors'Range loop if Candidates (F) = Current then Indices (F) := Indices (F) + 1; Tmp := Values (Indices (F)); Tmp.Exponents (F) := Tmp.Exponents (F) + 1; Tmp.Log := Tmp.Log + Factors_Log (F); Candidates (F) := Tmp; end if; end loop; end loop; return Values (Nth); end Compute; end Smooth_Numbers; package Hamming is new Smooth_Numbers ((2, 3, 5)); begin for N in 1 .. 20 loop Put (" " & Hamming.Image (Hamming.Compute (N))); end loop; New_Line; Put_Line (Hamming.Image (Hamming.Compute (1691))); Put_Line (Hamming.Image (Hamming.Compute (1_000_000))); end Hamming;
32.54386
79
0.574663
1e71598791decc4d0760ee661d02c87b4d84e746
1,881
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36302a.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/c36302a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36302a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C36302A.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 A STRING VARIABLE MAY BE DECLARED WITH AN INDEX -- STARTING WITH AN INTEGER GREATER THAN 1. -- DAT 2/17/81 -- JWC 6/28/85 RENAMED TO -AB WITH REPORT; PROCEDURE C36302A IS USE REPORT; S5 : STRING (5 .. 10); SX : STRING (INTEGER'LAST - 5 .. INTEGER'LAST); BEGIN TEST ("C36302A", "STRING VARIABLE INDICES NEEDN'T START AT 1"); IF S5'FIRST /= 5 OR S5'LAST /= 10 OR S5'LENGTH /= 6 OR SX'FIRST /= INTEGER'LAST - 5 OR SX'LAST /= INTEGER'LAST OR SX'LENGTH /= 6 THEN FAILED ("WRONG STRING ATTRIBUTES"); END IF; RESULT; END C36302A;
34.833333
79
0.651249
2e4fa68497afb1d4a497b8ec1df4b9c8e3d0cbe7
5,768
ads
Ada
disorderly/disorderly-random.ads
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
30
2018-12-09T01:15:04.000Z
2022-03-20T16:14:54.000Z
disorderly/disorderly-random.ads
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
null
null
null
disorderly/disorderly-random.ads
jscparker/math_packages
b112a90338014d5c2dfae3f7265ee30841fb6cfd
[ "ISC", "MIT" ]
null
null
null
------------------------------------------------------------------------------- -- package Disorderly.Random, Non-linear Random Number Generator -- Copyright (C) 1995-2018 Jonathan S. Parker -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ------------------------------------------------------------------------------- -- PACKAGE Disorderly.Random -- -- Procedure Disorderly.Random.Get_Random is a non-linear pseudo random number -- generator designed to be task-safe, and optimized for high statistical quality. -- -- 1. Uniform output in the range 0 .. 2**61-1. -- (ie, 61 random bits per call.) -- (2**61-1 is a Mersenne Prime; explanation below.) -- 2. Period > 2^246. (Actually, period is about 1.813381 * 2^246.) -- 3. Period is the product of 4 large (19 decimal digit) prime numbers: -- 4192767015302299403 * 3625455516735504383 * 5866200191975030783 * (2^61-1). -- 4. Generator is non-linear. -- 5. Generator is full-period, and 2 of the 3 component generators are -- full-period. (The 3rd, the non-linear one, is optionally full-period.) -- 6. Generator is pure (the package is stateless) for convenient use -- in multi-tasking simulations. -- 7. CPU time per call is constant (again for multi-tasking simulations). -- 8. Size of state per generator is 4 x 64 bits. -- 9. Speed: Typical benchmarks (on a 64-bit intel PC) measure CPU time per -- call at around 1/2 to 2/3 that of a call to a 64-bit Sin(x). -- 10. The State can be initialized by a version of procedure Reset that calls -- Ada.Calendar.Clock. This version of Reset is confined to a child package, -- since its not pure. The child package is called Random.Clock_Entropy. -- -- Items 1-5 are general characteristics of good generators. -- Items 6-8 are attributes that are desirable in a language with built-in -- concurrency. -- -- For a general RATIONALE, see the parent package: Disorderly.ads -- package Disorderly.Random with Spark_Mode => On is pragma Pure (Disorderly.Random); type Parent_Random_Int is mod 2**64; -- Internally, all arithmetic is done on this type. The generator -- is designed for machines with efficient 64-bit integer arithmetic. Bits_per_Random_Number : constant := 61; subtype Random_Int is Parent_Random_Int range 0 .. 2**Bits_per_Random_Number-1; -- The random number generator returns Ints of this type. Its -- best to think of these Ints as 61 bins, each containing a random bit. -- Notice that it is *not* a mod 2**61 type. -- -- The number p = 61 is a special kind of prime that makes 2**p-1 a -- prime number. Primality of 2**p-1 is a basic requirement of the -- algorithm that generates the random numbers. -- -- The number of bits returned by a RNG is rarely the actual -- number required by a particular application. Additional -- work is necessary to put the random stream into the desired range -- and numeric type. subtype Seed_Random_Int is Random_Int range 1 .. Random_Int'Last; -- Seeds (Initiators) must never be 0. type State is private; procedure Get_Random (Random_x : out Random_Int; S : in out State); procedure Reset (S : out State; Initiator1 : in Seed_Random_Int := 1111; Initiator2 : in Seed_Random_Int := 2222; Initiator3 : in Seed_Random_Int := 3333; Initiator4 : in Seed_Random_Int := 4444); -- procedure Reset initializes State S. -- There are no calls to Calendar, so it is reproducible: use the same -- seeds each time and you get the same state S each time. -- The following routines translate state S into text, and back again. -- Useful for saving state S on HD in text format. No_Of_Seeds : constant := 4; Rand_Image_Width : constant := 20; -- 2^64-1 = 1.8446744073709551615 * 10^19 Max_Image_Width : constant := Rand_Image_Width * No_Of_Seeds; subtype State_String is String(1 .. Max_Image_Width); function Value (Coded_State : State_String) return State with Pre => (for all i in State_String'Range => Coded_State(i) in '0' .. '9'); function Image (Of_State : State) return State_String; -- Detect invalid States, for example after input from HDD. function Valid_State (S : in State) return Boolean; -- Make an easier to read version of State_String by putting a space in front -- of each of the 20 digit numbers: Formatted_Image(). Leading_Spaces : constant := 1; Formatted_State_String_Width : constant := (Rand_Image_Width + Leading_Spaces)*No_Of_Seeds; subtype Formatted_State_String is String(1 .. Formatted_State_String_Width); function Formatted_Image (Of_State : State) return Formatted_State_String; function Are_Equal (State_1, State_2 : State) return Boolean; private subtype State_Index is Integer range 0..No_Of_Seeds-1; type Vals is array(State_Index) of Parent_Random_Int; type State is record X : Vals := (others => 701); end Record; end Disorderly.Random;
42.411765
94
0.686546
a0294795fadd1dc3a9b5309a7a622520f7506eca
7,491
adb
Ada
kv-avm-affiliates.adb
davidkristola/vole
aa8e19d9deff2efe98fcd4dc0028c2895d624693
[ "Unlicense" ]
4
2015-02-02T12:11:41.000Z
2020-12-19T02:14:21.000Z
kv-avm-affiliates.adb
davidkristola/vole
aa8e19d9deff2efe98fcd4dc0028c2895d624693
[ "Unlicense" ]
null
null
null
kv-avm-affiliates.adb
davidkristola/vole
aa8e19d9deff2efe98fcd4dc0028c2895d624693
[ "Unlicense" ]
3
2017-02-22T10:44:02.000Z
2021-05-16T09:34:39.000Z
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Exceptions; use Ada.Exceptions; with kv.avm.Log; use kv.avm.Log; with kv.avm.Registers; use kv.avm.Registers; with kv.avm.Tuples; with kv.avm.Transactions; package body kv.avm.Affiliates is use Client_Lists; use Interfaces; AFFILIATE_ADDRESS_KEY : constant String := "affiliate_address"; ---------------------------------------------------------------------------- procedure Add_Client (My_Data : in Affiliate_Access; Client : in kv.avm.Clients.Client_Access) is begin My_Data.Clients.Append(Client); exception when Error: others => Put_Error("EXCEPTION (in Add_Client): " & Exception_Information(Error)); raise; end Add_Client; ---------------------------------------------------------------------------- procedure Initialize_Client_From_Settings (My_Data : in Affiliate_Access; Settings : in kv.avm.Ini.Settings_Type; Client : in kv.avm.Clients.Client_Access; Index : in Positive) is Address : kv.avm.Tuples.Tuple_Type; Element : access constant kv.avm.Registers.Register_Type; begin Address := Settings.Lookup_As_Tuple(AFFILIATE_ADDRESS_KEY, Index); Element := Address.Peek(0); Client.Bind_Address(+Element.The_String); Element := Address.Peek(1); Client.Bind_Port(Positive(Element.Signed_Value)); exception when Error: others => Put_Error("EXCEPTION (in Initialize_Client_From_Settings): " & Exception_Information(Error)); raise; end Initialize_Client_From_Settings; ---------------------------------------------------------------------------- procedure Initialize_Clients (My_Data : in Affiliate_Access; Settings : in kv.avm.Ini.Settings_Type; Factory : in kv.avm.Clients.Factory_Access) is Client : kv.avm.Clients.Client_Access; begin for Client_Index in 1 .. Settings.Value_Count_For_Key(AFFILIATE_ADDRESS_KEY) loop Factory.New_Client(Client); Initialize_Client_From_Settings(My_Data, Settings, Client, Client_Index); Add_Client(My_Data, Client); end loop; end Initialize_Clients; ---------------------------------------------------------------------------- procedure Initialize (Self : in out Affiliates_Type; Settings : in kv.avm.Ini.Settings_Type; Server : in kv.avm.Servers.Server_Access; Factory : in kv.avm.Clients.Factory_Access; Machine : in kv.avm.Control.Control_Access) is My_Data : Affiliate_Access := Self.Ref.Get; begin My_Data.Factory := Factory; My_Data.Server := Server; My_Data.Machine := Machine; Initialize_Clients(My_Data, Settings, Factory); exception when Error: others => Put_Error("EXCEPTION (in Initialize): " & Exception_Information(Error)); raise; end Initialize; ---------------------------------------------------------------------------- function Client_Count(Self : Affiliates_Type) return Natural is My_Data : Affiliate_Access := Self.Ref.Get; begin return Natural(My_Data.Clients.Length); end Client_Count; ---------------------------------------------------------------------------- function Get_Client(Self : Affiliates_Type; Index : Positive) return kv.avm.Clients.Client_Access is My_Data : Affiliate_Access := Self.Ref.Get; begin return My_Data.Clients.Element(Index); end Get_Client; ---------------------------------------------------------------------------- function Get_Domain_Client(Self : Affiliates_Type; Domain : Interfaces.Unsigned_32) return kv.avm.Clients.Client_Access is My_Data : Affiliate_Access := Self.Ref.Get; Current : Cursor := My_Data.Clients.First; begin -- The simplest thing: search the existing vector. --TODO: consider deleting the vector and using just a map. while Current /= No_Element loop if Element(Current).Get_Domain = Domain then return Element(Current); end if; Next(Current); end loop; return null; exception when Error: others => Put_Error("EXCEPTION (in Get_Domain_Client): " & Exception_Information(Error)); raise; end Get_Domain_Client; ---------------------------------------------------------------------------- procedure Open_Clients (Self : in out Affiliates_Type) is My_Data : Affiliate_Access := Self.Ref.Get; Current : Cursor := My_Data.Clients.First; begin while Current /= No_Element loop Element(Current).Open; Next(Current); end loop; exception when Error: others => Put_Error("EXCEPTION (in Open_Clients): " & Exception_Information(Error)); raise; end Open_Clients; ---------------------------------------------------------------------------- procedure Check_Server (My_Data : Affiliate_Access) is begin if My_Data.Server.Is_Connection_Waiting then Put_Line("Server adding a new client connection."); Add_Client(My_Data, My_Data.Server.Get_Connection); end if; exception when Error: others => Put_Error("EXCEPTION (in Check_Server): " & Exception_Information(Error)); raise; end Check_Server; ---------------------------------------------------------------------------- procedure Process_Transaction (My_Data : Affiliate_Access; Client : kv.avm.Clients.Client_Access) is Transaction : kv.avm.Transactions.Transactions_Access; begin Put_Line("Processing transaction"); Transaction := Client.Get_Transaction; Transaction.Execute(My_Data.Machine); Client.Conclude_Transaction; exception when Error: others => Put_Error("EXCEPTION (in Process_Transaction): " & Exception_Information(Error)); raise; end Process_Transaction; ---------------------------------------------------------------------------- procedure Check_Client (My_Data : Affiliate_Access; Client : kv.avm.Clients.Client_Access) is begin if Client.Is_Transaction_Pending then Process_Transaction(My_Data, Client); end if; exception when Error: others => Put_Error("EXCEPTION (in Check_Client): " & Exception_Information(Error)); raise; end Check_Client; ---------------------------------------------------------------------------- procedure Check_Clients (My_Data : Affiliate_Access) is Current : Cursor := My_Data.Clients.First; begin while Current /= No_Element loop Check_Client(My_Data, Element(Current)); Next(Current); end loop; exception when Error: others => Put_Error("EXCEPTION (in Check_Clients): " & Exception_Information(Error)); raise; end Check_Clients; ---------------------------------------------------------------------------- procedure Periodic_Processing (Self : in out Affiliates_Type) is My_Data : Affiliate_Access := Self.Ref.Get; begin Check_Server(My_Data); Check_Clients(My_Data); exception when Error: others => Put_Error("EXCEPTION (in Periodic_Processing): " & Exception_Information(Error)); raise; end Periodic_Processing; end kv.avm.Affiliates;
34.05
125
0.576158
195eae044c6a59e3116537e0eed9c5b63c154288
85,918
adb
Ada
awa/plugins/awa-blogs/src/model/awa-blogs-models.adb
twdroeger/ada-awa
77b824773747aecb912c37b1b7b59ea414679b80
[ "Apache-2.0" ]
null
null
null
awa/plugins/awa-blogs/src/model/awa-blogs-models.adb
twdroeger/ada-awa
77b824773747aecb912c37b1b7b59ea414679b80
[ "Apache-2.0" ]
null
null
null
awa/plugins/awa-blogs/src/model/awa-blogs-models.adb
twdroeger/ada-awa
77b824773747aecb912c37b1b7b59ea414679b80
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- AWA.Blogs.Models -- AWA.Blogs.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen.googlecode.com/svn/trunk Revision 1095 ----------------------------------------------------------------------- -- Copyright (C) 2019 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.Unchecked_Deallocation; with Util.Beans.Objects.Time; with ASF.Events.Faces.Actions; with AWA.Events.Action_Method; package body AWA.Blogs.Models is use type ADO.Objects.Object_Record_Access; use type ADO.Objects.Object_Ref; pragma Warnings (Off, "formal parameter * is not referenced"); function Blog_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => BLOG_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Blog_Key; function Blog_Key (Id : in String) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => BLOG_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Blog_Key; function "=" (Left, Right : Blog_Ref'Class) return Boolean is begin return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right); end "="; procedure Set_Field (Object : in out Blog_Ref'Class; Impl : out Blog_Access) is Result : ADO.Objects.Object_Record_Access; begin Object.Prepare_Modify (Result); Impl := Blog_Impl (Result.all)'Access; end Set_Field; -- Internal method to allocate the Object_Record instance procedure Allocate (Object : in out Blog_Ref) is Impl : Blog_Access; begin Impl := new Blog_Impl; Impl.Version := 0; Impl.Create_Date := ADO.DEFAULT_TIME; Impl.Update_Date := ADO.DEFAULT_TIME; Impl.Format := AWA.Blogs.Models.Format_Type'First; ADO.Objects.Set_Object (Object, Impl.all'Access); end Allocate; -- ---------------------------------------- -- Data object: Blog -- ---------------------------------------- procedure Set_Id (Object : in out Blog_Ref; Value : in ADO.Identifier) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value); end Set_Id; function Get_Id (Object : in Blog_Ref) return ADO.Identifier is Impl : constant Blog_Access := Blog_Impl (Object.Get_Object.all)'Access; begin return Impl.Get_Key_Value; end Get_Id; procedure Set_Name (Object : in out Blog_Ref; Value : in String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 2, Impl.Name, Value); end Set_Name; procedure Set_Name (Object : in out Blog_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 2, Impl.Name, Value); end Set_Name; function Get_Name (Object : in Blog_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Name); end Get_Name; function Get_Name (Object : in Blog_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Name; end Get_Name; function Get_Version (Object : in Blog_Ref) return Integer is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Version; end Get_Version; procedure Set_Uid (Object : in out Blog_Ref; Value : in String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 4, Impl.Uid, Value); end Set_Uid; procedure Set_Uid (Object : in out Blog_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 4, Impl.Uid, Value); end Set_Uid; function Get_Uid (Object : in Blog_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Uid); end Get_Uid; function Get_Uid (Object : in Blog_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Uid; end Get_Uid; procedure Set_Create_Date (Object : in out Blog_Ref; Value : in Ada.Calendar.Time) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 5, Impl.Create_Date, Value); end Set_Create_Date; function Get_Create_Date (Object : in Blog_Ref) return Ada.Calendar.Time is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Create_Date; end Get_Create_Date; procedure Set_Update_Date (Object : in out Blog_Ref; Value : in Ada.Calendar.Time) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 6, Impl.Update_Date, Value); end Set_Update_Date; function Get_Update_Date (Object : in Blog_Ref) return Ada.Calendar.Time is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Update_Date; end Get_Update_Date; procedure Set_Url (Object : in out Blog_Ref; Value : in String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 7, Impl.Url, Value); end Set_Url; procedure Set_Url (Object : in out Blog_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 7, Impl.Url, Value); end Set_Url; function Get_Url (Object : in Blog_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Url); end Get_Url; function Get_Url (Object : in Blog_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Url; end Get_Url; procedure Set_Format (Object : in out Blog_Ref; Value : in AWA.Blogs.Models.Format_Type) is procedure Set_Field_Enum is new ADO.Audits.Set_Field_Operation (Format_Type, Format_Type_Objects.To_Object); Impl : Blog_Access; begin Set_Field (Object, Impl); Set_Field_Enum (Impl.all, 8, Impl.Format, Value); end Set_Format; function Get_Format (Object : in Blog_Ref) return AWA.Blogs.Models.Format_Type is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Format; end Get_Format; procedure Set_Default_Image_Url (Object : in out Blog_Ref; Value : in String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 9, Impl.Default_Image_Url, Value); end Set_Default_Image_Url; procedure Set_Default_Image_Url (Object : in out Blog_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 9, Impl.Default_Image_Url, Value); end Set_Default_Image_Url; function Get_Default_Image_Url (Object : in Blog_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Default_Image_Url); end Get_Default_Image_Url; function Get_Default_Image_Url (Object : in Blog_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Default_Image_Url; end Get_Default_Image_Url; procedure Set_Workspace (Object : in out Blog_Ref; Value : in AWA.Workspaces.Models.Workspace_Ref'Class) is Impl : Blog_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 10, Impl.Workspace, Value); end Set_Workspace; function Get_Workspace (Object : in Blog_Ref) return AWA.Workspaces.Models.Workspace_Ref'Class is Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Workspace; end Get_Workspace; -- Copy of the object. procedure Copy (Object : in Blog_Ref; Into : in out Blog_Ref) is Result : Blog_Ref; begin if not Object.Is_Null then declare Impl : constant Blog_Access := Blog_Impl (Object.Get_Load_Object.all)'Access; Copy : constant Blog_Access := new Blog_Impl; begin ADO.Objects.Set_Object (Result, Copy.all'Access); Copy.Copy (Impl.all); Copy.Name := Impl.Name; Copy.Version := Impl.Version; Copy.Uid := Impl.Uid; Copy.Create_Date := Impl.Create_Date; Copy.Update_Date := Impl.Update_Date; Copy.Url := Impl.Url; Copy.Format := Impl.Format; Copy.Default_Image_Url := Impl.Default_Image_Url; Copy.Workspace := Impl.Workspace; end; end if; Into := Result; end Copy; procedure Find (Object : in out Blog_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Impl : constant Blog_Access := new Blog_Impl; begin Impl.Find (Session, Query, Found); if Found then ADO.Objects.Set_Object (Object, Impl.all'Access); else ADO.Objects.Set_Object (Object, null); Destroy (Impl); end if; end Find; procedure Load (Object : in out Blog_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier) is Impl : constant Blog_Access := new Blog_Impl; Found : Boolean; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); raise ADO.Objects.NOT_FOUND; end if; ADO.Objects.Set_Object (Object, Impl.all'Access); end Load; procedure Load (Object : in out Blog_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean) is Impl : constant Blog_Access := new Blog_Impl; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); else ADO.Objects.Set_Object (Object, Impl.all'Access); end if; end Load; procedure Save (Object : in out Blog_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl = null then Impl := new Blog_Impl; ADO.Objects.Set_Object (Object, Impl); end if; if not ADO.Objects.Is_Created (Impl.all) then Impl.Create (Session); else Impl.Save (Session); end if; end Save; procedure Delete (Object : in out Blog_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl /= null then Impl.Delete (Session); end if; end Delete; -- -------------------- -- Free the object -- -------------------- procedure Destroy (Object : access Blog_Impl) is type Blog_Impl_Ptr is access all Blog_Impl; procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Blog_Impl, Blog_Impl_Ptr); pragma Warnings (Off, "*redundant conversion*"); Ptr : Blog_Impl_Ptr := Blog_Impl (Object.all)'Access; pragma Warnings (On, "*redundant conversion*"); begin Unchecked_Free (Ptr); end Destroy; procedure Find (Object : in out Blog_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, BLOG_DEF'Access); begin Stmt.Execute; if Stmt.Has_Elements then Object.Load (Stmt, Session); Stmt.Next; Found := not Stmt.Has_Elements; else Found := False; end if; end Find; overriding procedure Load (Object : in out Blog_Impl; Session : in out ADO.Sessions.Session'Class) is Found : Boolean; Query : ADO.SQL.Query; Id : constant ADO.Identifier := Object.Get_Key_Value; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Object.Find (Session, Query, Found); if not Found then raise ADO.Objects.NOT_FOUND; end if; end Load; procedure Save (Object : in out Blog_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Update_Statement := Session.Create_Statement (BLOG_DEF'Access); begin if Object.Is_Modified (1) then Stmt.Save_Field (Name => COL_0_1_NAME, -- id Value => Object.Get_Key); Object.Clear_Modified (1); end if; if Object.Is_Modified (2) then Stmt.Save_Field (Name => COL_1_1_NAME, -- name Value => Object.Name); Object.Clear_Modified (2); end if; if Object.Is_Modified (4) then Stmt.Save_Field (Name => COL_3_1_NAME, -- uid Value => Object.Uid); Object.Clear_Modified (4); end if; if Object.Is_Modified (5) then Stmt.Save_Field (Name => COL_4_1_NAME, -- create_date Value => Object.Create_Date); Object.Clear_Modified (5); end if; if Object.Is_Modified (6) then Stmt.Save_Field (Name => COL_5_1_NAME, -- update_date Value => Object.Update_Date); Object.Clear_Modified (6); end if; if Object.Is_Modified (7) then Stmt.Save_Field (Name => COL_6_1_NAME, -- url Value => Object.Url); Object.Clear_Modified (7); end if; if Object.Is_Modified (8) then Stmt.Save_Field (Name => COL_7_1_NAME, -- format Value => Integer (Format_Type'Pos (Object.Format))); Object.Clear_Modified (8); end if; if Object.Is_Modified (9) then Stmt.Save_Field (Name => COL_8_1_NAME, -- default_image_url Value => Object.Default_Image_Url); Object.Clear_Modified (9); end if; if Object.Is_Modified (10) then Stmt.Save_Field (Name => COL_9_1_NAME, -- workspace_id Value => Object.Workspace); Object.Clear_Modified (10); end if; if Stmt.Has_Save_Fields then Object.Version := Object.Version + 1; Stmt.Save_Field (Name => "version", Value => Object.Version); Stmt.Set_Filter (Filter => "id = ? and version = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Add_Param (Value => Object.Version - 1); declare Result : Integer; begin Stmt.Execute (Result); if Result /= 1 then if Result /= 0 then raise ADO.Objects.UPDATE_ERROR; else raise ADO.Objects.LAZY_LOCK; end if; end if; ADO.Audits.Save (Object, Session); end; end if; end Save; procedure Create (Object : in out Blog_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Query : ADO.Statements.Insert_Statement := Session.Create_Statement (BLOG_DEF'Access); Result : Integer; begin Object.Version := 1; Session.Allocate (Id => Object); Query.Save_Field (Name => COL_0_1_NAME, -- id Value => Object.Get_Key); Query.Save_Field (Name => COL_1_1_NAME, -- name Value => Object.Name); Query.Save_Field (Name => COL_2_1_NAME, -- version Value => Object.Version); Query.Save_Field (Name => COL_3_1_NAME, -- uid Value => Object.Uid); Query.Save_Field (Name => COL_4_1_NAME, -- create_date Value => Object.Create_Date); Query.Save_Field (Name => COL_5_1_NAME, -- update_date Value => Object.Update_Date); Query.Save_Field (Name => COL_6_1_NAME, -- url Value => Object.Url); Query.Save_Field (Name => COL_7_1_NAME, -- format Value => Integer (Format_Type'Pos (Object.Format))); Query.Save_Field (Name => COL_8_1_NAME, -- default_image_url Value => Object.Default_Image_Url); Query.Save_Field (Name => COL_9_1_NAME, -- workspace_id Value => Object.Workspace); Query.Execute (Result); if Result /= 1 then raise ADO.Objects.INSERT_ERROR; end if; ADO.Objects.Set_Created (Object); ADO.Audits.Save (Object, Session); end Create; procedure Delete (Object : in out Blog_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (BLOG_DEF'Access); begin Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Execute; end Delete; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Blog_Ref; Name : in String) return Util.Beans.Objects.Object is Obj : ADO.Objects.Object_Record_Access; Impl : access Blog_Impl; begin if From.Is_Null then return Util.Beans.Objects.Null_Object; end if; Obj := From.Get_Load_Object; Impl := Blog_Impl (Obj.all)'Access; if Name = "id" then return ADO.Objects.To_Object (Impl.Get_Key); elsif Name = "name" then return Util.Beans.Objects.To_Object (Impl.Name); elsif Name = "uid" then return Util.Beans.Objects.To_Object (Impl.Uid); elsif Name = "create_date" then return Util.Beans.Objects.Time.To_Object (Impl.Create_Date); elsif Name = "update_date" then return Util.Beans.Objects.Time.To_Object (Impl.Update_Date); elsif Name = "url" then return Util.Beans.Objects.To_Object (Impl.Url); elsif Name = "format" then return AWA.Blogs.Models.Format_Type_Objects.To_Object (Impl.Format); elsif Name = "default_image_url" then return Util.Beans.Objects.To_Object (Impl.Default_Image_Url); end if; return Util.Beans.Objects.Null_Object; end Get_Value; procedure List (Object : in out Blog_Vector; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, BLOG_DEF'Access); begin Stmt.Execute; Blog_Vectors.Clear (Object); while Stmt.Has_Elements loop declare Item : Blog_Ref; Impl : constant Blog_Access := new Blog_Impl; begin Impl.Load (Stmt, Session); ADO.Objects.Set_Object (Item, Impl.all'Access); Object.Append (Item); end; Stmt.Next; end loop; end List; -- ------------------------------ -- Load the object from current iterator position -- ------------------------------ procedure Load (Object : in out Blog_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class) is begin Object.Set_Key_Value (Stmt.Get_Identifier (0)); Object.Name := Stmt.Get_Unbounded_String (1); Object.Uid := Stmt.Get_Unbounded_String (3); Object.Create_Date := Stmt.Get_Time (4); Object.Update_Date := Stmt.Get_Time (5); Object.Url := Stmt.Get_Unbounded_String (6); Object.Format := Format_Type'Val (Stmt.Get_Integer (7)); Object.Default_Image_Url := Stmt.Get_Unbounded_String (8); if not Stmt.Is_Null (9) then Object.Workspace.Set_Key_Value (Stmt.Get_Identifier (9), Session); end if; Object.Version := Stmt.Get_Integer (2); ADO.Objects.Set_Created (Object); end Load; function Post_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => POST_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Post_Key; function Post_Key (Id : in String) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => POST_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Post_Key; function "=" (Left, Right : Post_Ref'Class) return Boolean is begin return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right); end "="; procedure Set_Field (Object : in out Post_Ref'Class; Impl : out Post_Access) is Result : ADO.Objects.Object_Record_Access; begin Object.Prepare_Modify (Result); Impl := Post_Impl (Result.all)'Access; end Set_Field; -- Internal method to allocate the Object_Record instance procedure Allocate (Object : in out Post_Ref) is Impl : Post_Access; begin Impl := new Post_Impl; Impl.Create_Date := ADO.DEFAULT_TIME; Impl.Version := 0; Impl.Publish_Date.Is_Null := True; Impl.Status := AWA.Blogs.Models.Post_Status_Type'First; Impl.Allow_Comments := False; Impl.Read_Count := 0; Impl.Format := AWA.Blogs.Models.Format_Type'First; ADO.Objects.Set_Object (Object, Impl.all'Access); end Allocate; -- ---------------------------------------- -- Data object: Post -- ---------------------------------------- procedure Set_Id (Object : in out Post_Ref; Value : in ADO.Identifier) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value); end Set_Id; function Get_Id (Object : in Post_Ref) return ADO.Identifier is Impl : constant Post_Access := Post_Impl (Object.Get_Object.all)'Access; begin return Impl.Get_Key_Value; end Get_Id; procedure Set_Title (Object : in out Post_Ref; Value : in String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 2, Impl.Title, Value); end Set_Title; procedure Set_Title (Object : in out Post_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 2, Impl.Title, Value); end Set_Title; function Get_Title (Object : in Post_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Title); end Get_Title; function Get_Title (Object : in Post_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Title; end Get_Title; procedure Set_Text (Object : in out Post_Ref; Value : in String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 3, Impl.Text, Value); end Set_Text; procedure Set_Text (Object : in out Post_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 3, Impl.Text, Value); end Set_Text; function Get_Text (Object : in Post_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Text); end Get_Text; function Get_Text (Object : in Post_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Text; end Get_Text; procedure Set_Create_Date (Object : in out Post_Ref; Value : in Ada.Calendar.Time) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 4, Impl.Create_Date, Value); end Set_Create_Date; function Get_Create_Date (Object : in Post_Ref) return Ada.Calendar.Time is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Create_Date; end Get_Create_Date; procedure Set_Uri (Object : in out Post_Ref; Value : in String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 5, Impl.Uri, Value); end Set_Uri; procedure Set_Uri (Object : in out Post_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 5, Impl.Uri, Value); end Set_Uri; function Get_Uri (Object : in Post_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Uri); end Get_Uri; function Get_Uri (Object : in Post_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Uri; end Get_Uri; function Get_Version (Object : in Post_Ref) return Integer is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Version; end Get_Version; procedure Set_Publish_Date (Object : in out Post_Ref; Value : in ADO.Nullable_Time) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Time (Impl.all, 7, Impl.Publish_Date, Value); end Set_Publish_Date; function Get_Publish_Date (Object : in Post_Ref) return ADO.Nullable_Time is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Publish_Date; end Get_Publish_Date; procedure Set_Status (Object : in out Post_Ref; Value : in AWA.Blogs.Models.Post_Status_Type) is procedure Set_Field_Enum is new ADO.Audits.Set_Field_Operation (Post_Status_Type, Post_Status_Type_Objects.To_Object); Impl : Post_Access; begin Set_Field (Object, Impl); Set_Field_Enum (Impl.all, 8, Impl.Status, Value); end Set_Status; function Get_Status (Object : in Post_Ref) return AWA.Blogs.Models.Post_Status_Type is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Status; end Get_Status; procedure Set_Allow_Comments (Object : in out Post_Ref; Value : in Boolean) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Boolean (Impl.all, 9, Impl.Allow_Comments, Value); end Set_Allow_Comments; function Get_Allow_Comments (Object : in Post_Ref) return Boolean is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Allow_Comments; end Get_Allow_Comments; procedure Set_Read_Count (Object : in out Post_Ref; Value : in Integer) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 10, Impl.Read_Count, Value); end Set_Read_Count; function Get_Read_Count (Object : in Post_Ref) return Integer is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Read_Count; end Get_Read_Count; procedure Set_Summary (Object : in out Post_Ref; Value : in String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_String (Impl.all, 11, Impl.Summary, Value); end Set_Summary; procedure Set_Summary (Object : in out Post_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Audits.Set_Field_Unbounded_String (Impl.all, 11, Impl.Summary, Value); end Set_Summary; function Get_Summary (Object : in Post_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Summary); end Get_Summary; function Get_Summary (Object : in Post_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Summary; end Get_Summary; procedure Set_Format (Object : in out Post_Ref; Value : in AWA.Blogs.Models.Format_Type) is procedure Set_Field_Enum is new ADO.Audits.Set_Field_Operation (Format_Type, Format_Type_Objects.To_Object); Impl : Post_Access; begin Set_Field (Object, Impl); Set_Field_Enum (Impl.all, 12, Impl.Format, Value); end Set_Format; function Get_Format (Object : in Post_Ref) return AWA.Blogs.Models.Format_Type is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Format; end Get_Format; procedure Set_Author (Object : in out Post_Ref; Value : in AWA.Users.Models.User_Ref'Class) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 13, Impl.Author, Value); end Set_Author; function Get_Author (Object : in Post_Ref) return AWA.Users.Models.User_Ref'Class is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Author; end Get_Author; procedure Set_Blog (Object : in out Post_Ref; Value : in AWA.Blogs.Models.Blog_Ref'Class) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 14, Impl.Blog, Value); end Set_Blog; function Get_Blog (Object : in Post_Ref) return AWA.Blogs.Models.Blog_Ref'Class is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Blog; end Get_Blog; procedure Set_Image (Object : in out Post_Ref; Value : in AWA.Images.Models.Image_Ref'Class) is Impl : Post_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 15, Impl.Image, Value); end Set_Image; function Get_Image (Object : in Post_Ref) return AWA.Images.Models.Image_Ref'Class is Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Image; end Get_Image; -- Copy of the object. procedure Copy (Object : in Post_Ref; Into : in out Post_Ref) is Result : Post_Ref; begin if not Object.Is_Null then declare Impl : constant Post_Access := Post_Impl (Object.Get_Load_Object.all)'Access; Copy : constant Post_Access := new Post_Impl; begin ADO.Objects.Set_Object (Result, Copy.all'Access); Copy.Copy (Impl.all); Copy.Title := Impl.Title; Copy.Text := Impl.Text; Copy.Create_Date := Impl.Create_Date; Copy.Uri := Impl.Uri; Copy.Version := Impl.Version; Copy.Publish_Date := Impl.Publish_Date; Copy.Status := Impl.Status; Copy.Allow_Comments := Impl.Allow_Comments; Copy.Read_Count := Impl.Read_Count; Copy.Summary := Impl.Summary; Copy.Format := Impl.Format; Copy.Author := Impl.Author; Copy.Blog := Impl.Blog; Copy.Image := Impl.Image; end; end if; Into := Result; end Copy; procedure Find (Object : in out Post_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Impl : constant Post_Access := new Post_Impl; begin Impl.Find (Session, Query, Found); if Found then ADO.Objects.Set_Object (Object, Impl.all'Access); else ADO.Objects.Set_Object (Object, null); Destroy (Impl); end if; end Find; procedure Load (Object : in out Post_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier) is Impl : constant Post_Access := new Post_Impl; Found : Boolean; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); raise ADO.Objects.NOT_FOUND; end if; ADO.Objects.Set_Object (Object, Impl.all'Access); end Load; procedure Load (Object : in out Post_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean) is Impl : constant Post_Access := new Post_Impl; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); else ADO.Objects.Set_Object (Object, Impl.all'Access); end if; end Load; procedure Save (Object : in out Post_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl = null then Impl := new Post_Impl; ADO.Objects.Set_Object (Object, Impl); end if; if not ADO.Objects.Is_Created (Impl.all) then Impl.Create (Session); else Impl.Save (Session); end if; end Save; procedure Delete (Object : in out Post_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl /= null then Impl.Delete (Session); end if; end Delete; -- -------------------- -- Free the object -- -------------------- procedure Destroy (Object : access Post_Impl) is type Post_Impl_Ptr is access all Post_Impl; procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Post_Impl, Post_Impl_Ptr); pragma Warnings (Off, "*redundant conversion*"); Ptr : Post_Impl_Ptr := Post_Impl (Object.all)'Access; pragma Warnings (On, "*redundant conversion*"); begin Unchecked_Free (Ptr); end Destroy; procedure Find (Object : in out Post_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, POST_DEF'Access); begin Stmt.Execute; if Stmt.Has_Elements then Object.Load (Stmt, Session); Stmt.Next; Found := not Stmt.Has_Elements; else Found := False; end if; end Find; overriding procedure Load (Object : in out Post_Impl; Session : in out ADO.Sessions.Session'Class) is Found : Boolean; Query : ADO.SQL.Query; Id : constant ADO.Identifier := Object.Get_Key_Value; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Object.Find (Session, Query, Found); if not Found then raise ADO.Objects.NOT_FOUND; end if; end Load; procedure Save (Object : in out Post_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Update_Statement := Session.Create_Statement (POST_DEF'Access); begin if Object.Is_Modified (1) then Stmt.Save_Field (Name => COL_0_2_NAME, -- id Value => Object.Get_Key); Object.Clear_Modified (1); end if; if Object.Is_Modified (2) then Stmt.Save_Field (Name => COL_1_2_NAME, -- title Value => Object.Title); Object.Clear_Modified (2); end if; if Object.Is_Modified (3) then Stmt.Save_Field (Name => COL_2_2_NAME, -- text Value => Object.Text); Object.Clear_Modified (3); end if; if Object.Is_Modified (4) then Stmt.Save_Field (Name => COL_3_2_NAME, -- create_date Value => Object.Create_Date); Object.Clear_Modified (4); end if; if Object.Is_Modified (5) then Stmt.Save_Field (Name => COL_4_2_NAME, -- uri Value => Object.Uri); Object.Clear_Modified (5); end if; if Object.Is_Modified (7) then Stmt.Save_Field (Name => COL_6_2_NAME, -- publish_date Value => Object.Publish_Date); Object.Clear_Modified (7); end if; if Object.Is_Modified (8) then Stmt.Save_Field (Name => COL_7_2_NAME, -- status Value => Integer (Post_Status_Type'Pos (Object.Status))); Object.Clear_Modified (8); end if; if Object.Is_Modified (9) then Stmt.Save_Field (Name => COL_8_2_NAME, -- allow_comments Value => Object.Allow_Comments); Object.Clear_Modified (9); end if; if Object.Is_Modified (10) then Stmt.Save_Field (Name => COL_9_2_NAME, -- read_count Value => Object.Read_Count); Object.Clear_Modified (10); end if; if Object.Is_Modified (11) then Stmt.Save_Field (Name => COL_10_2_NAME, -- summary Value => Object.Summary); Object.Clear_Modified (11); end if; if Object.Is_Modified (12) then Stmt.Save_Field (Name => COL_11_2_NAME, -- format Value => Integer (Format_Type'Pos (Object.Format))); Object.Clear_Modified (12); end if; if Object.Is_Modified (13) then Stmt.Save_Field (Name => COL_12_2_NAME, -- author_id Value => Object.Author); Object.Clear_Modified (13); end if; if Object.Is_Modified (14) then Stmt.Save_Field (Name => COL_13_2_NAME, -- blog_id Value => Object.Blog); Object.Clear_Modified (14); end if; if Object.Is_Modified (15) then Stmt.Save_Field (Name => COL_14_2_NAME, -- image_id Value => Object.Image); Object.Clear_Modified (15); end if; if Stmt.Has_Save_Fields then Object.Version := Object.Version + 1; Stmt.Save_Field (Name => "version", Value => Object.Version); Stmt.Set_Filter (Filter => "id = ? and version = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Add_Param (Value => Object.Version - 1); declare Result : Integer; begin Stmt.Execute (Result); if Result /= 1 then if Result /= 0 then raise ADO.Objects.UPDATE_ERROR; else raise ADO.Objects.LAZY_LOCK; end if; end if; ADO.Audits.Save (Object, Session); end; end if; end Save; procedure Create (Object : in out Post_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Query : ADO.Statements.Insert_Statement := Session.Create_Statement (POST_DEF'Access); Result : Integer; begin Object.Version := 1; Session.Allocate (Id => Object); Query.Save_Field (Name => COL_0_2_NAME, -- id Value => Object.Get_Key); Query.Save_Field (Name => COL_1_2_NAME, -- title Value => Object.Title); Query.Save_Field (Name => COL_2_2_NAME, -- text Value => Object.Text); Query.Save_Field (Name => COL_3_2_NAME, -- create_date Value => Object.Create_Date); Query.Save_Field (Name => COL_4_2_NAME, -- uri Value => Object.Uri); Query.Save_Field (Name => COL_5_2_NAME, -- version Value => Object.Version); Query.Save_Field (Name => COL_6_2_NAME, -- publish_date Value => Object.Publish_Date); Query.Save_Field (Name => COL_7_2_NAME, -- status Value => Integer (Post_Status_Type'Pos (Object.Status))); Query.Save_Field (Name => COL_8_2_NAME, -- allow_comments Value => Object.Allow_Comments); Query.Save_Field (Name => COL_9_2_NAME, -- read_count Value => Object.Read_Count); Query.Save_Field (Name => COL_10_2_NAME, -- summary Value => Object.Summary); Query.Save_Field (Name => COL_11_2_NAME, -- format Value => Integer (Format_Type'Pos (Object.Format))); Query.Save_Field (Name => COL_12_2_NAME, -- author_id Value => Object.Author); Query.Save_Field (Name => COL_13_2_NAME, -- blog_id Value => Object.Blog); Query.Save_Field (Name => COL_14_2_NAME, -- image_id Value => Object.Image); Query.Execute (Result); if Result /= 1 then raise ADO.Objects.INSERT_ERROR; end if; ADO.Objects.Set_Created (Object); ADO.Audits.Save (Object, Session); end Create; procedure Delete (Object : in out Post_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (POST_DEF'Access); begin Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Execute; end Delete; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Post_Ref; Name : in String) return Util.Beans.Objects.Object is Obj : ADO.Objects.Object_Record_Access; Impl : access Post_Impl; begin if From.Is_Null then return Util.Beans.Objects.Null_Object; end if; Obj := From.Get_Load_Object; Impl := Post_Impl (Obj.all)'Access; if Name = "id" then return ADO.Objects.To_Object (Impl.Get_Key); elsif Name = "title" then return Util.Beans.Objects.To_Object (Impl.Title); elsif Name = "text" then return Util.Beans.Objects.To_Object (Impl.Text); elsif Name = "create_date" then return Util.Beans.Objects.Time.To_Object (Impl.Create_Date); elsif Name = "uri" then return Util.Beans.Objects.To_Object (Impl.Uri); elsif Name = "publish_date" then if Impl.Publish_Date.Is_Null then return Util.Beans.Objects.Null_Object; else return Util.Beans.Objects.Time.To_Object (Impl.Publish_Date.Value); end if; elsif Name = "status" then return AWA.Blogs.Models.Post_Status_Type_Objects.To_Object (Impl.Status); elsif Name = "allow_comments" then return Util.Beans.Objects.To_Object (Impl.Allow_Comments); elsif Name = "read_count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Read_Count)); elsif Name = "summary" then return Util.Beans.Objects.To_Object (Impl.Summary); elsif Name = "format" then return AWA.Blogs.Models.Format_Type_Objects.To_Object (Impl.Format); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Load the object from current iterator position -- ------------------------------ procedure Load (Object : in out Post_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class) is begin Object.Set_Key_Value (Stmt.Get_Identifier (0)); Object.Title := Stmt.Get_Unbounded_String (1); Object.Text := Stmt.Get_Unbounded_String (2); Object.Create_Date := Stmt.Get_Time (3); Object.Uri := Stmt.Get_Unbounded_String (4); Object.Publish_Date := Stmt.Get_Nullable_Time (6); Object.Status := Post_Status_Type'Val (Stmt.Get_Integer (7)); Object.Allow_Comments := Stmt.Get_Boolean (8); Object.Read_Count := Stmt.Get_Integer (9); Object.Summary := Stmt.Get_Unbounded_String (10); Object.Format := Format_Type'Val (Stmt.Get_Integer (11)); if not Stmt.Is_Null (12) then Object.Author.Set_Key_Value (Stmt.Get_Identifier (12), Session); end if; if not Stmt.Is_Null (13) then Object.Blog.Set_Key_Value (Stmt.Get_Identifier (13), Session); end if; if not Stmt.Is_Null (14) then Object.Image.Set_Key_Value (Stmt.Get_Identifier (14), Session); end if; Object.Version := Stmt.Get_Integer (5); ADO.Objects.Set_Created (Object); end Load; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Admin_Post_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Id)); elsif Name = "title" then return Util.Beans.Objects.To_Object (From.Title); elsif Name = "uri" then return Util.Beans.Objects.To_Object (From.Uri); elsif Name = "date" then return Util.Beans.Objects.Time.To_Object (From.Date); elsif Name = "status" then return AWA.Blogs.Models.Post_Status_Type_Objects.To_Object (From.Status); elsif Name = "read_count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Read_Count)); elsif Name = "username" then return Util.Beans.Objects.To_Object (From.Username); elsif Name = "comment_count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Comment_Count)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Admin_Post_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "id" then Item.Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "title" then Item.Title := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "uri" then Item.Uri := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "date" then Item.Date := Util.Beans.Objects.Time.To_Time (Value); elsif Name = "status" then Item.Status := AWA.Blogs.Models.Post_Status_Type_Objects.To_Value (Value); elsif Name = "read_count" then Item.Read_Count := Util.Beans.Objects.To_Integer (Value); elsif Name = "username" then Item.Username := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "comment_count" then Item.Comment_Count := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out Admin_Post_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The Admin_Post_Info describes a post in the administration interface. -- -------------------- procedure List (Object : in out Admin_Post_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out Admin_Post_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out Admin_Post_Info) is begin Into.Id := Stmt.Get_Identifier (0); Into.Title := Stmt.Get_Unbounded_String (1); Into.Uri := Stmt.Get_Unbounded_String (2); Into.Date := Stmt.Get_Time (3); Into.Status := AWA.Blogs.Models.Post_Status_Type'Val (Stmt.Get_Integer (4)); Into.Read_Count := Stmt.Get_Natural (5); Into.Username := Stmt.Get_Unbounded_String (6); Into.Comment_Count := Stmt.Get_Natural (7); end Read; begin Stmt.Execute; Admin_Post_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Blog_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Id)); elsif Name = "title" then return Util.Beans.Objects.To_Object (From.Title); elsif Name = "uid" then return Util.Beans.Objects.To_Object (From.Uid); elsif Name = "create_date" then return Util.Beans.Objects.Time.To_Object (From.Create_Date); elsif Name = "post_count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Post_Count)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Blog_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "id" then Item.Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "title" then Item.Title := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "uid" then Item.Uid := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "create_date" then Item.Create_Date := Util.Beans.Objects.Time.To_Time (Value); elsif Name = "post_count" then Item.Post_Count := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out Blog_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The list of blogs. -- -------------------- procedure List (Object : in out Blog_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out Blog_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out Blog_Info) is begin Into.Id := Stmt.Get_Identifier (0); Into.Title := Stmt.Get_Unbounded_String (1); Into.Uid := Stmt.Get_Unbounded_String (2); Into.Create_Date := Stmt.Get_Time (3); Into.Post_Count := Stmt.Get_Integer (4); end Read; begin Stmt.Execute; Blog_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Comment_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Id)); elsif Name = "post_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Post_Id)); elsif Name = "title" then return Util.Beans.Objects.To_Object (From.Title); elsif Name = "author" then return Util.Beans.Objects.To_Object (From.Author); elsif Name = "email" then return Util.Beans.Objects.To_Object (From.Email); elsif Name = "date" then return Util.Beans.Objects.Time.To_Object (From.Date); elsif Name = "status" then return AWA.Comments.Models.Status_Type_Objects.To_Object (From.Status); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Comment_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "id" then Item.Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "post_id" then Item.Post_Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "title" then Item.Title := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "author" then Item.Author := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "email" then Item.Email := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "date" then Item.Date := Util.Beans.Objects.Time.To_Time (Value); elsif Name = "status" then Item.Status := AWA.Comments.Models.Status_Type_Objects.To_Value (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out Comment_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The comment information. -- -------------------- procedure List (Object : in out Comment_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out Comment_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out Comment_Info) is begin Into.Id := Stmt.Get_Identifier (0); Into.Post_Id := Stmt.Get_Identifier (1); Into.Title := Stmt.Get_Unbounded_String (2); Into.Author := Stmt.Get_Unbounded_String (3); Into.Email := Stmt.Get_Unbounded_String (4); Into.Date := Stmt.Get_Time (5); Into.Status := AWA.Comments.Models.Status_Type'Val (Stmt.Get_Integer (6)); end Read; begin Stmt.Execute; Comment_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Image_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "folder_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Folder_Id)); elsif Name = "id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Id)); elsif Name = "create_date" then return Util.Beans.Objects.Time.To_Object (From.Create_Date); elsif Name = "uri" then return Util.Beans.Objects.To_Object (From.Uri); elsif Name = "storage" then return AWA.Storages.Models.Storage_Type_Objects.To_Object (From.Storage); elsif Name = "mime_type" then return Util.Beans.Objects.To_Object (From.Mime_Type); elsif Name = "file_size" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.File_Size)); elsif Name = "width" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Width)); elsif Name = "height" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Height)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Image_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "folder_id" then Item.Folder_Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "id" then Item.Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "create_date" then Item.Create_Date := Util.Beans.Objects.Time.To_Time (Value); elsif Name = "uri" then Item.Uri := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "storage" then Item.Storage := AWA.Storages.Models.Storage_Type_Objects.To_Value (Value); elsif Name = "mime_type" then Item.Mime_Type := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "file_size" then Item.File_Size := Util.Beans.Objects.To_Integer (Value); elsif Name = "width" then Item.Width := Util.Beans.Objects.To_Integer (Value); elsif Name = "height" then Item.Height := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out Image_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The information about an image used in a wiki page. -- -------------------- procedure List (Object : in out Image_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out Image_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out Image_Info) is begin Into.Folder_Id := Stmt.Get_Identifier (0); Into.Id := Stmt.Get_Identifier (1); Into.Create_Date := Stmt.Get_Time (2); Into.Uri := Stmt.Get_Unbounded_String (3); Into.Storage := AWA.Storages.Models.Storage_Type'Val (Stmt.Get_Integer (4)); Into.Mime_Type := Stmt.Get_Unbounded_String (5); Into.File_Size := Stmt.Get_Integer (6); Into.Width := Stmt.Get_Integer (7); Into.Height := Stmt.Get_Integer (8); end Read; begin Stmt.Execute; Image_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Month_Stat_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "year" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Year)); elsif Name = "month" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Month)); elsif Name = "count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Count)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Month_Stat_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "year" then Item.Year := Util.Beans.Objects.To_Integer (Value); elsif Name = "month" then Item.Month := Util.Beans.Objects.To_Integer (Value); elsif Name = "count" then Item.Count := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out Month_Stat_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The month statistics. -- -------------------- procedure List (Object : in out Month_Stat_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out Month_Stat_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out Month_Stat_Info) is begin Into.Year := Stmt.Get_Natural (0); Into.Month := Stmt.Get_Natural (1); Into.Count := Stmt.Get_Natural (2); end Read; begin Stmt.Execute; Month_Stat_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Post_Info; Name : in String) return Util.Beans.Objects.Object is begin if Name = "id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Id)); elsif Name = "title" then return Util.Beans.Objects.To_Object (From.Title); elsif Name = "uri" then return Util.Beans.Objects.To_Object (From.Uri); elsif Name = "date" then return Util.Beans.Objects.Time.To_Object (From.Date); elsif Name = "username" then return Util.Beans.Objects.To_Object (From.Username); elsif Name = "format" then return AWA.Blogs.Models.Format_Type_Objects.To_Object (From.Format); elsif Name = "summary" then return Util.Beans.Objects.To_Object (From.Summary); elsif Name = "text" then return Util.Beans.Objects.To_Object (From.Text); elsif Name = "allow_comments" then return Util.Beans.Objects.To_Object (From.Allow_Comments); elsif Name = "comment_count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Comment_Count)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Post_Info; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "id" then Item.Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "title" then Item.Title := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "uri" then Item.Uri := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "date" then Item.Date := Util.Beans.Objects.Time.To_Time (Value); elsif Name = "username" then Item.Username := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "format" then Item.Format := AWA.Blogs.Models.Format_Type_Objects.To_Value (Value); elsif Name = "summary" then Item.Summary := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "text" then Item.Text := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "allow_comments" then Item.Allow_Comments := Util.Beans.Objects.To_Boolean (Value); elsif Name = "comment_count" then Item.Comment_Count := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; -- -------------------- -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. -- -------------------- procedure List (Object : in out Post_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is begin List (Object.List, Session, Context); end List; -- -------------------- -- The Post_Info describes a post to be displayed in the blog page -- -------------------- procedure List (Object : in out Post_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class) is procedure Read (Into : in out Post_Info); Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Context); Pos : Positive := 1; procedure Read (Into : in out Post_Info) is begin Into.Id := Stmt.Get_Identifier (0); Into.Title := Stmt.Get_Unbounded_String (1); Into.Uri := Stmt.Get_Unbounded_String (2); Into.Date := Stmt.Get_Time (3); Into.Username := Stmt.Get_Unbounded_String (4); Into.Format := AWA.Blogs.Models.Format_Type'Val (Stmt.Get_Integer (5)); Into.Summary := Stmt.Get_Unbounded_String (6); Into.Text := Stmt.Get_Unbounded_String (7); Into.Allow_Comments := Stmt.Get_Boolean (8); Into.Comment_Count := Stmt.Get_Natural (9); end Read; begin Stmt.Execute; Post_Info_Vectors.Clear (Object); while Stmt.Has_Elements loop Object.Insert_Space (Before => Pos); Object.Update_Element (Index => Pos, Process => Read'Access); Pos := Pos + 1; Stmt.Next; end loop; end List; procedure Op_Create (Bean : in out Blog_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Create (Bean : in out Blog_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Blog_Bean'Class (Bean).Create (Outcome); end Op_Create; package Binding_Blog_Bean_1 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Blog_Bean, Method => Op_Create, Name => "create"); procedure Op_Create_Default (Bean : in out Blog_Bean; Event : in AWA.Events.Module_Event'Class); procedure Op_Create_Default (Bean : in out Blog_Bean; Event : in AWA.Events.Module_Event'Class) is begin Blog_Bean'Class (Bean).Create_Default (Event); end Op_Create_Default; package Binding_Blog_Bean_2 is new AWA.Events.Action_Method.Bind (Bean => Blog_Bean, Method => Op_Create_Default, Name => "create_default"); procedure Op_Load (Bean : in out Blog_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load (Bean : in out Blog_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Blog_Bean'Class (Bean).Load (Outcome); end Op_Load; package Binding_Blog_Bean_3 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Blog_Bean, Method => Op_Load, Name => "load"); Binding_Blog_Bean_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (1 => Binding_Blog_Bean_1.Proxy'Access, 2 => Binding_Blog_Bean_2.Proxy'Access, 3 => Binding_Blog_Bean_3.Proxy'Access ); -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression. -- ------------------------------ overriding function Get_Method_Bindings (From : in Blog_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Blog_Bean_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Blog_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "name" then Item.Set_Name (Util.Beans.Objects.To_String (Value)); elsif Name = "uid" then Item.Set_Uid (Util.Beans.Objects.To_String (Value)); elsif Name = "create_date" then Item.Set_Create_Date (Util.Beans.Objects.Time.To_Time (Value)); elsif Name = "update_date" then Item.Set_Update_Date (Util.Beans.Objects.Time.To_Time (Value)); elsif Name = "url" then Item.Set_Url (Util.Beans.Objects.To_String (Value)); elsif Name = "format" then Item.Set_Format (Format_Type_Objects.To_Value (Value)); elsif Name = "default_image_url" then Item.Set_Default_Image_Url (Util.Beans.Objects.To_String (Value)); end if; end Set_Value; procedure Op_Save (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Save (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Post_Bean'Class (Bean).Save (Outcome); end Op_Save; package Binding_Post_Bean_1 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Post_Bean, Method => Op_Save, Name => "save"); procedure Op_Delete (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Delete (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Post_Bean'Class (Bean).Delete (Outcome); end Op_Delete; package Binding_Post_Bean_2 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Post_Bean, Method => Op_Delete, Name => "delete"); procedure Op_Load (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Post_Bean'Class (Bean).Load (Outcome); end Op_Load; package Binding_Post_Bean_3 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Post_Bean, Method => Op_Load, Name => "load"); procedure Op_Load_Admin (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load_Admin (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Post_Bean'Class (Bean).Load_Admin (Outcome); end Op_Load_Admin; package Binding_Post_Bean_4 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Post_Bean, Method => Op_Load_Admin, Name => "load_admin"); procedure Op_Setup (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Setup (Bean : in out Post_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Post_Bean'Class (Bean).Setup (Outcome); end Op_Setup; package Binding_Post_Bean_5 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Post_Bean, Method => Op_Setup, Name => "setup"); Binding_Post_Bean_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (1 => Binding_Post_Bean_1.Proxy'Access, 2 => Binding_Post_Bean_2.Proxy'Access, 3 => Binding_Post_Bean_3.Proxy'Access, 4 => Binding_Post_Bean_4.Proxy'Access, 5 => Binding_Post_Bean_5.Proxy'Access ); -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression. -- ------------------------------ overriding function Get_Method_Bindings (From : in Post_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Post_Bean_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Post_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "title" then Item.Set_Title (Util.Beans.Objects.To_String (Value)); elsif Name = "text" then Item.Set_Text (Util.Beans.Objects.To_String (Value)); elsif Name = "create_date" then Item.Set_Create_Date (Util.Beans.Objects.Time.To_Time (Value)); elsif Name = "uri" then Item.Set_Uri (Util.Beans.Objects.To_String (Value)); elsif Name = "publish_date" then if Util.Beans.Objects.Is_Null (Value) then Item.Set_Publish_Date (ADO.Nullable_Time '(Is_Null => True, others => <>)); else Item.Set_Publish_Date (ADO.Nullable_Time '(Is_Null => False, Value => Util.Beans.Objects.Time.To_Time (Value))); end if; elsif Name = "status" then Item.Set_Status (Post_Status_Type_Objects.To_Value (Value)); elsif Name = "allow_comments" then Item.Set_Allow_Comments (Util.Beans.Objects.To_Boolean (Value)); elsif Name = "read_count" then Item.Set_Read_Count (Util.Beans.Objects.To_Integer (Value)); elsif Name = "summary" then Item.Set_Summary (Util.Beans.Objects.To_String (Value)); elsif Name = "format" then Item.Set_Format (Format_Type_Objects.To_Value (Value)); end if; end Set_Value; procedure Op_Load (Bean : in out Post_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load (Bean : in out Post_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Post_List_Bean'Class (Bean).Load (Outcome); end Op_Load; package Binding_Post_List_Bean_1 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Post_List_Bean, Method => Op_Load, Name => "load"); Binding_Post_List_Bean_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (1 => Binding_Post_List_Bean_1.Proxy'Access ); -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression. -- ------------------------------ overriding function Get_Method_Bindings (From : in Post_List_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Post_List_Bean_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Post_List_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "tag" then return Util.Beans.Objects.To_Object (From.Tag); elsif Name = "page" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Page)); elsif Name = "count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Count)); elsif Name = "page_size" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Page_Size)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Post_List_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "tag" then Item.Tag := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "page" then Item.Page := Util.Beans.Objects.To_Integer (Value); elsif Name = "count" then Item.Count := Util.Beans.Objects.To_Integer (Value); elsif Name = "page_size" then Item.Page_Size := Util.Beans.Objects.To_Integer (Value); end if; end Set_Value; procedure Op_Load (Bean : in out Stat_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); procedure Op_Load (Bean : in out Stat_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is begin Stat_List_Bean'Class (Bean).Load (Outcome); end Op_Load; package Binding_Stat_List_Bean_1 is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Stat_List_Bean, Method => Op_Load, Name => "load"); Binding_Stat_List_Bean_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (1 => Binding_Stat_List_Bean_1.Proxy'Access ); -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression. -- ------------------------------ overriding function Get_Method_Bindings (From : in Stat_List_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Stat_List_Bean_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Get the bean attribute identified by the name. -- ------------------------------ overriding function Get_Value (From : in Stat_List_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "blog_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Blog_Id)); elsif Name = "post_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (From.Post_Id)); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Set the value identified by the name -- ------------------------------ overriding procedure Set_Value (Item : in out Stat_List_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin if Name = "blog_id" then Item.Blog_Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); elsif Name = "post_id" then Item.Post_Id := ADO.Identifier (Util.Beans.Objects.To_Long_Long_Integer (Value)); end if; end Set_Value; end AWA.Blogs.Models;
38.016814
93
0.586897
194199351bf42d8bd6a94b4d4997d73263150a37
6,395
ads
Ada
src/natools-static_hash_maps.ads
faelys/natools
947c004e6f69ca144942c6af40e102d089223cf8
[ "0BSD" ]
null
null
null
src/natools-static_hash_maps.ads
faelys/natools
947c004e6f69ca144942c6af40e102d089223cf8
[ "0BSD" ]
null
null
null
src/natools-static_hash_maps.ads
faelys/natools
947c004e6f69ca144942c6af40e102d089223cf8
[ "0BSD" ]
null
null
null
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Natools.Static_Hash_Maps is a code generator that outputs hash map -- -- packages based on GNAT.Perfect_Hash_Generator. -- -- This is mostly a text manipulation package, and no sanity checks are -- -- performed on input strings, they are inserted as-is in the output files. -- ------------------------------------------------------------------------------ private with Ada.Strings.Unbounded; private with Ada.Containers.Doubly_Linked_Lists; package Natools.Static_Hash_Maps is type Package_Categorization is (Pure, Preelaborate, Default_Categorization); type Map_Node is private; function Node (Key, Name : String) return Map_Node; type Node_Array is array (Positive range <>) of Map_Node; type Map_Description is private; type Map_Array is array (Positive range <>) of Map_Description; procedure Reset (Self : out Map_Description); procedure Insert (Self : in out Map_Description; Key : in String; Element_Name : in String); -- Add the pair Key and element designated by Name. procedure Set_Definite (Self : in out Map_Description); -- Use an array to store definite elements (default) procedure Set_Element_Type (Self : in out Map_Description; Name : in String); -- String used to desginate the returning type of the element function. -- This must be set. procedure Set_Function_Name (Self : in out Map_Description; Name : in String); -- Element function name, defaulting to "Element" procedure Set_Hash_Package_Name (Self : in out Map_Description; Name : in String); -- Set the package name where the perfect hash function will be write. -- Defaults to "<map package>.<element type>_Hash". procedure Set_Indefinite (Self : in out Map_Description; Indefinite : in Boolean := True); -- Set whether element type is indefinite (and returned by a function -- containing a case statement) or definite (and stored in a global -- array). procedure Set_Not_Found (Self : in out Map_Description; Name : in String); -- If non-empty, when element function is called with an unknown key, -- return the elemnet named Name instead of raising Constraint_Error. function Map (Element_Type : String; Nodes : Node_Array; Hash_Package_Name : String := ""; Function_Name : String := "Element"; Not_Found : String := ""; Indefinite : Boolean := False) return Map_Description; -- Create a map in a single call type Map_Package is private; procedure Open (Self : in out Map_Package; Name : in String; Private_Child : in Boolean := False); -- Reset Self and initialize it with the givan package Name procedure Set_Categorization (Self : in out Map_Package; Categorization : in Package_Categorization); procedure Set_Description (Self : in out Map_Package; Description : in String); procedure Set_Extra_Declarations (Self : in out Map_Package; Declarations : in String); procedure Set_Private_Child (Self : in out Map_Package; Private_Child : in Boolean := True); procedure Set_Test_Child (Self : in out Map_Package; Test_Child : in String); procedure Add_Map (Self : in out Map_Package; Map : in Map_Description); -- Append a new Map to Self procedure Commit (Self : in out Map_Package); -- Write accumulated package description to disk procedure Close (Self : in out Map_Package); -- Drop all internal state procedure Generate_Package (Name : in String; Single_Map : in Map_Description; Private_Child : in Boolean := False); procedure Generate_Package (Name : in String; Maps : in Map_Array; Private_Child : in Boolean := False); -- Build an internal Map_Package and commit it to disk -- in a single operation. private subtype String_Holder is Ada.Strings.Unbounded.Unbounded_String; function Hold (S : String) return String_Holder renames Ada.Strings.Unbounded.To_Unbounded_String; function To_String (H : String_Holder) return String renames Ada.Strings.Unbounded.To_String; type Map_Node is record Key, Name : String_Holder; end record; package Node_Lists is new Ada.Containers.Doubly_Linked_Lists (Map_Node); type Map_Description is record Element_Type : String_Holder; Hash_Package_Name : String_Holder; Function_Name : String_Holder; Not_Found : String_Holder; Nodes : Node_Lists.List; Indefinite : Boolean := False; end record; package Map_Lists is new Ada.Containers.Doubly_Linked_Lists (Map_Description); type Map_Package is record Name : String_Holder; Categorization : Package_Categorization := Default_Categorization; Description : String_Holder; Extra_Declarations : String_Holder; Test_Child : String_Holder; Priv : Boolean; Maps : Map_Lists.List; end record; end Natools.Static_Hash_Maps;
34.567568
79
0.63362
1e67b4df2f4e925e6235de010413614143ddd804
1,617
ads
Ada
tier-1/xcb/source/thin/xcb-xcb_glx_gen_textures_request_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_glx_gen_textures_request_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_glx_gen_textures_request_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
null
null
null
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_gen_textures_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; context_tag : aliased xcb.xcb_glx_context_tag_t; n : aliased Interfaces.Integer_32; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_gen_textures_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_gen_textures_request_t.Item, Element_Array => xcb.xcb_glx_gen_textures_request_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_glx_gen_textures_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_gen_textures_request_t.Pointer, Element_Array => xcb.xcb_glx_gen_textures_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_gen_textures_request_t;
28.368421
77
0.671614
8b39700b22677141149d5a551d0e87a48ca5093b
4,492
adb
Ada
lib/ayacc/ayacc-initialize.adb
alvaromb/Compilemon
de5f88f084705868d38e301d95bb4a19a46a1156
[ "MIT" ]
1
2018-08-11T01:51:27.000Z
2018-08-11T01:51:27.000Z
lib/ayacc/ayacc-initialize.adb
alvaromb/Compilemon
de5f88f084705868d38e301d95bb4a19a46a1156
[ "MIT" ]
null
null
null
lib/ayacc/ayacc-initialize.adb
alvaromb/Compilemon
de5f88f084705868d38e301d95bb4a19a46a1156
[ "MIT" ]
null
null
null
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/ayacc_separates.a,v 1.1 88/08/08 12:07:39 arcadia Exp $ -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were David Taback and Deepak Tolani. -- Enhancements were made by Ronald J. Schmalz. -- -- Send requests for ayacc information to [email protected] -- Send bug reports for ayacc to [email protected] -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and this paragraph are -- duplicated in all such forms and that any documentation, -- advertising materials, and other materials related to such -- distribution and use acknowledge that the software was developed -- by the University of California, Irvine. The name of the -- University may not be used to endorse or promote products derived -- from this software without specific prior written permission. -- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -- Module : ayacc_separates.ada -- Component of : ayacc -- Version : 1.2 -- Date : 11/21/86 12:28:51 -- SCCS File : disk21~/rschm/hasee/sccs/ayacc/sccs/sxayacc_separates.ada -- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/ayacc_separates.a,v 1.1 88/08/08 12:07:39 arcadia Exp $ -- $Log: ayacc_separates.a,v $ --Revision 1.1 88/08/08 12:07:39 arcadia --Initial revision -- -- Revision 0.0 86/02/19 18:36:14 ada -- -- These files comprise the initial version of Ayacc -- designed and implemented by David Taback and Deepak Tolani. -- Ayacc has been compiled and tested under the Verdix Ada compiler -- version 4.06 on a vax 11/750 running Unix 4.2BSD. -- -- Revision 0.1 88/03/16 -- Additional argument added to allow user to specify file extension -- to be used for generated Ada files. -- kn with String_Pkg; use String_Pkg; separate (Ayacc) procedure Initialize is use Ayacc_File_Names, Options; Input_File, Extension, Options : String_Type := Create (""); type Switch is ( On , Off ); C_Lex_Flag, Debug_Flag, Summary_Flag, -- UMASS CODES : Error_Recovery_Flag, -- END OF UMASS CODES. Verbose_Flag : Switch; Invalid_Command_Line : exception; procedure Get_Arguments (File : out String_Type; C_Lex : out Switch; Debug : out Switch; Summary : out Switch; Verbose : out Switch; -- UMASS CODES : Error_Recovery : out Switch; -- END OF UMASS CODES. Extension : out String_Type) is separate; begin Get_Arguments (Input_File, C_Lex_Flag, Debug_Flag, Summary_Flag, Verbose_Flag, -- UMASS CODES : Error_Recovery_Flag, -- END OF UMASS CODES. Extension); New_Line; Put_Line (" Ayacc (File => """ & Value (Input_File) & ""","); Put_Line (" C_Lex => " & Value (Mixed (Switch'Image(C_Lex_Flag))) & ','); Put_Line (" Debug => " & Value (Mixed (Switch'Image(Debug_Flag))) & ','); Put_Line (" Summary => " & Value (Mixed (Switch'Image(Summary_Flag))) & ','); Put_Line (" Verbose => " & Value (Mixed (Switch'Image(Verbose_Flag))) & ","); -- UMASS CODES : Put_Line (" Error_Recovery => " & Value (Mixed (Switch'Image(Error_Recovery_Flag))) & ","); -- END OF UMASS CODES. Put_Line (" Extension => """ & Value (Extension) & """);"); New_Line; if C_Lex_Flag = On then Options := Options & Create ("i"); end if; if Debug_Flag = On then Options := Options & Create ("d"); end if; if Summary_Flag = On then Options := Options & Create ("s"); end if; if Verbose_Flag = On then Options := Options & Create ("v"); end if; -- UMASS CODES : if Error_Recovery_Flag = On then Options := Options & Create ("e"); end if; -- END OF UMASS CODES. Set_File_Names (Value (Input_File), Value(Extension)); Set_Options (Value (Options)); exception when Invalid_Command_Line => raise Illegal_Argument_List; end Initialize;
33.522388
108
0.622217
137ebe6713db958d96de0c37d306e7836fda7b23
6,246
adb
Ada
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-pack23.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-pack23.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-pack23.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 2 3 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-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. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_23 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_23; 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_23 -- ------------ function Get_23 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_23 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_23; ------------ -- Set_23 -- ------------ procedure Set_23 (Arr : System.Address; N : Natural; E : Bits_23; 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_23; end System.Pack_23;
39.531646
78
0.434198
037bab9eabe6bcb770ed7b514d1c994b4f1c93b9
4,028
ads
Ada
src.prep/audio-wavefiles-generic_direct_NUM_TYPE_wav_io.ads
Ada-Audio/wavefiles
8e1162c5b9dc604a835f60be6a78e8f9d3c85052
[ "MIT" ]
10
2016-02-29T09:35:56.000Z
2020-05-16T02:55:20.000Z
src.prep/audio-wavefiles-generic_direct_NUM_TYPE_wav_io.ads
gusthoff/wavefiles
8e1162c5b9dc604a835f60be6a78e8f9d3c85052
[ "MIT" ]
null
null
null
src.prep/audio-wavefiles-generic_direct_NUM_TYPE_wav_io.ads
gusthoff/wavefiles
8e1162c5b9dc604a835f60be6a78e8f9d3c85052
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! -- -- -- -- WAVEFILES -- -- -- -- Wavefile data I/O operations -- -- -- -- The MIT License (MIT) -- -- -- -- Copyright (c) 2015 -- 2021 Gustavo A. Hoffmann -- -- -- -- 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. -- ------------------------------------------------------------------------------ generic #if (NUM_TYPE = "FLOAT") then type Wav_Sample is digits <>; #else type Wav_Sample is delta <>; #end if; type Channel_Range is (<>); type Wav_MC_Sample is array (Channel_Range range <>) of Wav_Sample; #if NUM_TYPE'Defined and then (NUM_TYPE = "FLOAT") then package Audio.Wavefiles.Generic_Direct_Float_Wav_IO is #else package Audio.Wavefiles.Generic_Direct_Fixed_Wav_IO is #end if; function Wav_Format_Matches (WF : Wavefile) return Boolean with Ghost; function Get (WF : in out Wavefile) return Wav_MC_Sample with Inline, Pre => Mode (WF) = In_File and then Wav_Format_Matches (WF); procedure Get (WF : in out Wavefile; Wav : out Wav_MC_Sample) with Inline, Pre => Mode (WF) = In_File and then Wav_Format_Matches (WF); procedure Put (WF : in out Wavefile; Wav : Wav_MC_Sample) with Inline, Pre => Mode (WF) = Out_File and then Wav'Length >= Number_Of_Channels (WF) and then Wav_Format_Matches (WF); private function Wav_Format_Matches (WF : Wavefile) return Boolean is (To_Positive (WF.Bit_Depth) = Wav_Sample'Size #if NUM_TYPE'Defined and then (NUM_TYPE = "FLOAT") then and then WF.Format_Of_Wavefile.Is_Float_Format); #else and then not WF.Format_Of_Wavefile.Is_Float_Format); #end if; #if NUM_TYPE'Defined and then (NUM_TYPE = "FLOAT") then end Audio.Wavefiles.Generic_Direct_Float_Wav_IO; #else end Audio.Wavefiles.Generic_Direct_Fixed_Wav_IO; #end if;
50.35
78
0.499007
9a115106672327b8ed3fbf6783a348c0d40909d1
2,787
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/s-intman-dummy.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-intman-dummy.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/s-intman-dummy.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
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 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1997-2005 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, 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. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This is a NO tasking version of this package. package body System.Interrupt_Management is ---------------- -- Initialize -- ---------------- procedure Initialize is begin null; end Initialize; end System.Interrupt_Management;
58.0625
78
0.435235
1925dc97bdcd427415411a081027e61f74f88a75
3,564
ads
Ada
tools/xml2ayacc/nodes-database.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
4
2016-02-05T15:51:56.000Z
2022-03-25T20:38:32.000Z
tools/xml2ayacc/nodes-database.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
tools/xml2ayacc/nodes-database.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of this file -- ------------------------------------------------------------------------------ -- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $ package Nodes.Database is type Node_Index is range 1 .. 250; type Attribute_Index is range 1 .. 50; function Last_Node return Node_Index; function Node_Name (Node : Node_Index) return String; function Last_Attribute (Node : Node_Index) return Attribute_Index; function Attribute_Name (Node : Node_Index; Attribute : Attribute_Index) return String; function Attribute_Type (Node : Node_Index; Attribute : Attribute_Index) return String; procedure Find_Node (Name : in String; Node : out Node_Index; Found : out Boolean); procedure Find_Attribute (Name : in String; Node : in Node_Index; Attribute : out Attribute_Index; Found : out Boolean); procedure Find_Attribute_By_Type (Type_Name : in String; Node : in Node_Index; Attribute : out Attribute_Index; Found : out Boolean); procedure Create_Node (Name : String; Parent : String); procedure Create_Attribute (Name : String; Type_Name : String); end Nodes.Database; ------------------------------------------------------------------------------ -- Copyright (c) 2006, Maxim Reznik -- 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 Maxim Reznik, 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 OWNER 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. ------------------------------------------------------------------------------
40.5
79
0.58642
1969067c87325bf449e2c6d4e43c889138d7a97e
901
adb
Ada
tests/ships-movement-test_data.adb
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
80
2017-04-08T23:14:07.000Z
2022-02-10T22:30:51.000Z
tests/ships-movement-test_data.adb
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
89
2017-06-24T08:18:26.000Z
2021-11-12T04:37:36.000Z
tests/ships-movement-test_data.adb
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
9
2018-04-14T16:37:25.000Z
2020-03-21T14:33:49.000Z
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Ada.Text_IO; use Ada.Text_IO; with Config; use Config; with Game; use Game; package body Ships.Movement.Test_Data is procedure Set_Up(Gnattest_T: in out Test) is pragma Unreferenced(Gnattest_T); begin New_Game_Settings.Player_Faction := To_Unbounded_String("POLEIS"); New_Game_Settings.Player_Career := To_Unbounded_String("general"); New_Game_Settings.Starting_Base := To_Unbounded_String("1"); New_Game; end Set_Up; procedure Tear_Down(Gnattest_T: in out Test) is pragma Unreferenced(Gnattest_T); begin null; end Tear_Down; end Ships.Movement.Test_Data;
33.37037
75
0.740289
38627d2bdf4b16fd5e3b5a191da9844165c7d825
1,778
ads
Ada
src/main/resources/project-templates/aws_web_server_blocks/src/@[email protected]
georgemackayshore/Ada-IntelliJ
581f87237a610b3142aed20358b955bdca807213
[ "Apache-2.0" ]
17
2018-10-03T21:31:03.000Z
2021-01-22T04:16:05.000Z
src/main/resources/project-templates/aws_web_server_blocks/src/@[email protected]
georgemackayshore/Ada-IntelliJ
581f87237a610b3142aed20358b955bdca807213
[ "Apache-2.0" ]
20
2018-11-01T21:17:09.000Z
2021-10-01T18:57:20.000Z
src/main/resources/project-templates/aws_web_server_blocks/src/@[email protected]
georgemackayshore/Ada-IntelliJ
581f87237a610b3142aed20358b955bdca807213
[ "Apache-2.0" ]
4
2020-04-14T15:02:37.000Z
2022-03-10T20:35:54.000Z
with AWS.Config; with AWS.Response; with AWS.Services.Dispatchers.URI; with AWS.Status; package @[email protected] is use AWS; procedure Initialize (Web_Config : in Config.Object); -- Initialize state in this package depending on the HTTP configuration. -- For example it sets the web root for all dispatchers. All resources -- (templates, images, CSS file...) will be searched under this root -- directory. ------------- -- Default -- ------------- type Default is new Services.Dispatchers.URI.Handler with private; -- Handle everything not covered by the other dispatchers (CSS, Image) overriding function Dispatch (Dispatcher : in Default; Request : in Status.Data) return Response.Data; --------- -- CSS -- --------- type CSS is new Services.Dispatchers.URI.Handler with private; overriding function Dispatch (Dispatcher : in CSS; Request : in Status.Data) return Response.Data; --------- -- JS -- --------- type JS is new Services.Dispatchers.URI.Handler with private; overriding function Dispatch (Dispatcher : in JS; Request : in Status.Data) return Response.Data; ----------- -- Image -- ----------- type Image is new Services.Dispatchers.URI.Handler with private; overriding function Dispatch (Dispatcher : in Image; Request : in Status.Data) return Response.Data; private type Default is new Services.Dispatchers.URI.Handler with null record; type CSS is new Services.Dispatchers.URI.Handler with null record; type JS is new Services.Dispatchers.URI.Handler with null record; type Image is new Services.Dispatchers.URI.Handler with null record; end @[email protected];
25.768116
76
0.667604
a0ad135c26ab1bdc62fc37540d0702038dc616b6
167
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect18.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/vect18.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect18.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
package Vect18 is type Sarray is array (1 .. 4) of Long_Float; for Sarray'Alignment use 16; procedure Comp (X, Y : Sarray; R : in out Sarray); end Vect18;
18.555556
53
0.664671
a0e1a24e29a5c48e487e9578d9e414c1ceb543d3
2,992
ads
Ada
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-byteorder-extra.ads
Lucretia/old_nehe_ada95
d0378c3bfce202eb01bf00b57c128735dbe8582d
[ "BSD-3-Clause" ]
null
null
null
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-byteorder-extra.ads
Lucretia/old_nehe_ada95
d0378c3bfce202eb01bf00b57c128735dbe8582d
[ "BSD-3-Clause" ]
null
null
null
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-byteorder-extra.ads
Lucretia/old_nehe_ada95
d0378c3bfce202eb01bf00b57c128735dbe8582d
[ "BSD-3-Clause" ]
null
null
null
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- Antonio M. F. Vargas -- -- Ponta Delgada - Azores - Portugal -- -- http://www.adapower.net/~avargas -- -- E-mail: [email protected] -- -- ----------------------------------------------------------------- -- -- -- -- This library 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 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 -- -- General Public License for more details. -- -- -- -- You should have received a copy of the GNU 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. -- -- -- -- 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 is an Ada binding to SDL ( Simple DirectMedia Layer from -- -- Sam Lantinga - www.libsld.org ) -- -- **************************************************************** -- -- In order to help the Ada programmer, the comments in this file -- -- are, in great extent, a direct copy of the original text in the -- -- SDL header files. -- -- **************************************************************** -- package SDL.Byteorder.Extra is BYTE_ORDER : constant C.int := Get_Byte_Order; end SDL.Byteorder.Extra;
61.061224
71
0.42246
1328ab380a9d113f2369a8db1b20d57a2ebb7686
5,064
adb
Ada
source/web/servlet/http/servlet-http_cookie_sets.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/web/servlet/http/servlet-http_cookie_sets.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/web/servlet/http/servlet-http_cookie_sets.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2015, 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$ ------------------------------------------------------------------------------ package body Servlet.HTTP_Cookie_Sets is use type League.Strings.Universal_String; ------------ -- Append -- ------------ procedure Append (Self : in out Cookie_Set'Class; Cookie : Servlet.HTTP_Cookies.Cookie) is begin Self.Data.Append (Cookie); end Append; ------------- -- Element -- ------------- function Element (Self : Cookie_Set'Class; Index : Positive) return Servlet.HTTP_Cookies.Cookie is begin return Self.Data.Element (Index); end Element; ------------- -- Element -- ------------- function Element (Self : Cookie_Set'Class; Name : League.Strings.Universal_String) return Servlet.HTTP_Cookies.Cookie is N : constant League.Strings.Universal_String := Name.To_Simple_Uppercase; begin for Cookie of Self.Data loop if Cookie.Get_Name.To_Simple_Uppercase = N then return Cookie; end if; end loop; return Servlet.HTTP_Cookies.Empty_Cookie; end Element; ----------------- -- Has_Element -- ----------------- function Has_Element (Self : Cookie_Set'Class; Name : League.Strings.Universal_String) return Boolean is N : constant League.Strings.Universal_String := Name.To_Simple_Uppercase; begin for Cookie of Self.Data loop if Cookie.Get_Name.To_Simple_Uppercase = N then return True; end if; end loop; return False; end Has_Element; ------------ -- Length -- ------------ function Length (Self : Cookie_Set'Class) return Natural is begin return Natural (Self.Data.Length); end Length; end Servlet.HTTP_Cookie_Sets;
40.83871
78
0.454186
137ce0636cd01a14da66b385deecd438cceb3e57
6,246
adb
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-pack43.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-pack43.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-pack43.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 4 3 -- -- -- -- 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 System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_43 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_43; 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_43 -- ------------ function Get_43 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_43 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_43; ------------ -- Set_43 -- ------------ procedure Set_43 (Arr : System.Address; N : Natural; E : Bits_43; 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_43; end System.Pack_43;
39.531646
78
0.460775
0335393f3154b6d5e5b2b771f3fbc0bf67d8f022
4,916
adb
Ada
testsuite/xml/TN-20/test_20.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
testsuite/xml/TN-20/test_20.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
testsuite/xml/TN-20/test_20.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Testsuite Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010-2014, 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$ ------------------------------------------------------------------------------ -- Initial implementation of SAX reader was unable to be reused several times -- to read different documents. ------------------------------------------------------------------------------ with Ada.Command_Line; with League.Strings; with XML.SAX.Simple_Readers; with XML.SAX.String_Input_Sources; with Put_Line; with Read_File; with SAX_Events_Writers; procedure Test_20 is use type League.Strings.Universal_String; Source : aliased XML.SAX.String_Input_Sources.String_Input_Source; Reader : aliased XML.SAX.Simple_Readers.Simple_Reader; Writer : aliased SAX_Events_Writers.SAX_Events_Writer; Root : constant String := Ada.Command_Line.Argument (1); XML1 : constant League.Strings.Universal_String := Read_File (Root & "20-1.xml"); XML2 : constant League.Strings.Universal_String := Read_File (Root & "20-2.xml"); Expected : constant League.Strings.Universal_String := Read_File (Root & "20-expected.xml"); begin Reader.Set_Content_Handler (Writer'Unchecked_Access); Reader.Set_Entity_Resolver (Writer'Unchecked_Access); Reader.Set_Error_Handler (Writer'Unchecked_Access); -- Parse first XML document. Source.Set_String (XML1); Reader.Parse (Source'Access); -- Parse second XML document. Source.Set_String (XML2); Reader.Parse (Source'Access); -- Check sequence of SAX events. Writer.Done; if Writer.Text /= Expected then Put_Line ("Expected: '" & Expected & '''); Put_Line ("Actual : '" & Writer.Text & '''); raise Program_Error; end if; end Test_20;
49.16
78
0.480269
8b5690e20e55715a1d69c8a3f4bcb2446c5ae738
7,304
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34002a.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/c34002a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34002a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C34002A.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 THE REQUIRED PREDEFINED OPERATIONS ARE DECLARED -- (IMPLICITLY) FOR DERIVED INTEGER TYPES. -- JRK 8/21/86 WITH SYSTEM; USE SYSTEM; WITH REPORT; USE REPORT; PROCEDURE C34002A IS TYPE PARENT IS RANGE -100 .. 100; SUBTYPE SUBPARENT IS PARENT RANGE PARENT'VAL (IDENT_INT (-50)) .. PARENT'VAL (IDENT_INT ( 50)); TYPE T IS NEW SUBPARENT RANGE PARENT'VAL (IDENT_INT (-30)) .. PARENT'VAL (IDENT_INT ( 30)); TYPE FIXED IS DELTA 0.1 RANGE -1000.0 .. 1000.0; X : T := -30; W : PARENT := -100; N : CONSTANT := 1; M : CONSTANT := 100; B : BOOLEAN := FALSE; F : FLOAT := 0.0; G : FIXED := 0.0; PROCEDURE A (X : ADDRESS) IS BEGIN B := IDENT_BOOL (TRUE); END A; FUNCTION IDENT (X : T) RETURN T IS BEGIN IF EQUAL (T'POS (X), T'POS (X)) THEN RETURN X; -- ALWAYS EXECUTED. END IF; RETURN T'FIRST; END IDENT; BEGIN TEST ("C34002A", "CHECK THAT THE REQUIRED PREDEFINED OPERATIONS " & "ARE DECLARED (IMPLICITLY) FOR DERIVED " & "INTEGER TYPES"); X := IDENT (30); IF X /= 30 THEN FAILED ("INCORRECT :="); END IF; IF T'(X) /= 30 THEN FAILED ("INCORRECT QUALIFICATION"); END IF; IF T (X) /= 30 THEN FAILED ("INCORRECT SELF CONVERSION"); END IF; IF EQUAL (3, 3) THEN W := -30; END IF; IF T (W) /= -30 THEN FAILED ("INCORRECT CONVERSION FROM PARENT"); END IF; IF PARENT (X) /= 30 OR PARENT (T'VAL (-100)) /= -100 THEN FAILED ("INCORRECT CONVERSION TO PARENT"); END IF; IF T (IDENT_INT (-30)) /= -30 THEN FAILED ("INCORRECT CONVERSION FROM INTEGER"); END IF; IF INTEGER (X) /= 30 OR INTEGER (T'VAL (-100)) /= -100 THEN FAILED ("INCORRECT CONVERSION TO INTEGER"); END IF; IF EQUAL (3, 3) THEN F := -30.0; END IF; IF T (F) /= -30 THEN FAILED ("INCORRECT CONVERSION FROM FLOAT"); END IF; IF FLOAT (X) /= 30.0 OR FLOAT (T'VAL (-100)) /= -100.0 THEN FAILED ("INCORRECT CONVERSION TO FLOAT"); END IF; IF EQUAL (3, 3) THEN G := -30.0; END IF; IF T (G) /= -30 THEN FAILED ("INCORRECT CONVERSION FROM FIXED"); END IF; IF FIXED (X) /= 30.0 OR FIXED (T'VAL (-100)) /= -100.0 THEN FAILED ("INCORRECT CONVERSION TO FIXED"); END IF; IF IDENT (N) /= 1 OR X = M THEN FAILED ("INCORRECT IMPLICIT CONVERSION"); END IF; IF IDENT (30) /= 30 OR X = 100 THEN FAILED ("INCORRECT INTEGER LITERAL"); END IF; IF X = IDENT (0) OR X = 100 THEN FAILED ("INCORRECT ="); END IF; IF X /= IDENT (30) OR NOT (X /= 100) THEN FAILED ("INCORRECT /="); END IF; IF X < IDENT (30) OR 100 < X THEN FAILED ("INCORRECT <"); END IF; IF X > IDENT (30) OR X > 100 THEN FAILED ("INCORRECT >"); END IF; IF X <= IDENT (0) OR 100 <= X THEN FAILED ("INCORRECT <="); END IF; IF IDENT (0) >= X OR X >= 100 THEN FAILED ("INCORRECT >="); END IF; IF NOT (X IN T) OR 100 IN T THEN FAILED ("INCORRECT ""IN"""); END IF; IF X NOT IN T OR NOT (100 NOT IN T) THEN FAILED ("INCORRECT ""NOT IN"""); END IF; IF +X /= 30 OR +T'VAL(-100) /= -100 THEN FAILED ("INCORRECT UNARY +"); END IF; IF -X /= 0 - 30 OR -T'VAL(-100) /= 100 THEN FAILED ("INCORRECT UNARY -"); END IF; IF ABS X /= 30 OR ABS T'VAL (-100) /= 100 THEN FAILED ("INCORRECT ABS"); END IF; IF X + IDENT (-1) /= 29 OR X + 70 /= 100 THEN FAILED ("INCORRECT BINARY +"); END IF; IF X - IDENT (30) /= 0 OR X - 100 /= -70 THEN FAILED ("INCORRECT BINARY -"); END IF; IF X * IDENT (-1) /= -30 OR IDENT (2) * 50 /= 100 THEN FAILED ("INCORRECT *"); END IF; IF X / IDENT (3) /= 10 OR 90 / X /= 3 THEN FAILED ("INCORRECT /"); END IF; IF X MOD IDENT (7) /= 2 OR 100 MOD X /= 10 THEN FAILED ("INCORRECT MOD"); END IF; IF X REM IDENT (7) /= 2 OR 100 REM X /= 10 THEN FAILED ("INCORRECT REM"); END IF; IF X ** IDENT_INT (1) /= 30 OR T'VAL (100) ** IDENT_INT (1) /= 100 THEN FAILED ("INCORRECT **"); END IF; B := FALSE; A (X'ADDRESS); IF NOT B THEN FAILED ("INCORRECT 'ADDRESS"); END IF; IF T'BASE'SIZE < 8 THEN FAILED ("INCORRECT 'BASE'SIZE"); END IF; IF T'FIRST /= -30 OR T'POS (T'BASE'FIRST) /= PARENT'POS (PARENT'BASE'FIRST) THEN FAILED ("INCORRECT 'FIRST"); END IF; IF T'IMAGE (X) /= " 30" OR T'IMAGE (-100) /= "-100" THEN FAILED ("INCORRECT 'IMAGE"); END IF; IF T'LAST /= 30 OR T'POS (T'BASE'LAST) /= PARENT'POS (PARENT'BASE'LAST) THEN FAILED ("INCORRECT 'LAST"); END IF; IF T'POS (X) /= 30 OR T'POS (-100) /= -100 THEN FAILED ("INCORRECT 'POS"); END IF; IF T'PRED (X) /= 29 OR T'PRED (100) /= 99 THEN FAILED ("INCORRECT 'PRED"); END IF; IF T'SIZE < 6 THEN FAILED ("INCORRECT TYPE'SIZE"); END IF; IF X'SIZE < 6 THEN FAILED ("INCORRECT OBJECT'SIZE"); END IF; IF T'SUCC (IDENT (29)) /= X OR T'SUCC (99) /= 100 THEN FAILED ("INCORRECT 'SUCC"); END IF; IF T'VAL (IDENT_INT (30)) /= X OR T'VAL (100) /= 100 THEN FAILED ("INCORRECT 'VAL"); END IF; IF T'VALUE (IDENT_STR ("30")) /= X OR T'VALUE ("100") /= 100 THEN FAILED ("INCORRECT 'VALUE"); END IF; IF T'WIDTH /= 3 OR T'BASE'WIDTH < 4 THEN FAILED ("INCORRECT 'WIDTH"); END IF; RESULT; END C34002A;
27.458647
79
0.525739
38249da39c472f96e0e3686af9b71f6ff263f33d
43,886
ads
Ada
SVD2ada/svd/stm32_svd-adc.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
SVD2ada/svd/stm32_svd-adc.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
SVD2ada/svd/stm32_svd-adc.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.ADC is pragma Preelaborate; --------------- -- Registers -- --------------- -- ISR_AWD array type ISR_AWD_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ISR_AWD type ISR_AWD_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AWD as a value Val : HAL.UInt3; when True => -- AWD as an array Arr : ISR_AWD_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ISR_AWD_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC interrupt and status register type ISR_Register is record -- ADC ready flag ADRDY : Boolean := False; -- ADC group regular end of sampling flag EOSMP : Boolean := False; -- ADC group regular end of unitary conversion flag EOC : Boolean := False; -- ADC group regular end of sequence conversions flag EOS : Boolean := False; -- ADC group regular overrun flag OVR : Boolean := False; -- ADC group injected end of unitary conversion flag JEOC : Boolean := False; -- ADC group injected end of sequence conversions flag JEOS : Boolean := False; -- ADC analog watchdog 1 flag AWD : ISR_AWD_Field := (As_Array => False, Val => 16#0#); -- ADC group injected contexts queue overflow flag JQOVF : Boolean := False; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- ADC LDO output voltage ready flag LDORDY : Boolean := False; -- unspecified Reserved_13_31 : HAL.UInt19 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record ADRDY at 0 range 0 .. 0; EOSMP at 0 range 1 .. 1; EOC at 0 range 2 .. 2; EOS at 0 range 3 .. 3; OVR at 0 range 4 .. 4; JEOC at 0 range 5 .. 5; JEOS at 0 range 6 .. 6; AWD at 0 range 7 .. 9; JQOVF at 0 range 10 .. 10; Reserved_11_11 at 0 range 11 .. 11; LDORDY at 0 range 12 .. 12; Reserved_13_31 at 0 range 13 .. 31; end record; -- ADC interrupt enable register type IER_Register is record -- ADC ready interrupt ADRDYIE : Boolean := False; -- ADC group regular end of sampling interrupt EOSMPIE : Boolean := False; -- ADC group regular end of unitary conversion interrupt EOCIE : Boolean := False; -- ADC group regular end of sequence conversions interrupt EOSIE : Boolean := False; -- ADC group regular overrun interrupt OVRIE : Boolean := False; -- ADC group injected end of unitary conversion interrupt JEOCIE : Boolean := False; -- ADC group injected end of sequence conversions interrupt JEOSIE : Boolean := False; -- ADC analog watchdog 1 interrupt AWD1IE : Boolean := False; -- ADC analog watchdog 2 interrupt AWD2IE : Boolean := False; -- ADC analog watchdog 3 interrupt AWD3IE : Boolean := False; -- ADC group injected contexts queue overflow interrupt JQOVFIE : Boolean := False; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for IER_Register use record ADRDYIE at 0 range 0 .. 0; EOSMPIE at 0 range 1 .. 1; EOCIE at 0 range 2 .. 2; EOSIE at 0 range 3 .. 3; OVRIE at 0 range 4 .. 4; JEOCIE at 0 range 5 .. 5; JEOSIE at 0 range 6 .. 6; AWD1IE at 0 range 7 .. 7; AWD2IE at 0 range 8 .. 8; AWD3IE at 0 range 9 .. 9; JQOVFIE at 0 range 10 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- CR_LINCALRDYW array type CR_LINCALRDYW_Field_Array is array (1 .. 6) of Boolean with Component_Size => 1, Size => 6; -- Type definition for CR_LINCALRDYW type CR_LINCALRDYW_Field (As_Array : Boolean := False) is record case As_Array is when False => -- LINCALRDYW as a value Val : HAL.UInt6; when True => -- LINCALRDYW as an array Arr : CR_LINCALRDYW_Field_Array; end case; end record with Unchecked_Union, Size => 6; for CR_LINCALRDYW_Field use record Val at 0 range 0 .. 5; Arr at 0 range 0 .. 5; end record; -- ADC control register type CR_Register is record -- ADC enable ADEN : Boolean := False; -- ADC disable ADDIS : Boolean := False; -- ADC group regular conversion start ADSTART : Boolean := False; -- ADC group injected conversion start JADSTART : Boolean := False; -- ADC group regular conversion stop ADSTP : Boolean := False; -- ADC group injected conversion stop JADSTP : Boolean := False; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; -- Boost mode control BOOST : Boolean := False; -- unspecified Reserved_9_15 : HAL.UInt7 := 16#0#; -- Linearity calibration ADCALLIN : Boolean := False; -- unspecified Reserved_17_21 : HAL.UInt5 := 16#0#; -- Linearity calibration ready Word 1 LINCALRDYW : CR_LINCALRDYW_Field := (As_Array => False, Val => 16#0#); -- ADC voltage regulator enable ADVREGEN : Boolean := False; -- ADC deep power down enable DEEPPWD : Boolean := False; -- ADC differential mode for calibration ADCALDIF : Boolean := False; -- ADC calibration ADCAL : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR_Register use record ADEN at 0 range 0 .. 0; ADDIS at 0 range 1 .. 1; ADSTART at 0 range 2 .. 2; JADSTART at 0 range 3 .. 3; ADSTP at 0 range 4 .. 4; JADSTP at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; BOOST at 0 range 8 .. 8; Reserved_9_15 at 0 range 9 .. 15; ADCALLIN at 0 range 16 .. 16; Reserved_17_21 at 0 range 17 .. 21; LINCALRDYW at 0 range 22 .. 27; ADVREGEN at 0 range 28 .. 28; DEEPPWD at 0 range 29 .. 29; ADCALDIF at 0 range 30 .. 30; ADCAL at 0 range 31 .. 31; end record; subtype CFGR_DMNGT_Field is HAL.UInt2; subtype CFGR_RES_Field is HAL.UInt3; subtype CFGR_EXTSEL_Field is HAL.UInt5; subtype CFGR_EXTEN_Field is HAL.UInt2; subtype CFGR_DISCNUM_Field is HAL.UInt3; subtype CFGR_AWD1CH_Field is HAL.UInt5; -- ADC configuration register 1 type CFGR_Register is record -- ADC DMA transfer enable DMNGT : CFGR_DMNGT_Field := 16#0#; -- ADC data resolution RES : CFGR_RES_Field := 16#0#; -- ADC group regular external trigger source EXTSEL : CFGR_EXTSEL_Field := 16#0#; -- ADC group regular external trigger polarity EXTEN : CFGR_EXTEN_Field := 16#0#; -- ADC group regular overrun configuration OVRMOD : Boolean := False; -- ADC group regular continuous conversion mode CONT : Boolean := False; -- ADC low power auto wait AUTDLY : Boolean := False; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- ADC group regular sequencer discontinuous mode DISCEN : Boolean := False; -- ADC group regular sequencer discontinuous number of ranks DISCNUM : CFGR_DISCNUM_Field := 16#0#; -- ADC group injected sequencer discontinuous mode JDISCEN : Boolean := False; -- ADC group injected contexts queue mode JQM : Boolean := False; -- ADC analog watchdog 1 monitoring a single channel or all channels AWD1SGL : Boolean := False; -- ADC analog watchdog 1 enable on scope ADC group regular AWD1EN : Boolean := False; -- ADC analog watchdog 1 enable on scope ADC group injected JAWD1EN : Boolean := False; -- ADC group injected automatic trigger mode JAUTO : Boolean := False; -- ADC analog watchdog 1 monitored channel selection AWD1CH : CFGR_AWD1CH_Field := 16#0#; -- ADC group injected contexts queue disable JQDIS : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CFGR_Register use record DMNGT at 0 range 0 .. 1; RES at 0 range 2 .. 4; EXTSEL at 0 range 5 .. 9; EXTEN at 0 range 10 .. 11; OVRMOD at 0 range 12 .. 12; CONT at 0 range 13 .. 13; AUTDLY at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; DISCEN at 0 range 16 .. 16; DISCNUM at 0 range 17 .. 19; JDISCEN at 0 range 20 .. 20; JQM at 0 range 21 .. 21; AWD1SGL at 0 range 22 .. 22; AWD1EN at 0 range 23 .. 23; JAWD1EN at 0 range 24 .. 24; JAUTO at 0 range 25 .. 25; AWD1CH at 0 range 26 .. 30; JQDIS at 0 range 31 .. 31; end record; subtype CFGR2_OVSS_Field is HAL.UInt4; -- CFGR2_RSHIFT array type CFGR2_RSHIFT_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for CFGR2_RSHIFT type CFGR2_RSHIFT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- RSHIFT as a value Val : HAL.UInt4; when True => -- RSHIFT as an array Arr : CFGR2_RSHIFT_Field_Array; end case; end record with Unchecked_Union, Size => 4; for CFGR2_RSHIFT_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype CFGR2_OSR_Field is HAL.UInt10; subtype CFGR2_LSHIFT_Field is HAL.UInt4; -- ADC configuration register 2 type CFGR2_Register is record -- ADC oversampler enable on scope ADC group regular ROVSE : Boolean := False; -- ADC oversampler enable on scope ADC group injected JOVSE : Boolean := False; -- unspecified Reserved_2_4 : HAL.UInt3 := 16#0#; -- ADC oversampling shift OVSS : CFGR2_OVSS_Field := 16#0#; -- ADC oversampling discontinuous mode (triggered mode) for ADC group -- regular TROVS : Boolean := False; -- Regular Oversampling mode ROVSM : Boolean := False; -- Right-shift data after Offset 1 correction RSHIFT : CFGR2_RSHIFT_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- Oversampling ratio OSR : CFGR2_OSR_Field := 16#0#; -- unspecified Reserved_26_27 : HAL.UInt2 := 16#0#; -- Left shift factor LSHIFT : CFGR2_LSHIFT_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CFGR2_Register use record ROVSE at 0 range 0 .. 0; JOVSE at 0 range 1 .. 1; Reserved_2_4 at 0 range 2 .. 4; OVSS at 0 range 5 .. 8; TROVS at 0 range 9 .. 9; ROVSM at 0 range 10 .. 10; RSHIFT at 0 range 11 .. 14; Reserved_15_15 at 0 range 15 .. 15; OSR at 0 range 16 .. 25; Reserved_26_27 at 0 range 26 .. 27; LSHIFT at 0 range 28 .. 31; end record; -- SMPR1_SMP array element subtype SMPR1_SMP_Element is HAL.UInt3; -- SMPR1_SMP array type SMPR1_SMP_Field_Array is array (1 .. 9) of SMPR1_SMP_Element with Component_Size => 3, Size => 27; -- Type definition for SMPR1_SMP type SMPR1_SMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SMP as a value Val : HAL.UInt27; when True => -- SMP as an array Arr : SMPR1_SMP_Field_Array; end case; end record with Unchecked_Union, Size => 27; for SMPR1_SMP_Field use record Val at 0 range 0 .. 26; Arr at 0 range 0 .. 26; end record; -- ADC sampling time register 1 type SMPR1_Register is record -- unspecified Reserved_0_2 : HAL.UInt3 := 16#0#; -- ADC channel 1 sampling time selection SMP : SMPR1_SMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SMPR1_Register use record Reserved_0_2 at 0 range 0 .. 2; SMP at 0 range 3 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; -- SMPR2_SMP array element subtype SMPR2_SMP_Element is HAL.UInt3; -- SMPR2_SMP array type SMPR2_SMP_Field_Array is array (10 .. 19) of SMPR2_SMP_Element with Component_Size => 3, Size => 30; -- Type definition for SMPR2_SMP type SMPR2_SMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SMP as a value Val : HAL.UInt30; when True => -- SMP as an array Arr : SMPR2_SMP_Field_Array; end case; end record with Unchecked_Union, Size => 30; for SMPR2_SMP_Field use record Val at 0 range 0 .. 29; Arr at 0 range 0 .. 29; end record; -- ADC sampling time register 2 type SMPR2_Register is record -- ADC channel 10 sampling time selection SMP : SMPR2_SMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SMPR2_Register use record SMP at 0 range 0 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype PCSEL_PCSEL_Field is HAL.UInt20; -- ADC pre channel selection register type PCSEL_Register is record -- Channel x (VINP[i]) pre selection PCSEL : PCSEL_PCSEL_Field := 16#0#; -- unspecified Reserved_20_31 : HAL.UInt12 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCSEL_Register use record PCSEL at 0 range 0 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; subtype LTR1_LTR1_Field is HAL.UInt26; -- ADC analog watchdog 1 threshold register type LTR1_Register is record -- ADC analog watchdog 1 threshold low LTR1 : LTR1_LTR1_Field := 16#3FF0000#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#3#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for LTR1_Register use record LTR1 at 0 range 0 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype HTR1_HTR1_Field is HAL.UInt26; -- ADC analog watchdog 1 threshold register type HTR1_Register is record -- ADC analog watchdog 1 threshold low HTR1 : HTR1_HTR1_Field := 16#3FF0000#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#3#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for HTR1_Register use record HTR1 at 0 range 0 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype SQR1_L_Field is HAL.UInt4; subtype SQR1_SQ1_Field is HAL.UInt5; subtype SQR1_SQ2_Field is HAL.UInt5; subtype SQR1_SQ3_Field is HAL.UInt5; subtype SQR1_SQ4_Field is HAL.UInt5; -- ADC group regular sequencer ranks register 1 type SQR1_Register is record -- L L : SQR1_L_Field := 16#0#; -- unspecified Reserved_4_5 : HAL.UInt2 := 16#0#; -- ADC group regular sequencer rank 1 SQ1 : SQR1_SQ1_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 2 SQ2 : SQR1_SQ2_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 3 SQ3 : SQR1_SQ3_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 4 SQ4 : SQR1_SQ4_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SQR1_Register use record L at 0 range 0 .. 3; Reserved_4_5 at 0 range 4 .. 5; SQ1 at 0 range 6 .. 10; Reserved_11_11 at 0 range 11 .. 11; SQ2 at 0 range 12 .. 16; Reserved_17_17 at 0 range 17 .. 17; SQ3 at 0 range 18 .. 22; Reserved_23_23 at 0 range 23 .. 23; SQ4 at 0 range 24 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype SQR2_SQ5_Field is HAL.UInt5; subtype SQR2_SQ6_Field is HAL.UInt5; subtype SQR2_SQ7_Field is HAL.UInt5; subtype SQR2_SQ8_Field is HAL.UInt5; subtype SQR2_SQ9_Field is HAL.UInt5; -- ADC group regular sequencer ranks register 2 type SQR2_Register is record -- ADC group regular sequencer rank 5 SQ5 : SQR2_SQ5_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 6 SQ6 : SQR2_SQ6_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 7 SQ7 : SQR2_SQ7_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 8 SQ8 : SQR2_SQ8_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 9 SQ9 : SQR2_SQ9_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SQR2_Register use record SQ5 at 0 range 0 .. 4; Reserved_5_5 at 0 range 5 .. 5; SQ6 at 0 range 6 .. 10; Reserved_11_11 at 0 range 11 .. 11; SQ7 at 0 range 12 .. 16; Reserved_17_17 at 0 range 17 .. 17; SQ8 at 0 range 18 .. 22; Reserved_23_23 at 0 range 23 .. 23; SQ9 at 0 range 24 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype SQR3_SQ10_Field is HAL.UInt5; subtype SQR3_SQ11_Field is HAL.UInt5; subtype SQR3_SQ12_Field is HAL.UInt5; subtype SQR3_SQ13_Field is HAL.UInt5; subtype SQR3_SQ14_Field is HAL.UInt5; -- ADC group regular sequencer ranks register 3 type SQR3_Register is record -- ADC group regular sequencer rank 10 SQ10 : SQR3_SQ10_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 11 SQ11 : SQR3_SQ11_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 12 SQ12 : SQR3_SQ12_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 13 SQ13 : SQR3_SQ13_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 14 SQ14 : SQR3_SQ14_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SQR3_Register use record SQ10 at 0 range 0 .. 4; Reserved_5_5 at 0 range 5 .. 5; SQ11 at 0 range 6 .. 10; Reserved_11_11 at 0 range 11 .. 11; SQ12 at 0 range 12 .. 16; Reserved_17_17 at 0 range 17 .. 17; SQ13 at 0 range 18 .. 22; Reserved_23_23 at 0 range 23 .. 23; SQ14 at 0 range 24 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype SQR4_SQ15_Field is HAL.UInt5; subtype SQR4_SQ16_Field is HAL.UInt5; -- ADC group regular sequencer ranks register 4 type SQR4_Register is record -- ADC group regular sequencer rank 15 SQ15 : SQR4_SQ15_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- ADC group regular sequencer rank 16 SQ16 : SQR4_SQ16_Field := 16#0#; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SQR4_Register use record SQ15 at 0 range 0 .. 4; Reserved_5_5 at 0 range 5 .. 5; SQ16 at 0 range 6 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; subtype JSQR_JL_Field is HAL.UInt2; subtype JSQR_JEXTSEL_Field is HAL.UInt5; subtype JSQR_JEXTEN_Field is HAL.UInt2; subtype JSQR_JSQ1_Field is HAL.UInt5; subtype JSQR_JSQ2_Field is HAL.UInt5; subtype JSQR_JSQ3_Field is HAL.UInt5; subtype JSQR_JSQ4_Field is HAL.UInt5; -- ADC group injected sequencer register type JSQR_Register is record -- ADC group injected sequencer scan length JL : JSQR_JL_Field := 16#0#; -- ADC group injected external trigger source JEXTSEL : JSQR_JEXTSEL_Field := 16#0#; -- ADC group injected external trigger polarity JEXTEN : JSQR_JEXTEN_Field := 16#0#; -- ADC group injected sequencer rank 1 JSQ1 : JSQR_JSQ1_Field := 16#0#; -- unspecified Reserved_14_14 : HAL.Bit := 16#0#; -- ADC group injected sequencer rank 2 JSQ2 : JSQR_JSQ2_Field := 16#0#; -- unspecified Reserved_20_20 : HAL.Bit := 16#0#; -- ADC group injected sequencer rank 3 JSQ3 : JSQR_JSQ3_Field := 16#0#; -- unspecified Reserved_26_26 : HAL.Bit := 16#0#; -- ADC group injected sequencer rank 4 JSQ4 : JSQR_JSQ4_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for JSQR_Register use record JL at 0 range 0 .. 1; JEXTSEL at 0 range 2 .. 6; JEXTEN at 0 range 7 .. 8; JSQ1 at 0 range 9 .. 13; Reserved_14_14 at 0 range 14 .. 14; JSQ2 at 0 range 15 .. 19; Reserved_20_20 at 0 range 20 .. 20; JSQ3 at 0 range 21 .. 25; Reserved_26_26 at 0 range 26 .. 26; JSQ4 at 0 range 27 .. 31; end record; subtype OFR1_OFFSET1_Field is HAL.UInt26; subtype OFR1_OFFSET1_CH_Field is HAL.UInt5; -- ADC offset number 1 register type OFR1_Register is record -- ADC offset number 1 offset level OFFSET1 : OFR1_OFFSET1_Field := 16#0#; -- ADC offset number 1 channel selection OFFSET1_CH : OFR1_OFFSET1_CH_Field := 16#0#; -- ADC offset number 1 enable SSATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OFR1_Register use record OFFSET1 at 0 range 0 .. 25; OFFSET1_CH at 0 range 26 .. 30; SSATE at 0 range 31 .. 31; end record; subtype OFR2_OFFSET2_Field is HAL.UInt26; subtype OFR2_OFFSET2_CH_Field is HAL.UInt5; -- ADC offset number 2 register type OFR2_Register is record -- ADC offset number 1 offset level OFFSET2 : OFR2_OFFSET2_Field := 16#0#; -- ADC offset number 1 channel selection OFFSET2_CH : OFR2_OFFSET2_CH_Field := 16#0#; -- ADC offset number 1 enable SSATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OFR2_Register use record OFFSET2 at 0 range 0 .. 25; OFFSET2_CH at 0 range 26 .. 30; SSATE at 0 range 31 .. 31; end record; subtype OFR3_OFFSET3_Field is HAL.UInt26; subtype OFR3_OFFSET3_CH_Field is HAL.UInt5; -- ADC offset number 3 register type OFR3_Register is record -- ADC offset number 1 offset level OFFSET3 : OFR3_OFFSET3_Field := 16#0#; -- ADC offset number 1 channel selection OFFSET3_CH : OFR3_OFFSET3_CH_Field := 16#0#; -- ADC offset number 1 enable SSATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OFR3_Register use record OFFSET3 at 0 range 0 .. 25; OFFSET3_CH at 0 range 26 .. 30; SSATE at 0 range 31 .. 31; end record; subtype OFR4_OFFSET4_Field is HAL.UInt26; subtype OFR4_OFFSET4_CH_Field is HAL.UInt5; -- ADC offset number 4 register type OFR4_Register is record -- ADC offset number 1 offset level OFFSET4 : OFR4_OFFSET4_Field := 16#0#; -- ADC offset number 1 channel selection OFFSET4_CH : OFR4_OFFSET4_CH_Field := 16#0#; -- ADC offset number 1 enable SSATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OFR4_Register use record OFFSET4 at 0 range 0 .. 25; OFFSET4_CH at 0 range 26 .. 30; SSATE at 0 range 31 .. 31; end record; subtype AWD2CR_AWD2CH_Field is HAL.UInt20; -- ADC analog watchdog 2 configuration register type AWD2CR_Register is record -- ADC analog watchdog 2 monitored channel selection AWD2CH : AWD2CR_AWD2CH_Field := 16#0#; -- unspecified Reserved_20_31 : HAL.UInt12 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AWD2CR_Register use record AWD2CH at 0 range 0 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; subtype AWD3CR_AWD3CH_Field is HAL.UInt20; -- ADC analog watchdog 3 configuration register type AWD3CR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- ADC analog watchdog 3 monitored channel selection AWD3CH : AWD3CR_AWD3CH_Field := 16#0#; -- unspecified Reserved_21_31 : HAL.UInt11 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for AWD3CR_Register use record Reserved_0_0 at 0 range 0 .. 0; AWD3CH at 0 range 1 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; subtype LTR2_LTR2_Field is HAL.UInt26; -- ADC watchdog lower threshold register 2 type LTR2_Register is record -- Analog watchdog 2 lower threshold LTR2 : LTR2_LTR2_Field := 16#0#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for LTR2_Register use record LTR2 at 0 range 0 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype HTR2_HTR2_Field is HAL.UInt26; -- ADC watchdog higher threshold register 2 type HTR2_Register is record -- Analog watchdog 2 higher threshold HTR2 : HTR2_HTR2_Field := 16#0#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for HTR2_Register use record HTR2 at 0 range 0 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype LTR3_LTR3_Field is HAL.UInt26; -- ADC watchdog lower threshold register 3 type LTR3_Register is record -- Analog watchdog 3 lower threshold LTR3 : LTR3_LTR3_Field := 16#0#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for LTR3_Register use record LTR3 at 0 range 0 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype HTR3_HTR3_Field is HAL.UInt26; -- ADC watchdog higher threshold register 3 type HTR3_Register is record -- Analog watchdog 3 higher threshold HTR3 : HTR3_HTR3_Field := 16#0#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for HTR3_Register use record HTR3 at 0 range 0 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype DIFSEL_DIFSEL_Field is HAL.UInt20; -- ADC channel differential or single-ended mode selection register type DIFSEL_Register is record -- ADC channel differential or single-ended mode for channel DIFSEL : DIFSEL_DIFSEL_Field := 16#0#; -- unspecified Reserved_20_31 : HAL.UInt12 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DIFSEL_Register use record DIFSEL at 0 range 0 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; subtype CALFACT_CALFACT_S_Field is HAL.UInt11; subtype CALFACT_CALFACT_D_Field is HAL.UInt11; -- ADC calibration factors register type CALFACT_Register is record -- ADC calibration factor in single-ended mode CALFACT_S : CALFACT_CALFACT_S_Field := 16#0#; -- unspecified Reserved_11_15 : HAL.UInt5 := 16#0#; -- ADC calibration factor in differential mode CALFACT_D : CALFACT_CALFACT_D_Field := 16#0#; -- unspecified Reserved_27_31 : HAL.UInt5 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CALFACT_Register use record CALFACT_S at 0 range 0 .. 10; Reserved_11_15 at 0 range 11 .. 15; CALFACT_D at 0 range 16 .. 26; Reserved_27_31 at 0 range 27 .. 31; end record; subtype CALFACT2_LINCALFACT_Field is HAL.UInt30; -- ADC Calibration Factor register 2 type CALFACT2_Register is record -- Linearity Calibration Factor LINCALFACT : CALFACT2_LINCALFACT_Field := 16#0#; -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CALFACT2_Register use record LINCALFACT at 0 range 0 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; -- ADC Common status register type CSR_Register is record -- Read-only. Master ADC ready ADRDY_MST : Boolean; -- Read-only. End of Sampling phase flag of the master ADC EOSMP_MST : Boolean; -- Read-only. End of regular conversion of the master ADC EOC_MST : Boolean; -- Read-only. End of regular sequence flag of the master ADC EOS_MST : Boolean; -- Read-only. Overrun flag of the master ADC OVR_MST : Boolean; -- Read-only. End of injected conversion flag of the master ADC JEOC_MST : Boolean; -- Read-only. End of injected sequence flag of the master ADC JEOS_MST : Boolean; -- Read-only. Analog watchdog 1 flag of the master ADC AWD1_MST : Boolean; -- Read-only. Analog watchdog 2 flag of the master ADC AWD2_MST : Boolean; -- Read-only. Analog watchdog 3 flag of the master ADC AWD3_MST : Boolean; -- Read-only. Injected Context Queue Overflow flag of the master ADC JQOVF_MST : Boolean; -- unspecified Reserved_11_15 : HAL.UInt5; -- Read-only. Slave ADC ready ADRDY_SLV : Boolean; -- Read-only. End of Sampling phase flag of the slave ADC EOSMP_SLV : Boolean; -- Read-only. End of regular conversion of the slave ADC EOC_SLV : Boolean; -- Read-only. End of regular sequence flag of the slave ADC EOS_SLV : Boolean; -- Read-only. Overrun flag of the slave ADC OVR_SLV : Boolean; -- Read-only. End of injected conversion flag of the slave ADC JEOC_SLV : Boolean; -- Read-only. End of injected sequence flag of the slave ADC JEOS_SLV : Boolean; -- Read-only. Analog watchdog 1 flag of the slave ADC AWD1_SLV : Boolean; -- Read-only. Analog watchdog 2 flag of the slave ADC AWD2_SLV : Boolean; -- Read-only. Analog watchdog 3 flag of the slave ADC AWD3_SLV : Boolean; -- Read-only. Injected Context Queue Overflow flag of the slave ADC JQOVF_SLV : Boolean; -- unspecified Reserved_27_31 : HAL.UInt5; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CSR_Register use record ADRDY_MST at 0 range 0 .. 0; EOSMP_MST at 0 range 1 .. 1; EOC_MST at 0 range 2 .. 2; EOS_MST at 0 range 3 .. 3; OVR_MST at 0 range 4 .. 4; JEOC_MST at 0 range 5 .. 5; JEOS_MST at 0 range 6 .. 6; AWD1_MST at 0 range 7 .. 7; AWD2_MST at 0 range 8 .. 8; AWD3_MST at 0 range 9 .. 9; JQOVF_MST at 0 range 10 .. 10; Reserved_11_15 at 0 range 11 .. 15; ADRDY_SLV at 0 range 16 .. 16; EOSMP_SLV at 0 range 17 .. 17; EOC_SLV at 0 range 18 .. 18; EOS_SLV at 0 range 19 .. 19; OVR_SLV at 0 range 20 .. 20; JEOC_SLV at 0 range 21 .. 21; JEOS_SLV at 0 range 22 .. 22; AWD1_SLV at 0 range 23 .. 23; AWD2_SLV at 0 range 24 .. 24; AWD3_SLV at 0 range 25 .. 25; JQOVF_SLV at 0 range 26 .. 26; Reserved_27_31 at 0 range 27 .. 31; end record; subtype CCR_DUAL_Field is HAL.UInt5; subtype CCR_DELAY_Field is HAL.UInt4; subtype CCR_DAMDF_Field is HAL.UInt2; subtype CCR_CKMODE_Field is HAL.UInt2; subtype CCR_PRESC_Field is HAL.UInt4; -- ADC common control register type CCR_Register is record -- Dual ADC mode selection DUAL : CCR_DUAL_Field := 16#0#; -- unspecified Reserved_5_7 : HAL.UInt3 := 16#0#; -- Delay between 2 sampling phases DELAY_k : CCR_DELAY_Field := 16#0#; -- unspecified Reserved_12_13 : HAL.UInt2 := 16#0#; -- Dual ADC Mode Data Format DAMDF : CCR_DAMDF_Field := 16#0#; -- ADC clock mode CKMODE : CCR_CKMODE_Field := 16#0#; -- ADC prescaler PRESC : CCR_PRESC_Field := 16#0#; -- VREFINT enable VREFEN : Boolean := False; -- Temperature sensor enable TSEN : Boolean := False; -- VBAT enable VBATEN : Boolean := False; -- unspecified Reserved_25_31 : HAL.UInt7 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CCR_Register use record DUAL at 0 range 0 .. 4; Reserved_5_7 at 0 range 5 .. 7; DELAY_k at 0 range 8 .. 11; Reserved_12_13 at 0 range 12 .. 13; DAMDF at 0 range 14 .. 15; CKMODE at 0 range 16 .. 17; PRESC at 0 range 18 .. 21; VREFEN at 0 range 22 .. 22; TSEN at 0 range 23 .. 23; VBATEN at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; subtype CDR_RDATA_MST_Field is HAL.UInt16; subtype CDR_RDATA_SLV_Field is HAL.UInt16; -- ADC common regular data register for dual and triple modes type CDR_Register is record -- Read-only. Regular data of the master ADC RDATA_MST : CDR_RDATA_MST_Field; -- Read-only. Regular data of the slave ADC RDATA_SLV : CDR_RDATA_SLV_Field; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CDR_Register use record RDATA_MST at 0 range 0 .. 15; RDATA_SLV at 0 range 16 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Analog to Digital Converter type ADC1_Peripheral is record -- ADC interrupt and status register ISR : aliased ISR_Register; -- ADC interrupt enable register IER : aliased IER_Register; -- ADC control register CR : aliased CR_Register; -- ADC configuration register 1 CFGR : aliased CFGR_Register; -- ADC configuration register 2 CFGR2 : aliased CFGR2_Register; -- ADC sampling time register 1 SMPR1 : aliased SMPR1_Register; -- ADC sampling time register 2 SMPR2 : aliased SMPR2_Register; -- ADC pre channel selection register PCSEL : aliased PCSEL_Register; -- ADC analog watchdog 1 threshold register LTR1 : aliased LTR1_Register; -- ADC analog watchdog 1 threshold register HTR1 : aliased HTR1_Register; -- ADC group regular sequencer ranks register 1 SQR1 : aliased SQR1_Register; -- ADC group regular sequencer ranks register 2 SQR2 : aliased SQR2_Register; -- ADC group regular sequencer ranks register 3 SQR3 : aliased SQR3_Register; -- ADC group regular sequencer ranks register 4 SQR4 : aliased SQR4_Register; -- ADC group regular conversion data register DR : aliased HAL.UInt32; -- ADC group injected sequencer register JSQR : aliased JSQR_Register; -- ADC offset number 1 register OFR1 : aliased OFR1_Register; -- ADC offset number 2 register OFR2 : aliased OFR2_Register; -- ADC offset number 3 register OFR3 : aliased OFR3_Register; -- ADC offset number 4 register OFR4 : aliased OFR4_Register; -- ADC group injected sequencer rank 1 register JDR1 : aliased HAL.UInt32; -- ADC group injected sequencer rank 2 register JDR2 : aliased HAL.UInt32; -- ADC group injected sequencer rank 3 register JDR3 : aliased HAL.UInt32; -- ADC group injected sequencer rank 4 register JDR4 : aliased HAL.UInt32; -- ADC analog watchdog 2 configuration register AWD2CR : aliased AWD2CR_Register; -- ADC analog watchdog 3 configuration register AWD3CR : aliased AWD3CR_Register; -- ADC watchdog lower threshold register 2 LTR2 : aliased LTR2_Register; -- ADC watchdog higher threshold register 2 HTR2 : aliased HTR2_Register; -- ADC watchdog lower threshold register 3 LTR3 : aliased LTR3_Register; -- ADC watchdog higher threshold register 3 HTR3 : aliased HTR3_Register; -- ADC channel differential or single-ended mode selection register DIFSEL : aliased DIFSEL_Register; -- ADC calibration factors register CALFACT : aliased CALFACT_Register; -- ADC Calibration Factor register 2 CALFACT2 : aliased CALFACT2_Register; end record with Volatile; for ADC1_Peripheral use record ISR at 16#0# range 0 .. 31; IER at 16#4# range 0 .. 31; CR at 16#8# range 0 .. 31; CFGR at 16#C# range 0 .. 31; CFGR2 at 16#10# range 0 .. 31; SMPR1 at 16#14# range 0 .. 31; SMPR2 at 16#18# range 0 .. 31; PCSEL at 16#1C# range 0 .. 31; LTR1 at 16#20# range 0 .. 31; HTR1 at 16#24# range 0 .. 31; SQR1 at 16#30# range 0 .. 31; SQR2 at 16#34# range 0 .. 31; SQR3 at 16#38# range 0 .. 31; SQR4 at 16#3C# range 0 .. 31; DR at 16#40# range 0 .. 31; JSQR at 16#4C# range 0 .. 31; OFR1 at 16#60# range 0 .. 31; OFR2 at 16#64# range 0 .. 31; OFR3 at 16#68# range 0 .. 31; OFR4 at 16#6C# range 0 .. 31; JDR1 at 16#80# range 0 .. 31; JDR2 at 16#84# range 0 .. 31; JDR3 at 16#88# range 0 .. 31; JDR4 at 16#8C# range 0 .. 31; AWD2CR at 16#A0# range 0 .. 31; AWD3CR at 16#A4# range 0 .. 31; LTR2 at 16#B0# range 0 .. 31; HTR2 at 16#B4# range 0 .. 31; LTR3 at 16#B8# range 0 .. 31; HTR3 at 16#BC# range 0 .. 31; DIFSEL at 16#C0# range 0 .. 31; CALFACT at 16#C4# range 0 .. 31; CALFACT2 at 16#C8# range 0 .. 31; end record; -- Analog to Digital Converter ADC1_Periph : aliased ADC1_Peripheral with Import, Address => ADC1_Base; -- Analog to Digital Converter ADC2_Periph : aliased ADC1_Peripheral with Import, Address => ADC2_Base; -- Analog to Digital Converter ADC3_Periph : aliased ADC1_Peripheral with Import, Address => ADC3_Base; -- Analog-to-Digital Converter type ADC12_Common_Peripheral is record -- ADC Common status register CSR : aliased CSR_Register; -- ADC common control register CCR : aliased CCR_Register; -- ADC common regular data register for dual and triple modes CDR : aliased CDR_Register; -- ADC x common regular data register for 32-bit dual mode CDR2 : aliased HAL.UInt32; end record with Volatile; for ADC12_Common_Peripheral use record CSR at 16#0# range 0 .. 31; CCR at 16#8# range 0 .. 31; CDR at 16#C# range 0 .. 31; CDR2 at 16#10# range 0 .. 31; end record; -- Analog-to-Digital Converter ADC12_Common_Periph : aliased ADC12_Common_Peripheral with Import, Address => ADC12_Common_Base; -- Analog-to-Digital Converter ADC3_Common_Periph : aliased ADC12_Common_Peripheral with Import, Address => ADC3_Common_Base; end STM32_SVD.ADC;
35.221509
76
0.590211
3d08c1ee9bf8fc6b094d3bb09a5494aa2325a3d3
128
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/controlled1_pkg.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/controlled1_pkg.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/controlled1_pkg.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-excess-errors "no code generated" } package Controlled1_Pkg is function Value return Natural; end Controlled1_Pkg;
16
43
0.757813
387a66c2b24caf44fa6b9c40d033d4f816909c95
5,162
ads
Ada
source/amf/uml/amf-uml-conditional_nodes-collections.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-uml-conditional_nodes-collections.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-uml-conditional_nodes-collections.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 © 2011-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.Generic_Collections; package AMF.UML.Conditional_Nodes.Collections is pragma Preelaborate; package UML_Conditional_Node_Collections is new AMF.Generic_Collections (UML_Conditional_Node, UML_Conditional_Node_Access); type Set_Of_UML_Conditional_Node is new UML_Conditional_Node_Collections.Set with null record; Empty_Set_Of_UML_Conditional_Node : constant Set_Of_UML_Conditional_Node; type Ordered_Set_Of_UML_Conditional_Node is new UML_Conditional_Node_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Conditional_Node : constant Ordered_Set_Of_UML_Conditional_Node; type Bag_Of_UML_Conditional_Node is new UML_Conditional_Node_Collections.Bag with null record; Empty_Bag_Of_UML_Conditional_Node : constant Bag_Of_UML_Conditional_Node; type Sequence_Of_UML_Conditional_Node is new UML_Conditional_Node_Collections.Sequence with null record; Empty_Sequence_Of_UML_Conditional_Node : constant Sequence_Of_UML_Conditional_Node; private Empty_Set_Of_UML_Conditional_Node : constant Set_Of_UML_Conditional_Node := (UML_Conditional_Node_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Conditional_Node : constant Ordered_Set_Of_UML_Conditional_Node := (UML_Conditional_Node_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Conditional_Node : constant Bag_Of_UML_Conditional_Node := (UML_Conditional_Node_Collections.Bag with null record); Empty_Sequence_Of_UML_Conditional_Node : constant Sequence_Of_UML_Conditional_Node := (UML_Conditional_Node_Collections.Sequence with null record); end AMF.UML.Conditional_Nodes.Collections;
56.108696
92
0.531383
a051b586c93b53e53b7a41f64118cea0872ec381
47,645
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-os_lib.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-os_lib.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-os_lib.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . O S _ L I B -- -- -- -- S p e c -- -- -- -- Copyright (C) 1995-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. -- -- -- ------------------------------------------------------------------------------ -- Operating system interface facilities -- This package contains types and procedures for interfacing to the -- underlying OS. It is used by the GNAT compiler and by tools associated -- with the GNAT compiler, and therefore works for the various operating -- systems to which GNAT has been ported. This package will undoubtedly grow -- as new services are needed by various tools. -- This package tends to use fairly low-level Ada in order to not bring in -- large portions of the RTL. For example, functions return access to string -- as part of avoiding functions returning unconstrained types. -- Except where specifically noted, these routines are portable across all -- GNAT implementations on all supported operating systems. -- Note: this package is in the System hierarchy so that it can be directly -- be used by other predefined packages. User access to this package is via -- a renaming of this package in GNAT.OS_Lib (file g-os_lib.ads). pragma Compiler_Unit; with System; with System.Strings; package System.OS_Lib is pragma Elaborate_Body (OS_Lib); ----------------------- -- String Operations -- ----------------------- -- These are reexported from package Strings (which was introduced to -- avoid different packages declaring different types unnecessarily). -- See package System.Strings for details. subtype String_Access is Strings.String_Access; function "=" (Left, Right : String_Access) return Boolean renames Strings."="; procedure Free (X : in out String_Access) renames Strings.Free; subtype String_List is Strings.String_List; function "=" (Left, Right : String_List) return Boolean renames Strings."="; function "&" (Left : String_Access; Right : String_Access) return String_List renames Strings."&"; function "&" (Left : String_Access; Right : String_List) return String_List renames Strings."&"; function "&" (Left : String_List; Right : String_Access) return String_List renames Strings."&"; function "&" (Left : String_List; Right : String_List) return String_List renames Strings."&"; subtype String_List_Access is Strings.String_List_Access; function "=" (Left, Right : String_List_Access) return Boolean renames Strings."="; procedure Free (Arg : in out String_List_Access) renames Strings.Free; --------------------- -- Time/Date Stuff -- --------------------- type OS_Time is private; -- The OS's notion of time is represented by the private type OS_Time. -- This is the type returned by the File_Time_Stamp functions to obtain -- the time stamp of a specified file. Functions and a procedure (modeled -- after the similar subprograms in package Calendar) are provided for -- extracting information from a value of this type. Although these are -- called GM, the intention is not that they provide GMT times in all -- cases but rather the actual (time-zone independent) time stamp of the -- file (of course in Unix systems, this *is* in GMT form). Invalid_Time : constant OS_Time; -- A special unique value used to flag an invalid time stamp value subtype Year_Type is Integer range 1900 .. 2099; subtype Month_Type is Integer range 1 .. 12; subtype Day_Type is Integer range 1 .. 31; subtype Hour_Type is Integer range 0 .. 23; subtype Minute_Type is Integer range 0 .. 59; subtype Second_Type is Integer range 0 .. 59; -- Declarations similar to those in Calendar, breaking down the time function Current_Time return OS_Time; -- Return the system clock value as OS_Time function GM_Year (Date : OS_Time) return Year_Type; function GM_Month (Date : OS_Time) return Month_Type; function GM_Day (Date : OS_Time) return Day_Type; function GM_Hour (Date : OS_Time) return Hour_Type; function GM_Minute (Date : OS_Time) return Minute_Type; function GM_Second (Date : OS_Time) return Second_Type; -- Functions to extract information from OS_Time value function "<" (X, Y : OS_Time) return Boolean; function ">" (X, Y : OS_Time) return Boolean; function ">=" (X, Y : OS_Time) return Boolean; function "<=" (X, Y : OS_Time) return Boolean; -- Basic comparison operators on OS_Time with obvious meanings. Note that -- these have Intrinsic convention, so for example it is not permissible -- to create accesses to any of these functions. procedure GM_Split (Date : OS_Time; Year : out Year_Type; Month : out Month_Type; Day : out Day_Type; Hour : out Hour_Type; Minute : out Minute_Type; Second : out Second_Type); -- Analogous to the Split routine in Ada.Calendar, takes an OS_Time and -- provides a representation of it as a set of component parts, to be -- interpreted as a date point in UTC. ---------------- -- File Stuff -- ---------------- -- These routines give access to the open/creat/close/read/write level of -- I/O routines in the typical C library (these functions are not part of -- the ANSI C standard, but are typically available in all systems). See -- also package Interfaces.C_Streams for access to the stream level -- routines. -- Note on file names. If a file name is passed as type String in any of -- the following specifications, then the name is a normal Ada string and -- need not be NUL-terminated. However, a trailing NUL character is -- permitted, and will be ignored (more accurately, the NUL and any -- characters that follow it will be ignored). type File_Descriptor is new Integer; -- Corresponds to the int file handle values used in the C routines Standin : constant File_Descriptor := 0; Standout : constant File_Descriptor := 1; Standerr : constant File_Descriptor := 2; -- File descriptors for standard input output files Invalid_FD : constant File_Descriptor := -1; -- File descriptor returned when error in opening/creating file type Mode is (Binary, Text); for Mode'Size use Integer'Size; for Mode use (Binary => 0, Text => 1); -- Used in all the Open and Create calls to specify if the file is to be -- opened in binary mode or text mode. In systems like Unix, this has no -- effect, but in systems capable of text mode translation, the use of -- Text as the mode parameter causes the system to do CR/LF translation -- and also to recognize the DOS end of file character on input. The use -- of Text where appropriate allows programs to take a portable Unix view -- of DOS-format files and process them appropriately. function Open_Read (Name : String; Fmode : Mode) return File_Descriptor; -- Open file Name for reading, returning file descriptor File descriptor -- returned is Invalid_FD if file cannot be opened. function Open_Read_Write (Name : String; Fmode : Mode) return File_Descriptor; -- Open file Name for both reading and writing, returning file descriptor. -- File descriptor returned is Invalid_FD if file cannot be opened. function Create_File (Name : String; Fmode : Mode) return File_Descriptor; -- Creates new file with given name for writing, returning file descriptor -- for subsequent use in Write calls. If the file already exists, it is -- overwritten. File descriptor returned is Invalid_FD if file cannot be -- successfully created. function Create_Output_Text_File (Name : String) return File_Descriptor; -- Creates new text file with given name suitable to redirect standard -- output, returning file descriptor. File descriptor returned is -- Invalid_FD if file cannot be successfully created. function Create_New_File (Name : String; Fmode : Mode) return File_Descriptor; -- Create new file with given name for writing, returning file descriptor -- for subsequent use in Write calls. This differs from Create_File in -- that it fails if the file already exists. File descriptor returned is -- Invalid_FD if the file exists or cannot be created. Temp_File_Len : constant Integer := 12; -- Length of name returned by Create_Temp_File call (GNAT-XXXXXX & NUL) subtype Temp_File_Name is String (1 .. Temp_File_Len); -- String subtype set by Create_Temp_File procedure Create_Temp_File (FD : out File_Descriptor; Name : out Temp_File_Name); -- Create and open for writing a temporary file in the current working -- directory. The name of the file and the File Descriptor are returned. -- The File Descriptor returned is Invalid_FD in the case of failure. No -- mode parameter is provided. Since this is a temporary file, there is no -- point in doing text translation on it. -- -- On some operating systems, the maximum number of temp files that can be -- created with this procedure may be limited. When the maximum is reached, -- this procedure returns Invalid_FD. On some operating systems, there may -- be a race condition between processes trying to create temp files at the -- same time in the same directory using this procedure. procedure Create_Temp_File (FD : out File_Descriptor; Name : out String_Access); -- Create and open for writing a temporary file in the current working -- directory. The name of the file and the File Descriptor are returned. -- It is the responsibility of the caller to deallocate the access value -- returned in Name. -- -- The file is opened in binary mode (no text translation). -- -- This procedure will always succeed if the current working directory is -- writable. If the current working directory is not writable, then -- Invalid_FD is returned for the file descriptor and null for the Name. -- There is no race condition problem between processes trying to create -- temp files at the same time in the same directory. procedure Create_Temp_Output_File (FD : out File_Descriptor; Name : out String_Access); -- Create and open for writing a temporary file in the current working -- directory suitable to redirect standard output. The name of the file and -- the File Descriptor are returned. It is the responsibility of the caller -- to deallocate the access value returned in Name. -- -- The file is opened in text mode -- -- This procedure will always succeed if the current working directory is -- writable. If the current working directory is not writable, then -- Invalid_FD is returned for the file descriptor and null for the Name. -- There is no race condition problem between processes trying to create -- temp files at the same time in the same directory. procedure Close (FD : File_Descriptor; Status : out Boolean); -- Close file referenced by FD. Status is False if the underlying service -- failed. Reasons for failure include: disk full, disk quotas exceeded -- and invalid file descriptor (the file may have been closed twice). procedure Close (FD : File_Descriptor); -- Close file referenced by FD. This form is used when the caller wants to -- ignore any possible error (see above for error cases). procedure Set_Close_On_Exec (FD : File_Descriptor; Close_On_Exec : Boolean; Status : out Boolean); -- When Close_On_Exec is True, mark FD to be closed automatically when new -- program is executed by the calling process (i.e. prevent FD from being -- inherited by child processes). When Close_On_Exec is False, mark FD to -- not be closed on exec (i.e. allow it to be inherited). Status is False -- if the operation could not be performed. procedure Delete_File (Name : String; Success : out Boolean); -- Deletes file. Success is set True or False indicating if the delete is -- successful. procedure Rename_File (Old_Name : String; New_Name : String; Success : out Boolean); -- Rename a file. Success is set True or False indicating if the rename is -- successful or not. -- The following defines the mode for the Copy_File procedure below. Note -- that "time stamps and other file attributes" in the descriptions below -- refers to the creation and last modification times, and also the file -- access (read/write/execute) status flags. type Copy_Mode is (Copy, -- Copy the file. It is an error if the target file already exists. The -- time stamps and other file attributes are preserved in the copy. Overwrite, -- If the target file exists, the file is replaced otherwise the file -- is just copied. The time stamps and other file attributes are -- preserved in the copy. Append); -- If the target file exists, the contents of the source file is -- appended at the end. Otherwise the source file is just copied. The -- time stamps and other file attributes are preserved if the -- destination file does not exist. type Attribute is (Time_Stamps, -- Copy time stamps from source file to target file. All other -- attributes are set to normal default values for file creation. Full, -- All attributes are copied from the source file to the target file. -- This includes the timestamps, and for example also includes -- read/write/execute attributes in Unix systems. None); -- No attributes are copied. All attributes including the time stamp -- values are set to normal default values for file creation. -- Note: The default is Time_Stamps, which corresponds to the normal -- default on Windows style systems. Full corresponds to the typical -- effect of "cp -p" on Unix systems, and None corresponds to the typical -- effect of "cp" on Unix systems. -- Note: Time_Stamps and Full are not supported on VMS and VxWorks 5 procedure Copy_File (Name : String; Pathname : String; Success : out Boolean; Mode : Copy_Mode := Copy; Preserve : Attribute := Time_Stamps); -- Copy a file. Name must designate a single file (no wild cards allowed). -- Pathname can be a filename or directory name. In the latter case Name -- is copied into the directory preserving the same file name. Mode -- defines the kind of copy, see above with the default being a normal -- copy in which the target file must not already exist. Success is set to -- True or False indicating if the copy is successful (depending on the -- specified Mode). -- -- Note: this procedure is only supported to a very limited extent on VMS. -- The only supported mode is Overwrite, and the only supported value for -- Preserve is None, resulting in the default action which for Overwrite -- is to leave attributes unchanged. Furthermore, the copy only works for -- simple text files. procedure Copy_Time_Stamps (Source, Dest : String; Success : out Boolean); -- Copy Source file time stamps (last modification and last access time -- stamps) to Dest file. Source and Dest must be valid filenames, -- furthermore Dest must be writable. Success will be set to True if the -- operation was successful and False otherwise. -- -- Note: this procedure is not supported on VMS and VxWorks 5. On these -- platforms, Success is always set to False. function Read (FD : File_Descriptor; A : System.Address; N : Integer) return Integer; -- Read N bytes to address A from file referenced by FD. Returned value is -- count of bytes actually read, which can be less than N at EOF. function Write (FD : File_Descriptor; A : System.Address; N : Integer) return Integer; -- Write N bytes from address A to file referenced by FD. The returned -- value is the number of bytes written, which can be less than N if a -- disk full condition was detected. Seek_Cur : constant := 1; Seek_End : constant := 2; Seek_Set : constant := 0; -- Used to indicate origin for Lseek call procedure Lseek (FD : File_Descriptor; offset : Long_Integer; origin : Integer); pragma Import (C, Lseek, "__gnat_lseek"); -- Sets the current file pointer to the indicated offset value, relative -- to the current position (origin = SEEK_CUR), end of file (origin = -- SEEK_END), or start of file (origin = SEEK_SET). function File_Length (FD : File_Descriptor) return Long_Integer; pragma Import (C, File_Length, "__gnat_file_length"); -- Get length of file from file descriptor FD function File_Time_Stamp (Name : String) return OS_Time; -- Given the name of a file or directory, Name, obtains and returns the -- time stamp. This function can be used for an unopened file. Returns -- Invalid_Time is Name doesn't correspond to an existing file. function File_Time_Stamp (FD : File_Descriptor) return OS_Time; -- Get time stamp of file from file descriptor FD Returns Invalid_Time is -- FD doesn't correspond to an existing file. function Normalize_Pathname (Name : String; Directory : String := ""; Resolve_Links : Boolean := True; Case_Sensitive : Boolean := True) return String; -- Returns a file name as an absolute path name, resolving all relative -- directories, and symbolic links. The parameter Directory is a fully -- resolved path name for a directory, or the empty string (the default). -- Name is the name of a file, which is either relative to the given -- directory name, if Directory is non-null, or to the current working -- directory if Directory is null. The result returned is the normalized -- name of the file. For most cases, if two file names designate the same -- file through different paths, Normalize_Pathname will return the same -- canonical name in both cases. However, there are cases when this is not -- true; for example, this is not true in Unix for two hard links -- designating the same file. -- -- On Windows, the returned path will start with a drive letter except -- when Directory is not empty and does not include a drive letter. If -- Directory is empty (the default) and Name is a relative path or an -- absolute path without drive letter, the letter of the current drive -- will start the returned path. If Case_Sensitive is True (the default), -- then this drive letter will be forced to upper case ("C:\..."). -- -- If Resolve_Links is set to True, then the symbolic links, on systems -- that support them, will be fully converted to the name of the file or -- directory pointed to. This is slightly less efficient, since it -- requires system calls. -- -- If Name cannot be resolved or is null on entry (for example if there is -- symbolic link circularity, e.g. A is a symbolic link for B, and B is a -- symbolic link for A), then Normalize_Pathname returns an empty string. -- -- In VMS, if Name follows the VMS syntax file specification, it is first -- converted into Unix syntax. If the conversion fails, Normalize_Pathname -- returns an empty string. -- -- For case-sensitive file systems, the value of Case_Sensitive parameter -- is ignored. For file systems that are not case-sensitive, such as -- Windows and OpenVMS, if this parameter is set to False, then the file -- and directory names are folded to lower case. This allows checking -- whether two files are the same by applying this function to their names -- and comparing the results. If Case_Sensitive is set to True, this -- function does not change the casing of file and directory names. function Is_Absolute_Path (Name : String) return Boolean; -- Returns True if Name is an absolute path name, i.e. it designates a -- file or directory absolutely rather than relative to another directory. function Is_Regular_File (Name : String) return Boolean; -- Determines if the given string, Name, is the name of an existing -- regular file. Returns True if so, False otherwise. Name may be an -- absolute path name or a relative path name, including a simple file -- name. If it is a relative path name, it is relative to the current -- working directory. function Is_Directory (Name : String) return Boolean; -- Determines if the given string, Name, is the name of a directory. -- Returns True if so, False otherwise. Name may be an absolute path -- name or a relative path name, including a simple file name. If it is -- a relative path name, it is relative to the current working directory. function Is_Readable_File (Name : String) return Boolean; -- Determines if the given string, Name, is the name of an existing file -- that is readable. Returns True if so, False otherwise. Note that this -- function simply interrogates the file attributes (e.g. using the C -- function stat), so it does not indicate a situation in which a file may -- not actually be readable due to some other process having exclusive -- access. function Is_Executable_File (Name : String) return Boolean; -- Determines if the given string, Name, is the name of an existing file -- that is executable. Returns True if so, False otherwise. Note that this -- function simply interrogates the file attributes (e.g. using the C -- function stat), so it does not indicate a situation in which a file may -- not actually be readable due to some other process having exclusive -- access. function Is_Writable_File (Name : String) return Boolean; -- Determines if the given string, Name, is the name of an existing file -- that is writable. Returns True if so, False otherwise. Note that this -- function simply interrogates the file attributes (e.g. using the C -- function stat), so it does not indicate a situation in which a file may -- not actually be writeable due to some other process having exclusive -- access. function Is_Symbolic_Link (Name : String) return Boolean; -- Determines if the given string, Name, is the path of a symbolic link on -- systems that support it. Returns True if so, False if the path is not a -- symbolic link or if the system does not support symbolic links. -- -- A symbolic link is an indirect pointer to a file; its directory entry -- contains the name of the file to which it is linked. Symbolic links may -- span file systems and may refer to directories. procedure Set_Writable (Name : String); -- Change permissions on the named file to make it writable for its owner procedure Set_Non_Writable (Name : String); -- Change permissions on the named file to make it non-writable for its -- owner. The readable and executable permissions are not modified. procedure Set_Read_Only (Name : String) renames Set_Non_Writable; -- This renaming is provided for backwards compatibility with previous -- versions. The use of Set_Non_Writable is preferred (clearer name). procedure Set_Executable (Name : String); -- Change permissions on the named file to make it executable for its owner procedure Set_Readable (Name : String); -- Change permissions on the named file to make it readable for its -- owner. procedure Set_Non_Readable (Name : String); -- Change permissions on the named file to make it non-readable for -- its owner. The writable and executable permissions are not -- modified. function Locate_Exec_On_Path (Exec_Name : String) return String_Access; -- Try to locate an executable whose name is given by Exec_Name in the -- directories listed in the environment Path. If the Exec_Name does not -- have the executable suffix, it will be appended before the search. -- Otherwise works like Locate_Regular_File below. If the executable is -- not found, null is returned. -- -- Note that this function allocates memory for the returned value. This -- memory needs to be deallocated after use. function Locate_Regular_File (File_Name : String; Path : String) return String_Access; -- Try to locate a regular file whose name is given by File_Name in the -- directories listed in Path. If a file is found, its full pathname is -- returned; otherwise, a null pointer is returned. If the File_Name given -- is an absolute pathname, then Locate_Regular_File just checks that the -- file exists and is a regular file. Otherwise, if the File_Name given -- includes directory information, Locate_Regular_File first checks if the -- file exists relative to the current directory. If it does not, or if -- the File_Name given is a simple file name, the Path argument is parsed -- according to OS conventions, and for each directory in the Path a check -- is made if File_Name is a relative pathname of a regular file from that -- directory. -- -- Note that this function allocates some memory for the returned value. -- This memory needs to be deallocated after use. function Get_Debuggable_Suffix return String_Access; -- Return the debuggable suffix convention. Usually this is the same as -- the convention for Get_Executable_Suffix. The result is allocated on -- the heap and should be freed after use to avoid storage leaks. function Get_Target_Debuggable_Suffix return String_Access; -- Return the target debuggable suffix convention. Usually this is the same -- as the convention for Get_Executable_Suffix. The result is allocated on -- the heap and should be freed after use to avoid storage leaks. function Get_Executable_Suffix return String_Access; -- Return the executable suffix convention. The result is allocated on the -- heap and should be freed after use to avoid storage leaks. function Get_Object_Suffix return String_Access; -- Return the object suffix convention. The result is allocated on the heap -- and should be freed after use to avoid storage leaks. function Get_Target_Executable_Suffix return String_Access; -- Return the target executable suffix convention. The result is allocated -- on the heap and should be freed after use to avoid storage leaks. function Get_Target_Object_Suffix return String_Access; -- Return the target object suffix convention. The result is allocated on -- the heap and should be freed after use to avoid storage leaks. -- The following section contains low-level routines using addresses to -- pass file name and executable name. In each routine the name must be -- Nul-Terminated. For complete documentation refer to the equivalent -- routine (using String in place of C_File_Name) defined above. subtype C_File_Name is System.Address; -- This subtype is used to document that a parameter is the address of a -- null-terminated string containing the name of a file. -- All the following functions need comments ??? function Open_Read (Name : C_File_Name; Fmode : Mode) return File_Descriptor; function Open_Read_Write (Name : C_File_Name; Fmode : Mode) return File_Descriptor; function Create_File (Name : C_File_Name; Fmode : Mode) return File_Descriptor; function Create_New_File (Name : C_File_Name; Fmode : Mode) return File_Descriptor; procedure Delete_File (Name : C_File_Name; Success : out Boolean); procedure Rename_File (Old_Name : C_File_Name; New_Name : C_File_Name; Success : out Boolean); procedure Copy_File (Name : C_File_Name; Pathname : C_File_Name; Success : out Boolean; Mode : Copy_Mode := Copy; Preserve : Attribute := Time_Stamps); procedure Copy_Time_Stamps (Source, Dest : C_File_Name; Success : out Boolean); function File_Time_Stamp (Name : C_File_Name) return OS_Time; -- Returns Invalid_Time is Name doesn't correspond to an existing file function Is_Regular_File (Name : C_File_Name) return Boolean; function Is_Directory (Name : C_File_Name) return Boolean; function Is_Readable_File (Name : C_File_Name) return Boolean; function Is_Executable_File (Name : C_File_Name) return Boolean; function Is_Writable_File (Name : C_File_Name) return Boolean; function Is_Symbolic_Link (Name : C_File_Name) return Boolean; function Locate_Regular_File (File_Name : C_File_Name; Path : C_File_Name) return String_Access; ------------------ -- Subprocesses -- ------------------ subtype Argument_List is String_List; -- Type used for argument list in call to Spawn. The lower bound of the -- array should be 1, and the length of the array indicates the number of -- arguments. subtype Argument_List_Access is String_List_Access; -- Type used to return Argument_List without dragging in secondary stack. -- Note that there is a Free procedure declared for this subtype which -- frees the array and all referenced strings. procedure Normalize_Arguments (Args : in out Argument_List); -- Normalize all arguments in the list. This ensure that the argument list -- is compatible with the running OS and will works fine with Spawn and -- Non_Blocking_Spawn for example. If Normalize_Arguments is called twice -- on the same list it will do nothing the second time. Note that Spawn -- and Non_Blocking_Spawn call Normalize_Arguments automatically, but -- since there is a guarantee that a second call does nothing, this -- internal call will have no effect if Normalize_Arguments is called -- before calling Spawn. The call to Normalize_Arguments assumes that the -- individual referenced arguments in Argument_List are on the heap, and -- may free them and reallocate if they are modified. procedure Spawn (Program_Name : String; Args : Argument_List; Success : out Boolean); -- This procedure spawns a program with a given list of arguments. The -- first parameter of is the name of the executable. The second parameter -- contains the arguments to be passed to this program. Success is False -- if the named program could not be spawned or its execution completed -- unsuccessfully. Note that the caller will be blocked until the -- execution of the spawned program is complete. For maximum portability, -- use a full path name for the Program_Name argument. On some systems -- (notably Unix systems) a simple file name may also work (if the -- executable can be located in the path). -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. -- -- Note: Arguments in Args that contain spaces and/or quotes such as -- "--GCC=gcc -v" or "--GCC=""gcc -v""" are not portable across all -- operating systems, and would not have the desired effect if they were -- passed directly to the operating system. To avoid this problem, Spawn -- makes an internal call to Normalize_Arguments, which ensures that such -- arguments are modified in a manner that ensures that the desired effect -- is obtained on all operating systems. The caller may call -- Normalize_Arguments explicitly before the call (e.g. to print out the -- exact form of arguments passed to the operating system). In this case -- the guarantee a second call to Normalize_Arguments has no effect -- ensures that the internal call will not affect the result. Note that -- the implicit call to Normalize_Arguments may free and reallocate some -- of the individual arguments. -- -- This function will always set Success to False under VxWorks and other -- similar operating systems which have no notion of the concept of -- dynamically executable file. Otherwise Success is set True if the exit -- status of the spawned process is zero. function Spawn (Program_Name : String; Args : Argument_List) return Integer; -- Similar to the above procedure, but returns the actual status returned -- by the operating system, or -1 under VxWorks and any other similar -- operating systems which have no notion of separately spawnable programs. -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. procedure Spawn (Program_Name : String; Args : Argument_List; Output_File_Descriptor : File_Descriptor; Return_Code : out Integer; Err_To_Out : Boolean := True); -- Similar to the procedure above, but redirects the output to the file -- designated by Output_File_Descriptor. If Err_To_Out is True, then the -- Standard Error output is also redirected. -- Return_Code is set to the status code returned by the operating system -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. procedure Spawn (Program_Name : String; Args : Argument_List; Output_File : String; Success : out Boolean; Return_Code : out Integer; Err_To_Out : Boolean := True); -- Similar to the procedure above, but saves the output of the command to -- a file with the name Output_File. -- -- Success is set to True if the command is executed and its output -- successfully written to the file. If Success is True, then Return_Code -- will be set to the status code returned by the operating system. -- Otherwise, Return_Code is undefined. -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. type Process_Id is private; -- A private type used to identify a process activated by the following -- non-blocking calls. The only meaningful operation on this type is a -- comparison for equality. Invalid_Pid : constant Process_Id; -- A special value used to indicate errors, as described below function Pid_To_Integer (Pid : Process_Id) return Integer; -- Convert a process id to an Integer. Useful for writing hash functions -- for type Process_Id or to compare two Process_Id (e.g. for sorting). function Non_Blocking_Spawn (Program_Name : String; Args : Argument_List) return Process_Id; -- This is a non blocking call. The Process_Id of the spawned process is -- returned. Parameters are to be used as in Spawn. If Invalid_Pid is -- returned the program could not be spawned. -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. -- -- This function will always return Invalid_Pid under VxWorks, since there -- is no notion of executables under this OS. function Non_Blocking_Spawn (Program_Name : String; Args : Argument_List; Output_File_Descriptor : File_Descriptor; Err_To_Out : Boolean := True) return Process_Id; -- Similar to the procedure above, but redirects the output to the file -- designated by Output_File_Descriptor. If Err_To_Out is True, then the -- Standard Error output is also redirected. Invalid_Pid is returned -- if the program could not be spawned successfully. -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. -- -- This function will always return Invalid_Pid under VxWorks, since there -- is no notion of executables under this OS. function Non_Blocking_Spawn (Program_Name : String; Args : Argument_List; Output_File : String; Err_To_Out : Boolean := True) return Process_Id; -- Similar to the procedure above, but saves the output of the command to -- a file with the name Output_File. -- -- Success is set to True if the command is executed and its output -- successfully written to the file. Invalid_Pid is returned if the output -- file could not be created or if the program could not be spawned -- successfully. -- -- Spawning processes from tasking programs is not recommended. See -- "NOTE: Spawn in tasking programs" below. -- -- This function will always return Invalid_Pid under VxWorks, since there -- is no notion of executables under this OS. procedure Wait_Process (Pid : out Process_Id; Success : out Boolean); -- Wait for the completion of any of the processes created by previous -- calls to Non_Blocking_Spawn. The caller will be suspended until one of -- these processes terminates (normally or abnormally). If any of these -- subprocesses terminates prior to the call to Wait_Process (and has not -- been returned by a previous call to Wait_Process), then the call to -- Wait_Process is immediate. Pid identifies the process that has -- terminated (matching the value returned from Non_Blocking_Spawn). -- Success is set to True if this sub-process terminated successfully. If -- Pid = Invalid_Pid, there were no subprocesses left to wait on. -- -- This function will always set success to False under VxWorks, since -- there is no notion of executables under this OS. function Argument_String_To_List (Arg_String : String) return Argument_List_Access; -- Take a string that is a program and its arguments and parse it into an -- Argument_List. Note that the result is allocated on the heap, and must -- be freed by the programmer (when it is no longer needed) to avoid -- memory leaks. ------------------------------------- -- NOTE: Spawn in Tasking Programs -- ------------------------------------- -- Spawning processes in tasking programs using the above Spawn and -- Non_Blocking_Spawn subprograms is not recommended, because there are -- subtle interactions between creating a process and signals/locks that -- can cause trouble. These issues are not specific to Ada; they depend -- primarily on the operating system. -- If you need to spawn processes in a tasking program, you will need to -- understand the semantics of your operating system, and you are likely to -- write non-portable code, because operating systems differ in this area. -- The Spawn and Non_Blocking_Spawn subprograms call the following -- operating system functions: -- On Windows: spawnvp (blocking) or CreateProcess (non-blocking) -- On Solaris: fork1, followed in the child process by execv -- On other Unix-like systems, and on VMS: fork, followed in the child -- process by execv. -- On vxworks, nucleus, and RTX, spawning of processes is not supported -- For details, look at the functions __gnat_portable_spawn and -- __gnat_portable_no_block_spawn in adaint.c. -- You should read the operating-system-specific documentation for the -- above functions, paying special attention to subtle interactions with -- threading, signals, locks, and file descriptors. Most of the issues are -- related to the fact that on Unix, there is a window of time between fork -- and execv; Windows does not have this problem, because spawning is done -- in a single operation. -- On Posix-compliant systems, such as Linux, fork duplicates just the -- calling thread. (On Solaris, fork1 is the Posix-compliant version of -- fork.) -- You should avoid using signals while spawning. This includes signals -- used internally by the Ada run-time system, such as timer signals used -- to implement delay statements. -- It is best to spawn any subprocesses very early, before the parent -- process creates tasks, locks, or installs signal handlers. Certainly -- avoid doing simultaneous spawns from multiple threads of the same -- process. -- There is no problem spawning a subprocess that uses tasking: the -- problems are caused only by tasking in the parent. -- If the parent is using tasking, and needs to spawn subprocesses at -- arbitrary times, one technique is for the parent to spawn (very early) -- a particular spawn-manager subprocess whose job is to spawn other -- processes. The spawn-manager must avoid tasking. The parent sends -- messages to the spawn-manager requesting it to spawn processes, using -- whatever inter-process communication mechanism you like, such as -- sockets. -- In short, mixing spawning of subprocesses with tasking is a tricky -- business, and should be avoided if possible, but if it is necessary, -- the above guidelines should be followed, and you should beware of -- portability problems. ------------------- -- Miscellaneous -- ------------------- function Getenv (Name : String) return String_Access; -- Get the value of the environment variable. Returns an access to the -- empty string if the environment variable does not exist or has an -- explicit null value (in some operating systems these are distinct -- cases, in others they are not; this interface abstracts away that -- difference. The argument is allocated on the heap (even in the null -- case), and needs to be freed explicitly when no longer needed to avoid -- memory leaks. procedure Setenv (Name : String; Value : String); -- Set the value of the environment variable Name to Value. This call -- modifies the current environment, but does not modify the parent -- process environment. After a call to Setenv, Getenv (Name) will always -- return a String_Access referencing the same String as Value. This is -- true also for the null string case (the actual effect may be to either -- set an explicit null as the value, or to remove the entry, this is -- operating system dependent). Note that any following calls to Spawn -- will pass an environment to the spawned process that includes the -- changes made by Setenv calls. This procedure is not available on VMS. procedure OS_Exit (Status : Integer); pragma No_Return (OS_Exit); -- Exit to OS with given status code (program is terminated). Note that -- this is abrupt termination. All tasks are immediately terminated. There -- are no finalization or other Ada-specific cleanup actions performed. On -- systems with atexit handlers (such as Unix and Windows), atexit handlers -- are called. type OS_Exit_Subprogram is access procedure (Status : Integer); procedure OS_Exit_Default (Status : Integer); pragma No_Return (OS_Exit_Default); -- Default implementation of procedure OS_Exit OS_Exit_Ptr : OS_Exit_Subprogram := OS_Exit_Default'Access; -- OS_Exit is implemented through this access value. It it then possible to -- change the implementation of OS_Exit by redirecting OS_Exit_Ptr to an -- other implementation. procedure OS_Abort; pragma Import (C, OS_Abort, "abort"); pragma No_Return (OS_Abort); -- Exit to OS signalling an abort (traceback or other appropriate -- diagnostic information should be given if possible, or entry made to -- the debugger if that is possible). function Errno return Integer; pragma Import (C, Errno, "__get_errno"); -- Return the task-safe last error number procedure Set_Errno (Errno : Integer); pragma Import (C, Set_Errno, "__set_errno"); -- Set the task-safe error number Directory_Separator : constant Character; -- The character that is used to separate parts of a pathname Path_Separator : constant Character; -- The character to separate paths in an environment variable value private pragma Import (C, Path_Separator, "__gnat_path_separator"); pragma Import (C, Directory_Separator, "__gnat_dir_separator"); pragma Import (C, Current_Time, "__gnat_current_time"); type OS_Time is range -(2 ** (Standard'Address_Size - Integer'(1))) .. +(2 ** (Standard'Address_Size - Integer'(1)) - 1); -- Type used for timestamps in the compiler. This type is used to hold -- time stamps, but may have a different representation than C's time_t. -- This type needs to match the declaration of OS_Time in adaint.h. -- Add pragma Inline statements for comparison operations on OS_Time. It -- would actually be nice to use pragma Import (Intrinsic) here, but this -- was not properly supported till GNAT 3.15a, so that would cause -- bootstrap path problems. To be changed later ??? Invalid_Time : constant OS_Time := -1; -- This value should match the return value from __gnat_file_time_* pragma Inline ("<"); pragma Inline (">"); pragma Inline ("<="); pragma Inline (">="); type Process_Id is new Integer; Invalid_Pid : constant Process_Id := -1; end System.OS_Lib;
47.884422
79
0.685444
38099b299204694d95f27e6021ea47e2f1f45940
6,866
ads
Ada
src/svd/sam_svd-pcc.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-pcc.ads
Fabien-Chouteau/samd51-hal
54d4b29df100502d8b3e3b4680a198640faa5f4d
[ "BSD-3-Clause" ]
null
null
null
src/svd/sam_svd-pcc.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.PCC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype PCC_MR_DSIZE_Field is HAL.UInt2; subtype PCC_MR_ISIZE_Field is HAL.UInt3; subtype PCC_MR_CID_Field is HAL.UInt2; -- Mode Register type PCC_MR_Register is record -- Parallel Capture Enable PCEN : Boolean := False; -- unspecified Reserved_1_3 : HAL.UInt3 := 16#0#; -- Data size DSIZE : PCC_MR_DSIZE_Field := 16#0#; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; -- Scale data SCALE : Boolean := False; -- Always Sampling ALWYS : Boolean := False; -- Half Sampling HALFS : Boolean := False; -- First sample FRSTS : Boolean := False; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; -- Input Data Size ISIZE : PCC_MR_ISIZE_Field := 16#0#; -- unspecified Reserved_19_29 : HAL.UInt11 := 16#0#; -- Clear If Disabled CID : PCC_MR_CID_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_MR_Register use record PCEN at 0 range 0 .. 0; Reserved_1_3 at 0 range 1 .. 3; DSIZE at 0 range 4 .. 5; Reserved_6_7 at 0 range 6 .. 7; SCALE at 0 range 8 .. 8; ALWYS at 0 range 9 .. 9; HALFS at 0 range 10 .. 10; FRSTS at 0 range 11 .. 11; Reserved_12_15 at 0 range 12 .. 15; ISIZE at 0 range 16 .. 18; Reserved_19_29 at 0 range 19 .. 29; CID at 0 range 30 .. 31; end record; -- Interrupt Enable Register type PCC_IER_Register is record -- Write-only. Data Ready Interrupt Enable DRDY : Boolean := False; -- Write-only. Overrun Error Interrupt Enable OVRE : Boolean := False; -- unspecified Reserved_2_31 : HAL.UInt30 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_IER_Register use record DRDY at 0 range 0 .. 0; OVRE at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; -- Interrupt Disable Register type PCC_IDR_Register is record -- Write-only. Data Ready Interrupt Disable DRDY : Boolean := False; -- Write-only. Overrun Error Interrupt Disable OVRE : Boolean := False; -- unspecified Reserved_2_31 : HAL.UInt30 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_IDR_Register use record DRDY at 0 range 0 .. 0; OVRE at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; -- Interrupt Mask Register type PCC_IMR_Register is record -- Read-only. Data Ready Interrupt Mask DRDY : Boolean; -- Read-only. Overrun Error Interrupt Mask OVRE : Boolean; -- unspecified Reserved_2_31 : HAL.UInt30; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_IMR_Register use record DRDY at 0 range 0 .. 0; OVRE at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; -- Interrupt Status Register type PCC_ISR_Register is record -- Read-only. Data Ready Interrupt Status DRDY : Boolean; -- Read-only. Overrun Error Interrupt Status OVRE : Boolean; -- unspecified Reserved_2_31 : HAL.UInt30; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_ISR_Register use record DRDY at 0 range 0 .. 0; OVRE at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; subtype PCC_WPMR_WPKEY_Field is HAL.UInt24; -- Write Protection Mode Register type PCC_WPMR_Register is record -- Write Protection Enable WPEN : Boolean := False; -- unspecified Reserved_1_7 : HAL.UInt7 := 16#0#; -- Write Protection Key WPKEY : PCC_WPMR_WPKEY_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_WPMR_Register use record WPEN at 0 range 0 .. 0; Reserved_1_7 at 0 range 1 .. 7; WPKEY at 0 range 8 .. 31; end record; subtype PCC_WPSR_WPVSRC_Field is HAL.UInt16; -- Write Protection Status Register type PCC_WPSR_Register is record -- Read-only. Write Protection Violation Source WPVS : Boolean; -- unspecified Reserved_1_7 : HAL.UInt7; -- Read-only. Write Protection Violation Status WPVSRC : PCC_WPSR_WPVSRC_Field; -- unspecified Reserved_24_31 : HAL.UInt8; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PCC_WPSR_Register use record WPVS at 0 range 0 .. 0; Reserved_1_7 at 0 range 1 .. 7; WPVSRC at 0 range 8 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Parallel Capture Controller type PCC_Peripheral is record -- Mode Register MR : aliased PCC_MR_Register; -- Interrupt Enable Register IER : aliased PCC_IER_Register; -- Interrupt Disable Register IDR : aliased PCC_IDR_Register; -- Interrupt Mask Register IMR : aliased PCC_IMR_Register; -- Interrupt Status Register ISR : aliased PCC_ISR_Register; -- Reception Holding Register RHR : aliased HAL.UInt32; -- Write Protection Mode Register WPMR : aliased PCC_WPMR_Register; -- Write Protection Status Register WPSR : aliased PCC_WPSR_Register; end record with Volatile; for PCC_Peripheral use record MR at 16#0# range 0 .. 31; IER at 16#4# range 0 .. 31; IDR at 16#8# range 0 .. 31; IMR at 16#C# range 0 .. 31; ISR at 16#10# range 0 .. 31; RHR at 16#14# range 0 .. 31; WPMR at 16#E0# range 0 .. 31; WPSR at 16#E4# range 0 .. 31; end record; -- Parallel Capture Controller PCC_Periph : aliased PCC_Peripheral with Import, Address => PCC_Base; end SAM_SVD.PCC;
30.927928
68
0.583892
2e19b080ec47ceb5ce8d0d0690c16543f7e3952e
4,140
ads
Ada
examples/shared/serial_ports/src/serial_io-blocking.ads
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
examples/shared/serial_ports/src/serial_io-blocking.ads
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
examples/shared/serial_ports/src/serial_io-blocking.ads
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2022, 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. -- -- -- ------------------------------------------------------------------------------ -- This package defines an abstract data type for a "serial port" providing -- blocking input (Get) and output (Put) procedures. The procedures are -- considered blocking in that they do not return to the caller until the -- entire message is received or sent. -- -- The serial port abstraction is a wrapper around a USART peripheral, -- described by a value of type Peripheral_Descriptor. -- -- Polling is used within the procedures to determine when characters are sent -- and received. with Message_Buffers; use Message_Buffers; package Serial_IO.Blocking is pragma Elaborate_Body; type Serial_Port (Device : not null access Peripheral_Descriptor) is tagged limited private; procedure Initialize_Hardware (This : out Serial_Port); procedure Configure (This : in out Serial_Port; Baud_Rate : Baud_Rates; Parity : Parities := No_Parity; Data_Bits : Word_Lengths := Word_Length_8; End_Bits : Stop_Bits := Stopbits_1; Control : Flow_Control := No_Flow_Control); procedure Send (This : in out Serial_Port; Msg : not null access Message); -- Sends Msg.Length characters of Msg via USART attached to This. Callers -- wait until all characters are sent. procedure Receive (This : in out Serial_Port; Msg : not null access Message) with Post => Msg.Length <= Msg.Physical_Size and (if Msg.Length > 0 then Msg.Content_At (Msg.Length) /= Msg.Terminator); -- Callers wait until all characters are received. private type Serial_Port (Device : access Peripheral_Descriptor) is tagged limited null record; procedure Await_Send_Ready (This : USART) with Inline; procedure Await_Data_Available (This : USART) with Inline; end Serial_IO.Blocking;
52.405063
90
0.597101
8bf27385c1f7d584818ef83cd893e9cbd211199e
98
adb
Ada
tests/typing/bad/testfile-cmp-1.adb
xuedong/mini-ada
59a8b966cf50ba22a3b5a7cb449f671e4da32e44
[ "MIT" ]
null
null
null
tests/typing/bad/testfile-cmp-1.adb
xuedong/mini-ada
59a8b966cf50ba22a3b5a7cb449f671e4da32e44
[ "MIT" ]
1
2019-03-10T19:13:21.000Z
2019-03-10T19:19:46.000Z
tests/typing/bad/testfile-cmp-1.adb
xuedong/mini-ada
59a8b966cf50ba22a3b5a7cb449f671e4da32e44
[ "MIT" ]
null
null
null
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin if 1 < 'a' then new_line; end if; end;
32.666667
62
0.72449
1e5405525838731c239788a15f17c24100cea9cb
4,262
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45672a.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/c45672a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45672a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C45672A.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 "NOT" YIELDS THE CORRECT RESULTS WHEN APPLIED TO -- ONE-DIMENSIONAL BOOLEAN ARRAYS. -- JWC 11/15/85 WITH REPORT;USE REPORT; PROCEDURE C45672A IS BEGIN TEST ("C45672A", "CHECK THE UNARY OPERATOR 'NOT' APPLIED TO " & "ONE-DIMENSIONAL BOOLEAN ARRAYS"); DECLARE TYPE ARR1 IS ARRAY (INTEGER RANGE 1 .. 4) OF BOOLEAN; TYPE ARR2 IS ARRAY (INTEGER RANGE 1 .. 40) OF BOOLEAN; TYPE ARR3 IS ARRAY (INTEGER RANGE <>) OF BOOLEAN; TYPE ARR4 IS ARRAY (INTEGER RANGE 1 .. 4) OF BOOLEAN; TYPE ARR5 IS ARRAY (INTEGER RANGE 1 .. 40) OF BOOLEAN; PRAGMA PACK (ARR4); PRAGMA PACK (ARR5); A1 : ARR1 := ARR1'(1 | 3 => TRUE, OTHERS => FALSE); A2 : ARR2 := ARR2'(1 | 14 .. 18 | 30 .. 33 | 35 .. 37 => TRUE, OTHERS => FALSE); A3 : ARR3(IDENT_INT(3) .. IDENT_INT(4)) := ARR3'(TRUE, FALSE); A4 : ARR4 := ARR4'(1 | 3 => TRUE, OTHERS => FALSE); A5 : ARR5 := ARR5'(1 | 14 .. 18 | 30 .. 33 | 35 .. 37 => TRUE, OTHERS => FALSE); A6 : ARR3 (IDENT_INT(9) .. IDENT_INT(7)); PROCEDURE P (A : ARR3; F : INTEGER; L : INTEGER) IS BEGIN IF A'FIRST /= F OR A'LAST /= L THEN FAILED ("'NOT' YIELDED THE WRONG BOUNDS"); END IF; END P; BEGIN P (NOT A3, 3, 4); P (NOT A6, 9, 7); IF NOT A1 /= ARR1'(1 | 3 => FALSE, OTHERS => TRUE) THEN FAILED ("WRONG RESULT WHEN 'NOT' APPLIED " & "TO SMALL ARRAY"); END IF; IF NOT A2 /= ARR2'(1 | 14 .. 18 | 30 .. 33 | 35 .. 37 => FALSE, OTHERS => TRUE) THEN FAILED ("WRONG RESULT WHEN 'NOT' APPLIED " & "TO LARGE ARRAY"); END IF; IF NOT A4 /= ARR4'(1 | 3 => FALSE, OTHERS => TRUE) THEN FAILED ("WRONG RESULT WHEN 'NOT' APPLIED " & "TO SMALL PACKED ARRAY"); END IF; IF NOT A5 /= ARR5'(1 | 14 .. 18 | 30 .. 33 | 35 .. 37 => FALSE, OTHERS => TRUE) THEN FAILED ("WRONG RESULT WHEN 'NOT' APPLIED " & "TO LARGE PACKED ARRAY"); END IF; IF "NOT" (RIGHT => A1) /= ARR1'(1 | 3 => FALSE, OTHERS => TRUE) THEN FAILED ("WRONG RESULT WHEN 'NOT' APPLIED " & "TO SMALL ARRAY USING NAMED NOTATION"); END IF; IF "NOT" (RIGHT => A5) /= ARR5'(1 | 14 .. 18 | 30 .. 33 | 35 .. 37 => FALSE, OTHERS => TRUE) THEN FAILED ("WRONG RESULT WHEN 'NOT' APPLIED TO LARGE " & "PACKED ARRAY USING NAMED NOTATION"); END IF; END; RESULT; END C45672A;
38.745455
79
0.51267
a03fa88a668f33ecc455b3aaac6d6046345c18b5
18,851
ads
Ada
src/stm32-usart.ads
damaki/EVB1000
1589a3f3bd79d7c9970f3b0758e133e3ec1ee6e2
[ "MIT" ]
null
null
null
src/stm32-usart.ads
damaki/EVB1000
1589a3f3bd79d7c9970f3b0758e133e3ec1ee6e2
[ "MIT" ]
null
null
null
src/stm32-usart.ads
damaki/EVB1000
1589a3f3bd79d7c9970f3b0758e133e3ec1ee6e2
[ "MIT" ]
1
2021-02-10T14:33:06.000Z
2021-02-10T14:33:06.000Z
-- This spec has been automatically generated from STM32F105xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with System; package STM32.USART is pragma Preelaborate; --------------- -- Registers -- --------------- ----------------- -- SR_Register -- ----------------- subtype SR_PE_Field is STM32.Bit; subtype SR_FE_Field is STM32.Bit; subtype SR_NE_Field is STM32.Bit; subtype SR_ORE_Field is STM32.Bit; subtype SR_IDLE_Field is STM32.Bit; subtype SR_RXNE_Field is STM32.Bit; subtype SR_TC_Field is STM32.Bit; subtype SR_TXE_Field is STM32.Bit; subtype SR_LBD_Field is STM32.Bit; subtype SR_CTS_Field is STM32.Bit; -- Status register type SR_Register is record -- Read-only. Parity error PE : SR_PE_Field := 16#0#; -- Read-only. Framing error FE : SR_FE_Field := 16#0#; -- Read-only. Noise error flag NE : SR_NE_Field := 16#0#; -- Read-only. Overrun error ORE : SR_ORE_Field := 16#0#; -- Read-only. IDLE line detected IDLE : SR_IDLE_Field := 16#0#; -- Read data register not empty RXNE : SR_RXNE_Field := 16#0#; -- Transmission complete TC : SR_TC_Field := 16#1#; -- Read-only. Transmit data register empty TXE : SR_TXE_Field := 16#1#; -- LIN break detection flag LBD : SR_LBD_Field := 16#0#; -- CTS flag CTS : SR_CTS_Field := 16#0#; -- unspecified Reserved_10_31 : STM32.UInt22 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SR_Register use record PE at 0 range 0 .. 0; FE at 0 range 1 .. 1; NE at 0 range 2 .. 2; ORE at 0 range 3 .. 3; IDLE at 0 range 4 .. 4; RXNE at 0 range 5 .. 5; TC at 0 range 6 .. 6; TXE at 0 range 7 .. 7; LBD at 0 range 8 .. 8; CTS at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; ----------------- -- DR_Register -- ----------------- subtype DR_DR_Field is STM32.UInt9; -- Data register type DR_Register is record -- Data value DR : DR_DR_Field := 16#0#; -- unspecified Reserved_9_31 : STM32.UInt23 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for DR_Register use record DR at 0 range 0 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; ------------------ -- BRR_Register -- ------------------ subtype BRR_DIV_Fraction_Field is STM32.UInt4; subtype BRR_DIV_Mantissa_Field is STM32.UInt12; -- Baud rate register type BRR_Register is record -- fraction of USARTDIV DIV_Fraction : BRR_DIV_Fraction_Field := 16#0#; -- mantissa of USARTDIV DIV_Mantissa : BRR_DIV_Mantissa_Field := 16#0#; -- unspecified Reserved_16_31 : STM32.Short := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for BRR_Register use record DIV_Fraction at 0 range 0 .. 3; DIV_Mantissa at 0 range 4 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ------------------ -- CR1_Register -- ------------------ subtype CR1_SBK_Field is STM32.Bit; subtype CR1_RWU_Field is STM32.Bit; subtype CR1_RE_Field is STM32.Bit; subtype CR1_TE_Field is STM32.Bit; subtype CR1_IDLEIE_Field is STM32.Bit; subtype CR1_RXNEIE_Field is STM32.Bit; subtype CR1_TCIE_Field is STM32.Bit; subtype CR1_TXEIE_Field is STM32.Bit; subtype CR1_PEIE_Field is STM32.Bit; subtype CR1_PS_Field is STM32.Bit; subtype CR1_PCE_Field is STM32.Bit; subtype CR1_WAKE_Field is STM32.Bit; subtype CR1_M_Field is STM32.Bit; subtype CR1_UE_Field is STM32.Bit; -- Control register 1 type CR1_Register is record -- Send break SBK : CR1_SBK_Field := 16#0#; -- Receiver wakeup RWU : CR1_RWU_Field := 16#0#; -- Receiver enable RE : CR1_RE_Field := 16#0#; -- Transmitter enable TE : CR1_TE_Field := 16#0#; -- IDLE interrupt enable IDLEIE : CR1_IDLEIE_Field := 16#0#; -- RXNE interrupt enable RXNEIE : CR1_RXNEIE_Field := 16#0#; -- Transmission complete interrupt enable TCIE : CR1_TCIE_Field := 16#0#; -- TXE interrupt enable TXEIE : CR1_TXEIE_Field := 16#0#; -- PE interrupt enable PEIE : CR1_PEIE_Field := 16#0#; -- Parity selection PS : CR1_PS_Field := 16#0#; -- Parity control enable PCE : CR1_PCE_Field := 16#0#; -- Wakeup method WAKE : CR1_WAKE_Field := 16#0#; -- Word length M : CR1_M_Field := 16#0#; -- USART enable UE : CR1_UE_Field := 16#0#; -- unspecified Reserved_14_31 : STM32.UInt18 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record SBK at 0 range 0 .. 0; RWU at 0 range 1 .. 1; RE at 0 range 2 .. 2; TE at 0 range 3 .. 3; IDLEIE at 0 range 4 .. 4; RXNEIE at 0 range 5 .. 5; TCIE at 0 range 6 .. 6; TXEIE at 0 range 7 .. 7; PEIE at 0 range 8 .. 8; PS at 0 range 9 .. 9; PCE at 0 range 10 .. 10; WAKE at 0 range 11 .. 11; M at 0 range 12 .. 12; UE at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; ------------------ -- CR2_Register -- ------------------ subtype CR2_ADD_Field is STM32.UInt4; subtype CR2_LBDL_Field is STM32.Bit; subtype CR2_LBDIE_Field is STM32.Bit; subtype CR2_LBCL_Field is STM32.Bit; subtype CR2_CPHA_Field is STM32.Bit; subtype CR2_CPOL_Field is STM32.Bit; subtype CR2_CLKEN_Field is STM32.Bit; subtype CR2_STOP_Field is STM32.UInt2; subtype CR2_LINEN_Field is STM32.Bit; -- Control register 2 type CR2_Register is record -- Address of the USART node ADD : CR2_ADD_Field := 16#0#; -- unspecified Reserved_4_4 : STM32.Bit := 16#0#; -- lin break detection length LBDL : CR2_LBDL_Field := 16#0#; -- LIN break detection interrupt enable LBDIE : CR2_LBDIE_Field := 16#0#; -- unspecified Reserved_7_7 : STM32.Bit := 16#0#; -- Last bit clock pulse LBCL : CR2_LBCL_Field := 16#0#; -- Clock phase CPHA : CR2_CPHA_Field := 16#0#; -- Clock polarity CPOL : CR2_CPOL_Field := 16#0#; -- Clock enable CLKEN : CR2_CLKEN_Field := 16#0#; -- STOP bits STOP : CR2_STOP_Field := 16#0#; -- LIN mode enable LINEN : CR2_LINEN_Field := 16#0#; -- unspecified Reserved_15_31 : STM32.UInt17 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record ADD at 0 range 0 .. 3; Reserved_4_4 at 0 range 4 .. 4; LBDL at 0 range 5 .. 5; LBDIE at 0 range 6 .. 6; Reserved_7_7 at 0 range 7 .. 7; LBCL at 0 range 8 .. 8; CPHA at 0 range 9 .. 9; CPOL at 0 range 10 .. 10; CLKEN at 0 range 11 .. 11; STOP at 0 range 12 .. 13; LINEN at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; ------------------ -- CR3_Register -- ------------------ subtype CR3_EIE_Field is STM32.Bit; subtype CR3_IREN_Field is STM32.Bit; subtype CR3_IRLP_Field is STM32.Bit; subtype CR3_HDSEL_Field is STM32.Bit; subtype CR3_NACK_Field is STM32.Bit; subtype CR3_SCEN_Field is STM32.Bit; subtype CR3_DMAR_Field is STM32.Bit; subtype CR3_DMAT_Field is STM32.Bit; subtype CR3_RTSE_Field is STM32.Bit; subtype CR3_CTSE_Field is STM32.Bit; subtype CR3_CTSIE_Field is STM32.Bit; -- Control register 3 type CR3_Register is record -- Error interrupt enable EIE : CR3_EIE_Field := 16#0#; -- IrDA mode enable IREN : CR3_IREN_Field := 16#0#; -- IrDA low-power IRLP : CR3_IRLP_Field := 16#0#; -- Half-duplex selection HDSEL : CR3_HDSEL_Field := 16#0#; -- Smartcard NACK enable NACK : CR3_NACK_Field := 16#0#; -- Smartcard mode enable SCEN : CR3_SCEN_Field := 16#0#; -- DMA enable receiver DMAR : CR3_DMAR_Field := 16#0#; -- DMA enable transmitter DMAT : CR3_DMAT_Field := 16#0#; -- RTS enable RTSE : CR3_RTSE_Field := 16#0#; -- CTS enable CTSE : CR3_CTSE_Field := 16#0#; -- CTS interrupt enable CTSIE : CR3_CTSIE_Field := 16#0#; -- unspecified Reserved_11_31 : STM32.UInt21 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR3_Register use record EIE at 0 range 0 .. 0; IREN at 0 range 1 .. 1; IRLP at 0 range 2 .. 2; HDSEL at 0 range 3 .. 3; NACK at 0 range 4 .. 4; SCEN at 0 range 5 .. 5; DMAR at 0 range 6 .. 6; DMAT at 0 range 7 .. 7; RTSE at 0 range 8 .. 8; CTSE at 0 range 9 .. 9; CTSIE at 0 range 10 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; ------------------- -- GTPR_Register -- ------------------- subtype GTPR_PSC_Field is STM32.Byte; subtype GTPR_GT_Field is STM32.Byte; -- Guard time and prescaler register type GTPR_Register is record -- Prescaler value PSC : GTPR_PSC_Field := 16#0#; -- Guard time value GT : GTPR_GT_Field := 16#0#; -- unspecified Reserved_16_31 : STM32.Short := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for GTPR_Register use record PSC at 0 range 0 .. 7; GT at 0 range 8 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ----------------- -- SR_Register -- ----------------- -- UART4 SR type SR_Register_1 is record -- Read-only. Parity error PE : SR_PE_Field := 16#0#; -- Read-only. Framing error FE : SR_FE_Field := 16#0#; -- Read-only. Noise error flag NE : SR_NE_Field := 16#0#; -- Read-only. Overrun error ORE : SR_ORE_Field := 16#0#; -- Read-only. IDLE line detected IDLE : SR_IDLE_Field := 16#0#; -- Read data register not empty RXNE : SR_RXNE_Field := 16#0#; -- Transmission complete TC : SR_TC_Field := 16#0#; -- Read-only. Transmit data register empty TXE : SR_TXE_Field := 16#0#; -- LIN break detection flag LBD : SR_LBD_Field := 16#0#; -- unspecified Reserved_9_31 : STM32.UInt23 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SR_Register_1 use record PE at 0 range 0 .. 0; FE at 0 range 1 .. 1; NE at 0 range 2 .. 2; ORE at 0 range 3 .. 3; IDLE at 0 range 4 .. 4; RXNE at 0 range 5 .. 5; TC at 0 range 6 .. 6; TXE at 0 range 7 .. 7; LBD at 0 range 8 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; ------------------ -- BRR_Register -- ------------------ ------------------ -- CR1_Register -- ------------------ ------------------ -- CR2_Register -- ------------------ -- UART4 CR2 type CR2_Register_1 is record -- Address of the USART node ADD : CR2_ADD_Field := 16#0#; -- unspecified Reserved_4_4 : STM32.Bit := 16#0#; -- lin break detection length LBDL : CR2_LBDL_Field := 16#0#; -- LIN break detection interrupt enable LBDIE : CR2_LBDIE_Field := 16#0#; -- unspecified Reserved_7_11 : STM32.UInt5 := 16#0#; -- STOP bits STOP : CR2_STOP_Field := 16#0#; -- LIN mode enable LINEN : CR2_LINEN_Field := 16#0#; -- unspecified Reserved_15_31 : STM32.UInt17 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register_1 use record ADD at 0 range 0 .. 3; Reserved_4_4 at 0 range 4 .. 4; LBDL at 0 range 5 .. 5; LBDIE at 0 range 6 .. 6; Reserved_7_11 at 0 range 7 .. 11; STOP at 0 range 12 .. 13; LINEN at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; ------------------ -- CR3_Register -- ------------------ -- UART4 CR3 type CR3_Register_1 is record -- Error interrupt enable EIE : CR3_EIE_Field := 16#0#; -- IrDA mode enable IREN : CR3_IREN_Field := 16#0#; -- IrDA low-power IRLP : CR3_IRLP_Field := 16#0#; -- Half-duplex selection HDSEL : CR3_HDSEL_Field := 16#0#; -- unspecified Reserved_4_5 : STM32.UInt2 := 16#0#; -- DMA enable receiver DMAR : CR3_DMAR_Field := 16#0#; -- DMA enable transmitter DMAT : CR3_DMAT_Field := 16#0#; -- unspecified Reserved_8_31 : STM32.UInt24 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR3_Register_1 use record EIE at 0 range 0 .. 0; IREN at 0 range 1 .. 1; IRLP at 0 range 2 .. 2; HDSEL at 0 range 3 .. 3; Reserved_4_5 at 0 range 4 .. 5; DMAR at 0 range 6 .. 6; DMAT at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; ------------------ -- CR3_Register -- ------------------ -- UART5 CR3 type CR3_Register_2 is record -- Error interrupt enable EIE : CR3_EIE_Field := 16#0#; -- IrDA mode enable IREN : CR3_IREN_Field := 16#0#; -- IrDA low-power IRLP : CR3_IRLP_Field := 16#0#; -- Half-duplex selection HDSEL : CR3_HDSEL_Field := 16#0#; -- unspecified Reserved_4_6 : STM32.UInt3 := 16#0#; -- DMA enable transmitter DMAT : CR3_DMAT_Field := 16#0#; -- unspecified Reserved_8_31 : STM32.UInt24 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR3_Register_2 use record EIE at 0 range 0 .. 0; IREN at 0 range 1 .. 1; IRLP at 0 range 2 .. 2; HDSEL at 0 range 3 .. 3; Reserved_4_6 at 0 range 4 .. 6; DMAT at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Universal synchronous asynchronous receiver transmitter type USART2_Peripheral is record -- Status register SR : SR_Register; -- Data register DR : DR_Register; -- Baud rate register BRR : BRR_Register; -- Control register 1 CR1 : CR1_Register; -- Control register 2 CR2 : CR2_Register; -- Control register 3 CR3 : CR3_Register; -- Guard time and prescaler register GTPR : GTPR_Register; end record with Volatile; for USART2_Peripheral use record SR at 0 range 0 .. 31; DR at 4 range 0 .. 31; BRR at 8 range 0 .. 31; CR1 at 12 range 0 .. 31; CR2 at 16 range 0 .. 31; CR3 at 20 range 0 .. 31; GTPR at 24 range 0 .. 31; end record; -- Universal synchronous asynchronous receiver transmitter USART2_Periph : aliased USART2_Peripheral with Import, Address => USART2_Base; -- Universal synchronous asynchronous receiver transmitter USART3_Periph : aliased USART2_Peripheral with Import, Address => USART3_Base; -- Universal synchronous asynchronous receiver transmitter USART1_Periph : aliased USART2_Peripheral with Import, Address => USART1_Base; -- Universal asynchronous receiver transmitter type UART4_Peripheral is record -- UART4 SR SR : SR_Register_1; -- UART4 DR DR : DR_Register; -- UART4 BRR BRR : BRR_Register; -- UART4 CR1 CR1 : CR1_Register; -- UART4 CR2 CR2 : CR2_Register_1; -- UART4 CR3 CR3 : CR3_Register_1; end record with Volatile; for UART4_Peripheral use record SR at 0 range 0 .. 31; DR at 4 range 0 .. 31; BRR at 8 range 0 .. 31; CR1 at 12 range 0 .. 31; CR2 at 16 range 0 .. 31; CR3 at 20 range 0 .. 31; end record; -- Universal asynchronous receiver transmitter UART4_Periph : aliased UART4_Peripheral with Import, Address => UART4_Base; -- Universal asynchronous receiver transmitter type UART5_Peripheral is record -- UART5 SR SR : SR_Register_1; -- UART5 DR DR : DR_Register; -- UART5 BRR BRR : BRR_Register; -- UART5 CR1 CR1 : CR1_Register; -- UART5 CR2 CR2 : CR2_Register_1; -- UART5 CR3 CR3 : CR3_Register_2; end record with Volatile; for UART5_Peripheral use record SR at 0 range 0 .. 31; DR at 4 range 0 .. 31; BRR at 8 range 0 .. 31; CR1 at 12 range 0 .. 31; CR2 at 16 range 0 .. 31; CR3 at 20 range 0 .. 31; end record; -- Universal asynchronous receiver transmitter UART5_Periph : aliased UART5_Peripheral with Import, Address => UART5_Base; end STM32.USART;
31.366057
67
0.532067
38b5d054b6ae8d10e2c16551c134e1eae6e8c163
5,229
ada
Ada
snapshot/Ada/server-spec.ada
daemonl/openapi-codegen
7dec48c1768ca6e23e6bf136df5fc7863af88c1d
[ "Apache-2.0" ]
null
null
null
snapshot/Ada/server-spec.ada
daemonl/openapi-codegen
7dec48c1768ca6e23e6bf136df5fc7863af88c1d
[ "Apache-2.0" ]
null
null
null
snapshot/Ada/server-spec.ada
daemonl/openapi-codegen
7dec48c1768ca6e23e6bf136df5fc7863af88c1d
[ "Apache-2.0" ]
null
null
null
-- Swagger Petstore -- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. -- ------------ EDIT NOTE ------------ -- This file was generated with swagger-codegen. You can modify it to implement -- the server. After you modify this file, you should add the following line -- to the .swagger-codegen-ignore file: -- -- src/IO.OpenAPI-servers.ads -- -- Then, you can drop this edit note comment. -- ------------ EDIT NOTE ------------ with IO.OpenAPI.Model.Default; with Swagger.Servers; with IO.OpenAPI.Api.Models; with IO.OpenAPI.Api.Skeletons; package IO.OpenAPI.Api.Servers is use IO.OpenAPI.Api.Models; type Server_Type is limited new IO.OpenAPI.Api.Skeletons.Server_Type with null record; -- Add a new pet to the store overriding procedure addPet (Server : in out Server_Type; body : in object; Context : in out Swagger.Servers.Context_Type); -- Update an existing pet overriding procedure updatePet (Server : in out Server_Type; body : in object; Context : in out Swagger.Servers.Context_Type); -- Finds Pets by status overriding procedure findPetsByStatus (Server : in out Server_Type; status : in array; Result : out array; Context : in out Swagger.Servers.Context_Type); -- Finds Pets by tags overriding procedure findPetsByTags (Server : in out Server_Type; tags : in array; Result : out array; Context : in out Swagger.Servers.Context_Type); -- Find pet by ID overriding procedure getPetById (Server : in out Server_Type; petId : in integer; Result : out Pet; Context : in out Swagger.Servers.Context_Type); -- Updates a pet in the store with form data overriding procedure updatePetWithForm (Server : in out Server_Type; petId : in integer; body : in object; Context : in out Swagger.Servers.Context_Type); -- Deletes a pet overriding procedure deletePet (Server : in out Server_Type; petId : in integer; api_key : in string; Context : in out Swagger.Servers.Context_Type); -- uploads an image overriding procedure uploadFile (Server : in out Server_Type; petId : in integer; body : in string; Result : out ApiResponse; Context : in out Swagger.Servers.Context_Type); -- Returns pet inventories by status overriding procedure getInventory (Server : in out Server_Type ; Result : out object; Context : in out Swagger.Servers.Context_Type); -- Place an order for a pet overriding procedure placeOrder (Server : in out Server_Type; body : in object; Result : out Order; Context : in out Swagger.Servers.Context_Type); -- Find purchase order by ID overriding procedure getOrderById (Server : in out Server_Type; orderId : in integer; Result : out Order; Context : in out Swagger.Servers.Context_Type); -- Delete purchase order by ID overriding procedure deleteOrder (Server : in out Server_Type; orderId : in integer; Context : in out Swagger.Servers.Context_Type); -- Create user overriding procedure createUser (Server : in out Server_Type; body : in object; Context : in out Swagger.Servers.Context_Type); -- Creates list of users with given input array overriding procedure createUsersWithArrayInput (Server : in out Server_Type; body : in array; Context : in out Swagger.Servers.Context_Type); -- Creates list of users with given input array overriding procedure createUsersWithListInput (Server : in out Server_Type; body : in array; Context : in out Swagger.Servers.Context_Type); -- Logs user into the system overriding procedure loginUser (Server : in out Server_Type; username : in string; password : in string; Result : out string; Context : in out Swagger.Servers.Context_Type); -- Logs out current logged in user session overriding procedure logoutUser (Server : in out Server_Type ; Context : in out Swagger.Servers.Context_Type); -- Get user by user name overriding procedure getUserByName (Server : in out Server_Type; username : in string; Result : out User; Context : in out Swagger.Servers.Context_Type); -- Updated user overriding procedure updateUser (Server : in out Server_Type; username : in string; body : in object; Context : in out Swagger.Servers.Context_Type); -- Delete user overriding procedure deleteUser (Server : in out Server_Type; username : in string; Context : in out Swagger.Servers.Context_Type); package Server_Impl is new IO.OpenAPI.Api.Skeletons.Shared_Instance (Server_Type); end IO.OpenAPI.Api.Servers;
29.212291
274
0.654236
190e271398b8fbbc7699ed236ea443b84a8bf020
57,836
ads
Ada
2A/S7/SysConc/TP/TP6/b__lr-main.ads
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
4
2020-05-02T12:32:32.000Z
2022-01-12T20:20:35.000Z
2A/S7/SysConc/TP/TP6/b__lr-main.ads
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
2
2021-01-14T20:03:26.000Z
2022-01-30T01:10:00.000Z
2A/S7/SysConc/TP/TP6/b__lr-main.ads
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
13
2020-11-11T21:28:11.000Z
2022-02-19T13:54:22.000Z
pragma Ada_95; pragma Warnings (Off); with System; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Import (C, gnat_argv); pragma Import (C, gnat_envp); gnat_exit_status : Integer; pragma Import (C, gnat_exit_status); GNAT_Version : constant String := "GNAT Version: 7.5.0" & ASCII.NUL; pragma Export (C, GNAT_Version, "__gnat_version"); Ada_Main_Program_Name : constant String := "_ada_lr__main" & ASCII.NUL; pragma Export (C, Ada_Main_Program_Name, "__gnat_ada_main_program_name"); procedure adainit; pragma Export (C, adainit, "adainit"); procedure adafinal; pragma Export (C, adafinal, "adafinal"); function main (argc : Integer; argv : System.Address; envp : System.Address) return Integer; pragma Export (C, main, "main"); type Version_32 is mod 2 ** 32; u00001 : constant Version_32 := 16#b3f00408#; pragma Export (C, u00001, "lr__mainB"); u00002 : constant Version_32 := 16#b6df930e#; pragma Export (C, u00002, "system__standard_libraryB"); u00003 : constant Version_32 := 16#7ec093d3#; pragma Export (C, u00003, "system__standard_libraryS"); u00004 : constant Version_32 := 16#76789da1#; pragma Export (C, u00004, "adaS"); u00005 : constant Version_32 := 16#c0061b29#; pragma Export (C, u00005, "ada__command_lineB"); u00006 : constant Version_32 := 16#9c1a321d#; pragma Export (C, u00006, "ada__command_lineS"); u00007 : constant Version_32 := 16#4635ec04#; pragma Export (C, u00007, "systemS"); u00008 : constant Version_32 := 16#30ad09e5#; pragma Export (C, u00008, "system__secondary_stackB"); u00009 : constant Version_32 := 16#fca7137e#; pragma Export (C, u00009, "system__secondary_stackS"); u00010 : constant Version_32 := 16#b01dad17#; pragma Export (C, u00010, "system__parametersB"); u00011 : constant Version_32 := 16#381fe17b#; pragma Export (C, u00011, "system__parametersS"); u00012 : constant Version_32 := 16#4e7785b8#; pragma Export (C, u00012, "system__soft_linksB"); u00013 : constant Version_32 := 16#d8b13451#; pragma Export (C, u00013, "system__soft_linksS"); u00014 : constant Version_32 := 16#c2326fda#; pragma Export (C, u00014, "ada__exceptionsB"); u00015 : constant Version_32 := 16#6e98a13f#; pragma Export (C, u00015, "ada__exceptionsS"); u00016 : constant Version_32 := 16#e947e6a9#; pragma Export (C, u00016, "ada__exceptions__last_chance_handlerB"); u00017 : constant Version_32 := 16#41e5552e#; pragma Export (C, u00017, "ada__exceptions__last_chance_handlerS"); u00018 : constant Version_32 := 16#87a448ff#; pragma Export (C, u00018, "system__exception_tableB"); u00019 : constant Version_32 := 16#1b9b8546#; pragma Export (C, u00019, "system__exception_tableS"); u00020 : constant Version_32 := 16#ce4af020#; pragma Export (C, u00020, "system__exceptionsB"); u00021 : constant Version_32 := 16#2e5681f2#; pragma Export (C, u00021, "system__exceptionsS"); u00022 : constant Version_32 := 16#843d48dc#; pragma Export (C, u00022, "system__exceptions__machineS"); u00023 : constant Version_32 := 16#aa0563fc#; pragma Export (C, u00023, "system__exceptions_debugB"); u00024 : constant Version_32 := 16#38bf15c0#; pragma Export (C, u00024, "system__exceptions_debugS"); u00025 : constant Version_32 := 16#6c2f8802#; pragma Export (C, u00025, "system__img_intB"); u00026 : constant Version_32 := 16#44ee0cc6#; pragma Export (C, u00026, "system__img_intS"); u00027 : constant Version_32 := 16#f103f468#; pragma Export (C, u00027, "system__storage_elementsB"); u00028 : constant Version_32 := 16#6bf6a600#; pragma Export (C, u00028, "system__storage_elementsS"); u00029 : constant Version_32 := 16#39df8c17#; pragma Export (C, u00029, "system__tracebackB"); u00030 : constant Version_32 := 16#181732c0#; pragma Export (C, u00030, "system__tracebackS"); u00031 : constant Version_32 := 16#9ed49525#; pragma Export (C, u00031, "system__traceback_entriesB"); u00032 : constant Version_32 := 16#466e1a74#; pragma Export (C, u00032, "system__traceback_entriesS"); u00033 : constant Version_32 := 16#6fd210f2#; pragma Export (C, u00033, "system__traceback__symbolicB"); u00034 : constant Version_32 := 16#dd19f67a#; pragma Export (C, u00034, "system__traceback__symbolicS"); u00035 : constant Version_32 := 16#701f9d88#; pragma Export (C, u00035, "ada__exceptions__tracebackB"); u00036 : constant Version_32 := 16#20245e75#; pragma Export (C, u00036, "ada__exceptions__tracebackS"); u00037 : constant Version_32 := 16#9f00b3d3#; pragma Export (C, u00037, "system__address_imageB"); u00038 : constant Version_32 := 16#e7d9713e#; pragma Export (C, u00038, "system__address_imageS"); u00039 : constant Version_32 := 16#8c33a517#; pragma Export (C, u00039, "system__wch_conB"); u00040 : constant Version_32 := 16#5d48ced6#; pragma Export (C, u00040, "system__wch_conS"); u00041 : constant Version_32 := 16#9721e840#; pragma Export (C, u00041, "system__wch_stwB"); u00042 : constant Version_32 := 16#7059e2d7#; pragma Export (C, u00042, "system__wch_stwS"); u00043 : constant Version_32 := 16#a831679c#; pragma Export (C, u00043, "system__wch_cnvB"); u00044 : constant Version_32 := 16#52ff7425#; pragma Export (C, u00044, "system__wch_cnvS"); u00045 : constant Version_32 := 16#5ab55268#; pragma Export (C, u00045, "interfacesS"); u00046 : constant Version_32 := 16#ece6fdb6#; pragma Export (C, u00046, "system__wch_jisB"); u00047 : constant Version_32 := 16#d28f6d04#; pragma Export (C, u00047, "system__wch_jisS"); u00048 : constant Version_32 := 16#41837d1e#; pragma Export (C, u00048, "system__stack_checkingB"); u00049 : constant Version_32 := 16#c88a87ec#; pragma Export (C, u00049, "system__stack_checkingS"); u00050 : constant Version_32 := 16#3d17c74c#; pragma Export (C, u00050, "ada__tagsB"); u00051 : constant Version_32 := 16#5a4e344a#; pragma Export (C, u00051, "ada__tagsS"); u00052 : constant Version_32 := 16#c3335bfd#; pragma Export (C, u00052, "system__htableB"); u00053 : constant Version_32 := 16#c2f75fee#; pragma Export (C, u00053, "system__htableS"); u00054 : constant Version_32 := 16#089f5cd0#; pragma Export (C, u00054, "system__string_hashB"); u00055 : constant Version_32 := 16#60a93490#; pragma Export (C, u00055, "system__string_hashS"); u00056 : constant Version_32 := 16#72b39087#; pragma Export (C, u00056, "system__unsigned_typesS"); u00057 : constant Version_32 := 16#afdbf393#; pragma Export (C, u00057, "system__val_lluB"); u00058 : constant Version_32 := 16#0841c7f5#; pragma Export (C, u00058, "system__val_lluS"); u00059 : constant Version_32 := 16#27b600b2#; pragma Export (C, u00059, "system__val_utilB"); u00060 : constant Version_32 := 16#ea955afa#; pragma Export (C, u00060, "system__val_utilS"); u00061 : constant Version_32 := 16#d1060688#; pragma Export (C, u00061, "system__case_utilB"); u00062 : constant Version_32 := 16#623c85d3#; pragma Export (C, u00062, "system__case_utilS"); u00063 : constant Version_32 := 16#1d1c6062#; pragma Export (C, u00063, "ada__text_ioB"); u00064 : constant Version_32 := 16#e1e47390#; pragma Export (C, u00064, "ada__text_ioS"); u00065 : constant Version_32 := 16#10558b11#; pragma Export (C, u00065, "ada__streamsB"); u00066 : constant Version_32 := 16#67e31212#; pragma Export (C, u00066, "ada__streamsS"); u00067 : constant Version_32 := 16#92d882c5#; pragma Export (C, u00067, "ada__io_exceptionsS"); u00068 : constant Version_32 := 16#4c01b69c#; pragma Export (C, u00068, "interfaces__c_streamsB"); u00069 : constant Version_32 := 16#b1330297#; pragma Export (C, u00069, "interfaces__c_streamsS"); u00070 : constant Version_32 := 16#36a43a0a#; pragma Export (C, u00070, "system__crtlS"); u00071 : constant Version_32 := 16#4db84b5a#; pragma Export (C, u00071, "system__file_ioB"); u00072 : constant Version_32 := 16#e1440d61#; pragma Export (C, u00072, "system__file_ioS"); u00073 : constant Version_32 := 16#86c56e5a#; pragma Export (C, u00073, "ada__finalizationS"); u00074 : constant Version_32 := 16#95817ed8#; pragma Export (C, u00074, "system__finalization_rootB"); u00075 : constant Version_32 := 16#09c79f94#; pragma Export (C, u00075, "system__finalization_rootS"); u00076 : constant Version_32 := 16#769e25e6#; pragma Export (C, u00076, "interfaces__cB"); u00077 : constant Version_32 := 16#70be4e8c#; pragma Export (C, u00077, "interfaces__cS"); u00078 : constant Version_32 := 16#cc2ce7a7#; pragma Export (C, u00078, "system__os_libB"); u00079 : constant Version_32 := 16#c1e9580f#; pragma Export (C, u00079, "system__os_libS"); u00080 : constant Version_32 := 16#1a817b8e#; pragma Export (C, u00080, "system__stringsB"); u00081 : constant Version_32 := 16#388afd62#; pragma Export (C, u00081, "system__stringsS"); u00082 : constant Version_32 := 16#bbaa76ac#; pragma Export (C, u00082, "system__file_control_blockS"); u00083 : constant Version_32 := 16#1dc17f27#; pragma Export (C, u00083, "gdkS"); u00084 : constant Version_32 := 16#28f464b7#; pragma Export (C, u00084, "glibB"); u00085 : constant Version_32 := 16#1f2a5709#; pragma Export (C, u00085, "glibS"); u00086 : constant Version_32 := 16#56258f93#; pragma Export (C, u00086, "interfaces__c__stringsB"); u00087 : constant Version_32 := 16#603c1c44#; pragma Export (C, u00087, "interfaces__c__stringsS"); u00088 : constant Version_32 := 16#6abe5dbe#; pragma Export (C, u00088, "system__finalization_mastersB"); u00089 : constant Version_32 := 16#1dc9d5ce#; pragma Export (C, u00089, "system__finalization_mastersS"); u00090 : constant Version_32 := 16#7268f812#; pragma Export (C, u00090, "system__img_boolB"); u00091 : constant Version_32 := 16#b3ec9def#; pragma Export (C, u00091, "system__img_boolS"); u00092 : constant Version_32 := 16#d7aac20c#; pragma Export (C, u00092, "system__ioB"); u00093 : constant Version_32 := 16#d8771b4b#; pragma Export (C, u00093, "system__ioS"); u00094 : constant Version_32 := 16#6d4d969a#; pragma Export (C, u00094, "system__storage_poolsB"); u00095 : constant Version_32 := 16#65d872a9#; pragma Export (C, u00095, "system__storage_poolsS"); u00096 : constant Version_32 := 16#5a895de2#; pragma Export (C, u00096, "system__pool_globalB"); u00097 : constant Version_32 := 16#7141203e#; pragma Export (C, u00097, "system__pool_globalS"); u00098 : constant Version_32 := 16#a6359005#; pragma Export (C, u00098, "system__memoryB"); u00099 : constant Version_32 := 16#1f488a30#; pragma Export (C, u00099, "system__memoryS"); u00100 : constant Version_32 := 16#3c420900#; pragma Export (C, u00100, "system__stream_attributesB"); u00101 : constant Version_32 := 16#8bc30a4e#; pragma Export (C, u00101, "system__stream_attributesS"); u00102 : constant Version_32 := 16#4a3bb5b9#; pragma Export (C, u00102, "gdk__threadsS"); u00103 : constant Version_32 := 16#f77d0a23#; pragma Export (C, u00103, "gtkS"); u00104 : constant Version_32 := 16#39d7ffc5#; pragma Export (C, u00104, "glib__objectB"); u00105 : constant Version_32 := 16#39b9e54c#; pragma Export (C, u00105, "glib__objectS"); u00106 : constant Version_32 := 16#398f61a7#; pragma Export (C, u00106, "glib__type_conversion_hooksB"); u00107 : constant Version_32 := 16#a1077887#; pragma Export (C, u00107, "glib__type_conversion_hooksS"); u00108 : constant Version_32 := 16#a2250034#; pragma Export (C, u00108, "system__storage_pools__subpoolsB"); u00109 : constant Version_32 := 16#cc5a1856#; pragma Export (C, u00109, "system__storage_pools__subpoolsS"); u00110 : constant Version_32 := 16#9aad1ff1#; pragma Export (C, u00110, "system__storage_pools__subpools__finalizationB"); u00111 : constant Version_32 := 16#fe2f4b3a#; pragma Export (C, u00111, "system__storage_pools__subpools__finalizationS"); u00112 : constant Version_32 := 16#57aea1c7#; pragma Export (C, u00112, "gtkadaS"); u00113 : constant Version_32 := 16#2d37d0e9#; pragma Export (C, u00113, "gtkada__bindingsB"); u00114 : constant Version_32 := 16#41ee9189#; pragma Export (C, u00114, "gtkada__bindingsS"); u00115 : constant Version_32 := 16#fd2ad2f1#; pragma Export (C, u00115, "gnatS"); u00116 : constant Version_32 := 16#b48102f5#; pragma Export (C, u00116, "gnat__ioB"); u00117 : constant Version_32 := 16#6227e843#; pragma Export (C, u00117, "gnat__ioS"); u00118 : constant Version_32 := 16#b4645806#; pragma Export (C, u00118, "gnat__stringsS"); u00119 : constant Version_32 := 16#b24069f0#; pragma Export (C, u00119, "glib__typesB"); u00120 : constant Version_32 := 16#be0fd491#; pragma Export (C, u00120, "glib__typesS"); u00121 : constant Version_32 := 16#da6548be#; pragma Export (C, u00121, "glib__valuesB"); u00122 : constant Version_32 := 16#9a712d6b#; pragma Export (C, u00122, "glib__valuesS"); u00123 : constant Version_32 := 16#100afe53#; pragma Export (C, u00123, "gtkada__cB"); u00124 : constant Version_32 := 16#2f8a78b7#; pragma Export (C, u00124, "gtkada__cS"); u00125 : constant Version_32 := 16#6fb6efdc#; pragma Export (C, u00125, "gtkada__typesB"); u00126 : constant Version_32 := 16#d40fa06f#; pragma Export (C, u00126, "gtkada__typesS"); u00127 : constant Version_32 := 16#52f1910f#; pragma Export (C, u00127, "system__assertionsB"); u00128 : constant Version_32 := 16#8bb8c090#; pragma Export (C, u00128, "system__assertionsS"); u00129 : constant Version_32 := 16#4d2a14c0#; pragma Export (C, u00129, "glib__glistB"); u00130 : constant Version_32 := 16#eebfbf6a#; pragma Export (C, u00130, "glib__glistS"); u00131 : constant Version_32 := 16#5d07bab0#; pragma Export (C, u00131, "glib__gslistB"); u00132 : constant Version_32 := 16#1e2c1f6a#; pragma Export (C, u00132, "glib__gslistS"); u00133 : constant Version_32 := 16#96654b76#; pragma Export (C, u00133, "gtk__mainB"); u00134 : constant Version_32 := 16#93840c30#; pragma Export (C, u00134, "gtk__mainS"); u00135 : constant Version_32 := 16#b4d788c2#; pragma Export (C, u00135, "gdk__deviceB"); u00136 : constant Version_32 := 16#c9780f0d#; pragma Export (C, u00136, "gdk__deviceS"); u00137 : constant Version_32 := 16#3872f91d#; pragma Export (C, u00137, "system__fat_lfltS"); u00138 : constant Version_32 := 16#525494e7#; pragma Export (C, u00138, "gdk__displayB"); u00139 : constant Version_32 := 16#17ea0596#; pragma Export (C, u00139, "gdk__displayS"); u00140 : constant Version_32 := 16#8864eae5#; pragma Export (C, u00140, "gtk__argumentsB"); u00141 : constant Version_32 := 16#0c59c504#; pragma Export (C, u00141, "gtk__argumentsS"); u00142 : constant Version_32 := 16#b2f795ff#; pragma Export (C, u00142, "cairoB"); u00143 : constant Version_32 := 16#6d761559#; pragma Export (C, u00143, "cairoS"); u00144 : constant Version_32 := 16#50ae1241#; pragma Export (C, u00144, "cairo__regionB"); u00145 : constant Version_32 := 16#02f4aa20#; pragma Export (C, u00145, "cairo__regionS"); u00146 : constant Version_32 := 16#e6b5eeff#; pragma Export (C, u00146, "gdk__eventB"); u00147 : constant Version_32 := 16#42740b8b#; pragma Export (C, u00147, "gdk__eventS"); u00148 : constant Version_32 := 16#4a5104bd#; pragma Export (C, u00148, "gdk__rectangleB"); u00149 : constant Version_32 := 16#9777a203#; pragma Export (C, u00149, "gdk__rectangleS"); u00150 : constant Version_32 := 16#3a352b4e#; pragma Export (C, u00150, "gdk__typesS"); u00151 : constant Version_32 := 16#f7b4e583#; pragma Export (C, u00151, "glib__generic_propertiesB"); u00152 : constant Version_32 := 16#1b85bc6f#; pragma Export (C, u00152, "glib__generic_propertiesS"); u00153 : constant Version_32 := 16#c8a0f177#; pragma Export (C, u00153, "gdk__rgbaB"); u00154 : constant Version_32 := 16#831a93c5#; pragma Export (C, u00154, "gdk__rgbaS"); u00155 : constant Version_32 := 16#289449ee#; pragma Export (C, u00155, "gtk__dialogB"); u00156 : constant Version_32 := 16#1fbe37eb#; pragma Export (C, u00156, "gtk__dialogS"); u00157 : constant Version_32 := 16#767ee440#; pragma Export (C, u00157, "gtk__settingsB"); u00158 : constant Version_32 := 16#13108370#; pragma Export (C, u00158, "gtk__settingsS"); u00159 : constant Version_32 := 16#b53f0479#; pragma Export (C, u00159, "gdk__screenB"); u00160 : constant Version_32 := 16#d8d13641#; pragma Export (C, u00160, "gdk__screenS"); u00161 : constant Version_32 := 16#cf3c2289#; pragma Export (C, u00161, "gdk__visualB"); u00162 : constant Version_32 := 16#d31693cd#; pragma Export (C, u00162, "gdk__visualS"); u00163 : constant Version_32 := 16#9d1ec083#; pragma Export (C, u00163, "glib__propertiesB"); u00164 : constant Version_32 := 16#9a0498d3#; pragma Export (C, u00164, "glib__propertiesS"); u00165 : constant Version_32 := 16#1e40f010#; pragma Export (C, u00165, "system__fat_fltS"); u00166 : constant Version_32 := 16#68deb447#; pragma Export (C, u00166, "gtk__enumsB"); u00167 : constant Version_32 := 16#a2c26854#; pragma Export (C, u00167, "gtk__enumsS"); u00168 : constant Version_32 := 16#0afdbaf0#; pragma Export (C, u00168, "gtk__style_providerB"); u00169 : constant Version_32 := 16#25d000b8#; pragma Export (C, u00169, "gtk__style_providerS"); u00170 : constant Version_32 := 16#f92cef61#; pragma Export (C, u00170, "gtk__widgetB"); u00171 : constant Version_32 := 16#8773c891#; pragma Export (C, u00171, "gtk__widgetS"); u00172 : constant Version_32 := 16#07a81f6e#; pragma Export (C, u00172, "gdk__colorB"); u00173 : constant Version_32 := 16#91d65177#; pragma Export (C, u00173, "gdk__colorS"); u00174 : constant Version_32 := 16#e5a592cc#; pragma Export (C, u00174, "gdk__drag_contextsB"); u00175 : constant Version_32 := 16#3906662b#; pragma Export (C, u00175, "gdk__drag_contextsS"); u00176 : constant Version_32 := 16#3eedb1c2#; pragma Export (C, u00176, "gdk__frame_clockB"); u00177 : constant Version_32 := 16#a8f4a3b7#; pragma Export (C, u00177, "gdk__frame_clockS"); u00178 : constant Version_32 := 16#4ac70f16#; pragma Export (C, u00178, "gdk__frame_timingsB"); u00179 : constant Version_32 := 16#4eb30498#; pragma Export (C, u00179, "gdk__frame_timingsS"); u00180 : constant Version_32 := 16#1d8d9dbe#; pragma Export (C, u00180, "gdk__pixbufB"); u00181 : constant Version_32 := 16#f051d9d2#; pragma Export (C, u00181, "gdk__pixbufS"); u00182 : constant Version_32 := 16#20806ff5#; pragma Export (C, u00182, "glib__errorB"); u00183 : constant Version_32 := 16#2d79486e#; pragma Export (C, u00183, "glib__errorS"); u00184 : constant Version_32 := 16#24434f97#; pragma Export (C, u00184, "gtk__accel_groupB"); u00185 : constant Version_32 := 16#3041db6e#; pragma Export (C, u00185, "gtk__accel_groupS"); u00186 : constant Version_32 := 16#d31518ac#; pragma Export (C, u00186, "gtk__builderB"); u00187 : constant Version_32 := 16#517b6593#; pragma Export (C, u00187, "gtk__builderS"); u00188 : constant Version_32 := 16#4ec6555e#; pragma Export (C, u00188, "gtk__selection_dataB"); u00189 : constant Version_32 := 16#98a70ff4#; pragma Export (C, u00189, "gtk__selection_dataS"); u00190 : constant Version_32 := 16#3584cd94#; pragma Export (C, u00190, "gtk__styleB"); u00191 : constant Version_32 := 16#2075db88#; pragma Export (C, u00191, "gtk__styleS"); u00192 : constant Version_32 := 16#ebab9896#; pragma Export (C, u00192, "gtk__target_listB"); u00193 : constant Version_32 := 16#8cb2d7c1#; pragma Export (C, u00193, "gtk__target_listS"); u00194 : constant Version_32 := 16#23663df0#; pragma Export (C, u00194, "gtk__target_entryB"); u00195 : constant Version_32 := 16#b383f43e#; pragma Export (C, u00195, "gtk__target_entryS"); u00196 : constant Version_32 := 16#fb66f5a7#; pragma Export (C, u00196, "pangoS"); u00197 : constant Version_32 := 16#0eadcbfe#; pragma Export (C, u00197, "pango__contextB"); u00198 : constant Version_32 := 16#2f5ce6b8#; pragma Export (C, u00198, "pango__contextS"); u00199 : constant Version_32 := 16#92e19fe5#; pragma Export (C, u00199, "pango__enumsB"); u00200 : constant Version_32 := 16#a3ba3947#; pragma Export (C, u00200, "pango__enumsS"); u00201 : constant Version_32 := 16#0dea3ffa#; pragma Export (C, u00201, "pango__fontB"); u00202 : constant Version_32 := 16#57d69fea#; pragma Export (C, u00202, "pango__fontS"); u00203 : constant Version_32 := 16#f6b33a30#; pragma Export (C, u00203, "pango__font_metricsB"); u00204 : constant Version_32 := 16#f605b2d0#; pragma Export (C, u00204, "pango__font_metricsS"); u00205 : constant Version_32 := 16#386a0309#; pragma Export (C, u00205, "pango__languageB"); u00206 : constant Version_32 := 16#8384ee22#; pragma Export (C, u00206, "pango__languageS"); u00207 : constant Version_32 := 16#348ec1a2#; pragma Export (C, u00207, "pango__font_familyB"); u00208 : constant Version_32 := 16#fc4b6f8c#; pragma Export (C, u00208, "pango__font_familyS"); u00209 : constant Version_32 := 16#898184a4#; pragma Export (C, u00209, "pango__font_faceB"); u00210 : constant Version_32 := 16#e7c62a99#; pragma Export (C, u00210, "pango__font_faceS"); u00211 : constant Version_32 := 16#fe9b77cd#; pragma Export (C, u00211, "pango__fontsetB"); u00212 : constant Version_32 := 16#f7b038c8#; pragma Export (C, u00212, "pango__fontsetS"); u00213 : constant Version_32 := 16#6bd7fbbf#; pragma Export (C, u00213, "pango__matrixB"); u00214 : constant Version_32 := 16#8b067d50#; pragma Export (C, u00214, "pango__matrixS"); u00215 : constant Version_32 := 16#b472cdd9#; pragma Export (C, u00215, "pango__layoutB"); u00216 : constant Version_32 := 16#eb534802#; pragma Export (C, u00216, "pango__layoutS"); u00217 : constant Version_32 := 16#9b9cb30a#; pragma Export (C, u00217, "pango__attributesB"); u00218 : constant Version_32 := 16#714b4367#; pragma Export (C, u00218, "pango__attributesS"); u00219 : constant Version_32 := 16#1d473b3c#; pragma Export (C, u00219, "pango__tabsB"); u00220 : constant Version_32 := 16#50ccb767#; pragma Export (C, u00220, "pango__tabsS"); u00221 : constant Version_32 := 16#05e806d2#; pragma Export (C, u00221, "gtk__boxB"); u00222 : constant Version_32 := 16#48dfb2ea#; pragma Export (C, u00222, "gtk__boxS"); u00223 : constant Version_32 := 16#a725c286#; pragma Export (C, u00223, "gtk__buildableB"); u00224 : constant Version_32 := 16#546056ab#; pragma Export (C, u00224, "gtk__buildableS"); u00225 : constant Version_32 := 16#03f298f3#; pragma Export (C, u00225, "gtk__containerB"); u00226 : constant Version_32 := 16#9ad4c955#; pragma Export (C, u00226, "gtk__containerS"); u00227 : constant Version_32 := 16#1ab53bdf#; pragma Export (C, u00227, "gtk__adjustmentB"); u00228 : constant Version_32 := 16#4de01f48#; pragma Export (C, u00228, "gtk__adjustmentS"); u00229 : constant Version_32 := 16#41a8435f#; pragma Export (C, u00229, "gtk__orientableB"); u00230 : constant Version_32 := 16#191f503d#; pragma Export (C, u00230, "gtk__orientableS"); u00231 : constant Version_32 := 16#0b37eb58#; pragma Export (C, u00231, "gtk__windowB"); u00232 : constant Version_32 := 16#936a5d67#; pragma Export (C, u00232, "gtk__windowS"); u00233 : constant Version_32 := 16#aba0a54c#; pragma Export (C, u00233, "gdk__windowB"); u00234 : constant Version_32 := 16#2fa06393#; pragma Export (C, u00234, "gdk__windowS"); u00235 : constant Version_32 := 16#3c5c22b4#; pragma Export (C, u00235, "gtk__binB"); u00236 : constant Version_32 := 16#024d6654#; pragma Export (C, u00236, "gtk__binS"); u00237 : constant Version_32 := 16#1fff18dd#; pragma Export (C, u00237, "gtk__gentryB"); u00238 : constant Version_32 := 16#ae764efa#; pragma Export (C, u00238, "gtk__gentryS"); u00239 : constant Version_32 := 16#28a6ff74#; pragma Export (C, u00239, "glib__g_iconB"); u00240 : constant Version_32 := 16#2723f310#; pragma Export (C, u00240, "glib__g_iconS"); u00241 : constant Version_32 := 16#5c9da0d0#; pragma Export (C, u00241, "glib__variantB"); u00242 : constant Version_32 := 16#31cee850#; pragma Export (C, u00242, "glib__variantS"); u00243 : constant Version_32 := 16#653c21b7#; pragma Export (C, u00243, "glib__stringB"); u00244 : constant Version_32 := 16#ff06d256#; pragma Export (C, u00244, "glib__stringS"); u00245 : constant Version_32 := 16#4c4fc67f#; pragma Export (C, u00245, "gtk__cell_editableB"); u00246 : constant Version_32 := 16#5b5de7c4#; pragma Export (C, u00246, "gtk__cell_editableS"); u00247 : constant Version_32 := 16#3334053c#; pragma Export (C, u00247, "gtk__editableB"); u00248 : constant Version_32 := 16#2d3d3e6c#; pragma Export (C, u00248, "gtk__editableS"); u00249 : constant Version_32 := 16#a7b80108#; pragma Export (C, u00249, "gtk__entry_bufferB"); u00250 : constant Version_32 := 16#186cb4bb#; pragma Export (C, u00250, "gtk__entry_bufferS"); u00251 : constant Version_32 := 16#ce7d9fff#; pragma Export (C, u00251, "gtk__entry_completionB"); u00252 : constant Version_32 := 16#96bfa476#; pragma Export (C, u00252, "gtk__entry_completionS"); u00253 : constant Version_32 := 16#d73ed825#; pragma Export (C, u00253, "gtk__cell_areaB"); u00254 : constant Version_32 := 16#f0bdde24#; pragma Export (C, u00254, "gtk__cell_areaS"); u00255 : constant Version_32 := 16#3834c88d#; pragma Export (C, u00255, "gtk__cell_area_contextB"); u00256 : constant Version_32 := 16#5ae477f5#; pragma Export (C, u00256, "gtk__cell_area_contextS"); u00257 : constant Version_32 := 16#568c9832#; pragma Export (C, u00257, "gtk__cell_layoutB"); u00258 : constant Version_32 := 16#880e6795#; pragma Export (C, u00258, "gtk__cell_layoutS"); u00259 : constant Version_32 := 16#4dab946b#; pragma Export (C, u00259, "gtk__cell_rendererB"); u00260 : constant Version_32 := 16#366ad98b#; pragma Export (C, u00260, "gtk__cell_rendererS"); u00261 : constant Version_32 := 16#41c01b28#; pragma Export (C, u00261, "gtk__tree_modelB"); u00262 : constant Version_32 := 16#af9b16ea#; pragma Export (C, u00262, "gtk__tree_modelS"); u00263 : constant Version_32 := 16#4e4f7925#; pragma Export (C, u00263, "gtk__imageB"); u00264 : constant Version_32 := 16#248aa263#; pragma Export (C, u00264, "gtk__imageS"); u00265 : constant Version_32 := 16#ee72d7e5#; pragma Export (C, u00265, "gtk__icon_setB"); u00266 : constant Version_32 := 16#3ee2c25f#; pragma Export (C, u00266, "gtk__icon_setS"); u00267 : constant Version_32 := 16#72511980#; pragma Export (C, u00267, "gtk__icon_sourceB"); u00268 : constant Version_32 := 16#5e9b44d9#; pragma Export (C, u00268, "gtk__icon_sourceS"); u00269 : constant Version_32 := 16#85ad8b33#; pragma Export (C, u00269, "gtk__style_contextB"); u00270 : constant Version_32 := 16#37dc5bb6#; pragma Export (C, u00270, "gtk__style_contextS"); u00271 : constant Version_32 := 16#411b189c#; pragma Export (C, u00271, "gtk__css_sectionB"); u00272 : constant Version_32 := 16#28a72b90#; pragma Export (C, u00272, "gtk__css_sectionS"); u00273 : constant Version_32 := 16#15153448#; pragma Export (C, u00273, "gtk__miscB"); u00274 : constant Version_32 := 16#b01e6275#; pragma Export (C, u00274, "gtk__miscS"); u00275 : constant Version_32 := 16#78f0cf19#; pragma Export (C, u00275, "gtk__notebookB"); u00276 : constant Version_32 := 16#fa70b8ae#; pragma Export (C, u00276, "gtk__notebookS"); u00277 : constant Version_32 := 16#17f40da4#; pragma Export (C, u00277, "gtk__print_operationB"); u00278 : constant Version_32 := 16#e59916a9#; pragma Export (C, u00278, "gtk__print_operationS"); u00279 : constant Version_32 := 16#7d882d81#; pragma Export (C, u00279, "gtk__page_setupB"); u00280 : constant Version_32 := 16#b471b6f6#; pragma Export (C, u00280, "gtk__page_setupS"); u00281 : constant Version_32 := 16#82306508#; pragma Export (C, u00281, "glib__key_fileB"); u00282 : constant Version_32 := 16#b3f25f3a#; pragma Export (C, u00282, "glib__key_fileS"); u00283 : constant Version_32 := 16#9cbbb65d#; pragma Export (C, u00283, "gtk__paper_sizeB"); u00284 : constant Version_32 := 16#7ba2b2ed#; pragma Export (C, u00284, "gtk__paper_sizeS"); u00285 : constant Version_32 := 16#ea16d9b2#; pragma Export (C, u00285, "gtk__print_contextB"); u00286 : constant Version_32 := 16#f5d4d495#; pragma Export (C, u00286, "gtk__print_contextS"); u00287 : constant Version_32 := 16#06234c48#; pragma Export (C, u00287, "pango__font_mapB"); u00288 : constant Version_32 := 16#e7dfb649#; pragma Export (C, u00288, "pango__font_mapS"); u00289 : constant Version_32 := 16#263d2f99#; pragma Export (C, u00289, "gtk__print_operation_previewB"); u00290 : constant Version_32 := 16#f7e7c39e#; pragma Export (C, u00290, "gtk__print_operation_previewS"); u00291 : constant Version_32 := 16#68847913#; pragma Export (C, u00291, "gtk__print_settingsB"); u00292 : constant Version_32 := 16#3fccceec#; pragma Export (C, u00292, "gtk__print_settingsS"); u00293 : constant Version_32 := 16#99703c4e#; pragma Export (C, u00293, "gtk__status_barB"); u00294 : constant Version_32 := 16#df2627ce#; pragma Export (C, u00294, "gtk__status_barS"); u00295 : constant Version_32 := 16#dbc619df#; pragma Export (C, u00295, "gtk__text_iterB"); u00296 : constant Version_32 := 16#9a9513ee#; pragma Export (C, u00296, "gtk__text_iterS"); u00297 : constant Version_32 := 16#f27ddfea#; pragma Export (C, u00297, "gtk__text_attributesB"); u00298 : constant Version_32 := 16#8e96d59b#; pragma Export (C, u00298, "gtk__text_attributesS"); u00299 : constant Version_32 := 16#987fc972#; pragma Export (C, u00299, "gtk__text_tagB"); u00300 : constant Version_32 := 16#cb5f3703#; pragma Export (C, u00300, "gtk__text_tagS"); u00301 : constant Version_32 := 16#400998c9#; pragma Export (C, u00301, "lrS"); u00302 : constant Version_32 := 16#20e463fb#; pragma Export (C, u00302, "lr__afficB"); u00303 : constant Version_32 := 16#b2fdfc54#; pragma Export (C, u00303, "lr__afficS"); u00304 : constant Version_32 := 16#cd2959fb#; pragma Export (C, u00304, "ada__numericsS"); u00305 : constant Version_32 := 16#0470cbe4#; pragma Export (C, u00305, "gtk__buttonB"); u00306 : constant Version_32 := 16#37eaab3a#; pragma Export (C, u00306, "gtk__buttonS"); u00307 : constant Version_32 := 16#fae1470f#; pragma Export (C, u00307, "gtk__actionB"); u00308 : constant Version_32 := 16#86624a8b#; pragma Export (C, u00308, "gtk__actionS"); u00309 : constant Version_32 := 16#6d6ee6b5#; pragma Export (C, u00309, "gtk__actionableB"); u00310 : constant Version_32 := 16#a08f7f0e#; pragma Export (C, u00310, "gtk__actionableS"); u00311 : constant Version_32 := 16#56635bf0#; pragma Export (C, u00311, "gtk__activatableB"); u00312 : constant Version_32 := 16#6bde0753#; pragma Export (C, u00312, "gtk__activatableS"); u00313 : constant Version_32 := 16#07aa8b37#; pragma Export (C, u00313, "gtk__grangeB"); u00314 : constant Version_32 := 16#d7bc118a#; pragma Export (C, u00314, "gtk__grangeS"); u00315 : constant Version_32 := 16#87d816bd#; pragma Export (C, u00315, "gtk__labelB"); u00316 : constant Version_32 := 16#3ea1bd12#; pragma Export (C, u00316, "gtk__labelS"); u00317 : constant Version_32 := 16#da191d4a#; pragma Export (C, u00317, "gtk__menuB"); u00318 : constant Version_32 := 16#568e6ba8#; pragma Export (C, u00318, "gtk__menuS"); u00319 : constant Version_32 := 16#9eada4cc#; pragma Export (C, u00319, "glib__menu_modelB"); u00320 : constant Version_32 := 16#0c9f64f8#; pragma Export (C, u00320, "glib__menu_modelS"); u00321 : constant Version_32 := 16#6eceeadf#; pragma Export (C, u00321, "gtk__menu_itemB"); u00322 : constant Version_32 := 16#606ad29c#; pragma Export (C, u00322, "gtk__menu_itemS"); u00323 : constant Version_32 := 16#b6004737#; pragma Export (C, u00323, "gtk__menu_shellB"); u00324 : constant Version_32 := 16#15e87f24#; pragma Export (C, u00324, "gtk__menu_shellS"); u00325 : constant Version_32 := 16#d03aa2c1#; pragma Export (C, u00325, "gtkada__builderB"); u00326 : constant Version_32 := 16#d02afbbc#; pragma Export (C, u00326, "gtkada__builderS"); u00327 : constant Version_32 := 16#7fe2f6aa#; pragma Export (C, u00327, "gtk__handlersB"); u00328 : constant Version_32 := 16#ff3371d1#; pragma Export (C, u00328, "gtk__handlersS"); u00329 : constant Version_32 := 16#baed3164#; pragma Export (C, u00329, "gtk__marshallersB"); u00330 : constant Version_32 := 16#daf42a3e#; pragma Export (C, u00330, "gtk__marshallersS"); u00331 : constant Version_32 := 16#0ffcb0cd#; pragma Export (C, u00331, "gtk__tree_view_columnB"); u00332 : constant Version_32 := 16#eca95213#; pragma Export (C, u00332, "gtk__tree_view_columnS"); u00333 : constant Version_32 := 16#8ff5a2da#; pragma Export (C, u00333, "gtkada__handlersS"); u00334 : constant Version_32 := 16#18e0e51c#; pragma Export (C, u00334, "system__img_enum_newB"); u00335 : constant Version_32 := 16#2779eac4#; pragma Export (C, u00335, "system__img_enum_newS"); u00336 : constant Version_32 := 16#179d7d28#; pragma Export (C, u00336, "ada__containersS"); u00337 : constant Version_32 := 16#c164a034#; pragma Export (C, u00337, "ada__containers__hash_tablesS"); u00338 : constant Version_32 := 16#bcec81df#; pragma Export (C, u00338, "ada__containers__helpersB"); u00339 : constant Version_32 := 16#4adfc5eb#; pragma Export (C, u00339, "ada__containers__helpersS"); u00340 : constant Version_32 := 16#020a3f4d#; pragma Export (C, u00340, "system__atomic_countersB"); u00341 : constant Version_32 := 16#f269c189#; pragma Export (C, u00341, "system__atomic_countersS"); u00342 : constant Version_32 := 16#c24eaf4d#; pragma Export (C, u00342, "ada__containers__prime_numbersB"); u00343 : constant Version_32 := 16#6d3af8ed#; pragma Export (C, u00343, "ada__containers__prime_numbersS"); u00344 : constant Version_32 := 16#e6d4fa36#; pragma Export (C, u00344, "ada__stringsS"); u00345 : constant Version_32 := 16#3791e504#; pragma Export (C, u00345, "ada__strings__unboundedB"); u00346 : constant Version_32 := 16#9fdb1809#; pragma Export (C, u00346, "ada__strings__unboundedS"); u00347 : constant Version_32 := 16#60da0992#; pragma Export (C, u00347, "ada__strings__searchB"); u00348 : constant Version_32 := 16#c1ab8667#; pragma Export (C, u00348, "ada__strings__searchS"); u00349 : constant Version_32 := 16#e2ea8656#; pragma Export (C, u00349, "ada__strings__mapsB"); u00350 : constant Version_32 := 16#1e526bec#; pragma Export (C, u00350, "ada__strings__mapsS"); u00351 : constant Version_32 := 16#e95cd909#; pragma Export (C, u00351, "system__bit_opsB"); u00352 : constant Version_32 := 16#0765e3a3#; pragma Export (C, u00352, "system__bit_opsS"); u00353 : constant Version_32 := 16#5b4659fa#; pragma Export (C, u00353, "ada__charactersS"); u00354 : constant Version_32 := 16#4b7bb96a#; pragma Export (C, u00354, "ada__characters__latin_1S"); u00355 : constant Version_32 := 16#933d1555#; pragma Export (C, u00355, "system__compare_array_unsigned_8B"); u00356 : constant Version_32 := 16#ef369d89#; pragma Export (C, u00356, "system__compare_array_unsigned_8S"); u00357 : constant Version_32 := 16#97d13ec4#; pragma Export (C, u00357, "system__address_operationsB"); u00358 : constant Version_32 := 16#55395237#; pragma Export (C, u00358, "system__address_operationsS"); u00359 : constant Version_32 := 16#217daf40#; pragma Export (C, u00359, "ada__strings__unbounded__hashB"); u00360 : constant Version_32 := 16#9c644680#; pragma Export (C, u00360, "ada__strings__unbounded__hashS"); u00361 : constant Version_32 := 16#7c9380ff#; pragma Export (C, u00361, "system__strings__stream_opsB"); u00362 : constant Version_32 := 16#55d4bd57#; pragma Export (C, u00362, "system__strings__stream_opsS"); u00363 : constant Version_32 := 16#63d47364#; pragma Export (C, u00363, "ada__streams__stream_ioB"); u00364 : constant Version_32 := 16#31fc8e02#; pragma Export (C, u00364, "ada__streams__stream_ioS"); u00365 : constant Version_32 := 16#5de653db#; pragma Export (C, u00365, "system__communicationB"); u00366 : constant Version_32 := 16#5f55b9d6#; pragma Export (C, u00366, "system__communicationS"); u00367 : constant Version_32 := 16#d19565b6#; pragma Export (C, u00367, "lr__simuB"); u00368 : constant Version_32 := 16#a848d720#; pragma Export (C, u00368, "lr__simuS"); u00369 : constant Version_32 := 16#87cd2ab9#; pragma Export (C, u00369, "ada__calendar__delaysB"); u00370 : constant Version_32 := 16#b27fb9e9#; pragma Export (C, u00370, "ada__calendar__delaysS"); u00371 : constant Version_32 := 16#0d7f1a43#; pragma Export (C, u00371, "ada__calendarB"); u00372 : constant Version_32 := 16#5b279c75#; pragma Export (C, u00372, "ada__calendarS"); u00373 : constant Version_32 := 16#d083f760#; pragma Export (C, u00373, "system__os_primitivesB"); u00374 : constant Version_32 := 16#ccbafd72#; pragma Export (C, u00374, "system__os_primitivesS"); u00375 : constant Version_32 := 16#ee80728a#; pragma Export (C, u00375, "system__tracesB"); u00376 : constant Version_32 := 16#b42884ae#; pragma Export (C, u00376, "system__tracesS"); u00377 : constant Version_32 := 16#140e9851#; pragma Export (C, u00377, "lr__tasksB"); u00378 : constant Version_32 := 16#07263366#; pragma Export (C, u00378, "lr__tasksS"); u00379 : constant Version_32 := 16#a562f09d#; pragma Export (C, u00379, "lr__synchroB"); u00380 : constant Version_32 := 16#6f87cbb4#; pragma Export (C, u00380, "lr__synchroS"); u00381 : constant Version_32 := 16#98e98f0c#; pragma Export (C, u00381, "lr__synchro__fifoB"); u00382 : constant Version_32 := 16#6a0b4988#; pragma Export (C, u00382, "lr__synchro__fifoS"); u00383 : constant Version_32 := 16#402b6a67#; pragma Export (C, u00383, "ada__real_timeB"); u00384 : constant Version_32 := 16#c3d451b0#; pragma Export (C, u00384, "ada__real_timeS"); u00385 : constant Version_32 := 16#888154ba#; pragma Export (C, u00385, "system__taskingB"); u00386 : constant Version_32 := 16#c03b1874#; pragma Export (C, u00386, "system__taskingS"); u00387 : constant Version_32 := 16#08881467#; pragma Export (C, u00387, "system__task_primitivesS"); u00388 : constant Version_32 := 16#decff30d#; pragma Export (C, u00388, "system__os_interfaceB"); u00389 : constant Version_32 := 16#dac51a48#; pragma Export (C, u00389, "system__os_interfaceS"); u00390 : constant Version_32 := 16#3dce974e#; pragma Export (C, u00390, "system__linuxS"); u00391 : constant Version_32 := 16#69418a44#; pragma Export (C, u00391, "system__os_constantsS"); u00392 : constant Version_32 := 16#35461298#; pragma Export (C, u00392, "system__task_primitives__operationsB"); u00393 : constant Version_32 := 16#28930186#; pragma Export (C, u00393, "system__task_primitives__operationsS"); u00394 : constant Version_32 := 16#66645a25#; pragma Export (C, u00394, "system__interrupt_managementB"); u00395 : constant Version_32 := 16#f8b85fd3#; pragma Export (C, u00395, "system__interrupt_managementS"); u00396 : constant Version_32 := 16#f65595cf#; pragma Export (C, u00396, "system__multiprocessorsB"); u00397 : constant Version_32 := 16#7e997377#; pragma Export (C, u00397, "system__multiprocessorsS"); u00398 : constant Version_32 := 16#375a3ef7#; pragma Export (C, u00398, "system__task_infoB"); u00399 : constant Version_32 := 16#c01cd21c#; pragma Export (C, u00399, "system__task_infoS"); u00400 : constant Version_32 := 16#58108132#; pragma Export (C, u00400, "system__tasking__debugB"); u00401 : constant Version_32 := 16#72bfd9bc#; pragma Export (C, u00401, "system__tasking__debugS"); u00402 : constant Version_32 := 16#fd83e873#; pragma Export (C, u00402, "system__concat_2B"); u00403 : constant Version_32 := 16#44953bd4#; pragma Export (C, u00403, "system__concat_2S"); u00404 : constant Version_32 := 16#2b70b149#; pragma Export (C, u00404, "system__concat_3B"); u00405 : constant Version_32 := 16#4d45b0a1#; pragma Export (C, u00405, "system__concat_3S"); u00406 : constant Version_32 := 16#9dca6636#; pragma Export (C, u00406, "system__img_lliB"); u00407 : constant Version_32 := 16#577ab9d5#; pragma Export (C, u00407, "system__img_lliS"); u00408 : constant Version_32 := 16#118e865d#; pragma Export (C, u00408, "system__stack_usageB"); u00409 : constant Version_32 := 16#3a3ac346#; pragma Export (C, u00409, "system__stack_usageS"); u00410 : constant Version_32 := 16#40fbb80f#; pragma Export (C, u00410, "system__tasking__rendezvousB"); u00411 : constant Version_32 := 16#ea18a31e#; pragma Export (C, u00411, "system__tasking__rendezvousS"); u00412 : constant Version_32 := 16#100eaf58#; pragma Export (C, u00412, "system__restrictionsB"); u00413 : constant Version_32 := 16#aab42239#; pragma Export (C, u00413, "system__restrictionsS"); u00414 : constant Version_32 := 16#d8038a64#; pragma Export (C, u00414, "system__tasking__entry_callsB"); u00415 : constant Version_32 := 16#df420580#; pragma Export (C, u00415, "system__tasking__entry_callsS"); u00416 : constant Version_32 := 16#c5fb5685#; pragma Export (C, u00416, "system__tasking__initializationB"); u00417 : constant Version_32 := 16#efd25374#; pragma Export (C, u00417, "system__tasking__initializationS"); u00418 : constant Version_32 := 16#312b97cd#; pragma Export (C, u00418, "system__soft_links__taskingB"); u00419 : constant Version_32 := 16#5ae92880#; pragma Export (C, u00419, "system__soft_links__taskingS"); u00420 : constant Version_32 := 16#17d21067#; pragma Export (C, u00420, "ada__exceptions__is_null_occurrenceB"); u00421 : constant Version_32 := 16#e1d7566f#; pragma Export (C, u00421, "ada__exceptions__is_null_occurrenceS"); u00422 : constant Version_32 := 16#a4a31ee6#; pragma Export (C, u00422, "system__tasking__task_attributesB"); u00423 : constant Version_32 := 16#6bc95a13#; pragma Export (C, u00423, "system__tasking__task_attributesS"); u00424 : constant Version_32 := 16#c8081f14#; pragma Export (C, u00424, "system__tasking__protected_objectsB"); u00425 : constant Version_32 := 16#a9001c61#; pragma Export (C, u00425, "system__tasking__protected_objectsS"); u00426 : constant Version_32 := 16#547d8eae#; pragma Export (C, u00426, "system__tasking__protected_objects__entriesB"); u00427 : constant Version_32 := 16#427cf21f#; pragma Export (C, u00427, "system__tasking__protected_objects__entriesS"); u00428 : constant Version_32 := 16#5e1f99be#; pragma Export (C, u00428, "system__tasking__protected_objects__operationsB"); u00429 : constant Version_32 := 16#ba36ad85#; pragma Export (C, u00429, "system__tasking__protected_objects__operationsS"); u00430 : constant Version_32 := 16#e8f87c58#; pragma Export (C, u00430, "system__tasking__queuingB"); u00431 : constant Version_32 := 16#d1ba2fcb#; pragma Export (C, u00431, "system__tasking__queuingS"); u00432 : constant Version_32 := 16#bad2cea3#; pragma Export (C, u00432, "system__tasking__utilitiesB"); u00433 : constant Version_32 := 16#9b15eab5#; pragma Export (C, u00433, "system__tasking__utilitiesS"); u00434 : constant Version_32 := 16#bd6fc52e#; pragma Export (C, u00434, "system__traces__taskingB"); u00435 : constant Version_32 := 16#09f07b39#; pragma Export (C, u00435, "system__traces__taskingS"); u00436 : constant Version_32 := 16#149dbb7c#; pragma Export (C, u00436, "system__tasking__stagesB"); u00437 : constant Version_32 := 16#a2ee1060#; pragma Export (C, u00437, "system__tasking__stagesS"); u00438 : constant Version_32 := 16#d34f9f29#; pragma Export (C, u00438, "system__random_numbersB"); u00439 : constant Version_32 := 16#852d5c9e#; pragma Export (C, u00439, "system__random_numbersS"); u00440 : constant Version_32 := 16#ec78c2bf#; pragma Export (C, u00440, "system__img_unsB"); u00441 : constant Version_32 := 16#ed47ac70#; pragma Export (C, u00441, "system__img_unsS"); u00442 : constant Version_32 := 16#40a8df0e#; pragma Export (C, u00442, "system__random_seedB"); u00443 : constant Version_32 := 16#1d25c55f#; pragma Export (C, u00443, "system__random_seedS"); u00444 : constant Version_32 := 16#1d9142a4#; pragma Export (C, u00444, "system__val_unsB"); u00445 : constant Version_32 := 16#621b7dbc#; pragma Export (C, u00445, "system__val_unsS"); u00446 : constant Version_32 := 16#d763507a#; pragma Export (C, u00446, "system__val_intB"); u00447 : constant Version_32 := 16#0e90c63b#; pragma Export (C, u00447, "system__val_intS"); -- BEGIN ELABORATION ORDER -- ada%s -- ada.characters%s -- ada.characters.latin_1%s -- gnat%s -- gnat.io%s -- gnat.io%b -- interfaces%s -- system%s -- system.address_operations%s -- system.address_operations%b -- system.atomic_counters%s -- system.atomic_counters%b -- system.case_util%s -- system.case_util%b -- system.img_bool%s -- system.img_bool%b -- system.img_enum_new%s -- system.img_enum_new%b -- system.img_int%s -- system.img_int%b -- system.img_lli%s -- system.img_lli%b -- system.io%s -- system.io%b -- system.os_primitives%s -- system.os_primitives%b -- system.parameters%s -- system.parameters%b -- system.crtl%s -- interfaces.c_streams%s -- interfaces.c_streams%b -- system.restrictions%s -- system.restrictions%b -- system.storage_elements%s -- system.storage_elements%b -- system.stack_checking%s -- system.stack_checking%b -- system.stack_usage%s -- system.stack_usage%b -- system.string_hash%s -- system.string_hash%b -- system.htable%s -- system.htable%b -- system.strings%s -- system.strings%b -- gnat.strings%s -- system.traceback_entries%s -- system.traceback_entries%b -- system.traces%s -- system.traces%b -- system.unsigned_types%s -- system.fat_flt%s -- system.fat_lflt%s -- system.img_uns%s -- system.img_uns%b -- system.wch_con%s -- system.wch_con%b -- system.wch_jis%s -- system.wch_jis%b -- system.wch_cnv%s -- system.wch_cnv%b -- system.compare_array_unsigned_8%s -- system.compare_array_unsigned_8%b -- system.concat_2%s -- system.concat_2%b -- system.concat_3%s -- system.concat_3%b -- system.traceback%s -- system.traceback%b -- system.wch_stw%s -- system.standard_library%s -- system.exceptions_debug%s -- system.exceptions_debug%b -- ada.exceptions%s -- system.wch_stw%b -- ada.exceptions.traceback%s -- ada.exceptions.last_chance_handler%s -- system.soft_links%s -- system.exception_table%s -- system.exception_table%b -- system.exceptions%s -- system.exceptions%b -- system.secondary_stack%s -- system.address_image%s -- system.memory%s -- system.memory%b -- ada.exceptions.traceback%b -- system.traceback.symbolic%s -- system.traceback.symbolic%b -- system.exceptions.machine%s -- ada.exceptions.last_chance_handler%b -- system.soft_links%b -- system.secondary_stack%b -- system.address_image%b -- system.standard_library%b -- ada.exceptions%b -- ada.command_line%s -- ada.command_line%b -- ada.containers%s -- ada.containers.prime_numbers%s -- ada.containers.prime_numbers%b -- ada.exceptions.is_null_occurrence%s -- ada.exceptions.is_null_occurrence%b -- ada.io_exceptions%s -- ada.numerics%s -- ada.strings%s -- interfaces.c%s -- interfaces.c%b -- interfaces.c.strings%s -- interfaces.c.strings%b -- system.linux%s -- system.multiprocessors%s -- system.multiprocessors%b -- system.os_constants%s -- system.os_interface%s -- system.os_interface%b -- system.os_lib%s -- system.os_lib%b -- system.task_info%s -- system.task_info%b -- system.task_primitives%s -- system.interrupt_management%s -- system.interrupt_management%b -- system.val_util%s -- system.val_util%b -- system.val_llu%s -- system.val_llu%b -- ada.tags%s -- ada.tags%b -- ada.streams%s -- ada.streams%b -- system.communication%s -- system.communication%b -- system.file_control_block%s -- system.finalization_root%s -- system.finalization_root%b -- ada.finalization%s -- ada.containers.helpers%s -- ada.containers.helpers%b -- ada.containers.hash_tables%s -- system.file_io%s -- system.file_io%b -- ada.streams.stream_io%s -- ada.streams.stream_io%b -- system.storage_pools%s -- system.storage_pools%b -- system.finalization_masters%s -- system.finalization_masters%b -- system.storage_pools.subpools%s -- system.storage_pools.subpools.finalization%s -- system.storage_pools.subpools.finalization%b -- system.storage_pools.subpools%b -- system.stream_attributes%s -- system.stream_attributes%b -- system.val_uns%s -- system.val_uns%b -- system.val_int%s -- system.val_int%b -- ada.calendar%s -- ada.calendar%b -- ada.calendar.delays%s -- ada.calendar.delays%b -- ada.text_io%s -- ada.text_io%b -- system.assertions%s -- system.assertions%b -- system.bit_ops%s -- system.bit_ops%b -- ada.strings.maps%s -- ada.strings.maps%b -- ada.strings.search%s -- ada.strings.search%b -- ada.strings.unbounded%s -- ada.strings.unbounded%b -- ada.strings.unbounded.hash%s -- ada.strings.unbounded.hash%b -- system.tasking%s -- system.task_primitives.operations%s -- system.tasking.debug%s -- system.tasking%b -- system.task_primitives.operations%b -- system.tasking.debug%b -- system.traces.tasking%s -- system.traces.tasking%b -- ada.real_time%s -- ada.real_time%b -- system.pool_global%s -- system.pool_global%b -- system.random_seed%s -- system.random_seed%b -- system.random_numbers%s -- system.random_numbers%b -- system.soft_links.tasking%s -- system.soft_links.tasking%b -- system.strings.stream_ops%s -- system.strings.stream_ops%b -- system.tasking.initialization%s -- system.tasking.task_attributes%s -- system.tasking.initialization%b -- system.tasking.task_attributes%b -- system.tasking.protected_objects%s -- system.tasking.protected_objects%b -- system.tasking.protected_objects.entries%s -- system.tasking.protected_objects.entries%b -- system.tasking.queuing%s -- system.tasking.queuing%b -- system.tasking.utilities%s -- system.tasking.utilities%b -- system.tasking.entry_calls%s -- system.tasking.rendezvous%s -- system.tasking.protected_objects.operations%s -- system.tasking.protected_objects.operations%b -- system.tasking.entry_calls%b -- system.tasking.rendezvous%b -- system.tasking.stages%s -- system.tasking.stages%b -- glib%s -- glib%b -- glib.error%s -- glib.error%b -- gtkada%s -- gtkada.types%s -- gtkada.types%b -- gdk%s -- gdk.frame_timings%s -- gdk.frame_timings%b -- gdk.threads%s -- glib.glist%s -- glib.glist%b -- gdk.visual%s -- gdk.visual%b -- glib.gslist%s -- glib.gslist%b -- gtkada.c%s -- gtkada.c%b -- glib.object%s -- glib.values%s -- glib.values%b -- glib.types%s -- glib.type_conversion_hooks%s -- glib.type_conversion_hooks%b -- gtkada.bindings%s -- glib.types%b -- gtkada.bindings%b -- glib.object%b -- cairo%s -- cairo%b -- cairo.region%s -- cairo.region%b -- gdk.rectangle%s -- gdk.rectangle%b -- glib.generic_properties%s -- glib.generic_properties%b -- gdk.color%s -- gdk.color%b -- gdk.rgba%s -- gdk.rgba%b -- gdk.types%s -- gdk.event%s -- gdk.event%b -- glib.key_file%s -- glib.key_file%b -- glib.properties%s -- glib.properties%b -- glib.string%s -- glib.string%b -- glib.variant%s -- glib.variant%b -- glib.g_icon%s -- glib.g_icon%b -- gtk%s -- gtk.actionable%s -- gtk.actionable%b -- gtk.builder%s -- gtk.builder%b -- gtk.buildable%s -- gtk.buildable%b -- gtk.cell_area_context%s -- gtk.cell_area_context%b -- gtk.css_section%s -- gtk.css_section%b -- gtk.enums%s -- gtk.enums%b -- gtk.orientable%s -- gtk.orientable%b -- gtk.paper_size%s -- gtk.paper_size%b -- gtk.page_setup%s -- gtk.page_setup%b -- gtk.print_settings%s -- gtk.print_settings%b -- gtk.target_entry%s -- gtk.target_entry%b -- gtk.target_list%s -- gtk.target_list%b -- lr%s -- lr.synchro%s -- lr.synchro.fifo%s -- lr.synchro%b -- lr.synchro.fifo%b -- pango%s -- pango.enums%s -- pango.enums%b -- pango.attributes%s -- pango.attributes%b -- pango.font_metrics%s -- pango.font_metrics%b -- pango.language%s -- pango.language%b -- pango.font%s -- pango.font%b -- gtk.text_attributes%s -- gtk.text_attributes%b -- gtk.text_tag%s -- gtk.text_tag%b -- pango.font_face%s -- pango.font_face%b -- pango.font_family%s -- pango.font_family%b -- pango.fontset%s -- pango.fontset%b -- pango.matrix%s -- pango.matrix%b -- pango.context%s -- pango.context%b -- pango.font_map%s -- pango.font_map%b -- pango.tabs%s -- pango.tabs%b -- pango.layout%s -- pango.layout%b -- gtk.print_context%s -- gtk.print_context%b -- gdk.display%s -- gtk.print_operation_preview%s -- gtk.tree_model%s -- gtk.entry_buffer%s -- gtk.editable%s -- gtk.cell_editable%s -- gtk.adjustment%s -- gtk.style%s -- gtk.accel_group%s -- gdk.frame_clock%s -- gdk.pixbuf%s -- gtk.icon_source%s -- gtk.icon_source%b -- gdk.pixbuf%b -- gdk.screen%s -- gdk.screen%b -- gdk.device%s -- gdk.drag_contexts%s -- gdk.drag_contexts%b -- gdk.device%b -- gtk.text_iter%s -- gtk.text_iter%b -- gdk.window%s -- gdk.window%b -- gtk.selection_data%s -- gtk.selection_data%b -- gtk.widget%s -- gtk.misc%s -- gtk.misc%b -- gtk.style_provider%s -- gtk.style_provider%b -- gtk.settings%s -- gtk.settings%b -- gtk.style_context%s -- gtk.icon_set%s -- gtk.icon_set%b -- gtk.image%s -- gtk.image%b -- gtk.cell_renderer%s -- gtk.container%s -- gtk.bin%s -- gtk.bin%b -- gtk.box%s -- gtk.box%b -- gtk.status_bar%s -- gtk.notebook%s -- gtk.cell_layout%s -- gtk.cell_layout%b -- gtk.cell_area%s -- gtk.entry_completion%s -- gtk.window%s -- gtk.dialog%s -- gtk.print_operation%s -- gtk.gentry%s -- gtk.arguments%s -- gtk.status_bar%b -- gtk.print_operation_preview%b -- gtk.print_operation%b -- gtk.notebook%b -- gtk.style_context%b -- gtk.gentry%b -- gtk.tree_model%b -- gtk.cell_area%b -- gtk.entry_completion%b -- gtk.cell_renderer%b -- gtk.entry_buffer%b -- gtk.editable%b -- gtk.cell_editable%b -- gtk.window%b -- gtk.dialog%b -- gtk.adjustment%b -- gtk.container%b -- gtk.style%b -- gtk.widget%b -- gtk.accel_group%b -- gdk.frame_clock%b -- gtk.arguments%b -- gdk.display%b -- glib.menu_model%s -- glib.menu_model%b -- gtk.action%s -- gtk.action%b -- gtk.activatable%s -- gtk.activatable%b -- gtk.button%s -- gtk.button%b -- gtk.grange%s -- gtk.grange%b -- gtk.main%s -- gtk.main%b -- gtk.marshallers%s -- gtk.marshallers%b -- gtk.menu_item%s -- gtk.menu_item%b -- gtk.menu_shell%s -- gtk.menu_shell%b -- gtk.menu%s -- gtk.menu%b -- gtk.label%s -- gtk.label%b -- gtk.tree_view_column%s -- gtk.tree_view_column%b -- gtk.handlers%s -- gtk.handlers%b -- gtkada.handlers%s -- gtkada.builder%s -- gtkada.builder%b -- lr.tasks%s -- lr.simu%s -- lr.simu%b -- lr.affic%s -- lr.tasks%b -- lr.affic%b -- lr.main%b -- END ELABORATION ORDER end ada_main;
41.789017
80
0.683951
1964f742ec0b693686d8c261932a520b1fc5569a
176
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/array1.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/array1.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/array1.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } pragma Restrictions (No_Elaboration_Code); package Array1 is type Arr is array (Positive range <>) of Boolean; A : Arr (1 .. 2 ** 29); end Array1;
16
51
0.659091
8bcb98aa3143c6c2a961b29150db14593859d207
1,136
ads
Ada
src/labels.ads
python36/0xfa
ef80cdc0a29d9565bdf067a25d0a4793c0120170
[ "BSD-2-Clause" ]
null
null
null
src/labels.ads
python36/0xfa
ef80cdc0a29d9565bdf067a25d0a4793c0120170
[ "BSD-2-Clause" ]
null
null
null
src/labels.ads
python36/0xfa
ef80cdc0a29d9565bdf067a25d0a4793c0120170
[ "BSD-2-Clause" ]
null
null
null
with ada.containers.indefinite_ordered_maps; with strings; use strings; with address; use address; package labels is type label_t is tagged private; null_label : constant label_t; error_label_exist : exception; error_label_is_null : exception; function last_label return label_t; function get_by_name (str : string) return label_t; procedure create (str : string; addr : pos_addr_t := null_pos_addr); function create (str : string; addr : pos_addr_t := null_pos_addr) return label_t; procedure set (label : label_t; addr : pos_addr_t); function set (label : label_t; addr : pos_addr_t) return label_t; function get (label : label_t) return pos_addr_t; function name (label : label_t) return string; procedure void (label : label_t); private package labels_t is new ada.containers.indefinite_ordered_maps( element_type => pos_addr_t, key_type => string); labels : labels_t.map; use type labels_t.cursor; type label_t is tagged record cursor : labels_t.cursor; end record; null_label : constant label_t := (cursor => labels_t.no_element); last : label_t := null_label; end labels;
29.894737
84
0.744718
1e3bb519276dee124d9d3ee50144db9db3d1893a
787
adb
Ada
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/addr9_1.adb
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/addr9_1.adb
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
null
null
null
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/addr9_1.adb
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } with Ada.Streams; use Ada.Streams; procedure Addr9_1 is type Signal_Type is mod 2 ** 16; type A_Item is record I : Signal_Type; Q : Signal_Type; end record with Size => 32; for A_Item use record I at 0 range 0 .. 15; Q at 2 range 0 .. 15; end record; type A_Array_Type is array (Positive range <>) of A_Item with Alignment => 16; pragma Pack (A_Array_Type); type B_Array_Type is new Ada.Streams.Stream_Element_Array with Alignment => 16; Ct_Count : constant := 7_000; package Set is A : aliased A_Array_Type := (1 .. Ct_Count => <>); B : aliased B_Array_Type := (1 .. Ct_Count * A_Item'Size / 8 => <>); for B'Address use A'Address; end Set; begin null; end;
19.195122
74
0.609911
3802197f61999b420457086ab9461a5559b8ee84
5,274
ads
Ada
tools/scitools/conf/understand/ada/ada05/s-tasuti.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-tasuti.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada05/s-tasuti.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T A S K I N G . U T I L I T I E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, 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, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides RTS Internal Declarations. -- These declarations are not part of the GNARLI with Unchecked_Conversion; package System.Tasking.Utilities is function ATCB_To_Address is new Unchecked_Conversion (Task_Id, System.Address); --------------------------------- -- Task_Stage Related routines -- --------------------------------- procedure Make_Independent; -- Move the current task to the outermost level (level 2) of the master -- hierarchy of the environment task. That is one level further out -- than normal tasks defined in library-level packages (level 3). The -- environment task will wait for level 3 tasks to terminate normally, -- then it will abort all the level 2 tasks. See Finalize_Global_Tasks -- procedure for more information. -- -- This is a dangerous operation, and should only be used on nested tasks -- or tasks that depend on any objects that might be finalized earlier than -- the termination of the environment task. It is for internal use by the -- GNARL, to prevent such internal server tasks from preventing a partition -- from terminating. -- -- Also note that the run time assumes that the parent of an independent -- task is the environment task. If this is not the case, Make_Independent -- will change the task's parent. This assumption is particularly -- important for master level completion and for the computation of -- Independent_Task_Count. Independent_Task_Count : Natural := 0; -- Number of independent task. This counter is incremented each time -- Make_Independent is called. Note that if a server task terminates, -- this counter will not be decremented. Since Make_Independent locks -- the environment task (because every independent task depends on it), -- this counter is protected by the environment task's lock. --------------------------------- -- Task Abort Related Routines -- --------------------------------- procedure Cancel_Queued_Entry_Calls (T : Task_Id); -- Cancel any entry calls queued on target task. -- Call this while holding T's lock (or RTS_Lock in Single_Lock mode). procedure Exit_One_ATC_Level (Self_ID : Task_Id); pragma Inline (Exit_One_ATC_Level); -- Call only with abort deferred and holding lock of Self_ID. -- This is a bit of common code for all entry calls. -- The effect is to exit one level of ATC nesting. procedure Abort_One_Task (Self_ID : Task_Id; T : Task_Id); -- Similar to Locked_Abort_To_Level (Self_ID, T, 0), but: -- (1) caller should be holding no locks -- (2) may be called for tasks that have not yet been activated -- (3) always aborts whole task procedure Abort_Tasks (Tasks : Task_List); -- Abort_Tasks is called to initiate abort, however, the actual -- aborti is done by aborted task by means of Abort_Handler procedure Make_Passive (Self_ID : Task_Id; Task_Completed : Boolean); -- Update counts to indicate current task is either terminated or -- accepting on a terminate alternative. Call holding no locks except -- Global_Task_Lock when calling from Terminate_Task, and RTS_Lock when -- Single_Lock is True. end System.Tasking.Utilities;
49.754717
79
0.57281
8bc586ee47523fbabcf7394653895a1726f7d7a0
234
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/thin_pointer1.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/thin_pointer1.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/thin_pointer1.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } -- { dg-options "-O" } package body Thin_Pointer1 is procedure Set_Buffer (AD : Buf_Ptr; Buffer : Stream_ptr) is begin AD.B.A := Buffer (Buffer'First)'Address; end Set_Buffer; end Thin_Pointer1;
19.5
62
0.662393
8bca2daf4311cc5cd11d675f4cb8b8939c3b110d
7,120
adb
Ada
source/amf/mof/cmof/amf-internals-cmof_elements.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/mof/cmof/amf-internals-cmof_elements.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/mof/cmof/amf-internals-cmof_elements.adb
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 © 2011-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$ ------------------------------------------------------------------------------ with AMF.Internals.Tables.CMOF_Attributes; with AMF.Internals.Tables.CMOF_Element_Table; with AMF.Internals.Element_Collections; with AMF.Internals.Extents; with AMF.Internals.Helpers; with AMF.Internals.Tables.CMOF_Reflection; package body AMF.Internals.CMOF_Elements is use AMF.Internals.Tables.CMOF_Attributes; ------------ -- Extent -- ------------ overriding function Extent (Self : not null access constant CMOF_Element_Proxy) return AMF.Extents.Extent_Access is begin return AMF.Internals.Extents.Proxy (AMF.Internals.Tables.CMOF_Element_Table.Table (Self.Element).Extent); end Extent; --------- -- Get -- --------- overriding function Get (Self : not null access constant CMOF_Element_Proxy; Property : not null AMF.CMOF.Properties.CMOF_Property_Access) return League.Holders.Holder is begin return AMF.Internals.Tables.CMOF_Reflection.Get (Self.Element, CMOF_Element_Proxy'Class (Property.all).Element); end Get; -------------------- -- Get_Meta_Class -- -------------------- overriding function Get_Meta_Class (Self : not null access constant CMOF_Element_Proxy) return AMF.CMOF.Classes.CMOF_Class_Access is begin return AMF.CMOF.Classes.CMOF_Class_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.CMOF_Reflection.Get_Meta_Class (Self.Element))); end Get_Meta_Class; ----------------------- -- Get_Owned_Comment -- ----------------------- overriding function Get_Owned_Comment (Self : not null access constant CMOF_Element_Proxy) return AMF.CMOF.Comments.Collections.Set_Of_CMOF_Comment is begin return AMF.CMOF.Comments.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (Internal_Get_Owned_Comment (Self.Element))); end Get_Owned_Comment; ----------------------- -- Get_Owned_Element -- ----------------------- overriding function Get_Owned_Element (Self : not null access constant CMOF_Element_Proxy) return AMF.CMOF.Elements.Collections.Set_Of_CMOF_Element is begin return AMF.CMOF.Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (Internal_Get_Owned_Element (Self.Element))); end Get_Owned_Element; --------------- -- Get_Owner -- --------------- overriding function Get_Owner (Self : not null access constant CMOF_Element_Proxy) return AMF.CMOF.Elements.CMOF_Element_Access is begin return AMF.CMOF.Elements.CMOF_Element_Access (AMF.Internals.Helpers.To_Element (Internal_Get_Owner (Self.Element))); end Get_Owner; ------------------- -- Must_Be_Owned -- ------------------- overriding function Must_Be_Owned (Self : not null access constant CMOF_Element_Proxy) return Boolean is pragma Unreferenced (Self); -- [UML241] 7.3.14 Element (from Kernel) -- -- The query mustBeOwned() indicates whether elements of this type must -- have an owner. Subclasses of Element that do not require an owner -- must override this operation. -- -- Element::mustBeOwned() : Boolean; -- mustBeOwned = true begin return True; end Must_Be_Owned; --------- -- Set -- --------- overriding procedure Set (Self : not null access CMOF_Element_Proxy; Property : not null AMF.CMOF.Properties.CMOF_Property_Access; Value : League.Holders.Holder) is begin AMF.Internals.Tables.CMOF_Reflection.Set (Self.Element, CMOF_Element_Proxy'Class (Property.all).Element, Value); end Set; end AMF.Internals.CMOF_Elements;
40.685714
79
0.523034
03769ad945458d77c9cf96a58703ec00ea3dd895
6,021
ads
Ada
source/league/ucd/matreshka-internals-unicode-ucd-core_00fd.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/league/ucd/matreshka-internals-unicode-ucd-core_00fd.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/league/ucd/matreshka-internals-unicode-ucd-core_00fd.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012-2015, 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$ ------------------------------------------------------------------------------ pragma Restrictions (No_Elaboration_Code); -- GNAT: enforce generation of preinitialized data section instead of -- generation of elaboration code. package Matreshka.Internals.Unicode.Ucd.Core_00FD is pragma Preelaborate; Group_00FD : aliased constant Core_Second_Stage := (16#3E# => -- FD3E (Close_Punctuation, Neutral, Other, Other, Close, Close_Punctuation, (Pattern_Syntax | Grapheme_Base => True, others => False)), 16#3F# => -- FD3F (Open_Punctuation, Neutral, Other, Other, Close, Open_Punctuation, (Pattern_Syntax | Grapheme_Base => True, others => False)), 16#40# .. 16#4F# => -- FD40 .. FD4F (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#90# .. 16#91# => -- FD90 .. FD91 (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#C8# .. 16#CF# => -- FDC8 .. FDCF (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#D0# .. 16#EF# => -- FDD0 .. FDEF (Unassigned, Neutral, Other, Other, Other, Unknown, (Noncharacter_Code_Point => True, others => False)), 16#FA# .. 16#FB# => -- FDFA .. FDFB (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | Changes_When_NFKC_Casefolded => True, others => False)), 16#FC# => -- FDFC (Currency_Symbol, Neutral, Other, Other, Other, Postfix_Numeric, (Grapheme_Base | Changes_When_NFKC_Casefolded => True, others => False)), 16#FD# => -- FDFD (Other_Symbol, Neutral, Other, Other, Other, Alphabetic, (Grapheme_Base => True, others => False)), 16#FE# .. 16#FF# => -- FDFE .. FDFF (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), others => (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start | Changes_When_NFKC_Casefolded => True, others => False))); end Matreshka.Internals.Unicode.Ucd.Core_00FD;
50.175
78
0.443946
03e44e7bc8deb60173a39aebaba22e131848ce2d
227,526
adb
Ada
boards/ip_colordetect_test/colordetect/colordetect/.autopilot/db/colorthresholding_9_0_3_2160_3840_1_Loop_VITIS_LOOP_138_1_proc.sched.adb
Kgfu/PYNQ_HelloWorld
a5197130e7d4a5e7f382c3963349c1c0bd213213
[ "BSD-3-Clause" ]
null
null
null
boards/ip_colordetect_test/colordetect/colordetect/.autopilot/db/colorthresholding_9_0_3_2160_3840_1_Loop_VITIS_LOOP_138_1_proc.sched.adb
Kgfu/PYNQ_HelloWorld
a5197130e7d4a5e7f382c3963349c1c0bd213213
[ "BSD-3-Clause" ]
null
null
null
boards/ip_colordetect_test/colordetect/colordetect/.autopilot/db/colorthresholding_9_0_3_2160_3840_1_Loop_VITIS_LOOP_138_1_proc.sched.adb
Kgfu/PYNQ_HelloWorld
a5197130e7d4a5e7f382c3963349c1c0bd213213
[ "BSD-3-Clause" ]
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></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>colorthresholding_9_0_3_2160_3840_1_Loop_VITIS_LOOP_138_1_proc</name> <ret_bitwidth>144</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</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>low_thresh</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>9</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>high_thresh</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>9</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>104</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>3</id> <name>high_th_2_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>119</item> </oprand_edges> <opcode>alloca</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="_4"> <Value> <Obj> <type>0</type> <id>4</id> <name>high_th_2_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>113</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>120</item> </oprand_edges> <opcode>alloca</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="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name>low_th_2_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>113</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>121</item> </oprand_edges> <opcode>alloca</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="_6"> <Value> <Obj> <type>0</type> <id>6</id> <name>high_th_2_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>113</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>122</item> </oprand_edges> <opcode>alloca</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="_7"> <Value> <Obj> <type>0</type> <id>7</id> <name>low_th_2_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>123</item> </oprand_edges> <opcode>alloca</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="_8"> <Value> <Obj> <type>0</type> <id>8</id> <name>low_th_2_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>124</item> </oprand_edges> <opcode>alloca</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="_9"> <Value> <Obj> <type>0</type> <id>9</id> <name>low_th_2_1_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>125</item> </oprand_edges> <opcode>alloca</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="_10"> <Value> <Obj> <type>0</type> <id>10</id> <name>low_th_2_0_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>126</item> </oprand_edges> <opcode>alloca</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="_11"> <Value> <Obj> <type>0</type> <id>11</id> <name>low_th_2_2_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1702127986</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>127</item> </oprand_edges> <opcode>alloca</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="_12"> <Value> <Obj> <type>0</type> <id>12</id> <name>high_th_2_2_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>828330063</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>128</item> </oprand_edges> <opcode>alloca</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="_13"> <Value> <Obj> <type>0</type> <id>13</id> <name>high_th_2_1_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>129</item> </oprand_edges> <opcode>alloca</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>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>14</id> <name>high_th_2_0_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3405275129</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>130</item> </oprand_edges> <opcode>alloca</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> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>15</id> <name>high_th_2_0_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>131</item> </oprand_edges> <opcode>alloca</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>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>16</id> <name>low_th_2_2_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>132</item> </oprand_edges> <opcode>alloca</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>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>17</id> <name>high_th_2_1_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>133</item> </oprand_edges> <opcode>alloca</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>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>18</id> <name>low_th_2_1_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>134</item> </oprand_edges> <opcode>alloca</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>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>19</id> <name>low_th_2_0_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>low_th[2][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>135</item> </oprand_edges> <opcode>alloca</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>20</id> <name>high_th_2_2_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>high_th[2][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>136</item> </oprand_edges> <opcode>alloca</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>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>21</id> <name>br_ln0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>137</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.29</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>23</id> <name>i</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</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>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>195</item> <item>196</item> <item>197</item> <item>198</item> </oprand_edges> <opcode>phi</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>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>24</id> <name>j</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>149</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>149</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>200</item> <item>201</item> <item>202</item> <item>203</item> </oprand_edges> <opcode>phi</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>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>25</id> <name>add_ln138</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>138</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>138</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>204</item> <item>206</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.63</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>26</id> <name>icmp_ln138</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>138</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>138</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>961</coreId> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>207</item> <item>209</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.50</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>28</id> <name>br_ln138</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>138</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>138</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4294967295</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>210</item> <item>211</item> <item>212</item> </oprand_edges> <opcode>br</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>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>30</id> <name>zext_ln138</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>138</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>138</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>177</coreId> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>217</item> </oprand_edges> <opcode>zext</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>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>33</id> <name>low_thresh_addr</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>218</item> <item>220</item> <item>221</item> </oprand_edges> <opcode>getelementptr</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>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>34</id> <name>low_th_0_0</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName>low_th[0][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>961</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>222</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.75</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>35</id> <name>trunc_ln144</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4227858560</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>223</item> </oprand_edges> <opcode>trunc</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>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>36</id> <name>zext_ln144_1</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>224</item> </oprand_edges> <opcode>zext</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>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>37</id> <name>add_ln144</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>993</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>225</item> <item>227</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.76</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>38</id> <name>zext_ln144</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>228</item> </oprand_edges> <opcode>zext</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>39</id> <name>low_thresh_addr_1</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1295661686</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>229</item> <item>230</item> <item>231</item> </oprand_edges> <opcode>getelementptr</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>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>40</id> <name>low_th_0_1</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName>low_th[0][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>232</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.75</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>41</id> <name>add_ln145</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>233</item> <item>235</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.76</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>42</id> <name>zext_ln145</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1057</coreId> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>236</item> </oprand_edges> <opcode>zext</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>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>43</id> <name>low_thresh_addr_2</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1057</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>237</item> <item>238</item> <item>239</item> </oprand_edges> <opcode>getelementptr</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>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>44</id> <name>low_th_0_2</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName>low_th[0][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>240</item> </oprand_edges> <opcode>load</opcode> <m_Display>1</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>1</m_isLCDNode> <m_isStartOfPath>1</m_isStartOfPath> <m_delay>1.75</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>45</id> <name>high_thresh_addr</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>146</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>146</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1089</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>241</item> <item>242</item> <item>243</item> </oprand_edges> <opcode>getelementptr</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>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>46</id> <name>high_th_0_0</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>146</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>146</second> </item> </second> </item> </inlineStackInfo> <originalName>high_th[0][0]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1089</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>244</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.75</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>47</id> <name>high_thresh_addr_1</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>147</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>147</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1089</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>245</item> <item>246</item> <item>247</item> </oprand_edges> <opcode>getelementptr</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>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>48</id> <name>high_th_0_1</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>147</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>147</second> </item> </second> </item> </inlineStackInfo> <originalName>high_th[0][1]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1089</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>248</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.75</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>49</id> <name>high_thresh_addr_2</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>249</item> <item>250</item> <item>251</item> </oprand_edges> <opcode>getelementptr</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>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>50</id> <name>high_th_0_2</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName>high_th[0][2]</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>252</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.75</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>51</id> <name>_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>253</item> <item>254</item> <item>255</item> <item>256</item> <item>257</item> <item>258</item> </oprand_edges> <opcode>switch</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.98</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>53</id> <name>low_th_2_0_2_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1217</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>272</item> <item>273</item> </oprand_edges> <opcode>store</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>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>54</id> <name>low_th_2_1_2_write_ln144</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>274</item> <item>275</item> </oprand_edges> <opcode>store</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>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>55</id> <name>low_th_2_2_2_write_ln145</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>276</item> <item>277</item> </oprand_edges> <opcode>store</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>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>56</id> <name>high_th_2_0_2_write_ln146</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>146</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>146</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>278</item> <item>279</item> </oprand_edges> <opcode>store</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>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>57</id> <name>high_th_2_1_1_write_ln147</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>147</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>147</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1265</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>280</item> <item>281</item> </oprand_edges> <opcode>store</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>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>58</id> <name>high_th_2_2_1_write_ln148</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>282</item> <item>283</item> </oprand_edges> <opcode>store</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>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>59</id> <name>br_ln0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>284</item> </oprand_edges> <opcode>br</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>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>61</id> <name>high_th_2_2_2_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407959456</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>259</item> <item>260</item> </oprand_edges> <opcode>store</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>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>62</id> <name>high_th_2_1_2_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>261</item> <item>262</item> </oprand_edges> <opcode>store</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>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>63</id> <name>high_th_2_0_1_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>263</item> <item>264</item> </oprand_edges> <opcode>store</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>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>64</id> <name>low_th_2_2_1_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>265</item> <item>266</item> </oprand_edges> <opcode>store</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>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>65</id> <name>low_th_2_1_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>267</item> <item>268</item> </oprand_edges> <opcode>store</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>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>66</id> <name>low_th_2_0_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1361</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>269</item> <item>270</item> </oprand_edges> <opcode>store</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>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>67</id> <name>br_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1667853424</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>271</item> </oprand_edges> <opcode>br</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>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>69</id> <name>low_th_2_0_1_write_ln143</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1393</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>285</item> <item>286</item> </oprand_edges> <opcode>store</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>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>70</id> <name>low_th_2_1_1_write_ln144</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1393</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>287</item> <item>288</item> </oprand_edges> <opcode>store</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>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>71</id> <name>low_th_2_2_write_ln145</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1441</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>289</item> <item>290</item> </oprand_edges> <opcode>store</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>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>72</id> <name>high_th_2_0_write_ln146</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>146</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>146</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>291</item> <item>292</item> </oprand_edges> <opcode>store</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>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>73</id> <name>high_th_2_1_write_ln147</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>147</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>147</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>293</item> <item>294</item> </oprand_edges> <opcode>store</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>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>74</id> <name>high_th_2_2_write_ln148</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>148</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>148</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>295</item> <item>296</item> </oprand_edges> <opcode>store</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>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>75</id> <name>br_ln0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>297</item> </oprand_edges> <opcode>br</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>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>77</id> <name>add_ln149</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>149</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>149</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>213</item> <item>215</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.99</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>78</id> <name>br_ln138</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</fileName> <fileDirectory>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</fileDirectory> <lineNumber>138</lineNumber> <contextFuncName>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</contextFuncName> <contextNormFuncName>colorthresholding_9_0_3_2160_3840_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_colorthresholding.hpp</first> <second>colorthresholding&amp;lt;9, 0, 3, 2160, 3840, 1&amp;gt;</second> </first> <second>138</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1505</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>216</item> </oprand_edges> <opcode>br</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>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>80</id> <name>high_th_2_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1617</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>138</item> </oprand_edges> <opcode>load</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>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>81</id> <name>high_th_2_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>266</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>139</item> </oprand_edges> <opcode>load</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>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>82</id> <name>low_th_2_0_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>426</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>140</item> </oprand_edges> <opcode>load</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>70</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>83</id> <name>high_th_2_0_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1681</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>141</item> </oprand_edges> <opcode>load</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>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>84</id> <name>low_th_2_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>142</item> </oprand_edges> <opcode>load</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>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>85</id> <name>low_th_2_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3406728024</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>143</item> </oprand_edges> <opcode>load</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>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>86</id> <name>low_th_2_1_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>144</item> </oprand_edges> <opcode>load</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>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>87</id> <name>low_th_2_0_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>145</item> </oprand_edges> <opcode>load</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>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>88</id> <name>low_th_2_2_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>146</item> </oprand_edges> <opcode>load</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>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>89</id> <name>high_th_2_2_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1697</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>147</item> </oprand_edges> <opcode>load</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>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>90</id> <name>high_th_2_1_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>148</item> </oprand_edges> <opcode>load</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>78</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>91</id> <name>high_th_2_0_1_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>481</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>149</item> </oprand_edges> <opcode>load</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>79</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>92</id> <name>high_th_2_0_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>150</item> </oprand_edges> <opcode>load</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>80</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>93</id> <name>low_th_2_2_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>151</item> </oprand_edges> <opcode>load</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>81</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>94</id> <name>high_th_2_1_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>152</item> </oprand_edges> <opcode>load</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>82</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>95</id> <name>low_th_2_1_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1745</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>153</item> </oprand_edges> <opcode>load</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>83</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>96</id> <name>low_th_2_0_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1137</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>154</item> </oprand_edges> <opcode>load</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>84</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>97</id> <name>high_th_2_2_2_load</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>529</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>155</item> </oprand_edges> <opcode>load</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>85</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>98</id> <name>mrv</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1649</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>158</item> </oprand_edges> <opcode>insertvalue</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>86</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>99</id> <name>mrv_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>159</item> <item>160</item> </oprand_edges> <opcode>insertvalue</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>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>100</id> <name>mrv_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>161</item> <item>162</item> </oprand_edges> <opcode>insertvalue</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>88</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>101</id> <name>mrv_3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>13</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>163</item> <item>164</item> </oprand_edges> <opcode>insertvalue</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>89</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>102</id> <name>mrv_4</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>4227858560</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>165</item> <item>166</item> </oprand_edges> <opcode>insertvalue</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>90</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>103</id> <name>mrv_5</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407587136</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>167</item> <item>168</item> </oprand_edges> <opcode>insertvalue</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>91</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>104</id> <name>mrv_6</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>169</item> <item>170</item> </oprand_edges> <opcode>insertvalue</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>92</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>105</id> <name>mrv_7</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3408027976</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>171</item> <item>172</item> </oprand_edges> <opcode>insertvalue</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>93</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>106</id> <name>mrv_8</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1818321696</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>173</item> <item>174</item> </oprand_edges> <opcode>insertvalue</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>94</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>107</id> <name>mrv_9</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>175</item> <item>176</item> </oprand_edges> <opcode>insertvalue</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>95</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>108</id> <name>mrv_s</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407689328</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>177</item> <item>178</item> </oprand_edges> <opcode>insertvalue</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>96</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_99"> <Value> <Obj> <type>0</type> <id>109</id> <name>mrv_10</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407689288</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>179</item> <item>180</item> </oprand_edges> <opcode>insertvalue</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>97</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_100"> <Value> <Obj> <type>0</type> <id>110</id> <name>mrv_11</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407792384</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>181</item> <item>182</item> </oprand_edges> <opcode>insertvalue</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>98</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_101"> <Value> <Obj> <type>0</type> <id>111</id> <name>mrv_12</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>132</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>183</item> <item>184</item> </oprand_edges> <opcode>insertvalue</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>99</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_102"> <Value> <Obj> <type>0</type> <id>112</id> <name>mrv_13</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407792640</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>185</item> <item>186</item> </oprand_edges> <opcode>insertvalue</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>100</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_103"> <Value> <Obj> <type>0</type> <id>113</id> <name>mrv_14</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3408286880</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>187</item> <item>188</item> </oprand_edges> <opcode>insertvalue</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>101</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_104"> <Value> <Obj> <type>0</type> <id>114</id> <name>mrv_15</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3408286552</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>189</item> <item>190</item> </oprand_edges> <opcode>insertvalue</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>102</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_105"> <Value> <Obj> <type>0</type> <id>115</id> <name>mrv_16</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1921</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>191</item> <item>192</item> </oprand_edges> <opcode>insertvalue</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>103</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_106"> <Value> <Obj> <type>0</type> <id>116</id> <name>_ln0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407479912</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>193</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>104</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_107"> <Value> <Obj> <type>2</type> <id>118</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>795897716</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>156</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1768041833</coreId> </Obj> <bitwidth>144</bitwidth> </Value> <const_type>5</const_type> <content>&lt;undef&gt;</content> </item> <item class_id_reference="16" object_id="_109"> <Value> <Obj> <type>2</type> <id>194</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3</coreId> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_110"> <Value> <Obj> <type>2</type> <id>199</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407587712</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_111"> <Value> <Obj> <type>2</type> <id>205</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_112"> <Value> <Obj> <type>2</type> <id>208</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>0</coreId> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_113"> <Value> <Obj> <type>2</type> <id>214</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3123969984</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_114"> <Value> <Obj> <type>2</type> <id>219</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3407475336</coreId> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_115"> <Value> <Obj> <type>2</type> <id>226</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>49</coreId> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_116"> <Value> <Obj> <type>2</type> <id>234</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3408281896</coreId> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_117"> <Obj> <type>3</type> <id>22</id> <name>newFuncRoot</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1768189039</coreId> </Obj> <node_objs> <count>19</count> <item_version>0</item_version> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> </node_objs> </item> <item class_id_reference="18" object_id="_118"> <Obj> <type>3</type> <id>29</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1768189039</coreId> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>28</item> </node_objs> </item> <item class_id_reference="18" object_id="_119"> <Obj> <type>3</type> <id>52</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>1768189039</coreId> </Obj> <node_objs> <count>20</count> <item_version>0</item_version> <item>30</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> </node_objs> </item> <item class_id_reference="18" object_id="_120"> <Obj> <type>3</type> <id>60</id> <name>branch7</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>68</coreId> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> </node_objs> </item> <item class_id_reference="18" object_id="_121"> <Obj> <type>3</type> <id>68</id> <name>.branch6_crit_edge</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3408364512</coreId> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> </node_objs> </item> <item class_id_reference="18" object_id="_122"> <Obj> <type>3</type> <id>76</id> <name>branch8</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3408298160</coreId> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> </node_objs> </item> <item class_id_reference="18" object_id="_123"> <Obj> <type>3</type> <id>79</id> <name>branch6</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>33</coreId> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>77</item> <item>78</item> </node_objs> </item> <item class_id_reference="18" object_id="_124"> <Obj> <type>3</type> <id>117</id> <name>colorthresholding&lt;9, 0, 3, 2160, 3840, 1&gt;_.exit.exitStub</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <coreId>3405790400</coreId> </Obj> <node_objs> <count>37</count> <item_version>0</item_version> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <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> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> <item>102</item> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>111</item> <item>112</item> <item>113</item> <item>114</item> <item>115</item> <item>116</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>180</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_125"> <id>119</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>3</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>120</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>4</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>121</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>5</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>122</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>6</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>123</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>7</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>124</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>125</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>126</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>127</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>128</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>129</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>130</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>131</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>132</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>133</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>134</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>135</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>136</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>137</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>138</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>139</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>140</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>141</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>142</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>143</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>144</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>145</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>146</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>147</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>148</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>149</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>150</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>151</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>152</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>153</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>154</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>155</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>157</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>158</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>159</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>160</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>161</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>162</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>163</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>164</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>165</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>166</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>167</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>168</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>169</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>170</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>171</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>172</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>173</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>174</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>175</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>176</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>177</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>178</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>179</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>180</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>181</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>182</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>183</id> <edge_type>1</edge_type> <source_obj>110</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>184</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>185</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>186</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>187</id> <edge_type>1</edge_type> <source_obj>112</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>188</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>189</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>190</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>191</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>192</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>193</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>195</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>196</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>197</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>23</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>198</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>23</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>200</id> <edge_type>1</edge_type> <source_obj>199</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>201</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>202</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>24</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>203</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>24</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>204</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>206</id> <edge_type>1</edge_type> <source_obj>205</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>207</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>209</id> <edge_type>1</edge_type> <source_obj>208</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>210</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>211</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>212</id> <edge_type>2</edge_type> <source_obj>117</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>213</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>215</id> <edge_type>1</edge_type> <source_obj>214</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>216</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>217</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>218</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>220</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>221</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>222</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>223</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>224</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>225</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>227</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>228</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>229</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>230</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>231</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>232</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>233</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>235</id> <edge_type>1</edge_type> <source_obj>234</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>236</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>237</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>238</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>239</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>240</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>241</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>242</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>243</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>244</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>245</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>246</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>247</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>248</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>249</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>250</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>251</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>252</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>253</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>254</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>255</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>256</id> <edge_type>2</edge_type> <source_obj>68</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>257</id> <edge_type>1</edge_type> <source_obj>205</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>258</id> <edge_type>2</edge_type> <source_obj>60</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>259</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>260</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>261</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>262</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>263</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>264</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>265</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>266</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>267</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>268</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>269</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>270</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>271</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>272</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>273</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>274</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>275</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>276</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>277</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>278</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>279</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>280</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>281</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>282</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>283</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>284</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>285</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>286</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>287</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>288</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>289</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>290</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>291</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>292</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>293</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>294</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>295</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>296</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>297</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>320</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>321</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>322</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>323</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>324</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>325</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>326</id> <edge_type>2</edge_type> <source_obj>60</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>327</id> <edge_type>2</edge_type> <source_obj>68</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>328</id> <edge_type>2</edge_type> <source_obj>76</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>329</id> <edge_type>2</edge_type> <source_obj>79</source_obj> <sink_obj>29</sink_obj> <is_back_edge>1</is_back_edge> </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="_305"> <mId>1</mId> <mTag>colorthresholding&lt;9, 0, 3, 2160, 3840, 1&gt;_Loop_VITIS_LOOP_138_1_proc</mTag> <mNormTag>colorthresholding_9_0_3_2160_3840_1_Loop_VITIS_LOOP_138_1_proc</mNormTag> <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>8</mMinLatency> <mMaxLatency>8</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_306"> <mId>2</mId> <mTag>Entry</mTag> <mNormTag>Entry</mNormTag> <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>22</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_307"> <mId>3</mId> <mTag>VITIS_LOOP_138_1</mTag> <mNormTag>VITIS_LOOP_138_1</mNormTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>6</count> <item_version>0</item_version> <item>29</item> <item>52</item> <item>60</item> <item>68</item> <item>76</item> <item>79</item> </basic_blocks> <mII>2</mII> <mDepth>3</mDepth> <mMinTripCount>3</mMinTripCount> <mMaxTripCount>3</mMaxTripCount> <mMinLatency>6</mMinLatency> <mMaxLatency>6</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_308"> <mId>4</mId> <mTag>Return</mTag> <mNormTag>Return</mNormTag> <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>117</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</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>104</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>3</first> <second class_id="28" tracking_level="0" version="0"> <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>8</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <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>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>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>35</first> <second> <first>1</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>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>1</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>1</second> </second> </item> <item> <first>45</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>47</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>1</first> <second>1</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>1</second> </second> </item> <item> <first>51</first> <second> <first>1</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>2</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>2</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>2</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>61</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>2</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>2</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>86</first> <second> <first>4</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>4</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>4</first> <second>0</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>97</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>99</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>102</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>105</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>108</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>109</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>110</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>111</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>112</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>113</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>114</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>115</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>116</first> <second> <first>4</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>22</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>52</first> <second> <first>1</first> <second>3</second> </second> </item> <item> <first>60</first> <second> <first>2</first> <second>3</second> </second> </item> <item> <first>68</first> <second> <first>2</first> <second>3</second> </second> </item> <item> <first>76</first> <second> <first>2</first> <second>3</second> </second> </item> <item> <first>79</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>117</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="_309"> <region_name>VITIS_LOOP_138_1</region_name> <basic_blocks> <count>6</count> <item_version>0</item_version> <item>29</item> <item>52</item> <item>60</item> <item>68</item> <item>76</item> <item>79</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>2</interval> <pipe_depth>3</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> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
29.548831
139
0.627981
8bd47c84bccf1631e0764fec56c2c5143fc2be7c
1,245
ads
Ada
data/github.com/lambourg/Ada_Bare_Metal_Demos/2a76970f857e2970c4d569a5a808df84cd7274a1/fractals/src/fractals.ads
ajnavarro/language-dataset
34e2980af98ff2ded500619edce3e0907a6e9050
[ "MIT" ]
9
2018-08-07T11:54:33.000Z
2022-03-11T09:48:45.000Z
data/github.com/lambourg/Ada_Bare_Metal_Demos/2a76970f857e2970c4d569a5a808df84cd7274a1/fractals/src/fractals.ads
ajnavarro/language-dataset
34e2980af98ff2ded500619edce3e0907a6e9050
[ "MIT" ]
91
2019-11-11T15:41:26.000Z
2022-03-21T04:17:18.000Z
data/github.com/lambourg/Ada_Bare_Metal_Demos/2a76970f857e2970c4d569a5a808df84cd7274a1/fractals/src/fractals.ads
ajnavarro/language-dataset
34e2980af98ff2ded500619edce3e0907a6e9050
[ "MIT" ]
3
2019-11-13T12:44:41.000Z
2022-01-06T19:34:26.000Z
with Float_Support; use Float_Support; package Fractals is type Coordinate is record X : Base_Float; Y : Base_Float; end record; type Screen is record X0, Y0, Width, Height : Base_Float; end record; type Fractal is abstract tagged null record; type Fractal_Ref is access all Fractal'Class; function Default_Screen (F : Fractal) return Screen is abstract; function Compute (F : Fractal; Z0 : Coordinate; Max_Depth : Natural) return Natural is abstract; type Fractal_Mandelbrot is new Fractal with null record; overriding function Default_Screen (F : Fractal_Mandelbrot) return Screen is (-2.5, -1.0, 3.5, 2.0); overriding function Compute (F : Fractal_Mandelbrot; Z0 : Coordinate; Max_Depth : Natural) return Natural; type Fractal_Julia is new Fractal with null record; overriding function Default_Screen (F : Fractal_Julia) return Screen is (-1.5, -1.0, 3.0, 2.0); overriding function Compute (F : Fractal_Julia; Z0 : Coordinate; Max_Depth : Natural) return Natural; Mandelbrot : aliased Fractal_Mandelbrot; Julia : aliased Fractal_Julia; end Fractals;
25.9375
76
0.661847
c7f90bb8bc8c7cb8d32fa3ed4e1d905aefea222e
4,317
adb
Ada
software/modules/sdlog.adb
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
12
2017-06-08T14:19:57.000Z
2022-03-09T02:48:59.000Z
software/modules/sdlog.adb
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
6
2017-06-08T13:13:50.000Z
2020-05-15T09:32:43.000Z
software/modules/sdlog.adb
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
3
2017-06-30T14:05:06.000Z
2022-02-17T12:20:45.000Z
-- Project: StratoX -- System: Stratosphere Balloon Flight Controller -- Author: Martin Becker ([email protected]) with FAT_Filesystem; use FAT_Filesystem; with FAT_Filesystem.Directories; use FAT_Filesystem.Directories; with FAT_Filesystem.Directories.Files; use FAT_Filesystem.Directories.Files; with Media_Reader.SDCard; use Media_Reader.SDCard; -- @summary top-level package for reading/writing to SD card -- minimal package with pointer stuff package body SDLog with SPARK_Mode => Off is SD_Controller : aliased SDCard_Controller; -- limited type FS : FAT_Filesystem_Access := null; -- pointer fh_log : FAT_Filesystem.Directories.Files.File_Handle; ----------- -- Close -- ----------- procedure Close is begin Close (FS); log_open := False; end Close; ---------- -- Init -- ---------- procedure Init is Status : FAT_Filesystem.Status_Code; begin SD_Initialized := False; log_open := False; SD_Controller.Initialize; if not SD_Controller.Card_Present then Error_State := True; return; else Error_State := False; end if; FS := Open (SD_Controller'Unchecked_Access, Status); if Status /= OK then Error_State := True; return; else SD_Initialized := True; end if; end Init; ------------------- -- Start_Logfile -- ------------------- -- creates a new directory within root, that is named -- after the build. procedure Start_Logfile (dirname : String; filename : String; ret : out Boolean) is Hnd_Root : Directory_Handle; Status : Status_Code; Log_Dir : Directory_Entry; Log_Hnd : Directory_Handle; begin ret := False; if (not SD_Initialized) or Error_State then return; end if; if Open_Root_Directory (FS, Hnd_Root) /= OK then Error_State := True; return; end if; -- 1. create log directory Status := Make_Directory (Parent => Hnd_Root, newname => dirname, D_Entry => Log_Dir); if Status /= OK and then Status /= Already_Exists then return; end if; Close (Hnd_Root); Status := Open (E => Log_Dir, Dir => Log_Hnd); if Status /= OK then return; end if; -- 2. create log file Status := File_Create (Parent => Log_Hnd, newname => filename, File => fh_log); if Status /= OK then return; end if; ret := True; log_open := True; end Start_Logfile; --------------- -- Flush_Log -- --------------- procedure Flush_Log is begin if not log_open then return; end if; declare Status : Status_Code := File_Flush (fh_log); pragma Unreferenced (Status); begin null; end; end Flush_Log; --------------- -- Write_Log -- --------------- procedure Write_Log (Data : FAT_Filesystem.Directories.Files.File_Data; n_written : out Integer) is begin if not log_open then n_written := -1; return; end if; declare DISCARD : Status_Code; begin n_written := File_Write (File => fh_log, Data => Data, Status => DISCARD); end; end Write_Log; procedure Write_Log (S : String; n_written : out Integer) is d : File_Data renames To_File_Data (S); begin Write_Log (d, n_written); end Write_Log; ------------------ -- To_File_Data -- ------------------ function To_File_Data (S : String) return FAT_Filesystem.Directories.Files.File_Data is d : File_Data (1 .. S'Length); idx : Unsigned_16 := d'First; begin -- FIXME: inefficient for k in S'Range loop d (idx) := Character'Pos (S (k)); idx := idx + 1; end loop; return d; -- this throws an exception. end To_File_Data; function Is_Open return Boolean is (log_open); function Logsize return Unsigned_32 is (File_Size (fh_log)); end SDLog;
24.528409
76
0.550382
0375f29fda5c121cfa86aee23cf9516a68920a8f
101,883
adb
Ada
RecComp/Lab2/Zynq_Book/hls/tut3A/matrix_mult_prj/solution2/.autopilot/db/matrix_mult.sched.adb
MarkBlanco/FPGA_Sandbox
4a9502ac1f84018d1bebb8b8dc4f272fd9da0d3b
[ "MIT" ]
3
2021-01-25T08:01:19.000Z
2021-02-12T19:49:30.000Z
RecComp/Lab2/Zynq_Book/hls/tut3A/matrix_mult_prj/solution2/.autopilot/db/matrix_mult.sched.adb
MarkBlanco/FPGA_Sandbox
4a9502ac1f84018d1bebb8b8dc4f272fd9da0d3b
[ "MIT" ]
null
null
null
RecComp/Lab2/Zynq_Book/hls/tut3A/matrix_mult_prj/solution2/.autopilot/db/matrix_mult.sched.adb
MarkBlanco/FPGA_Sandbox
4a9502ac1f84018d1bebb8b8dc4f272fd9da0d3b
[ "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>matrix_mult</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>a</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>a</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>25</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>b</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>b</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>25</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>prod</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>prod</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <direction>2</direction> <if_type>1</if_type> <array_size>25</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>47</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>8</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</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>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>10</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>72</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>10</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>5</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>74</item> <item>75</item> <item>76</item> <item>77</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>11</id> <name>i</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>79</item> <item>80</item> <item>81</item> <item>82</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>12</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>83</item> <item>84</item> <item>85</item> <item>86</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>13</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>87</item> <item>89</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>14</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>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>90</item> <item>92</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>15</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>93</item> <item>94</item> <item>95</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>17</id> <name>i_1</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>10</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>146</item> <item>147</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>20</id> <name>exitcond1</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>12</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>148</item> <item>149</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>21</id> <name>j_mid2</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>12</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>150</item> <item>151</item> <item>152</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>22</id> <name>i_cast3_mid2_v</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>153</item> <item>154</item> <item>155</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>23</id> <name>i_cast3_mid2_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>156</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>24</id> <name>tmp_4</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>157</item> <item>158</item> <item>159</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>25</id> <name>p_shl_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>160</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_7</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>161</item> <item>162</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>27</id> <name>j_cast2_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>163</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>28</id> <name>tmp_8</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>164</item> <item>165</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>29</id> <name>tmp_8_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>13</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>166</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>30</id> <name>prod_addr</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>167</item> <item>168</item> <item>169</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>33</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>13</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>171</item> <item>172</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>34</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>15</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>173</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>36</id> <name>k</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>96</item> <item>97</item> <item>98</item> <item>99</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>37</id> <name>exitcond</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>15</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>100</item> <item>102</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>38</id> <name>k_1</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>103</item> <item>105</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>39</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>15</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>106</item> <item>107</item> <item>108</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>41</id> <name>k_cast1_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>109</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>42</id> <name>tmp_9</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>110</item> <item>111</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>43</id> <name>tmp_9_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</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>112</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>44</id> <name>a_addr</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>113</item> <item>115</item> <item>116</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_s</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>118</item> <item>119</item> <item>121</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>46</id> <name>p_shl1_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</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>47</id> <name>tmp_10</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>123</item> <item>124</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_11</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>125</item> <item>126</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_12_cast</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</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>127</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>50</id> <name>b_addr</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>128</item> <item>129</item> <item>130</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>55</id> <name>a_load</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>131</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>56</id> <name>tmp</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>132</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>57</id> <name>b_load</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>133</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>58</id> <name>tmp_1</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>134</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>59</id> <name>tmp_2</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>135</item> <item>136</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>60</id> <name>prod_load</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>137</item> </oprand_edges> <opcode>load</opcode> <m_Display>2</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_3</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>138</item> <item>139</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>62</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>16</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>140</item> <item>141</item> <item>236</item> </oprand_edges> <opcode>store</opcode> <m_Display>2</m_Display> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>64</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>142</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>67</id> <name>j_1</name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>12</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>143</item> <item>144</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>68</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>12</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>12</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>145</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>70</id> <name></name> <fileName>matrix_mult.cpp</fileName> <fileDirectory>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>matrix_mult</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\markb\Source\Repos\FPGA_Sandbox\RecComp\Lab2\Zynq_Book\hls\tut3A</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrix_mult.cpp</first> <second>matrix_mult</second> </first> <second>21</second> </item> </second> </item> </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>9</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_51"> <Value> <Obj> <type>2</type> <id>73</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>0</content> </item> <item class_id_reference="16" object_id="_52"> <Value> <Obj> <type>2</type> <id>78</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="_53"> <Value> <Obj> <type>2</type> <id>88</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>25</content> </item> <item class_id_reference="16" object_id="_54"> <Value> <Obj> <type>2</type> <id>91</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>1</content> </item> <item class_id_reference="16" object_id="_55"> <Value> <Obj> <type>2</type> <id>101</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="_56"> <Value> <Obj> <type>2</type> <id>104</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="_57"> <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>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_58"> <Value> <Obj> <type>2</type> <id>120</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>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_59"> <Value> <Obj> <type>2</type> <id>170</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>16</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_60"> <Obj> <type>3</type> <id>9</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>8</item> </node_objs> </item> <item class_id_reference="18" object_id="_61"> <Obj> <type>3</type> <id>16</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>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> </node_objs> </item> <item class_id_reference="18" object_id="_62"> <Obj> <type>3</type> <id>35</id> <name>.reset</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>14</count> <item_version>0</item_version> <item>17</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>33</item> <item>34</item> </node_objs> </item> <item class_id_reference="18" object_id="_63"> <Obj> <type>3</type> <id>40</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>36</item> <item>37</item> <item>38</item> <item>39</item> </node_objs> </item> <item class_id_reference="18" object_id="_64"> <Obj> <type>3</type> <id>65</id> <name>ifBlock</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>19</count> <item_version>0</item_version> <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>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>64</item> </node_objs> </item> <item class_id_reference="18" object_id="_65"> <Obj> <type>3</type> <id>69</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>67</item> <item>68</item> </node_objs> </item> <item class_id_reference="18" object_id="_66"> <Obj> <type>3</type> <id>71</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>70</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>99</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_67"> <id>72</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>74</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>75</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>76</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>77</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>79</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>80</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>81</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>82</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>83</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>84</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>85</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>86</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>87</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>89</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>90</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>92</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>93</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>94</id> <edge_type>2</edge_type> <source_obj>35</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>95</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>96</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>97</id> <edge_type>2</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>98</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>99</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>100</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>102</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>103</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>105</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>106</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>107</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>108</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>109</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>110</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>111</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>112</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>113</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>115</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>116</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>119</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>121</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>122</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>123</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>124</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>125</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>126</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>127</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>128</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>129</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>130</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>131</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>132</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>133</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>134</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>135</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>136</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>137</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>138</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>139</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>140</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>141</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>142</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>143</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>144</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>145</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>68</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>146</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>147</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>148</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>149</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>150</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>151</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>152</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>153</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>154</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>155</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>156</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>158</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>159</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>160</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>161</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>162</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>163</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>164</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>165</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>166</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>167</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>168</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>169</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>171</id> <edge_type>1</edge_type> <source_obj>170</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>172</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>173</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>228</id> <edge_type>2</edge_type> <source_obj>9</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>229</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>71</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>230</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>231</id> <edge_type>2</edge_type> <source_obj>35</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>232</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_162"> <id>233</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_163"> <id>234</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_164"> <id>235</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_165"> <id>236</id> <edge_type>4</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_166"> <mId>1</mId> <mTag>matrix_mult</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>7</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>451</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_167"> <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>9</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="_168"> <mId>3</mId> <mTag>Row_Col</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>25</mMinTripCount> <mMaxTripCount>25</mMaxTripCount> <mMinLatency>450</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_169"> <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>16</item> <item>35</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>3</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_170"> <mId>5</mId> <mTag>Product</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>40</item> <item>65</item> </basic_blocks> <mII>2</mII> <mDepth>5</mDepth> <mMinTripCount>5</mMinTripCount> <mMaxTripCount>5</mMaxTripCount> <mMinLatency>12</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_171"> <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>69</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="_172"> <mId>7</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>71</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>47</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>8</first> <second class_id="28" tracking_level="0" version="0"> <first>0</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>14</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>17</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>2</first> <second>0</second> </second> </item> <item> <first>24</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>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>6</first> <second>1</second> </second> </item> <item> <first>56</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>6</first> <second>1</second> </second> </item> <item> <first>58</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>7</first> <second>2</second> </second> </item> <item> <first>60</first> <second> <first>8</first> <second>1</second> </second> </item> <item> <first>61</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>9</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>35</first> <second> <first>1</first> <second>4</second> </second> </item> <item> <first>40</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>65</first> <second> <first>5</first> <second>9</second> </second> </item> <item> <first>69</first> <second> <first>6</first> <second>6</second> </second> </item> <item> <first>71</first> <second> <first>1</first> <second>1</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="_173"> <region_name>Product</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>40</item> <item>65</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>2</interval> <pipe_depth>5</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>
27.783747
111
0.572824
ad586eaac8c6026a0b9a896115ebea4c08938373
3,695
adb
Ada
tools-src/gnu/gcc/gcc/ada/s-valcha.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/s-valcha.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/s-valcha.adb
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . V A L _ C H A R -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992,1993,1994 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. -- -- -- -- 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 System.Val_Util; use System.Val_Util; package body System.Val_Char is --------------------- -- Value_Character -- --------------------- function Value_Character (Str : String) return Character is F : Natural; L : Natural; S : String (Str'Range) := Str; begin Normalize_String (S, F, L); -- Accept any single character enclosed in quotes if L - F = 2 and then S (F) = ''' and then S (L) = ''' then return Character'Val (Character'Pos (S (F + 1))); -- Check control character cases else for C in Character'Val (16#00#) .. Character'Val (16#1F#) loop if S (F .. L) = Character'Image (C) then return C; end if; end loop; for C in Character'Val (16#7F#) .. Character'Val (16#9F#) loop if S (F .. L) = Character'Image (C) then return C; end if; end loop; raise Constraint_Error; end if; end Value_Character; end System.Val_Char;
47.371795
78
0.428958
049a000b5dc33ac10042a682eff4af52f4514585
2,463
ads
Ada
Src/terminal.ads
SMerrony/dashera
74961f34a44cabae414e84537e8baae0ecb373c9
[ "MIT" ]
23
2021-12-12T15:20:22.000Z
2022-03-19T19:55:06.000Z
Src/terminal.ads
SMerrony/dashera
74961f34a44cabae414e84537e8baae0ecb373c9
[ "MIT" ]
1
2022-03-10T00:09:35.000Z
2022-03-15T08:16:00.000Z
Src/terminal.ads
SMerrony/dashera
74961f34a44cabae414e84537e8baae0ecb373c9
[ "MIT" ]
1
2022-03-11T19:42:02.000Z
2022-03-11T19:42:02.000Z
-- Copyright (C)2021,2022 Steve Merrony -- 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. package Terminal is type Emulation_T is (D200, D210); type Terminal_T is tagged record Emulation : Emulation_T; Cursor_X, Cursor_Y : Natural; In_Command, In_Extended_Command : Boolean; Getting_X_Addr, Getting_Y_Addr : Boolean; New_X_Addr, New_Y_Addr : Natural; Roll_Enabled, Protection_Enabled : Boolean; Holding : Boolean; Skip_Byte : Boolean; Expecting : Boolean; Raw_Mode : Boolean; -- in rawMode all host data is passed straight through to rawChan -- Selection_Region... -- Log_File : File; -- Display : Display_Acc_T; Blinking, Dimmed, Reversed, Underscored, Protectd : Boolean; Updated : Boolean; end record; type Terminal_Acc_T is access all Terminal_T; task type Processor is entry Start (Termin : in Terminal_Acc_T); entry Accept_Data (Str : in String); entry Stop; end Processor; type Processor_Acc is access Processor; Processor_Task : Processor_Acc; function Create (Emul : in Emulation_T) return Terminal_Acc_T; procedure Self_Test (T : in out Terminal_T); procedure Process (T : in out Terminal_T; Str : in String); end Terminal;
43.210526
91
0.679659
38a9d42b8880e616d34448bc41038ae523b3ce0e
13,161
adb
Ada
source/libgela/gela-hash-sha-b256.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
4
2016-02-05T15:51:56.000Z
2022-03-25T20:38:32.000Z
source/libgela/gela-hash-sha-b256.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
source/libgela/gela-hash-sha-b256.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of this file -- ------------------------------------------------------------------------------ -- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $ with Ada.Unchecked_Conversion; package body Gela.Hash.SHA.b256 is -- K Constants K : constant array (1 .. 64) of Interfaces.Unsigned_32 := (16#428a2f98#, 16#71374491#, 16#b5c0fbcf#, 16#e9b5dba5#, 16#3956c25b#, 16#59f111f1#, 16#923f82a4#, 16#ab1c5ed5#, 16#d807aa98#, 16#12835b01#, 16#243185be#, 16#550c7dc3#, 16#72be5d74#, 16#80deb1fe#, 16#9bdc06a7#, 16#c19bf174#, 16#e49b69c1#, 16#efbe4786#, 16#0fc19dc6#, 16#240ca1cc#, 16#2de92c6f#, 16#4a7484aa#, 16#5cb0a9dc#, 16#76f988da#, 16#983e5152#, 16#a831c66d#, 16#b00327c8#, 16#bf597fc7#, 16#c6e00bf3#, 16#d5a79147#, 16#06ca6351#, 16#14292967#, 16#27b70a85#, 16#2e1b2138#, 16#4d2c6dfc#, 16#53380d13#, 16#650a7354#, 16#766a0abb#, 16#81c2c92e#, 16#92722c85#, 16#a2bfe8a1#, 16#a81a664b#, 16#c24b8b70#, 16#c76c51a3#, 16#d192e819#, 16#d6990624#, 16#f40e3585#, 16#106aa070#, 16#19a4c116#, 16#1e376c08#, 16#2748774c#, 16#34b0bcb5#, 16#391c0cb3#, 16#4ed8aa4a#, 16#5b9cca4f#, 16#682e6ff3#, 16#748f82ee#, 16#78a5636f#, 16#84c87814#, 16#8cc70208#, 16#90befffa#, 16#a4506ceb#, 16#bef9a3f7#, 16#c67178f2#); Hex_Chars : constant array (Interfaces.Unsigned_32 range 0 .. 15) of Character := ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'); -- Stream_Element_Array4 -- subtype Stream_Element_Array4 is Ada.Streams.Stream_Element_Array (1 .. 4); -- Endian -- function Endian (Value : in Stream_Element_Array4) return Interfaces.Unsigned_32; -- Sigma0 -- function Sigma0 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32; -- Sigma1 -- function Sigma1 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32; -- E0 -- function E0 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32; -- E1 -- function E1 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32; -- Ch -- function Ch (X, Y, Z : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32; -- Maj -- function Maj (X, Y, Z : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32; --------------- -- Calculate -- --------------- function Calculate (Value : in String) return SHA256 is H : Hasher_256; Res : SHA256; begin Update (H, Value); Result (H, Res); return Res; end Calculate; -------------------- -- Wide_Calculate -- -------------------- function Wide_Calculate (Value : in Wide_String) return SHA256 is H : Hasher_256; Res : SHA256; begin Wide_Update (H, Value); Result (H, Res); return Res; end Wide_Calculate; ------------------------- -- Wide_Wide_Calculate -- ------------------------- function Wide_Wide_Calculate (Value : in Wide_Wide_String) return SHA256 is H : Hasher_256; Res : SHA256; begin Wide_Wide_Update (H, Value); Result (H, Res); return Res; end Wide_Wide_Calculate; --------------- -- Calculate -- --------------- function Calculate (Value : in Ada.Streams.Stream_Element_Array) return SHA256 is H : Hasher_256; Res : SHA256; begin Update (H, Value); Result (H, Res); return Res; end Calculate; ------------ -- Update -- ------------ procedure Update (This : in out Hasher_256; Value : in Ada.Streams.Stream_Element_Array) is use Ada.Streams; Buffer : constant Stream_Element_Array := This.Internal_Buffer (1 .. This.Last) & Value; Index : Stream_Element_Offset := Buffer'First; begin while Index + 63 <= Buffer'Last loop Process (This, Buffer (Index .. Index + 63)); Index := Index + 64; end loop; This.Last := Buffer'Last - Index + 1; This.Internal_Buffer (1 .. This.Last) := Buffer (Index .. Buffer'Last); This.Length := This.Length + Value'Length; end Update; ------------- -- Process -- ------------- procedure Process (This : in out Hasher_256; Value : in Ada.Streams.Stream_Element_Array) is use Interfaces; use Ada.Streams; Hash : Hash_Array (1 .. 8) := This.Internal_Hash; W : Hash_Array (1 .. 64); Temp1, Temp2 : Interfaces.Unsigned_32; Position : Stream_Element_Offset; begin for Index in 1 .. 16 loop Position := Stream_Element_Offset (((Index - 1) * 4) + 1); W (Index) := Endian (Value (Position .. Position + 3)); end loop; for Index in 17 .. 64 loop W (Index) := Sigma1 (W (Index - 2)) + W (Index - 7) + Sigma0 (W (Index - 15)) + W (Index - 16); end loop; for Index in 1 .. 64 loop Temp1 := Hash (8) + E1 (Hash (5)) + Ch (Hash (5), Hash (6), Hash (7)) + K (Index) + W (Index); Temp2 := E0 (Hash (1)) + Maj (Hash (1), Hash (2), Hash (3)); Hash (8) := Hash (7); Hash (7) := Hash (6); Hash (6) := Hash (5); Hash (5) := Hash (4) + Temp1; Hash (4) := Hash (3); Hash (3) := Hash (2); Hash (2) := Hash (1); Hash (1) := Temp1 + Temp2; end loop; for Index in 1 .. 8 loop This.Internal_Hash (Index) := This.Internal_Hash (Index) + Hash (Index); end loop; end Process; ------------ -- Result -- ------------ procedure Result (This : in out Hasher_256; Value : out SHA256) is use Ada.Streams; use Interfaces; Last : Stream_Element_Array (1 .. 64) := (others => 0); Length : Unsigned_64 := Unsigned_64 (This.Length) * 8; Result_Position : Positive := Value'First; -- To_Hex -- procedure To_Hex (Item : in Unsigned_32) is V : Unsigned_32 := Item; Position : Integer := Result_Position + 7; begin for Index in 1 .. 4 loop Value (Position) := Hex_Chars (V and 16#0F#); Position := Position - 1; V := Shift_Right (V, 4); Value (Position) := Hex_Chars (V and 16#0F#); Position := Position - 1; V := Shift_Right (V, 4); end loop; Result_Position := Result_Position + 8; end To_Hex; begin Last (1 .. This.Last) := This.Internal_Buffer (1 .. This.Last); Last (This.Last + 1) := 16#80#; if This.Last > 55 then Process (This, Last); Last := (others => 0); end if; for Index in 57 .. 64 loop Last (Stream_Element_Offset (Index)) := Stream_Element ((Shift_Right (Length, (64 - Index) * 8)) and 16#FF#); end loop; Process (This, Last); for Index in 1 .. 8 loop To_Hex (This.Internal_Hash (Index)); end loop; end Result; ------------ -- Endian -- ------------ function Endian (Value : in Stream_Element_Array4) return Interfaces.Unsigned_32 is function To_I32 is new Ada.Unchecked_Conversion (Stream_Element_Array4, Interfaces.Unsigned_32); Temp : Stream_Element_Array4 := (Value (4), Value (3), Value (2), Value (1)); begin return To_I32 (Temp); end Endian; ------------ -- Sigma0 -- ------------ function Sigma0 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32 is use Interfaces; begin return Rotate_Right (Value, 7) xor Rotate_Right (Value, 18) xor Shift_Right (Value, 3); end Sigma0; ------------ -- Sigma1 -- ------------ function Sigma1 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32 is use Interfaces; begin return Rotate_Right (Value, 17) xor Rotate_Right (Value, 19) xor Shift_Right (Value, 10); end Sigma1; -------- -- E0 -- -------- function E0 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32 is use Interfaces; begin return Rotate_Right (Value, 2) xor Rotate_Right (Value, 13) xor Rotate_Right (Value, 22); end E0; -------- -- E1 -- -------- function E1 (Value : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32 is use Interfaces; begin return Rotate_Right (Value, 6) xor Rotate_Right (Value, 11) xor Rotate_Right (Value, 25); end E1; -------- -- Ch -- -------- function Ch (X, Y, Z : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32 is use Interfaces; begin return (X and Y) xor ((not X) and Z); end Ch; --------- -- Maj -- --------- function Maj (X, Y, Z : in Interfaces.Unsigned_32) return Interfaces.Unsigned_32 is use Interfaces; begin return (X and Y) xor (X and Z) xor (Y and Z); end Maj; end Gela.Hash.SHA.b256; ------------------------------------------------------------------------------ -- Copyright (c) 2006, Andry Ogorodnik -- 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. -- -- 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 OWNER 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. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- 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 Maxim Reznik, 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 OWNER 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. ------------------------------------------------------------------------------
29.776018
79
0.559228
133c4389f33157fbba5cd43bc19105ce9f2369d1
3,887
ads
Ada
source/nodes/program-nodes-explicit_dereferences.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-explicit_dereferences.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-explicit_dereferences.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.Explicit_Dereferences; with Program.Element_Visitors; package Program.Nodes.Explicit_Dereferences is pragma Preelaborate; type Explicit_Dereference is new Program.Nodes.Node and Program.Elements.Explicit_Dereferences.Explicit_Dereference and Program.Elements.Explicit_Dereferences.Explicit_Dereference_Text with private; function Create (Prefix : not null Program.Elements.Expressions.Expression_Access; Dot_Token : not null Program.Lexical_Elements.Lexical_Element_Access; All_Token : not null Program.Lexical_Elements.Lexical_Element_Access) return Explicit_Dereference; type Implicit_Explicit_Dereference is new Program.Nodes.Node and Program.Elements.Explicit_Dereferences.Explicit_Dereference with private; function Create (Prefix : 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_Explicit_Dereference with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Explicit_Dereference is abstract new Program.Nodes.Node and Program.Elements.Explicit_Dereferences.Explicit_Dereference with record Prefix : not null Program.Elements.Expressions.Expression_Access; end record; procedure Initialize (Self : in out Base_Explicit_Dereference'Class); overriding procedure Visit (Self : not null access Base_Explicit_Dereference; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Prefix (Self : Base_Explicit_Dereference) return not null Program.Elements.Expressions.Expression_Access; overriding function Is_Explicit_Dereference (Self : Base_Explicit_Dereference) return Boolean; overriding function Is_Expression (Self : Base_Explicit_Dereference) return Boolean; type Explicit_Dereference is new Base_Explicit_Dereference and Program.Elements.Explicit_Dereferences.Explicit_Dereference_Text with record Dot_Token : not null Program.Lexical_Elements.Lexical_Element_Access; All_Token : not null Program.Lexical_Elements.Lexical_Element_Access; end record; overriding function To_Explicit_Dereference_Text (Self : in out Explicit_Dereference) return Program.Elements.Explicit_Dereferences .Explicit_Dereference_Text_Access; overriding function Dot_Token (Self : Explicit_Dereference) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function All_Token (Self : Explicit_Dereference) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Explicit_Dereference is new Base_Explicit_Dereference with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Explicit_Dereference_Text (Self : in out Implicit_Explicit_Dereference) return Program.Elements.Explicit_Dereferences .Explicit_Dereference_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Explicit_Dereference) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Explicit_Dereference) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Explicit_Dereference) return Boolean; end Program.Nodes.Explicit_Dereferences;
33.8
77
0.751479
03e617bf5c0fc270ab59aab6f0676d29ec74daee
7,731
adb
Ada
project/adl/arch/ARM/cortex_m/src/cache/cortex_m-cache.adb
corentingay/adaboy
68f08afa246c8255a42897376d375edcb4e2efc2
[ "MIT" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/cortex_m/src/cache/cortex_m-cache.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/cortex_m/src/cache/cortex_m-cache.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-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. -- -- -- ------------------------------------------------------------------------------ with System.Machine_Code; use System.Machine_Code; with Ada.Unchecked_Conversion; with Interfaces; use Interfaces; with HAL; use HAL; with Cortex_M_SVD.SCB; use Cortex_M_SVD.SCB; with Cortex_M_SVD.PF; use Cortex_M_SVD.PF; with Cortex_M_SVD.Cache; use Cortex_M_SVD.Cache; package body Cortex_M.Cache is Data_Cache_Line_Size : constant UInt32 := 2 ** Natural (PF_Periph.CCSIDR.LineSize + 2); procedure DSB with Inline_Always; -- Data Stored Barrier procedure ISB with Inline_Always; -- Instruction Stored Barrier generic Reg_Address : System.Address; procedure Cache_Maintenance (Start : System.Address; Len : Natural) with Inline_Always; --------- -- DSB -- --------- procedure DSB is begin Asm ("dsb", Volatile => True); end DSB; --------- -- ISB -- --------- procedure ISB is begin Asm ("isb", Volatile => True); end ISB; ----------------------- -- Cache_Maintenance -- ----------------------- procedure Cache_Maintenance (Start : System.Address; Len : Natural) is begin if not D_Cache_Enabled then return; end if; declare function To_U32 is new Ada.Unchecked_Conversion (System.Address, UInt32); Op_Size : Integer_32 := Integer_32 (Len); Op_Addr : UInt32 := To_U32 (Start); Reg : UInt32 with Volatile, Address => Reg_Address; begin DSB; while Op_Size > 0 loop Reg := Op_Addr; Op_Addr := Op_Addr + Data_Cache_Line_Size; Op_Size := Op_Size - Integer_32 (Data_Cache_Line_Size); end loop; DSB; ISB; end; end Cache_Maintenance; -------------------- -- Enable_I_Cache -- -------------------- procedure Enable_I_Cache is begin DSB; ISB; Cortex_M_SVD.Cache.Cache_Periph.ICIALLU := 0; -- Invalidate I-Cache Cortex_M_SVD.SCB.SCB_Periph.CCR.IC := True; -- Enable I-Cache DSB; ISB; end Enable_I_Cache; --------------------- -- Disable_I_Cache -- --------------------- procedure Disable_I_Cache is begin DSB; ISB; Cortex_M_SVD.SCB.SCB_Periph.CCR.IC := False; -- Disable I-Cache Cortex_M_SVD.Cache.Cache_Periph.ICIALLU := 0; -- Invalidate I-Cache DSB; ISB; end Disable_I_Cache; -------------------- -- Enable_D_Cache -- -------------------- procedure Enable_D_Cache is CCSIDR : CCSIDR_Register; begin PF_Periph.CSSELR := (InD => Data_Cache, Level => Level_1, others => <>); DSB; CCSIDR := PF_Periph.CCSIDR; for S in reverse 0 .. CCSIDR.NumSets loop for W in reverse 0 .. CCSIDR.Associativity loop Cache_Periph.DCISW := (Set => UInt9 (S), Way => UInt2 (W), others => <>); end loop; end loop; DSB; SCB_Periph.CCR.DC := True; -- Enable D-Cache DSB; ISB; end Enable_D_Cache; --------------------- -- Disable_D_Cache -- --------------------- procedure Disable_D_Cache is Sets : DCISW_Set_Field; Ways : DCISW_Way_Field; begin PF_Periph.CSSELR := (InD => Data_Cache, Level => Level_1, others => <>); DSB; -- Clean & Invalidate D-Cache Sets := DCISW_Set_Field (PF_Periph.CCSIDR.NumSets); Ways := DCISW_Way_Field (PF_Periph.CCSIDR.Associativity); for S in 0 .. Sets loop for W in 0 .. Ways loop Cache_Periph.DCCISW := (Set => S, Way => W, others => <>); end loop; end loop; SCB_Periph.CCR.DC := False; -- Disable D-Cache DSB; ISB; end Disable_D_Cache; --------------------- -- I_Cache_Enabled -- --------------------- function I_Cache_Enabled return Boolean is begin return SCB_Periph.CCR.IC; end I_Cache_Enabled; --------------------- -- D_Cache_Enabled -- --------------------- function D_Cache_Enabled return Boolean is begin return SCB_Periph.CCR.DC; end D_Cache_Enabled; ------------------ -- Clean_DCache -- ------------------ procedure Int_Clean_DCache is new Cache_Maintenance (Cache_Periph.DCCMVAC'Address); procedure Clean_DCache (Start : System.Address; Len : Natural) renames Int_Clean_DCache; ----------------------- -- Invalidate_DCache -- ----------------------- procedure Int_Invalidate_DCache is new Cache_Maintenance (Cache_Periph.DCIMVAC'Address); procedure Invalidate_DCache (Start : System.Address; Len : Natural) renames Int_Invalidate_DCache; ----------------------------- -- Clean_Invalidate_DCache -- ----------------------------- procedure Int_Clean_Invalidate_DCache is new Cache_Maintenance (Cache_Periph.DCCIMVAC'Address); procedure Clean_Invalidate_DCache (Start : System.Address; Len : Natural) renames Int_Clean_Invalidate_DCache; end Cortex_M.Cache;
28.633333
78
0.51882
8b8bd90ff1f1791d48669272d415e64fe8ab7a36
16,359
ads
Ada
src/generated/time_h.ads
csb6/libtcod-ada
89c2a75eb357a8468ccb0a6476391a6b388f00b4
[ "BSD-3-Clause" ]
null
null
null
src/generated/time_h.ads
csb6/libtcod-ada
89c2a75eb357a8468ccb0a6476391a6b388f00b4
[ "BSD-3-Clause" ]
null
null
null
src/generated/time_h.ads
csb6/libtcod-ada
89c2a75eb357a8468ccb0a6476391a6b388f00b4
[ "BSD-3-Clause" ]
null
null
null
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with sys_utypes_uclock_t_h; with sys_utypes_utime_t_h; with sys_utypes_usize_t_h; limited with sys_utypes_utimespec_h; with i386_utypes_h; package time_h is CLOCKS_PER_SEC : constant := 1000000; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:90 -- unsupported macro: CLOCK_REALTIME _CLOCK_REALTIME -- unsupported macro: CLOCK_MONOTONIC _CLOCK_MONOTONIC -- unsupported macro: CLOCK_MONOTONIC_RAW _CLOCK_MONOTONIC_RAW -- unsupported macro: CLOCK_MONOTONIC_RAW_APPROX _CLOCK_MONOTONIC_RAW_APPROX -- unsupported macro: CLOCK_UPTIME_RAW _CLOCK_UPTIME_RAW -- unsupported macro: CLOCK_UPTIME_RAW_APPROX _CLOCK_UPTIME_RAW_APPROX -- unsupported macro: CLOCK_PROCESS_CPUTIME_ID _CLOCK_PROCESS_CPUTIME_ID -- unsupported macro: CLOCK_THREAD_CPUTIME_ID _CLOCK_THREAD_CPUTIME_ID -- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. -- * -- * @APPLE_LICENSE_HEADER_START@ -- * -- * This file contains Original Code and/or Modifications of Original Code -- * as defined in and that are subject to the Apple Public Source License -- * Version 2.0 (the 'License'). You may not use this file except in -- * compliance with the License. Please obtain a copy of the License at -- * http://www.opensource.apple.com/apsl/ and read it before using this -- * file. -- * -- * The Original Code and all software distributed under the License are -- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER -- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, -- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, -- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. -- * Please see the License for the specific language governing rights and -- * limitations under the License. -- * -- * @APPLE_LICENSE_HEADER_END@ -- -- * Copyright (c) 1989, 1993 -- * The Regents of the University of California. All rights reserved. -- * (c) UNIX System Laboratories, Inc. -- * All or some portions of this file are derived from material licensed -- * to the University of California by American Telephone and Telegraph -- * Co. or Unix System Laboratories, Inc. and are reproduced herein with -- * the permission of UNIX System Laboratories, Inc. -- * -- * 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. All advertising materials mentioning features or use of this software -- * must display the following acknowledgement: -- * This product includes software developed by the University of -- * California, Berkeley and its contributors. -- * 4. Neither the name of the University 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 REGENTS 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 REGENTS 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. -- * -- * @(#)time.h 8.3 (Berkeley) 1/21/94 -- -- seconds after the minute [0-60] type tm is record tm_sec : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:76 tm_min : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:77 tm_hour : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:78 tm_mday : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:79 tm_mon : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:80 tm_year : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:81 tm_wday : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:82 tm_yday : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:83 tm_isdst : aliased int; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:84 tm_gmtoff : aliased long; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:85 tm_zone : Interfaces.C.Strings.chars_ptr; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:86 end record with Convention => C_Pass_By_Copy; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:75 -- minutes after the hour [0-59] -- hours since midnight [0-23] -- day of the month [1-31] -- months since January [0-11] -- years since 1900 -- days since Sunday [0-6] -- days since January 1 [0-365] -- Daylight Savings Time flag -- offset from UTC in seconds -- timezone abbreviation tzname : array (size_t) of Interfaces.C.Strings.chars_ptr -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:98 with Import => True, Convention => C, External_Name => "tzname"; getdate_err : aliased int -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:101 with Import => True, Convention => C, External_Name => "getdate_err"; timezone : aliased long -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:103 with Import => True, Convention => C, External_Name => "_timezone"; daylight : aliased int -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:105 with Import => True, Convention => C, External_Name => "daylight"; function asctime (arg1 : access constant tm) return Interfaces.C.Strings.chars_ptr -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:108 with Import => True, Convention => C, External_Name => "asctime"; function clock return sys_utypes_uclock_t_h.clock_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:109 with Import => True, Convention => C, External_Name => "_clock"; function ctime (arg1 : access sys_utypes_utime_t_h.time_t) return Interfaces.C.Strings.chars_ptr -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:110 with Import => True, Convention => C, External_Name => "ctime"; function difftime (arg1 : sys_utypes_utime_t_h.time_t; arg2 : sys_utypes_utime_t_h.time_t) return double -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:111 with Import => True, Convention => C, External_Name => "difftime"; function getdate (arg1 : Interfaces.C.Strings.chars_ptr) return access tm -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:112 with Import => True, Convention => C, External_Name => "getdate"; function gmtime (arg1 : access sys_utypes_utime_t_h.time_t) return access tm -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:113 with Import => True, Convention => C, External_Name => "gmtime"; function localtime (arg1 : access sys_utypes_utime_t_h.time_t) return access tm -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:114 with Import => True, Convention => C, External_Name => "localtime"; function mktime (arg1 : access tm) return sys_utypes_utime_t_h.time_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:115 with Import => True, Convention => C, External_Name => "_mktime"; function strftime (arg1 : Interfaces.C.Strings.chars_ptr; arg2 : sys_utypes_usize_t_h.size_t; arg3 : Interfaces.C.Strings.chars_ptr; arg4 : access constant tm) return sys_utypes_usize_t_h.size_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:116 with Import => True, Convention => C, External_Name => "_strftime"; function strptime (arg1 : Interfaces.C.Strings.chars_ptr; arg2 : Interfaces.C.Strings.chars_ptr; arg3 : access tm) return Interfaces.C.Strings.chars_ptr -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:117 with Import => True, Convention => C, External_Name => "_strptime"; function time (arg1 : access sys_utypes_utime_t_h.time_t) return sys_utypes_utime_t_h.time_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:118 with Import => True, Convention => C, External_Name => "time"; procedure tzset -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:121 with Import => True, Convention => C, External_Name => "tzset"; -- [TSF] Thread safe functions function asctime_r (arg1 : access constant tm; arg2 : Interfaces.C.Strings.chars_ptr) return Interfaces.C.Strings.chars_ptr -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:125 with Import => True, Convention => C, External_Name => "asctime_r"; function ctime_r (arg1 : access sys_utypes_utime_t_h.time_t; arg2 : Interfaces.C.Strings.chars_ptr) return Interfaces.C.Strings.chars_ptr -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:126 with Import => True, Convention => C, External_Name => "ctime_r"; function gmtime_r (arg1 : access sys_utypes_utime_t_h.time_t; arg2 : access tm) return access tm -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:127 with Import => True, Convention => C, External_Name => "gmtime_r"; function localtime_r (arg1 : access sys_utypes_utime_t_h.time_t; arg2 : access tm) return access tm -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:128 with Import => True, Convention => C, External_Name => "localtime_r"; function posix2time (arg1 : sys_utypes_utime_t_h.time_t) return sys_utypes_utime_t_h.time_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:131 with Import => True, Convention => C, External_Name => "posix2time"; procedure tzsetwall -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:135 with Import => True, Convention => C, External_Name => "tzsetwall"; function time2posix (arg1 : sys_utypes_utime_t_h.time_t) return sys_utypes_utime_t_h.time_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:136 with Import => True, Convention => C, External_Name => "time2posix"; function timelocal (arg1 : access tm) return sys_utypes_utime_t_h.time_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:137 with Import => True, Convention => C, External_Name => "timelocal"; function timegm (arg1 : access tm) return sys_utypes_utime_t_h.time_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:138 with Import => True, Convention => C, External_Name => "timegm"; function nanosleep (uu_rqtp : access constant sys_utypes_utimespec_h.timespec; uu_rmtp : access sys_utypes_utimespec_h.timespec) return int -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:142 with Import => True, Convention => C, External_Name => "_nanosleep"; subtype clockid_t is unsigned; u_CLOCK_REALTIME : constant unsigned := 0; u_CLOCK_MONOTONIC : constant unsigned := 6; u_CLOCK_MONOTONIC_RAW : constant unsigned := 4; u_CLOCK_MONOTONIC_RAW_APPROX : constant unsigned := 5; u_CLOCK_UPTIME_RAW : constant unsigned := 8; u_CLOCK_UPTIME_RAW_APPROX : constant unsigned := 9; u_CLOCK_PROCESS_CPUTIME_ID : constant unsigned := 12; u_CLOCK_THREAD_CPUTIME_ID : constant unsigned := 16; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:172 function clock_getres (uu_clock_id : clockid_t; uu_res : access sys_utypes_utimespec_h.timespec) return int -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:175 with Import => True, Convention => C, External_Name => "clock_getres"; function clock_gettime (uu_clock_id : clockid_t; uu_tp : access sys_utypes_utimespec_h.timespec) return int -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:178 with Import => True, Convention => C, External_Name => "clock_gettime"; function clock_gettime_nsec_np (uu_clock_id : clockid_t) return i386_utypes_h.uu_uint64_t -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:182 with Import => True, Convention => C, External_Name => "clock_gettime_nsec_np"; function clock_settime (uu_clock_id : clockid_t; uu_tp : access constant sys_utypes_utimespec_h.timespec) return int -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:187 with Import => True, Convention => C, External_Name => "clock_settime"; -- ISO/IEC 9899:201x 7.27.2.5 The timespec_get function end time_h;
58.217082
264
0.731157
1ad779a3e88b10adbc050a10ee512c9c90656bb9
1,379
ads
Ada
source/distributed/required/s-shasto.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/distributed/required/s-shasto.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/distributed/required/s-shasto.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); -- implementation unit required by compiler with Ada.Streams; package System.Shared_Storage is -- no-operation procedure Nop (Key : String) is null; function Nop (Key : String) return access Ada.Streams.Root_Stream_Type'Class is (null); type Lock_Handler is access procedure (Key : String); Lock_Hook : not null Lock_Handler := Nop'Access; type Unlock_Handler is access procedure (Key : String); Unlock_Hook : not null Unlock_Handler := Nop'Access; type Read_Handler is access function (Key : String) return access Ada.Streams.Root_Stream_Type'Class; Read_Hook : not null Read_Handler := Nop'Access; type Write_Handler is access function (Key : String) return access Ada.Streams.Root_Stream_Type'Class; Write_Hook : not null Write_Handler := Nop'Access; -- required for a protected in a package with pragma Shared_Passive -- by compiler (s-shasto.ads) procedure Shared_Var_Lock (Var : String); procedure Shared_Var_Unlock (Var : String); -- required for a variable in a package with pragma Shared_Passive -- by compiler (s-shasto.ads) generic type Typ is limited private; V : in out Typ; Full_Name : String; package Shared_Var_Procs is procedure Read; procedure Write; end Shared_Var_Procs; end System.Shared_Storage;
29.978261
71
0.714286
1ed71f4807b2c44ed3b50340329fe080b5be33cd
417
adb
Ada
src/_test/harness/apsepp_test.adb
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
src/_test/harness/apsepp_test.adb
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
src/_test/harness/apsepp_test.adb
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
-- Copyright (C) 2019 Thierry Rascle <[email protected]> -- MIT license. Please refer to the LICENSE file. -- with GNAT.Exception_Traces; -- For debugging. with Apsepp_Test_Harness; procedure Apsepp_Test is -- use GNAT.Exception_Traces; -- For debugging. begin -- Trace_On (Every_Raise); -- For debugging. Apsepp_Test_Harness.Apsepp_Test_Procedure; -- Trace_Off; -- For debugging. end Apsepp_Test;
20.85
55
0.731415
a0838f2ffe1a7246c73ca278e3c26b8284cb5353
75
ads
Ada
ada/core/demo/myatexit.ads
charlesdaniels/libagar
099ce716e2ca01a7904b23f22610bf589295f5b5
[ "BSD-2-Clause" ]
286
2017-07-31T20:05:16.000Z
2022-03-26T20:26:24.000Z
ada/core/demo/myatexit.ads
kalatestimine/libagar
f830265ad00a82d4cddd8b59943bd3887ebb1486
[ "BSD-2-Clause" ]
67
2017-08-30T18:56:21.000Z
2021-09-08T03:38:20.000Z
ada/core/demo/myatexit.ads
kalatestimine/libagar
f830265ad00a82d4cddd8b59943bd3887ebb1486
[ "BSD-2-Clause" ]
31
2017-08-14T13:34:12.000Z
2022-03-14T15:33:49.000Z
package myatexit is procedure atexit with Convention => C; end myatexit;
18.75
40
0.773333
9a04b740030fcc40f41d1ca788c469aa913db967
5,348
adb
Ada
source/nodes/program-nodes-component_clauses.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-component_clauses.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-component_clauses.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 ------------------------------------------------------------- package body Program.Nodes.Component_Clauses is function Create (Clause_Name : not null Program.Elements.Identifiers.Identifier_Access; At_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Position : not null Program.Elements.Expressions.Expression_Access; Range_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Clause_Range : not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Component_Clause is begin return Result : Component_Clause := (Clause_Name => Clause_Name, At_Token => At_Token, Position => Position, Range_Token => Range_Token, Clause_Range => Clause_Range, Semicolon_Token => Semicolon_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Clause_Name : not null Program.Elements.Identifiers .Identifier_Access; Position : not null Program.Elements.Expressions .Expression_Access; Clause_Range : not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Component_Clause is begin return Result : Implicit_Component_Clause := (Clause_Name => Clause_Name, Position => Position, Clause_Range => Clause_Range, Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Clause_Name (Self : Base_Component_Clause) return not null Program.Elements.Identifiers.Identifier_Access is begin return Self.Clause_Name; end Clause_Name; overriding function Position (Self : Base_Component_Clause) return not null Program.Elements.Expressions.Expression_Access is begin return Self.Position; end Position; overriding function Clause_Range (Self : Base_Component_Clause) return not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access is begin return Self.Clause_Range; end Clause_Range; overriding function At_Token (Self : Component_Clause) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.At_Token; end At_Token; overriding function Range_Token (Self : Component_Clause) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Range_Token; end Range_Token; overriding function Semicolon_Token (Self : Component_Clause) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Semicolon_Token; end Semicolon_Token; overriding function Is_Part_Of_Implicit (Self : Implicit_Component_Clause) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Component_Clause) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Component_Clause) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; procedure Initialize (Self : in out Base_Component_Clause'Class) is begin Set_Enclosing_Element (Self.Clause_Name, Self'Unchecked_Access); Set_Enclosing_Element (Self.Position, Self'Unchecked_Access); Set_Enclosing_Element (Self.Clause_Range, Self'Unchecked_Access); null; end Initialize; overriding function Is_Component_Clause (Self : Base_Component_Clause) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Component_Clause; overriding function Is_Clause (Self : Base_Component_Clause) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Clause; overriding procedure Visit (Self : not null access Base_Component_Clause; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Component_Clause (Self); end Visit; overriding function To_Component_Clause_Text (Self : in out Component_Clause) return Program.Elements.Component_Clauses.Component_Clause_Text_Access is begin return Self'Unchecked_Access; end To_Component_Clause_Text; overriding function To_Component_Clause_Text (Self : in out Implicit_Component_Clause) return Program.Elements.Component_Clauses.Component_Clause_Text_Access is pragma Unreferenced (Self); begin return null; end To_Component_Clause_Text; end Program.Nodes.Component_Clauses;
32.412121
79
0.715034
4b61036292b517a0f361a81864a5ded46b089478
1,852
ads
Ada
mat/src/parser/mat-expressions-lexer_dfa.ads
stcarrez/mat
fb242feb5662b8130680cd06e50da7ef40b95bd7
[ "Apache-2.0" ]
7
2015-01-18T23:04:30.000Z
2021-04-06T14:07:56.000Z
mat/src/parser/mat-expressions-lexer_dfa.ads
stcarrez/mat
fb242feb5662b8130680cd06e50da7ef40b95bd7
[ "Apache-2.0" ]
null
null
null
mat/src/parser/mat-expressions-lexer_dfa.ads
stcarrez/mat
fb242feb5662b8130680cd06e50da7ef40b95bd7
[ "Apache-2.0" ]
null
null
null
pragma Style_Checks (Off); package MAT.Expressions.Lexer_dfa is aflex_debug : boolean := false; -- Warning: This file is automatically generated by AFLEX. -- It is useless to modify it. Change the ".Y" & ".L" files instead. yytext_ptr : integer; -- points to start of yytext in buffer -- yy_ch_buf has to be 2 characters longer than YY_BUF_SIZE because we need -- to put in 2 end-of-buffer characters (this is explained where it is -- done) at the end of yy_ch_buf -- ---------------------------------------------------------------------------- -- If the buffer size variable YY_READ_BUF_SIZE is too small, then -- big comments won't be parsed and the parser stops. -- YY_READ_BUF_SIZE should be at least as large as the number of ASCII bytes in -- comments that need to be parsed. YY_READ_BUF_SIZE : constant integer := 75_000; -- ---------------------------------------------------------------------------- YY_BUF_SIZE : constant integer := YY_READ_BUF_SIZE * 2; -- size of input buffer type unbounded_character_array is array(integer range <>) of character; subtype ch_buf_type is unbounded_character_array(0..YY_BUF_SIZE + 1); yy_ch_buf : ch_buf_type; yy_cp, yy_bp : integer; -- yy_hold_char holds the character lost when yytext is formed yy_hold_char : character; yy_c_buf_p : integer; -- points to current character in buffer function YYText return string; function YYLength return integer; procedure YY_DO_BEFORE_ACTION; --These variables are needed between calls to YYLex. yy_init : boolean := true; -- do we need to initialize YYLex? yy_start : integer := 0; -- current start state number subtype yy_state_type is integer; yy_last_accepting_state : yy_state_type; yy_last_accepting_cpos : integer; end MAT.Expressions.Lexer_dfa;
44.095238
83
0.664147
a054ea3b334c1d734fcd650f7b07ecb50f255ab4
6,559
adb
Ada
src/shared/generic/lsc-internal-hmac_sha512.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
30
2018-05-18T09:11:50.000Z
2021-05-18T16:29:14.000Z
src/shared/generic/lsc-internal-hmac_sha512.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
15
2018-12-13T07:53:36.000Z
2019-09-24T19:43:35.000Z
src/shared/generic/lsc-internal-hmac_sha512.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
3
2019-04-04T17:41:29.000Z
2021-05-07T22:28:46.000Z
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- 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 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 LSC.Internal.Ops64; with LSC.Internal.Debug; pragma Unreferenced (LSC.Internal.Debug); package body LSC.Internal.HMAC_SHA512 is IPad : constant SHA512.Block_Type := SHA512.Block_Type'(SHA512.Block_Index => 16#36363636_36363636#); OPad : constant SHA512.Block_Type := SHA512.Block_Type'(SHA512.Block_Index => 16#5C5C5C5C_5C5C5C5C#); ---------------------------------------------------------------------------- function Context_Init (Key : SHA512.Block_Type) return Context_Type is Result : Context_Type; Temp : SHA512.Block_Type; begin pragma Debug (Debug.Put_Line ("HMAC.SHA512.Context_Init:")); Result.Key := Key; Result.SHA512_Context := SHA512.SHA512_Context_Init; Ops64.Block_XOR (IPad, Result.Key, Temp); SHA512.Context_Update (Result.SHA512_Context, Temp); return Result; end Context_Init; ---------------------------------------------------------------------------- procedure Context_Update (Context : in out Context_Type; Block : in SHA512.Block_Type) is begin pragma Debug (Debug.Put_Line ("HMAC.SHA512.Context_Update:")); SHA512.Context_Update (Context.SHA512_Context, Block); end Context_Update; ---------------------------------------------------------------------------- procedure Context_Finalize_Outer (Context : in out Context_Type) with Depends => (Context => Context); procedure Context_Finalize_Outer (Context : in out Context_Type) is Hash : SHA512.SHA512_Hash_Type; Temp : SHA512.Block_Type; begin Hash := SHA512.SHA512_Get_Hash (Context.SHA512_Context); Context.SHA512_Context := SHA512.SHA512_Context_Init; Ops64.Block_XOR (OPad, Context.Key, Temp); SHA512.Context_Update (Context.SHA512_Context, Temp); Temp := SHA512.Null_Block; Ops64.Block_Copy (Hash, Temp); SHA512.Context_Finalize (Context.SHA512_Context, Temp, 512); end Context_Finalize_Outer; ---------------------------------------------------------------------------- procedure Context_Finalize (Context : in out Context_Type; Block : in SHA512.Block_Type; Length : in SHA512.Block_Length_Type) is begin pragma Debug (Debug.Put_Line ("HMAC.SHA512.Context_Finalize:")); SHA512.Context_Finalize (Context.SHA512_Context, Block, Length); Context_Finalize_Outer (Context); end Context_Finalize; ---------------------------------------------------------------------------- function Get_Prf (Context : in Context_Type) return SHA512.SHA512_Hash_Type is begin return SHA512.SHA512_Get_Hash (Context.SHA512_Context); end Get_Prf; ---------------------------------------------------------------------------- function Get_Auth (Context : in Context_Type) return Auth_Type is Result : Auth_Type; Prf : SHA512.SHA512_Hash_Type; begin Prf := SHA512.SHA512_Get_Hash (Context.SHA512_Context); for Index in Auth_Index loop Result (Index) := Prf (Index); end loop; return Result; end Get_Auth; ---------------------------------------------------------------------------- function Keyed_Hash (Key : SHA512.Block_Type; Message : SHA512.Message_Type; Length : SHA512.Message_Index) return Context_Type with Pre => Message'First <= Message'Last and Length / SHA512.Block_Size + (if Length mod SHA512.Block_Size = 0 then 0 else 1) <= Message'Length; function Keyed_Hash (Key : SHA512.Block_Type; Message : SHA512.Message_Type; Length : SHA512.Message_Index) return Context_Type is HMAC_Ctx : Context_Type; begin HMAC_Ctx := Context_Init (Key); SHA512.Hash_Context (Message, Length, HMAC_Ctx.SHA512_Context); Context_Finalize_Outer (HMAC_Ctx); return HMAC_Ctx; end Keyed_Hash; ---------------------------------------------------------------------------- function Pseudorandom (Key : SHA512.Block_Type; Message : SHA512.Message_Type; Length : SHA512.Message_Index) return SHA512.SHA512_Hash_Type is begin return Get_Prf (Keyed_Hash (Key, Message, Length)); end Pseudorandom; ---------------------------------------------------------------------------- function Authenticate (Key : SHA512.Block_Type; Message : SHA512.Message_Type; Length : SHA512.Message_Index) return Auth_Type is begin return Get_Auth (Keyed_Hash (Key, Message, Length)); end Authenticate; end LSC.Internal.HMAC_SHA512;
37.056497
81
0.603598
8b934d08955bd32afb9abac87c1319bdd9fd6316
4,067
adb
Ada
Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb
tizenorg/external.ncurses
eec8a5e3f767faa476f07eb6b54d493fe7920eca
[ "DOC", "Unlicense" ]
null
null
null
Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb
tizenorg/external.ncurses
eec8a5e3f767faa476f07eb6b54d493fe7920eca
[ "DOC", "Unlicense" ]
null
null
null
Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb
tizenorg/external.ncurses
eec8a5e3f767faa476f07eb6b54d493fe7920eca
[ "DOC", "Unlicense" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Forms.Field_Types.IntField -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, 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 ABOVE 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. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: -- $Revision: 1.10 $ -- $Date: 2009/12/26 17:38:58 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; package body Terminal_Interface.Curses.Forms.Field_Types.IntField is procedure Set_Field_Type (Fld : Field; Typ : Integer_Field) is C_Integer_Field_Type : C_Field_Type; pragma Import (C, C_Integer_Field_Type, "TYPE_INTEGER"); function Set_Fld_Type (F : Field := Fld; Cft : C_Field_Type := C_Integer_Field_Type; Arg1 : C_Int; Arg2 : C_Long_Int; Arg3 : C_Long_Int) return C_Int; pragma Import (C, Set_Fld_Type, "set_field_type"); Res : Eti_Error; begin Res := Set_Fld_Type (Arg1 => C_Int (Typ.Precision), Arg2 => C_Long_Int (Typ.Lower_Limit), Arg3 => C_Long_Int (Typ.Upper_Limit)); if Res /= E_Ok then Eti_Exception (Res); end if; Wrap_Builtin (Fld, Typ); end Set_Field_Type; end Terminal_Interface.Curses.Forms.Field_Types.IntField;
57.28169
78
0.45734
a0c047badebf312629794081adb183cd8187dae2
6,139
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95021a.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/c9/c95021a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95021a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C95021A.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 CALLS TO AN ENTRY ARE PLACED IN A FIFO QUEUE. -- JBG 2/22/84 -- DAS 10/8/90 ADDED PRAGMA PRIORITY TO ENSURE THAT THE FIFO -- DISCIPLINE MUST BE FOLLOWED (OTHERWISE THE -- IMPLEMENTATION MIGHT PROHIBIT QUEUES FROM -- FORMING SO THAT E'COUNT IS ALWAYS ZERO FOR -- AN ENTRY E). -- PWN 11/30/94 REMOVED PRAGMA PRIORITY INSTANCES FOR ADA 9X. -- THE TASK QUEUE IS THE TASK THAT CHECKS THE QUEUEING DISCIPLINE. -- -- THIS TEST PLACES TWO CALLS ON AN ENTRY, WAITS UNTIL ONE OF THE CALLS -- IS ACCEPTED, AND THEN PLACES A THIRD CALL ON THE ENTRY. THE TEST -- CHECKS THAT THE SECOND CALL IS HANDLED BEFORE THE THIRD. (IT IS -- NONDETERMINISTIC WHICH CALL WILL BE THE FIRST ONE ON THE QUEUE, SO -- THIS MORE COMPLICATED APPROACH IS NECESSARY.) -- -- THE TASK DISPATCH FIRES UP THE TWO TASKS THAT MAKE THE FIRST TWO -- CALLS AND THEN WAITS UNTIL QUEUE SAYS IT IS READY FOR THE THIRD CALL. -- -- THE TASK TYPE CALLERS IS USED TO CREATE TASKS THAT WILL CALL THE -- ENTRY IN THE TASK QUEUE. with Impdef; WITH REPORT; USE REPORT; WITH SYSTEM; PROCEDURE C95021A IS BEGIN TEST ("C95021A", "CHECK THAT ENTRY CALLS ARE PUT IN FIFO QUEUES"); -- DO THIS TEST 3 TIMES TO ALLOW FOR RANDOM VARIATIONS IN TIMING. FOR I IN 1..3 LOOP COMMENT ("ITERATION" & INTEGER'IMAGE(I)); DECLARE TASK TYPE CALLERS IS ENTRY NAME (N : NATURAL); END CALLERS; TASK QUEUE IS ENTRY GO; ENTRY E1 (NAME : NATURAL); END QUEUE; TASK DISPATCH IS ENTRY READY; END DISPATCH; TASK BODY CALLERS IS MY_NAME : NATURAL; BEGIN -- GET NAME OF THIS TASK OBJECT ACCEPT NAME (N : NATURAL) DO MY_NAME := N; END NAME; -- PUT THIS TASK ON QUEUE FOR QUEUE.E1 QUEUE.E1 (MY_NAME); END CALLERS; TASK BODY DISPATCH IS TYPE ACC_CALLERS IS ACCESS CALLERS; OBJ : ACC_CALLERS; BEGIN -- FIRE UP TWO CALLERS FOR QUEUE.E1 OBJ := NEW CALLERS; OBJ.NAME(1); OBJ := NEW CALLERS; OBJ.NAME(2); -- ALLOW THESE CALLS TO BE PROCESSED (ONLY ONE WILL BE ACCEPTED). QUEUE.GO; -- WAIT TILL ONE CALL HAS BEEN PROCESSED. ACCEPT READY; -- CALLED FROM QUEUE -- FIRE UP THIRD CALLER OBJ := NEW CALLERS; OBJ.NAME(3); END DISPATCH; TASK BODY QUEUE IS NEXT : NATURAL; -- NUMBER OF SECOND CALLER IN QUEUE. BEGIN -- WAIT UNTIL TWO TASKS CALLING E1 HAVE BEEN ACTIVATED. ACCEPT GO; -- WAIT FOR TWO CALLS TO BE AVAILABLE. THIS WAIT ASSUMES THAT THE -- CALLER TASKS WILL PROCEED IF THIS TASK IS EXECUTING A DELAY -- STATEMENT, ALTHOUGH THIS IS NOT STRICTLY REQUIRED BY THE STANDARD. FOR I IN 1..6 -- WILL WAIT FOR ONE MINUTE LOOP EXIT WHEN E1'COUNT = 2; DELAY 10.0 * Impdef.One_Second; -- WAIT FOR CALLS TO ARRIVE END LOOP; IF E1'COUNT /= 2 THEN FAILED ("CALLER TASKS NOT QUEUED AFTER ONE " & "MINUTE - 1"); END IF; -- ASSUMING NO FAILURE, PROCESS ONE OF THE QUEUED CALLS. ACCEPT E1 (NAME : NATURAL) DO -- GET NAME OF NEXT CALLER CASE NAME IS WHEN 1 => NEXT := 2; WHEN 2 => NEXT := 1; WHEN OTHERS => FAILED ("UNEXPECTED ERROR"); END CASE; END E1; -- TELL DISPATCH TO FIRE UP NEXT CALLER (ONE IS STILL IN QUEUE). DISPATCH.READY; -- WAIT FOR CALL TO ARRIVE. FOR I IN 1..6 -- WILL WAIT FOR ONE MINUTE LOOP EXIT WHEN E1'COUNT = 2; DELAY 10.0 * Impdef.One_Second; -- WAIT FOR CALLS TO ARRIVE END LOOP; IF E1'COUNT /= 2 THEN FAILED ("CALLER TASKS NOT QUEUED AFTER ONE " & "MINUTE - 2"); END IF; -- ASSUMING NO FAILURE, ACCEPT SECOND CALL AND CHECK THAT IT IS FROM THE -- CORRECT TASK. ACCEPT E1 (NAME : NATURAL) DO IF NAME /= NEXT THEN FAILED ("FIFO DISCIPLINE NOT OBEYED"); END IF; END E1; -- ACCEPT THE LAST CALLER ACCEPT E1 (NAME : NATURAL); END QUEUE; BEGIN NULL; END; -- ALL TASKS NOW TERMINATED. END LOOP; RESULT; END C95021A;
33.546448
82
0.55742
13fe971147ccb5d8bbeffca44204dc9154e9a900
1,410
ads
Ada
src/base/beans/util-beans-objects-enums.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
60
2015-01-18T23:05:34.000Z
2022-03-20T18:56:30.000Z
src/base/beans/util-beans-objects-enums.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
20
2016-09-15T16:41:30.000Z
2022-03-29T22:02:32.000Z
src/base/beans/util-beans-objects-enums.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
10
2015-02-13T04:00:45.000Z
2022-03-20T18:57:54.000Z
----------------------------------------------------------------------- -- Util.Beans.Objects.Enums -- Helper conversion for discrete types -- Copyright (C) 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. ----------------------------------------------------------------------- generic type T is (<>); -- When True, round the integer value held by the object before -- converting it into the type T. ROUND_VALUE : Boolean := False; package Util.Beans.Objects.Enums is -- Create an object from the given value. function To_Object (Value : in T) return Object; -- Convert the object into a value. -- Raises Constraint_Error if the object cannot be converter to the target type. function To_Value (Value : in Util.Beans.Objects.Object) return T; end Util.Beans.Objects.Enums;
40.285714
84
0.650355
1971bf4e87b373d850f39ba51a77f6085503efbd
6,286
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34005f.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/c34005f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34005f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C34005F.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 DERIVED ONE-DIMENSIONAL ARRAY TYPES WHOSE COMPONENT TYPE IS A -- DISCRETE TYPE: -- CHECK THAT ALL VALUES OF THE PARENT (BASE) TYPE ARE PRESENT FOR -- THE DERIVED (BASE) TYPE WHEN THE DERIVED TYPE DEFINITION IS -- CONSTRAINED. -- CHECK THAT ANY CONSTRAINT IMPOSED ON THE PARENT SUBTYPE IS ALSO -- IMPOSED ON THE DERIVED SUBTYPE. -- HISTORY: -- JRK 9/12/86 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE C34005F IS SUBTYPE COMPONENT IS INTEGER; PACKAGE PKG IS FIRST : CONSTANT := 0; LAST : CONSTANT := 100; SUBTYPE INDEX IS INTEGER RANGE FIRST .. LAST; TYPE PARENT IS ARRAY (INDEX RANGE <>) OF COMPONENT; FUNCTION CREATE ( F, L : INDEX; C : COMPONENT; DUMMY : PARENT -- TO RESOLVE OVERLOADING. ) RETURN PARENT; END PKG; USE PKG; TYPE T IS NEW PARENT (IDENT_INT (5) .. IDENT_INT (7)); SUBTYPE SUBPARENT IS PARENT (5 .. 7); TYPE S IS NEW SUBPARENT; X : T := (OTHERS => 2); Y : S := (OTHERS => 2); PACKAGE BODY PKG IS FUNCTION CREATE ( F, L : INDEX; C : COMPONENT; DUMMY : PARENT ) RETURN PARENT IS A : PARENT (F .. L); B : COMPONENT := C; BEGIN FOR I IN F .. L LOOP A (I) := B; B := B + 1; END LOOP; RETURN A; END CREATE; END PKG; BEGIN TEST ("C34005F", "CHECK THAT ALL VALUES OF THE PARENT (BASE) " & "TYPE ARE PRESENT FOR THE DERIVED (BASE) TYPE " & "WHEN THE DERIVED TYPE DEFINITION IS " & "CONSTRAINED. ALSO CHECK THAT ANY CONSTRAINT " & "IMPOSED ON THE PARENT SUBTYPE IS ALSO IMPOSED " & "ON THE DERIVED SUBTYPE. CHECK FOR DERIVED " & "ONE-DIMENSIONAL ARRAY TYPES WHOSE COMPONENT " & "TYPE IS A DISCRETE TYPE"); -- CHECK THAT BASE TYPE VALUES NOT IN THE SUBTYPE ARE PRESENT. BEGIN IF CREATE (2, 3, 4, X) /= (4, 5) OR CREATE (2, 3, 4, Y) /= (4, 5) THEN FAILED ("CAN'T CREATE BASE TYPE VALUES OUTSIDE THE " & "SUBTYPE"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => FAILED ("CALL TO CREATE RAISED CONSTRAINT_ERROR"); WHEN OTHERS => FAILED ("CALL TO CREATE RAISED EXCEPTION"); END; IF X & (3, 4) /= (2, 2, 2, 3, 4) OR Y & (3, 4) /= (2, 2, 2, 3, 4) THEN FAILED ("INCORRECT &"); END IF; -- CHECK THE DERIVED SUBTYPE CONSTRAINT. IF T'FIRST /= 5 OR T'LAST /= 7 OR S'FIRST /= 5 OR S'LAST /= 7 THEN FAILED ("INCORRECT 'FIRST OR 'LAST"); END IF; BEGIN X := (1, 2, 3); Y := (1, 2, 3); IF PARENT (X) /= PARENT (Y) THEN -- USE X AND Y. FAILED ("INCORRECT CONVERSION TO PARENT"); END IF; EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED BY OK ASSIGNMENT"); END; BEGIN X := (1, 2); FAILED ("CONSTRAINT_ERROR NOT RAISED -- X := (1, 2)"); IF X = (1, 2) THEN -- USE X. COMMENT ("X ALTERED -- X := (1, 2)"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED -- X := (1, 2)"); END; BEGIN X := (1, 2, 3, 4); FAILED ("CONSTRAINT_ERROR NOT RAISED -- " & "X := (1, 2, 3, 4)"); IF X = (1, 2, 3, 4) THEN -- USE X. COMMENT ("X ALTERED -- X := (1, 2, 3, 4)"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED -- " & "X := (1, 2, 3, 4)"); END; BEGIN Y := (1, 2); FAILED ("CONSTRAINT_ERROR NOT RAISED -- Y := (1, 2)"); IF Y = (1, 2) THEN -- USE Y. COMMENT ("Y ALTERED -- Y := (1, 2)"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED -- Y := (1, 2)"); END; BEGIN Y := (1, 2, 3, 4); FAILED ("CONSTRAINT_ERROR NOT RAISED -- " & "Y := (1, 2, 3, 4)"); IF Y = (1, 2, 3, 4) THEN -- USE Y. COMMENT ("Y ALTERED -- Y := (1, 2, 3, 4)"); END IF; EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED -- " & "Y := (1, 2, 3, 4)"); END; RESULT; END C34005F;
32.071429
79
0.495864
a0f87978a2479fe7ea3bf837f047b45fc6c98770
1,091
ads
Ada
orka_transforms/src/x86/generic/orka-transforms-doubles-vector_conversions.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
52
2016-07-30T23:00:28.000Z
2022-02-05T11:54:55.000Z
orka_transforms/src/x86/generic/orka-transforms-doubles-vector_conversions.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
79
2016-08-01T18:36:48.000Z
2022-02-27T12:14:20.000Z
orka_transforms/src/x86/generic/orka-transforms-doubles-vector_conversions.ads
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
4
2018-04-28T22:36:26.000Z
2020-11-14T23:00:29.000Z
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2019 onox <[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 Orka.Transforms.SIMD_Vector_Conversions; with Orka.Transforms.Doubles.Matrices; with Orka.Transforms.Singles.Matrices; with Orka.SIMD.AVX.Doubles.Swizzle; package Orka.Transforms.Doubles.Vector_Conversions is new Orka.Transforms.SIMD_Vector_Conversions (Orka.Transforms.Doubles.Matrices, Orka.Transforms.Singles.Matrices, SIMD.AVX.Doubles.Swizzle.Convert); pragma Pure (Orka.Transforms.Doubles.Vector_Conversions);
38.964286
97
0.769019
1ef0c9779a17e8e38eaaa1ea1d916343e93246c2
1,262
adb
Ada
memsim-master/src/test-spm.adb
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
memsim-master/src/test-spm.adb
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
memsim-master/src/test-spm.adb
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
with Memory.RAM; use Memory.RAM; with Memory.SPM; use Memory.SPM; package body Test.SPM is procedure Run_Tests is ram : constant RAM_Pointer := Create_RAM(latency => 100, word_size => 8); spm : SPM_Pointer := Create_SPM(ram, 1024, 1); begin Check(Get_Time(spm.all) = 0); Check(Get_Writes(spm.all) = 0); Check(Get_Cost(spm.all) = 1); Read(spm.all, 0, 1); Check(Get_Time(spm.all) = 1); Check(Get_Writes(spm.all) = 0); Read(spm.all, 1024 - 8, 8); Check(Get_Time(spm.all) = 2); Check(Get_Writes(spm.all) = 0); Read(spm.all, 1024, 4); Check(Get_Time(spm.all) = 102); Check(Get_Writes(spm.all) = 0); Read(spm.all, 1023, 2); Check(Get_Time(spm.all) = 202); Check(Get_Writes(spm.all) = 0); Write(spm.all, 1024, 1); Check(Get_Time(spm.all) = 302); Check(Get_Writes(spm.all) = 1); Write(spm.all, 8, 1); Check(Get_Time(spm.all) = 303); Check(Get_Writes(spm.all) = 1); Write(spm.all, 8192, 16); Check(Get_Time(spm.all) = 503); Check(Get_Writes(spm.all) = 2); Destroy(Memory_Pointer(spm)); end Run_Tests; end Test.SPM;
24.269231
67
0.550713
38e10ead89a816d9ba5cdd49733da3ff7bae8287
16,414
ads
Ada
include/sf-audio-soundstream.ads
Fabien-Chouteau/ASFML
52a013554bcfb6150e0d6391871356c1443a6b93
[ "Zlib" ]
null
null
null
include/sf-audio-soundstream.ads
Fabien-Chouteau/ASFML
52a013554bcfb6150e0d6391871356c1443a6b93
[ "Zlib" ]
null
null
null
include/sf-audio-soundstream.ads
Fabien-Chouteau/ASFML
52a013554bcfb6150e0d6391871356c1443a6b93
[ "Zlib" ]
null
null
null
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 Laurent Gomila ([email protected]) -- 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. --////////////////////////////////////////////////////////// --////////////////////////////////////////////////////////// with Sf.System.Time; with Sf.Audio.SoundStatus; with Sf.System.Vector3; with Sf.System.Time; package Sf.Audio.SoundStream is --////////////////////////////////////////////////////////// --/ sfSoundStreamChunk defines the data to fill by the --/ OnGetData callback --////////////////////////////////////////////////////////// type sfSoundStreamChunk is record Samples : sfInt16_Ptr; --/< Pointer to the audio samples NbSamples : aliased sfUint32; --/< Number of samples pointed by Samples end record; --/< Type of the callback used to get a sound stream data type sfSoundStreamGetDataCallback is access function (chunk : access sfSoundStreamChunk; userData : Standard.System.Address) return sfBool; --/< Type of the callback used to seek in a sound stream type sfSoundStreamSeekCallback is access procedure (time : Sf.System.Time.sfTime; userData : Standard.System.Address); --////////////////////////////////////////////////////////// --/ @brief Create a new sound stream --/ --/ @param onGetData Function called when the stream needs more data (can't be NULL) --/ @param onSeek Function called when the stream seeks (can't be NULL) --/ @param channelCount Number of channels to use (1 = mono, 2 = stereo) --/ @param sampleRate Sample rate of the sound (44100 = CD quality) --/ @param userData Data to pass to the callback functions --/ --/ @return A new sfSoundStream object --/ --////////////////////////////////////////////////////////// function create (onGetData : sfSoundStreamGetDataCallback; onSeek : sfSoundStreamSeekCallback; channelCount : sfUint32; sampleRate : sfUint32; userData : Standard.System.Address) return sfSoundStream_Ptr; --////////////////////////////////////////////////////////// --/ @brief Destroy a sound stream --/ --/ @param soundStream Sound stream to destroy --/ --////////////////////////////////////////////////////////// procedure destroy (soundStream : sfSoundStream_Ptr); --////////////////////////////////////////////////////////// --/ @brief Start or resume playing a sound stream --/ --/ This function starts the stream if it was stopped, resumes --/ it if it was paused, and restarts it from beginning if it --/ was it already playing. --/ This function uses its own thread so that it doesn't block --/ the rest of the program while the music is played. --/ --/ @param soundStream Sound stream object --/ --////////////////////////////////////////////////////////// procedure play (soundStream : sfSoundStream_Ptr); --////////////////////////////////////////////////////////// --/ @brief Pause a sound stream --/ --/ This function pauses the stream if it was playing, --/ otherwise (stream already paused or stopped) it has no effect. --/ --/ @param soundStream Sound stream object --/ --////////////////////////////////////////////////////////// procedure pause (soundStream : sfSoundStream_Ptr); --////////////////////////////////////////////////////////// --/ @brief Stop playing a sound stream --/ --/ This function stops the stream if it was playing or paused, --/ and does nothing if it was already stopped. --/ It also resets the playing position (unlike sfSoundStream_pause). --/ --/ @param soundStream Sound stream object --/ --////////////////////////////////////////////////////////// procedure stop (soundStream : sfSoundStream_Ptr); --////////////////////////////////////////////////////////// --/ @brief Get the current status of a sound stream (stopped, paused, playing) --/ --/ @param soundStream Sound stream object --/ --/ @return Current status --/ --////////////////////////////////////////////////////////// function getStatus (soundStream : sfSoundStream_Ptr) return Sf.Audio.SoundStatus.sfSoundStatus; --////////////////////////////////////////////////////////// --/ @brief Return the number of channels of a sound stream --/ --/ 1 channel means a mono sound, 2 means stereo, etc. --/ --/ @param soundStream Sound stream object --/ --/ @return Number of channels --/ --////////////////////////////////////////////////////////// function getChannelCount (soundStream : sfSoundStream_Ptr) return sfUint32; --////////////////////////////////////////////////////////// --/ @brief Get the sample rate of a sound stream --/ --/ The sample rate is the number of audio samples played per --/ second. The higher, the better the quality. --/ --/ @param soundStream Sound stream object --/ --/ @return Sample rate, in number of samples per second --/ --////////////////////////////////////////////////////////// function getSampleRate (soundStream : sfSoundStream_Ptr) return sfUint32; --////////////////////////////////////////////////////////// --/ @brief Set the pitch of a sound stream --/ --/ The pitch represents the perceived fundamental frequency --/ of a sound; thus you can make a stream more acute or grave --/ by changing its pitch. A side effect of changing the pitch --/ is to modify the playing speed of the stream as well. --/ The default value for the pitch is 1. --/ --/ @param soundStream Sound stream object --/ @param pitch New pitch to apply to the stream --/ --////////////////////////////////////////////////////////// procedure setPitch (soundStream : sfSoundStream_Ptr; pitch : float); --////////////////////////////////////////////////////////// --/ @brief Set the volume of a sound stream --/ --/ The volume is a value between 0 (mute) and 100 (full volume). --/ The default value for the volume is 100. --/ --/ @param soundStream Sound stream object --/ @param volume Volume of the stream --/ --////////////////////////////////////////////////////////// procedure setVolume (soundStream : sfSoundStream_Ptr; volume : float); --////////////////////////////////////////////////////////// --/ @brief Set the 3D position of a sound stream in the audio scene --/ --/ Only streams with one channel (mono streams) can be --/ spatialized. --/ The default position of a stream is (0, 0, 0). --/ --/ @param soundStream Sound stream object --/ @param position Position of the stream in the scene --/ --////////////////////////////////////////////////////////// procedure setPosition (soundStream : sfSoundStream_Ptr; position : Sf.System.Vector3.sfVector3f); --////////////////////////////////////////////////////////// --/ @brief Make a sound stream's position relative to the listener or absolute --/ --/ Making a stream relative to the listener will ensure that it will always --/ be played the same way regardless the position of the listener. --/ This can be useful for non-spatialized streams, streams that are --/ produced by the listener, or streams attached to it. --/ The default value is false (position is absolute). --/ --/ @param soundStream Sound stream object --/ @param relative sfTrue to set the position relative, sfFalse to set it absolute --/ --////////////////////////////////////////////////////////// procedure setRelativeToListener (soundStream : sfSoundStream_Ptr; relative : sfBool); --////////////////////////////////////////////////////////// --/ @brief Set the minimum distance of a sound stream --/ --/ The "minimum distance" of a stream is the maximum --/ distance at which it is heard at its maximum volume. Further --/ than the minimum distance, it will start to fade out according --/ to its attenuation factor. A value of 0 ("inside the head --/ of the listener") is an invalid value and is forbidden. --/ The default value of the minimum distance is 1. --/ --/ @param soundStream Sound stream object --/ @param distance New minimum distance of the stream --/ --////////////////////////////////////////////////////////// procedure setMinDistance (soundStream : sfSoundStream_Ptr; distance : float); --////////////////////////////////////////////////////////// --/ @brief Set the attenuation factor of a sound stream --/ --/ The attenuation is a multiplicative factor which makes --/ the stream more or less loud according to its distance --/ from the listener. An attenuation of 0 will produce a --/ non-attenuated stream, i.e. its volume will always be the same --/ whether it is heard from near or from far. On the other hand, --/ an attenuation value such as 100 will make the stream fade out --/ very quickly as it gets further from the listener. --/ The default value of the attenuation is 1. --/ --/ @param soundStream Sound stream object --/ @param attenuation New attenuation factor of the stream --/ --////////////////////////////////////////////////////////// procedure setAttenuation (soundStream : sfSoundStream_Ptr; attenuation : float); --////////////////////////////////////////////////////////// --/ @brief Change the current playing position of a sound stream --/ --/ The playing position can be changed when the stream is --/ either paused or playing. --/ --/ @param soundStream Sound stream object --/ @param timeOffset New playing position --/ --////////////////////////////////////////////////////////// procedure setPlayingOffset (soundStream : sfSoundStream_Ptr; timeOffset : Sf.System.Time.sfTime); --////////////////////////////////////////////////////////// --/ @brief Set whether or not a sound stream should loop after reaching the end --/ --/ If set, the stream will restart from beginning after --/ reaching the end and so on, until it is stopped or --/ sfSoundStream_setLoop(stream, sfFalse) is called. --/ The default looping state for sound streams is false. --/ --/ @param soundStream Sound stream object --/ @param inLoop sfTrue to play in loop, sfFalse to play once --/ --////////////////////////////////////////////////////////// procedure setLoop (soundStream : sfSoundStream_Ptr; inLoop : sfBool); --////////////////////////////////////////////////////////// --/ @brief Get the pitch of a sound stream --/ --/ @param soundStream Sound stream object --/ --/ @return Pitch of the stream --/ --////////////////////////////////////////////////////////// function getPitch (soundStream : sfSoundStream_Ptr) return float; --////////////////////////////////////////////////////////// --/ @brief Get the volume of a sound stream --/ --/ @param soundStream Sound stream object --/ --/ @return Volume of the stream, in the range [0, 100] --/ --////////////////////////////////////////////////////////// function getVolume (soundStream : sfSoundStream_Ptr) return float; --////////////////////////////////////////////////////////// --/ @brief Get the 3D position of a sound stream in the audio scene --/ --/ @param soundStream Sound stream object --/ --/ @return Position of the stream in the world --/ --////////////////////////////////////////////////////////// function getPosition (soundStream : sfSoundStream_Ptr) return Sf.System.Vector3.sfVector3f; --////////////////////////////////////////////////////////// --/ @brief Tell whether a sound stream's position is relative to the --/ listener or is absolute --/ --/ @param soundStream Sound stream object --/ --/ @return sfTrue if the position is relative, sfFalse if it's absolute --/ --////////////////////////////////////////////////////////// function isRelativeToListener (soundStream : sfSoundStream_Ptr) return sfBool; --////////////////////////////////////////////////////////// --/ @brief Get the minimum distance of a sound stream --/ --/ @param soundStream Sound stream object --/ --/ @return Minimum distance of the stream --/ --////////////////////////////////////////////////////////// function getMinDistance (soundStream : sfSoundStream_Ptr) return float; --////////////////////////////////////////////////////////// --/ @brief Get the attenuation factor of a sound stream --/ --/ @param soundStream Sound stream object --/ --/ @return Attenuation factor of the stream --/ --////////////////////////////////////////////////////////// function getAttenuation (soundStream : sfSoundStream_Ptr) return float; --////////////////////////////////////////////////////////// --/ @brief Tell whether or not a sound stream is in loop mode --/ --/ @param soundStream Sound stream object --/ --/ @return sfTrue if the music is looping, sfFalse otherwise --/ --////////////////////////////////////////////////////////// function getLoop (soundStream : sfSoundStream_Ptr) return sfBool; --////////////////////////////////////////////////////////// --/ @brief Get the current playing position of a sound stream --/ --/ @param soundStream Sound stream object --/ --/ @return Current playing position --/ --////////////////////////////////////////////////////////// function getPlayingOffset (soundStream : sfSoundStream_Ptr) return Sf.System.Time.sfTime; private pragma Convention (C, sfSoundStreamGetDataCallback); pragma Convention (C, sfSoundStreamSeekCallback); pragma Convention (C_Pass_By_Copy, sfSoundStreamChunk); pragma Import (C, create, "sfSoundStream_create"); pragma Import (C, destroy, "sfSoundStream_destroy"); pragma Import (C, play, "sfSoundStream_play"); pragma Import (C, pause, "sfSoundStream_pause"); pragma Import (C, stop, "sfSoundStream_stop"); pragma Import (C, getStatus, "sfSoundStream_getStatus"); pragma Import (C, getChannelCount, "sfSoundStream_getChannelCount"); pragma Import (C, getSampleRate, "sfSoundStream_getSampleRate"); pragma Import (C, setPitch, "sfSoundStream_setPitch"); pragma Import (C, setVolume, "sfSoundStream_setVolume"); pragma Import (C, setPosition, "sfSoundStream_setPosition"); pragma Import (C, setRelativeToListener, "sfSoundStream_setRelativeToListener"); pragma Import (C, setMinDistance, "sfSoundStream_setMinDistance"); pragma Import (C, setAttenuation, "sfSoundStream_setAttenuation"); pragma Import (C, setPlayingOffset, "sfSoundStream_setPlayingOffset"); pragma Import (C, setLoop, "sfSoundStream_setLoop"); pragma Import (C, getPitch, "sfSoundStream_getPitch"); pragma Import (C, getVolume, "sfSoundStream_getVolume"); pragma Import (C, getPosition, "sfSoundStream_getPosition"); pragma Import (C, isRelativeToListener, "sfSoundStream_isRelativeToListener"); pragma Import (C, getMinDistance, "sfSoundStream_getMinDistance"); pragma Import (C, getAttenuation, "sfSoundStream_getAttenuation"); pragma Import (C, getLoop, "sfSoundStream_getLoop"); pragma Import (C, getPlayingOffset, "sfSoundStream_getPlayingOffset"); end Sf.Audio.SoundStream;
43.654255
101
0.550688
1930c91e0058f23a8507bfb1e038f4d086f0e462
2,580
ads
Ada
runtime/ravenscar-sfp-stm32f427/math/a-numaux.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
12
2017-06-08T14:19:57.000Z
2022-03-09T02:48:59.000Z
runtime/ravenscar-sfp-stm32f427/math/a-numaux.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
6
2017-06-08T13:13:50.000Z
2020-05-15T09:32:43.000Z
runtime/ravenscar-sfp-stm32f427/math/a-numaux.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
3
2017-06-30T14:05:06.000Z
2022-02-17T12:20:45.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . N U M E R I C S . A U X -- -- -- -- S p e c -- -- (Ada Cert Math Version) -- -- -- -- Copyright (C) 1992-2015, 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 a-numaux.ads package Ada.Numerics.Aux is pragma Pure; end Ada.Numerics.Aux;
67.894737
78
0.315504
1e48d95063283ff5dcbbbf3e8b190e8732e8c56d
2,541
adb
Ada
tests/zmq-tests-testsuits-test_all.adb
persan/zeromq-Ada
651ca44cce831c2d717338eab65a60fbfca7ec44
[ "MIT" ]
33
2015-01-16T13:42:55.000Z
2021-11-30T21:28:50.000Z
tests/zmq-tests-testsuits-test_all.adb
persan/zeromq-Ada
651ca44cce831c2d717338eab65a60fbfca7ec44
[ "MIT" ]
6
2016-03-23T01:26:36.000Z
2021-05-13T04:24:53.000Z
tests/zmq-tests-testsuits-test_all.adb
persan/zeromq-Ada
651ca44cce831c2d717338eab65a60fbfca7ec44
[ "MIT" ]
5
2016-03-09T20:20:09.000Z
2020-06-17T06:59:39.000Z
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, [email protected] -- -- -- -- 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. -- ------------------------------------------------------------------------------- -- Import tests and sub-suites to run with ZMQ.Tests.TestCases.Test_Pubsub; with ZMQ.Tests.TestCases.Test_REQRESP; package body ZMQ.Tests.Testsuits.Test_All is use AUnit.Test_Suites; -- Statically allocate test suite: Result : aliased Test_Suite; -- Statically allocate test cases: Test_2 : aliased TestCases.Test_Pubsub.Test_Case; Test_3 : aliased TestCases.Test_REQRESP.Test_Case; ----------- -- Suite -- ----------- function Suite return AUnit.Test_Suites.Access_Test_Suite is begin Add_Test (Result'Access, Test_2'Access); Add_Test (Result'Access, Test_3'Access); return Result'Access; end Suite; end ZMQ.Tests.TestSuits.Test_All;
47.943396
79
0.534829
8bcde28c5332cd0893f95efe88c102bc1f1cc170
3,431
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1009f.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/cd/cd1009f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1009f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- CD1009F.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: -- CHECK THAT A 'SIZE' SPECIFICATION MAY BE GIVEN IN THE VISIBLE -- OR PRIVATE PART OF A PACKAGE FOR A TWO-DIMENSIONAL ARRAY TYPE -- DECLARED IN THE VISIBLE PART OF THE SAME PACKAGE. -- HISTORY: -- PWB 03/25/89 MODIFIED METHOD OF CHECKING OBJECT SIZE AGAINST -- TYPE SIZE; CHANGED EXTENSION FROM '.ADA' TO '.DEP'. -- VCL 10/07/87 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE CD1009F IS BEGIN TEST ("CD1009F", "A 'SIZE' CLAUSE MAY BE GIVEN IN THE VISIBLE " & "OR PRIVATE PART OF A PACKAGE FOR A " & "TWO-DIMENSIONAL ARRAY TYPE DECLARED IN THE " & "VISIBLE PART OF THE SAME PACKAGE"); DECLARE PACKAGE PACK IS SPECIFIED_SIZE : CONSTANT := INTEGER'SIZE * 25; TYPE CHECK_TYPE_1 IS ARRAY (1 .. 5, 1 .. 5) OF INTEGER; FOR CHECK_TYPE_1'SIZE USE SPECIFIED_SIZE; X : CHECK_TYPE_1 := ( OTHERS => ( OTHERS => IDENT_INT(1) ) ); TYPE CHECK_TYPE_2 IS ARRAY (1 .. 5, 1 .. 5) OF INTEGER; PRIVATE FOR CHECK_TYPE_2'SIZE USE SPECIFIED_SIZE; END PACK; USE PACK; Y : CHECK_TYPE_2 := ( OTHERS => ( OTHERS => IDENT_INT(5) ) ); BEGIN IF CHECK_TYPE_1'SIZE /= SPECIFIED_SIZE THEN FAILED ("CHECK_TYPE_1'SIZE IS INCORRECT"); END IF; IF X'SIZE < SPECIFIED_SIZE THEN FAILED ("OBJECT SIZE TOO SMALL -- CHECK_TYPE_1. " & "REPRESENTATIVE VALUE IS" & INTEGER'IMAGE( X( IDENT_INT(1), IDENT_INT(2) ) ) ); END IF; IF CHECK_TYPE_2'SIZE /= SPECIFIED_SIZE THEN FAILED ("CHECK_TYPE_2'SIZE IS INCORRECT"); END IF; IF Y'SIZE < SPECIFIED_SIZE THEN FAILED ("OBJECT SIZE TOO SMALL -- CHECK_TYPE_2. " & INTEGER'IMAGE( Y( IDENT_INT(1), IDENT_INT(2) ) ) ); END IF; END; RESULT; END CD1009F;
40.845238
79
0.5768
034033f80eb46a9cf44fc8bfc8e208afbb6a6263
19,901
adb
Ada
arch/ARM/STM32/driversL4x3/stm32-dac.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/STM32/driversL4x6/stm32-dac.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/STM32/driversL4x6/stm32-dac.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, 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 file is based on: -- -- -- -- @file stm32f4xx_hal_dac.c and stm32f4xx_hal_dac_ex.c -- -- @author MCD Application Team -- -- @version V1.3.1 -- -- @date 25-March-2015 -- -- @brief Header file of DAC HAL module. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ with Ada.Unchecked_Conversion; with STM32_SVD.DAC; use STM32_SVD.DAC; package body STM32.DAC is ------------ -- Enable -- ------------ procedure Enable (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.MCR.MODE1 := 0; -- conn 2 pin, buff enabled This.CR.EN1 := True; when Channel_2 => This.MCR.MODE2 := 0; -- conn 2 pin, buff enabled This.CR.EN2 := True; end case; end Enable; ------------- -- Disable -- ------------- procedure Disable (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.CR.EN1 := False; when Channel_2 => This.CR.EN2 := False; end case; end Disable; ------------- -- Enabled -- ------------- function Enabled (This : Digital_To_Analog_Converter; Channel : DAC_Channel) return Boolean is begin case Channel is when Channel_1 => return This.CR.EN1; when Channel_2 => return This.CR.EN2; end case; end Enabled; ---------------- -- Set_Output -- ---------------- procedure Set_Output (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel; Value : UInt32; Resolution : DAC_Resolution; Alignment : Data_Alignment) is begin case Channel is when Channel_1 => case Resolution is when DAC_Resolution_12_Bits => case Alignment is when Left_Aligned => This.DHR12L1.DACC1DHR := UInt12 (Value and Max_12bit_Resolution); when Right_Aligned => This.DHR12R1.DACC1DHR := UInt12 (Value and Max_12bit_Resolution); end case; when DAC_Resolution_8_Bits => This.DHR8R1.DACC1DHR := UInt8 (Value and Max_8bit_Resolution); end case; when Channel_2 => case Resolution is when DAC_Resolution_12_Bits => case Alignment is when Left_Aligned => This.DHR12L2.DACC2DHR := UInt12 (Value and Max_12bit_Resolution); when Right_Aligned => This.DHR12R2.DACC2DHR := UInt12 (Value and Max_12bit_Resolution); end case; when DAC_Resolution_8_Bits => This.DHR8R2.DACC2DHR := UInt8 (Value and Max_8bit_Resolution); end case; end case; end Set_Output; ------------------------------------ -- Trigger_Conversion_By_Software -- ------------------------------------ procedure Trigger_Conversion_By_Software (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.SWTRIGR.SWTRIG.Arr (1) := True; -- cleared by hardware when Channel_2 => This.SWTRIGR.SWTRIG.Arr (2) := True; -- cleared by hardware end case; end Trigger_Conversion_By_Software; ------------------------------------ -- Trigger_Conversion_By_Software -- ------------------------------------ procedure Trigger_Conversion_By_Software (This : in out Digital_To_Analog_Converter) is begin This.SWTRIGR.SWTRIG.Arr (1) := True; -- cleared by hardware This.SWTRIGR.SWTRIG.Arr (2) := True; -- cleared by hardware end Trigger_Conversion_By_Software; ---------------------------- -- Converted_Output_Value -- ---------------------------- function Converted_Output_Value (This : Digital_To_Analog_Converter; Channel : DAC_Channel) return UInt32 is begin case Channel is when Channel_1 => return UInt32 (This.DOR1.DACC1DOR); when Channel_2 => return UInt32 (This.DOR2.DACC2DOR); end case; end Converted_Output_Value; ------------------------------ -- Set_Dual_Output_Voltages -- ------------------------------ procedure Set_Dual_Output_Voltages (This : in out Digital_To_Analog_Converter; Channel_1_Value : UInt32; Channel_2_Value : UInt32; Resolution : DAC_Resolution; Alignment : Data_Alignment) is begin case Resolution is when DAC_Resolution_12_Bits => case Alignment is when Left_Aligned => This.DHR12LD.DACC1DHR := UInt12 (Channel_1_Value and Max_12bit_Resolution); This.DHR12LD.DACC2DHR := UInt12 (Channel_2_Value and Max_12bit_Resolution); when Right_Aligned => This.DHR12RD.DACC1DHR := UInt12 (Channel_1_Value and Max_12bit_Resolution); This.DHR12RD.DACC2DHR := UInt12 (Channel_2_Value and Max_12bit_Resolution); end case; when DAC_Resolution_8_Bits => This.DHR8RD.DACC1DHR := UInt8 (Channel_1_Value and Max_8bit_Resolution); This.DHR8RD.DACC2DHR := UInt8 (Channel_2_Value and Max_8bit_Resolution); end case; end Set_Dual_Output_Voltages; --------------------------------- -- Converted_Dual_Output_Value -- --------------------------------- function Converted_Dual_Output_Value (This : Digital_To_Analog_Converter) return Dual_Channel_Output is Result : Dual_Channel_Output; begin Result.Channel_1_Data := UInt16 (This.DOR1.DACC1DOR); Result.Channel_2_Data := UInt16 (This.DOR2.DACC2DOR); return Result; end Converted_Dual_Output_Value; -------------------- -- Select_Trigger -- -------------------- procedure Select_Trigger (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel; Trigger : External_Event_Trigger_Selection) is begin case Channel is when Channel_1 => This.CR.TSEL1 := External_Event_Trigger_Selection'Enum_Rep (Trigger); when Channel_2 => This.CR.TSEL2 := External_Event_Trigger_Selection'Enum_Rep (Trigger); end case; end Select_Trigger; ----------------------- -- Trigger_Selection -- ----------------------- function Trigger_Selection (This : Digital_To_Analog_Converter; Channel : DAC_Channel) return External_Event_Trigger_Selection is begin case Channel is when Channel_1 => return External_Event_Trigger_Selection'Val (This.CR.TSEL1); when Channel_2 => return External_Event_Trigger_Selection'Val (This.CR.TSEL2); end case; end Trigger_Selection; -------------------- -- Enable_Trigger -- -------------------- procedure Enable_Trigger (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.CR.TEN1 := True; when Channel_2 => This.CR.TEN2 := True; end case; end Enable_Trigger; --------------------- -- Disable_Trigger -- --------------------- procedure Disable_Trigger (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.CR.TEN1 := False; when Channel_2 => This.CR.TEN2 := False; end case; end Disable_Trigger; --------------------- -- Trigger_Enabled -- --------------------- function Trigger_Enabled (This : Digital_To_Analog_Converter; Channel : DAC_Channel) return Boolean is begin case Channel is when Channel_1 => return This.CR.TEN1; when Channel_2 => return This.CR.TEN2; end case; end Trigger_Enabled; ---------------- -- Enable_DMA -- ---------------- procedure Enable_DMA (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.CR.DMAEN1 := True; when Channel_2 => This.CR.DMAEN2 := True; end case; end Enable_DMA; ----------------- -- Disable_DMA -- ----------------- procedure Disable_DMA (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.CR.DMAEN1 := False; when Channel_2 => This.CR.DMAEN2 := False; end case; end Disable_DMA; ----------------- -- DMA_Enabled -- ----------------- function DMA_Enabled (This : Digital_To_Analog_Converter; Channel : DAC_Channel) return Boolean is begin case Channel is when Channel_1 => return This.CR.DMAEN1; when Channel_2 => return This.CR.DMAEN2; end case; end DMA_Enabled; ------------ -- Status -- ------------ function Status (This : Digital_To_Analog_Converter; Flag : DAC_Status_Flag) return Boolean is begin case Flag is when DMA_Underrun_Channel_1 => return This.SR.DMAUDR1; when DMA_Underrun_Channel_2 => return This.SR.DMAUDR2; end case; end Status; ------------------ -- Clear_Status -- ------------------ procedure Clear_Status (This : in out Digital_To_Analog_Converter; Flag : DAC_Status_Flag) is begin case Flag is when DMA_Underrun_Channel_1 => This.SR.DMAUDR1 := True; -- set to 1 to clear when DMA_Underrun_Channel_2 => This.SR.DMAUDR2 := True; -- set to 1 to clear end case; end Clear_Status; ----------------------- -- Enable_Interrupts -- ----------------------- procedure Enable_Interrupts (This : in out Digital_To_Analog_Converter; Source : DAC_Interrupts) is begin case Source is when DMA_Underrun_Channel_1 => This.CR.DMAUDRIE1 := True; when DMA_Underrun_Channel_2 => This.CR.DMAUDRIE2 := True; end case; end Enable_Interrupts; ------------------------ -- Disable_Interrupts -- ------------------------ procedure Disable_Interrupts (This : in out Digital_To_Analog_Converter; Source : DAC_Interrupts) is begin case Source is when DMA_Underrun_Channel_1 => This.CR.DMAUDRIE1 := False; when DMA_Underrun_Channel_2 => This.CR.DMAUDRIE2 := False; end case; end Disable_Interrupts; ----------------------- -- Interrupt_Enabled -- ----------------------- function Interrupt_Enabled (This : Digital_To_Analog_Converter; Source : DAC_Interrupts) return Boolean is begin case Source is when DMA_Underrun_Channel_1 => return This.CR.DMAUDRIE1; when DMA_Underrun_Channel_2 => return This.CR.DMAUDRIE2; end case; end Interrupt_Enabled; ---------------------- -- Interrupt_Source -- ---------------------- function Interrupt_Source (This : Digital_To_Analog_Converter) return DAC_Interrupts is begin if This.CR.DMAUDRIE1 then return DMA_Underrun_Channel_1; else return DMA_Underrun_Channel_2; end if; end Interrupt_Source; ----------------------------- -- Clear_Interrupt_Pending -- ----------------------------- procedure Clear_Interrupt_Pending (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel) is begin case Channel is when Channel_1 => This.SR.DMAUDR1 := False; when Channel_2 => This.SR.DMAUDR2 := False; end case; end Clear_Interrupt_Pending; ---------------------------- -- Select_Wave_Generation -- ---------------------------- procedure Select_Wave_Generation (This : in out Digital_To_Analog_Converter; Channel : DAC_Channel; Selection : Wave_Generation) is function As_UInt4 is new Ada.Unchecked_Conversion (Source => Noise_Wave_Mask_Selection, Target => UInt4); function As_UInt4 is new Ada.Unchecked_Conversion (Source => Triangle_Wave_Amplitude_Selection, Target => UInt4); begin case Channel is when Channel_1 => This.CR.WAVE1 := Wave_Generation_Selection'Enum_Rep (Selection.Kind); when Channel_2 => This.CR.WAVE2 := Wave_Generation_Selection'Enum_Rep (Selection.Kind); end case; case Selection.Kind is when No_Wave_Generation => null; when Noise_Wave => case Channel is when Channel_1 => This.CR.MAMP1 := As_UInt4 (Selection.Mask); when Channel_2 => This.CR.MAMP2 := As_UInt4 (Selection.Mask); end case; when Triangle_Wave => case Channel is when Channel_1 => This.CR.MAMP1 := As_UInt4 (Selection.Amplitude); when Channel_2 => This.CR.MAMP2 := As_UInt4 (Selection.Amplitude); end case; end case; end Select_Wave_Generation; ------------------------------ -- Selected_Wave_Generation -- ------------------------------ function Selected_Wave_Generation (This : Digital_To_Analog_Converter; Channel : DAC_Channel) return Wave_Generation is Kind : Wave_Generation_Selection; function As_Mask is new Ada.Unchecked_Conversion (Target => Noise_Wave_Mask_Selection, Source => UInt4); function As_Amplitude is new Ada.Unchecked_Conversion (Target => Triangle_Wave_Amplitude_Selection, Source => UInt4); begin case Channel is when Channel_1 => Kind := Wave_Generation_Selection'Val (This.CR.WAVE1); when Channel_2 => Kind := Wave_Generation_Selection'Val (This.CR.WAVE2); end case; declare Result : Wave_Generation (Kind); begin case Kind is when No_Wave_Generation => null; when Noise_Wave => case Channel is when Channel_1 => Result.Mask := As_Mask (This.CR.MAMP1); when Channel_2 => Result.Mask := As_Mask (This.CR.MAMP2); end case; when Triangle_Wave => case Channel is when Channel_1 => Result.Amplitude := As_Amplitude (This.CR.MAMP1); when Channel_2 => Result.Amplitude := As_Amplitude (This.CR.MAMP2); end case; end case; return Result; end; end Selected_Wave_Generation; ------------------ -- Data_Address -- ------------------ function Data_Address (This : Digital_To_Analog_Converter; Channel : DAC_Channel; Resolution : DAC_Resolution; Alignment : Data_Alignment) return Address is Result : Address; begin case Channel is when Channel_1 => case Resolution is when DAC_Resolution_12_Bits => case Alignment is when Left_Aligned => Result := This.DHR12L1'Address; when Right_Aligned => Result := This.DHR12R1'Address; end case; when DAC_Resolution_8_Bits => Result := This.DHR8R1'Address; end case; when Channel_2 => case Resolution is when DAC_Resolution_12_Bits => case Alignment is when Left_Aligned => Result := This.DHR12L2'Address; when Right_Aligned => Result := This.DHR12R2'Address; end case; when DAC_Resolution_8_Bits => Result := This.DHR8R2'Address; end case; end case; return Result; end Data_Address; end STM32.DAC;
30.429664
80
0.514195
1ef6103adc51dd682bdf05b6197ecf6fa0df7282
604
ada
Ada
Task/Numeric-error-propagation/Ada/numeric-error-propagation-3.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Numeric-error-propagation/Ada/numeric-error-propagation-3.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Numeric-error-propagation/Ada/numeric-error-propagation-3.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
with Approximation, Ada.Numerics.Elementary_Functions; procedure Test_Approximations is package A is new Approximation(Float, Ada.Numerics.Elementary_Functions.Sqrt, Ada.Numerics.Elementary_Functions."**"); use type A.Number; X1: A.Number := A.Approx(100.0, 1.1); Y1: A.Number := A.Approx( 50.0, 1.2); X2: A.Number := A.Approx(200.0, 2.2); Y2: A.Number := A.Approx(100.0, 2.3); begin A.Put_Line("Distance:", ((X1-X2)**2 + (Y1 - Y2)**2)**0.5, Sigma_Fore => 1); end Test_Approximations;
33.555556
74
0.567881
03e163191a3c716b8d867e65275a8acb362f6420
6,552
ads
Ada
arch/ARM/STM32/svd/stm32l4x6/stm32_svd.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/STM32/svd/stm32l4x6/stm32_svd.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/STM32/svd/stm32l4x6/stm32_svd.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
-- This spec has been automatically generated from STM32L4x6.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- STM32L4x6 package STM32_SVD is pragma Preelaborate; -------------------- -- Base addresses -- -------------------- DAC_Base : constant System.Address := System'To_Address (16#40007400#); DMA1_Base : constant System.Address := System'To_Address (16#40020000#); DMA2_Base : constant System.Address := System'To_Address (16#40020400#); CRC_Base : constant System.Address := System'To_Address (16#40023000#); LCD_Base : constant System.Address := System'To_Address (16#40002400#); TSC_Base : constant System.Address := System'To_Address (16#40024000#); IWDG_Base : constant System.Address := System'To_Address (16#40003000#); WWDG_Base : constant System.Address := System'To_Address (16#40002C00#); COMP_Base : constant System.Address := System'To_Address (16#40010200#); FIREWALL_Base : constant System.Address := System'To_Address (16#40011C00#); I2C1_Base : constant System.Address := System'To_Address (16#40005400#); I2C2_Base : constant System.Address := System'To_Address (16#40005800#); I2C3_Base : constant System.Address := System'To_Address (16#40005C00#); I2C4_Base : constant System.Address := System'To_Address (16#40008400#); FLASH_Base : constant System.Address := System'To_Address (16#40022000#); DBGMCU_Base : constant System.Address := System'To_Address (16#E0042000#); QUADSPI_Base : constant System.Address := System'To_Address (16#A0001000#); RCC_Base : constant System.Address := System'To_Address (16#40021000#); PWR_Base : constant System.Address := System'To_Address (16#40007000#); SYSCFG_Base : constant System.Address := System'To_Address (16#40010000#); DFSDM1_Base : constant System.Address := System'To_Address (16#40016000#); RNG_Base : constant System.Address := System'To_Address (16#50060800#); AES_Base : constant System.Address := System'To_Address (16#50060000#); ADC_Base : constant System.Address := System'To_Address (16#50040000#); ADC_Common_Base : constant System.Address := System'To_Address (16#50040300#); GPIOA_Base : constant System.Address := System'To_Address (16#48000000#); GPIOB_Base : constant System.Address := System'To_Address (16#48000400#); GPIOC_Base : constant System.Address := System'To_Address (16#48000800#); GPIOD_Base : constant System.Address := System'To_Address (16#48000C00#); GPIOE_Base : constant System.Address := System'To_Address (16#48001000#); GPIOF_Base : constant System.Address := System'To_Address (16#48001400#); GPIOG_Base : constant System.Address := System'To_Address (16#48001800#); GPIOH_Base : constant System.Address := System'To_Address (16#48001C00#); GPIOI_Base : constant System.Address := System'To_Address (16#48002000#); SAI1_Base : constant System.Address := System'To_Address (16#40015400#); SAI2_Base : constant System.Address := System'To_Address (16#40015800#); TIM2_Base : constant System.Address := System'To_Address (16#40000000#); TIM3_Base : constant System.Address := System'To_Address (16#40000400#); TIM4_Base : constant System.Address := System'To_Address (16#40000800#); TIM5_Base : constant System.Address := System'To_Address (16#40000C00#); TIM15_Base : constant System.Address := System'To_Address (16#40014000#); TIM16_Base : constant System.Address := System'To_Address (16#40014400#); TIM17_Base : constant System.Address := System'To_Address (16#40014800#); TIM1_Base : constant System.Address := System'To_Address (16#40012C00#); TIM8_Base : constant System.Address := System'To_Address (16#40013400#); TIM6_Base : constant System.Address := System'To_Address (16#40001000#); TIM7_Base : constant System.Address := System'To_Address (16#40001400#); LPTIM1_Base : constant System.Address := System'To_Address (16#40007C00#); LPTIM2_Base : constant System.Address := System'To_Address (16#40009400#); USART1_Base : constant System.Address := System'To_Address (16#40013800#); USART2_Base : constant System.Address := System'To_Address (16#40004400#); USART3_Base : constant System.Address := System'To_Address (16#40004800#); UART4_Base : constant System.Address := System'To_Address (16#40004C00#); UART5_Base : constant System.Address := System'To_Address (16#40005000#); LPUART1_Base : constant System.Address := System'To_Address (16#40008000#); SPI1_Base : constant System.Address := System'To_Address (16#40013000#); SPI2_Base : constant System.Address := System'To_Address (16#40003800#); SPI3_Base : constant System.Address := System'To_Address (16#40003C00#); SDMMC1_Base : constant System.Address := System'To_Address (16#40012800#); EXTI_Base : constant System.Address := System'To_Address (16#40010400#); VREFBUF_Base : constant System.Address := System'To_Address (16#40010030#); CAN1_Base : constant System.Address := System'To_Address (16#40006400#); CAN2_Base : constant System.Address := System'To_Address (16#40006800#); RTC_Base : constant System.Address := System'To_Address (16#40002800#); OTG_FS_GLOBAL_Base : constant System.Address := System'To_Address (16#50000000#); OTG_FS_HOST_Base : constant System.Address := System'To_Address (16#50000400#); OTG_FS_DEVICE_Base : constant System.Address := System'To_Address (16#50000800#); OTG_FS_PWRCLK_Base : constant System.Address := System'To_Address (16#50000E00#); SWPMI1_Base : constant System.Address := System'To_Address (16#40008800#); OPAMP_Base : constant System.Address := System'To_Address (16#40007800#); FMC_Base : constant System.Address := System'To_Address (16#A0000000#); NVIC_Base : constant System.Address := System'To_Address (16#E000E000#); CRS_Base : constant System.Address := System'To_Address (16#40006000#); DCMI_Base : constant System.Address := System'To_Address (16#50050000#); HASH_Base : constant System.Address := System'To_Address (16#50060400#); DMA2D_Base : constant System.Address := System'To_Address (16#4002B000#); end STM32_SVD;
38.315789
65
0.692766
03f05aff777410486042961bacb6bca5a1db43a5
209
adb
Ada
1-base/lace/source/events/interface/lace-response.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
1-base/lace/source/events/interface/lace-response.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
1-base/lace/source/events/interface/lace-response.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
with ada.Tags; package body lace.Response is function Name (Self : in Item) return String is begin return ada.Tags.expanded_Name (Item'Class (Self)'Tag); end Name; end lace.Response;
14.928571
60
0.674641
9ae0311d8ec163fc48beb282a5d2ef9dd9cfc618
1,693
ads
Ada
tier-1/xcb/source/thin/xcb-xcb_glx_are_textures_resident_request_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_glx_are_textures_resident_request_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_glx_are_textures_resident_request_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
null
null
null
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_are_textures_resident_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; context_tag : aliased xcb.xcb_glx_context_tag_t; n : aliased Interfaces.Integer_32; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_glx_are_textures_resident_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_are_textures_resident_request_t.Item, Element_Array => xcb.xcb_glx_are_textures_resident_request_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_glx_are_textures_resident_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_are_textures_resident_request_t.Pointer, Element_Array => xcb.xcb_glx_are_textures_resident_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_are_textures_resident_request_t;
28.216667
78
0.683993
8bf930a3be815801c7c57e1ca45a5e554e25164d
16,852
adb
Ada
bb-runtimes/arm/stm32l/setup_pll.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/stm32l/setup_pll.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/arm/stm32l/setup_pll.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- Copyright (C) 2012-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. -- -- -- -- 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 procedure is tailored for the STM32L5xx boards. It configures the -- system for the maximum clock frequency of 110MHz. pragma Suppress (All_Checks); -- The procedure is called before the Ada runtime is initialized, so suppress -- any runtime checks. with Interfaces.STM32; use Interfaces, Interfaces.STM32; with Interfaces.STM32.Flash; use Interfaces.STM32.Flash; with Interfaces.STM32.RCC; use Interfaces.STM32.RCC; with Interfaces.STM32.PWR; use Interfaces.STM32.PWR; with System.BB.MCU_Parameters; with System.BB.Board_Parameters; use System.BB.Board_Parameters; with System.STM32; use System.STM32; procedure Setup_PLL is -- PLL parameters. STMCubeMX can be used to calculate these parameters for -- a given clock source and the desired output frequency. Here the PLLCLK -- and PPLQ is configured to 110 MHz while PLLP is configured 31.4 MHz PLLM : constant := 12; PLLN : constant := 55; PLLP : constant := 7; PLLQ : constant := 2; PLLR : constant := 2; SysClock_From_PLL : constant := SYSCLK_Source'Enum_Rep (SYSCLK_SRC_PLL); RCC_PLL_Source_MSI : constant UInt2 := PLL_Source'Enum_Rep (PLL_SRC_MSI); procedure Configure_RCC_Clocks; -- Initialize the HCLK, SYSCLK, AHB and APB bus clocks. SYSCLK source is -- the PLL. AHB and APB bus clocks are at max speed. procedure Reset_Clocks; procedure Enable_PWR_Clock; procedure Disable_Backup_Domain_Protection; procedure Configure_RCC_LSE_Drive_Low; -- Set the External Low Speed oscillator (LSE) drive to Low procedure Enable_LSE; -- When configured in PLL-mode, the MSI automatically calibrates itself -- via the LSE to better than +/- 0.25% accuracy. We enable the LSE -- accordingly. See RM0438 Rev 6 pg 333/2194, section 9.3.3 "MSI -- clock" LSESYSEN is disabled. procedure Configure_HSI; -- Enable the HSI and apply the calibration default procedure Configure_MSI_To_Max_Speed; -- Set up the multispeed internal oscillator to 48MHz so that it can feed -- the main PLL to run the system at the maximum speed of 110 MHz. Sets the -- FLASH latency from the contant declared in BB.Board_Parameters. procedure Configure_PLL_From_MSI; -- Set up the PLL driven by the MSI internal oscillator to run the system -- at the maximum speed of 110 MHz procedure Enable_MSI_PLL_Mode; -- Enable MSI Auto calibration procedure Select_Output_Voltage_Scale0; -- Configure the main internal regulator output voltage for high -- performance procedure Configure_SYSCLK_From_PLL; -- Set the system clock source to the PLL procedure Configure_PCLK1_PCLK2; -- Configure both AHB and APB clocks to run at max speed procedure Await_PLL_Configuration_Complete; procedure Await_Voltage_Supply_Scaling_Complete; -------------------------- -- Configure_RCC_Clocks -- -------------------------- procedure Configure_RCC_Clocks is begin -- To correctly read data from FLASH memory, the number of wait states -- (LATENCY) must be correctly programmed according to the frequency of -- the CPU clock (HCLK) and the supply voltage of the device. -- Increase the number of wait states if higher CPU frequency if FLASH_Latency > FLASH_Periph.ACR.LATENCY then FLASH_Periph.ACR.LATENCY := FLASH_Latency; pragma Assert (FLASH_Periph.ACR.LATENCY = FLASH_Latency); end if; -- The PLL must be ready before we can configure the system clock if not RCC_Periph.CR.PLLRDY then raise Program_Error; end if; if Computed_SYSCLK_From_PLL > 80_000_000 then -- Transition state management is required when selecting the PLL as -- SYSCLK source with a target frequency above 80Mhz. See RM0438 Rev -- 6, pg 336/2194, section 9.3.9 "System clock (SYSCLK) selection". RCC_Periph.CFGR.HPRE := AHB_Prescalers'Enum_Rep (RCC_SYSCLK_DIV2); end if; Configure_SYSCLK_From_PLL; -- Configure HCLK prescalar for max speed (110MHz) RCC_Periph.CFGR.HPRE := AHB_Prescalers'Enum_Rep (RCC_SYSCLK_DIV1); -- Note that Configure_HCLK happens to set the HPRE back to -- RCC_SYSCLK_DIV1 in this configuration, thus ending the -- state transition management section Configure_PCLK1_PCLK2; end Configure_RCC_Clocks; ------------------------------- -- Configure_SYSCLK_From_PLL -- ------------------------------- procedure Configure_SYSCLK_From_PLL is begin RCC_Periph.CFGR.SW := SysClock_From_PLL; -- Wait for clock source to be as requested loop exit when RCC_Periph.CFGR.SWS = SysClock_From_PLL; end loop; end Configure_SYSCLK_From_PLL; --------------------------- -- Configure_PCLK1_PCLK2 -- --------------------------- procedure Configure_PCLK1_PCLK2 is begin -- In this specific BSP configuration, both APB1CLKDivider and -- APB2CLKDivider are RCC_HCLK_DIV1. RCC_Periph.CFGR.PPRE.Arr (1) := APB_Prescalers'Enum_Rep (RCC_HCLK_DIV1); RCC_Periph.CFGR.PPRE.Arr (2) := APB_Prescalers'Enum_Rep (RCC_HCLK_DIV1); end Configure_PCLK1_PCLK2; --------------------------------- -- Configure_RCC_LSE_Drive_Low -- --------------------------------- procedure Configure_RCC_LSE_Drive_Low is RCC_LSE_Drive_Low : constant UInt2 := 0; begin Disable_Backup_Domain_Protection; -- Configure the External Low Speed oscillator (LSE) drive RCC_Periph.BDCR.LSEDRV := RCC_LSE_Drive_Low; end Configure_RCC_LSE_Drive_Low; ---------------------------- -- Configure_PLL_From_MSI -- ---------------------------- procedure Configure_PLL_From_MSI is begin -- see RM0438 Rev 6, pg 334/2194 , section 9.3.5 PLL for the steps -- required to configure the PLL -- Disable the main PLL before configuring it RCC_Periph.CR.PLLON := False; loop exit when not RCC_Periph.CR.PLLRDY; end loop; RCC_Periph.PLLCFGR := (PLLM => PLLM - 1, -- handle the encoding PLLN => PLLN, PLLPDIV => PLLP, PLLQ => PLLQ / 2 - 1, -- handle the encoding PLLR => PLLR / 2 - 1, -- handle the encoding PLLSRC => RCC_PLL_Source_MSI, others => <>); -- Enable the main PLL RCC_Periph.CR.PLLON := True; -- Enable PLL System Clock output RCC_Periph.PLLCFGR.PLLREN := True; -- Wait until the PLL is ready loop exit when RCC_Periph.CR.PLLRDY; end loop; end Configure_PLL_From_MSI; ------------------------- -- Enable_MSI_PLL_Mode -- ------------------------- procedure Enable_MSI_PLL_Mode is begin -- MSIPLLEN must be enabled after LSE is enabled (LSEON enabled) and -- ready (LSERDY set by hardware). There is a hardware protection to -- avoid enabling MSIPLLEN if LSE is not ready. This bit is cleared by -- hardware when LSE is disabled (LSEON = 0) or when the Clock Security -- System on LSE detects a LSE failure (refer to RCC_CSR register in -- RM0438 Rev 6 pg 350/2194). if RCC_Periph.BDCR.LSECSSD -- failure detected on LSE or else not RCC_Periph.BDCR.LSEON or else not RCC_Periph.BDCR.LSERDY then raise Program_Error; end if; RCC_Periph.CR.MSIPLLEN := True; end Enable_MSI_PLL_Mode; -------------------------------- -- Configure_MSI_To_Max_Speed -- -------------------------------- procedure Configure_MSI_To_Max_Speed is -- RM0438, section 9.3 "Clocks" says that the MSI is used as system -- clock source after startup from reset, configured at 4 MHz. We -- reconfigure it to 48MHz. MSI_Range_11 : constant := 2#1011#; -- 48 MHz. See RM0438 Rev 6, page 349/2194 MSI_Range_From_RCC_CR : constant Boolean := True; -- MSI Range is provided by MSIRANGE[3:0] in the RCC_CR register, as per -- RM0438 Rev 6 pg 349/2194. It can also be set by another register but -- not to 48MHz. RCC_MSI_Calibration_Default : constant Byte := 0; begin -- Note: Warning: MSIRANGE can be modified when MSI is OFF (MSION=0) -- or when MSI is ready (MSIRDY=1). MSIRANGE must NOT be modified when -- MSI is ON and NOT ready (MSION=1 and MSIRDY=0). We document the -- requirement with an assertion. pragma Assert (not RCC_Periph.CR.MSION or else RCC_Periph.CR.MSIRDY); -- To correctly read data from FLASH memory, the number of wait states -- (latency) must be correctly programmed according to the frequency of -- the CPU clock and the supply voltage of the device. -- -- See RM0438 Rev 6, pg 180/2194, "Increasing the CPU frequency" for the -- steps required -- -- We are executing at powerup, at which point the MSI clock is at 4MHz -- with zero wait states, and we are setting it to 48MHz. -- -- Therefore, we first increase the number of wait states, if necessary: FLASH_Periph.ACR.LATENCY := FLASH_Latency; -- Select the Multiple Speed oscillator (MSI) clock range RCC_Periph.CR.MSIRGSEL := MSI_Range_From_RCC_CR; RCC_Periph.CR.MSIRANGE := MSI_Range_11; -- Finally adjust the MSI calibration value RCC_Periph.ICSCR.MSITRIM := RCC_MSI_Calibration_Default; -- Check that the new number of wait states is taken into account. We -- document the requirement with an assertion. pragma Assert (FLASH_Periph.ACR.LATENCY = FLASH_Latency); end Configure_MSI_To_Max_Speed; -------------------------------------- -- Disable_Backup_Domain_Protection -- -------------------------------------- procedure Disable_Backup_Domain_Protection is -- Note that when the "Disable Backup domain write Protection" bit is -- set, access is enabled. begin PWR_Periph.CR1.DBP := True; -- Wait for protection to be disabled loop exit when PWR_Periph.CR1.DBP; end loop; end Disable_Backup_Domain_Protection; ---------------- -- Enable_LSE -- ---------------- procedure Enable_LSE is begin if not PWR_Periph.CR1.DBP then Disable_Backup_Domain_Protection; end if; RCC_Periph.BDCR.LSEON := True; loop exit when RCC_Periph.BDCR.LSERDY; end loop; RCC_Periph.BDCR.LSESYSEN := False; -- Wait until LSESYSRDY is cleared loop exit when not RCC_Periph.BDCR.LSESYSRDY; end loop; end Enable_LSE; ------------------- -- Configure_HSI -- ------------------- procedure Configure_HSI is RCC_HSICALIBRATION_DEFAULT : constant UInt7 := 40; begin -- Enable the Internal High Speed oscillator RCC_Periph.CR.HSION := True; -- Wait till HSI is ready loop exit when RCC_Periph.CR.HSIRDY; end loop; -- Adjust the Internal High Speed oscillator (HSI) calibration value RCC_Periph.ICSCR.HSITRIM := RCC_HSICALIBRATION_DEFAULT; end Configure_HSI; ------------------------------------------------- -- Configure_Internal_Regulator_Output_Voltage -- ------------------------------------------------- procedure Select_Output_Voltage_Scale0 is PWR_REGULATOR_VOLTAGE_SCALE0 : constant UInt2 := 0; -- Allow 110MHz. At power-on reset or a system reset, the main regulator -- voltage Range 2 is selected by default. The system clock is limited -- to 110 MHz in Range 0 mode, 80 MHz in Range 1 mode, 26 MHz in Range -- 2 mode, therefore we want Range 0. begin -- VOS shall not be changed in Low Power Mode, or if Low Power Mode is -- requested but not yet established. pragma Assert (PWR_Periph.SR1.SMPSHPRDY and -- High-power mode ready not PWR_Periph.CR4.SMPSLPEN); -- Low-power mode enabled PWR_Periph.CR1.VOS := PWR_REGULATOR_VOLTAGE_SCALE0; Await_VOSF_Cleared : declare At_Least_Once : Boolean := False; begin loop exit when At_Least_Once and then PWR_Periph.SR2.VOSF; At_Least_Once := True; end loop; end Await_VOSF_Cleared; end Select_Output_Voltage_Scale0; ------------------ -- Reset_Clocks -- ------------------ procedure Reset_Clocks is begin -- Switch on high speed internal clock RCC_Periph.CR.HSION := True; -- Reset CFGR register RCC_Periph.CFGR := (others => <>); -- Reset HSEON, CSSON and PLLON bits RCC_Periph.CR.HSEON := False; RCC_Periph.CR.CSSON := False; RCC_Periph.CR.PLLON := False; -- Reset PLL configuration register RCC_Periph.PLLCFGR := (others => <>); -- Reset HSE bypass bit RCC_Periph.CR.HSEBYP := False; -- Disable all interrupts RCC_Periph.CIER := (others => <>); end Reset_Clocks; ---------------------- -- Enable_PWR_Clock -- ---------------------- procedure Enable_PWR_Clock is Temp : Boolean with Volatile, Unreferenced; -- Ensure the compiler actually reads it begin RCC_Periph.APB1ENR1.PWREN := True; -- As per __HAL_RCC_PWR_CLK_ENABLE() Temp := RCC_Periph.APB1ENR1.PWREN; end Enable_PWR_Clock; -------------------------------------- -- Await_PLL_Configuration_Complete -- -------------------------------------- procedure Await_PLL_Configuration_Complete is begin loop exit when RCC_Periph.CFGR.SWS = SysClock_From_PLL; end loop; end Await_PLL_Configuration_Complete; ------------------------------------------- -- Await_Voltage_Supply_Scaling_Complete -- ------------------------------------------- procedure Await_Voltage_Supply_Scaling_Complete is begin loop exit when System.BB.MCU_Parameters.Is_PWR_Stabilized; end loop; end Await_Voltage_Supply_Scaling_Complete; begin Reset_Clocks; Enable_PWR_Clock; -- Reset the power interface RCC_Periph.APB1RSTR1.PWRRST := True; RCC_Periph.APB1RSTR1.PWRRST := False; Select_Output_Voltage_Scale0; Configure_RCC_LSE_Drive_Low; -- Configure the MSI, HSI, LSE, and PLL. The PLL is clocked from MSI, which -- is configured to run at 48 MHz. The PLL outputs PLLCLK and PPLQ are -- configured to 110 MHz while PLLP is configured 31.4 MHz. Configure_MSI_To_Max_Speed; Configure_HSI; Enable_LSE; Configure_PLL_From_MSI; Configure_RCC_Clocks; Enable_MSI_PLL_Mode; Await_PLL_Configuration_Complete; Await_Voltage_Supply_Scaling_Complete; end Setup_PLL;
33.704
79
0.608711
048cd75b5f3192b8ac6cafd6038d5801e30554e3
100
adb
Ada
examples/a/Ada.adb
abhi28082000/hello-worlds
430fdbe3127c141c94396f8d72bde048812fac23
[ "Unlicense" ]
81
2017-10-01T14:07:28.000Z
2021-12-20T15:47:33.000Z
examples/a/Ada.adb
abhi28082000/hello-worlds
430fdbe3127c141c94396f8d72bde048812fac23
[ "Unlicense" ]
333
2017-10-01T13:37:50.000Z
2021-05-27T21:48:55.000Z
examples/a/Ada.adb
abhi28082000/hello-worlds
430fdbe3127c141c94396f8d72bde048812fac23
[ "Unlicense" ]
739
2017-10-01T13:42:46.000Z
2021-12-24T11:39:49.000Z
with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put_Line ("Hello WORLD!"); end Hello;
20
34
0.74
38c33e54c4f074b7fa41105a403e20496479e54c
4,702
ads
Ada
source/amf/uml/amf-uml-directed_relationships.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-uml-directed_relationships.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-uml-directed_relationships.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 © 2011-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. ------------------------------------------------------------------------------ -- A directed relationship represents a relationship between a collection of -- source model elements and a collection of target model elements. ------------------------------------------------------------------------------ limited with AMF.UML.Elements.Collections; with AMF.UML.Relationships; package AMF.UML.Directed_Relationships is pragma Preelaborate; type UML_Directed_Relationship is limited interface and AMF.UML.Relationships.UML_Relationship; type UML_Directed_Relationship_Access is access all UML_Directed_Relationship'Class; for UML_Directed_Relationship_Access'Storage_Size use 0; not overriding function Get_Source (Self : not null access constant UML_Directed_Relationship) return AMF.UML.Elements.Collections.Set_Of_UML_Element is abstract; -- Getter of DirectedRelationship::source. -- -- Specifies the sources of the DirectedRelationship. not overriding function Get_Target (Self : not null access constant UML_Directed_Relationship) return AMF.UML.Elements.Collections.Set_Of_UML_Element is abstract; -- Getter of DirectedRelationship::target. -- -- Specifies the targets of the DirectedRelationship. end AMF.UML.Directed_Relationships;
60.282051
78
0.476393
1e9863d8d4e2f67fe8f9f3d5411e01a577575d19
30,879
ads
Ada
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_tag_tag_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_tag_tag_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_tag_tag_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; with glib.Values; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; with System; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_tag_tag_h is GST_TAG_MUSICBRAINZ_TRACKID : aliased constant String := "musicbrainz-trackid" & ASCII.NUL; -- gst/tag/tag.h:36 GST_TAG_MUSICBRAINZ_ARTISTID : aliased constant String := "musicbrainz-artistid" & ASCII.NUL; -- gst/tag/tag.h:42 GST_TAG_MUSICBRAINZ_ALBUMID : aliased constant String := "musicbrainz-albumid" & ASCII.NUL; -- gst/tag/tag.h:48 GST_TAG_MUSICBRAINZ_ALBUMARTISTID : aliased constant String := "musicbrainz-albumartistid" & ASCII.NUL; -- gst/tag/tag.h:54 GST_TAG_MUSICBRAINZ_TRMID : aliased constant String := "musicbrainz-trmid" & ASCII.NUL; -- gst/tag/tag.h:60 -- unsupported macro: GST_TAG_MUSICBRAINZ_SORTNAME GST_TAG_ARTIST_SORTNAME GST_TAG_CMML_STREAM : aliased constant String := "cmml-stream" & ASCII.NUL; -- gst/tag/tag.h:79 GST_TAG_CMML_HEAD : aliased constant String := "cmml-head" & ASCII.NUL; -- gst/tag/tag.h:86 GST_TAG_CMML_CLIP : aliased constant String := "cmml-clip" & ASCII.NUL; -- gst/tag/tag.h:92 GST_TAG_CDDA_CDDB_DISCID : aliased constant String := "discid" & ASCII.NUL; -- gst/tag/tag.h:101 GST_TAG_CDDA_CDDB_DISCID_FULL : aliased constant String := "discid-full" & ASCII.NUL; -- gst/tag/tag.h:108 GST_TAG_CDDA_MUSICBRAINZ_DISCID : aliased constant String := "musicbrainz-discid" & ASCII.NUL; -- gst/tag/tag.h:115 GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL : aliased constant String := "musicbrainz-discid-full" & ASCII.NUL; -- gst/tag/tag.h:122 GST_TAG_CAPTURING_SHUTTER_SPEED : aliased constant String := "capturing-shutter-speed" & ASCII.NUL; -- gst/tag/tag.h:131 GST_TAG_CAPTURING_FOCAL_RATIO : aliased constant String := "capturing-focal-ratio" & ASCII.NUL; -- gst/tag/tag.h:143 GST_TAG_CAPTURING_FOCAL_LENGTH : aliased constant String := "capturing-focal-length" & ASCII.NUL; -- gst/tag/tag.h:152 GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO : aliased constant String := "capturing-digital-zoom-ratio" & ASCII.NUL; -- gst/tag/tag.h:161 GST_TAG_CAPTURING_ISO_SPEED : aliased constant String := "capturing-iso-speed" & ASCII.NUL; -- gst/tag/tag.h:170 GST_TAG_CAPTURING_EXPOSURE_PROGRAM : aliased constant String := "capturing-exposure-program" & ASCII.NUL; -- gst/tag/tag.h:190 GST_TAG_CAPTURING_EXPOSURE_MODE : aliased constant String := "capturing-exposure-mode" & ASCII.NUL; -- gst/tag/tag.h:204 GST_TAG_CAPTURING_EXPOSURE_COMPENSATION : aliased constant String := "capturing-exposure-compensation" & ASCII.NUL; -- gst/tag/tag.h:213 GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE : aliased constant String := "capturing-scene-capture-type" & ASCII.NUL; -- gst/tag/tag.h:228 GST_TAG_CAPTURING_GAIN_ADJUSTMENT : aliased constant String := "capturing-gain-adjustment" & ASCII.NUL; -- gst/tag/tag.h:244 GST_TAG_CAPTURING_WHITE_BALANCE : aliased constant String := "capturing-white-balance" & ASCII.NUL; -- gst/tag/tag.h:263 GST_TAG_CAPTURING_CONTRAST : aliased constant String := "capturing-contrast" & ASCII.NUL; -- gst/tag/tag.h:277 GST_TAG_CAPTURING_SATURATION : aliased constant String := "capturing-saturation" & ASCII.NUL; -- gst/tag/tag.h:291 GST_TAG_CAPTURING_SHARPNESS : aliased constant String := "capturing-sharpness" & ASCII.NUL; -- gst/tag/tag.h:305 GST_TAG_CAPTURING_FLASH_FIRED : aliased constant String := "capturing-flash-fired" & ASCII.NUL; -- gst/tag/tag.h:317 GST_TAG_CAPTURING_FLASH_MODE : aliased constant String := "capturing-flash-mode" & ASCII.NUL; -- gst/tag/tag.h:331 GST_TAG_CAPTURING_METERING_MODE : aliased constant String := "capturing-metering-mode" & ASCII.NUL; -- gst/tag/tag.h:350 GST_TAG_CAPTURING_SOURCE : aliased constant String := "capturing-source" & ASCII.NUL; -- gst/tag/tag.h:366 GST_TAG_IMAGE_HORIZONTAL_PPI : aliased constant String := "image-horizontal-ppi" & ASCII.NUL; -- gst/tag/tag.h:375 GST_TAG_IMAGE_VERTICAL_PPI : aliased constant String := "image-vertical-ppi" & ASCII.NUL; -- gst/tag/tag.h:383 -- unsupported macro: GST_TYPE_TAG_IMAGE_TYPE (gst_tag_image_type_get_type ()) GST_TAG_ID3V2_HEADER_SIZE : constant := 10; -- gst/tag/tag.h:453 -- arg-macro: procedure gst_tag_get_language_code (lang_code) -- gst_tag_get_language_code_iso_639_1(lang_code) -- GStreamer -- * Copyright (C) 2003 Benjamin Otte <[email protected]> -- * Copyright (C) 2006-2011 Tim-Philipp Müller <tim centricular net> -- * -- * 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. -- -- Tag names --* -- * GST_TAG_MUSICBRAINZ_TRACKID -- * -- * MusicBrainz track ID -- --* -- * GST_TAG_MUSICBRAINZ_ARTISTID -- * -- * MusicBrainz artist ID -- --* -- * GST_TAG_MUSICBRAINZ_ALBUMID -- * -- * MusicBrainz album ID -- --* -- * GST_TAG_MUSICBRAINZ_ALBUMARTISTID -- * -- * MusicBrainz album artist ID -- --* -- * GST_TAG_MUSICBRAINZ_TRMID -- * -- * MusicBrainz track TRM ID -- -- FIXME 0.11: remove GST_TAG_MUSICBRAINZ_SORTNAME --* -- * GST_TAG_MUSICBRAINZ_SORTNAME -- * -- * MusicBrainz artist sort name -- * -- * Deprecated. Use GST_TAG_ARTIST_SORTNAME instead. -- --* -- * GST_TAG_CMML_STREAM -- * -- * Annodex CMML stream element tag -- --* -- * GST_TAG_CMML_HEAD -- * -- * Annodex CMML head element tag -- --* -- * GST_TAG_CMML_CLIP -- * -- * Annodex CMML clip element tag -- -- CDDA tags --* -- * GST_TAG_CDDA_CDDB_DISCID: -- * -- * CDDB disc id in its short form (e.g. 'aa063d0f') -- --* -- * GST_TAG_CDDA_CDDB_DISCID_FULL: -- * -- * CDDB disc id including all details -- --* -- * GST_TAG_CDDA_MUSICBRAINZ_DISCID: -- * -- * Musicbrainz disc id (e.g. 'ahg7JUcfR3vCYBphSDIogOOWrr0-') -- --* -- * GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL: -- * -- * Musicbrainz disc id details -- --* -- * GST_TAG_CAPTURING_SHUTTER_SPEED: -- * -- * Shutter speed used when capturing an image, in seconds. (fraction) -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_FOCAL_RATIO: -- * -- * Focal ratio (f-number) used when capturing an image. (double) -- * -- * The value stored is the denominator of the focal ratio (f-number). -- * For example, if this tag value is 2, the focal ratio is f/2. -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_FOCAL_LENGTH: -- * -- * Focal length used when capturing an image, in mm. (double) -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO: -- * -- * Digital zoom ratio used when capturing an image. (double) -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_ISO_SPEED: -- * -- * ISO speed used when capturing an image. (integer) -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_EXPOSURE_PROGRAM: -- * -- * Type of exposure control used when capturing an image. (string) -- * -- * The allowed values are: -- * "undefined" -- * "manual" -- * "normal" - automatically controlled -- * "aperture-priority" - user selects aperture value -- * "shutter-priority" - user selects shutter speed -- * "creative" - biased towards depth of field -- * "action" - biased towards fast shutter speed -- * "portrait" - closeup, leaving background out of focus -- * "landscape" - landscape photos, background in focus -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_EXPOSURE_MODE: -- * -- * Exposure mode used when capturing an image. (string) -- * -- * The allowed values are: -- * "auto-exposure" -- * "manual-exposure" -- * "auto-bracket" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_EXPOSURE_COMPENSATION: -- * -- * Exposure compensation using when capturing an image in EV. (double) -- * -- * Since: 0.10.33 -- --* -- * GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE: -- * -- * Scene mode used when capturing an image. (string) -- * -- * The allowed values are: -- * "standard" -- * "landscape" -- * "portrait" -- * "night-scene" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_GAIN_ADJUSTMENT: -- * -- * Gain adjustment applied to an image. (string) -- * -- * The allowed values are: -- * "none" -- * "low-gain-up" -- * "high-gain-up" -- * "low-gain-down" -- * "high-gain-down" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_WHITE_BALANCE: -- * -- * White balance mode used when capturing an image. (string) -- * -- * The allowed values are: -- * "auto" -- * "manual" -- * "daylight" -- * "cloudy" -- * "tungsten" -- * "fluorescent" -- * "fluorescent h" (newer daylight-calibrated fluorescents) -- * "flash" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_CONTRAST: -- * -- * Direction of contrast processing applied when capturing an image. (string) -- * -- * The allowed values are: -- * "normal" -- * "soft" -- * "hard" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_SATURATION: -- * -- * Direction of saturation processing applied when capturing an image. (string) -- * -- * The allowed values are: -- * "normal" -- * "low-saturation" -- * "high-saturation" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_SHARPNESS: -- * -- * Direction of sharpness processing applied when capturing an image. (string) -- * -- * The allowed values are: -- * "normal" -- * "soft" -- * "hard" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_FLASH_FIRED: -- * -- * If flash was fired during the capture of an image. (boolean) -- * -- * Note that if this tag isn't present, it should not be assumed that -- * the flash did not fire. It should be treated as unknown. -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_FLASH_MODE: -- * -- * The flash mode selected during the capture of an image. (string) -- * -- * The allowed values are: -- * "auto" -- * "always" -- * "never" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_METERING_MODE: -- * -- * Defines the way a camera determines the exposure. (string) -- * -- * The allowed values are: -- * "unknown" -- * "average" -- * "center-weighted-average" -- * "spot" -- * "multi-spot" -- * "pattern" -- * "partial" -- * "other" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_CAPTURING_SOURCE: -- * -- * Indicates the source of capture. The device/medium used to do the -- * capture. (string) -- * -- * Allowed values are: -- * "dsc" (= digital still camera) -- * "transparent-scanner" -- * "reflex-scanner" -- * "other" -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_IMAGE_HORIZONTAL_PPI: -- * -- * Media (image/video) intended horizontal pixel density in ppi. (double) -- * -- * Since: 0.10.31 -- --* -- * GST_TAG_IMAGE_VERTICAL_PPI: -- * -- * Media (image/video) intended vertical pixel density in ppi. (double) -- * -- * Since: 0.10.31 -- -- additional information for image tags --* -- * GstTagImageType: -- * @GST_TAG_IMAGE_TYPE_NONE : No image type. Can be used to -- * tell functions such as gst_tag_image_data_to_image_buffer() that no -- * image type should be set. (Since: 0.10.20) -- * @GST_TAG_IMAGE_TYPE_UNDEFINED : Undefined/other image type -- * @GST_TAG_IMAGE_TYPE_FRONT_COVER : Cover (front) -- * @GST_TAG_IMAGE_TYPE_BACK_COVER : Cover (back) -- * @GST_TAG_IMAGE_TYPE_LEAFLET_PAGE : Leaflet page -- * @GST_TAG_IMAGE_TYPE_MEDIUM : Medium (e.g. label side of CD) -- * @GST_TAG_IMAGE_TYPE_LEAD_ARTIST : Lead artist/lead performer/soloist -- * @GST_TAG_IMAGE_TYPE_ARTIST : Artist/performer -- * @GST_TAG_IMAGE_TYPE_CONDUCTOR : Conductor -- * @GST_TAG_IMAGE_TYPE_BAND_ORCHESTRA : Band/orchestra -- * @GST_TAG_IMAGE_TYPE_COMPOSER : Composer -- * @GST_TAG_IMAGE_TYPE_LYRICIST : Lyricist/text writer -- * @GST_TAG_IMAGE_TYPE_RECORDING_LOCATION : Recording location -- * @GST_TAG_IMAGE_TYPE_DURING_RECORDING : During recording -- * @GST_TAG_IMAGE_TYPE_DURING_PERFORMANCE : During performance -- * @GST_TAG_IMAGE_TYPE_VIDEO_CAPTURE : Movie/video screen capture -- * @GST_TAG_IMAGE_TYPE_FISH : A fish as funny as the ID3v2 spec -- * @GST_TAG_IMAGE_TYPE_ILLUSTRATION : Illustration -- * @GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO : Band/artist logotype -- * @GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO : Publisher/studio logotype -- * -- * Type of image contained in an image tag (specified as field in -- * the image buffer's caps structure) -- * -- * Since: 0.10.9 -- -- Note: keep in sync with register_tag_image_type_enum() subtype GstTagImageType is int; GST_TAG_IMAGE_TYPE_NONE : constant GstTagImageType := -1; GST_TAG_IMAGE_TYPE_UNDEFINED : constant GstTagImageType := 0; GST_TAG_IMAGE_TYPE_FRONT_COVER : constant GstTagImageType := 1; GST_TAG_IMAGE_TYPE_BACK_COVER : constant GstTagImageType := 2; GST_TAG_IMAGE_TYPE_LEAFLET_PAGE : constant GstTagImageType := 3; GST_TAG_IMAGE_TYPE_MEDIUM : constant GstTagImageType := 4; GST_TAG_IMAGE_TYPE_LEAD_ARTIST : constant GstTagImageType := 5; GST_TAG_IMAGE_TYPE_ARTIST : constant GstTagImageType := 6; GST_TAG_IMAGE_TYPE_CONDUCTOR : constant GstTagImageType := 7; GST_TAG_IMAGE_TYPE_BAND_ORCHESTRA : constant GstTagImageType := 8; GST_TAG_IMAGE_TYPE_COMPOSER : constant GstTagImageType := 9; GST_TAG_IMAGE_TYPE_LYRICIST : constant GstTagImageType := 10; GST_TAG_IMAGE_TYPE_RECORDING_LOCATION : constant GstTagImageType := 11; GST_TAG_IMAGE_TYPE_DURING_RECORDING : constant GstTagImageType := 12; GST_TAG_IMAGE_TYPE_DURING_PERFORMANCE : constant GstTagImageType := 13; GST_TAG_IMAGE_TYPE_VIDEO_CAPTURE : constant GstTagImageType := 14; GST_TAG_IMAGE_TYPE_FISH : constant GstTagImageType := 15; GST_TAG_IMAGE_TYPE_ILLUSTRATION : constant GstTagImageType := 16; GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO : constant GstTagImageType := 17; GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO : constant GstTagImageType := 18; -- gst/tag/tag.h:440 function gst_tag_image_type_get_type return GLIB.GType; -- gst/tag/tag.h:443 pragma Import (C, gst_tag_image_type_get_type, "gst_tag_image_type_get_type"); --* -- * GST_TAG_ID3V2_HEADER_SIZE: -- * -- * ID3V2 header size considered minimum input for some functions such as -- * gst_tag_list_from_id3v2_tag() and gst_tag_get_id3v2_tag_size() for example. -- * -- * Since: 0.10.36 -- -- functions for vorbis comment manipulation function gst_tag_from_vorbis_tag (vorbis_tag : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:457 pragma Import (C, gst_tag_from_vorbis_tag, "gst_tag_from_vorbis_tag"); function gst_tag_to_vorbis_tag (gst_tag : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:458 pragma Import (C, gst_tag_to_vorbis_tag, "gst_tag_to_vorbis_tag"); procedure gst_vorbis_tag_add (list : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; tag : access GLIB.gchar; value : access GLIB.gchar); -- gst/tag/tag.h:459 pragma Import (C, gst_vorbis_tag_add, "gst_vorbis_tag_add"); function gst_tag_to_vorbis_comments (list : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; tag : access GLIB.gchar) return access GStreamer.GST_Low_Level.glib_2_0_glib_glist_h.GList; -- gst/tag/tag.h:463 pragma Import (C, gst_tag_to_vorbis_comments, "gst_tag_to_vorbis_comments"); -- functions to convert GstBuffers with vorbiscomment contents to GstTagLists and back function gst_tag_list_from_vorbiscomment_buffer (buffer : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; id_data : access GLIB.guint8; id_data_length : GLIB.guint; vendor_string : System.Address) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/tag/tag.h:467 pragma Import (C, gst_tag_list_from_vorbiscomment_buffer, "gst_tag_list_from_vorbiscomment_buffer"); function gst_tag_list_to_vorbiscomment_buffer (list : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; id_data : access GLIB.guint8; id_data_length : GLIB.guint; vendor_string : access GLIB.gchar) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/tag.h:471 pragma Import (C, gst_tag_list_to_vorbiscomment_buffer, "gst_tag_list_to_vorbiscomment_buffer"); -- functions for ID3 tag manipulation -- FIXME 0.11: inconsistent API naming: gst_tag_list_new_from_id3v1(), gst_tag_list_from_*_buffer(), -- * gst_tag_list_from_id3v2_tag(). Also, note gst.tag.list_xyz() namespace vs. gst.tag_list_xyz(), -- * which is a bit confusing and possibly doesn't map too well function gst_tag_id3_genre_count return GLIB.guint; -- gst/tag/tag.h:482 pragma Import (C, gst_tag_id3_genre_count, "gst_tag_id3_genre_count"); function gst_tag_id3_genre_get (id : GLIB.guint) return access GLIB.gchar; -- gst/tag/tag.h:483 pragma Import (C, gst_tag_id3_genre_get, "gst_tag_id3_genre_get"); function gst_tag_list_new_from_id3v1 (data : access GLIB.guint8) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/tag/tag.h:484 pragma Import (C, gst_tag_list_new_from_id3v1, "gst_tag_list_new_from_id3v1"); function gst_tag_from_id3_tag (id3_tag : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:486 pragma Import (C, gst_tag_from_id3_tag, "gst_tag_from_id3_tag"); function gst_tag_from_id3_user_tag (c_type : access GLIB.gchar; id3_user_tag : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:487 pragma Import (C, gst_tag_from_id3_user_tag, "gst_tag_from_id3_user_tag"); function gst_tag_to_id3_tag (gst_tag : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:489 pragma Import (C, gst_tag_to_id3_tag, "gst_tag_to_id3_tag"); function gst_tag_list_add_id3_image (tag_list : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; image_data : access GLIB.guint8; image_data_len : GLIB.guint; id3_picture_type : GLIB.guint) return GLIB.gboolean; -- gst/tag/tag.h:491 pragma Import (C, gst_tag_list_add_id3_image, "gst_tag_list_add_id3_image"); function gst_tag_list_from_id3v2_tag (buffer : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/tag/tag.h:496 pragma Import (C, gst_tag_list_from_id3v2_tag, "gst_tag_list_from_id3v2_tag"); function gst_tag_get_id3v2_tag_size (buffer : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer) return GLIB.guint; -- gst/tag/tag.h:498 pragma Import (C, gst_tag_get_id3v2_tag_size, "gst_tag_get_id3v2_tag_size"); -- functions to convert GstBuffers with xmp packets contents to GstTagLists and back function gst_tag_list_from_xmp_buffer (buffer : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/tag/tag.h:501 pragma Import (C, gst_tag_list_from_xmp_buffer, "gst_tag_list_from_xmp_buffer"); function gst_tag_list_to_xmp_buffer (list : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; read_only : GLIB.gboolean) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/tag.h:502 pragma Import (C, gst_tag_list_to_xmp_buffer, "gst_tag_list_to_xmp_buffer"); function gst_tag_list_to_xmp_buffer_full (list : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; read_only : GLIB.gboolean; schemas : System.Address) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/tag.h:504 pragma Import (C, gst_tag_list_to_xmp_buffer_full, "gst_tag_list_to_xmp_buffer_full"); function gst_tag_xmp_list_schemas return System.Address; -- gst/tag/tag.h:506 pragma Import (C, gst_tag_xmp_list_schemas, "gst_tag_xmp_list_schemas"); -- functions related to exif function gst_tag_list_to_exif_buffer (taglist : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; byte_order : GLIB.gint; base_offset : GLIB.guint32) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/tag.h:509 pragma Import (C, gst_tag_list_to_exif_buffer, "gst_tag_list_to_exif_buffer"); function gst_tag_list_to_exif_buffer_with_tiff_header (taglist : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/tag.h:513 pragma Import (C, gst_tag_list_to_exif_buffer_with_tiff_header, "gst_tag_list_to_exif_buffer_with_tiff_header"); function gst_tag_list_from_exif_buffer (buffer : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; byte_order : GLIB.gint; base_offset : GLIB.guint32) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/tag/tag.h:515 pragma Import (C, gst_tag_list_from_exif_buffer, "gst_tag_list_from_exif_buffer"); function gst_tag_list_from_exif_buffer_with_tiff_header (buffer : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; -- gst/tag/tag.h:519 pragma Import (C, gst_tag_list_from_exif_buffer_with_tiff_header, "gst_tag_list_from_exif_buffer_with_tiff_header"); -- other tag-related functions function gst_tag_parse_extended_comment (ext_comment : access GLIB.gchar; key : System.Address; lang : System.Address; value : System.Address; fail_if_no_key : GLIB.gboolean) return GLIB.gboolean; -- gst/tag/tag.h:524 pragma Import (C, gst_tag_parse_extended_comment, "gst_tag_parse_extended_comment"); function gst_tag_freeform_string_to_utf8 (data : access GLIB.gchar; size : GLIB.gint; env_vars : System.Address) return access GLIB.gchar; -- gst/tag/tag.h:530 pragma Import (C, gst_tag_freeform_string_to_utf8, "gst_tag_freeform_string_to_utf8"); function gst_tag_image_data_to_image_buffer (image_data : access GLIB.guint8; image_data_len : GLIB.guint; image_type : GstTagImageType) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/tag.h:534 pragma Import (C, gst_tag_image_data_to_image_buffer, "gst_tag_image_data_to_image_buffer"); -- FIXME 0.11: get rid of this awkward register/init function, see tags.c procedure gst_tag_register_musicbrainz_tags; -- gst/tag/tag.h:539 pragma Import (C, gst_tag_register_musicbrainz_tags, "gst_tag_register_musicbrainz_tags"); -- language tag related functions function gst_tag_get_language_codes return System.Address; -- gst/tag/tag.h:544 pragma Import (C, gst_tag_get_language_codes, "gst_tag_get_language_codes"); function gst_tag_get_language_name (language_code : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:546 pragma Import (C, gst_tag_get_language_name, "gst_tag_get_language_name"); function gst_tag_get_language_code_iso_639_1 (lang_code : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:548 pragma Import (C, gst_tag_get_language_code_iso_639_1, "gst_tag_get_language_code_iso_639_1"); function gst_tag_get_language_code_iso_639_2B (lang_code : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:550 pragma Import (C, gst_tag_get_language_code_iso_639_2B, "gst_tag_get_language_code_iso_639_2B"); function gst_tag_get_language_code_iso_639_2T (lang_code : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:552 pragma Import (C, gst_tag_get_language_code_iso_639_2T, "gst_tag_get_language_code_iso_639_2T"); --* -- * gst_tag_get_language_code: -- * @lang_code: ISO-639 language code (e.g. "deu" or "ger" or "de") -- * -- * Convenience macro wrapping gst_tag_get_language_code_iso_639_1(). -- * -- * Since: 0.10.26 -- -- functions to deal with (mostly) Creative Commons licenses --* -- * GstTagLicenseFlags: -- * @GST_TAG_LICENSE_PERMITS_REPRODUCTION: making multiple copies -- * is allowed -- * @GST_TAG_LICENSE_PERMITS_DISTRIBUTION: distribution, public display -- * and public performance are allowed -- * @GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS: distribution of derivative -- * works is allowed -- * @GST_TAG_LICENSE_PERMITS_SHARING: commercial derivatives are allowed, -- * but only non-commercial distribution is allowed -- * @GST_TAG_LICENSE_REQUIRES_NOTICE: copyright and license notices -- * must be kept intact -- * @GST_TAG_LICENSE_REQUIRES_ATTRIBUTION: credit must be given to -- * copyright holder and/or author -- * @GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE: derivative works must be -- * licensed under the same terms or compatible terms as the original work -- * @GST_TAG_LICENSE_REQUIRES_SOURCE_CODE: source code (the preferred -- * form for making modifications) must be provided when exercising some -- * rights granted by the license -- * @GST_TAG_LICENSE_REQUIRES_COPYLEFT: derivative and combined works -- * must be licensed under specified terms, similar to those of the original -- * work -- * @GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT: derivative works must be -- * licensed under specified terms, with at least the same conditions as -- * the original work; combinations with the work may be licensed under -- * different terms -- * @GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE: exercising rights for -- * commercial purposes is prohibited -- * @GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE: use in a -- * non-developing country is prohibited -- * @GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE: this license was created -- * by the Creative Commons project -- * @GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE: this license was -- * created by the Free Software Foundation (FSF) -- * -- * See http://creativecommons.org/ns for more information. -- * -- * Since: 0.10.36 -- subtype GstTagLicenseFlags is unsigned; GST_TAG_LICENSE_PERMITS_REPRODUCTION : constant GstTagLicenseFlags := 1; GST_TAG_LICENSE_PERMITS_DISTRIBUTION : constant GstTagLicenseFlags := 2; GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS : constant GstTagLicenseFlags := 4; GST_TAG_LICENSE_PERMITS_SHARING : constant GstTagLicenseFlags := 8; GST_TAG_LICENSE_REQUIRES_NOTICE : constant GstTagLicenseFlags := 256; GST_TAG_LICENSE_REQUIRES_ATTRIBUTION : constant GstTagLicenseFlags := 512; GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE : constant GstTagLicenseFlags := 1024; GST_TAG_LICENSE_REQUIRES_SOURCE_CODE : constant GstTagLicenseFlags := 2048; GST_TAG_LICENSE_REQUIRES_COPYLEFT : constant GstTagLicenseFlags := 4096; GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT : constant GstTagLicenseFlags := 8192; GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE : constant GstTagLicenseFlags := 65536; GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE : constant GstTagLicenseFlags := 131072; GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE : constant GstTagLicenseFlags := 16777216; GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE : constant GstTagLicenseFlags := 33554432; -- gst/tag/tag.h:625 function gst_tag_get_licenses return System.Address; -- gst/tag/tag.h:627 pragma Import (C, gst_tag_get_licenses, "gst_tag_get_licenses"); function gst_tag_get_license_flags (license_ref : access GLIB.gchar) return GstTagLicenseFlags; -- gst/tag/tag.h:629 pragma Import (C, gst_tag_get_license_flags, "gst_tag_get_license_flags"); function gst_tag_get_license_nick (license_ref : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:631 pragma Import (C, gst_tag_get_license_nick, "gst_tag_get_license_nick"); function gst_tag_get_license_title (license_ref : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:633 pragma Import (C, gst_tag_get_license_title, "gst_tag_get_license_title"); function gst_tag_get_license_version (license_ref : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:635 pragma Import (C, gst_tag_get_license_version, "gst_tag_get_license_version"); function gst_tag_get_license_description (license_ref : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:637 pragma Import (C, gst_tag_get_license_description, "gst_tag_get_license_description"); function gst_tag_get_license_jurisdiction (license_ref : access GLIB.gchar) return access GLIB.gchar; -- gst/tag/tag.h:639 pragma Import (C, gst_tag_get_license_jurisdiction, "gst_tag_get_license_jurisdiction"); function gst_tag_license_flags_get_type return GLIB.GType; -- gst/tag/tag.h:641 pragma Import (C, gst_tag_license_flags_get_type, "gst_tag_license_flags_get_type"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_tag_tag_h;
42.069482
259
0.717705
a0c89ec7c51325c55cf4c29e7fa7dce8f992bd3d
9,476
ads
Ada
src/interface/cl-platforms.ads
flyx/OpenCLAda
a03a82842b11edda44c8a85f737f5111d1a522a4
[ "0BSD" ]
8
2015-02-10T20:04:25.000Z
2021-06-25T07:46:31.000Z
src/interface/cl-platforms.ads
flyx/OpenCLAda
a03a82842b11edda44c8a85f737f5111d1a522a4
[ "0BSD" ]
1
2015-09-10T00:01:55.000Z
2015-09-10T10:42:23.000Z
src/interface/cl-platforms.ads
flyx/OpenCLAda
a03a82842b11edda44c8a85f737f5111d1a522a4
[ "0BSD" ]
1
2017-02-13T23:07:06.000Z
2017-02-13T23:07:06.000Z
-------------------------------------------------------------------------------- -- Copyright (c) 2013, Felix Krause <[email protected]> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- package CL.Platforms is type Platform is new CL_Object with null record; type Device is new CL_Object with null record; type Platform_List is array (Positive range <>) of Platform; type Device_List is array (Positive range <>) of Device; ----------------------------------------------------------------------------- -- Types for describing Device features ----------------------------------------------------------------------------- type Memory_Cache_Kind is (None, Read_Only_Cache, Read_Write_Cache); type Local_Memory_Kind is (Local, Global); type Device_Kind is record Default : Boolean := False; CPU : Boolean := False; GPU : Boolean := False; Accelerator : Boolean := False; end record; Device_Kind_All : constant Device_Kind; type Floating_Point_Config is record Denorm : Boolean := False; Inf_Man : Boolean := False; Round_To_Nearest : Boolean := False; Round_To_Zero : Boolean := False; Round_To_Inf : Boolean := False; FMA : Boolean := False; Soft_Float : Boolean := False; end record; type Capability_Vector is record Kernel : Boolean := False; Native_Kernel : Boolean := False; end record; type CQ_Property_Vector is record Out_Of_Order_Exec_Mode_Enable : Boolean := False; Profiling_Enable : Boolean := False; end record; ----------------------------------------------------------------------------- -- Platform functions ----------------------------------------------------------------------------- function List return Platform_List; function Profile (Source : Platform) return String; function Version (Source : Platform) return String; function Name (Source : Platform) return String; function Vendor (Source : Platform) return String; function Extensions (Source : Platform) return String; function Devices (Source : Platform; Types : Device_Kind) return Device_List; ----------------------------------------------------------------------------- -- Device property getters ----------------------------------------------------------------------------- function Vendor_ID (Source : Device) return UInt; function Max_Compute_Units (Source : Device) return UInt; function Max_Work_Item_Dimensions (Source : Device) return UInt; function Preferred_Vector_Width_Char (Source : Device) return UInt; function Preferred_Vector_Width_Short (Source : Device) return UInt; function Preferred_Vector_Width_Int (Source : Device) return UInt; function Preferred_Vector_Width_Long (Source : Device) return UInt; function Preferred_Vector_Width_Float (Source : Device) return UInt; function Preferred_Vector_Width_Double (Source : Device) return UInt; function Max_Clock_Frequency (Source : Device) return UInt; function Address_Bits (Source : Device) return UInt; function Max_Read_Image_Args (Source : Device) return UInt; function Max_Write_Image_Args (Source : Device) return UInt; function Max_Samplers (Source : Device) return UInt; function Mem_Base_Addr_Align (Source: Device) return UInt; function Min_Data_Type_Align_Size (Source : Device) return UInt; function Global_Mem_Cacheline_Size (Source : Device) return UInt; function Max_Constant_Args (Source : Device) return UInt; function Preferred_Vector_Width_Half (Source : Device) return UInt; function Native_Vector_Width_Char (Source : Device) return UInt; function Native_Vector_Width_Short (Source : Device) return UInt; function Native_Vector_Width_Int (Source : Device) return UInt; function Native_Vector_Width_Long (Source : Device) return UInt; function Native_Vector_Width_Float (Source : Device) return UInt; function Native_Vector_Width_Double (Source : Device) return UInt; function Native_Vector_Width_Half (Source : Device) return UInt; function Max_Mem_Alloc_Size (Source : Device) return ULong; function Global_Mem_Cache_Size (Source : Device) return ULong; function Global_Mem_Size (Source : Device) return ULong; function Max_Constant_Buffer_Size (Source : Device) return ULong; function Local_Mem_Size (Source : Device) return ULong; function Max_Work_Group_Size (Source : Device) return Size; function Image2D_Max_Width (Source : Device) return Size; function Image2D_Max_Height (Source : Device) return Size; function Image3D_Max_Width (Source : Device) return Size; function Image3D_Max_Height (Source : Device) return Size; function Image3D_Max_Depth (Source : Device) return Size; function Max_Parameter_Size (Source : Device) return Size; function Profiling_Timer_Resolution (Source : Device) return Size; function Image_Support (Source : Device) return Boolean; function Error_Correction_Support (Source : Device) return Boolean; function Endian_Little (Source : Device) return Boolean; function Available (Source : Device) return Boolean; function Compiler_Available (Source : Device) return Boolean; function Host_Unified_Memory (Source : Device) return Boolean; function Name (Source : Device) return String; function Vendor (Source : Device) return String; function Driver_Version (Source : Device) return String; function Profile (Source : Device) return String; function Version (Source : Device) return String; function Extensions (Source : Device) return String; function OpenCL_C_Version (Source : Device) return String; function Max_Work_Item_Sizes (Source : Device) return Size_List; function Single_Floating_Point_Config (Source : Device) return Floating_Point_Config; function Memory_Cache_Type (Source : Device) return Memory_Cache_Kind; function Local_Memory_Type (Source : Device) return Local_Memory_Kind; function Kind (Source : Device) return Device_Kind; function Execution_Capabilities (Source : Device) return Capability_Vector; function Command_Queue_Properties (Source : Device) return CQ_Property_Vector; function Associated_Platform (Source : Device) return Platform'Class; private for Memory_Cache_Kind use (None => 0, Read_Only_Cache => 1, Read_Write_Cache => 2); for Memory_Cache_Kind'Size use UInt'Size; pragma Convention (C, Memory_Cache_Kind); for Local_Memory_Kind use (Local => 1, Global => 2); for Local_Memory_Kind'Size use UInt'Size; pragma Convention (C, Local_Memory_Kind); for Device_Kind use record Default at 0 range 0 .. 0; CPU at 0 range 1 .. 1; GPU at 0 range 2 .. 2; Accelerator at 0 range 3 .. 3; end record; pragma Convention (C_Pass_By_Copy, Device_Kind); for Floating_Point_Config use record Denorm at 0 range 0 .. 0; Inf_Man at 0 range 1 .. 1; Round_To_Nearest at 0 range 2 .. 2; Round_To_Zero at 0 range 3 .. 3; Round_To_Inf at 0 range 4 .. 4; FMA at 0 range 5 .. 5; Soft_Float at 0 range 6 .. 6; end record; pragma Convention(C_Pass_By_Copy, Floating_Point_Config); for Capability_Vector use record Kernel at 0 range 0 .. 0; Native_Kernel at 0 range 1 .. 1; end record; pragma Convention(C_Pass_By_Copy, Capability_Vector); for CQ_Property_Vector use record Out_Of_Order_Exec_Mode_Enable at 0 range 0 .. 0; Profiling_Enable at 0 range 1 .. 1; end record; pragma Convention(C_Pass_By_Copy, CQ_Property_Vector); pragma Warnings (Off); for Device_Kind'Size use Bitfield'Size; for Floating_Point_Config'Size use Bitfield'Size; for Capability_Vector'Size use Bitfield'Size; for CQ_Property_Vector'Size use Bitfield'Size; pragma Warnings (On); Device_Kind_All : constant Device_Kind := Device_Kind'(Default => True, CPU => True, GPU => True, Accelerator => True); end CL.Platforms;
44.909953
80
0.633812
a0c442d05d82af6953474196fbe8c8a419de54a2
311
adb
Ada
src/main.adb
Fabien-Chouteau/lvgl-ada-examples
06a752a12a50c01f31e8056360f1d54c4f233b33
[ "MIT" ]
1
2020-12-19T23:01:32.000Z
2020-12-19T23:01:32.000Z
src/main.adb
Fabien-Chouteau/lvgl-ada-examples
06a752a12a50c01f31e8056360f1d54c4f233b33
[ "MIT" ]
2
2020-02-02T00:36:12.000Z
2020-02-03T22:38:04.000Z
src/main.adb
Fabien-Chouteau/lvgl-ada-examples
06a752a12a50c01f31e8056360f1d54c4f233b33
[ "MIT" ]
null
null
null
with LV; with LV.Font; with LV.Theme; with LV.Tasks; with LV.HAL.Tick; with Test_Theme_1; with Disaply_Simulator; procedure Main is begin LV.Init; Disaply_Simulator.Initialize; Test_Theme_1.Init; loop LV.Tasks.Handler; delay 0.005; lV.HAL.Tick.Inc (5); end loop; end Main;
12.958333
32
0.678457
ad5b4ed2f1591ad1d6988db645973d440a6de328
1,897
adb
Ada
source/nodes/program-nodes-generic_vectors.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-generic_vectors.adb
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-generic_vectors.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 ------------------------------------------------------------- package body Program.Nodes.Generic_Vectors is ------------ -- Create -- ------------ function Create (Each : Program.Element_Vectors.Iterators.Forward_Iterator'Class) return Vector is Elements, Tokens : Natural := 0; Has_Tokens : Boolean := False; Index : Positive := 1; begin for J in Each loop Elements := Elements + 1; if J.Delimiter.Assigned then Has_Tokens := True; end if; end loop; if Has_Tokens then Tokens := Elements - 1; end if; return Result : Vector (Elements, Tokens) do for J in Each loop Result.Element_List (Index) := J.Element; if Index in Result.Token_List'Range then Result.Token_List (Index) := J.Delimiter; end if; Index := Index + 1; end loop; end return; end Create; --------------- -- Delimiter -- --------------- overriding function Delimiter (Self : Vector; Index : Positive) return Program.Lexical_Elements.Lexical_Element_Access is begin if Index in Self.Token_List'Range then return Self.Token_List (Index); else return null; end if; end Delimiter; ------------- -- Element -- ------------- overriding function Element (Self : Vector; Index : Positive) return not null Program.Elements.Element_Access is begin return Self.Element_List (Index); end Element; ---------------- -- Get_Length -- ---------------- overriding function Get_Length (Self : Vector) return Positive is begin return Self.Elements; end Get_Length; end Program.Nodes.Generic_Vectors;
23.7125
70
0.55087
19d58d0e4256eb42d779b04c23976db6cb66fe34
2,627
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52005f.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/c5/c52005f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52005f.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C52005F.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 THE CONSTRAINT_ERROR EXCEPTION IS RAISED -- WHEN A DYNAMIC EXPRESSION VALUE IS OUTSIDE THE STATIC RANGE -- OF FIXED POINT ASSIGNMENTS. -- JRK 7/21/80 -- SPS 3/21/83 WITH REPORT; PROCEDURE C52005F IS USE REPORT; BEGIN TEST ("C52005F", "CHECK THAT CONSTRAINT_ERROR EXCEPTION IS RAISED" & " ON DYNAMIC OUT OF RANGE FIXED POINT ASSIGNMENTS"); ----------------------- DECLARE TYPE REAL IS DELTA 0.01 RANGE 0.00 .. 9.99; FX : REAL := 4.50; FX1 : REAL RANGE 0.00 .. 7.00 := 4.50; BEGIN IF EQUAL(3,3) THEN FX := 7.01; END IF; FX1 := FX; FAILED ("EXCEPTION NOT RAISED FOR OUT OF RANGE FIXED ASSNMT"); EXCEPTION WHEN CONSTRAINT_ERROR => IF FX1 /= 4.50 THEN FAILED ("VALUE ALTERED BEFORE FIXED PT RANGE EXCEPTION"); END IF; END; ------------------------- DECLARE TYPE REAL IS DELTA 0.01 RANGE 0.00 .. 9.99; FX : REAL := 4.50; FX2 : REAL RANGE 0.00 .. 7.00 := 4.50; BEGIN IF EQUAL(3,3) THEN FX := 7.00; END IF; FX2 := FX; EXCEPTION WHEN CONSTRAINT_ERROR => FAILED ("EXCEPTION RAISED ON LEGAL FIXED PT ASSNMT"); END; ------------------------- RESULT; END C52005F;
30.195402
79
0.590407
a0119776d042df04c3248a3d0b58de99d546ab15
5,402
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3601c.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/cc/cc3601c.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3601c.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- CC3601C.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 "/=" MAY BE PASSED AS A GENERIC ACTUAL FUNCTION -- PARAMETER. -- DAT 10/6/81 -- SPS 10/27/82 -- JRK 2/9/83 WITH REPORT; USE REPORT; PROCEDURE CC3601C IS BEGIN TEST ("CC3601C", "/= AS GENERIC ACTUAL PARAMETER"); DECLARE PACKAGE PK IS TYPE LP IS LIMITED PRIVATE; FUNCTION "=" (X, Y : LP) RETURN BOOLEAN;-- RETURNS FALSE. TYPE INT IS NEW INTEGER; PRIVATE TASK TYPE LP; END PK; USE PK; V1, V2 : LP; TYPE REC IS RECORD C : LP; END RECORD; R1, R2 : REC; TYPE INT IS NEW INTEGER; B1 : BOOLEAN := TRUE; B2 : BOOLEAN := TRUE; INTEGER_3 : INTEGER := 3; INTEGER_4 : INTEGER := 4; INT_3 : INT := 3; INT_4 : INT := 4; INT_5 : INT := 5; PK_INT_M1 : PK.INT := -1; PK_INT_M2 : PK.INT := -2; PK_INT_1 : PK.INT := 1; PK_INT_2 : PK.INT := 2; PK_INT_3 : PK.INT := 3; FUNCTION "=" (Q, R : LP) RETURN BOOLEAN;-- RETURNS TRUE. GENERIC TYPE T IS LIMITED PRIVATE; V1, V2 : IN OUT T; WITH FUNCTION NE (ZA : IN T; ZB : T) RETURN BOOLEAN; VALUE : IN BOOLEAN; -- SHOULD BE VALUE OF NE(V1,V2). STR : STRING; PACKAGE GP IS END GP; FUNCTION "=" (Q, R : IN REC) RETURN BOOLEAN; FUNCTION NE (Q : INT; R : IN INT) RETURN BOOLEAN RENAMES "/="; FUNCTION NE (Q : PK.INT; R : IN PK.INT) RETURN BOOLEAN RENAMES "/="; PACKAGE BODY GP IS BEGIN IF IDENT_BOOL(VALUE) /= NE (V1, V2) THEN FAILED ("WRONG /= ACTUAL GENERIC PARAMETER " & STR); END IF; END GP; FUNCTION "=" (Q, R : IN REC) RETURN BOOLEAN IS BEGIN RETURN FALSE; END "="; FUNCTION "=" (Q, R : LP) RETURN BOOLEAN IS BEGIN RETURN TRUE; END "="; PACKAGE BODY PK IS FUNCTION "=" (X, Y : LP) RETURN BOOLEAN IS BEGIN RETURN R1 = R1; -- FALSE. END "="; TASK BODY LP IS BEGIN NULL; END; END PK; PACKAGE P1 IS NEW GP (LP, V1, V2, "/=", FALSE, "1"); FUNCTION "NOT" (X : BOOLEAN) RETURN BOOLEAN IS BEGIN RETURN X; END "NOT"; -- ENSURES USE OF PREDEFINED "NOT" PACKAGE P2 IS NEW GP (LP, V1, V2, "/=", FALSE, "2"); PACKAGE P3 IS NEW GP (LP, V1, V2, PK."/=", TRUE, "3"); PACKAGE P4 IS NEW GP (PK.LP, V1, V2, "/=", FALSE, "4"); PACKAGE P5 IS NEW GP (PK.LP, V1, V2, PK."/=", TRUE, "5"); PACKAGE P6 IS NEW GP (REC, R1, R2, "/=", TRUE, "6"); PACKAGE P7 IS NEW GP (INTEGER, INTEGER_3, INTEGER_4, "/=", TRUE, "7"); PACKAGE P8 IS NEW GP (BOOLEAN, B1, B2, "/=", FALSE,"8"); PACKAGE P9 IS NEW GP (INT, INT_3, INT_5, "/=", TRUE, "9"); PACKAGE P10 IS NEW GP (INT, INT_3, INT_3, "/=", FALSE, "10"); PACKAGE P11 IS NEW GP (INT, INT_3, INT_4, NE, TRUE, "11"); PACKAGE P12 IS NEW GP (INT, INT_3, INT_3, NE, FALSE, "12"); PACKAGE P13 IS NEW GP (PK.INT, PK_INT_3, PK_INT_3, NE, FALSE, "13"); PACKAGE P14 IS NEW GP (PK.INT, PK_INT_M1, PK_INT_M2, NE, TRUE, "14"); PACKAGE P15 IS NEW GP (PK.INT, PK_INT_1, PK_INT_1, "/=", FALSE, "15"); PACKAGE P16 IS NEW GP (PK.INT, PK_INT_1, PK_INT_2, "/=", TRUE, "16"); PACKAGE P17 IS NEW GP (PK.INT, PK_INT_1, PK_INT_1, PK."/=", FALSE, "17"); PACKAGE P18 IS NEW GP (PK.INT, PK_INT_1, PK_INT_2, PK."/=", TRUE, "18"); BEGIN NULL; END; RESULT; END CC3601C;
36.013333
79
0.498519
8b96ed5984d0434c60a48713add1bb74b13e1cdc
42,970
adb
Ada
Vivado_HLS_Tutorial/Interface_Synthesis/lab1/adders_prj/solution1/.autopilot/db/adders.adb
williambong/Vivado
68efafbc44b65c0bb047dbafc0ff7f1b56ee36bb
[ "MIT" ]
null
null
null
Vivado_HLS_Tutorial/Interface_Synthesis/lab1/adders_prj/solution1/.autopilot/db/adders.adb
williambong/Vivado
68efafbc44b65c0bb047dbafc0ff7f1b56ee36bb
[ "MIT" ]
null
null
null
Vivado_HLS_Tutorial/Interface_Synthesis/lab1/adders_prj/solution1/.autopilot/db/adders.adb
williambong/Vivado
68efafbc44b65c0bb047dbafc0ff7f1b56ee36bb
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="11"> <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>adders</name> <ret_bitwidth>32</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>in1</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>in1</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>in2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in2</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>in3</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in3</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>6</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>9</id> <name>in3_read</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in3</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>20</item> <item>21</item> </oprand_edges> <opcode>read</opcode> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>10</id> <name>in2_read</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in2</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>22</item> <item>23</item> </oprand_edges> <opcode>read</opcode> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>in1_read</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in1</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>24</item> <item>25</item> </oprand_edges> <opcode>read</opcode> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>15</id> <name>tmp1</name> <fileName>adders.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>adders</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab1</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>adders.c</first> <second>adders</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>adders_add_32ns_32ns_32_8_U0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>26</item> <item>27</item> </oprand_edges> <opcode>add</opcode> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>16</id> <name>sum</name> <fileName>adders.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>adders</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>adders.c</first> <second>adders</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName>sum</originalName> <rtlName>adders_add_32ns_32ns_32_8_U1</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>28</item> <item>29</item> </oprand_edges> <opcode>add</opcode> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>17</id> <name/> <fileName>adders.c</fileName> <fileDirectory>..</fileDirectory> <lineNumber>60</lineNumber> <contextFuncName>adders</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>adders.c</first> <second>adders</second> </first> <second>60</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>30</item> </oprand_edges> <opcode>ret</opcode> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </consts> <blocks class_id="16" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="17" tracking_level="1" version="0" object_id="_10"> <Obj> <type>3</type> <id>18</id> <name>adders</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>9</item> <item>10</item> <item>11</item> <item>15</item> <item>16</item> <item>17</item> </node_objs> </item> </blocks> <edges class_id="18" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="19" tracking_level="1" version="0" object_id="_11"> <id>21</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="19" object_id="_12"> <id>23</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="19" object_id="_13"> <id>25</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="19" object_id="_14"> <id>26</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="19" object_id="_15"> <id>27</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="19" object_id="_16"> <id>28</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="19" object_id="_17"> <id>29</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="19" object_id="_18"> <id>30</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="20" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="21" tracking_level="1" version="0" object_id="_19"> <mId>1</mId> <mTag>adders</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>18</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>15</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="23" tracking_level="1" version="0" object_id="_20"> <states class_id="24" tracking_level="0" version="0"> <count>16</count> <item_version>0</item_version> <item class_id="25" tracking_level="1" version="0" object_id="_21"> <id>1</id> <operations class_id="26" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="27" tracking_level="1" version="0" object_id="_22"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_23"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_24"> <id>15</id> <stage>8</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_25"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_26"> <id>15</id> <stage>7</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_27"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_28"> <id>15</id> <stage>6</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_29"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_30"> <id>15</id> <stage>5</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_31"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_32"> <id>15</id> <stage>4</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_33"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_34"> <id>15</id> <stage>3</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_35"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_36"> <id>15</id> <stage>2</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_37"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_38"> <id>15</id> <stage>1</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_39"> <id>9</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_40"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_41"> <id>16</id> <stage>8</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_42"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_43"> <id>16</id> <stage>7</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_44"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_45"> <id>16</id> <stage>6</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_46"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_47"> <id>16</id> <stage>5</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_48"> <id>13</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_49"> <id>16</id> <stage>4</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_50"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_51"> <id>16</id> <stage>3</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_52"> <id>15</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_53"> <id>16</id> <stage>2</stage> <latency>8</latency> </item> </operations> </item> <item class_id_reference="25" object_id="_54"> <id>16</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="27" object_id="_55"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_56"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_57"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_58"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_59"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_60"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_61"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_62"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="27" object_id="_63"> <id>16</id> <stage>1</stage> <latency>8</latency> </item> <item class_id_reference="27" object_id="_64"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="28" tracking_level="0" version="0"> <count>15</count> <item_version>0</item_version> <item class_id="29" tracking_level="1" version="0" object_id="_65"> <inState>1</inState> <outState>2</outState> <condition class_id="30" tracking_level="0" version="0"> <id>16</id> <sop class_id="31" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="32" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="29" object_id="_66"> <inState>2</inState> <outState>3</outState> <condition> <id>17</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="29" object_id="_67"> <inState>3</inState> <outState>4</outState> <condition> <id>18</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="29" object_id="_68"> <inState>4</inState> <outState>5</outState> <condition> <id>19</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="29" object_id="_69"> <inState>5</inState> <outState>6</outState> <condition> <id>20</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="29" object_id="_70"> <inState>6</inState> <outState>7</outState> <condition> <id>21</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="29" object_id="_71"> <inState>7</inState> <outState>8</outState> <condition> <id>22</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="29" object_id="_72"> <inState>8</inState> <outState>9</outState> <condition> <id>23</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="29" object_id="_73"> <inState>9</inState> <outState>10</outState> <condition> <id>24</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="29" object_id="_74"> <inState>10</inState> <outState>11</outState> <condition> <id>25</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="29" object_id="_75"> <inState>11</inState> <outState>12</outState> <condition> <id>26</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="29" object_id="_76"> <inState>12</inState> <outState>13</outState> <condition> <id>27</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="29" object_id="_77"> <inState>13</inState> <outState>14</outState> <condition> <id>28</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="29" object_id="_78"> <inState>14</inState> <outState>15</outState> <condition> <id>29</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="29" object_id="_79"> <inState>15</inState> <outState>16</outState> <condition> <id>30</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="33" tracking_level="1" version="0" object_id="_80"> <dp_component_resource class_id="34" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="35" tracking_level="0" version="0"> <first>adders_add_32ns_32ns_32_8_U0 (adders_add_32ns_32ns_32_8)</first> <second class_id="36" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="37" tracking_level="0" version="0"> <first>FF</first> <second>375</second> </item> <item> <first>LUT</first> <second>32</second> </item> </second> </item> <item> <first>adders_add_32ns_32ns_32_8_U1 (adders_add_32ns_32ns_32_8)</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>FF</first> <second>375</second> </item> <item> <first>LUT</first> <second>32</second> </item> </second> </item> </dp_component_resource> <dp_expression_resource> <count>0</count> <item_version>0</item_version> </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>17</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>17</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>2</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>16</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>16</second> </item> </second> </item> <item> <first>tmp1_reg_61</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> </dp_register_resource> <dp_component_map class_id="38" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="39" tracking_level="0" version="0"> <first>adders_add_32ns_32ns_32_8_U0 (adders_add_32ns_32ns_32_8)</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>adders_add_32ns_32ns_32_8_U1 (adders_add_32ns_32ns_32_8)</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </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="40" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>9</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>0</first> <second>7</second> </second> </item> <item> <first>16</first> <second> <first>8</first> <second>7</second> </second> </item> <item> <first>17</first> <second> <first>15</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="43" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>18</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>15</second> </second> </item> </bblk_ent_exit> <regions class_id="46" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="47" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>22</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>28</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>34</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>40</first> <second> <count>8</count> <item_version>0</item_version> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> </second> </item> <item> <first>46</first> <second> <count>8</count> <item_version>0</item_version> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="50" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>2</count> <item_version>0</item_version> <item class_id="51" tracking_level="0" version="0"> <first>grp_fu_40</first> <second> <count>8</count> <item_version>0</item_version> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> <item>15</item> </second> </item> <item> <first>grp_fu_46</first> <second> <count>8</count> <item_version>0</item_version> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> <item>16</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>3</count> <item_version>0</item_version> <item> <first>in1_read_read_fu_28</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>in2_read_read_fu_34</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>in3_read_read_fu_22</first> <second> <count>1</count> <item_version>0</item_version> <item>9</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>17</item> </second> </item> </return_ports> <dp_mem_port_nodes class_id="52" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>4</count> <item_version>0</item_version> <item> <first>51</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>56</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>61</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>66</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>4</count> <item_version>0</item_version> <item> <first>in1_read_reg_56</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>in2_read_reg_66</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>in3_read_reg_51</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>tmp1_reg_61</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="53" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>in1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </second> </item> <item> <first>in2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> </second> </item> <item> <first>in3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="55" 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>
30.649073
98
0.462043
9a18caba72758595cef7d4388625e8aed2583b5f
1,047
adb
Ada
src/fsmaker-commands-export.adb
Fabien-Chouteau/fsmaker
3d96522852077c3865bb21ad3705f570733f1d7a
[ "MIT" ]
null
null
null
src/fsmaker-commands-export.adb
Fabien-Chouteau/fsmaker
3d96522852077c3865bb21ad3705f570733f1d7a
[ "MIT" ]
null
null
null
src/fsmaker-commands-export.adb
Fabien-Chouteau/fsmaker
3d96522852077c3865bb21ad3705f570733f1d7a
[ "MIT" ]
null
null
null
with FSmaker.Source; with FSmaker.Sink.File; with FSmaker.Sink.Hexdump; package body FSmaker.Commands.Export is ------------- -- Execute -- ------------- overriding procedure Execute (This : in out Instance; Args : AAA.Strings.Vector) is Dir : Directory_Tree; begin This.Setup_Image; if Args.Count /= 2 then This.Failure ("takes exactly two arguments"); elsif (not Valid_Target_Path (Args (1))) then This.Failure ("Invalid target path: '" & String'(Args (1)) & "'"); else declare File : Sink.Class := Sink.File.Create (Args (2)); begin This.Target.Cat (To_Target_Path (Args (1)), File); end; end if; end Execute; -------------------- -- Setup_Switches -- -------------------- overriding procedure Setup_Switches (This : in out Instance; Config : in out CLIC.Subcommand.Switches_Configuration) is begin null; end Setup_Switches; end FSmaker.Commands.Export;
22.276596
75
0.563515
19b6583d04e03dcb309ddae1047c51f90dc719a7
91
adb
Ada
tests/typing/bad/testfile-arith-1.adb
xuedong/mini-ada
59a8b966cf50ba22a3b5a7cb449f671e4da32e44
[ "MIT" ]
null
null
null
tests/typing/bad/testfile-arith-1.adb
xuedong/mini-ada
59a8b966cf50ba22a3b5a7cb449f671e4da32e44
[ "MIT" ]
1
2019-03-10T19:13:21.000Z
2019-03-10T19:19:46.000Z
tests/typing/bad/testfile-arith-1.adb
xuedong/mini-ada
59a8b966cf50ba22a3b5a7cb449f671e4da32e44
[ "MIT" ]
null
null
null
with Ada.Text_IO; use Ada.Text_IO; procedure Test is X : Integer; begin X := 1 + 'a'; end;
30.333333
55
0.67033
197b4a9abfc9fcd0c5999d39e8351626e8663167
5,684
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/s-gloloc.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-gloloc.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/s-gloloc.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . G L O B A L _ L O C K S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1999-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 System.Soft_Links; -- used for Lock_Task, Unlock_Task package body System.Global_Locks is type String_Access is access String; Dir_Separator : Character; pragma Import (C, Dir_Separator, "__gnat_dir_separator"); type Lock_File_Entry is record Dir : String_Access; File : String_Access; end record; Last_Lock : Lock_Type := Null_Lock; Lock_Table : array (Lock_Type range 1 .. 15) of Lock_File_Entry; procedure Lock_File (Dir : String; File : String; Wait : Duration := 0.1; Retries : Natural := Natural'Last); -- Create a lock file File in directory Dir. If the file cannot be -- locked because someone already owns the lock, this procedure -- waits Wait seconds and retries at most Retries times. If the file -- still cannot be locked, Lock_Error is raised. The default is to try -- every second, almost forever (Natural'Last times). ------------------ -- Acquire_Lock -- ------------------ procedure Acquire_Lock (Lock : in out Lock_Type) is begin Lock_File (Lock_Table (Lock).Dir.all, Lock_Table (Lock).File.all); end Acquire_Lock; ----------------- -- Create_Lock -- ----------------- procedure Create_Lock (Lock : out Lock_Type; Name : String) is L : Lock_Type; begin System.Soft_Links.Lock_Task.all; Last_Lock := Last_Lock + 1; L := Last_Lock; System.Soft_Links.Unlock_Task.all; if L > Lock_Table'Last then raise Lock_Error; end if; for J in reverse Name'Range loop if Name (J) = Dir_Separator then Lock_Table (L).Dir := new String'(Name (Name'First .. J - 1)); Lock_Table (L).File := new String'(Name (J + 1 .. Name'Last)); exit; end if; end loop; if Lock_Table (L).Dir = null then Lock_Table (L).Dir := new String'("."); Lock_Table (L).File := new String'(Name); end if; Lock := L; end Create_Lock; --------------- -- Lock_File -- --------------- procedure Lock_File (Dir : String; File : String; Wait : Duration := 0.1; Retries : Natural := Natural'Last) is C_Dir : aliased String := Dir & ASCII.NUL; C_File : aliased String := File & ASCII.NUL; function Try_Lock (Dir, File : System.Address) return Integer; pragma Import (C, Try_Lock, "__gnat_try_lock"); begin for I in 0 .. Retries loop if Try_Lock (C_Dir'Address, C_File'Address) = 1 then return; end if; exit when I = Retries; delay Wait; end loop; raise Lock_Error; end Lock_File; ------------------ -- Release_Lock -- ------------------ procedure Release_Lock (Lock : in out Lock_Type) is S : aliased String := Lock_Table (Lock).Dir.all & Dir_Separator & Lock_Table (Lock).File.all & ASCII.NUL; procedure unlink (A : System.Address); pragma Import (C, unlink, "unlink"); begin unlink (S'Address); end Release_Lock; end System.Global_Locks;
37.150327
78
0.501759
8b7ebd6b6b16175fd491de88bb34010bedbcc865
145
ads
Ada
src/GBA.BIOS.Raw.ads
98devin/ada-gba-dev
6ebca014b7537117144d878db8d13db49aa00cee
[ "Zlib" ]
7
2021-04-08T02:32:54.000Z
2022-02-14T01:21:43.000Z
src/GBA.BIOS.Raw.ads
98devin/ada-gba-dev
6ebca014b7537117144d878db8d13db49aa00cee
[ "Zlib" ]
15
2021-04-09T20:13:33.000Z
2021-12-22T01:03:59.000Z
src/GBA.BIOS.Raw.ads
98devin/ada-gba-dev
6ebca014b7537117144d878db8d13db49aa00cee
[ "Zlib" ]
1
2021-06-12T07:48:05.000Z
2021-06-12T07:48:05.000Z
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. package GBA.BIOS.Raw is pragma Preelaborate; end GBA.BIOS.Raw;
16.111111
43
0.717241
9ad38622a1c6379219e14916f6593ce6f80eac5b
1,098
adb
Ada
rex/lib/source.adb
cocolab8/cocktail-src
f708f2a3fc5806e72c8109348a7e0c93304afdaf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rex/lib/source.adb
cocolab8/cocktail-src
f708f2a3fc5806e72c8109348a7e0c93304afdaf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rex/lib/source.adb
cocolab8/cocktail-src
f708f2a3fc5806e72c8109348a7e0c93304afdaf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
-- $Id: source.adb,v 1.1 1997/05/27 21:44:35 grosch rel $ with System; Use System; $@ package body $Source is function BeginSource (FileName: String) return Integer is function OpenInput (FileName: Address) return Integer; pragma Interface (C, OpenInput); pragma Interface_Name (OpenInput, "OpenInput"); C_Name : String (1 .. 256); begin C_Name (1 .. FileName'Last) := FileName; C_Name (FileName'Last + 1) := Character'Val (0); return OpenInput (C_Name'Address); end BeginSource; procedure GetLine (File: Integer; Buffer: out String; Size: Integer; Last: out Integer) is function rRead (File: Integer; Buffer: Address; Size: Integer) return Integer; pragma Interface (C, rRead); pragma Interface_Name (rRead, "rRead"); begin Last := rRead (File, Buffer'Address, Size); end GetLine; procedure CloseSource (File: Integer) is procedure rClose (File: Integer); pragma Interface (C, rClose); pragma Interface_Name (rClose, "rClose"); begin rClose (File); end CloseSource; $@ end $Source;
31.371429
90
0.664845
a06a69bb2bfa284a7ab1d6095b64855eaaea0ab0
9,075
adb
Ada
src/lcd_graphic_backend.adb
Fabien-Chouteau/coffee-clock
6b8b8dd8741887c522fcf6f1ce5f1a5b73921b27
[ "MIT" ]
7
2017-05-17T13:51:47.000Z
2021-11-11T19:17:50.000Z
src/lcd_graphic_backend.adb
Fabien-Chouteau/coffee-clock
6b8b8dd8741887c522fcf6f1ce5f1a5b73921b27
[ "MIT" ]
null
null
null
src/lcd_graphic_backend.adb
Fabien-Chouteau/coffee-clock
6b8b8dd8741887c522fcf6f1ce5f1a5b73921b27
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- -- Copyright (C) 2016-2017 Fabien Chouteau -- -- -- -- Coffee Clock 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. -- -- -- -- Coffee Clock 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 We Noise Maker. If not, see <http://www.gnu.org/licenses/>. -- -- -- ------------------------------------------------------------------------------- with STM32; use STM32; with STM32.DMA2D; use STM32.DMA2D; with STM32.DMA2D_Bitmap; with STM32.Board; use STM32.Board; with HAL.Bitmap; use HAL.Bitmap; with HAL; use HAL; with Giza.Image.DMA2D; package body LCD_Graphic_Backend is Initialized : Boolean := False; subtype Height is Integer range 0 .. 480 - 1; subtype Width is Integer range 0 .. 800 - 1; function Is_In_Screen (Pt : Point_T) return Boolean; function HAL_To_DMA2D (Mode : HAL.Bitmap.Bitmap_Color_Mode) return STM32.DMA2D.DMA2D_Color_Mode; ------------------ -- HAL_To_DMA2D -- ------------------ function HAL_To_DMA2D (Mode : HAL.Bitmap.Bitmap_Color_Mode) return STM32.DMA2D.DMA2D_Color_Mode is (case Mode is when ARGB_8888 => DMA2D.ARGB8888, when RGB_888 => DMA2D.RGB888, when RGB_565 => DMA2D.RGB565, when ARGB_1555 => DMA2D.ARGB1555, when ARGB_4444 => DMA2D.ARGB4444, when L_8 => DMA2D.L8, when AL_44 => DMA2D.AL44, when AL_88 => DMA2D.AL88, when L_4 => DMA2D.L4, when A_8 => DMA2D.A8, when A_4 => DMA2D.A4); ---------------- -- Initialize -- ---------------- procedure Initialize is begin if not Initialized then Initialized := True; -- Initialize LCD Display.Initialize; Display.Initialize_Layer (1, ARGB_8888); Display.Get_Hidden_Buffer (1).Fill ((Alpha => 255, others => 64)); Display.Update_Layer (1, Copy_Back => True); end if; end Initialize; ------------------ -- Is_In_Screen -- ------------------ function Is_In_Screen (Pt : Point_T) return Boolean is begin return Pt.X in Dim (Width'First) .. Dim (Width'Last) and then Pt.Y in Dim (Height'First) .. Dim (Height'Last); end Is_In_Screen; --------------- -- Set_Pixel -- --------------- overriding procedure Set_Pixel (This : in out Instance; Pt : Point_T) is begin if Is_In_Screen (Pt) then Display.Get_Hidden_Buffer (1).Set_Pixel (X => Pt.X, Y => Pt.Y, Value => This.RGB_Color); end if; end Set_Pixel; --------------- -- Set_Color -- --------------- overriding procedure Set_Color (This : in out Instance; C : Giza.Colors.Color) is begin This.RGB_Color := (255, Byte (C.R), Byte (C.G), Byte (C.B)); end Set_Color; ---------- -- Size -- ---------- overriding function Size (This : Instance) return Size_T is pragma Unreferenced (This); begin return (Dim (Width'Last), Dim (Height'Last)); end Size; ------------------------- -- Has_Double_Buffring -- ------------------------- overriding function Has_Double_Buffring (This : Instance) return Boolean is pragma Unreferenced (This); begin return True; end Has_Double_Buffring; ------------------ -- Swap_Buffers -- ------------------ overriding procedure Swap_Buffers (This : in out Instance) is pragma Unreferenced (This); begin Display.Update_Layer (1, Copy_Back => False); Display.Get_Hidden_Buffer (1).Fill ((Alpha => 255, others => 64)); end Swap_Buffers; --------------- -- Rectangle -- --------------- overriding procedure Rectangle (This : in out Instance; Start, Stop : Point_T) is X0 : constant Integer := Start.X; Y0 : constant Integer := Start.Y; X1 : constant Integer := Stop.X; Y1 : constant Integer := Stop.Y; begin if Is_In_Screen (Start) and then Is_In_Screen (Stop) then Display.Get_Hidden_Buffer (1).Draw_Rect (Color => This.RGB_Color, X => X0, Y => Y0, Width => X1 - X0 + 1, Height => Y1 - Y0 + 1); end if; end Rectangle; -------------------- -- Fill_Rectangle -- -------------------- overriding procedure Fill_Rectangle (This : in out Instance; Start, Stop : Point_T) is X0 : constant Integer := Dim'Min (Start.X, Stop.X); Y0 : constant Integer := Dim'Min (Start.Y, Stop.Y); X1 : constant Integer := Dim'Max (Start.X, Stop.X); Y1 : constant Integer := Dim'Max (Start.Y, Stop.Y); begin if Is_In_Screen (Start) and then Is_In_Screen (Stop) then Display.Get_Hidden_Buffer (1).Fill_Rect (Color => This.RGB_Color, X => X0, Y => Y0, Width => X1 - X0 + 1, Height => Y1 - Y0 + 1); end if; end Fill_Rectangle; ---------------- -- Draw_Image -- ---------------- overriding procedure Draw_Image (This : in out Instance; Img : Giza.Image.Class; Pt : Point_T) is begin if Img in Giza.Image.DMA2D.Class then declare DMA2D_Img : Giza.Image.DMA2D.Instance renames Giza.Image.DMA2D.Instance (Img); DMA2D_Mode : constant STM32.DMA2D.DMA2D_Color_Mode := (case DMA2D_Img.Mode is when Giza.Image.DMA2D.RGB888 => STM32.DMA2D.RGB888, when Giza.Image.DMA2D.L8 => STM32.DMA2D.L8, when Giza.Image.DMA2D.L4 => STM32.DMA2D.L4); DMA2D_Buffer : STM32.DMA2D.DMA2D_Buffer (Color_Mode => DMA2D_Mode); begin case DMA2D_Img.Mode is when Giza.Image.DMA2D.RGB888 => DMA2D_Buffer.Addr := DMA2D_Img.RGB888_Data (DMA2D_Img.RGB888_Data'First)'Address; when Giza.Image.DMA2D.L8 => DMA2D_Buffer.CLUT_Color_Mode := STM32.DMA2D.RGB888; DMA2D_Buffer.CLUT_Addr := DMA2D_Img.L8_CLUT (DMA2D_Img.L8_CLUT'First)'Address; DMA2D_Buffer.Addr := DMA2D_Img.L8_Data (DMA2D_Img.L8_Data'First)'Address; when Giza.Image.DMA2D.L4 => DMA2D_Buffer.CLUT_Color_Mode := STM32.DMA2D.RGB888; DMA2D_Buffer.CLUT_Addr := DMA2D_Img.L4_CLUT (DMA2D_Img.L4_CLUT'First)'Address; DMA2D_Buffer.Addr := DMA2D_Img.L4_Data (DMA2D_Img.L4_Data'First)'Address; end case; DMA2D_Buffer.Width := DMA2D_Img.W; DMA2D_Buffer.Height := DMA2D_Img.H; STM32.DMA2D.DMA2D_Copy_Rect (Src_Buffer => DMA2D_Buffer, X_Src => 0, Y_Src => 0, Dst_Buffer => STM32.DMA2D_Bitmap.To_DMA2D_Buffer (Display.Get_Hidden_Buffer (1)), X_Dst => Pt.X, Y_Dst => Pt.Y, Bg_Buffer => STM32.DMA2D.Null_Buffer, X_Bg => 0, Y_Bg => 0, Width => DMA2D_Img.Size.W, Height => DMA2D_Img.Size.H, Synchronous => False); end; else Draw_Image (Parent (This), Img, Pt); end if; end Draw_Image; end LCD_Graphic_Backend;
35.869565
84
0.47438
8bd2b1af7e6d9ec55b2389c56e551de905c78ca1
59,004
adb
Ada
tools-src/gnu/gcc/gcc/ada/5staprop.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/5staprop.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/5staprop.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 -- -- -- -- S Y S T E M . T A S K _ P R I M I T I V E S . O P E R A T I O N S -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1991-2001, Florida State University -- -- -- -- 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. It is -- -- now maintained by Ada Core Technologies Inc. in cooperation with Florida -- -- State University (http://www.gnat.com). -- -- -- ------------------------------------------------------------------------------ -- This is a Solaris (native) version of this package -- This package contains all the GNULL primitives that interface directly -- with the underlying OS. pragma Polling (Off); -- Turn off polling, we do not want ATC polling to take place during -- tasking operations. It causes infinite loops and other problems. with System.Tasking.Debug; -- used for Known_Tasks with Ada.Exceptions; -- used for Raise_Exception with GNAT.OS_Lib; -- used for String_Access, Getenv with Interfaces.C; -- used for int -- size_t with System.Interrupt_Management; -- used for Keep_Unmasked -- Abort_Task_Interrupt -- Interrupt_ID with System.Interrupt_Management.Operations; -- used for Set_Interrupt_Mask -- All_Tasks_Mask pragma Elaborate_All (System.Interrupt_Management.Operations); with System.Parameters; -- used for Size_Type with System.Tasking; -- used for Ada_Task_Control_Block -- Task_ID -- ATCB components and types with System.Task_Info; -- to initialize Task_Info for a C thread, in function Self with System.Soft_Links; -- used for Defer/Undefer_Abort -- to initialize TSD for a C thread, in function Self -- Note that we do not use System.Tasking.Initialization directly since -- this is a higher level package that we shouldn't depend on. For example -- when using the restricted run time, it is replaced by -- System.Tasking.Restricted.Initialization with System.OS_Primitives; -- used for Delay_Modes with Unchecked_Conversion; with Unchecked_Deallocation; package body System.Task_Primitives.Operations is use System.Tasking.Debug; use System.Tasking; use Interfaces.C; use System.OS_Interface; use System.Parameters; use Ada.Exceptions; use System.OS_Primitives; package SSL renames System.Soft_Links; ------------------ -- Local Data -- ------------------ ATCB_Magic_Code : constant := 16#ADAADAAD#; -- This is used to allow us to catch attempts to call Self -- from outside an Ada task, with high probability. -- For an Ada task, Task_Wrapper.Magic_Number = ATCB_Magic_Code. -- The following are logically constants, but need to be initialized -- at run time. Environment_Task_ID : Task_ID; -- A variable to hold Task_ID for the environment task. -- If we use this variable to get the Task_ID, we need the following -- ATCB_Key only for non-Ada threads. Unblocked_Signal_Mask : aliased sigset_t; -- The set of signals that should unblocked in all tasks ATCB_Key : aliased thread_key_t; -- Key used to find the Ada Task_ID associated with a thread, -- at least for C threads unknown to the Ada run-time system. All_Tasks_L : aliased System.Task_Primitives.RTS_Lock; -- See comments on locking rules in System.Tasking (spec). Next_Serial_Number : Task_Serial_Number := 100; -- We start at 100, to reserve some special values for -- using in error checking. -- The following are internal configuration constants needed. ------------------------ -- Priority Support -- ------------------------ Dynamic_Priority_Support : constant Boolean := True; -- controls whether we poll for pending priority changes during sleeps Priority_Ceiling_Emulation : constant Boolean := True; -- controls whether we emulate priority ceiling locking -- To get a scheduling close to annex D requirements, we use the real-time -- class provided for LWP's and map each task/thread to a specific and -- unique LWP (there is 1 thread per LWP, and 1 LWP per thread). -- The real time class can only be set when the process has root -- priviledges, so in the other cases, we use the normal thread scheduling -- and priority handling. Using_Real_Time_Class : Boolean := False; -- indicates wether the real time class is being used (i.e the process -- has root priviledges). Prio_Param : aliased struct_pcparms; -- Hold priority info (Real_Time) initialized during the package -- elaboration. ------------------------------------- -- External Configuration Values -- ------------------------------------- Time_Slice_Val : Interfaces.C.long; pragma Import (C, Time_Slice_Val, "__gl_time_slice_val"); Locking_Policy : Character; pragma Import (C, Locking_Policy, "__gl_locking_policy"); Dispatching_Policy : Character; pragma Import (C, Dispatching_Policy, "__gl_task_dispatching_policy"); -------------------------------- -- Foreign Threads Detection -- -------------------------------- -- The following are used to allow the Self function to -- automatically generate ATCB's for C threads that happen to call -- Ada procedure, which in turn happen to call the Ada run-time system. type Fake_ATCB; type Fake_ATCB_Ptr is access Fake_ATCB; type Fake_ATCB is record Stack_Base : Interfaces.C.unsigned := 0; -- A value of zero indicates the node is not in use. Next : Fake_ATCB_Ptr; Real_ATCB : aliased Ada_Task_Control_Block (0); end record; Fake_ATCB_List : Fake_ATCB_Ptr; -- A linear linked list. -- The list is protected by All_Tasks_L; -- Nodes are added to this list from the front. -- Once a node is added to this list, it is never removed. Fake_Task_Elaborated : aliased Boolean := True; -- Used to identified fake tasks (i.e., non-Ada Threads). Next_Fake_ATCB : Fake_ATCB_Ptr; -- Used to allocate one Fake_ATCB in advance. See comment in New_Fake_ATCB ------------ -- Checks -- ------------ Check_Count : Integer := 0; Old_Owner : Task_ID; Lock_Count : Integer := 0; Unlock_Count : Integer := 0; function To_Lock_Ptr is new Unchecked_Conversion (RTS_Lock_Ptr, Lock_Ptr); function To_Task_ID is new Unchecked_Conversion (Owner_ID, Task_ID); function To_Owner_ID is new Unchecked_Conversion (Task_ID, Owner_ID); ----------------------- -- Local Subprograms -- ----------------------- function sysconf (name : System.OS_Interface.int) return processorid_t; pragma Import (C, sysconf, "sysconf"); SC_NPROCESSORS_CONF : constant System.OS_Interface.int := 14; function Num_Procs (name : System.OS_Interface.int := SC_NPROCESSORS_CONF) return processorid_t renames sysconf; procedure Abort_Handler (Sig : Signal; Code : access siginfo_t; Context : access ucontext_t); function To_thread_t is new Unchecked_Conversion (Integer, System.OS_Interface.thread_t); function To_Task_ID is new Unchecked_Conversion (System.Address, Task_ID); function To_Address is new Unchecked_Conversion (Task_ID, System.Address); type Ptr is access Task_ID; function To_Ptr is new Unchecked_Conversion (Interfaces.C.unsigned, Ptr); function To_Ptr is new Unchecked_Conversion (System.Address, Ptr); type Iptr is access Interfaces.C.unsigned; function To_Iptr is new Unchecked_Conversion (Interfaces.C.unsigned, Iptr); function Thread_Body_Access is new Unchecked_Conversion (System.Address, Thread_Body); function New_Fake_ATCB (Stack_Base : Interfaces.C.unsigned) return Task_ID; -- Allocate and Initialize a new ATCB. This code can safely be called from -- a foreign thread, as it doesn't access implicitly or explicitly -- "self" before having initialized the new ATCB. ------------ -- Checks -- ------------ function Check_Initialize_Lock (L : Lock_Ptr; Level : Lock_Level) return Boolean; pragma Inline (Check_Initialize_Lock); function Check_Lock (L : Lock_Ptr) return Boolean; pragma Inline (Check_Lock); function Record_Lock (L : Lock_Ptr) return Boolean; pragma Inline (Record_Lock); function Check_Sleep (Reason : Task_States) return Boolean; pragma Inline (Check_Sleep); function Record_Wakeup (L : Lock_Ptr; Reason : Task_States) return Boolean; pragma Inline (Record_Wakeup); function Check_Wakeup (T : Task_ID; Reason : Task_States) return Boolean; pragma Inline (Check_Wakeup); function Check_Unlock (L : Lock_Ptr) return Boolean; pragma Inline (Check_Lock); function Check_Finalize_Lock (L : Lock_Ptr) return Boolean; pragma Inline (Check_Finalize_Lock); ------------------- -- New_Fake_ATCB -- ------------------- function New_Fake_ATCB (Stack_Base : Interfaces.C.unsigned) return Task_ID is Self_ID : Task_ID; P, Q : Fake_ATCB_Ptr; Succeeded : Boolean; Result : Interfaces.C.int; begin -- This section is ticklish. -- We dare not call anything that might require an ATCB, until -- we have the new ATCB in place. -- Note: we don't use "Write_Lock (All_Tasks_L'Access);" because -- we don't yet have an ATCB, and so can't pass the safety check. Result := mutex_lock (All_Tasks_L.L'Access); Q := null; P := Fake_ATCB_List; while P /= null loop if P.Stack_Base = 0 then Q := P; elsif thr_kill (P.Real_ATCB.Common.LL.Thread, 0) /= 0 then -- ???? -- If a C thread that has dependent Ada tasks terminates -- abruptly, e.g. as a result of cancellation, any dependent -- tasks are likely to hang up in termination. P.Stack_Base := 0; Q := P; end if; P := P.Next; end loop; if Q = null then -- Create a new ATCB with zero entries. Self_ID := Next_Fake_ATCB.Real_ATCB'Access; Next_Fake_ATCB.Stack_Base := Stack_Base; Next_Fake_ATCB.Next := Fake_ATCB_List; Fake_ATCB_List := Next_Fake_ATCB; Next_Fake_ATCB := null; else -- Reuse an existing fake ATCB. Self_ID := Q.Real_ATCB'Access; Q.Stack_Base := Stack_Base; end if; -- Do the standard initializations System.Tasking.Initialize_ATCB (Self_ID, null, Null_Address, Null_Task, Fake_Task_Elaborated'Access, System.Priority'First, Task_Info.Unspecified_Task_Info, 0, Self_ID, Succeeded); pragma Assert (Succeeded); -- Record this as the Task_ID for the current thread. Self_ID.Common.LL.Thread := thr_self; Result := thr_setspecific (ATCB_Key, To_Address (Self_ID)); pragma Assert (Result = 0); -- Finally, it is safe to use an allocator in this thread. if Next_Fake_ATCB = null then Next_Fake_ATCB := new Fake_ATCB; end if; Self_ID.Master_of_Task := 0; Self_ID.Master_Within := Self_ID.Master_of_Task + 1; for L in Self_ID.Entry_Calls'Range loop Self_ID.Entry_Calls (L).Self := Self_ID; Self_ID.Entry_Calls (L).Level := L; end loop; Self_ID.Common.State := Runnable; Self_ID.Awake_Count := 1; -- Since this is not an ordinary Ada task, we will start out undeferred Self_ID.Deferral_Level := 0; -- Give the task a unique serial number. Self_ID.Serial_Number := Next_Serial_Number; Next_Serial_Number := Next_Serial_Number + 1; pragma Assert (Next_Serial_Number /= 0); System.Soft_Links.Create_TSD (Self_ID.Common.Compiler_Data); -- ???? -- The following call is commented out to avoid dependence on -- the System.Tasking.Initialization package. -- It seems that if we want Ada.Task_Attributes to work correctly -- for C threads we will need to raise the visibility of this soft -- link to System.Soft_Links. -- We are putting that off until this new functionality is otherwise -- stable. -- System.Tasking.Initialization.Initialize_Attributes_Link.all (T); -- Must not unlock until Next_ATCB is again allocated. for J in Known_Tasks'Range loop if Known_Tasks (J) = null then Known_Tasks (J) := Self_ID; Self_ID.Known_Tasks_Index := J; exit; end if; end loop; Result := mutex_unlock (All_Tasks_L.L'Access); -- We cannot use "Unlock (All_Tasks_L'Access);" because -- we did not use Write_Lock, and so would not pass the checks. return Self_ID; end New_Fake_ATCB; ------------------- -- Abort_Handler -- ------------------- -- Target-dependent binding of inter-thread Abort signal to -- the raising of the Abort_Signal exception. -- The technical issues and alternatives here are essentially -- the same as for raising exceptions in response to other -- signals (e.g. Storage_Error). See code and comments in -- the package body System.Interrupt_Management. -- Some implementations may not allow an exception to be propagated -- out of a handler, and others might leave the signal or -- interrupt that invoked this handler masked after the exceptional -- return to the application code. -- GNAT exceptions are originally implemented using setjmp()/longjmp(). -- On most UNIX systems, this will allow transfer out of a signal handler, -- which is usually the only mechanism available for implementing -- asynchronous handlers of this kind. However, some -- systems do not restore the signal mask on longjmp(), leaving the -- abort signal masked. -- Alternative solutions include: -- 1. Change the PC saved in the system-dependent Context -- parameter to point to code that raises the exception. -- Normal return from this handler will then raise -- the exception after the mask and other system state has -- been restored (see example below). -- 2. Use siglongjmp()/sigsetjmp() to implement exceptions. -- 3. Unmask the signal in the Abortion_Signal exception handler -- (in the RTS). -- The following procedure would be needed if we can't longjmp out of -- a signal handler. (See below.) -- procedure Raise_Abort_Signal is -- begin -- raise Standard'Abort_Signal; -- end if; -- ??? -- The comments above need revising. They are partly obsolete. procedure Abort_Handler (Sig : Signal; Code : access siginfo_t; Context : access ucontext_t) is Self_ID : Task_ID := Self; Result : Interfaces.C.int; Old_Set : aliased sigset_t; begin -- Assuming it is safe to longjmp out of a signal handler, the -- following code can be used: if Self_ID.Deferral_Level = 0 and then Self_ID.Pending_ATC_Level < Self_ID.ATC_Nesting_Level and then not Self_ID.Aborting then -- You can comment the following out, -- to make all aborts synchronous, for debugging. Self_ID.Aborting := True; -- Make sure signals used for RTS internal purpose are unmasked Result := thr_sigsetmask (SIG_UNBLOCK, Unblocked_Signal_Mask'Unchecked_Access, Old_Set'Unchecked_Access); pragma Assert (Result = 0); raise Standard'Abort_Signal; -- ????? -- Must be certain that the implementation of "raise" -- does not make any OS/thread calls, or at least that -- if it makes any, they are safe for interruption by -- async. signals. end if; -- Otherwise, something like this is required: -- if not Abort_Is_Deferred.all then -- -- Overwrite the return PC address with the address of the -- -- special raise routine, and "return" to that routine's -- -- starting address. -- Context.PC := Raise_Abort_Signal'Address; -- return; -- end if; end Abort_Handler; ------------------- -- Stack_Guard -- ------------------- -- The underlying thread system sets a guard page at the -- bottom of a thread stack, so nothing is needed. procedure Stack_Guard (T : ST.Task_ID; On : Boolean) is begin null; end Stack_Guard; -------------------- -- Get_Thread_Id -- -------------------- function Get_Thread_Id (T : ST.Task_ID) return OSI.Thread_Id is begin return T.Common.LL.Thread; end Get_Thread_Id; ----------- -- Self -- ----------- function Self return Task_ID is separate; --------------------- -- Initialize_Lock -- --------------------- -- Note: mutexes and cond_variables needed per-task basis are -- initialized in Initialize_TCB and the Storage_Error is -- handled. Other mutexes (such as All_Tasks_L, Memory_Lock...) -- used in RTS is initialized before any status change of RTS. -- Therefore rasing Storage_Error in the following routines -- should be able to be handled safely. procedure Initialize_Lock (Prio : System.Any_Priority; L : access Lock) is Result : Interfaces.C.int; begin pragma Assert (Check_Initialize_Lock (Lock_Ptr (L), PO_Level)); if Priority_Ceiling_Emulation then L.Ceiling := Prio; end if; Result := mutex_init (L.L'Access, USYNC_THREAD, System.Null_Address); pragma Assert (Result = 0 or else Result = ENOMEM); if Result = ENOMEM then Raise_Exception (Storage_Error'Identity, "Failed to allocate a lock"); end if; end Initialize_Lock; procedure Initialize_Lock (L : access RTS_Lock; Level : Lock_Level) is Result : Interfaces.C.int; begin pragma Assert (Check_Initialize_Lock (To_Lock_Ptr (RTS_Lock_Ptr (L)), Level)); Result := mutex_init (L.L'Access, USYNC_THREAD, System.Null_Address); pragma Assert (Result = 0 or else Result = ENOMEM); if Result = ENOMEM then Raise_Exception (Storage_Error'Identity, "Failed to allocate a lock"); end if; end Initialize_Lock; ------------------- -- Finalize_Lock -- ------------------- procedure Finalize_Lock (L : access Lock) is Result : Interfaces.C.int; begin pragma Assert (Check_Finalize_Lock (Lock_Ptr (L))); Result := mutex_destroy (L.L'Access); pragma Assert (Result = 0); end Finalize_Lock; procedure Finalize_Lock (L : access RTS_Lock) is Result : Interfaces.C.int; begin pragma Assert (Check_Finalize_Lock (To_Lock_Ptr (RTS_Lock_Ptr (L)))); Result := mutex_destroy (L.L'Access); pragma Assert (Result = 0); end Finalize_Lock; ---------------- -- Write_Lock -- ---------------- procedure Write_Lock (L : access Lock; Ceiling_Violation : out Boolean) is Result : Interfaces.C.int; begin pragma Assert (Check_Lock (Lock_Ptr (L))); if Priority_Ceiling_Emulation and then Locking_Policy = 'C' then declare Self_Id : constant Task_ID := Self; Saved_Priority : System.Any_Priority; begin if Self_Id.Common.LL.Active_Priority > L.Ceiling then Ceiling_Violation := True; return; end if; Saved_Priority := Self_Id.Common.LL.Active_Priority; if Self_Id.Common.LL.Active_Priority < L.Ceiling then Set_Priority (Self_Id, L.Ceiling); end if; Result := mutex_lock (L.L'Access); pragma Assert (Result = 0); Ceiling_Violation := False; L.Saved_Priority := Saved_Priority; end; else Result := mutex_lock (L.L'Access); pragma Assert (Result = 0); Ceiling_Violation := False; end if; pragma Assert (Record_Lock (Lock_Ptr (L))); end Write_Lock; procedure Write_Lock (L : access RTS_Lock) is Result : Interfaces.C.int; begin pragma Assert (Check_Lock (To_Lock_Ptr (RTS_Lock_Ptr (L)))); Result := mutex_lock (L.L'Access); pragma Assert (Result = 0); pragma Assert (Record_Lock (To_Lock_Ptr (RTS_Lock_Ptr (L)))); end Write_Lock; procedure Write_Lock (T : Task_ID) is Result : Interfaces.C.int; begin pragma Assert (Check_Lock (To_Lock_Ptr (T.Common.LL.L'Access))); Result := mutex_lock (T.Common.LL.L.L'Access); pragma Assert (Result = 0); pragma Assert (Record_Lock (To_Lock_Ptr (T.Common.LL.L'Access))); end Write_Lock; --------------- -- Read_Lock -- --------------- procedure Read_Lock (L : access Lock; Ceiling_Violation : out Boolean) is begin Write_Lock (L, Ceiling_Violation); end Read_Lock; ------------ -- Unlock -- ------------ procedure Unlock (L : access Lock) is Result : Interfaces.C.int; begin pragma Assert (Check_Unlock (Lock_Ptr (L))); if Priority_Ceiling_Emulation and then Locking_Policy = 'C' then declare Self_Id : constant Task_ID := Self; begin Result := mutex_unlock (L.L'Access); pragma Assert (Result = 0); if Self_Id.Common.LL.Active_Priority > L.Saved_Priority then Set_Priority (Self_Id, L.Saved_Priority); end if; end; else Result := mutex_unlock (L.L'Access); pragma Assert (Result = 0); end if; end Unlock; procedure Unlock (L : access RTS_Lock) is Result : Interfaces.C.int; begin pragma Assert (Check_Unlock (To_Lock_Ptr (RTS_Lock_Ptr (L)))); Result := mutex_unlock (L.L'Access); pragma Assert (Result = 0); end Unlock; procedure Unlock (T : Task_ID) is Result : Interfaces.C.int; begin pragma Assert (Check_Unlock (To_Lock_Ptr (T.Common.LL.L'Access))); Result := mutex_unlock (T.Common.LL.L.L'Access); pragma Assert (Result = 0); end Unlock; -- For the time delay implementation, we need to make sure we -- achieve following criteria: -- 1) We have to delay at least for the amount requested. -- 2) We have to give up CPU even though the actual delay does not -- result in blocking. -- 3) Except for restricted run-time systems that do not support -- ATC or task abort, the delay must be interrupted by the -- abort_task operation. -- 4) The implementation has to be efficient so that the delay overhead -- is relatively cheap. -- (1)-(3) are Ada requirements. Even though (2) is an Annex-D -- requirement we still want to provide the effect in all cases. -- The reason is that users may want to use short delays to implement -- their own scheduling effect in the absence of language provided -- scheduling policies. --------------------- -- Monotonic_Clock -- --------------------- function Monotonic_Clock return Duration is TS : aliased timespec; Result : Interfaces.C.int; begin Result := clock_gettime (CLOCK_REALTIME, TS'Unchecked_Access); pragma Assert (Result = 0); return To_Duration (TS); end Monotonic_Clock; ------------------- -- RT_Resolution -- ------------------- function RT_Resolution return Duration is begin return 10#1.0#E-6; end RT_Resolution; ----------- -- Yield -- ----------- procedure Yield (Do_Yield : Boolean := True) is begin if Do_Yield then System.OS_Interface.thr_yield; end if; end Yield; ------------------ -- Set_Priority -- ------------------ procedure Set_Priority (T : Task_ID; Prio : System.Any_Priority; Loss_Of_Inheritance : Boolean := False) is Result : Interfaces.C.int; Param : aliased struct_pcparms; use Task_Info; begin T.Common.Current_Priority := Prio; if Priority_Ceiling_Emulation then T.Common.LL.Active_Priority := Prio; end if; if Using_Real_Time_Class then Param.pc_cid := Prio_Param.pc_cid; Param.rt_pri := pri_t (Prio); Param.rt_tqsecs := Prio_Param.rt_tqsecs; Param.rt_tqnsecs := Prio_Param.rt_tqnsecs; Result := Interfaces.C.int ( priocntl (PC_VERSION, P_LWPID, T.Common.LL.LWP, PC_SETPARMS, Param'Address)); else if T.Common.Task_Info /= null and then not T.Common.Task_Info.Bound_To_LWP then -- The task is not bound to a LWP, so use thr_setprio Result := thr_setprio (T.Common.LL.Thread, Interfaces.C.int (Prio)); else -- The task is bound to a LWP, use priocntl -- ??? TBD null; end if; end if; end Set_Priority; ------------------ -- Get_Priority -- ------------------ function Get_Priority (T : Task_ID) return System.Any_Priority is begin return T.Common.Current_Priority; end Get_Priority; ---------------- -- Enter_Task -- ---------------- procedure Enter_Task (Self_ID : Task_ID) is Result : Interfaces.C.int; Proc : processorid_t; -- User processor # Last_Proc : processorid_t; -- Last processor # use System.Task_Info; begin Self_ID.Common.LL.Thread := thr_self; Self_ID.Common.LL.LWP := lwp_self; if Self_ID.Common.Task_Info /= null then if Self_ID.Common.Task_Info.New_LWP and then Self_ID.Common.Task_Info.CPU /= CPU_UNCHANGED then Last_Proc := Num_Procs - 1; if Self_ID.Common.Task_Info.CPU = ANY_CPU then Result := 0; Proc := 0; while Proc < Last_Proc loop Result := p_online (Proc, PR_STATUS); exit when Result = PR_ONLINE; Proc := Proc + 1; end loop; Result := processor_bind (P_LWPID, P_MYID, Proc, null); pragma Assert (Result = 0); else -- Use specified processor if Self_ID.Common.Task_Info.CPU < 0 or else Self_ID.Common.Task_Info.CPU > Last_Proc then raise Invalid_CPU_Number; end if; Result := processor_bind (P_LWPID, P_MYID, Self_ID.Common.Task_Info.CPU, null); pragma Assert (Result = 0); end if; end if; end if; Result := thr_setspecific (ATCB_Key, To_Address (Self_ID)); pragma Assert (Result = 0); -- We need the above code even if we do direct fetch of Task_ID in Self -- for the main task on Sun, x86 Solaris and for gcc 2.7.2. Lock_All_Tasks_List; for I in Known_Tasks'Range loop if Known_Tasks (I) = null then Known_Tasks (I) := Self_ID; Self_ID.Known_Tasks_Index := I; exit; end if; end loop; Unlock_All_Tasks_List; end Enter_Task; -------------- -- New_ATCB -- -------------- function New_ATCB (Entry_Num : Task_Entry_Index) return Task_ID is begin return new Ada_Task_Control_Block (Entry_Num); end New_ATCB; ---------------------- -- Initialize_TCB -- ---------------------- procedure Initialize_TCB (Self_ID : Task_ID; Succeeded : out Boolean) is Result : Interfaces.C.int; begin -- Give the task a unique serial number. Self_ID.Serial_Number := Next_Serial_Number; Next_Serial_Number := Next_Serial_Number + 1; pragma Assert (Next_Serial_Number /= 0); Self_ID.Common.LL.Thread := To_thread_t (-1); Result := mutex_init (Self_ID.Common.LL.L.L'Access, USYNC_THREAD, System.Null_Address); Self_ID.Common.LL.L.Level := Private_Task_Serial_Number (Self_ID.Serial_Number); pragma Assert (Result = 0 or else Result = ENOMEM); if Result = 0 then Result := cond_init (Self_ID.Common.LL.CV'Access, USYNC_THREAD, 0); pragma Assert (Result = 0 or else Result = ENOMEM); if Result /= 0 then Result := mutex_destroy (Self_ID.Common.LL.L.L'Access); pragma Assert (Result = 0); Succeeded := False; else Succeeded := True; end if; else Succeeded := False; end if; end Initialize_TCB; ----------------- -- Create_Task -- ----------------- procedure Create_Task (T : Task_ID; Wrapper : System.Address; Stack_Size : System.Parameters.Size_Type; Priority : System.Any_Priority; Succeeded : out Boolean) is Result : Interfaces.C.int; Adjusted_Stack_Size : Interfaces.C.size_t; Opts : Interfaces.C.int := THR_DETACHED; Page_Size : constant System.Parameters.Size_Type := 4096; -- This constant is for reserving extra space at the -- end of the stack, which can be used by the stack -- checking as guard page. The idea is that we need -- to have at least Stack_Size bytes available for -- actual use. use System.Task_Info; begin if Stack_Size = System.Parameters.Unspecified_Size then Adjusted_Stack_Size := Interfaces.C.size_t (Default_Stack_Size + Page_Size); elsif Stack_Size < Minimum_Stack_Size then Adjusted_Stack_Size := Interfaces.C.size_t (Minimum_Stack_Size + Page_Size); else Adjusted_Stack_Size := Interfaces.C.size_t (Stack_Size + Page_Size); end if; -- Since the initial signal mask of a thread is inherited from the -- creator, and the Environment task has all its signals masked, we -- do not need to manipulate caller's signal mask at this point. -- All tasks in RTS will have All_Tasks_Mask initially. if T.Common.Task_Info /= null then if T.Common.Task_Info.New_LWP then Opts := Opts + THR_NEW_LWP; end if; if T.Common.Task_Info.Bound_To_LWP then Opts := Opts + THR_BOUND; end if; else Opts := THR_DETACHED + THR_BOUND; end if; Result := thr_create (System.Null_Address, Adjusted_Stack_Size, Thread_Body_Access (Wrapper), To_Address (T), Opts, T.Common.LL.Thread'Access); Succeeded := Result = 0; pragma Assert (Result = 0 or else Result = ENOMEM or else Result = EAGAIN); end Create_Task; ------------------ -- Finalize_TCB -- ------------------ procedure Finalize_TCB (T : Task_ID) is Result : Interfaces.C.int; Tmp : Task_ID := T; procedure Free is new Unchecked_Deallocation (Ada_Task_Control_Block, Task_ID); begin T.Common.LL.Thread := To_thread_t (0); Result := mutex_destroy (T.Common.LL.L.L'Access); pragma Assert (Result = 0); Result := cond_destroy (T.Common.LL.CV'Access); pragma Assert (Result = 0); if T.Known_Tasks_Index /= -1 then Known_Tasks (T.Known_Tasks_Index) := null; end if; Free (Tmp); end Finalize_TCB; --------------- -- Exit_Task -- --------------- -- This procedure must be called with abort deferred. -- It can no longer call Self or access -- the current task's ATCB, since the ATCB has been deallocated. procedure Exit_Task is begin thr_exit (System.Null_Address); end Exit_Task; ---------------- -- Abort_Task -- ---------------- procedure Abort_Task (T : Task_ID) is Result : Interfaces.C.int; begin pragma Assert (T /= Self); Result := thr_kill (T.Common.LL.Thread, Signal (System.Interrupt_Management.Abort_Task_Interrupt)); null; pragma Assert (Result = 0); end Abort_Task; ------------- -- Sleep -- ------------- procedure Sleep (Self_ID : Task_ID; Reason : Task_States) is Result : Interfaces.C.int; begin pragma Assert (Check_Sleep (Reason)); if Dynamic_Priority_Support and then Self_ID.Pending_Priority_Change then Self_ID.Pending_Priority_Change := False; Self_ID.Common.Base_Priority := Self_ID.New_Base_Priority; Set_Priority (Self_ID, Self_ID.Common.Base_Priority); end if; Result := cond_wait (Self_ID.Common.LL.CV'Access, Self_ID.Common.LL.L.L'Access); pragma Assert (Result = 0 or else Result = EINTR); pragma Assert (Record_Wakeup (To_Lock_Ptr (Self_ID.Common.LL.L'Access), Reason)); end Sleep; -- Note that we are relying heaviliy here on the GNAT feature -- that Calendar.Time, System.Real_Time.Time, Duration, and -- System.Real_Time.Time_Span are all represented in the same -- way, i.e., as a 64-bit count of nanoseconds. -- This allows us to always pass the timeout value as a Duration. -- ??? -- We are taking liberties here with the semantics of the delays. -- That is, we make no distinction between delays on the Calendar clock -- and delays on the Real_Time clock. That is technically incorrect, if -- the Calendar clock happens to be reset or adjusted. -- To solve this defect will require modification to the compiler -- interface, so that it can pass through more information, to tell -- us here which clock to use! -- cond_timedwait will return if any of the following happens: -- 1) some other task did cond_signal on this condition variable -- In this case, the return value is 0 -- 2) the call just returned, for no good reason -- This is called a "spurious wakeup". -- In this case, the return value may also be 0. -- 3) the time delay expires -- In this case, the return value is ETIME -- 4) this task received a signal, which was handled by some -- handler procedure, and now the thread is resuming execution -- UNIX calls this an "interrupted" system call. -- In this case, the return value is EINTR -- If the cond_timedwait returns 0 or EINTR, it is still -- possible that the time has actually expired, and by chance -- a signal or cond_signal occurred at around the same time. -- We have also observed that on some OS's the value ETIME -- will be returned, but the clock will show that the full delay -- has not yet expired. -- For these reasons, we need to check the clock after return -- from cond_timedwait. If the time has expired, we will set -- Timedout = True. -- This check might be omitted for systems on which the -- cond_timedwait() never returns early or wakes up spuriously. -- Annex D requires that completion of a delay cause the task -- to go to the end of its priority queue, regardless of whether -- the task actually was suspended by the delay. Since -- cond_timedwait does not do this on Solaris, we add a call -- to thr_yield at the end. We might do this at the beginning, -- instead, but then the round-robin effect would not be the -- same; the delayed task would be ahead of other tasks of the -- same priority that awoke while it was sleeping. -- For Timed_Sleep, we are expecting possible cond_signals -- to indicate other events (e.g., completion of a RV or -- completion of the abortable part of an async. select), -- we want to always return if interrupted. The caller will -- be responsible for checking the task state to see whether -- the wakeup was spurious, and to go back to sleep again -- in that case. We don't need to check for pending abort -- or priority change on the way in our out; that is the -- caller's responsibility. -- For Timed_Delay, we are not expecting any cond_signals or -- other interruptions, except for priority changes and aborts. -- Therefore, we don't want to return unless the delay has -- actually expired, or the call has been aborted. In this -- case, since we want to implement the entire delay statement -- semantics, we do need to check for pending abort and priority -- changes. We can quietly handle priority changes inside the -- procedure, since there is no entry-queue reordering involved. ----------------- -- Timed_Sleep -- ----------------- -- This is for use within the run-time system, so abort is -- assumed to be already deferred, and the caller should be -- holding its own ATCB lock. -- Yielded should be False unles we know for certain that the -- operation resulted in the calling task going to the end of -- the dispatching queue for its priority. -- ??? -- This version presumes the worst, so Yielded is always False. -- On some targets, if cond_timedwait always yields, we could -- set Yielded to True just before the cond_timedwait call. procedure Timed_Sleep (Self_ID : Task_ID; Time : Duration; Mode : ST.Delay_Modes; Reason : System.Tasking.Task_States; Timedout : out Boolean; Yielded : out Boolean) is Check_Time : constant Duration := Monotonic_Clock; Abs_Time : Duration; Request : aliased timespec; Result : Interfaces.C.int; begin pragma Assert (Check_Sleep (Reason)); Timedout := True; Yielded := False; if Mode = Relative then Abs_Time := Duration'Min (Time, Max_Sensible_Delay) + Check_Time; else Abs_Time := Duration'Min (Check_Time + Max_Sensible_Delay, Time); end if; if Abs_Time > Check_Time then Request := To_Timespec (Abs_Time); loop exit when Self_ID.Pending_ATC_Level < Self_ID.ATC_Nesting_Level or else (Dynamic_Priority_Support and then Self_ID.Pending_Priority_Change); Result := cond_timedwait (Self_ID.Common.LL.CV'Access, Self_ID.Common.LL.L.L'Access, Request'Access); exit when Abs_Time <= Monotonic_Clock; if Result = 0 or Result = EINTR then -- somebody may have called Wakeup for us Timedout := False; exit; end if; pragma Assert (Result = ETIME); end loop; end if; pragma Assert (Record_Wakeup (To_Lock_Ptr (Self_ID.Common.LL.L'Access), Reason)); end Timed_Sleep; ----------------- -- Timed_Delay -- ----------------- -- This is for use in implementing delay statements, so -- we assume the caller is abort-deferred but is holding -- no locks. procedure Timed_Delay (Self_ID : Task_ID; Time : Duration; Mode : ST.Delay_Modes) is Check_Time : constant Duration := Monotonic_Clock; Abs_Time : Duration; Request : aliased timespec; Result : Interfaces.C.int; begin -- Only the little window between deferring abort and -- locking Self_ID is the reason we need to -- check for pending abort and priority change below! SSL.Abort_Defer.all; Write_Lock (Self_ID); if Mode = Relative then Abs_Time := Time + Check_Time; else Abs_Time := Duration'Min (Check_Time + Max_Sensible_Delay, Time); end if; if Abs_Time > Check_Time then Request := To_Timespec (Abs_Time); Self_ID.Common.State := Delay_Sleep; pragma Assert (Check_Sleep (Delay_Sleep)); loop if Dynamic_Priority_Support and then Self_ID.Pending_Priority_Change then Self_ID.Pending_Priority_Change := False; Self_ID.Common.Base_Priority := Self_ID.New_Base_Priority; Set_Priority (Self_ID, Self_ID.Common.Base_Priority); end if; exit when Self_ID.Pending_ATC_Level < Self_ID.ATC_Nesting_Level; Result := cond_timedwait (Self_ID.Common.LL.CV'Access, Self_ID.Common.LL.L.L'Access, Request'Access); exit when Abs_Time <= Monotonic_Clock; pragma Assert (Result = 0 or else Result = ETIME or else Result = EINTR); end loop; pragma Assert (Record_Wakeup (To_Lock_Ptr (Self_ID.Common.LL.L'Access), Delay_Sleep)); Self_ID.Common.State := Runnable; end if; Unlock (Self_ID); thr_yield; SSL.Abort_Undefer.all; end Timed_Delay; ------------ -- Wakeup -- ------------ procedure Wakeup (T : Task_ID; Reason : Task_States) is Result : Interfaces.C.int; begin pragma Assert (Check_Wakeup (T, Reason)); Result := cond_signal (T.Common.LL.CV'Access); pragma Assert (Result = 0); end Wakeup; --------------------------- -- Check_Initialize_Lock -- --------------------------- -- The following code is intended to check some of the invariant -- assertions related to lock usage, on which we depend. function Check_Initialize_Lock (L : Lock_Ptr; Level : Lock_Level) return Boolean is Self_ID : constant Task_ID := Self; begin -- Check that caller is abort-deferred if Self_ID.Deferral_Level <= 0 then return False; end if; -- Check that the lock is not yet initialized if L.Level /= 0 then return False; end if; L.Level := Lock_Level'Pos (Level) + 1; return True; end Check_Initialize_Lock; ---------------- -- Check_Lock -- ---------------- function Check_Lock (L : Lock_Ptr) return Boolean is Self_ID : Task_ID := Self; P : Lock_Ptr; begin -- Check that the argument is not null if L = null then return False; end if; -- Check that L is not frozen if L.Frozen then return False; end if; -- Check that caller is abort-deferred if Self_ID.Deferral_Level <= 0 then return False; end if; -- Check that caller is not holding this lock already if L.Owner = To_Owner_ID (Self_ID) then return False; end if; -- Check that TCB lock order rules are satisfied P := Self_ID.Common.LL.Locks; if P /= null then if P.Level >= L.Level and then (P.Level > 2 or else L.Level > 2) then return False; end if; end if; return True; end Check_Lock; ----------------- -- Record_Lock -- ----------------- function Record_Lock (L : Lock_Ptr) return Boolean is Self_ID : Task_ID := Self; P : Lock_Ptr; begin Lock_Count := Lock_Count + 1; -- There should be no owner for this lock at this point if L.Owner /= null then return False; end if; -- Record new owner L.Owner := To_Owner_ID (Self_ID); -- Check that TCB lock order rules are satisfied P := Self_ID.Common.LL.Locks; if P /= null then L.Next := P; end if; Self_ID.Common.LL.Locking := null; Self_ID.Common.LL.Locks := L; return True; end Record_Lock; ----------------- -- Check_Sleep -- ----------------- function Check_Sleep (Reason : Task_States) return Boolean is Self_ID : Task_ID := Self; P : Lock_Ptr; begin -- Check that caller is abort-deferred if Self_ID.Deferral_Level <= 0 then return False; end if; -- Check that caller is holding own lock, on top of list if Self_ID.Common.LL.Locks /= To_Lock_Ptr (Self_ID.Common.LL.L'Access) then return False; end if; -- Check that TCB lock order rules are satisfied if Self_ID.Common.LL.Locks.Next /= null then return False; end if; Self_ID.Common.LL.L.Owner := null; P := Self_ID.Common.LL.Locks; Self_ID.Common.LL.Locks := Self_ID.Common.LL.Locks.Next; P.Next := null; return True; end Check_Sleep; ------------------- -- Record_Wakeup -- ------------------- function Record_Wakeup (L : Lock_Ptr; Reason : Task_States) return Boolean is Self_ID : Task_ID := Self; P : Lock_Ptr; begin -- Record new owner L.Owner := To_Owner_ID (Self_ID); -- Check that TCB lock order rules are satisfied P := Self_ID.Common.LL.Locks; if P /= null then L.Next := P; end if; Self_ID.Common.LL.Locking := null; Self_ID.Common.LL.Locks := L; return True; end Record_Wakeup; ------------------ -- Check_Wakeup -- ------------------ function Check_Wakeup (T : Task_ID; Reason : Task_States) return Boolean is Self_ID : Task_ID := Self; begin -- Is caller holding T's lock? if T.Common.LL.L.Owner /= To_Owner_ID (Self_ID) then return False; end if; -- Are reasons for wakeup and sleep consistent? if T.Common.State /= Reason then return False; end if; return True; end Check_Wakeup; ------------------ -- Check_Unlock -- ------------------ function Check_Unlock (L : Lock_Ptr) return Boolean is Self_ID : Task_ID := Self; P : Lock_Ptr; begin Unlock_Count := Unlock_Count + 1; if L = null then return False; end if; if L.Buddy /= null then return False; end if; if L.Level = 4 then Check_Count := Unlock_Count; end if; if Unlock_Count - Check_Count > 1000 then Check_Count := Unlock_Count; Old_Owner := To_Task_ID (All_Tasks_L.Owner); end if; -- Check that caller is abort-deferred if Self_ID.Deferral_Level <= 0 then return False; end if; -- Check that caller is holding this lock, on top of list if Self_ID.Common.LL.Locks /= L then return False; end if; -- Record there is no owner now L.Owner := null; P := Self_ID.Common.LL.Locks; Self_ID.Common.LL.Locks := Self_ID.Common.LL.Locks.Next; P.Next := null; return True; end Check_Unlock; -------------------- -- Check_Finalize -- -------------------- function Check_Finalize_Lock (L : Lock_Ptr) return Boolean is Self_ID : Task_ID := Self; begin -- Check that caller is abort-deferred if Self_ID.Deferral_Level <= 0 then return False; end if; -- Check that no one is holding this lock if L.Owner /= null then return False; end if; L.Frozen := True; return True; end Check_Finalize_Lock; ---------------- -- Check_Exit -- ---------------- function Check_Exit (Self_ID : Task_ID) return Boolean is begin -- Check that caller is just holding Global_Task_Lock -- and no other locks if Self_ID.Common.LL.Locks = null then return False; end if; -- 2 = Global_Task_Level if Self_ID.Common.LL.Locks.Level /= 2 then return False; end if; if Self_ID.Common.LL.Locks.Next /= null then return False; end if; -- Check that caller is abort-deferred if Self_ID.Deferral_Level <= 0 then return False; end if; return True; end Check_Exit; -------------------- -- Check_No_Locks -- -------------------- function Check_No_Locks (Self_ID : Task_ID) return Boolean is begin return Self_ID.Common.LL.Locks = null; end Check_No_Locks; ---------------------- -- Environment_Task -- ---------------------- function Environment_Task return Task_ID is begin return Environment_Task_ID; end Environment_Task; ------------------------- -- Lock_All_Tasks_List -- ------------------------- procedure Lock_All_Tasks_List is begin Write_Lock (All_Tasks_L'Access); end Lock_All_Tasks_List; --------------------------- -- Unlock_All_Tasks_List -- --------------------------- procedure Unlock_All_Tasks_List is begin Unlock (All_Tasks_L'Access); end Unlock_All_Tasks_List; ------------------ -- Suspend_Task -- ------------------ function Suspend_Task (T : ST.Task_ID; Thread_Self : Thread_Id) return Boolean is begin if T.Common.LL.Thread /= Thread_Self then return thr_suspend (T.Common.LL.Thread) = 0; else return True; end if; end Suspend_Task; ----------------- -- Resume_Task -- ----------------- function Resume_Task (T : ST.Task_ID; Thread_Self : Thread_Id) return Boolean is begin if T.Common.LL.Thread /= Thread_Self then return thr_continue (T.Common.LL.Thread) = 0; else return True; end if; end Resume_Task; ---------------- -- Initialize -- ---------------- procedure Initialize (Environment_Task : ST.Task_ID) is act : aliased struct_sigaction; old_act : aliased struct_sigaction; Tmp_Set : aliased sigset_t; Result : Interfaces.C.int; procedure Configure_Processors; -- Processors configuration -- The user can specify a processor which the program should run -- on to emulate a single-processor system. This can be easily -- done by setting environment variable GNAT_PROCESSOR to one of -- the following : -- -- -2 : use the default configuration (run the program on all -- available processors) - this is the same as having -- GNAT_PROCESSOR unset -- -1 : let the RTS choose one processor and run the program on -- that processor -- 0 .. Last_Proc : run the program on the specified processor -- -- Last_Proc is equal to the value of the system variable -- _SC_NPROCESSORS_CONF, minus one. procedure Configure_Processors is Proc_Acc : constant GNAT.OS_Lib.String_Access := GNAT.OS_Lib.Getenv ("GNAT_PROCESSOR"); begin if Proc_Acc.all'Length /= 0 then -- Environment variable is defined declare Proc : aliased processorid_t; -- User processor # Last_Proc : processorid_t; -- Last processor # begin Last_Proc := Num_Procs - 1; if Last_Proc = -1 then -- Unable to read system variable _SC_NPROCESSORS_CONF -- Ignore environment variable GNAT_PROCESSOR null; else Proc := processorid_t'Value (Proc_Acc.all); if Proc < -2 or Proc > Last_Proc then raise Constraint_Error; elsif Proc = -2 then -- Use the default configuration null; elsif Proc = -1 then -- Choose a processor Result := 0; while Proc < Last_Proc loop Proc := Proc + 1; Result := p_online (Proc, PR_STATUS); exit when Result = PR_ONLINE; end loop; pragma Assert (Result = PR_ONLINE); Result := processor_bind (P_PID, P_MYID, Proc, null); pragma Assert (Result = 0); else -- Use user processor Result := processor_bind (P_PID, P_MYID, Proc, null); pragma Assert (Result = 0); end if; end if; exception when Constraint_Error => -- Illegal environment variable GNAT_PROCESSOR - ignored null; end; end if; end Configure_Processors; -- Start of processing for Initialize begin Environment_Task_ID := Environment_Task; -- This is done in Enter_Task, but this is too late for the -- Environment Task, since we need to call Self in Check_Locks when -- the run time is compiled with assertions on. Result := thr_setspecific (ATCB_Key, To_Address (Environment_Task)); pragma Assert (Result = 0); -- Initialize the lock used to synchronize chain of all ATCBs. Initialize_Lock (All_Tasks_L'Access, All_Tasks_Level); Enter_Task (Environment_Task); -- Install the abort-signal handler -- Set sa_flags to SA_NODEFER so that during the handler execution -- we do not change the Signal_Mask to be masked for the Abort_Signal. -- This is a temporary fix to the problem that the Signal_Mask is -- not restored after the exception (longjmp) from the handler. -- The right fix should be made in sigsetjmp so that we save -- the Signal_Set and restore it after a longjmp. -- In that case, this field should be changed back to 0. ??? act.sa_flags := 16; act.sa_handler := Abort_Handler'Address; Result := sigemptyset (Tmp_Set'Access); pragma Assert (Result = 0); act.sa_mask := Tmp_Set; Result := sigaction ( Signal (System.Interrupt_Management.Abort_Task_Interrupt), act'Unchecked_Access, old_act'Unchecked_Access); pragma Assert (Result = 0); Configure_Processors; -- Create a free ATCB for use on the Fake_ATCB_List. Next_Fake_ATCB := new Fake_ATCB; end Initialize; -- Package elaboration begin declare Result : Interfaces.C.int; begin -- Mask Environment task for all signals. The original mask of the -- Environment task will be recovered by Interrupt_Server task -- during the elaboration of s-interr.adb. System.Interrupt_Management.Operations.Set_Interrupt_Mask (System.Interrupt_Management.Operations.All_Tasks_Mask'Access); -- Prepare the set of signals that should unblocked in all tasks Result := sigemptyset (Unblocked_Signal_Mask'Access); pragma Assert (Result = 0); for J in Interrupt_Management.Interrupt_ID loop if System.Interrupt_Management.Keep_Unmasked (J) then Result := sigaddset (Unblocked_Signal_Mask'Access, Signal (J)); pragma Assert (Result = 0); end if; end loop; -- We need the following code to support automatic creation of fake -- ATCB's for C threads that call the Ada run-time system, even if -- we use a faster way of getting Self for real Ada tasks. Result := thr_keycreate (ATCB_Key'Access, System.Null_Address); pragma Assert (Result = 0); end; if Dispatching_Policy = 'F' then declare Result : Interfaces.C.long; Class_Info : aliased struct_pcinfo; Secs, Nsecs : Interfaces.C.long; begin -- If a pragma Time_Slice is specified, takes the value in account. if Time_Slice_Val > 0 then -- Convert Time_Slice_Val (microseconds) into seconds and -- nanoseconds Secs := Time_Slice_Val / 1_000_000; Nsecs := (Time_Slice_Val rem 1_000_000) * 1_000; -- Otherwise, default to no time slicing (i.e run until blocked) else Secs := RT_TQINF; Nsecs := RT_TQINF; end if; -- Get the real time class id. Class_Info.pc_clname (1) := 'R'; Class_Info.pc_clname (2) := 'T'; Class_Info.pc_clname (3) := ASCII.Nul; Result := priocntl (PC_VERSION, P_LWPID, P_MYID, PC_GETCID, Class_Info'Address); -- Request the real time class Prio_Param.pc_cid := Class_Info.pc_cid; Prio_Param.rt_pri := pri_t (Class_Info.rt_maxpri); Prio_Param.rt_tqsecs := Secs; Prio_Param.rt_tqnsecs := Nsecs; Result := priocntl (PC_VERSION, P_LWPID, P_MYID, PC_SETPARMS, Prio_Param'Address); Using_Real_Time_Class := Result /= -1; end; end if; end System.Task_Primitives.Operations;
30.414433
79
0.595688
a0baf1574f4c79eb1098ae5942b985908e90e703
10,437
adb
Ada
obj/b__main.adb
ScottWLoyd/ada_dynamic_libs
88ad4d539d09297dc35309f94c6a292fade25b8a
[ "Unlicense" ]
1
2021-12-06T11:44:47.000Z
2021-12-06T11:44:47.000Z
obj/b__main.adb
ScottWLoyd/ada_dynamic_libs
88ad4d539d09297dc35309f94c6a292fade25b8a
[ "Unlicense" ]
null
null
null
obj/b__main.adb
ScottWLoyd/ada_dynamic_libs
88ad4d539d09297dc35309f94c6a292fade25b8a
[ "Unlicense" ]
null
null
null
pragma Ada_95; pragma Warnings (Off); pragma Source_File_Name (ada_main, Spec_File_Name => "b__main.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__main.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body ada_main is E151 : Short_Integer; pragma Import (Ada, E151, "system__os_lib_E"); E013 : Short_Integer; pragma Import (Ada, E013, "system__soft_links_E"); E023 : Short_Integer; pragma Import (Ada, E023, "system__exception_table_E"); E134 : Short_Integer; pragma Import (Ada, E134, "ada__io_exceptions_E"); E046 : Short_Integer; pragma Import (Ada, E046, "ada__strings_E"); E048 : Short_Integer; pragma Import (Ada, E048, "ada__strings__maps_E"); E052 : Short_Integer; pragma Import (Ada, E052, "ada__strings__maps__constants_E"); E116 : Short_Integer; pragma Import (Ada, E116, "ada__tags_E"); E133 : Short_Integer; pragma Import (Ada, E133, "ada__streams_E"); E063 : Short_Integer; pragma Import (Ada, E063, "interfaces__c_E"); E025 : Short_Integer; pragma Import (Ada, E025, "system__exceptions_E"); E154 : Short_Integer; pragma Import (Ada, E154, "system__file_control_block_E"); E149 : Short_Integer; pragma Import (Ada, E149, "system__file_io_E"); E136 : Short_Integer; pragma Import (Ada, E136, "system__finalization_root_E"); E131 : Short_Integer; pragma Import (Ada, E131, "ada__finalization_E"); E138 : Short_Integer; pragma Import (Ada, E138, "system__storage_pools_E"); E128 : Short_Integer; pragma Import (Ada, E128, "system__finalization_masters_E"); E126 : Short_Integer; pragma Import (Ada, E126, "system__storage_pools__subpools_E"); E006 : Short_Integer; pragma Import (Ada, E006, "ada__calendar_E"); E095 : Short_Integer; pragma Import (Ada, E095, "ada__calendar__time_zones_E"); E061 : Short_Integer; pragma Import (Ada, E061, "system__object_reader_E"); E041 : Short_Integer; pragma Import (Ada, E041, "system__dwarf_lines_E"); E017 : Short_Integer; pragma Import (Ada, E017, "system__secondary_stack_E"); E114 : Short_Integer; pragma Import (Ada, E114, "ada__strings__unbounded_E"); E091 : Short_Integer; pragma Import (Ada, E091, "ada__directories_E"); E156 : Short_Integer; pragma Import (Ada, E156, "system__regexp_E"); E036 : Short_Integer; pragma Import (Ada, E036, "system__traceback__symbolic_E"); E158 : Short_Integer; pragma Import (Ada, E158, "ada__text_io_E"); Local_Priority_Specific_Dispatching : constant String := ""; Local_Interrupt_States : constant String := ""; Is_Elaborated : Boolean := False; procedure finalize_library is begin E158 := E158 - 1; declare procedure F1; pragma Import (Ada, F1, "ada__text_io__finalize_spec"); begin F1; end; E091 := E091 - 1; E156 := E156 - 1; declare procedure F2; pragma Import (Ada, F2, "system__regexp__finalize_spec"); begin F2; end; declare procedure F3; pragma Import (Ada, F3, "ada__directories__finalize_spec"); begin F3; end; E114 := E114 - 1; declare procedure F4; pragma Import (Ada, F4, "ada__strings__unbounded__finalize_spec"); begin F4; end; declare procedure F5; pragma Import (Ada, F5, "system__file_io__finalize_body"); begin E149 := E149 - 1; F5; end; E128 := E128 - 1; E126 := E126 - 1; declare procedure F6; pragma Import (Ada, F6, "system__storage_pools__subpools__finalize_spec"); begin F6; end; declare procedure F7; pragma Import (Ada, F7, "system__finalization_masters__finalize_spec"); begin F7; end; declare procedure Reraise_Library_Exception_If_Any; pragma Import (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any"); begin Reraise_Library_Exception_If_Any; end; end finalize_library; procedure adafinal is procedure s_stalib_adafinal; pragma Import (C, s_stalib_adafinal, "system__standard_library__adafinal"); procedure Runtime_Finalize; pragma Import (C, Runtime_Finalize, "__gnat_runtime_finalize"); begin if not Is_Elaborated then return; end if; Is_Elaborated := False; Runtime_Finalize; s_stalib_adafinal; end adafinal; type No_Param_Proc is access procedure; procedure adainit is Main_Priority : Integer; pragma Import (C, Main_Priority, "__gl_main_priority"); Time_Slice_Value : Integer; pragma Import (C, Time_Slice_Value, "__gl_time_slice_val"); WC_Encoding : Character; pragma Import (C, WC_Encoding, "__gl_wc_encoding"); Locking_Policy : Character; pragma Import (C, Locking_Policy, "__gl_locking_policy"); Queuing_Policy : Character; pragma Import (C, Queuing_Policy, "__gl_queuing_policy"); Task_Dispatching_Policy : Character; pragma Import (C, Task_Dispatching_Policy, "__gl_task_dispatching_policy"); Priority_Specific_Dispatching : System.Address; pragma Import (C, Priority_Specific_Dispatching, "__gl_priority_specific_dispatching"); Num_Specific_Dispatching : Integer; pragma Import (C, Num_Specific_Dispatching, "__gl_num_specific_dispatching"); Main_CPU : Integer; pragma Import (C, Main_CPU, "__gl_main_cpu"); Interrupt_States : System.Address; pragma Import (C, Interrupt_States, "__gl_interrupt_states"); Num_Interrupt_States : Integer; pragma Import (C, Num_Interrupt_States, "__gl_num_interrupt_states"); Unreserve_All_Interrupts : Integer; pragma Import (C, Unreserve_All_Interrupts, "__gl_unreserve_all_interrupts"); Detect_Blocking : Integer; pragma Import (C, Detect_Blocking, "__gl_detect_blocking"); Default_Stack_Size : Integer; pragma Import (C, Default_Stack_Size, "__gl_default_stack_size"); Leap_Seconds_Support : Integer; pragma Import (C, Leap_Seconds_Support, "__gl_leap_seconds_support"); Bind_Env_Addr : System.Address; pragma Import (C, Bind_Env_Addr, "__gl_bind_env_addr"); procedure Runtime_Initialize (Install_Handler : Integer); pragma Import (C, Runtime_Initialize, "__gnat_runtime_initialize"); Finalize_Library_Objects : No_Param_Proc; pragma Import (C, Finalize_Library_Objects, "__gnat_finalize_library_objects"); begin if Is_Elaborated then return; end if; Is_Elaborated := True; Main_Priority := -1; Time_Slice_Value := -1; WC_Encoding := 'b'; Locking_Policy := ' '; Queuing_Policy := ' '; Task_Dispatching_Policy := ' '; Priority_Specific_Dispatching := Local_Priority_Specific_Dispatching'Address; Num_Specific_Dispatching := 0; Main_CPU := -1; Interrupt_States := Local_Interrupt_States'Address; Num_Interrupt_States := 0; Unreserve_All_Interrupts := 0; Detect_Blocking := 0; Default_Stack_Size := -1; Leap_Seconds_Support := 0; Runtime_Initialize (1); Finalize_Library_Objects := finalize_library'access; System.Soft_Links'Elab_Spec; System.Exception_Table'Elab_Body; E023 := E023 + 1; Ada.Io_Exceptions'Elab_Spec; E134 := E134 + 1; Ada.Strings'Elab_Spec; E046 := E046 + 1; Ada.Strings.Maps'Elab_Spec; Ada.Strings.Maps.Constants'Elab_Spec; E052 := E052 + 1; Ada.Tags'Elab_Spec; Ada.Streams'Elab_Spec; E133 := E133 + 1; Interfaces.C'Elab_Spec; System.Exceptions'Elab_Spec; E025 := E025 + 1; System.File_Control_Block'Elab_Spec; E154 := E154 + 1; System.Finalization_Root'Elab_Spec; E136 := E136 + 1; Ada.Finalization'Elab_Spec; E131 := E131 + 1; System.Storage_Pools'Elab_Spec; E138 := E138 + 1; System.Finalization_Masters'Elab_Spec; System.Storage_Pools.Subpools'Elab_Spec; Ada.Calendar'Elab_Spec; Ada.Calendar'Elab_Body; E006 := E006 + 1; Ada.Calendar.Time_Zones'Elab_Spec; E095 := E095 + 1; System.Object_Reader'Elab_Spec; System.Dwarf_Lines'Elab_Spec; E126 := E126 + 1; System.Finalization_Masters'Elab_Body; E128 := E128 + 1; System.File_Io'Elab_Body; E149 := E149 + 1; E063 := E063 + 1; Ada.Tags'Elab_Body; E116 := E116 + 1; E048 := E048 + 1; System.Soft_Links'Elab_Body; E013 := E013 + 1; System.Os_Lib'Elab_Body; E151 := E151 + 1; System.Secondary_Stack'Elab_Body; E017 := E017 + 1; E041 := E041 + 1; E061 := E061 + 1; Ada.Strings.Unbounded'Elab_Spec; E114 := E114 + 1; Ada.Directories'Elab_Spec; System.Regexp'Elab_Spec; E156 := E156 + 1; Ada.Directories'Elab_Body; E091 := E091 + 1; System.Traceback.Symbolic'Elab_Body; E036 := E036 + 1; Ada.Text_Io'Elab_Spec; Ada.Text_Io'Elab_Body; E158 := E158 + 1; end adainit; procedure Ada_Main_Program; pragma Import (Ada, Ada_Main_Program, "_ada_main"); function main (argc : Integer; argv : System.Address; envp : System.Address) return Integer is procedure Initialize (Addr : System.Address); pragma Import (C, Initialize, "__gnat_initialize"); procedure Finalize; pragma Import (C, Finalize, "__gnat_finalize"); SEH : aliased array (1 .. 2) of Integer; Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address; pragma Volatile (Ensure_Reference); begin gnat_argc := argc; gnat_argv := argv; gnat_envp := envp; Initialize (SEH'Address); adainit; Ada_Main_Program; adafinal; Finalize; return (gnat_exit_status); end; -- BEGIN Object file/option list -- C:\Users\sloyd3\Documents\src\Ada_Libraries\test_libraries\obj\main.o -- -LC:\Users\sloyd3\Documents\src\Ada_Libraries\test_libraries\obj\ -- -LC:\Users\sloyd3\Documents\src\Ada_Libraries\test_libraries\obj\ -- -LC:/gnat/2016/lib/gcc/i686-pc-mingw32/4.9.4/adalib/ -- -static -- -lgnat -- -Wl,--stack=0x2000000 -- END Object file/option list end ada_main;
35.62116
109
0.66705
57a5f4c30fadf143d6bd072e6b7ab8e650f31b16
2,039
ads
Ada
source/oasis/program-elements-case_statements.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/oasis/program-elements-case_statements.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/oasis/program-elements-case_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.Statements; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Case_Paths; package Program.Elements.Case_Statements is pragma Pure (Program.Elements.Case_Statements); type Case_Statement is limited interface and Program.Elements.Statements.Statement; type Case_Statement_Access is access all Case_Statement'Class with Storage_Size => 0; not overriding function Selecting_Expression (Self : Case_Statement) return not null Program.Elements.Expressions.Expression_Access is abstract; not overriding function Paths (Self : Case_Statement) return not null Program.Elements.Case_Paths.Case_Path_Vector_Access is abstract; type Case_Statement_Text is limited interface; type Case_Statement_Text_Access is access all Case_Statement_Text'Class with Storage_Size => 0; not overriding function To_Case_Statement_Text (Self : in out Case_Statement) return Case_Statement_Text_Access is abstract; not overriding function Case_Token (Self : Case_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Is_Token (Self : Case_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function End_Token (Self : Case_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Case_Token_2 (Self : Case_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Semicolon_Token (Self : Case_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Case_Statements;
30.893939
74
0.750858
03d6a5a93689ef72c28bdabdc0f3cf3b45cf98ea
10,564
ads
Ada
tools/scitools/conf/understand/ada/ada12/g-table.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/g-table.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/g-table.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . T A B L E -- -- -- -- S p e c -- -- -- -- Copyright (C) 1998-2010, 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. -- -- -- -- -- -- -- -- -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- Resizable one dimensional array support -- This package provides an implementation of dynamically resizable one -- dimensional arrays. The idea is to mimic the normal Ada semantics for -- arrays as closely as possible with the one additional capability of -- dynamically modifying the value of the Last attribute. -- This package provides a facility similar to that of GNAT.Dynamic_Tables, -- except that this package declares a single instance of the table type, -- while an instantiation of GNAT.Dynamic_Tables creates a type that can be -- used to define dynamic instances of the table. -- Note that this interface should remain synchronized with those in -- GNAT.Dynamic_Tables and the GNAT compiler source unit Table to keep -- as much coherency as possible between these three related units. generic type Table_Component_Type is private; type Table_Index_Type is range <>; Table_Low_Bound : Table_Index_Type; Table_Initial : Positive; Table_Increment : Natural; package GNAT.Table is pragma Elaborate_Body; -- Table_Component_Type and Table_Index_Type specify the type of the -- array, Table_Low_Bound is the lower bound. Index_type must be an -- integer type. The effect is roughly to declare: -- Table : array (Table_Index_Type range Table_Low_Bound .. <>) -- of Table_Component_Type; -- Note: since the upper bound can be one less than the lower -- bound for an empty array, the table index type must be able -- to cover this range, e.g. if the lower bound is 1, then the -- Table_Index_Type should be Natural rather than Positive. -- Table_Component_Type may be any Ada type, except that controlled -- types are not supported. Note however that default initialization -- will NOT occur for array components. -- The Table_Initial values controls the allocation of the table when -- it is first allocated, either by default, or by an explicit Init call. -- The Table_Increment value controls the amount of increase, if the -- table has to be increased in size. The value given is a percentage -- value (e.g. 100 = increase table size by 100%, i.e. double it). -- The Last and Set_Last subprograms provide control over the current -- logical allocation. They are quite efficient, so they can be used -- freely (expensive reallocation occurs only at major granularity -- chunks controlled by the allocation parameters). -- Note: we do not make the table components aliased, since this would -- restrict the use of table for discriminated types. If it is necessary -- to take the access of a table element, use Unrestricted_Access. -- WARNING: On HPPA, the virtual addressing approach used in this unit -- is incompatible with the indexing instructions on the HPPA. So when -- using this unit, compile your application with -mdisable-indexing. -- WARNING: If the table is reallocated, then the address of all its -- components will change. So do not capture the address of an element -- and then use the address later after the table may be reallocated. -- One tricky case of this is passing an element of the table to a -- subprogram by reference where the table gets reallocated during -- the execution of the subprogram. The best rule to follow is never -- to pass a table element as a parameter except for the case of IN -- mode parameters with scalar values. type Table_Type is array (Table_Index_Type range <>) of Table_Component_Type; subtype Big_Table_Type is Table_Type (Table_Low_Bound .. Table_Index_Type'Last); -- We work with pointers to a bogus array type that is constrained -- with the maximum possible range bound. This means that the pointer -- is a thin pointer, which is more efficient. Since subscript checks -- in any case must be on the logical, rather than physical bounds, -- safety is not compromised by this approach. These types should never -- be used by the client. type Table_Ptr is access all Big_Table_Type; for Table_Ptr'Storage_Size use 0; -- The table is actually represented as a pointer to allow reallocation. -- This type should never be used by the client. Table : aliased Table_Ptr := null; -- The table itself. The lower bound is the value of Low_Bound. -- Logically the upper bound is the current value of Last (although -- the actual size of the allocated table may be larger than this). -- The program may only access and modify Table entries in the range -- First .. Last. Locked : Boolean := False; -- Table expansion is permitted only if this switch is set to False. A -- client may set Locked to True, in which case any attempt to expand -- the table will cause an assertion failure. Note that while a table -- is locked, its address in memory remains fixed and unchanging. procedure Init; -- This procedure allocates a new table of size Initial (freeing any -- previously allocated larger table). It is not necessary to call -- Init when a table is first instantiated (since the instantiation does -- the same initialization steps). However, it is harmless to do so, and -- Init is convenient in reestablishing a table for new use. function Last return Table_Index_Type; pragma Inline (Last); -- Returns the current value of the last used entry in the table, which -- can then be used as a subscript for Table. Note that the only way to -- modify Last is to call the Set_Last procedure. Last must always be -- used to determine the logically last entry. procedure Release; -- Storage is allocated in chunks according to the values given in the -- Initial and Increment parameters. A call to Release releases all -- storage that is allocated, but is not logically part of the current -- array value. Current array values are not affected by this call. procedure Free; -- Free all allocated memory for the table. A call to Init is required -- before any use of this table after calling Free. First : constant Table_Index_Type := Table_Low_Bound; -- Export First as synonym for Low_Bound (parallel with use of Last) procedure Set_Last (New_Val : Table_Index_Type); pragma Inline (Set_Last); -- This procedure sets Last to the indicated value. If necessary the -- table is reallocated to accommodate the new value (i.e. on return -- the allocated table has an upper bound of at least Last). If Set_Last -- reduces the size of the table, then logically entries are removed -- from the table. If Set_Last increases the size of the table, then -- new entries are logically added to the table. procedure Increment_Last; pragma Inline (Increment_Last); -- Adds 1 to Last (same as Set_Last (Last + 1) procedure Decrement_Last; pragma Inline (Decrement_Last); -- Subtracts 1 from Last (same as Set_Last (Last - 1) procedure Append (New_Val : Table_Component_Type); pragma Inline (Append); -- Equivalent to: -- x.Increment_Last; -- x.Table (x.Last) := New_Val; -- i.e. the table size is increased by one, and the given new item -- stored in the newly created table element. procedure Append_All (New_Vals : Table_Type); -- Appends all components of New_Vals procedure Set_Item (Index : Table_Index_Type; Item : Table_Component_Type); pragma Inline (Set_Item); -- Put Item in the table at position Index. The table is expanded if the -- current table length is less than Index and in that case Last is set to -- Index. Item will replace any value already present in the table at this -- position. function Allocate (Num : Integer := 1) return Table_Index_Type; pragma Inline (Allocate); -- Adds Num to Last, and returns the old value of Last + 1. Note that -- this function has the possible side effect of reallocating the table. -- This means that a reference X.Table (X.Allocate) is incorrect, since -- the call to X.Allocate may modify the results of calling X.Table. end GNAT.Table;
51.531707
78
0.623154
19d4bb4ede819cf7eeb49c30f546a3b26852e4e2
7,012
adb
Ada
3-mid/opengl/source/lean/geometry/lit_colored/opengl-geometry-lit_colored.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
3-mid/opengl/source/lean/geometry/lit_colored/opengl-geometry-lit_colored.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
3-mid/opengl/source/lean/geometry/lit_colored/opengl-geometry-lit_colored.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
with openGL.Program.lit_colored, openGL.Buffer.general, openGL.Shader, openGL.Attribute, openGL.Tasks, openGL.Errors, GL.lean, GL.Pointers, Interfaces.C.Strings, System.storage_Elements; package body openGL.Geometry.lit_colored is use GL.lean, GL.Pointers, Interfaces, System; ------------------ -- Shader Program -- type Program is record vertex_Shader : aliased Shader.item; fragment_Shader : aliased Shader.item; Program : openGL.Program.lit_colored.view; end record; ----------- --- Globals -- the_Program : aliased Program; Attribute_1_Name : aliased C.char_array := "aSite"; Attribute_1_Name_ptr : aliased constant C.strings.chars_ptr := C.strings.to_chars_ptr (Attribute_1_Name'Access); Attribute_2_Name : aliased C.char_array := "aNormal"; Attribute_2_Name_ptr : aliased constant C.strings.chars_ptr := C.strings.to_chars_ptr (Attribute_2_Name'Access); Attribute_3_Name : aliased C.char_array := "aColor"; Attribute_3_Name_ptr : aliased constant C.strings.chars_ptr := C.strings.to_chars_ptr (Attribute_3_Name'Access); --------- -- Forge -- type Geometry_view is access all Geometry.lit_colored.item'Class; function new_Geometry return access Geometry.lit_colored.item'Class is use System.storage_Elements; use type openGL.Program.lit_colored.view; procedure define (the_Program : access Program) is use Attribute.Forge; Sample : Vertex; Attribute_1, Attribute_2, Attribute_3 : Attribute.view; begin the_Program.Program := new openGL.Program.lit_colored.item; the_Program. vertex_Shader.define (Shader.Vertex, "assets/opengl/shader/lit_colored.vert"); the_Program.fragment_Shader.define (Shader.Fragment, "assets/opengl/shader/lit_colored.frag"); the_Program.Program.define (the_Program. vertex_Shader'Access, the_Program.fragment_Shader'Access); Attribute_1 := new_Attribute (Name => "aSite", gl_Location => the_Program.Program.attribute_Location ("aSite"), Size => 3, data_Kind => attribute.GL_FLOAT, Stride => lit_colored.Vertex'Size / 8, Offset => 0, Normalized => False); Attribute_2 := new_Attribute (Name => "aNormal", gl_Location => the_Program.Program.attribute_Location ("aNormal"), Size => 3, data_Kind => attribute.GL_FLOAT, Stride => lit_colored.Vertex'Size / 8, Offset => Sample.Normal (1)'Address - Sample.Site (1)'Address, Normalized => False); Attribute_3 := new_Attribute (Name => "aColor", gl_Location => the_Program.Program.attribute_Location ("aColor"), Size => 4, data_Kind => attribute.GL_UNSIGNED_BYTE, Stride => lit_colored.Vertex'Size / 8, Offset => Sample.Color.Primary.Red'Address - Sample.Site (1) 'Address, Normalized => True); the_Program.Program.add (Attribute_1); the_Program.Program.add (Attribute_2); the_Program.Program.add (Attribute_3); glBindAttribLocation (program => the_Program.Program.gl_Program, index => the_Program.Program.Attribute (named => "aSite").gl_Location, name => +Attribute_1_Name_ptr); Errors.log; glBindAttribLocation (program => the_Program.Program.gl_Program, index => the_Program.Program.Attribute (named => "aNormal").gl_Location, name => +Attribute_2_Name_ptr); Errors.log; glBindAttribLocation (program => the_Program.Program.gl_Program, index => the_Program.Program.Attribute (named => "aColor").gl_Location, name => +Attribute_3_Name_ptr); Errors.log; end define; Self : constant Geometry_view := new Geometry.lit_colored.item; begin Tasks.check; if the_Program.Program = null -- Define the shaders and program, if required. then define (the_Program'Access); end if; Self.Program_is (openGL.Program.view (the_Program.Program)); return Self; end new_Geometry; ---------- -- Vertex -- function is_Transparent (Self : in Vertex_array) return Boolean is function get_Color (Index : in Index_t) return lucid_Color is (Self (Index).Color); function my_Transparency is new get_Transparency (any_Index_t => Index_t, get_Color => get_Color); begin return my_Transparency (Count => Self'Length); end is_Transparent; -------------- -- Attributes -- package openGL_Buffer_of_geometry_Vertices is new Buffer.general (base_Object => Buffer.array_Object, Index => Index_t, Element => Vertex, Element_Array => Vertex_array); procedure Vertices_are (Self : in out Item; Now : in Vertex_array) is use openGL_Buffer_of_geometry_Vertices.Forge; begin Buffer.free (Self.Vertices); Self.is_Transparent := False; self.Vertices := new openGL_Buffer_of_geometry_Vertices.Object' (to_Buffer (Now, usage => Buffer.static_Draw)); Self.is_Transparent := is_Transparent (Now); -- Set the bounds. -- declare function get_Site (Index : in Index_t) return Vector_3 is (Now (Index).Site); function bounding_Box is new get_Bounds (Index_t, get_Site); begin Self.Bounds_are (bounding_Box (count => Now'Length)); end; end Vertices_are; end openGL.Geometry.lit_colored;
36.905263
118
0.519823
1915df406b0a2d17be0d377fc874289d649b8924
557
ads
Ada
samples/client/petstore/ada/src/samples.ads
Johnlon/openapi-generator
33eb49d01f857bbe810c2e8de4905ccc34ada20d
[ "Apache-2.0" ]
11,868
2018-05-12T02:58:07.000Z
2022-03-31T21:19:39.000Z
samples/client/petstore/ada/src/samples.ads
Johnlon/openapi-generator
33eb49d01f857bbe810c2e8de4905ccc34ada20d
[ "Apache-2.0" ]
9,672
2018-05-12T14:25:43.000Z
2022-03-31T23:59:30.000Z
samples/client/petstore/ada/src/samples.ads
Johnlon/openapi-generator
33eb49d01f857bbe810c2e8de4905ccc34ada20d
[ "Apache-2.0" ]
4,776
2018-05-12T12:06:08.000Z
2022-03-31T19:52:51.000Z
-- OpenAPI Petstore -- This is a sample server Petstore server. For this sample, you can use the api key `special_key` to test the authorization filters. -- ------------ EDIT NOTE ------------ -- This file was generated with openapi-generator. You can modify it to implement -- the server. After you modify this file, you should add the following line -- to the .openapi-generator-ignore file: -- -- src/samples-petstore.ads -- -- Then, you can drop this edit note comment. -- ------------ EDIT NOTE ------------ package Samples is end Samples;
37.133333
134
0.664273
adaae5500af6abbcdbcd51daa70725872cdf1c40
1,863
adb
Ada
src/windows/system_random.adb
AntonMeep/system_random
3db7f76e04f09ade5811abd8c09686750bc733ae
[ "0BSD" ]
null
null
null
src/windows/system_random.adb
AntonMeep/system_random
3db7f76e04f09ade5811abd8c09686750bc733ae
[ "0BSD" ]
null
null
null
src/windows/system_random.adb
AntonMeep/system_random
3db7f76e04f09ade5811abd8c09686750bc733ae
[ "0BSD" ]
null
null
null
pragma Ada_2012; with System; package body System_Random is -- Underlying OS function, note that program must be linked with bcrypt lib function BCryptGenRandom (hAlgorithm : System.Address; -- Algorithm provider handle pBuffer : out Element_Array; -- Output buffer cbBuffer : Unsigned_32; -- Size, in bytes, of output buffer dwFlags : Unsigned_32 -- Special flags ) return Unsigned_32 with -- Status code is returned Import => True, Convention => C, External_Name => "BCryptGenRandom"; -- Flag for BCryptGenRandom, use system-preferred rng algorithm BCRYPT_USE_SYSTEM_PREFERRED_RNG : constant Unsigned_32 := 16#0000_0002#; procedure Random (Output : aliased out Element_Array) is Return_Code : Unsigned_32 := 0; begin Return_Code := BCryptGenRandom (System.Null_Address, -- For BCRYPT_USE_SYSTEM_PREFERRED_RNG flag, this must be null Output, -- We're okay with this as Ada should automagically pass an address -- of the first array element. Array is defined as aliased array of -- aliased Elements, so that no funny business occurs Unsigned_32 (Output'Length), -- We already checked in contract that Output'Length is less or -- equal to Unsigned_32'Last, therefore Constraint_Error is not -- going to ever occur here BCRYPT_USE_SYSTEM_PREFERRED_RNG); -- In windows, status codes less than 0x40000000 indicate success, -- and those less than 0x80000000 indicate some kind of informational -- message, and can be safely ignored if Return_Code >= 16#8000_0000# then raise System_Random_Error with "BCryptGenRandom failed with status code " & Return_Code'Image; end if; end Random; end System_Random;
39.638298
79
0.679012
ad8226ee5699d7cb9b19286c6862165849115c9e
1,335
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/r11.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/sso/r11.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/r11.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } with Init11; use Init11; with Text_IO; use Text_IO; with Dump; procedure R11 is function Get_Elem (R : R1) return My_Integer is Tmp : R1 := R; begin return Tmp.A(1); end; procedure Set_Elem (R : access R1; I : My_Integer) is Tmp : R1 := R.all; begin Tmp.A(1) := I; R.all := Tmp; end; function Get_Elem (R : R2) return My_Integer is Tmp : R2 := R; begin return Tmp.A(1); end; procedure Set_Elem (R : access R2; I : My_Integer) is Tmp : R2 := R.all; begin Tmp.A(1) := I; R.all := Tmp; end; A1 : aliased R1 := My_R1; A2 : aliased R2 := My_R2; begin Put ("A1 :"); Dump (A1'Address, R1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A1 : 78 56 34 12 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" } Put ("A2 :"); Dump (A2'Address, R1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A2 : 12 34 56 78 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" } if Get_Elem (A1) /= 16#AB0012# then raise Program_Error; end if; Set_Elem (A1'Access, 16#CD0034#); if Get_Elem (A1) /= 16#CD0034# then raise Program_Error; end if; if Get_Elem (A2) /= 16#AB0012# then raise Program_Error; end if; Set_Elem (A2'Access, 16#CD0034#); if Get_Elem (A2) /= 16#CD0034# then raise Program_Error; end if; end;
19.347826
77
0.602996
1e7405fa5258c89751a79a3c959e9f7f22f65eb7
558
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/frame_overflow.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/frame_overflow.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/frame_overflow.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } package body Frame_Overflow is function -- { dg-error "too large" } Set_In (Bitmap : Bitmap_T; Bitpos : Bitpos_Range_T) return Bitmap_T is Result: Bitmap_T := Bitmap; begin Result.Bits (Bitpos) := True; return Result; end; function -- { dg-error "too large" } Negate (Bitmap : Bitmap_T) return Bitmap_T is Result: Bitmap_T; begin for E in Bitpos_Range_T loop Result.Bits (E) := not Bitmap.Bits (E); end loop; return Result; end; end Frame_Overflow;
21.461538
73
0.614695