content
stringlengths
23
1.05M
----------------------------------------------------------------------- -- gen-artifacts-docs -- Artifact for documentation -- Copyright (C) 2012, 2015, 2017, 2018, 2019, 2020, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "L...
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
-- -*- Mode: Ada -*- -- Filename : memory.ads -- Description : Memory routines. -- Author : Luke A. Guest -- Created On : Thur Nov 17 15:04:08 2016 -- Licence : See LICENCE in the root directory. with System; package Memory is function Copy (Dest ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with System.Formatting.Address; package body System.Storage_Elements.Formatting is pragma Suppress (All_Checks); -- implementation function Image (Value : Address) return Address_String is begin return Result : Address_String do System.Formatting.Address.Image ( Value, ...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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...
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) -- 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...
package Freetype -- -- A thick bindng to the 'Freetype' font library. -- is pragma Pure; Error : exception; type Vector_3 is array (Positive range 1 .. 3) of Float; end Freetype;
------------------------------------------------------------------------------ -- -- -- J E W L . W I N D O W S -- -- -- ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" package GL_Test.Display_Backend is -- abstraction layer for tests so they can run on both GLFW 2 and 3. -- only exposes most basic functionality, not intended for usage outside -- tests. pr...
-- { dg-do compile } with Pointer_Discr1_Pkg1; with Pointer_Discr1_Pkg3; procedure Pointer_Discr1 is begin Pointer_Discr1_Pkg3.Map(Pointer_Discr1_Pkg1.Window(1)); end;
-- { dg-do compile } with Volatile10_Pkg; use Volatile10_Pkg; procedure Volatile10 is N : Num; begin N := F.N1; N := F.N2; end;
------------------------------------------------------------------------------ -- Ada Web Server -- -- -- -- Copyright (C) 2011-2012, AdaCore -- -- ...
procedure All_Modes (Default_In_Parm : Integer; In_Parm : in Integer; Out_Parm : out Integer; In_Out_Parm : in out Integer; Access_Parm : access Integer);
with point_list; use point_list; with point; use point; package petit_poucet is -- Un petit poucet est un objet possèdant un jeu de coordonées -- et qui enregistre chacun des mouvements qu'il réalise -- permettant ensuite de récupérer l'historique de ses mouvements type petit_poucet_t is record...
-- 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. ...
with Ada.Text_IO; with Ada.Strings.Unbounded; procedure abcdefghppp is procedure output_string(A,B,C,D,E,F,G,H,P: Integer) is begin Ada.Text_IO.Put_Line( Integer'image(A*10+B) & "-" & Integer'image(C*10+D) & "=" & Integer'image(E*10+F) & ", " & Integer'im...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
with Ada.Strings.Unbounded; with Ada.Containers.Vectors; package Test_Solution is type Solution is access procedure; package SU renames Ada.Strings.Unbounded; package P is new Ada.Containers.Vectors( Index_Type => Natural, Element_Type => Solution); Assertion_Error : Exception; procedur...
with Ada.Finalization; with Ada.Streams; with Interfaces; with League.Stream_Element_Vectors; with League.Strings; package Google.Protobuf.Wrappers is type Double_Value_Vector is tagged private with Variable_Indexing => Get_Double_Value_Variable_Reference, Constant_Indexing => Get_Double_Value_Constant_R...
package Lto13_Pkg is procedure Proc; private type T; end Lto13_Pkg;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Wide_Wide_Text_IO; with Slim.Players.Displays; package body Slim.Players.Idle_State_Visiters is procedure Update_Displ...
private with Ada.Strings.Unbounded; package Rejuvenation.Patterns is type Pattern is tagged private; function Get_String (P : Pattern) return String; function Get_Rule (P : Pattern) return Grammar_Rule; function As_Ada_Node (P : Pattern) return Ada_Node; function Make_Pattern (Fragment : Strin...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------ -- Input and Output of 3D objects -- ------------------------------------ -- NB : after reading/loading an object or a group of objects, don't -- forget to use Rebuild_links for linking them together and -- finding texture id's with GLOBE_3D.BSP; with Ada.S...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Directories; with Ada.Characters.Latin_1; with Ada.Exceptions; with Ada.Text_IO; with INI_File_Manager; with GNAT.OS_Lib; with Unix; package body Parameters is package EX renames Ada.Exceptions; p...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- ado-statements-postgresql -- Postgresql query statements -- Copyright (C) 2018, 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 CLIC.TTY; with AAA.Strings; package body Server is package TT renames CLIC.TTY; Server_Port : constant Positive := 8_888; Http_Server : AWS.Server.HTTP; function Callback (Request : AWS.Status.Data) return AWS.Response.Data is use AWS.Services.Directory; ...
with ada.Containers; package lace.Containers is pragma Pure; subtype Hash_Type is ada.Containers.Hash_type; subtype Count_Type is ada.Containers.Count_type; end lace.Containers;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- servlet-routes-servlets -- Servlet request routing -- Copyright (C) 2015, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
pragma SPARK_Mode; with Sparkduino; use Sparkduino; with Types; use Types; package body Zumo_LED is YellowLEDPin : constant := 13; procedure Init is begin Initd := True; SetPinMode (Pin => YellowLEDPin, Mode => PinMode'Pos (OUTPUT)); end Init; procedure Yellow_Led ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- ...
with Ada.Integer_Text_IO; Use Ada.Integer_Text_IO; with Ada.Text_IO; Use Ada.Text_IO; package inventory_list is -- inventory system that stores items from items.dat in a linked-list -- alphabetically. KEY_ERROR : exception; OVERFLOW : exception; type List_Type is private; type Node_Ptr is private; type v...
-- SPDX-FileCopyrightText: 2020-2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Character_Literals; with Program.Elements.Defining_Character_Literals; with Program.Elements.Defining_Expanded_Names; with Progra...
package ship is type Ship_Type is Private; type Ship_Data is Private; type Ship_Modify is (build, colony, grid, max); function is_Colony return Ship_Data; function is_StarShip return Ship_Data; function is_Station return Ship_Data; function show_me_ship_type (ship: in Ship_Data) return String; functio...
package body Test_Constants.Write is File_Name : constant String := "tmp/test-constants-write.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Constants.Write"); Ahven.Framework.Add_Test_Routine (T, A'Access, "A: i8 = 8"); Ahven.Framework.Add_Test_Routine (T, B'Access,...
-- UnZip.Decompress ------------------- -- Private, internal to the UnZip package. -- -- Created 9 - Mar - 2007 -- -- This package includes the decompression algorithms for methods -- store, reduce, shrink (LZW), implode and inflate. -- It contains the packages UnZ_IO, UnZ_Glob, UnZ_Infl, UnZ_Olds, UnZ_Misc --...
with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Strings.Fixed.Hash_Case_Insensitive; package CUPS.String_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => String, Element_Type => String, Hash => Ada.Strings.Fixed.Hash_Case_Insensitive, Equivalent_Keys => "="...
----------------------------csc410/prog4/as4.adb---------------------------- -- Author: Matthew Bennett -- Class: CSC410 Burgess -- Date: 10-05-04 Modified: 10-17-04 -- Due: 10-12-04 -- Desc: Assignment 4: DJIKSTRA'S STABILIZING ALGORITHM -- -- a nonproduction implementation of -- DJIKSTRA's algorithm whic...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Sum is subtype Based_From_2 is Integer range 2 .. 4; type Range_n_Based is array (Positive range <>) of Integer; Prime_Number : Range_n_Based(Based_From_2) := (2, 3, 5); function Sum_Array (A : Ra...
with Math_2D.Types; with Math_2D.Vectors; generic with package Types is new Math_2D.Types (<>); with package Vectors is new Math_2D.Vectors (Types); package Math_2D.Points is function Distance (Point_A : in Types.Point_t; Point_B : in Types.Point_t) return Types.Real_Type'Base; end Math_2D.Points;
-- //////////////////////////////////////////////////////////// -- // -- // 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...
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the ...
with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; with STM32_SVD.NVIC; with STM32_SVD.GPIO; with Ada.Text_IO; package body STM32GD.Board is procedure Init is begin STM32_SVD.RCC.RCC_Periph.AHBENR.IOPAEN := 1; STM32_SVD.RCC.RCC_Periph.AHBENR.IOPFEN := 1; BUTTON.Init; LED.Init; end Ini...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Incr.Nodes.Tokens; package body Incr.Nodes is To_Diff : constant array (Boolean) of Integer := (False => -1, True...
-- { dg-do compile } -- { dg-options "-gnatws" } package Delta_Small is type T is delta 0.1 range -0.8 .. 0.8; for T'Small use 0.1; for T'Size use 4; type T2 is new T range -0.4 .. 0.4; for T2'Small use 0.0625; end Delta_Small;
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 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 fr...
----------------------------------------------------------------------- -- gen-commands-plugins -- Plugin creation and management commands for dynamo -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notice, t...
with String_Vectors; use String_Vectors; package String_Vectors_Utils is function Join (V : Vector; Separator : String := "") return String; end String_Vectors_Utils;
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018, 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; either version 3, or (at your option) a...
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure sort is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.Stre...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Text_IO.Unbounded_IO; use Text_IO.Unbounded_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Ada.Sequential_IO; procedure ftest is --type Lines is array (1..10000) of Unbounded_String; package Integer_IO is ne...
with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.References_Of_Decls is use type LAL.Analysis_Unit; use type LALCO.Ada_Node_Kind_Type; function Is_Node_In_End_Name (Node : LAL.Ada_Node'Class) return Boolean; function Is_Node_In_End_Name (Node : LAL.Ada_Node'Class) retur...
-- { dg-do run } -- { dg-options "-gnatwae" } procedure warn1 is pragma Warnings (Off, "variable ""Unused"" is never read and never assigned"); Unused : Integer; pragma Warnings (On, "variable ""Unused"" is never read and never assigned"); begin null; end warn1;
with XML_Utilities; package body Project_Processor.Parsers.XML_Parsers.Basic_Parsers is --------------- -- Expect_ID -- --------------- function Expect_ID (N : DOM.Core.Node; Name : String := "label") return EU_Projects.Dotted_Identifier is use XML_Ut...
package STM32GD.Board_Variant is TX_PA_Boost : constant Boolean := True; Output_Power_dBm : constant Integer := 13; end STM32GD.Board_Variant;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with AVR.IO_PORTS; -- ============================================================================= -- Package body AVR.PWM_SIMPLEST -- ============================================================================= package body AVR.PWM_SIMPLEST is procedure Initialize (Timer : TIMERS.Timer_Type) is begin c...
----------------------------------------------------------------------- -- awa-applications-configs -- Read application configuration files -- Copyright (C) 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Incr.Nodes.Tokens; package Incr.Nodes.Ultra_Roots is -- @summary -- Ultra_Root nodes of parse trees -- -- @d...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. generic type Element is delta <>; package GBA.Numerics.Vectors is subtype Dim is Integer range 0 .. 1; type Vec is array (Dim) of Element; generic with function Operator (X, Y : Element) return Element; function Pointwise (V...
with Ada.Finalization; use Ada.Finalization; package body EU_Projects.Nodes.Action_Nodes.WPs is overriding function Next (Object : Deliverable_Iterator; Position : Deliverable_Cursor) return Deliverable_Cursor is pragma Unreferenced (Object); begin if Position.Clone = Deliverable_...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 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...
-- 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...
-- { dg-do compile } -- { dg-options "-gnatws" } package body Discr26 is function F1 return My_T1 is R: My_T1; begin return R; end; procedure Proc is begin if F1.D = 0 then raise Program_Error; end if; end; end Discr26;
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.Regexps; with League.Strings; package Markdown.Common_Patterns is Blank_Pattern : constant League.Regexps.Regexp_Pattern := League....
package STM32.CORDIC.Polling is procedure Calculate_CORDIC_Function (This : in out CORDIC_Coprocessor; Argument : UInt32_Array; Result : out UInt32_Array); -- Polls the CORDIC directly to get the calculated funtion result. procedure Calculate_CORDIC_Function (This : in out CO...
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Text_IO; with Ada.Wide_Wide_Text_IO; with GNAT.SHA256; with AWS.Client; with AWS.Default; with AWS.Messages; with AWS.Response; with JWS; wit...
with Ada.Text_Io; use Ada.Text_Io; procedure Test is begin Put_Line("Lul"); end Test;
with Ada.Text_IO; use Ada.Text_IO; package body Stopwatch is --------------- -- Print_Time --------------- procedure Print_Time (M : String; ts : Time_Span) is d : constant Duration := To_Duration (ts); begin Put_Line (M & Duration'Image (d) & "s"); end Print_Time; ----------------...
-- $Id: SourceDrv.mi,v 1.1 1991/11/21 14:33:17 grosch rel $ -- $Log: SourceDrv.mi,v $ -- Ich, Doktor Josef Grosch, Informatiker, Aug. 1994 with Source, Text_Io; use Source, Text_Io; procedure SourceDr is f : Integer; l : Integer; s : String (1..256); begin f := BeginSource ("source.adb"); GetLine (f, s, 256...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
pragma License (Unrestricted); -- generalized unit of Ada.Strings.Bounded with Ada.References; with Ada.Streams; generic type Character_Type is (<>); type String_Type is array (Positive range <>) of Character_Type; with procedure Read ( Stream : not null access Streams.Root_Stream_Type'Class; Item...
with Ada.Assertions; use Ada.Assertions; with Rejuvenation.String_Utils; use Rejuvenation.String_Utils; with Rejuvenation.Utils; use Rejuvenation.Utils; package body Predefined_Rewriters is -- Localize Ada Nodes in defining files Standard_Unit_Filename : constant String := "__standard"; -...
----------------------------------------------------------------------- -- keystore-tests -- Tests for akt command -- 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 not use this file...
package Discr35 is type Rec1 is tagged null record; type Enum is (One, Two); type Rec2 (D : Enum := One) is record case D is when One => null; when Two => R : Rec1; end case; end record; Null_Rec2 : Constant Rec2; procedure Proc1; procedure Proc2; private Null_Rec2 : Co...
with Ada.Text_IO, LCG; procedure Run_LCGs is type M31 is mod 2**31; package BSD_Rand is new LCG(Base_Type => M31, Multiplyer => 1103515245, Adder => 12345); package MS_Rand is new LCG(Base_Type => M31, Multiplyer => 214013, Adder => 2531011, Ou...
-- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- util-streams-raw -- Raw streams for Windows based systems -- Copyright (C) 2011, 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, Ada.Containers.Doubly_Linked_Lists; use Ada.Text_IO; procedure dll is Equal_Limit : constant := 10; generic Threshold : in Integer := 0; function Special_Equal (Left, Right : Integer) return Boolean; function Special_Equal (Left, Right : Integer) return Boolean is ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Tk.TopLevel.TopLevel_Options_Test_Data...
-- 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...
-- Copyright (c) 2021 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Streams.Stream_IO; with League.Strings; with Network.Connection_Promises; with Network.Connections; with Network.Streams; p...
with lace.Event; package lace.Response -- -- Provides a base class for all derived event 'response' classes. -- is pragma remote_Types; type Item is abstract tagged limited private; type View is access all Item'class; -- Attributes -- function Name (Self : in Item) return String; -- Op...
with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with System.Standard_Allocators; with System.System_Allocators; with C.basetsd; with C.string; with C.wincon; with C.winerror; package body System.Native_IO is use Ada.Exception_Identification.From_Here; use type Ada.IO_...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- { dg-do compile } package body Atomic5 is function Create return R is begin return (A => 0, B => 1, C => 2, D => 4); end; procedure Proc1 is I : Unsigned_32; begin I := Conv(Create); end; procedure Proc2 is I : Unsigned_32; begin I := Conv(R'(A => 0, B => 1, C => 2, D => 4)); ...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Wide_Wide_Text_IO; with League.String_Vectors; with League.Strings; with WebIDL.Lexers; with WebIDL.Parsers; with WebIDL.Simple_Factories; proce...
-- 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...
pragma Task_Dispatching_Policy(Round_Robin_Within_Priorities); with Ada.Text_IO;use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Dispatching; use Ada.Dispatching; --with Ada.Dispatching.Round_Robin; use Ada.Dispatching.Round_Robin; with System; use System; procedure round_robin is pragma Priority(Sy...
with Ada.Text_IO; pragma Unreferenced (Ada.Text_IO); package ParentPackage is procedure ParentDummy; end ParentPackage;
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. with System.Storage_Elements; -- -- Linear allocators which manage a particular address space. -- Memory can be recovered only in blocks. -- package System.Allocation.Arenas is package SSE renames System.Storage_Elements; -- Re...
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Calendar.Formatting; with Ada.Directories; with Ada.Exception_Identification.From_Here; with Ada.Hierarchical_File_Names; with Ada.Streams.Stream_IO; with Tabula.Calendar; with Tabula.Users; with Vampire.Villages.Text; package body Vampire.R3 is use type Ada.Ca...
with openGL.Primitive.indexed, openGL.Primitive, ada.unchecked_Deallocation; package body openGL.Model.segment_line is function to_segment_line_Model (Color : in openGL.Color) return Item is Self : constant Item := (Model.item with +Color, ...