content
stringlengths
23
1.05M
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" private with Ada.Finalization; package Yaml.Events.Queue is type Instance is limited new Refcount_Base with private; type Instance_Access is access all Instance; type Reference is tagged pri...
package ARM_Database is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the database to store items for non-normative -- appendixes. -- -- --------------------------------------- -- Copyright 2000, 2004, 2005, 2006, 2011 -- AXE Consultants. A...
pragma License (Unrestricted); -- Ada 2012 with System.Storage_Pools.Subpools; procedure Ada.Unchecked_Deallocate_Subpool ( Subpool : in out System.Storage_Pools.Subpools.Subpool_Handle); pragma Preelaborate (Ada.Unchecked_Deallocate_Subpool); pragma Inline (Ada.Unchecked_Deallocate_Subpool);
with Calc, calc_lex.IO, Text_IO; procedure driver is in_file_name: string(1..80); last : natural; begin Text_IO.Put("Enter input file: "); Text_IO.Get_Line(in_file_name, last); calc_lex.IO.open_input(in_file_name(1..last)); --calc_lex.IO.open_input("/dev/tty"); calc_lex.IO.create_output; ...
package body openGL.Variable is --------- -- Forge -- procedure define (Self : in out Item) -- TODO: Rid these ? is begin null; end define; procedure destroy (Self : in out Item) is begin null; end destroy; end openGL.Variable;
with Ada.Text_IO; with Ada.IO_Exceptions; with GNAT.Sockets; procedure Echo_Server is Receiver : GNAT.Sockets.Socket_Type; Connection : GNAT.Sockets.Socket_Type; Client : GNAT.Sockets.Sock_Addr_Type; Channel : GNAT.Sockets.Stream_Access; begin GNAT.Sockets.Create_Socket (Socket => Receiver); ...
package body Ada.Containers.Binary_Trees is function Nonnull_First (Container : not null Node_Access) return not null Node_Access; function Nonnull_First (Container : not null Node_Access) return not null Node_Access is I : not null Node_Access := Container; begin while I.Left /= nu...
Pragma Ada_2012; Pragma Assertion_Policy( Check ); Package Body EVIL.Util.Files with SPARK_Mode => On is -------------- -- GENERICS -- -------------- Generic with Procedure Init_File( File : in out File_Type; Mode : File_Mode; Name : String := Empty_String; Form : String := Empty...
with Ada.Text_Io, Decls.Dgenerals, Decls.Dtnode, Semantica, Decls.D_Taula_De_Noms, Decls.D_Atribut, Decls.dtsimbols, Decls.Dtdesc, Semantica.Missatges; use Ada.Text_Io, Decls.Dgenerals, Decls.Dtnode, Semantica, Decls.D_Taula_De_Noms, Decls.D_Atribut, Decls.Dtsimbols, Decls.Dtdesc, Seman...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package Pixtend.softPwm_h is function softPwmCreate (pin : int; value : int; c_range : int) return int -- softPwm.h:29 with Import => True, Convention => C, External_Name => "softPwmCreate"; ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with GTK.MAIN; with Q_BINGADA; procedure BINGADA is begin GTK.MAIN.INIT; Q_BINGADA.P_CREATE_WIDGETS; -- All GTK applications must have a Gtk.Main.Main. Control ends here -- and waits for an event to occur (like a key press or a mouse event), -- until Gtk.Main.Main_Quit is called. GTK....
----------------------------------------------------------------------- -- util-beans-objects-tests -- Unit tests for objects -- 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 this...
-- SPDX-FileCopyrightText: 2019-2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Iterator_Interfaces; with Program.Elements; limited with Program.Element_Vectors; package Program.Element_Iterators is pragma Pure; t...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package Deferred_Constant is I, J : constant Integer; K, L : Integer; private I : constant Integer := 42; J : constant Integer := 42; end Deferred_Constant; pragma Pure (Deferred_Constant);
generic with procedure Put_Line(Line: String); package Word_Wrap is type Basic(Length_Of_Output_Line: Positive) is tagged private; procedure Push_Word(State: in out Basic; Word: String); procedure New_Paragraph(State: in out Basic); procedure Finish(State: in out Basic); private type Basic(Length_O...
-- C37006A.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...
with Ada.Text_IO; with Ada.Strings.Unbounded; procedure Knapsack_01 is package US renames Ada.Strings.Unbounded; type Item is record Name : US.Unbounded_String; Weight : Positive; Value : Positive; Taken : Boolean; end record; type Item_Array is array (Positive range <>) of It...
-- sarge.adb - Implementation file for the Sarge command line argument parser project. -- Revision 0 -- Features: -- - -- Notes: -- - -- 2019/04/10, Maya Posch with Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded.Text_IO; use Ada.Strings.Unbounded.Text_IO; package bo...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Text_IO; use Ada.Text_IO; package body Editor_Package is function Open_Editor (Name : Unbounded_String; Doc : Integer; Cmd : Integer) return Editor is B1 : constant Buffer := (False, False); B2 : constant Buffer := (False, False); D_Vie...
type Fruit is (apple, banana, cherry); -- No specification of the representation value; for Fruit use (apple => 1, banana => 2, cherry => 4); -- specification of the representation values
pragma Ada_2012; pragma Style_Checks (Off); with System; package Vulkan.Low_Level.vulkan_vi_h is VULKAN_VI_H_u : constant := 1; -- vulkan_vi.h:2 VK_NN_vi_surface : constant := 1; -- vulkan_vi.h:32 VK_NN_VI_SURFACE_SPEC_VERSION : constant := 1; -- vulkan_vi.h:33 VK_NN_VI_SURFACE_EXTENSION_NAME : a...
------------------------------------------------------------------------------ -- waiters.ads -- -- This package supplies a task type for the Waiters in the Enhanced Dining -- Philosophers simulation, and an array of waiters. -- -- Entries: -- -- Here_Is_Your_Name (Name) assigns the name Name to the wait...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
-- Lumen.Events.Keys -- Translated key symbol names for key press and -- -- release events -- -- Chip Richards, NiEstu, Phoenix AZ, Summer 2010 -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software for any --...
----------------------------------------------------------------------- -- gen-commands-templates -- Template based command -- Copyright (C) 2011, 2012, 2013, 2014, 2017, 2018, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "L...
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Ada_Pretty.Definitions is -------------- -- Document -- -------------- overriding function Document (Se...
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.FDCAN is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CREL_DAY_Field is HAL.UInt8; su...
-- -- 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...
-- 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.PRINCE is pragma Preelaborate; ...
package Giza.Bitmap_Fonts.FreeSansOblique8pt7b is Font : constant Giza.Font.Ref_Const; private FreeSansOblique8pt7bBitmaps : aliased constant Font_Bitmap := ( 16#12#, 16#22#, 16#26#, 16#44#, 16#44#, 16#08#, 16#99#, 16#90#, 16#0C#, 16#84#, 16#82#, 16#4F#, 16#F1#, 16#21#, 16#90#, 16#99#, 16#FE#, 16#4C#, 16#...
with Ada.Containers.Vectors; use Ada.Containers; with Memory; use Memory; with Memory.Wrapper; use Memory.Wrapper; with Lexer; use Lexer; -- Package to handle parsing memory descriptions. package Parser is type Parser_Type is limited private; -- Parse the memory description in the specified ...
-- -- -- package Copyright (c) Dmitry A. Kazakov -- -- Strings_Edit.Integer_Edit Luebeck -- -- Implementation Spring, 2000 -- -- ...
-- -- A name is, more or less, a variable that can include both indexes -- array-like and fields record-like. For example, -- -- foo.bar(5).gim -- -- The evaluation of a name does not return a scalar, but a reference. -- Why? Because a name can be on the left hand side of an assignment -- like -- -- foo.bar(5) := ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Internet Protocol Suite Package -- -- -- -- -...
------------------------------------------------------------------------------- -- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file) -- 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 Lic...
with Ada.Command_Line; with Ada.Streams; with Ada.Text_IO; with Ada.Integer_Text_IO; with zlib.Strings; procedure test_strings is use type Ada.Streams.Stream_Element_Offset; Verbose : Boolean := False; Text : constant String := "Hello, zlib!"; Buffer : Ada.Streams.Stream_Element_Array (0 .. 1023); Buffer_Last : Ad...
pragma License (Unrestricted); -- implementation unit required by compiler with System.Storage_Elements.Formatting; function System.Address_Image (A : Address) return Storage_Elements.Formatting.Address_String; pragma Pure (System.Address_Image); pragma Inline (System.Address_Image);
package AdaCar.Alarmas is procedure Notificar_Alarma(Alarma: Tipo_Alarmas); end AdaCar.Alarmas;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- The FSF GNAT 4.9 Project code is hopelessly too modern for AdaBrowse to -- hook into it. Just build AdaBrowse without it. pragma License (GPL); with AD.Projects.Impl_No; private package AD.Projects.Impl renames AD.Projects.Impl_No;
-- -- Copyright (c) 2007-2009 Tero Koskinen <tero.koskinen@iki.fi> -- -- 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...
pragma License (Unrestricted); -- implementation unit specialized for Windows with Ada.Colors; package System.Native_Text_IO.Terminal_Colors is pragma Preelaborate; type Color is mod 16; -- Note: Color represents a combination of BLUE(1), GREEN(2), RED(4), -- and INTENSITY(8). function RGB_To_Col...
with Ada.Text_IO; use Ada.Text_IO; with Interfaces.C; procedure Main is package Float_Io is new Ada.Text_IO.Float_IO (Interfaces.C.C_float); type Data_T is null record; -- complete this Object_Feet : Data_T; Object_Meters : Data_T; Object_Miles : Data_T; procedure Run (Object : Data_T) is begin...
with Ada.Containers.Indefinite_Vectors; generic type Classified_Line (<>) is private; type Classifier_Type (<>) is private; with function Classify (Classifier : Classifier_Type; Line : String) return Classified_Line is <> ; with function Is_To_Be_Ignored (Line : Classifie...
with GL, GL.IO, UnZip.Streams; with Ada.Characters.Handling; use Ada.Characters.Handling; with Ada.Exceptions; use Ada.Exceptions; with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.U...
---------------------------------------------------------- -- Copyright (c), The MIT License (MIT) -- Author: Lyaaaaaaaaaaaaaaa -- -- Revision History: -- 18/09/2019 Lyaaaaaaaaaaaaaaa -- - Added file header -- - Removed procedure Init_Objects (unused procedure) --------------------------------------------------...
pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) with Ada.Exception_Identification; with Ada.IO_Exceptions; with Ada.IO_Modes; with Ada.Streams; with System.Storage_Elements; with System.Zero_Terminated_Strings; with C.fcntl; with C.unistd; package System.Native_I...
with GESTE; with GESTE.Grid; with GESTE.Tile_Bank; with Ada.Text_IO; with Console_Char_Screen; procedure Collision_Grids is package Console_Screen is new Console_Char_Screen (Width => 20, Height => 10, Buffer_Size => 256, Init_Char => ' '); Palette : aliased constant GESTE....
private with RP.DMA; package BB_Pico_Bsp is pragma Elaborate_Body; private SPI_TX_DMA : constant RP.DMA.DMA_Channel_Id := 1; end BB_Pico_Bsp;
with Ada.Text_IO, Ada.Numerics.Float_Random; procedure Pick_Random_Element is package Rnd renames Ada.Numerics.Float_Random; Gen: Rnd.Generator; -- used globally type Char_Arr is array (Natural range <>) of Character; function Pick_Random(A: Char_Arr) return Character is -- Chooses one of the char...
----------------------------------------------------------------------- -- AWA.Images.Models -- AWA.Images.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen....
pragma Ada_2012; with Interfaces; use Interfaces; generic type Element is mod <>; type Index is range <>; type Element_Array is array (Index range <>) of Element; Length : Index; type State_Array is array (Natural range <>) of Unsigned_32; Initial_State : State_Array; package SHA2_Generic_32 with ...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ API types for skill types -- -- |___/_|\_\_|_|____| by: Timm Felden, Dennis Przytarski ...
pragma License (Unrestricted); package System.Task_Primitives is pragma Preelaborate; subtype Task_Address is System.Address; Task_Address_Size : constant := Standard'Address_Size; end System.Task_Primitives;
-- { dg-do compile } -- { dg-options "-gnatws" } procedure Addr_Slice is type Item_Type is record I : Integer; end record; type Index_Type is (A, B); for Index_Type use (A => 1, B => 10); Item_Array : constant array (Index_Type) of Item_Type := (A => (I => 10), B => (I => 22)); Item :...
pragma License (Unrestricted); -- implementation unit specialized for FreeBSD package System.Long_Long_Elementary_Functions is pragma Pure; -- Long_Float function log (x : Long_Float) return Long_Float with Import, Convention => Intrinsic, External_Name => "__builtin_log"; function Fast_Log (X : L...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- { dg-do compile } with Ada.Tags.Generic_Dispatching_Constructor; use Ada.Tags; package body abstract1 is function New_T (Stream : not null access Root_Stream_Type'Class) return T'Class is function Construct is new Generic_Dispatching_Constructor (T, Root_Stream_Type'Class, Input); ...
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . T I M E R -- -- S p e c -- ----...
with Ada.Text_IO; with Ada.Numerics.Generic_Elementary_Functions; procedure Almost_Integers is type Real is new Long_Long_Float; package Real_IO is new Ada.Text_IO.Float_IO (Real); package Integer_IO is new Ada.Text_IO.Integer_IO (Integer); function Faculty (N : in Long_Long_Integer) return ...
Latin_1_Str : String := "Hello World"; UCS_16_Str : Wide_String := "Hello World"; Unicode_Str : Wide_Wide_String := "Hello World"; Latin_1_Length : constant Natural := Latin_1_Str'Length; UCS_16_Length : constant Natural := UCS_16_Str'Length; Unicode_Length : constant Natural := Unicode_Str'Le...
with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.Primitive_Subps is use type LAL.Analysis_Unit; use type LALCO.Ada_Node_Kind_Type; procedure Extract_Nodes (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context) is begin if Utilities.Is_Relevant...
------------------------------------------------------------------------------ -- Copyright (c) 2019, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
package FLTK.Widgets.Valuators.Dials is type Dial is new Valuator with private; type Dial_Reference (Data : not null access Dial'Class) is limited null record with Implicit_Dereference => Data; type Dial_Kind is (Normal_Kind, Line_Kind, Fill_Kind); package Forge is function Cr...
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.DLYB is pragma Preelaborate; --------------- -- Registers -- --------------- -- DLYB control register type CR_Registe...
------------------------------------------------------------------------------ -- 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: -- -- * Redistr...
with HAL; use HAL; with STM32; use STM32; with STM32.GPIO; use STM32.GPIO; with STM32.Device; use STM32.Device; package body Serial_IO is protected body Serial_Port_Controller is procedure Init (Baud_Rate : Baud_Rates) is Tx_Pin : constant GPIO_Point := PB6; ...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. package Apsepp_Demo_OSASI_Instance_Controllers is procedure Show_Output_Sink_Instance_State; procedure Output_Sink_Instance_Controller; procedure Deeper_Output_Sink_Instance_Controller (J_P : Boolean :...
with Interfaces; with Ada.Text_IO; use Ada.Text_IO; with GL.Attributes; with GL.Framebuffer; with GL.Objects.Buffers; with GL.Objects.Programs; with GL.Objects.Shaders; with GL.Pixels; with GL.Types.Colors; with GL.Uniforms; with Program_Loader; with Utilities; package body Pick_Manager is type GL_Pick is reco...
with System.Formatting.Decimal; with System.Formatting.Fixed; with System.Formatting.Float; with System.Long_Long_Integer_Types; package body Ada.Formatting is pragma Suppress (All_Checks); use type System.Long_Long_Integer_Types.Word_Unsigned; use type System.Long_Long_Integer_Types.Long_Long_Unsigned; su...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
generic Line_Length : Natural; Max_Lines : Natural; package Slice8_Pkg2 is Subtype Index is Natural Range 0..Line_length; Subtype Line_Count is Natural Range 0..Max_Lines; Type Line (Size : Index := 0) is Record Data : String (1..Size); End Record; Type Lines is Array (Line_Cou...
------------------------------------------------------------------------- -- GL.skinned_Geometry - an association of a skin with a geometry primitive. -- -- Copyright (c) Rod Kay 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose, provided this copyri...
-- C35502C.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...
with Ada.Text_IO; with Padding; procedure Test_Padding is begin Ada.Text_IO.Put_Line(Padding.Left_Pad ("Alice", ' ', 8)); Ada.Text_IO.Put_Line(Padding.Left_Pad ("Bob", ' ', 8)); Ada.Text_IO.Put_Line(Padding.Left_Pad ("Carol", ' ', 8)); end Test_Padding;
-- see OpenUxAS\src\Utilities\UxAS_ConfigurationManager.h with DOM.Core; with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; with UxAS.Comms; with Dynamic_Strings; use Dynamic_Strings; package UxAS.Common.Configuration_Manager is type Manager (<>) is tagged limited private; type Any_Manager is access all Manager'...
with Infrastructure; use Infrastructure; procedure Main is test_steering: Steering; begin test_steering.SetNumber(5); test_steering.CheckStatus; test_steering.Incoming(12); test_steering.CheckStatus; test_steering.Leaving; test_steering.CheckStatus; end Main;
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Ada.Exceptions; use Ada.Exceptions; with Ada.Calendar; use Ada.Calendar; with Ada.Tags; use Ada.Tags; with Apsepp.Calendar; use Apsepp.Calendar; with Apsepp.Test_Node_Cl...
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- separate (JWS.RS256) package body Read_DER is use type Ada.Streams.Stream_Element; use type Ada.Streams.Stream_Element_Count; ...
with soc.dma; use soc.dma; package body soc.devmap with spark_mode => off is function find_periph (addr : system_address; size : unsigned_32) return t_periph_id is begin for id in periphs'range loop if periphs(id).addr = addr and periphs(id).size = size then ...
with Memory.Dup; separate (Parser) procedure Parse_Dup(parser : in out Parser_Type; result : out Memory_Pointer) is dp : Dup.Dup_Pointer := Dup.Create_Dup; mem : Memory_Pointer := null; begin while Get_Type(parser) = Open loop Parse_Memory(parser, mem); Dup.Add_Memory(...
-- 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...
with HAL.Touch_Panel; package BB_Pico_Bsp.Touch is function Get_All_Touch_Points return HAL.Touch_Panel.TP_State; end BB_Pico_Bsp.Touch;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Types; package GL.Raster is -- Obsolete as of OpenGL 3. Supplied here to support some older 3rd party -- functionality like Bitmap and Pixmap fonts of FTGL use GL.Types; use GL.Typ...
pragma License (Unrestricted); -- extended unit package Ada.Environment_Encoding.Encoding_Streams is -- This is a stream wrapper encoding from/to another stream. pragma Preelaborate; -- only reading type In_Type is limited private; -- subtype Open_In_Type is In_Type -- with -- Dynamic_Predic...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...
declare type Integer_Ptr is access Integer; procedure Free is new Ada.Unchecked_Deallocation (Integer, Integer_Ptr) Ptr : Integer_Ptr := new Integer; -- Allocated in the heap begin Free (Ptr); -- Explicit deallocation ... end;
-- 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...
pragma License (Unrestricted); -- runtime unit specialized for Windows with System.Storage_Elements; package System.System_Allocators is pragma Preelaborate; -- heap function Allocate ( Size : Storage_Elements.Storage_Count) return Address; -- Null_Address if it failed function Allocate ( ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- Copyright (C) 2019, AdaCore -- -- This spec has been automatically generated from ATSAMV71Q21.svd -- This is a version for the Microchip ATSAMV71Q21 Microcontroller MCU package Ada.Interrupts.Names is -- All identifiers in this unit are implementation defined pragma Implementation_Defined; -----...
----------------------------------------------------------------------- -- components-core-views -- ASF View Components -- 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 ...
with byte_package; use byte_package; package raiden is subtype key_s is String(1..16); procedure init_key(key_init : key_s); procedure raiden_encrypt(m : in byte_array_8; c : out byte_array_8); procedure raiden_decrypt(c : in byte_array_8; m : out byte_array_8); private type key_t is array(integer range 0..3...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------------- -- -- EXCEL_OUT - A low level package for writing Microsoft Excel (*) files -- -- Pure Ada 95 code, 100% portable: OS-, CPU- and compiler- independent. -- -- Version / date / download info: see the version, reference, web string...