content
stringlengths
23
1.05M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- babel-base-users-tests - Unit tests for babel users -- Copyright (C) 2015 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...
with Posix; package Hide is procedure Put_Line (Text : String) renames Posix.Put_Line; type Integer_8 is range -2 ** 7 .. 2 ** 7 - 1; for Integer_8'Size use 8; type Integer_16 is range -2 ** 15 .. 2 ** 15 - 1; for Integer_16'Size use 16; type Integer_32 is range -2 ** 31 .. 2 ** 31 - 1; f...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
package body Subtractive_Generator is procedure Initialize (Generator : in out State; Seed : Natural) is S : Number_Array (0 .. 1); I : Natural := 0; J : Natural := 1; begin S (0) := Seed; S (1) := 1; Generator.R (54) := S (0); Generator.R (33) := S (1); for N in 2...
package body Rejuvenation.String_Utils with SPARK_Mode => On is function Replace_Prefix (String_With_Prefix : String; Prefix, New_Prefix : String) return String is begin return New_Prefix & Tail (String_With_Prefix, String_With_Prefix'Length - Prefix'Length); end Replace_Prefix; func...
------------------------------------------------------------------------------- -- package body Chirped, a chirped fast fourier transform. -- 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, provi...
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure repeticao is begin for I in 1 .. 5 loop Put_Line("Ola, mundo! " & Integer'Image (I)); end loop; Put_Line(""); for I in reverse 1 .. 5 loop Put_Line("Ola, mundo2! " & Integer'Image (I)); end lo...
--PRÁCTICA 3: CÉSAR BORAO MORATINOS (Chat_Procedures.adb) with Ada.Text_IO; with Chat_Messages; with Gnat.Calendar.Time_IO; with Ada.Strings.Unbounded; package body Chat_Procedures is package CM renames Chat_Messages; use type Ada.Calendar.Time; function Max_Valid (Max_Clients: Natural) return Boolean i...
----------------------------------------------------------------------- -- helios-reports -- Produce reports for the agent -- Copyright (C) 2017, 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 t...
-- 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...
with Libtcod, Libtcod.Maps, Libtcod.Console; use Libtcod; package Game_Maps is type Tile_Flag is (Explored); type Tile_Flag_Set is array(Tile_Flag) of Boolean with Pack; type Tile is record flags : Tile_Flag_Set := (Explored => False); end record; type Game_Map(width : Maps.X_Pos; height...
-- -- 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. -- package body Rules is procedure Assin...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
procedure TaskArray is G : Integer := 0; TASK T IS ENTRY E; END T; TASK BODY T IS TYPE RT IS RECORD M : BOOLEAN := BOOLEAN'VAL(G); N : CHARACTER := CHARACTER'VAL(G); ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit, -- translated from UnicodeData.txt (6), CompositionExclusions.txt package Ada.UCD.Normalization is pragma Pure; -- excluding U+2000..U+2FFF, U+F900..U+FAFF, and U+2F800..U+2FAFF NFD_Total : constant := 999; NFC_Total : constant := 889; NFD_D_...
with float_Math; package Neural -- -- Declares the 'neural' namespace and core types. -- is pragma Pure; package Math renames float_Math; subtype Signal is math.Real; type Signals is array (Positive range <>) of neural.Signal; type Pattern is record Inpu...
----------------------------------------------------------------------- -- ado-utils-serialize -- Utility operations for JSON/XML serialization -- Copyright (C) 2016, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
with Ada.Text_IO; use Ada.Text_IO; procedure Baklava is M : Integer := 11; begin for I in 1 .. 11 loop for J in 1 .. (M-1) loop Put(" "); end loop; for K in 1 .. (2*I - 1) loop Put("*"); end loop; M := M -1; Put_Line(""); end loop; M:=2; for I in revers...
with Ada.Text_IO, Logic; procedure Test_Tri_Logic is use Logic; type F2 is access function(Left, Right: Ternary) return Ternary; type F1 is access function(Trit: Ternary) return Ternary; procedure Truth_Table(F: F1; Name: String) is begin Ada.Text_IO.Put_Line("X | " & Name & "(X)"); for T...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package Volatile10_Pkg is type Num is mod 2**9; type Rec is record B1 : Boolean; N1 : Num; B2 : Boolean; N2 : Num; B3 : Boolean; B4 : Boolean; B5 : Boolean; B6 : Boolean; B7 : Boolean; B8 : Boolean; B9 : Boolean; B10 : Boolean; ...
with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.DMA; use STM32_SVD.DMA; with STM32_SVD.USART; use STM32_SVD.USART; with STM32GD.Board; use STM32GD.Board; package body Peripherals is procedure Init is begin RCC.RCC_Periph.APB2ENR.USART1EN := 1; ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Numerics.Discrete_Random; procedure ProducerConsumer_rndvzs is N : constant Integer := 40; -- Number of produced and comsumed variables -- Random Delays subtype Delay_Interval is Integer range 50..250; package Random_Del...
type Pixel_Count is mod 2**64; type Histogram is array (Luminance) of Pixel_Count; function Get_Histogram (Picture : Grayscale_Image) return Histogram is Result : Histogram := (others => 0); begin for I in Picture'Range (1) loop for J in Picture'Range (2) loop declare Count : Pixel_Cou...
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.SYSCTL is pragma Preelaborate; ...
package body agar.gui.widget.mpane is function widget (mpane : mpane_access_t) return widget_access_t is begin return agar.gui.widget.box.widget (mpane.box'access); end widget; end agar.gui.widget.mpane;
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 - 2019 Joakim Strandberg <joakim@mequinox.se> -- -- 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.ap...
--****************************************************************************** -- -- package STANDARD -- --****************************************************************************** package STANDARD is -- This is the Digital Equipment Corporation VAX/VMS version of the -- Ada standard and system packages. ty...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit required by compiler with System.Storage_Elements; with System.Unbounded_Stack_Allocators; package System.Secondary_Stack is pragma Preelaborate; -- required for secondary stack by compiler (s-secsta.ads) SS_Pool : Integer; -- unused, but compiler requir...
-- -- Copyright (C) 2017 secunet Security Networks AG -- -- 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 2 of the License, or -- (at your option) any later version. -- -- This ...
------------------------------------------------------------------------------- -- Copyright (c) 2016 Daniel King -- -- 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...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- This spec has been automatically generated from STM32L5x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.OctoSPI is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_FTHRES_Field is...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
-- The Beer-Ware License (revision 42) -- -- Jacob Sparre Andersen <jacob@jacob-sparre.dk> wrote this. As long as you -- retain this notice you can do whatever you want with this stuff. If we meet -- some day, and you think this stuff is worth it, you can buy me a beer in -- return. -- -- Jacob Sparre Andersen w...
package SP.Platform is function Home_Dir return String; function Path_Separator return Character; function Path_Opposite_Separator return Character; end SP.Platform;
with Ada.Characters.Handling; with Ada.Directories; with Ada.Strings.Unbounded; with String_Pkg; package body Ayacc_File_Names is use Ada.Characters.Handling; use Ada.Strings.Unbounded; function "+" (Item : String) return Unbounded_String renames To_Unbounded_String; function "+" (Item : Unbounde...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------- -- Copyright (c) 2017 Daniel King -- -- 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...
pragma License (Unrestricted); with Ada.Numerics.Generic_Complex_Types; generic with package Complex_Types is new Generic_Complex_Types (<>); use Complex_Types; package Ada.Numerics.Generic_Complex_Elementary_Functions is pragma Pure; function Sqrt (X : Complex) return Complex; function Log (X : Complex...
with Mazes; procedure Main is package Small_Mazes is new Mazes (Height => 8, Width => 11); My_Maze : Small_Mazes.Maze_Grid; begin Small_Mazes.Initialize (My_Maze); Small_Mazes.Put (My_Maze); end Main;
package direccion is type t_direccion is (Izquierda,Derecha); subtype t_posicion is t_direccion range Izquierda .. Derecha ; function direccion_opuesta(d : in t_direccion) return t_direccion; end direccion;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
with Ada.Containers.Forward_Iterators; with Ada.Directories; with Ada.Text_IO.Iterators; procedure input2forward is begin declare use Ada.Directories; Listing : aliased Directory_Listing := Entries (".", "*"); package DII is new Ada.Containers.Forward_Iterators ( Input_Cursor => Ada.Directories.Cursor, Has...
-- { dg-do compile } procedure Derived_Type4 is type Root (D : Positive) is record S : String (1 .. D); end record; subtype Short is Positive range 1 .. 10; type Derived (N : Short := 1) is new Root (D => N); Obj : Derived; begin Obj := (N => 5, S => "Hello"); end;
generic type Itemtype is private; --| This is the data being manipulated. with function Equal (X, Y : in Itemtype) return Boolean is "="; --| This allows the user to define --| equality on ItemType. For instance --| if ItemType is an abstract type --| then equality is defined in terms of ...
with HAL.Bitmap; with Tiny_Text; with Board; use Board; procedure Example is Text : Tiny_Text.Text_Buffer (Bitmap => Display.Hidden_Buffer (1), Width => Display.Width, Height => Display.Height); begin Display.Initialize_Layer (1, HAL.Bitmap.M_1); Text.Initialize; loop Text.Put_L...
-- PACKAGE pc_1_interface -- -- The 17th order coefficients are almost always the best choice. -- -- The Predictor-Corrector method uses least-squares to fit a 17th -- order polynomial to the 33 previous values of F in dY/dt = F(t,Y). -- The least-squares-fit polynomial is used to predict the next -- values of F and...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- 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.Command_Line; with Ada.Text_IO; with Interfaces.C; with Ioctl; procedure Main is use all type Interfaces.C.Unsigned; function TestIOC return Interfaces.C.Unsigned with Import => True, Convention => C, Link_Name => "testIOC"; function TestIO return Interfaces.C.Unsigned with Import...
with Interfaces; use Interfaces; package Utils is pragma Preelaborate; subtype Hex_String_Byte is String (1 .. 2); subtype Hex_String_Short is String (1 .. 4); subtype Hex_String_Word is String (1 .. 8); function To_Hex_String (B : Unsigned_8) return Hex_String_Byte; function To_Hex_String (S : Unsigned_16) r...
package body GDNative is ------------ -- To Str -- ------------ function To_Str (S : Wide_String) return String is Result : String (S'first .. S'last); begin for I in S'range loop Result (I) := Character'val (Wide_Character'pos (S (I))); end loop; return Result; end; ------------- -- To Wi...
with FLTK.Widgets; package FLTK.Tooltips is function Get_Target return access FLTK.Widgets.Widget'Class; procedure Set_Target (To : in FLTK.Widgets.Widget'Class); function Is_Enabled return Boolean; procedure Set_Enabled (To : in Boolean); procedu...
with Lists; with Ada.Text_IO; use Ada.Text_IO; procedure Main is procedure del_int(obj: Integer) is begin null; end del_int; package Integer_List is new lists(Integer,Integer'Image,"=",del_int); use Integer_List; procedure Test_List_Package(L1:in out List) is begin Put_Line("Image: ...
with GNAT.Spitbol; use GNAT.Spitbol; with Interfaces; use Interfaces; package body GPR_Tools.Gprslaves.DB.JSON is use GNATCOLL.JSON; ------------ -- Create -- ------------ function Create (Item : Info_Struct) return GNATCOLL.JSON.JSON_Value is begin return Ret : constant JSON_Value := Create_Ob...
----------------------------------------------------------------------- -- keystore-repository-keys -- Data keys management -- Copyright (C) 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 f...
package Giza.Bitmap_Fonts.FreeMonoOblique12pt7b is Font : constant Giza.Font.Ref_Const; private FreeMonoOblique12pt7bBitmaps : aliased constant Font_Bitmap := ( 16#11#, 16#11#, 16#12#, 16#22#, 16#22#, 16#00#, 16#0E#, 16#E0#, 16#E7#, 16#E7#, 16#C6#, 16#C6#, 16#C6#, 16#84#, 16#84#, 16#02#, 16#40#, 16#88#, 1...
------------------------------------------------------------------------------ -- Copyright (c) 2013-2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with Ada.Strings.Fixed; package body UxAS.Comms.Data.Addressed.Attributed is ---------------------------------------- -- Set_Address_Attributes_And_Payload -- ---------------------------------------- procedure Set_Address_Attributes_And_Payload (This : in out Addressed_Attributed_Messag...
package body Missile is procedure appear_mis(s : in out Missile; X : Integer; Y : Integer; Max_Y : Integer) is begin if s.State /= DEAD then return; end if; s.X := X + 10; s.Y := Y + 40; s.Max_Y := Max_Y; s.State := ALIVE; end appear_mis; procedure move_mis(s : in out M...
----------------------------------------------------------------------- -- launch -- Launch an external process redirecting the input and output -- Copyright (C) 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
with Text_IO; with Ada.Integer_Text_IO; with Matrix_Mult; use Text_IO; use Ada.Integer_Text_IO; use Matrix_Mult; procedure Assignment_Main is A: Mat; B: Mat; C: Mat; task type Read_Mat is entry Read(M: out Mat); end Read_Mat; task body Read_Mat is begin accept Read(M: ou...
package body getter.high is function get return character is c : character; begin pop; return ' '; end get; function get_word (s : string; n : natural := 0; force : boolean := false) return string is c : natural := 0; ns : string := s & ' '; i, j : natural; begin if force then ...
with Ada.Calendar; use Ada.Calendar; with Ada.Text_IO; use Ada.Text_IO; with Ada.Characters; with Ada.Characters.Latin_1; with Ada.Real_Time; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Fixed; with GNAT.Calendar; use GNAT.Calendar; with GNAT.Calendar.Time_IO; with DOM.Core; use DOM.Core; wi...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package body Zstandard.Functions.Streaming_Compression is ------------------ -- Initialize -- ------------------ procedure Initialize (mechanism : out Compressor; output_stream : not n...
with Rejuvenation.Match_Patterns; use Rejuvenation.Match_Patterns; with Rejuvenation.Patterns; use Rejuvenation.Patterns; package Rejuvenation.Finder is -- Methods to find nodes of a certain Node_Kind or nodes that match certain -- AST patterns. -- Externally-visible data structures ------- pack...
-- 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...
with System; with Unchecked_Conversion; package Lto8_Pkg is type Task_Priority_T is new Natural; function Convert_To_System_Priority is new Unchecked_Conversion (Task_Priority_T, System.Priority); protected type Protected_Queue_T( PO_Priority : Task_Priority_T ) is pragma Priority (Convert_To_Sys...
------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- 7 package Asis.Implementation.Permissions ------------------------------------------------------------------------------- --------------------------------...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package fov_types_h is -- arg-macro: function FOV_PERMISSIVE (x) -- return (TCOD_fov_algorithm_t)(FOV_PERMISSIVE_0 + (x)); -- BSD 3-Clause License -- * -- * Copyright © 2008-2021, Jice and t...
-- This file is generated by SWIG. Please do *not* modify by hand. -- with Swig; with Interfaces.C; package gmp_c.a_a_gmp_randstate_struct_a_mp_algdata is -- Item -- type Item_variant is (a_mp_lc_variant); type Item (union_Variant : Item_variant := Item_variant'First) is record case union_Variant ...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" private package Yaml.Presenter.Analysis is -- this package analyzes scalars to check how they can be represented type Necessary_Quoting is (None, Only_In_Flow, Single, Double); type Scalar...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Screen_Interface; package Railroad is procedure Initialize; procedure Spawn_Train; procedure Simulation_Step; procedure Draw (Init : Boolean := False); procedure On_Touch (P : Screen_Interface.Point); end Railroad;
pragma License (Unrestricted); -- implementation unit required by compiler with System.Packed_Arrays; package System.Pack_48 is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). type Bits_48 is mod 2 ** 48; for Bits_48'Size use 48; package Indexing is new...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Account.Default_Account is type Instance is tagged private; type Instance_Ref is access Instance; procedure Set_Name(Item: in out Instance; N: in String); function Name(Item: in Instance) return String; procedu...
-- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- with root.child; procedure run_alt1 is -- NOTE: these two lin...
with System; with STM32F4.RCC; use STM32F4.RCC; package body STM32F4.PWM is type Single_CCMR_Output is record CCxS : Bits_2; OCxFE : Bits_1; OCxPE : Bits_1; OCxM : Bits_3; OCxCE : Bits_1; end record with Pack, Size => 8; type CCM1_Output_Register is record Ch1 : Si...
-- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- 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 2 of the License, or -- (at your option) any later version. -- -- ...
with Ada.Text_IO; use Ada.Text_IO; package body Symbolic_Expressions.Solving is procedure Mastica (X : Boolean) is begin null; end Mastica; ---------------------- -- Triangular_Solve -- ---------------------- procedure Triangular_Solve (What : in Equation_Tables.Map; Result...
-- MIT License -- Copyright (c) 2021 Stephen 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,...
procedure typeclass is begin case Integer'Type_Class is when others => null; end case; end;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
WITH TileADT, Text_IO; USE TileADT, Text_IO; PACKAGE BODY Display IS -- -- Implementation of Display ADT for Mahjongg solitaire game -- PROCEDURE SayTile(TheTile : Tile) IS BEGIN null; END SayTile; PROCEDURE ShowTile(TheTile : Tile) IS -- Assumes : TheTile has a position and a value. -- Uses : The...
with Asis.Elements; with Asis.Expressions; package body Asis_Adapter.Element.Associations is ------------ -- EXPORTED: ------------ procedure Do_Pre_Child_Processing (Element : in Asis.Element; State : in out Class) is Parent_Name : constant String := Module_Name; Module_Name : c...
with DDS.Request_Reply.Impl; private package DDS.Request_Reply.Replier.Impl is type Ref is limited new DDS.Request_Reply.Impl.Ref and DDS.Request_Reply.Replier.Ref with record null; end record; type Ref_Access is access all Ref; procedure Wait_For_Requests (Self : not null access Ref; ...
package Lto1_Pkg is type Unsigned_64 is mod 2 ** 64; type Associated_Report_T is (miss, radpr, radssr, radcmb); -- sensor type : primary, secondary, co-rotating (combined) subtype Sensor_Type_T is Associated_Report_T; -- range radpr .. radcmb; subtype Antenna_Type_T is Sensor_Type_T range radpr .. ra...
Pragma Ada_2012; Pragma Wide_Character_Encoding( UTF8 ); with Risi_Script.Types.Patterns, Risi_Script.Types.Identifier, Risi_Script.Types.Identifier.Scope, Risi_Script.Types.Implementation; Package Risi_Script.Interfaces is Use Risi_Script.Types.Patterns; Type Stack_Interface is Interface; Function Match(...
-- 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...
pragma License (Unrestricted); -- runtime unit required by compiler package System.Unsigned_Types is pragma Pure; -- required for modular types by compiler (s-unstyp.ads) type Short_Short_Unsigned is mod 2 ** Short_Short_Integer'Size; type Short_Unsigned is mod 2 ** Short_Integer'Size; type Unsigned i...
-- part of FreeTypeAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with FT.Errors; with FT.API.Glyphs; package body FT.Glyphs is use type Errors.Error_Code; procedure Check_Glyph (Object : Glyph_Reference) is begin if Object.Data = null then ...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Text_IO; with GL.Buffers; use GL.Buffers; with GL.Immediate; use GL.Immediate; with GL.Fixed.Matrix; use GL.Fixed.Matrix; use GL.Fixed; with GL.Fixed.Textures; with GL.Types.C...
with impact.d2.orbs.Shape, impact.d2.Math, interfaces.c.Pointers; package impact.d2.orbs.Distance -- -- -- is use impact.d2.Math; type b2Vec2_array is array (uint32 range <>) of aliased b2Vec2; package b2Vec2_Pointers is new Interfaces.C.Pointers (uint32, b2Vec2, ...