content
stringlengths
23
1.05M
package body itype is function G return not null access constant T is X : aliased T; begin return X'Unchecked_Access; end G; end itype;
----------------------------------------------------------------------- -- awa-images-beans -- Image Ada Beans -- Copyright (C) 2016, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2002 - 2005, 2008 - 2015, 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under the terms of the GNU General Public License -- a...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Formal_Type_Definitions; package Program.Elements.Formal_Access_Types is pragma Pure (Program.Elements.Formal_Access_Types); ...
with Ada.Containers.Vectors; with Lto21_Pkg2; package Lto21_Pkg1 is pragma Suppress (Tampering_Check); package Vect1 is new Ada.Containers.Vectors (Positive, Natural); end Lto21_Pkg1;
package body Ada.Environment_Encoding is -- implementation function Is_Open (Object : Converter) return Boolean is N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; begin return System.Native_Environment_Encoding.Is_Open (N_Object); en...
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- Antonio M. F....
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package body Ada.Exceptions.Traceback is function Get_PC (TB_Entry : System.Address) return Code_Loc is begin return TB_Entry; end Get_PC; end Ada.Exceptions.Traceback;
----------------------------------------------------------------------- -- asf-lifecycles-default -- Default Lifecycle handler -- Copyright (C) 2010, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not u...
with types; use types; package speedModule with SPARK_Mode is function speedtest(S : in Speed) return Boolean with Post => (if speedtest'Result then S >= 0.0 and S <= 5.0) and (if not speedtest'Result then S< 0.0 or S > 5.0), Global => null; end speedModule;
with STM32GD.Board; use STM32GD.Board; with Monotonic_Counter; procedure Main is begin Init; Text_IO.Put_Line ("Starting SYSTICK..."); Monotonic_Counter.Reset; loop STM32GD.WFI; end loop; end Main;
-- AOC 2020, Day 19 package Day is function count_valid(filename : in String) return Natural; function count_valid_updated(filename : in String) return Natural; end Day;
with Giza.Widgets.Frame; use Giza.Widgets.Frame; with Giza.Graphics; use Giza.Graphics; with Giza.Events; use Giza.Events; package Power_Phase_Widget is subtype PP_Range is Natural range 0 .. 100; type PP_Widget is new Gframe with private; overriding procedure Draw (This : in out PP_Widget; ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
package body System.Form_Parameters is pragma Suppress (All_Checks); -- parsing form parameter procedure Get ( Form : String; Keyword_First : out Positive; Keyword_Last : out Natural; Item_First : out Positive; Item_Last : out Natural; Last : out Natural) is begin ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; procedure somme_series is function somme_entiers (n : Integer; impair : Boolean := False) return Integer is res : Integer := 0; begin for i in 1..n loop ...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
with Ada.Text_Io; use Ada.Text_Io; with Ada.Float_Text_Io; use Ada.Float_Text_Io; procedure Sleep is In_Val : Float; begin Get(In_Val); Put_Line("Sleeping..."); delay Duration(In_Val); Put_Line("Awake!"); end Sleep;
-- StrongEd$WrapWidth=256 -- StrongEd$Mode=Ada -- with RASCAL.Utility; use RASCAL.Utility; package Main is type Names is array(natural range <>) of ustring; type Options is (Remove_Extension,Change_Name,Set_FileType, Set_Access,Remove_Original,Verbose,Help,Descend,Move_Sub_Content); t...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Finalization; generic type Element_Type is private; package Yaml.Stacks is -- this package provides a reference-counted stack. compared to Ada's -- standard container types, it ha...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Paths; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Elsif_Expression_Paths is pragm...
WITH P_StepHandler.InputHandler; USE P_StepHandler.InputHandler; WITH P_StepHandler.IPHandler; USE P_StepHandler.IPHandler; WITH P_StepHandler.KeyHandler; USE P_StepHandler.KeyHandler; WITH P_StepHandler.FeistelHandler; USE P_StepHandler.FeistelHandler; WITH P_StepHandler.ReverseIPHandler; USE P_StepHandler.Reverse...
pragma License (Unrestricted); with Ada.Streams.Stream_IO; with Ada.Text_IO.Text_Streams; package Ada.Wide_Text_IO.Text_Streams is -- type Stream_Access is access all Streams.Root_Stream_Type'Class; subtype Stream_Access is Streams.Stream_IO.Stream_Access; function Stream ( File : File_Type) -- Open_File...
package LR.Synchro.Basique is function Nom_Strategie return String; procedure Demander_Lecture; procedure Demander_Ecriture; procedure Terminer_Lecture; procedure Terminer_Ecriture; end LR.Synchro.Basique;
-- { dg-do compile } -- { dg-options "-O3 -gnata" } package body Boolean_Subtype2 is function Component_Type (Id : Entity_Id) return Entity_Id is begin pragma Assert (Is_String_Type (Id)); return Node20 (Id); end; function First_Index (Id : Entity_Id) return Node_Id is begin pragma A...
----------------------------------------------------------------------- -- css-analysis-parser -- Rule parser for CSS Analysis -- Copyright (C) 2017 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...
package Var_Size is type T (Length : Natural) is record A : String (1 .. Length); B : String (1 .. Length); end record; function A (X : T) return String; end;
with Ada.Containers.Hashed_Maps, Ada.Containers.Ordered_Sets, Ada.Containers.Unbounded_Synchronized_Queues, Ada.Containers.Synchronized_Queue_Interfaces, Ada.Containers.Vectors, Ada.Execution_Time, Ada.Exceptions, Ada.Integer_Text_IO, Ada.Real_Time, Ada.Text_IO; with Utils;...
-- Abstract : -- -- Common utilities for Gen_Run_Wisi_*_Parse -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; eithe...
with Game_Assets; with Game_Assets.Tileset; with Game_Assets.Tileset_Collisions; with Game_Assets.Level_1; with Game_Assets.Level_2; with Game_Assets.Level_3; with Render; with GESTE; with GESTE.Tile_Bank; with GESTE.Grid; with GESTE.Text; with GESTE_Config; with GESTE_Fonts.FreeMono8pt7b; package body Levels is ...
pragma License (Unrestricted); -- implementation unit with System.Storage_Elements; package System.Storage_Barriers is pragma Pure; -- synchronization modes ATOMIC_RELAXED : constant := 0; ATOMIC_CONSUME : constant := 1; ATOMIC_ACQUIRE : constant := 2; ATOMIC_RELEASE : constant := 3; ATOMIC_ACQ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <denkpadje@gmail.com> -- -- 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/L...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
--with Ada.Real_Time; use Ada.Real_Time; with MicroBit.Console; package body Brain is task body Sense is --Time_Now : Ada.Real_Time.Time; begin --loop for Index in 1..4 loop MicroBit.Console.Put_Line("Sensing, pass number "); MicroBit.Console.Put_Line(Integer'Image(Index)); ...
package body Ada.Streams.Overlaps_Storage_IO is use type System.Storage_Elements.Storage_Offset; function Create ( Address : System.Address; Size : System.Storage_Elements.Storage_Count) return Overlay is begin return (Address, Size, 1); end Create; procedure Reset (Object : in ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Tk.Widget.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Tk.Widget.Test_Data .Test with ...
------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! -- -- -- -- ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2013 Felix Krause <contact@flyx.org> -- Copyright (c) 2017 onox <denkpadje@gmail.com> -- -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); with Ada.Real_Time; -- with Ada.Task_Identification; package Ada.Dispatching.EDF is subtype Deadline is Real_Time.Time; Default_Deadline : constant Deadline := Real_Time.Time_Last; -- procedure Set_Deadline ( -- D : Deadline; -- T : Task_Identification.Task_Id := Task_Ide...
pragma Ada_2012; package body Protypo.Api.Engine_Values.Range_Iterators is ----------- -- Reset -- ----------- procedure Reset (Iter : in out Range_Iterator) is begin Iter.Current := Iter.Start; end Reset; ---------- -- Next -- ---------- procedure Next (Iter : in out Range_Itera...
-- Copyright 2016-2021 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky 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 -- (a...
package body Arena_Pools is procedure Allocate ( Pool : in out Arena; Address : out System.Address; Size : Storage_Count; Alignment : Storage_Count ) is Free : constant Storage_Offset := Pool.Free + Alignment - Poo...
with MSPGD.GPIO.Pin; with MSPGD.GPIO.Polled; with MSPGD.Clock.Source; with MSPGD.UART.Peripheral; with MSPGD.SPI.Peripheral; package HAL is pragma Preelaborate; generic package Pin renames MSPGD.GPIO.Pin; generic package Pin_IRQ renames MSPGD.GPIO.Polled; generic package USART renames MSPGD.UART.Pe...
with Ada; with System.System_Allocators.Allocated_Size; -- implementation unit package body GNAT.Debug_Pools is procedure Dump ( Pool : Debug_Pool; Size : Positive; Report : Report_Type := All_Reports) is pragma Unreferenced (Put_Line); pragma Unreferenced (Put); pragma Unrefe...
with Examples.Ast; with Examples.Factory; with Examples.Finder; with Examples.Match_Patterns; with Examples.Navigation; with Examples.Text_Rewrites; with Examples.Visitor; procedure Rejuvenation_Examples is Root_Folder : constant String := ""; Project_Name : constant String := Root_Folder & "rejuvenation_exampl...
with Ada.Text_IO; with TOML; with TOML.File_IO; procedure Main is Value : constant TOML.TOML_Value := TOML.File_IO.Load_File ("example.toml").Value; begin Value.Unset ("array"); Ada.Text_IO.Put_Line (Value.Dump_As_String); end Main;
with Ada.Text_IO; use Ada.Text_IO; package body SPARKNaCl.PDebug is On : constant Boolean := True; package I64IO is new Ada.Text_IO.Integer_IO (Integer_64); procedure DH16 (S : in String; D : in Normal_GF) is begin if On then Put_Line (S); for I in D'Range loop I64IO...
-- { dg-do compile } package body BIP_Prim_Func is type NTT is new TT with record J : Integer; end record; function Prim_Func return NTT is begin return Result : NTT := (I => 1, J => 2); end Prim_Func; end BIP_Prim_Func;
with Interface_Pkg; procedure Main_Proc is begin Interface_Pkg.Find_Prime; end Main_Proc;
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd. -- -- SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from rp2040.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package RP_SVD is pragma Preelaborate; -----------...
package body P is -- The implementation of P, invisible to anybody procedure W (X : in out T); -- Operation used only internally end P;
with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with STM32GD.SPI; with STM32GD.SPI.Peripheral; procedure Main is package SPI is new STM32GD.SPI.Peripheral (SPI => STM32GD.SPI.SPI_1, Data_Size => STM32GD.SPI.Data_Size_8b); Data : STM32GD.SPI.SPI_Data_8b := (0, 1, 2, 3, 4, 5, 6, 7); begin ...
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is C...
----------------------------------------------------------------------- -- awa.users -- User registration, authentication processes -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2017, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0...
----------------------------------------------------------------------- -- pschema - Print the database schema -- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
-- This spec has been automatically generated from STM32WL5x_CM0P.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.GPIO is pragma Preelaborate; --------------- -- Registers -- --------------- -- MODER array element ...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ iterator over types -- -- |___/_|\_\_|_|____| by: Timm Felden ...
-- NORX_Load_Store -- A collection of functions to load and store words of different sizes from -- Storage_Array in Little Endian format. This version assumes that the machine -- is Little Endian and does unchecked conversions to convert the types. -- Copyright (c) 2016, James Humphry - see LICENSE file for details -...
pragma Warnings (Off); pragma Style_Checks (Off); -- This package allows to test basic shape for extruded surfaces with GLOBE_3D; package Extruded_surface is type Kind_of_surface is (square, sphere); procedure Create ( object : in out GLOBE_3D.p_Object_3D; scale : GLOBE_3...
with Ada.Text_Io; use Ada.Text_Io; with Ada.Real_Time.Timing_Events; use Ada.Real_Time.Timing_Events; with Ada.Real_Time; use Ada.Real_Time; with Ada.Numerics.Float_Random; procedure Anytime is protected Pi_Increment is procedure Increment(z: in float; count: in out float; iter: in out float); end Pi_Increment...
with GNAT.Sockets; use GNAT.Sockets; with GNAT.Random_Numbers; with Ada.Directories; use Ada.Directories; with Ada.Command_Line; with GNAT.IO; package body Spawn_Manager.Client is Initialized : Boolean := False; Address : Sock_Addr_Type; Socket : Socket_Type; Server : Socket_Type; Channel ...
package body Aggr14_Pkg is function F return A is begin if X /= (1, 2, 3) then raise Program_Error; end if; return (1, 1, 1); end; procedure Proc is begin X := F; end; end Aggr14_Pkg;
-- Abstract: -- -- see spec. -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package 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 Sof...
-- -- -- package Tables Copyright (c) Dmitry A. Kazakov -- -- Implementation Luebeck -- -- Spring, 2000 -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- Ada 2012 with Ada.Characters.Conversions; with Ada.Strings.UTF_Encoding.Generic_Strings; package Ada.Strings.UTF_Encoding.Wide_Strings is new Strings.UTF_Encoding.Generic_Strings ( Wide_Character, Wide_String, Expanding_From_8 => Characters.Conversions.Ex...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package PortScan.Pilot is -- Called when command line argument counts is known to be 2 or more. -- Argument 2 should either be a path to a file or a port origin. -- If it's a file, there can be no more...
-- -- Copyright 2022 (C) Nicolas Pinault (aka DrPi) -- -- SPDX-License-Identifier: BSD-3-Clause -- with Ada.Command_Line; use Ada.Command_Line; package Errors is NO_ERROR : constant Exit_Status := Success; ARGS : constant Exit_Status := -1; FORMAT : constant Exit_Status := -...
with freetype_c.Pointers; package freetype_c.FT_Library is subtype Item is Pointers.FT_LibraryRec_Pointer; type Item_array is array (C.Size_t range <>) of aliased FT_Library.Item; type Pointer is access all freetype_c.FT_Library.Item; type Pointer_array is array (C.Size_t range <>) o...
package FLTK.Screen is function Get_X return Integer; function Get_Y return Integer; function Get_W return Integer; function Get_H return Integer; function Count return Integer; -- Screen numbers in the range 1 .. Count procedure DPI ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- ---------------------------------------------------------------------------- -- -- The intent of this unit is to provide a simple main program that runs -- one Test_Suite. -- The procedure is intended to be instansiated as a childern to -- the package containing the function Suite. -- -- with AUnit.Test_Suites...
-- The Village of Vampire by YT, このソースコードはNYSLです with Vampire.Villages; procedure Vampire.R3.Village_Page ( Output : not null access Ada.Streams.Root_Stream_Type'Class; Form : in Forms.Root_Form_Type'Class; Template : in Web.Producers.Template; Current_Directory : in String; HTML_Directory : in String; Image_Dire...
package body Raspio.GPIO.Encoder is function Create (Pin_A : Pin_ID_Type; Pin_B : Pin_ID_Type; Internal_Resistor : Internal_Resistor_Type) return Encoder_Type is First_Pin : constant Pin_Type := Raspio.GPIO.Create (Pin_A, Input, Internal_Resistor); Second_Pin : constant...
pragma License (Unrestricted); -- extended unit generic type Character_Type is (<>); type String_Type is array (Positive range <>) of Character_Type; package Ada.Environment_Encoding.Generic_Strings is -- Encoding/decoding between strings and character sequences in -- Ada.Streams.Stream_Element_Array. ...
package body Error_Reporter with SPARK_Mode, Refined_State => (State => My_Error) is package IO renames SPARK.Text_IO; procedure Clear_Error is begin My_Error := False; end Clear_Error; procedure Error (Line_No : Positive; Message : String) is begin Report (Line_No => Line_No, ...
with any_Math.any_Statistics; package float_Math.Statistics is new float_Math.any_Statistics; pragma Pure (float_Math.Statistics);
with ada.text_io,ada.integer_text_io,laby_functions,ada.command_line ; use ada.text_io ; procedure main is m : laby_functions.tree ; w : integer ; h : integer ; argu_count : integer := ada.command_line.argument_count ; procedure get_width_and_height(w,h : out in...
package Mouse_Manager is procedure Mouse_Button (Button : Integer; State : Integer; X, Y : Integer); end Mouse_Manager;
with impact.d2.orbs.Solid, impact.d2.orbs.Contact.circle, impact.d2.orbs.world_Callbacks, ada.unchecked_Deallocation; with impact.d2.orbs.Shape; package body impact.d2.orbs.Contact is use type int32; procedure free (Self : in out View) is procedure deallocate is new ada.unchecked_De...
-- Ada regular expression library -- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net> -- Report bugs and issues on <https://github.com/skordal/ada-regex> with Regex.Regular_Expressions; use Regex.Regular_Expressions; package Regex.Matchers is -- Checks if a string matches a regular express...
----------------------------------------------------------------------- -- awa-permissions-services -- Permissions controller -- Copyright (C) 2011, 2012, 2013, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
with Device; use Device; with Memory.Container; use Memory.Container; package body Memory.Transform.Shift is function Create_Shift return Shift_Pointer is result : constant Shift_Pointer := new Shift_Type; begin return result; end Create_Shift; function Random_Shift(next : ...
----------------------------------------------------------------------- -- awa-storages-beans -- Storage Ada Beans -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Complete_Contexts.Assignment_Statements is -------------------------- -- Assignment_Statement -- -------------------------- ...
----------------------------------------------------------------- -- -- -- Robot Utility -- -- -- -- Copyright (c) 2017 John Leimon ...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ implementation of builtin field types -- -- |___/_|\_\_|_|____| by: Timm Felden ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, Universidad Politécnica de Madrid -- -- -- -- ...
with AssignmentByIfExamples; with Default_Value; with Mismatch; with Prefix_Notation; pragma Unreferenced (AssignmentByIfExamples); pragma Unreferenced (Default_Value); pragma Unreferenced (Mismatch); pragma Unreferenced (Prefix_Notation); procedure Rejuvenation_Workshop is begin -- This project contains the code...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
with Ada.Text_Io; with Ada.Float_Text_Io; use Ada.Float_Text_Io; with Ada.containers.Vectors; procedure Forward_Difference is package Flt_Vect is new Ada.Containers.Vectors(Positive, Float); use Flt_Vect; procedure Print(Item : Vector) is begin if not Item.Is_Empty then Ada.Text_IO.Put('[');...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package Endianness.Standard with Pure, Preelaborate, SPARK_Mode => On is -- @summary -- Instance of Endianness' functions for Standard integer types function Swap_Endian is new Endianness.Swap_Endian (Short_Short_Integer); function Swap_Endian is new Endianness.Swap_Endian (Short_Integer); fu...
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Text_IO; with Ada.Wide_Wide_Text_IO; with AWS.Client; with AWS.Messages; with AWS.Response; with AWS.URL; with AWS.Headers; ...