content
stringlengths
23
1.05M
-- Motherlode -- Copyright (c) 2020 Fabien Chouteau package Cargo_Menu is procedure Run; end Cargo_Menu;
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held li...
----------------------------------------------------------------------- -- package body Runge_pc_2, Runge-Kutta integrator. -- Copyright (C) 2008-2018 Jonathan S. Parker. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the a...
package Discriminant_Constraint is type Unconstrained_Type (Size : Natural) is null record; Constrained_Object : Unconstrained_Type (10); end Discriminant_Constraint;
-- FILE: oedipus-complex_text_io.adb LICENSE: MIT © 2021 Mae Morella with Oedipus, Ada.Float_Text_IO, Ada.Text_IO; use Oedipus, Ada.Float_Text_IO, Ada.Text_IO; package body Oedipus.Complex_Text_IO is subtype Field is Ada.Text_IO.Field; procedure Put (Item : in Complex; Fore : in Field := Default_Fore; ...
-- -- Copyright (c) 2015, John Leimon <jleimon@gmail.com> -- -- Permission to use, copy, modify, and/or 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 ...
-- Ascon_Definitions -- Some type / subtype definitions in common use in the Ascon code. -- As some uses of these types are in generic parameters, it is not possible -- to hide them. -- Copyright (c) 2016-2018, James Humphry - see LICENSE file for details pragma Restrictions(No_Implementation_Attributes, ...
with Ada.Text_IO; use Ada.Text_IO; procedure Goodbye_World is begin Put_Line (Standard_Error, "Goodbye, World!"); end Goodbye_World;
-- Task worker - design 2 -- Adds pub-sub flow to receive and respond to kill signal with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; procedure TaskWork2 is use type GNAT.Formatted_String.Formatted_String; function Main return Ada.Command_Line.Exit_Status is begin ...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; package SDL_platform_h is HAVE_WINAPIFAMILY_H : constant := 0; -- ..\SDL2_tmp\SDL_platform.h:134 WINAPI_FAMILY_WINRT : constant := 0; -- ..\SDL2_tmp\SDL_platform.h:141 -- Simple DirectMedia Laye...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Exceptions; with ACO.States; package body ACO.Protocols.Service_Data is procedure Indicate_Status (This : in out SDO'Class; Session : in ACO.SDO_Sessions.SDO_Session; Status : in ACO.SDO_Sessions.SDO_Status) is begin This.Sessions.Put (Session); if Status in...
----------------------------------------------------------------------- -- awa -- Ada Web Application -- 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 this file ...
with Ada.Text_IO, Ada.Command_Line; procedure cmd is primeNumberCount : Integer := 100; j, number: Integer; begin if Ada.Command_Line.Argument_Count = 1 then primeNumberCount := Integer'Value(Ada.Command_Line.Argument(1)); end if; number := 0; while primeNumberCount > 0 loop n...
----------------------------------------------------------------------- -- swagger-credentials-oauth -- OAuth2 client credentials -- Copyright (C) 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use ...
----------------------------------------------------------------------- -- components -- Component tree -- Copyright (C) 2009, 2010, 2011 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 exce...
----------------------------------------------------------------------- -- GtkAda - Ada95 binding for Gtk+/Gnome -- -- -- -- Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet -- -- Copyright (C) ...
package body Impact.d2 -- -- A port of the Box2D physics engine. -- is function b2MixFriction (Friction1, Friction2 : float32) return float32 is use float_math.Functions; begin return SqRt (friction1 * friction2); end b2MixFriction; function b2MixRestitution (restitution1, restitution2...
with Test; with OpenAL.Context; with OpenAL.Context.Error; procedure init_002 is package ALC renames OpenAL.Context; package ALC_Error renames OpenAL.Context.Error; Device : ALC.Device_t; Context : ALC.Context_t; OK : Boolean; TC : Test.Context_t; use type ALC.Device_t; use type ALC....
with float_Math.Geometry .d2, float_Math.Geometry .d3, float_math.Algebra.linear.d3; package Gasp -- -- Provides a namespace and core declarations for the 'Gasp' game. -- is pragma Pure; package Math renames float_Math; package Geometry_2d renames Math.Geometry.d2;...
------------------------------------------------------------------------------ -- Copyright (c) 2011, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with gnat.command_line; use gnat.command_line; package body commandline_args is procedure initialize is procedure validate_int_initialization(x : integer; name : string) is begin if x = int_no_value then raise argument_missing with name; end if; end; ...
with Ada.Directories; package Ch_Conn is procedure Rejoin_Channels (Irc_Dir : String); procedure Scan_Server (Srv_Dir : Ada.Directories.Directory_Entry_Type); procedure Maintain_Channel_Connection (Srv_Dir : Ada.Directories.Directory_Entry_Type; Ch_Dir : Ada.Directories.Directory_Entry_Typ...
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
package aspect_spec is task type T with Storage_Size => 1000; end aspect_spec;
with aIDE.Palette.of_types, gtk.Widget; private with gtk.Frame, gtk.Scrolled_Window; with Gtk.Box; with Gtk.Button; with Gtk.Notebook; package aIDE.Palette.of_types_package is type Item is new Palette.item with private; type View is access all Item'Class; function to_types_Palette_p...
-- Abstract : -- -- A simple unbounded sorted vector of definite items. -- -- Copyright (C) 2019 Free Software Foundation, Inc. -- -- This library 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...
-- C37005A.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 Distance_Sensor_Controller; with Ada.Real_Time; use Ada.Real_Time; --with Ada.Execution_Time; with Arduino_Nano_33_Ble_Sense.IOs; with Servo_Controller; package body Vehicle_Controller is ------------- -- Compute -- ------------- task body Compute is --Only for calculating schedule-- --S...
-- 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 HAL; with System; -- USB FS/LS controller device registers packa...
with Operation; use Operation; package Calculate1 is function Execute(Value: String; Current_Index: in out Integer) return NaturalDouble; end Calculate1;
-- --------------------------------------------------------------------------- -- -- -- TIME constant and type definitions and management services -- -- -- -- --------------------------------------------------------------------------- package APEX.Timing is procedure Timed_Wait (Delay_Time : in System_Time_Typ...
package lace.Text.forge -- -- Provides constructors for Text. -- is -- Files -- type Filename is new String; function to_String (Filename : in forge.Filename) return String; function to_Text (Filename : in forge.Filename) return Item; -- Stock Items -- function to_Text_2 (From : in Strin...
package PIN with SPARK_Mode is type PIN is private; function From_String(S : in String) return PIN with Pre => (S' Length = 4 and (for all I in S'Range => S(I) >= '0' and S(I) <= '9')); private type PIN is new Natural range 0..9999; end PIN;
-- Définition de structures de données sous forme d'une liste chaînée (LC). generic type T_Cle is private; type T_Donnee is private; package LC is type T_LC is limited private; -- Initialiser une Sda. La Sda est vide. procedure Initialiser(Sda: out T_LC) with Post => Est_Vide (Sda); -- Est-ce qu'une Sda...
function Color (Picture : Grayscale_Image) return Image is Result : Image (Picture'Range (1), Picture'Range (2)); begin for I in Picture'Range (1) loop for J in Picture'Range (2) loop Result (I, J) := (others => Picture (I, J)); end loop; end loop; return Result; end Color;
-- Score PIXAL le 07/10/2020 à 17:48 : 100% with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Afficher le PGCD de deux entiers positifs. procedure PGCD is A, B: Integer; n_A, n_B: Integer; pgcd: Integer; begin -- Demander deux entiers A et B Pu...
with Ada.Text_IO; with Config; use Config; procedure Read_Config is use Ada.Text_IO; use Rosetta_Config; begin New_Line; Put_Line ("Reading Configuration File."); Put_Line ("Fullname := " & Get (Key => FULLNAME)); Put_Line ("Favorite Fruit := " & Get (Key => FAVOURITEFRUIT));...
-- Initialization is executed only once at power-on and executes -- routines that set-up peripherals. package Startup is procedure Initialize; -- Initializes peripherals and configures them into a known state. procedure Start_Inverter; -- Start the inverter private Initialized : Boolean := False...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with System.Storage_Elements; with Ada.Storage_IO; package body Slim.Messages is ----------------- -- Read_Fields -- ------...
package FLTK.Environment is type Preferences is new Wrapper with private; type Preferences_Reference (Data : not null access Preferences'Class) is limited null record with Implicit_Dereference => Data; type Scope is (Root, User); Preference_Error : exception; package Forge is ...
-- ----------------------------------------------------------------------------- -- Copyright (C) 2003-2019 Stichting Mapcode Foundation (http://www.mapcode.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...
with Ada.Text_IO; procedure Fib is procedure Print(Item : Natural) is S : constant String := Natural'Image(Item); begin Ada.Text_IO.Put_Line(S(S'First + 1 .. S'Last)); end Print; A, B : Natural; begin Print(0); Print(1); A := 1; Print(A); B := A + A; Print(B); while A < 10...
--with Imu.Library; use Imu.Library with Exception_Declarations; use Exception_Declarations; package Meassure_Acceleration is procedure Retrieve_Acceleration (Acc_X, Acc_Y : out Float); private X_Coordinate : Float; Y_Coordinate : Float; Z_Coordinate : Float; end Meassure_Acceleration;
-- ----------------------------------------------------------------------------- -- Copyright 2018 Lionel Draghi -- -- 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.apach...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with any_Math.any_fast_Trigonometry; package float_Math.fast_Trigonometry is new float_Math.any_fast_Trigonometry;
-- Warning: This lexical scanner is automatically generated by AFLEX. -- It is useless to modify it. Change the ".Y" & ".L" files instead. with Ada.Strings.Unbounded; with CSS.Parser.Parser_Tokens; package CSS.Parser.Lexer is use CSS.Parser.Parser_Tokens; function YYLex return Token; Current_Co...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
//28/03/2022 with Text_IO; use Text_IO; procedure hello is begin Put_Line("Hello world!"); end hello;
with ada.text_io; use ada.text_io; procedure euler2 is a, b : integer := 1; s : integer := 0; begin loop declare c : integer := a + b; begin exit when c > 4000000; if c mod 2 = 0 then s := s + c; end if; a := b; b := c; end; end loop; put_line(integer'image(s)); end...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. with GBA.Memory.IO_Registers; use GBA.Memory.IO_Registers; with Ada.Unchecked_Conversion; with Interfaces; use Interfaces; package body GBA.Interrupts is -- IO Register Definitions -- Enabled_Master : Boolean with Import, Vol...
with Ada.Exceptions; use Ada.Exceptions; with Ada.Real_Time; use Ada.Real_Time; with Ada.Text_IO; use Ada.Text_IO; with Ada.Unchecked_Deallocation; with Communication; use Communication; package body Botstate is procedure Start (Self : in Bot) is Raw_RX : UByte_Array (1 .. Sensor_Collection'Size /...
Pragma Ada_2012; Package Body Connection_Types is New_Line : Constant String := ASCII.CR & ASCII.LF; --------------------- -- Solution Test -- --------------------- Function Is_Solution( Input : Partial_Board ) return Boolean is (for all Index in Input'Range => (for all Connection in N...
-- -- 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. -- -- ...
pragma License (Unrestricted); -- extended unit with Ada.Strings.Functions; with Ada.Strings.Generic_Bounded.Generic_Functions; package Ada.Strings.Bounded_Strings.Functions is new Generic_Functions (Strings.Functions); pragma Preelaborate (Ada.Strings.Bounded_Strings.Functions);
pragma License (Unrestricted); -- runtime unit specialized for POSIX (Darwin, FreeBSD, or Linux) package System.Termination is pragma Preelaborate; -- write to standard error output procedure Error_Put_Line (S : String); -- force to abort procedure Force_Abort; pragma No_Return (Force_Abort); ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Exceptions; with System.Storage_Elements; use System.Storage_Elements; with COBS.Stream.Decoder; with Offmt_Lib.Storage; with Offmt_Lib.Fmt_Data; package body Offmt_Lib.Decoding is procedure Handle_Frame (Map : T...
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with GNAT.Sockets; with Torrent.Connections; with Torrent.Downloaders; limited with Torrent.Contexts; package Torrent.Initiators is ...
package lace.text.Cursor -- -- Provides a cursor for traversing and interrogating text. -- is type Item is tagged private; -- Forge -- function First (of_Text : access constant Text.item) return Cursor.item; -- Attributes -- function Length (Self : in Item) return Natural; -- -- Returns...
-- This spec has been automatically generated from STM32L562.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.HASH is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_DATATYPE_Field is ...
-- -- Jan & Uwe R. Zimmer, Australia, July 2011 -- with GL.IO; use GL.IO; package body Screenshots is Screen_Shot_Count : Positive := 1; --------------- -- Take_Shot -- --------------- procedure Take_Shot is begin Screenshot (Integer'Image (Screen_Shot_Count) & ".bmp"); Screen_Shot_C...
pragma License (Unrestricted); -- implementation unit package System.Growth is pragma Preelaborate; generic type Count_Type is range <>; function Fast_Grow (Capacity : Count_Type) return Count_Type; generic type Count_Type is range <>; Component_Size : Positive; function Good_Grow (C...
----------------------------------------------------------------------- -- ADO Databases -- Database Connections -- Copyright (C) 2010, 2011, 2012, 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 Inline3_Pkg is procedure Test (I : Integer); pragma Inline_Always (Test); end Inline3_Pkg;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- Copyright (C) 2021, AdaCore -- pragma Style_Checks (Off); -- This spec has been automatically generated from STM32L562.svd with System; -- STM32L562 package Interfaces.STM32 is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Base type -- --------------- type UIn...
----------------------------------------------------------------------- -- util-commands-drivers -- Support to make command line tools -- Copyright (C) 2017, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
Ada.Text_IO.Put_Line -- would not compile ("Factorial(20) =" & Integer'Image(A_11_15 * A_16_20 * F_10));
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- { dg-do run } with Init7; use Init7; with Text_IO; use Text_IO; with Dump; procedure T7 is Verbose : constant Boolean := False; Local_R1 : R1; Local_R2 : R2; begin Local_R1.I := My_R1.I + 1; Local_R1.N.C1 := My_R1.N.C1 + 1; Local_R1.N.C2 := My_R1.N.C2 + 1; Local_R1.N.C3 := My_R1.N.C3 + 1; Put...
with Ada.Command_Line; use Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with Ada.Real_Time; with Ada.Unchecked_Conversion; procedure Main is pragma Suppress(All_Checks); Matrix_Size : constant := 3200; type Matrix_Range is range 0 .. Matrix_Size - 1; Bound_High, Bound_Low : Matrix_Range; type Pile is ra...
pragma License (Unrestricted); -- implementation unit required by compiler package System.Wid_Char is pragma Pure; -- required for Character'Width by compiler (s-widboo.ads) function Width_Character (Lo, Hi : Character) return Natural; -- compiler return 12 ("Reserved_153") for statically character typ...
-- This is the main Asis_Tool_2 class. private with Asis_Tool_2.Context; private with Dot; with A_Nodes; with a_nodes_h; package Asis_Tool_2.Tool is type Class is tagged limited private; -- Runs in the current directory. -- Uses project file "default.gpr" in containing directory of File_Name. -- Creates...
--------------------------------------------------------------------------------- -- Copyright 2004-2005 © Luke A. Guest -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. ------------------------------------------------------------...
with agar.gui.widget.button; with agar.gui.widget.toolbar; with agar.gui.window; with agar.core.event; with agar.core.slist; with agar.core.timeout; package agar.gui.widget.menu is use type c.unsigned; -- forward declarations type item_t; type item_access_t is access all item_t; pragma convention (c, item...
with AdaM.a_Pragma, gtk.Widget; private with aIDE.Editor.of_block, aIDE.Editor.of_context, gtk.Box, gtk.Button, gtk.Frame, gtk.Label, gtk.Alignment, gtk.GEntry; package aIDE.Editor.of_pragma is type Item is new Editor.item with private; type View is access all...
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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...
----------------------------------------------------------------------- -- awa-mail-components-recipients -- Mail UI Recipients -- 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 th...
-- { dg-do compile } -- { dg-options "-w" } package body Vect8 is function Foo (V : Vec) return Vec is Ret : Vec; begin Ret (1) := V (1) + V (2); Ret (2) := V (1) - V (2); return Ret; end; end Vect8;
with System; -- ============================================================================= -- Package AVR.MCU -- -- Maps AVR micro-controllers. -- ============================================================================= package AVR.MCU is F_CPU : constant := 16_000_000; #if MCU="ATMEGA2560" then type O...
with Arbre_Binaire; with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Test_Arbre_Binaire is -- On instancie le package. package arbre is new Arbre_Binaire (T_Cle => Integer); use arbre; -- Afficher des entiers (pour les clés). proce...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_SDL_stdinc_h; with Interfaces.C.Strings; package SDL_SDL_cdrom_h is SDL_MAX_TRACKS : constant := 99; -- ../include/SDL/SDL_cdrom.h:48 SDL_AUDIO_TRACK : constant := 16#00#; -- ../include/SDL/SDL_cdrom.h:5...
-------------------------------------------------------------------------- -- ASnip Source Code Decorator -- Copyright (C) 2006, Georg Bauhaus -- -- 1. Permission is hereby granted to use, copy, modify and/or distribute -- this package, provided that: -- * copyright notices are retained unchanged, -- ...
----------------------------------------------------------------------- -- security -- Security -- Copyright (C) 2010, 2011, 2012, 2015, 2017, 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 us...
-- 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...
-- Copyright 2019 Simon Symeonidis (psyomn) -- -- 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 la...
----------------------------------------------------------------------- -- net-dns -- DNS Network utilities -- Copyright (C) 2016, 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 file except...
-- -- 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...
package Giza.Bitmap_Fonts.FreeMono12pt7b is Font : constant Giza.Font.Ref_Const; private FreeMono12pt7bBitmaps : aliased constant Font_Bitmap := ( 16#49#, 16#24#, 16#92#, 16#48#, 16#01#, 16#F8#, 16#E7#, 16#E7#, 16#67#, 16#46#, 16#42#, 16#42#, 16#42#, 16#09#, 16#02#, 16#41#, 16#10#, 16#44#, 16#11#, 16#1F#,...
with ada.text_io; use ada.text_io; package logger is -- Log le message passé en débug procedure debug(output : string); -- Initialise le loggeur procedure initialize(console : boolean; file : string); -- Ferme le loggeur procedure close; private -- Afficher le debug sur la console ...
-- Lumen.GL -- Lumen's own thin OpenGL bindings -- -- 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 -- purpose with or without fee is hereby granted, provided that...
with Interfaces.C; with System; package C is -- **************************************** -- Types corresponding to C built-in types: -- **************************************** subtype char is Interfaces.C.char; subtype signed_char is Interfaces.C.signed_char; subtype unsigned_char ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2012 Felix Krause <contact@flyx.org> -- -- 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/licen...
----------------------------------------------------------------------- -- akt-commands-password -- Add/Change/Remove the wallet password -- 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 ...
with Ada.Text_IO; use Ada.Text_IO; with System.Storage_Elements; use System.Storage_Elements; with BBqueue; with BBqueue.Buffers; with System; use System; procedure Main_Buffer with SPARK_Mode is use type BBqueue.Result_Kind; Q : aliased BBqueue.Buffers.Buffer (35); procedure Fill (WG : BBqueue.Buffers.Wri...