content
stringlengths
23
1.05M
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 1999 - 2018 Gautier de Montmollin -- SWITZERLAND -- -- 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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- multipro -- Points out multiprocessor issues when incrementing counters -- Copyright (C) 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"...
with STM32_SVD; use STM32_SVD; with STM32_SVD.GPIO; with STM32_SVD.USB; with STM32GD.USB; use STM32GD.USB; with Ada.Interrupts.Names; with System; package body STM32GD.USB.Endpoint is procedure Init is begin end Init; end STM32GD.USB.Endpoint;
with BB_Pico_Bsp.STMPE811; with BB_Pico_Bsp.SPI; with BB_Pico_Bsp.LCD; with RP.Device; with RP.GPIO; with Pico; package body BB_Pico_Bsp.Touch is Touch_CS : RP.GPIO.GPIO_Point renames Pico.GP7; Device : BB_Pico_Bsp.STMPE811.STMPE811_Device (Port => BB_Pico_Bsp.SPI.Port, Chip_Select => Touch...
------------------------------------------------------------------------------ -- Copyright (c) 2014-2017, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- { dg-do compile } -- { dg-options "-gnat2012" } function Recursive_Call (File : String; Status : out Boolean) return Boolean is begin if File /= "/dev/null" then return Recursive_Call ("/dev/null", Status); end if; return False; end;
-- { dg-do compile } with Ada.Finalization; use Ada.Finalization; procedure finalized is type Rec is new Controlled with null record; Obj : access Rec := new Rec'(Controlled with null record); begin null; end;
-- Simple file opener and writer. -- João Villaça - ICMC/USP - March, 2019. WITH Ada.Sequential_IO; PROCEDURE TEST1 is PACKAGE Seq_Float_IO is new Ada.Sequential_IO (Element_Type => float); blank, container : Seq_Float_IO.File_Type; str : CONSTANT String := "stream_init.dat"; ord : CONSTANT String := "...
with openGL.Program, openGL.Tasks, openGL.Errors, GL.lean, GL.Pointers, interfaces.C.Strings; package body openGL.Variable.uniform is use GL.lean, Interfaces; --------- -- Forge -- procedure define (Self : in out Item; Program : access openGL.Program.item'Class;...
with Ada.Text_IO; with file_crypter; with byte_package; with Ada.Command_Line; with System.os_lib; with Ada.Exceptions; procedure vibecrypt is in_file : byte_package.byte_io.File_Type; out_file : byte_package.byte_io.File_Type; mode : file_crypter.mode; password : file_crypter.key_s; procedure help is be...
-- Copyright 2015 Steven Stewart-Gallus -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agr...
-- -- Copyright (C) 2019, AdaCore -- -- This spec has been automatically generated from ATSAMV71Q21.svd pragma Ada_2012; pragma Style_Checks (Off); with System; -- Microchip ATSAMV71Q21 Microcontroller package Interfaces.SAM is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Interfaces is pragma Pure; end AdaBase.Interfaces;
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
----------------------------------------------------------------------- -- util-systems-dlls-tests -- Unit tests for shared libraries -- Copyright (C) 2013, 2017, 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 Call_Method is package My_Class is ... -- see above package body My_Class is ... -- see above package Other_Class is ... -- see above package body Other_Class is ... -- see above Ob1: My_Class.Object; -- our "root" type Ob2: Other_Class.Object; -- a typ...
with Ada.Directories; use Ada.Directories; with Ada.Text_IO; use Ada.Text_IO; procedure Test_File_Size is begin Put_Line (File_Size'Image (Size ("input.txt")) & " bytes"); Put_Line (File_Size'Image (Size ("/input.txt")) & " bytes"); end Test_File_Size;
-- Copyright (c) 2015-2019 Marcel Schneider -- for details see License.txt with Tokens; use Tokens; with TokenValue; use TokenValue; with Position; use Position; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Lexer_Base is type Object is tagged private; procedure OpenFile (O : in out Object; ...
------------------------------------------------------------------------------- -- Copyright (c) 2019, Daniel King -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes is ----------------------- -- Enclosing_Element -- ----------------------- overriding functio...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. procedure Sprites with Linker_Section => ".iwram", No_Inline; pragma Machine_Attribute (Sprites, "target", "arm");
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- { dg-do run } -- { dg-options "-gnatws" } pragma Locking_Policy (Ceiling_Locking); with test_prio_p;use test_prio_p; with text_io; use text_io; procedure Test_Prio is task Tsk is pragma Priority (10); end Tsk; task body Tsk is begin Sema2.Seize; Sema1.Seize; Put_Line ("error")...
-- { dg-do compile } package body Frame_Overflow is function -- { dg-error "too large" } Set_In (Bitmap : Bitmap_T; Bitpos : Bitpos_Range_T) return Bitmap_T is Result: Bitmap_T := Bitmap; begin Result.Bits (Bitpos) := True; return Result; end; function -- { dg-error "too large"...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Generic_Array_Sort; with Ada.Containers.Indefinite_Vectors; procedure Danagrams is package StringVector is new Ada.Containers.Indefinite_Vectors (Positive, String); procedure StrSort is new Ada.Containers.Generic_Array_Sort (Index_Type => Positive...
-- MURMUR3 -- -- taken from http://commons.ada.cx/Deterministic_Hashing -- source at http://pastebin.com/ZhgRacMr -- -- Baldrick on #ada provided an implementation of Murmur3. -- Generic_Murmur3 is the core logic, the rest are convenience functions. -- -- license: asked on #ada (Baldrick, 2014-04-07): pub...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
with C3GA; with Multivectors; with Multivector_Analyze; use Multivector_Analyze; package Multivector_Analyze_C3GA is -- procedure Analyze (Analysis : in out MV_Analysis; function Analyze (MV : Multivectors.Multivector; Probe : Multivectors.Normalized_Point := C3GA.no; ...
with ada.Containers.Vectors, interfaces.C.Pointers; package impact.d3.Containers -- -- Provides various common containers. -- is -- Integer -- package integer_Vectors is new ada.Containers.Vectors (Positive, Integer); subtype integer_Vector is integer_Vectors.Vector; type in...
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
------------------------------------------------------------------------------ -- -- -- 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.TtkWidget.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Tk.TtkWidget.Test_Data .Test w...
with Ada.Directories; use Ada.Directories; ... Rename ("input.txt", "output.txt"); Rename ("docs", "mydocs"); Rename ("/input.txt", "/output.txt"); Rename ("/docs", "/mydocs");
------------------------------------------------------------------------------ -- Copyright (c) 2013, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-------------------------------------------------------------------------------- -- Fichier : arbre_binaire.adb -- Auteur : MOUDDENE Hamza & CAZES Noa -- Objectif : Implantation du module Arbre_Binaire. -- Créé : Dimanche Nov 25 2019 ---------------------------------------------------------------------------...
with BRAM; with Device; use Device; with CACTI; package body Memory.SPM is MIN_WORD_COUNT : constant := 64; function Create_SPM(mem : access Memory_Type'Class; size : Natural; latency : Time_Type := 1) return SPM_Pointer is result : constant SPM...
with AUnit; with AUnit.Test_Fixtures; package Array_Utils.Test_Cases is type Test_Case is new AUnit.Test_Fixtures.Test_Fixture with null record; procedure Test_Linear_Search_Element_Found_First_Entry (T : in out Test_Case); procedure Test_Linear_Search_Element_Found_Last_Entry (T : in out Test_Case); p...
with Ada.Unchecked_Deallocation; with Device; use Device; package body Benchmark is procedure Set_Memory(benchmark : in out Benchmark_Type'Class; mem : in Memory_Pointer) is begin benchmark.max_addr := (Address_Type(2) ** Get_Address_Bits) - 1; benchmark.m...
with Ada.Text_IO; use Ada.Text_IO; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation; use Rejuvenation; with Rejuvenation.Factory; use Rejuvenation.Factory; with Rejuvenation.Finder; use Rejuvenation.Finder; with R...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; procedure Test_List_Index is Not_In : exception; type List is array (Positive range <>) of Unbounded_String; function Index (Haystack : List; Needle : String) return Positive is begin for Index in ...
------------------------------------------------------------------------------ -- -- -- Hardware Abstraction Layer for STM32 Targets -- -- -- -- ...
-- MIT License -- -- Copyright (c) 2021 Glen Cornell <glen.m.cornell@gmail.com> -- -- 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 rig...
with xml.Reader, ada.Text_IO; package body XML is ------------------ --- Attribute type -- function Name (Self : in Attribute_t) return String is begin return to_String (Self.Name); end Name; function Value (Self : in Attribute_t) return String is begin return ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package Garden_Pkg is subtype Position is Positive range 1..10; function GetRandPos return Position; function GetField(pos : Position) return Boolean; procedure SprayField(pos : Position); procedure SprayAbsorbed; private type Fields is array(Integer range <>) of Boolean; Garden : Fields(1..10) := (1...
with Ada.Text_IO; procedure Hello is package IO renames Ada.Text_IO; begin for I in Integer range 1 .. 10 loop bar(); end loop; end Hello;
----------------------------------------------------------------------- -- awa-events-queues-fifos -- Fifo event queues (memory based) -- 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...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package interrupts_hpp is type Interrupt is (VBLANK, LCD_STATUS, TIMER, SERIAL, JOYPAD); pragma Convention (C, Interrupt); -- ./interrupts.hpp:3 end interrupts_hpp;
with Type_Lib; use Type_Lib; package Shared_Data is protected type Sensor_Reading is procedure Set (Meassured_Value : in Float); entry Get (Value : out Float); private Updated : Boolean := False; Current_Value : Float; end Sensor_Reading; protected type Act...
package body GNAT.Calendar.Time_IO is function Image (Date : Ada.Calendar.Time; Picture : Picture_String) return String is begin raise Program_Error; -- unimplemented return Image (Date, Picture); end Image; function Value (Date : String) return Ada.Calendar.Time is begin raise ...
package Opt6 is type String_Access is access all String; type String_List is array (Positive range <>) of String_Access; type String_List_Access is access all String_List; type Command_Line_Iterator is record Params : String_List_Access; Current : Natural; end record; function Curren...
pragma SPARK_Mode; with Types; use Types; -- @summary -- Types used in the line finder algorithm package Line_Finder_Types is -- States detected by the IR sensors -- @value Lost no line found. Start panicking -- @value Online one line is found somewhere under the middle set of -- sensors -- ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
with STM32_SVD.I2C; with STM32_SVD; use STM32_SVD; package STM32GD.I2C is pragma Preelaborate; I2C_1 : STM32_SVD.I2C.I2C_Peripheral renames STM32_SVD.I2C.I2C1_Periph; I2C_2 : STM32_SVD.I2C.I2C_Peripheral renames STM32_SVD.I2C.I2C2_Periph; end STM32GD.I2C;
-- -- Standard Ada packages -- with Ada.Text_IO; with Ada.Integer_Text_IO; with Ada.Float_Text_IO; -- -- Other packages -- with BBS.BBB.i2c; with BBS.BBB.i2c.PCA9685; with BBS.BBB.i2c.BME280; with BBS.units; with WeatherCommon; procedure test is port : BBS.BBB.i2c.i2c_interface := BBS.BBB.i2c.i2c_new; servo : BB...
-- Project: MART - Modular Airborne Real-Time Testbed -- System: Emergency Recovery System -- Authors: Markus Neumair (Original C-Code) -- Emanuel Regnath (emanuel.regnath@tum.de) (Ada Port) -- -- Module Description: -- Driver for the IMU MPU6000 -- with HIL; use HIL; private package MPU6000.Re...
with Opt28_Pkg; use Opt28_Pkg; package body Opt28 is function Full_Filename (Filename : String) return String is Path : constant String := "PATH"; Posix_Path : constant Posix_String := To_Posix (Path); begin declare M : constant Posix_String := Value_Of (Posix_Path); N : constant Posix_St...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. package body Apsepp_Test_Suite is ---------------------------------------------------------------------------- overriding function Child_Array (Obj : Apsepp_T_S) return Test_Node_Array is (Test_Nod...
with Ada.Calendar; use Ada.Calendar; package Opt7 is type time_t is (Absolute_Time, Delta_Time); procedure Parse (Str : String; Time_Type : out time_t; Abs_Time : out Time; Delt_Time : out Duration); end Opt7;
------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- 6 package Asis.Implementation ------------------------------------------------------------------------------- ----------------------------------------------...
-- { dg-do run } with Init12; use Init12; with Text_IO; use Text_IO; with Dump; procedure Q12 is A1 : Arr1 := My_A1; A11 : Arr11 := My_A11; A2 : Arr2 := My_A2; A22 : Arr22 := My_A22; begin Put ("A1 :"); Dump (A1'Address, Arr1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A1 : 12 00...
procedure Show_Type_Invariant; -- package Prout is -- procedure Yolo (A : int; B : int); -- end Prout;
----------------------------------------------------------------------- -- awa-wikis-writers-html -- Wiki HTML writer -- Copyright (C) 2011, 2012, 2013, 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
with Lumen.Binary; package body Mandelbrot is function Create_Image (Width, Height : Natural) return Lumen.Image.Descriptor is use type Lumen.Binary.Byte; Result : Lumen.Image.Descriptor; X0, Y0 : Float; X, Y, Xtemp : Float; Iteration : Float; Max_Iteration : constant Float := 1...
-- 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...
----------------------------------------------------------------------- -- AWA.Counters.Models -- AWA.Counters.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-...
with JSA.Tests.Intermediate_Backups; package body JSA.Tests is function Suite return Ahven.Framework.Test_Suite is use Ahven.Framework; Intermediate_Backup_Test : JSA.Tests.Intermediate_Backups.Test; begin return Suite : Test_Suite := Create_Suite ("JSA") do Add_Static_Test (Suite, I...
------------------------------------------------------------------------------ -- -- -- Internet Protocol Suite Package -- -- -- -- -...
with Ada.Text_IO; use Ada.Text_IO; procedure TicTac is task Count is entry Start; entry Stop; entry Reset; end Count; task body Count is Counter : Natural := 0; Is_Counting : Boolean := FALSE; begin loop select when Is_Counting => ...
-- Standard Ada library specification -- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. ...
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 2000 - 2018 Gautier de Montmollin -- SWITZERLAND -- -- 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...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Nodes.Generic_Vectors; with Program.Elements.Parameter_Associations; package Program.Nodes.Parameter_Association_Vectors is new Program.Node...
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; with Sf.Config; use Sf.Config; with Sf.System.Sleep; use Sf.System.Sleep; with Sf.Audio.Types; use Sf.Audio.Types; with Sf.Audio.Music; use Sf.Aud...
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+spat@heisenbug.eu) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hoc...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Message_Visiters; with Ada.Numerics.Elementary_Functions; package body Slim.Messages.audg is List : constant Field_Desc...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, 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 openGL.Model, physics.Model, gel.Sprite, gel.Joint, gel.human_Types, openGL, openGL.Program; limited with gel.World; private with collada.Library.visual_scenes; package gel.Human -- -- Provides access to and control of a 'make_human' produced model. -- is type Item is tagged...
------------------------------------------------------------------------------- -- 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...
----------------------------------------------------------------------- -- util-properties-json -- read json files into properties -- Copyright (C) 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use...
package Oriented is type Object is tagged limited private; type Object_Access is access Object; procedure Initialize (Ob : in out Object; P_Id : in Positive); function Get_Item_Id (Ob : in Object) return Positive; function NewObj return Object_Access; procedure Free (Obj : in out Objec...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Unchecked_Deallocation; with Ada.Assertions; use Ada.Assertions; with Device; use Device; with BRAM; with CACTI; with Random_Enum; package body Memory.Cache is MIN_LINE_COUNT : constant := 16; procedure Free is new Ada.Unchecked_Deallocation(Cache_Data, Cache_Data_Pointer); function...
with System; package body lace.Strings.Search is use Ada.Strings.Maps, System; ----------------------- -- Local Subprograms -- ----------------------- function Belongs (Element : Character; Set : Maps.Character_Set; Test : Membership) return Boolean; pragma In...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Numerics.Discrete_Random; with GNAT.String_Split; with PortScan.Buildcycle.Pkgsrc; with PortScan.Buildcycle.Ports; with Replicant.Platform; with Signals; with Unix; package body PortScan.Ops is packag...
with Ada.Text_IO, Ada.Integer_Text_IO; use Ada; procedure add_function is function add(a, b : Integer) return Integer is begin return a + b; end add; result : Integer; begin result := add(3, 5); Integer_Text_IO.put(result); end add_function;
with Interfaces; private with Interfaces.C; private with System; package SocketCAN is -- Ada binding for the SocketCAN driver included in Linux Kernel > 2.6.25. -- https://www.kernel.org/doc/Documentation/networking/can.txt -- -- Note: This binding is incomplete! -- Interfaces CAN_RAW socket with CA...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- Standard Ada library specification -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaRe...
------------------------------------------------------------------------------- -- -- -- Copyright (C) 2020-2030, per.s.sandberg@bahnhof.se -- -- -- ...
for I in reverse 0..10 loop Put_Line(Integer'Image(I)); end loop;
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; with Ada.Unchecked_Deallocation; package body Vecteurs_Creux is procedure Free is new Ada.Unchecked_Deallocation (T_Cellule, T_Vecteur_Creux); p...
with Ada_Containers_Indefinite_Holders; --use the real deal where present... with Ada.Finalization; with Executor_Service; generic type Item(<>) is private; package Futures is type Object(<>) is limited new Executor_Service.Callable with private; type Callback_Function is access function return Item; ...
pragma Warnings (Off); pragma Style_Checks (Off); with GL, GLOBE_3D.Math; -- with Ada.Text_IO; use Ada.Text_IO; -- with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed; package body Sierpinski is ----------------- -- Create_Cube -- ----------------- procedure Create_Cu...
with AdaM.Comment, AdaM.raw_Source, AdaM.a_Type.enumeration_type, Glib, Glib.Error, Glib.Object, Gtk.Builder, Gtk.Handlers, Pango.Font; with Ada.Text_IO; use Ada.Text_IO; package body aIDE.Palette.of_source_entities is use Glib, Glib.Error, G...
with Ada.Containers; use Ada.Containers; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with AUnit.Assertions; use AUnit.Assertions; with GNAT.Source_Info; use GNAT.Source_Info; with Langkit_Support.Text; use Lang...
with FLTK.Widgets.Inputs, FLTK.Widgets.Menus.Menu_Buttons; package FLTK.Widgets.Groups.Input_Choices is type Input_Choice is new Group with private; type Input_Choice_Reference (Data : not null access Input_Choice'Class) is limited null record with Implicit_Dereference => Data; p...