content
stringlengths
23
1.05M
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+flacada@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 ...
with Common_Formal_Containers; use Common_Formal_Containers; package AFRL.CMASI.OperatingRegion.SPARK_Boundary with SPARK_Mode is pragma Annotate (GNATprove, Terminating, SPARK_Boundary); type OperatingRegionAreas is record KeepInAreas : Int64_Vect; KeepOutAreas : Int64_Vect; end record; fun...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with System.Standard_Allocators; with System.Storage_Elements; with System.Zero_Terminated_Strings; with C.errno; with C.fnmatch; with C.stdint; with C.sys.types; package body System.Native_Directories.Searching is use Ada....
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+flacada@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 ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- { dg-do compile } -- { dg-options "-O2 -gnatp -fdump-tree-optimized" } -- The raise statement must be optimized away by -- virtue of DECL_NONADDRESSABLE_P set on R.I. package body Aliasing1 is function F (P : Ptr) return Integer is begin R.I := 0; P.all := 1; if R.I /= 0 then raise Program_E...
-- AOC 2020, Day 22 package Day is function combat(filename : in String) return Natural; function recursive_combat(filename : in String) return Natural; end Day;
-- -- 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. -- -- ...
----------------------------------------------------------------------- -- util-beans-basic -- Interface Definition with Getter and Setters -- Copyright (C) 2009, 2010, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License")...
with Ada.Containers.Vectors; with Ada.Strings.Unbounded; package Command_Line is package SU renames Ada.Strings.Unbounded; package Input_File_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => SU.Unbounded_String, "=" => SU."="); function Parse_Comman...
----------------------------------------------------------------------- -- asf-lifecycles -- Lifecycle -- Copyright (C) 2010, 2011, 2012, 2018, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
with Interfaces; use Interfaces; package Some_Package with SPARK_Mode is procedure bar; end Some_Package;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" private with GL.Low_Level; package GL.Objects.Shaders is pragma Preelaborate; type Shader_Type is (Fragment_Shader, Vertex_Shader, Geometry_Shader, Tess_Evaluation_Shader...
-- The Village of Vampire by YT, このソースコードはNYSLです package body Vampire.Forms.Full is use type Villages.Village_State; function Create return Form_Type is begin return (null record); end Create; overriding function HTML_Version (Form : Form_Type) return Web.HTML.HTML_Version is begin return Web.HTML.XHTML...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- -- -- This package provides timeout events to yield. -- with Ada.Calendar; package Coroutines.Timeouts is procedure Initialize; ...
with openGL.Texture, openGL.GlyphImpl.texture; package openGL.Font.texture -- -- A texture font is a specialisation of the font class for handling texture mapped fonts. -- is type Item is new Font.item with private; type View is access all Item'Class; --------- -- Forge -- function to_...
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Characters.Conversions; with Ada.Hierarchical_File_Names; with Ada.Strings.Functions.Maps; with Ada.Strings.Maps.Constants; with Ada.Strings.Maps.Naked; with Ada.Strings.Naked_Maps.General_Category; package body Vampire.Forms is use type Ada.Strings.Maps.Charac...
with Ada.Strings.Unbounded; package body Nestable_Lists is procedure Append (L : in out List; E : Element_Type) is begin if L = null then L := new Node (Kind => Data_Node); L.Data := E; else Append (L.Next, E); end if; end Append; procedure Append (L : in out ...
------------------------------------------------------------------------------ -- -- -- JSON Parser/Constructor -- -- -- -- -...
with freetype_C.FT_GlyphSlot; package openGL.GlyphImpl -- -- Implements an openGL glyph. -- is type Item is tagged private; type View is access all Item'Class; --------- -- Types -- subtype error_Kind is freetype_C.FT_Error; no_Error : constant error_Kind; --------- -- Forge ...
pragma Ada_2012; with Ada.Strings.Fixed; with Ada.Strings.Maps; package body EU_Projects.Times.Time_Expressions.Parsing is ------------------------ -- Fill_With_Defaults -- ------------------------ procedure Fill_With_Defaults (Container : in out Symbol_Table) is begin Define_Function (Contai...
-- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 Lionel Draghi <lionel.draghi@free.fr> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licen...
----------------------------------------------------------------------- -- servlet-rest -- REST Support -- 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 file except in ...
package body agar.gui.widget.icon is package cbinds is function allocate_from_bitmap (filename : cs.chars_ptr) return icon_access_t; pragma import (c, allocate_from_bitmap, "AG_IconFromBMP"); procedure set_text (icon : icon_access_t; str : cs.chars_ptr); pragma import (c, set_tex...
----------------------------------------------------------------------- -- net-buffers -- Network buffers -- Copyright (C) 2016, 2017, 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 this file ex...
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, cop...
-- Advanced Resource Embedder 1.2.0 with Interfaces; use Interfaces; package body Concat is function Hash (S : String) return Natural; P : constant array (0 .. 0) of Natural := (0 .. 0 => 1); T1 : constant array (0 .. 0) of Unsigned_8 := (0 .. 0 => 0); T2 : constant array (0 .. 0) of Unsigned...
-- BinToAsc_Suite -- Unit tests for BinToAsc -- Copyright (c) 2015, James Humphry - see LICENSE file for details with Ada.Strings, Ada.Strings.Bounded; with AUnit.Test_Suites; package BinToAsc_Suite is package Test_Vector_Strings is new Ada.Strings.Bounded.Generic_Bounded_Length(Max => 16); use all type...
with Ada.Assertions; use Ada.Assertions; with Ada.Text_IO; use Ada.Text_IO; package body Memory.Dup is function Create_Dup return Dup_Pointer is begin return new Dup_Type; end Create_Dup; function Clone(mem : Dup_Type) return Memory_Pointer is result : constant Dup_Pointer := new Dup_Type...
-- -- Copyright (C) 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. -- -- This ...
pragma License (Unrestricted); -- implementation unit required by compiler with Ada.Calendar; function System.Tasking.Async_Delays.Enqueue_Calendar ( T : Ada.Calendar.Time; D : not null access Delay_Block) return Boolean;
with Ada.Finalization; package Object is type Object is new Ada.Finalization.Controlled with private; function New_Object( X : in Integer ) return Object; procedure Put( O : Object ); private type Object is new Ada.Finalization.Controlled with record X : Integer := 0; end record;
------------------------------------------------------------------------------- -- 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...
------------------------------------------------------------------------------- -- Copyright 2021, The Septum 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 License at ...
with Ada.Containers.Vectors; use Ada.Containers; with MathUtils; package DataBatch is pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); package VecPkg is new Ada.Containers.Vectors(Index_Type => Positive, ...
-- { dg-do run } with Ada.Streams; use Ada.Streams; procedure Array_Bounds_Test is One : constant Stream_Element := 1; Two : constant Stream_Element := 2; Sample : constant Stream_Element_Array := (0 => One) & Two; begin if Sample'First /= 0 then raise Program_Error; end if; if Sample...
-- -- 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...
-- Ce module permet de tester le module conversion_type.adb with Conversion_Type; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; procedure test_Conversion_Type is package conversion_float is new Conversion_Type(T_Element => float); use conversion_float; -- Tester l...
with lace.Text.utility, ada.Text_IO; procedure test_Text_replace is use lace.Text, lace.Text.utility, ada.Text_IO; test_Error : exception; begin put_Line ("Begin Test"); new_Line; -- Test 'replace' function. -- declare Initial : aliased constant lace.Text.item := ...
pragma License (Unrestricted); generic type Object (<>) is limited private; type Name is access Object; procedure Ada.Unchecked_Deallocation (X : in out Name) with Import, Convention => Intrinsic; pragma Preelaborate (Ada.Unchecked_Deallocation);
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with SPARKNaCl.Core; with SPARKNaCl.Stream; package SPARKNaCl.Cryptobox with Pure, SPARK_Mode => On is -------------------------------------------------------- -- Public Key Authenticated Encryption - "Crypto Box" -- -------------------------------------------------------- -- Limited, so no assi...
----------------------------------------------------------------------- -- ado.schemas -- Database Schemas -- Copyright (C) 2009, 2010, 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 this file e...
----------------------------------------------------------------------- -- openapi-server -- Rest server support -- Copyright (C) 2017, 2018, 2020, 2022 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use...
----------------------------------------------------------------------- -- net-buffers -- Network buffers -- Copyright (C) 2016, 2017, 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 this file ex...
with HTTP; use HTTP; with HTTP.Request; use HTTP.Request; procedure Test is CRLF : constant String := ASCII.CR & ASCII.LF; Test_String : constant String := "GET /index.html HTTP/1.1" & CRLF & "User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)" & CRLF ...
------------------------------------------------------------------------------ -- G P S -- -- -- -- Copyright (C) 2000-2016, AdaCore -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings; use Ada.Strings; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Characters.Handling; -- with Ada.Characters.Latin_1; package body Support.Strings is package Real_IO i...
with Unicode_Strings; use Unicode_Strings; with Ada.Command_Line; with Ada.Task_Termination; with Ada.Task_Identification; with Configuration; with Logging; with Qweyboard.Emulation; with Input_Backend; with Output_Backend; procedure Main is use Logging; Settings : Configuration.Settings; begin Ada.Task_Ter...
package body Test_Unknown.Write is File_Name : constant String := "tmp/test-unknown-write.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Unknown.Write"); Ahven.Framework.Add_Test_Routine (T, Check_Types'Access, "unknownSubtypes read written"); Ahven.Framework.Add_Tes...
-- C47002C.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...
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Directories; with Ada.Hierarchical_File_Names; with Ada.IO_Exceptions; with Ada.Streams.Stream_IO; with Tabula.Users.Load; with Tabula.Users.Save; package body Tabula.Users.Lists is use type Ada.Strings.Unbounded.Unbounded_String; procedure Load_Users_Log (L...
with GESTE; package Player is procedure Move (Pt : GESTE.Pix_Point); function Position return GESTE.Pix_Point; procedure Update; procedure Jump; procedure Move_Left; procedure Move_Right; end Player;
with Interfaces.C.Strings; use Interfaces.C.Strings; package Animals is -- ----------------------------------------------------------------------- type Carnivore is limited interface; function Number_Of_Teeth (X : Carnivore) return Natural is abstract; pragma Convention (CPP, Number_Of_Teeth); -- Required...
-------------------------------------------------------------------------- -- 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, -- ...
-- Package Scaliger -- This package defines extended duration and time types using the "julian day" -- as defined by Joseph Juste Scaliger in 1583. -- The duration is expressed as a number of 1/8 seconds. -- Two numeric conversion functions are definied -- exchanging a day expressed as a decimal figure from and to -- a...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
-- C61010A.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 System.Long_Long_Float_Types; package body System.Formatting.Float is pragma Suppress (All_Checks); use type Long_Long_Integer_Types.Word_Unsigned; subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; function modfl (value : Long_Long_Float; iptr : access Long_Long_Float) return Long...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
package body calc with SPARK_Mode is function calc (f1, f2: Float) return Float is begin return f1 * f2; -- Float overflow check proved, but it throws an exception because of underflow. end calc; end calc;
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Containers.Hashed_Maps; with Program.Visibility; with Program.Symbol_Lists; package Program.Library_Environments is pragma Preelaborate; t...
----------------------------------------------------------------------------- -- Delay provider for the write cycle for the EEPROM -- -- Copyright 2022 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- package Delay_Provider is procedure Delay_MS (MS : Integer); end Delay_Provider;
------------------------------------------------------------------------------- -- 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...
with System; with Interfaces.C; with System.Address_To_Access_Conversions; package XEvent is package C renames Interfaces.C; type XKeyEvent is record c_type : aliased C.Int; serial : aliased C.Unsigned_Long; send_event : aliased C.Int; the_display : System.Address; the_window : ali...
package Problem_71 is -- Consider the fraction, n/d, where n and d are positive integers. If n<d and HCF(n,d)=1, it is -- called a reduced proper fraction. -- If we list the set of reduced proper fractions for d ≤ 8 in ascending order of size, we get: -- 1/8, 1/7, 1/6, 1/5, 1/4, 2/7, 1/3, 3/8, 2/5, 3/7, 1/2...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Network.Managers.TCP_V4 is procedure Register (Manager : in out Network.Managers.Manager); private type Protocol is new Network.Managers.Pr...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package xopintrin_h is -- Copyright (C) 2007-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public L...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Containers.Vectors; -- Misc functions for plugins development aid package Plugin is package Vectors is new Ada.Containers.Vectors (Positive, Unbounded_String); use Vectors; function Words (Str : Unbounded_String) return Vector; function Unw...
with Ada.Containers.Indefinite_Vectors; package GPR_Tools.Gprslaves.String_Vectors is new Ada.Containers.Indefinite_Vectors (Natural, String);
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
package Benchmark.Matrix is type Matrix_Type is abstract new Benchmark_Type with private; overriding procedure Set_Argument(benchmark : in out Matrix_Type; arg : in String); overriding procedure Run(benchmark : in Matrix_Type) is abstract; private type Matrix_Type...
with Ada.Text_IO; use Ada.Text_IO; with Rejuvenation.Utils; use Rejuvenation.Utils; package body Rewriters is function Rewrite (R : Rewriter; Node : Ada_Node'Class; Top_Level : Boolean := True) return String is begin Put_Line ("Base function"); return Ra...
with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; package UNIQUES_PACKAGE is type UNIQUE_ITEM; type UNIQUE_LIST is access UNIQUE_ITEM; type UNIQUE_ITEM is record STEM : STEM_TYPE := NULL_STEM_TYPE; QUAL : QUALITY_RECORD := NULL_Q...
------------------------------------------------------------------------------ -- -- -- Unicode Utilities -- -- -- -- ...
with Ada.Unchecked_Conversion; with System.Address_To_Constant_Access_Conversions; with System.Address_To_Named_Access_Conversions; with System.Stack; with System.Unwind.Raising; with System.Unwind.Standard; with C.string; with C.sys.ucontext; package body System.Unwind.Mapping is pragma Suppress (All_Checks); us...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
pragma Warnings (Off); pragma Ada_95; with System; with System.Parameters; with System.Secondary_Stack; package ada_main is GNAT_Version : constant String := "GNAT Version: Community 2019 (20190517-74)" & ASCII.NUL; pragma Export (C, GNAT_Version, "__gnat_version"); Ada_Main_Program_Name...
------------------------------------------------------------------------------ -- -- -- Unicode Utilities -- -- -- -- ...
with GNAT.String_Split; with Ada.Strings.Fixed; package body UxAS.Comms.Data.Addressed is ---------------------- -- Is_Valid_Address -- ---------------------- function Is_Valid_Address (Address : String) return Boolean is Delimiter_Pos : Natural; use Ada.Strings.Fixed; begin if Addre...
with eGL.Binding, eGL.Pointers, System; package body openGL.Display is use eGL, eGL.Binding, eGL.Pointers; function Default return Item is use type System.Address, eGL.EGLBoolean; the_Display : Display.item; Success : EGLBoolean; Status : EGLBoole...
package body Lights is function Create_Light(Position: Vector; Color: Color_Type) return Light_Type is ( ( Position => Position, Color => Color ) ); function Position_Of(Light: Light_Type) return Vector is ( Light.Position ); function Color_Of(Light: Light_Type) return Color_Type is ( Light.Color )...
-- SipHash24_C -- an Ada specification for the reference C implementation of SipHash and -- Half Siphash -- Copyright (c) 2015-2016, James Humphry - see LICENSE file for details with Ada.Unchecked_Conversion; with Interfaces, Interfaces.C, Interfaces.C.Strings; use Interfaces; package SipHash24_c is subtype U8 ...
package openGL.Screen -- -- Models an openGL screen. -- is type Item is tagged limited private; private type Item is tagged limited record null; end record; end openGL.Screen;
----------------------------------------------------------------------- -- decompress -- Decompress file using Util.Streams.Buffered.LZMA -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
----------------------------------------------------------------------- -- mat-readers-files -- Reader for files -- Copyright (C) 2014, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with AdaBase.Interfaces.Driver; with AdaBase.Statement.Base.PostgreSQL; with AdaBase.Connection.Base.PostgreSQL; with Ada.Containers.Vectors; package AdaBase.Driver.Base.PostgreSQL is package AID renames Ad...
pragma License (Unrestricted); -- implementation unit specialized for Darwin with System.Storage_Elements; private with C.malloc.malloc; package System.Unbounded_Allocators is -- Separated storage pool for local scope. pragma Preelaborate; type Unbounded_Allocator is limited private; procedure Initializ...
----------------------------------------------------------------------- -- net-dhcp -- DHCP client -- Copyright (C) 2016, 2017, 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 this file except in...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising f...
-- find circular dependency with Ada.Command_Line; with Ada.Containers.Indefinite_Ordered_Maps; with Ada.Containers.Indefinite_Ordered_Sets; with Ada.Directories; with Ada.Strings.Functions; with Ada.Strings.Unbounded; with Ada.Text_IO.Iterators; procedure cirdep is use type Ada.Strings.Unbounded.Unbounded_String; pr...
-- { dg-do compile } with Renaming2_Pkg1; package Renaming2 is type T is null record; package Iter is new Renaming2_Pkg1.GP.Inner (T); end Renaming2;
-- A83009B.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...
package body Ada.Characters.Conversions is use type System.UTF_Conversions.From_Status_Type; use type System.UTF_Conversions.To_Status_Type; function Is_Wide_Character (Item : Character) return Boolean is begin return Character'Pos (Item) <= 16#7f#; end Is_Wide_Character; function Is_Wide_Stri...
package Return2 is type Kind_T is (One, Two); type T is array (Kind_T) of Boolean; type Result_Internal_T (Member : Boolean := False) is record case Member is when True => Data : Kind_T := Kind_T'First; when False => null; end case; end record; function Value (Img : Str...