content
stringlengths
23
1.05M
package body EU_Projects.Nodes.Timed_Nodes is procedure Due_On (Item : in out Timed_Node; Time : in String) is begin Item.Expected_Raw := To_Unbounded_String (Time); -- Times.Time_Expressions.Symbolic (Time); end Due_On; procedure Parse_Raw_Expressions (Ite...
with Ada.Characters.Handling; use Ada.Characters.Handling; with Ada.Strings.Bounded; package EU_Projects.Identifiers is type Identifier is private; function "=" (X, Y : Identifier) return Boolean; function "<" (X, Y : Identifier) return Boolean; function Join (X, Y : Identifier) return Identifie...
-- -- PLAYMUS: Port to the Ada programming language of a test application for the -- the SDL mixer library. -- -- The original code was written in C by Sam Lantinga http://www.libsdl.org. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package body Gilded_Rose is procedure Update_Quality(Self : in out Gilded_Rose) is Cursor : Item_Vecs.Cursor := Item_Vecs.First(Self.Items); begin while Item_Vecs.Has_Element(Cursor) loop if Self.Items(Cursor).Name /= To_Unbounded_String("Aged Br...
-- AoC 2019, Day 1 with Ada.Text_IO; with Ada.Containers.Vectors; package body Day1 is package TIO renames Ada.Text_IO; package Module_Vectors is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Mass); modules : Module_Vectors.Vector; procedure load_modules(filename : in String) ...
package body Generic_Root is procedure Compute_Root(N: Number; Root, Persistence: out Number; Base: Base_Type := 10) is function Digit_Sum(N: Number) return Number is begin if N < Number(Base) then return N; else return...
----------------------------------------------------------------------- -- wiki-plugins-template -- Template Plugin -- Copyright (C) 2016, 2020 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 fil...
-- { dg-do run } with Text_IO; use Text_IO; with Ada.Finalization; use Ada.Finalization; procedure Nested_Controlled_Alloc is package Controlled_Alloc is type Fin is new Limited_Controlled with null record; procedure Finalize (X : in out Fin); F : Fin; type T is limited private...
with Interfaces; use Interfaces; with Interfaces.C; use Interfaces.C; with Bitmap_Graphics; use Bitmap_Graphics; package OLED_SH1106 is function Start_Driver return Boolean; procedure Stop_Driver ; procedure Init_Display; procedure Show; -- Graphics Routine. procedure Clear (Clr: Color:= Black)...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
-- Abstract : -- -- Subprograms common to Output_Elisp and Output_Ada_Emacs -- -- Copyright (C) 2012, 2013, 2015, 2017, 2018, 2019 Free Software Foundation, Inc. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under terms of the GNU General Public License as -- published ...
with Application_Types; generic type Element_Type is private; package Generic_List is type Node_Type; type Node_Access_Type is access Node_Type; type Node_Type is record Item : Element_Type; Next : Node_Access_Type; end record; -- -- The node is the basic element of the list. -- Component 'Item' is ...
---------------------------------------- -- Copyright (C) 2019 Dmitriy Shadrin -- -- All rights reserved. -- ---------------------------------------- package ConfigTree.SaxParser is procedure Parse(root : in out ConfigTree.NodePtr); end ConfigTree.SaxParser;
with Ada.Containers.Doubly_Linked_Lists; with Ada.Text_IO; use Ada.Text_IO; with Utilities; with GL.Attributes; with GL.Objects.Buffers; with GL.Objects.Vertex_Arrays; with E3GA; with GA_Utilities; with GL_Util; with Shader_Manager; package body Geosphere is use GL.Types; package Indices_List_Package is n...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Interfaces.C; with Interfaces.C_Streams; with Interfaces.C.Strings; with HelperText; package Unix is package HT renames HelperText; package IC renames Interfaces.C; package ICS renames Interfaces....
----------------------------------------------------------------------- -- util-system-os -- Windows system operations -- Copyright (C) 2011, 2012, 2015, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you...
-- Copyright 2016 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...
----------------------------------------------------------------------- -- secret-values -- Ada wrapper for Secret Service -- 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 fi...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- for MR_Pool with System.Storage_Pools.Subpools; with System.Storage_Elements; with Ada.Unchecked_Deallocate_Subpool; -- for dummy item type with Ada.Finalization; with System.Storage_Elements.Formatting; procedure subpool is -- RM 13-11-6 package MR_Pool is use System.Storage_Pools; -- For uses of Subpools. ...
with Ada.Text_IO; use Ada.Text_IO; procedure procs2 is procedure forLoop -- is --(vari :Natural) is begin for i in 1..10 loop Put_Line ("Iteration: "); --Put(i); -- Ada.Text_IO.Put_Line; end loop; -- Put_Line(vari); -- Vari := Vari +1; end forLoop; begin forLoop; Put_Line("secon...
with ada.characters.latin_1; with box_parts; use box_parts; package svg is -- exporte la boite au format svg function get_svg(box : box_parts_t; input_border_color, input_fill_color, pattern : string) return string; private lf : constant character := ada.characters.latin_1.lf; tab : constant char...
-- Abstract : -- -- See spec -- -- Copyright (C) 2017, 2018 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; either version 3, or (at your option) an...
with Asis; package AdaM.Assist.Query.find_All.unit_Processing is procedure Process_Unit (The_Unit : in Asis.Compilation_Unit); end AdaM.Assist.Query.find_All.unit_Processing;
-- 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 System.Storage_Elements; package GC is pragma Preelaborate; pragma Linker_Options ("-lgc"); function Version return String; function Heap_Size return System.Storage_Elements.Storage_Count; procedure Collect; end GC;
--PRÁCTICA 3: CÉSAR BORAO MORATINOS (Chat_Procedures.ads) with Maps_G; with Ada.Text_IO; with Ada.Calendar; with Lower_Layer_UDP; with Ada.Command_Line; with Ada.Strings.Unbounded; package Chat_Procedures is package ATI renames Ada.Text_IO; package LLU renames Lower_Layer_UDP; package ACL renames Ada.C...
-- -- Uwe R. Zimmer, Australia, 2013 -- with Vectors_3D; use Vectors_3D; package body Swarm_Configurations is function Default_Globes (Configuration : Configurations) return Energy_Globes is begin case Configuration is when Single_Globe_In_Orbit => return (1 => (Position => Zero_Vec...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Statements; with Program.Lexical_Elements; with Program.Elements.Return_Object_Specifications; with Program.Element_Vectors; with Prog...
-- -- -- package Copyright (c) Dmitry A. Kazakov -- -- GNAT.Sockets.Connection_State_Machine. Luebeck -- -- Big_Endian.Unsigneds Winter, 2012 -- -- Interface ...
with Envs; with Types; package Eval_Callback is type Eval_Func is access function (MH : Types.Lovelace_Handle; Env : Envs.Env_Handle) return Types.Lovelace_Handle; Eval : Eval_Func; end Eval_Callback;
package body Volatile11_Pkg is procedure Bit_Test(Input : in Integer; Output1 : out Boolean; Output2 : out Boolean; Output3 : out Boolean; Output4 : out Boolean; Output5 : out Boolean; Output6 : out Boolean; Output7 : out ...
pragma Ada_2012; with GNAT.Regpat; package body Adventofcode.Day_2 is use GNAT.Strings; ----------- -- Valid -- ----------- function Valid (Self : Password_Entry) return Boolean is Count : Natural := 0; begin for C of Self.Password.all loop if C = Self.Key then Count ...
with Numerics, Ada.Text_IO, Chebyshev, Dense_AD, Dense_AD.Integrator; use Numerics, Ada.Text_IO, Chebyshev; procedure Henon_Heiles is use Int_IO, Real_IO, Real_Functions; N : constant Nat := 2; K : constant Nat := 13; package AD_Package is new Dense_AD (2 * N); package Integrator is new AD_Package.I...
with Startup; with Bootloader; procedure Main is pragma Preelaborate; begin Bootloader.Start; end Main;
with Ada.Tags; package body Controlled5_Pkg is type Child is new Root with null record; function Dummy (I : Integer) return Root'Class is A1 : T_Root_Class := new Child; My_Var : Root'Class := A1.all; begin if I = 0 then return My_Var; else return Dummy (I - 1); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- NORX_Definitions -- Some type / subtype definitions in common use in the NORX code. -- As some uses of these types are in generic parameters, it is not possible -- to hide them. -- Copyright (c) 2016, James Humphry - see LICENSE file for details pragma Restrictions(No_Implementation_Attributes, ...
with Memory; use Memory; -- Package for generating HDL. package HDL_Generator is -- Generate HDL. -- This function returns a string containing VHDL. function Generate(mem : Memory_Pointer; name : String; addr_bits : Positive) return String; end HDL...
with System; package body Web.HTML is use type String_Maps.Cursor; procedure By_Stream (Item : in String; Params : in System.Address) is function To_Pointer (Value : System.Address) return access Ada.Streams.Root_Stream_Type'Class with Import, Convention => Intrinsic; begin String'Write (To_Pointer (Para...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, Universidad Politécnica de Madrid -- -- -- -- ...
pragma License (Unrestricted); -- extended unit with Ada.Iterator_Interfaces; with Ada.References.Strings; private with Ada.Finalization; package Ada.Text_IO.Iterators is -- Iterators for Ada.Text_IO.File_Type. -- per line type Lines_Type is tagged limited private with Constant_Indexing => ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Command_Line; use Ada.Command_Line; with GNAT.OS_Lib; with Marble_Mania; procedure Day9 is Players : Positive; Last_Marble : Positive; begin if Argument_Count /= 2 then Put_Line (Standard_Error, "usage: " & Command_Name & " <#players>...
with Ada.Characters.Handling; use Ada.Characters.Handling; package Abc is type Block_Faces is array(1..2) of Character; type Block_List is array(positive range <>) of Block_Faces; function Can_Make_Word(W: String; Blocks: Block_List) return Boolean; end Abc; package body Abc is function Can_Make_Word(W...
-- Abstract : -- -- Types and operations for a packrat parser runtime, with nonterm -- parsing subprograms generated by wisi-generate. -- -- References: -- -- see parent. -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it ...
-- MP: a Music Player -- Copyright (C) 2020 by PragmAda Software Engineering. All rights reserved. -- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses -- -- 2020-09-15 Initial version -- with MP.UI; procedure MP.Program is -- Empty begin -- MP.Program null; end MP.Pr...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ skill containers collection -- -- |___/_|\_\_|_|____| by: Timm Felden ...
package body B730006_0.Child2 is procedure Create (Bay : in out Dock) is begin null; end Create; end B730006_0.Child2;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with System.Storage_Elements; with TLSF.Config; with TLSF.Bitmaps; with TLSF.Mem_Block_Size; use TLSF.Config; use TLSF.Bitmaps; use TLSF.Mem_Block_Size; package body TLSF.Mem_Blocks is subtype Free_Block_Header is Block_Header (Free); subtype Occupied_Block_Header is Block_Header (Occupied); Block_Heade...
-- { dg-do compile } package Double_Record_Extension3 is type Rec1 is tagged record Id : Integer; end record; for Rec1 use record Id at 8 range 0 .. 31; end record; type Rec2 (Size : Integer) is new Rec1 with record Data : String (1 .. Size); end record; type Rec3 is new Rec2...
with openGL.Program, openGL.Model; package openGL.Visual is type Item is tagged private; type View is access all Item'Class; type Views is array (Positive range <>) of View; type Grid is array (Integer range <>, Integer range <>) of Visual.view; type Grid_view is access all Grid; ...
-- 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...
with HAL; use HAL; with HAL.GPIO; use HAL.GPIO; with USB.Device; with USB.Device.MIDI; with USB.Device.Serial; with USB.Device.HID.Gamepad; with SAM.Device; use SAM.Device; with SAM.USB; with SAM_SVD.USB; with SAM.Main_Clock; with SAM.Clock_Generator; with SAM.Clock_Generator.IDs; with SAM.Clock_Setup_120Mhz; with SAM...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Calendar.Arithmetic; with Ada.Calendar.Formatting; with Ada.Direct_IO; with Replicant.Platform; package body PortScan.Buildcycle is package ACA renames Ada.Calendar.Arithmetic; package ACF renames ...
package body CUPS.CUPS is ---------------- -- GetDefault -- ---------------- function GetDefault return String is V : Chars_Ptr := Cups_Cups_H.CupsGetDefault; begin if V /= Null_Ptr then return Interfaces.C.Strings.Value (V); else return ""; end if; end GetDe...
with Ahven.Framework; with Ahven.Text_Runner; with Test_Aircraft.Append; with Test_Aircraft.Read; with Test_Aircraft.Write; with Test_Annotation.Append; with Test_Annotation.Read; with Test_Annotation.Write; with Test_Null_Annotation.Read; with Test_Null_Annotation.Write; with Test_Constants.Write; with Test_Contai...
-- { dg-do run } with Init2; use Init2; with Text_IO; use Text_IO; with Dump; procedure T2 is Local_R1 : R1; Local_R2 : R2; begin Local_R1.S1 := My_R1.S1 - 1; Local_R1.I := My_R1.I + 1; Local_R1.S2 := My_R1.S2 - 1; Local_R1.A(1) := My_R1.A(1) mod 16; Local_R1.A(2) := My_R1.A(2) mod 16; Local_R1.A(3)...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. package body GBA.Numerics.Matrices is use all type V.Element; use all type V.Vec; function Pointwise (N, M : Mat) return Mat is begin return ( 0 => ( 0 => Operator (N (0, 0), M (0, 0)) , 1 => Operator (N (0, ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package Display.Console is -- These are dummy routines to match active ones in Display.Curses -- This module is only used to support building ravenadm without curses support function launch_monitor (nu...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- keystore-marshallers -- Data marshaller for the keystore -- Copyright (C) 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
-- Motherlode -- Copyright (c) 2020 Fabien Chouteau with HAL; use HAL; with Pygamer; use Pygamer; with Pygamer.Screen; with Render; use Render; package body HUD is ---------------- -- Draw_Gauge -- ---------------- procedure Draw_Gauge (FB : in out HAL.UInt16_Array; ...
-- { dg-do compile } -- { dg-options "-gnatws" } package body interface5 is function F (Object : Child) return access Child is begin return null; end F; end interface5;
package body NXP.Board is procedure Initialize_Board is Configuration : GPIO_Port_Configuration; begin Enable_Clock (LEDs); Configuration.Mode := Mode_Out; Configuration.Output_Type := Push_Pull; Configuration.Speed := Speed_Low; Configuration.Resistors := Fl...
----------------------------------------------------------------------- -- util-http-clients-tests -- Unit tests for HTTP client -- 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 t...
-- Generated at 2017-03-29 14:57:31 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-sites-maps.sx with Natools.Static_Maps.Web.Sites.Commands; package body Natools.Static_Maps.Web.Sites is function To_Command (Key : String) return Command is N : constant Natural := Natools.Static_Maps.We...
----------------------------------------------------------------------- -- security-policies-roles -- Role based policies -- Copyright (C) 2010, 2011, 2012, 2017, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
-- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Text_IO; with AUnit.Assertions; use AUnit.Assertions; package body Text.Chunk_Test is procedure Register_Tests (T : in out TC) is use AUnit.Test_Cases.Registration; begin R...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
with agar.core.tail_queue; with agar.gui.text; with agar.gui.widget.box; package agar.gui.widget.notebook is use type c.unsigned; type tab_t; type tab_access_t is access all tab_t; pragma convention (c, tab_access_t); package tab_tail_queue is new agar.core.tail_queue (entry_type => tab_access_t); ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Gnat.Heap_Sort_G; procedure stemleaf is data : array(Natural Range <>) of Integer := ( 0,12,127,28,42,39,113, 42,18,44,118,44,37,113,124,37,48,127,36,29,31, 125,139,131,115,105,132,104,123,35,113,122,42,117,119,58,109,23,105, ...
with Main; with Config.Tasking; with Crash; -- must be here, to activate last_chance_handler with LED_Manager; pragma Unreferenced (Crash); -- protect the "with" above -- the entry point after POR procedure boot with SPARK_Mode is pragma Priority (Config.Tasking.TASK_PRIO_MAIN); Self_Test_Passed : Boolean := Fa...
------------------------------------------------------------------------------ -- 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...
-- -- 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. -- with Ada.Containers.Ordered_Maps; with Ru...
with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; package body YAML is use type C_Int; procedure Deallocate is new Ada.Unchecked_Deallocation (String, String_Access); procedure Deallocate is new Ada.Unchecked_Deallocation (Document_Type, Document_Access); ---------------------- ...
-- { dg-do compile } -- { dg-options "-g -O" } with Ada.Unchecked_Conversion; package body Unchecked_Convert8 is type T1 is range 0 .. 255; type T2 is record A : T1; B : T1; end record; for T2 use record A at 0 range 0 .. 7; B at 1 range 0 .. 7; ...
with Ada.Assertions; use Ada.Assertions; with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Synchronized_Queue_Interfaces; with Ada.Containers.Unbounded_Priority_Queues; procedure Day22 is Max_Dim : constant Natural := 800; Grid : array (Natural range 0 .. Max_Dim, Natural range 0 .. Max_Dim) of Na...
pragma License (Unrestricted); with Ada.Numerics.Generic_Elementary_Functions; package Ada.Numerics.Short_Elementary_Functions is new Generic_Elementary_Functions (Short_Float); pragma Pure (Ada.Numerics.Short_Elementary_Functions);
pragma License (Unrestricted); with Interfaces.C.Char_Pointers; with Interfaces.C.Generic_Strings; package Interfaces.C.Strings is new Generic_Strings ( Character_Type => Character, String_Type => String, Element => char, Element_Array => char_array, Pointers => Char_Pointers, To_...
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were David Taback and Deepak Tolani. -- Enhancements were made by Ronald J. Schmalz. -- -- Send requests for ayacc information to ayacc-info@ics.uci.edu -- Send bug reports for ayacc to ...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Iterateur_Mots is Erreur_Syntaxe : exception; type Iterateur_Mot is private; -- Initialise le record function Initialiser(Chaine : String; Separateur : Character) return Iterateur_Mot; -- Indique si l'iterateur est à sa fin funct...
----------------------------------------------------------------------- -- wiki-helpers -- Helper operations for wiki parsers and renderer -- Copyright (C) 2016, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
----------------------------------------------------------------------- -- measure -- Benchmark tools -- Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
-- SPDX-FileCopyrightText: 2010-2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with WebIDL.Abstract_Sources; with League.Strings; with League.String_Vectors; with League.Strings.Cursors.Characters; package WebIDL.String_Sources i...
package raise_from_pure is pragma Pure; function Raise_CE_If_0 (P : Integer) return Integer; end;
-- TITLE external_file_manager -- AUTHOR: John Self (UCI) -- DESCRIPTION opens external files for other functions -- NOTES This package opens external files, and thus may be system dependent -- because of limitations on file names. -- This version is for the VADS 5.5 Ada development system. -- $Header: /co...
-- C87B26B.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...
------------------------------------------------------------------------------- -- 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...
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is C...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with CommonText; package Spatial_Data is package CT renames CommonText; type Collection_Type is (unset, single_point, single_line_string, ...
pragma Ada_2012; package body Adventofcode.Day_1 is ---------- -- Eval -- ---------- function Eval (Book : Expenses; To : Currency) return Currency is begin for A in Book'Range loop for B in A + 1 .. Book'Last loop if Book (A) + Book (B) = To then return Book (...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- Internet Protocol Suite Package -- -- -- -- -...
with Asis.Elements; package body Asis_Adapter.Element.Pragmas is procedure Do_Pre_Child_Processing (Element : in Asis.Element; State : in out Class) is Parent_Name : constant String := Module_Name; Module_Name : constant String := Parent_Name & ".Do_Pre_Child_Processing"; Pragma_Kind : As...
-- -- This module contains data storage type hierarchy. -- -- Copyright (c) 2019, George Shapovalov <gshapovalov@gmail.com> -- -- 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...