content
stringlengths
23
1.05M
-- { dg-do compile } -- { dg-options "-O2 -fdump-tree-optimized" } function Opt54 (Val, Max : Integer) return Integer is begin if Val >= Max then return Max; end if; return Val + 1; end; -- { dg-final { scan-tree-dump-not "gnat_rcheck" "optimized" } }
for Value in 0..Integer'Last loop Put (Value); exit when Value mod 6 = 0; end loop;
-- C45503A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
----------------------------------------------------------------------- -- AWA.Tags.Models -- AWA.Tags.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen.goog...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
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.TCC is pragma Preelaborate; --------------- -- Registers -- --------------- -- Enhanced Resolution type CTRLA_RESOLUT...
package laby_functions is type point is record x,y : float ; end record ; type node is private ; type tree is access node ; function maze_random(W,H : integer) return Tree ; procedure maze_svg(maze : tree ...
package body Loop_Optimization8_Pkg2 is function Length (Set : T) return Natural is begin return Set.Length; end Length; function Index (Set : T; Position : Natural) return Integer is begin return Set.Elements (Position); end Index; end Loop_Optimization8_Pkg2;
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. package body GBA.Display.Backgrounds.Refs is function ID (This : BG_Ref'Class) return BG_ID is ( This.ID ); function Priority (This : BG_Ref'Class) return Display_Priority is ( This.Control.Priority ); function Mosaic_Enable...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Integer_Text_IO; with Ada.Text_IO; with Words; procedure Euler42 is function Is_Triangular(I: Integer) return Boolean is T: Integer := 1; N: Integer := 2; begin while T <= I loop if T = I then return True; end if; T := T + N; N := N + 1; end loop; ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
with Ada.Text_IO; with Ada.Float_Text_IO; procedure textionum is type M is mod 100; type D1 is delta 0.1 digits 3; package D1IO is new Ada.Text_IO.Decimal_IO (D1); type D2 is delta 10.0 digits 3; package D2IO is new Ada.Text_IO.Decimal_IO (D2); S7 : String (1 .. 7); S : String (1 .. 12); begin D1IO.Put (S7, 10....
------------------------------------------------------------------------------- -- Package : Show_Version -- -- Description : Display current program version and build info. -- -- Author : Simon Rowe <simon@wiremoons.com> -- ...
package Pascal is type Row is array (Natural range <>) of Natural; function Length(R: Row) return Positive; function First_Row(Max_Length: Positive) return Row; function Next_Row(R: Row) return Row; end Pascal;
----------------------------------------------------------------------- -- util-commands-drivers -- Support to make command line tools -- Copyright (C) 2017, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with AUnit.Assertions; use AUnit.Assertions; with Ada.Containers.Vectors; with Ada.Text_IO; with DataBatch; with MathUtils; use MathUtils.Float_Vec; package body DataBatchTests is procedure Register_Tests (T: in out TestCase) is use AUnit.Test_Cases.Registration; begin Register_Routine (T, testBasi...
pragma Assertion_Policy(Check); package Discr40 is subtype Element is Integer; type Vector is array (Positive range <>) of Element; type Stack (Max_Length : Natural) is record Length : Natural; Data : Vector (1 .. Max_Length); end record; function Not_Full (S : Stack) return Boolean i...
pragma License (Unrestricted); with Ada.IO_Exceptions; with Ada.Text_IO; package Ada.Wide_Wide_Text_IO is -- modified -- type File_Type is limited private; subtype File_Type is Text_IO.File_Type; -- AI12-0054-2, Text_IO (see A.10.1) could have used predicates to describe -- some common exceptional c...
with Ada.Text_IO; procedure CLS is begin Ada.Text_IO.Put(ASCII.ESC & "[2J"); end CLS;
pragma Ada_95; pragma Warnings (Off); pragma Source_File_Name (ada_main, Spec_File_Name => "b~unit.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b~unit.adb"); pragma Suppress (Overflow_Check); package body ada_main is E15 : Short_Integer; pragma Import (Ada, E15, "system__soft_links_E"); E25 : Sh...
----------------------------------------------------------------------- -- util-commands-tests - Test for commands -- Copyright (C) 2018, 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
-- Project: StratoX -- System: Stratosphere Balloon Flight Controller -- Author: Martin Becker (becker@rcs.ei.tum.de) with FAT_Filesystem; use FAT_Filesystem; with FAT_Filesystem.Directories; use FAT_Filesystem.Directories; with FAT_Filesystem.Directories.Files; use FAT_Filesystem.Directori...
generic type Data is private; package Iface1 is type Future is synchronized interface; type Any_Future is access all Future; procedure Get (This : in out Future; P : out Data) is abstract; procedure Set (This : in out Future; P : in Data) is abstract; type Reusable_Future is synchronized interface a...
with AdaM.Any, ada.Streams, ada.Tags; package AdaM.Factory -- -- Provides persistent pointers. -- -- -- Example: -- -- package Subprogram -- is -- type Item is new Source.Entity with private; -- type View is access all Item'Class; -- -- private -- ... -- -- procedure View_write (Stre...
-- { dg-do compile } pragma Warnings (Off); with Ada.Containers.Doubly_Linked_Lists; with Ada.Containers.Hashed_Maps; with Ada.Containers.Hashed_Sets; with Ada.Containers.Indefinite_Doubly_Linked_Lists; with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Containers.Indefinite_Hashed_Sets; with Ada.Containers.Indefin...
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
-- CE2402A.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. -- Unlimit...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; procedure Steps_7 is task Bank is entry Put_Amount (Amount : in Float); entry Get_Amount (Amount : in Float); entry Give_Bonus (Amount : in Float); end Bank; task body Bank is Fee : constant Float := 2....
pragma License (Unrestricted); generic type Real is digits <>; package Ada.Numerics.Generic_Complex_Types is pragma Pure; type Complex is record Re, Im : Real'Base; end record; pragma Complex_Representation (Complex); type Imaginary is private; pragma Preelaborable_Initialization (Imaginary...
-- todo: initialize in several functions: initGPIO, initI2C, use HAL -- with Config; use Config; with HIL.GPIO; with HIL.SPI; with HIL.Clock; with HIL.UART; with HIL.I2C; with HIL.Random; with Ada.Real_Time; use Ada.Real_Time; package body CPU with SPARK_Mode is -- configures hardware registers procedure i...
pragma License (Unrestricted); -- implementation unit package System.Formatting.Float is pragma Pure; subtype Long_Long_Unsigned_Float is Long_Long_Float range 0.0 .. Long_Long_Float'Last; -- sign marks function Sign_Mark (Value : Long_Long_Float; Signs : Sign_Marks) return Character; -...
package body Make_Ada is function Make_Call (Name : String; Actual_Parameter_Part : Vector) return String is Actual_Parameter_Part_String : constant String := (if Actual_Parameter_Part.Is_Empty then "" else " (" & Join (Actual_Parameter_Part, ", ") & ")");...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Finalization; private with C.gmp; package GMP.Random is pragma Preelaborate; type Generator is limited private; function Initialize return Generator; function Initialize (Initiator : Long_Integer) return Generator; procedure Reset (Gen : in out Generator); procedure Reset (Gen : in out Generator; Ini...
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later vers...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising f...
with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; package FailStrategy is type Fail is new AbstractStrategyCombinator and Object with record message: access String := null; end record;...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- G E L A X A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
with System; with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control; with STM32_SVD; use STM32_SVD; with STM32GD.Board; use STM32GD.Board; with Packet; use Packet; with CBOR_Codec; with RTC_IRQ; with RTC; with Peripherals; with Utils; procedure Mai...
with TTS_Example2; with Ada.Exceptions; use Ada.Exceptions; with Ada.Real_Time; with Ada.Text_IO; use Ada.Text_IO; procedure Main2 is begin TTS_Example2.Main; delay until Ada.Real_Time.Time_Last; exception when E : others => Put_Line (Exception_Message (E)); end Main2;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- { dg-do compile } -- { dg-options "-O2" } with Opt8_Pkg; package body Opt8 is function Content_Value (Rec : Kappa_Component_Rec) return Value_Number is begin return Opt8_Pkg.Id_To_VN (Rec.Content_VN); end; function Possible_Values_Count (V: Kappa_Component_Ptr) return Natural is ...
with STM32GD.Board; use STM32GD.Board; procedure Main is begin Init; loop USART.Transmit (USART.Receive); LED.Toggle; end loop; end Main;
package body Last_Chance_Handler is ------------------------- -- Last_Chance_Handler -- ------------------------- procedure Last_Chance_Handler (Msg : System.Address; Line : Integer) is pragma Unreferenced (Msg, Line); procedure OS_Exit (Status : Integer); pragma Import (C, OS_Exit, "ex...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
package body SPDX.Licenses is -------------- -- Valid_Id -- -------------- function Valid_Id (Str : String) return Boolean is begin return (for some I in Id => Str = Img (I)); end Valid_Id; ------------- -- From_Id -- ------------- function From_Id (Str : String) return Id is ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
package ObjectPack is type Object is interface; function toString(obj: Object) return String is abstract; type ObjectPtr is access all Object'Class; type ObjectPtrArray is array (Natural range <>) of ObjectPtr; type ObjectPtrArrayPtr is access all ObjectPtrArray; generic type Item is private; function hash...
-- { dg-do run } -- { dg-options "-gnat05 -O2" } with Enum2_Pkg; use Enum2_Pkg; procedure Enum2 is type Enum is (A, B, C, D); Table : array (B .. C, 1 .. 1) of F_String := (others => (others => Null_String)); begin Table := (others => (others => Null_String)); end;
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Unix; with Parameters; with HelperText; with File_Operations; with PortScan.Scan; with PortScan.Operations; with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Exceptions; with Ada.Text_IO; package bo...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 Lionel Draghi <lionel.draghi@free.fr> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licen...
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Containers.Vectors; with Ada.Containers.Hashed_Maps; with Ada.Tags; with League.Strings; with League.Strings.Hash; with League.String_Vectors; ...
-- contains debug functions for printing things package Debug with SPARK_Mode is -- print a string procedure Put(Item : in String) with Global => null; -- print a string and add a new line procedure Put_Line(Item : in String) with Global => null; -- print an integer (with no new line) ...
pragma Warnings (Off); with SDL_Image; use SDL_Image; procedure Compile is begin null; end Compile;
with lace.Event.utility, system.RPC, ada.unchecked_Conversion; package body lace.Event.Logger.text is use lace.Event.utility, ada.Text_IO; -- Forge -- function to_Logger (Name : in String) return Item is begin return Self : Item do create (Self.File, out_F...
-- -- bytebauble.adb - Body of the ByteBauble package. -- -- -- 2021/03/05, Maya Posch with Ada.Text_IO; use Ada.Text_IO; with System; use System; package body ByteBauble is -- DETECT HOST ENDIAN -- procedure detectHostEndian is -- type uint16 is mod 2 ** 16; -- type uint8 is mod 2 ** 8; -- bytes : uint16 := 1...
----------------------------------------------------------------------- -- contexts-facelets -- Contexts for facelets -- Copyright (C) 2009, 2010, 2011, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
-- caesar.adb -- An improved algorithm that uses bit magic to transform ASCII -- characters instead of looping through a lookup table. -- -- Written by: A Dikdik <cutedikdik@yandex.com> -- Copyright (c) 2017 A Dikdik -- All rights reserved. -- -- Licensed under the BSD clause 3 license. -- -- Ab...
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.Strings; with League.JSON.Arrays; with League.JSON.Objects; with League.JSON.Values; with League.String_Vectors; package Jupyter.Kernels is ...
------------------------------------------------------------------------------- -- 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 withou...
with Ada.Strings.Fixed.Hash; package body Limited_With3_Pkg1 is function Equal ( Left, Right : Element_Access) return Boolean is begin return True; end; function Equivalent_Keys (Left, Right : Key_Type) return Boolean is begin return True; end; function Hash (Key :...
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.HRTIM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_AD1USRC_Field is HAL.UInt3; ...
package Impact.d2.Orbs -- -- A cut-down port of the Box2D physics engine, using only spheres. -- -- For experiments with GPU and Ada task acceleration. -- is pragma Pure; private procedure dummy; end Impact.d2.Orbs;
with Glfw.Windows; procedure Main_Loop (Main_Window : in out Glfw.Windows.Window);
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Text_IO; with Spawn_Manager; with Ada.Command_Line; procedure Helper is use Ada.Text_IO; begin if Spawn_Manager.Version /= $VERSION then Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); Put_Line ("Version Missmatch : Code=""" & Spawn_Manager.Version & """ /= Lib=""" & $VERSION & ...
with Primes.PrimeNumberRequest_DataWriter; with Primes.PrimeNumberReply_DataReader; with DDS.Request_Reply.Requester.Typed_Requester_Generic; package Primes.PrimeNumberRequester is new DDS.Request_Reply.Requester.Typed_Requester_Generic (Request_DataWriter => Primes.PrimeNumberRequest_DataWriter, Reply_DataReader ...
generic type Real is digits <>; package root is type Base_Interface is limited interface; procedure Primitive1 (B : in out Base_Interface) is abstract; -- builds procedure Primitive2 (B : in out Base_Interface) is null; -- causes bug type Derived_Interface is limited interface and Base_In...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by John Self of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and t...
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Element_Vector_Factories; with Program.Element_Vectors; with Program.Element_Visitors; with Program.Elements.Component_Definitions; with P...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with System.Machine_Code; use System.Machine_Code; package body MSPGD is procedure Standby is begin Asm ("bis.b #0xD8, SR", Volatile => True); end Standby; procedure Stop is begin Asm ("bis.b #0xF8, SR", Volatile => True); end Stop; procedure Reset is begin Asm ("mov.b #0, ...
-- tests with generics with Ada.Text_IO; use Ada.Text_IO; procedure Generics is generic type T is (<>); N : in T; with function "*" (A, B : T) return T is <>; function Multiplier (X : T) return T; function Multiplier (X : T) return T is begin return N * X; end; f...
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Command_Line; with Setup; packa...
-- { dg-do compile } -- { dg-options "-g" } procedure Debug5 is type Record_Type (L1, L2 : Natural) is record S1 : String (1 .. L1); case L2 is when 0 => null; when others => S2 : String (L1 .. L2); end case; end record; procedure Discard (R : Record_Type) is begi...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising f...
with vermek; procedure demo is begin end demo;
package body System.Long_Long_Elementary_Functions is function Fast_Log (X : Long_Long_Float) return Long_Long_Float is begin return Long_Long_Float (Fast_Log (Long_Float (X))); end Fast_Log; function Fast_Exp (X : Long_Long_Float) return Long_Long_Float is begin return Long_Long_Float (Fas...
with Interfaces; package Bit_Packed_Array1 is type laser_illuminator_code_group_t is (zero, one); pragma Convention (C, laser_illuminator_code_group_t); subtype lic_array_index_t is Interfaces.Unsigned_8 range 0 .. 3; type lic_array_t is array (lic_array_index_t) of laser_illuminator_code_group_t; ...
----------------------------------------------------------------------- -- wiki-nodes-lists -- Wiki Document Internal representation -- Copyright (C) 2016, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may...
-- Score PIXAL le 07/10/2020 à 14:33 : 100% with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Lire et écrire un tableau d'entiers. procedure Tableau_IO is Capacite: constant Integer := 10; -- Cette taille est arbitraire type T_TableauBrut is array (1..Capacite) of ...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Reporter_Class; use Apsepp.Test_Reporter_Class; function Apsepp.Test_Node_Class.Runner_Sequential.Create (Root_Node_Access : Test_Node_Access; Test_Reporter_Instance_Access : Te...
with System.Formatting.Literals.Float; with System.Value_Errors; package body System.Val_Dec is function Value_Decimal (Str : String; Scale : Integer) return Integer is Last : Natural := Str'First - 1; Result : Long_Long_Float; Error : Boolean; begin Formatting.Literals.Float.Get_Literal ...
pragma Assertion_Policy(Check); with Libadalang.Analysis; with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.Direct_Calls is use type LALCO.Ada_Node_Kind_Type; function Is_Duplicate_Callsite(Name : LAL.Name) return Boolean is function Is_Node_Duplicating_Parent(Node : L...
---------------------------------------------------------- -- Copyright (c), The MIT License (MIT) -- Author: Lyaaaaaaaaaaaaaaa -- -- Revision History: -- 18/09/2019 Lyaaaaaaaaaaaaaaa -- - Added file header -- - Filter_Check becomes Check_Filters -- -- Encoding issues : -- - Needs UTF-8 encoded files, -- o...
with VisitablePackage, ObjectPack; use VisitablePackage, ObjectPack; package VisitableBuiltinPackage is type VisitableBuiltin is new Visitable and Object with record builtin : ObjectPtr := null; end record; function toString(vb: VisitableBuiltin) return String; function setChildren(v: access VisitableBu...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. package body GBA.Allocation is package body Stack_Arena is begin Init_Arena (Storage); end Stack_Arena; end GBA.Allocation;
-- Task 2 of RTPL WS17/18 -- Team members: Hannes B. and Gabriel Z. package myTasks with SPARK_Mode is -- Procedure for option 5 procedure opt5; -- Procedure for option 6 procedure opt6; -- Procedure for option 7 procedure opt7; -- User defined task for growing of elements task type m...
pragma Ada_2012; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Fixed; with Ada.Characters.Handling; with Utilities.Tokenize; with Ada.Strings; package body Utilities.Option_Lists is ----------- -- Parse -- ----------- function Parse (Input : String; E...