content
stringlengths
23
1.05M
with Ada.Text_IO; use Ada.Text_IO; procedure Day05 is function React (Unit1 : Character; Unit2 : Character) return Boolean is Result : Boolean := False; begin if abs (Character'Pos (Unit1) - Character'Pos (Unit2)) = 32 then Result := True; end if; return Result; end React; ...
-- -- 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. -- -------------------------------------------...
-- This spec has been automatically generated from STM32WB55x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.GPIO is pragma Preelaborate; --------------- -- Registers -- --------------- -- MODER_MODE array element...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; package Yaml.Dom.Dumping.Test is type TC is new Test_Cases.Test_Case with record Pool : Text.Pool.Reference; end record...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with WebIDL.Definitions; with WebIDL.Interface_Members; package WebIDL.Interfaces is pragma Preelaborate; type An_Interface is limited interface and...
-- Multithreaded relay with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; procedure MTRelay is use type GNAT.Formatted_String.Formatted_String; type Context_Access is access all ZMQ.Context_Type'Class; task Step_1_Task is entry Start (Context_A : Context_Access); en...
--------------------------------------------------------------------------------- -- 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. ------------------------------------------------------------...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Sodium.Thin_Binding; package Sodium.Functions is package Thin renames Sodium.Thin_Binding; ------------------ -- Data Types -- ------------------ subtype Standard_Hash is String (1 .. Posi...
package body Count_Subprogram is procedure P2A (x, y : Integer) is null; procedure P2B (x : Integer; y : Integer) is null; procedure P4A (k, l, m, n : Integer) is null; procedure P4B (k : Integer; l : Integer; m : Integer; n : Integer) is null; procedure P3A (x, y, z : Integer) is null; procedure P...
with Ada.Assertions; use Ada.Assertions; package body Memory.Container is function Get_Memory(mem : Container_Type'Class) return Memory_Pointer is begin return Memory_Pointer(mem.mem); end Get_Memory; procedure Set_Memory(mem : in out Container_Type'Class; other : access ...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- WAVEFILES -- -- -- -- ...
with Inline7_Pkg2; package body Inline7_Pkg1 is procedure Test (I : Integer) is function F is new Inline7_Pkg2.Calc (I); begin if I /= F (I) then raise Program_Error; end if; end; end Inline7_Pkg1;
--------------------------------------------------------------------------- -- package Hessenberg -- Copyright (C) 2011-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 above -- copyright notice a...
-- Abstract : -- -- See spec. -- -- Copyright (C) 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)...
with Resource4; with Ada.Command_Line; with Ada.Text_IO; procedure Test4 is use Resource4; C : Content_Access := Get_Content ("web/main.html"); begin if C = null then Ada.Text_IO.Put_Line ("FAIL: No content 'web/main.html'"); Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); retur...
with DDS.DataReader; with DDS.DataWriter; with Interfaces.C.Extensions; with DDS.DomainParticipant; with DDS.Publisher; with DDS.Subscriber; with DDS.Request_Reply.Untypedcommon; with DDS.Request_Reply.Connext_C_Entity_Params; package DDS.Request_Reply.Connext_C_Requester is use Untypedcommon; use Connext_C_Ent...
------------------------------------------------------------------------------ -- Copyright (c) 2011, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- File : GL - IO.ads -- Description : I/O for (Open)GL graphics -- -- This package provides currently: -- -- ****************************************************** -- ...
package Giza.Bitmap_Fonts.FreeSerifBoldItalic24pt7b is Font : constant Giza.Font.Ref_Const; private FreeSerifBoldItalic24pt7bBitmaps : aliased constant Font_Bitmap := ( 16#00#, 16#3C#, 16#00#, 16#FC#, 16#01#, 16#F8#, 16#07#, 16#F0#, 16#0F#, 16#E0#, 16#1F#, 16#C0#, 16#3F#, 16#00#, 16#7E#, 16#00#, 16#F8#, 16#...
----------------------------------------------------------------------- -- openapi-clients -- Rest client 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 us...
with Ada.Text_IO; with c_code_h; procedure Ada_C_Ada_Main is package ATI renames Ada.Text_Io; begin ATI.Put_Line ("Ada_C_Ada_Main: Calling c_ada_caller"); c_code_h.c_ada_caller; ATI.Put_Line ("Ada_C_Ada_Main: Returned from c_ada_caller"); end Ada_C_Ada_Main;
------------------------------------------------------------------------------- -- 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 Ada.Numerics.Elementary_Functions; Package body CompStats_Statistics is function Get_Count (Values: Values_Array) return Integer is Count: Integer; -- Stores final count begin Count := Values'Length; return Count; end Get_Count; -------------------------------------------------------------- fun...
package body Primes is function Next(Ps: List) return Positive is begin case Ps'Length is when 0 => return 2; when 1 => return 3; when others => declare N: Positive := Ps(Ps'Last) + 2; begin while (for some P of Ps => N mod P ...
with Ada.Numerics.Discrete_Random; package body RandInt is gen: RA.Generator; function Next(n: in Natural) return Natural is begin return RA.Random(gen) mod n+1; end Next; begin RA.Reset(gen); end RandInt;
-------------------------------------------------------------------------------- -- Copyright (c) 2013, Felix Krause <contact@flyx.org> -- -- 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 pe...
-- { dg-do run } procedure Fixedpnt is A : Duration := 1.0; B : Duration := Duration ((-1.0) * A); begin if B > 0.0 then raise Constraint_Error; end if; end;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
Positional := H(A, F'Access); Named := H(Int => A, Fun => F'Access); Mixed := H(A, Fun=>F'Access);
with Ada.Text_IO; use Ada.Text_IO; with Simple_Math; procedure Main is package Io is new Ada.Text_IO.Float_IO (Simple_Math.Float_T); function Get (Prompt : String) return Simple_Math.Float_T is begin Put (" " & Prompt & " => "); return Simple_Math.Float_T'value (Get_Line); end Get; ...
Foo := 1; loop exit when Foo = 10; Foo := Foo + 1; end loop;
-- -- Test unit for this demo. -- -- 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 the -- GNU General Public License for more details. -- with Ada.Text_IO; use Ada.Text_IO; w...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with System; -- ============================================================================= -- Package body AVR.INTERRUPTS -- -- Maps the interrupts for the MCU micro-controller. -- To attach an interrupt, proceed like -- procedure Receive_Handler; -- pragma Machine_Attribute -- (Entity => Receive_Handl...
private with ada.Strings.unbounded, ada.Containers.vectors; package XML -- -- Provides simple XML reader/writer support. -- -- Heavily based on Chip Richards Ada XML packages. -- is --- Attribute type -- type Attribute_t is tagged private; type Attributes_t is array (Positive range <>) ...
package Discr20 is Size : Integer; type Name is new String (1..Size); type Rec is record It : Name; end record; type Danger is (This, That); type def (X : Danger := This) is record case X is when This => It : Rec; when That => null; end case; end record; type Switch ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "BGPView" type = "api" function start() setratelimit(1) end function asn(ctx, addr, asn) if asn == 0 then if addr =...
private package SPARKNaCl.PDebug with SPARK_Mode => On is procedure DH16 (S : in String; D : in Normal_GF); procedure DH32 (S : in String; D : in GF32); procedure DH64 (S : in String; D : in GF64); end SPARKNaCl.PDebug;
with HW.GFX; with HW.GFX.Framebuffer_Filler; with HW.GFX.GMA; with HW.GFX.GMA.Display_Probing; use HW.GFX; use HW.GFX.GMA; use HW.GFX.GMA.Display_Probing; with HW.Debug; with HW.Debug_Sink; with GMA.Mainboard; package body GMA is fb_valid : boolean := false; linear_fb_addr : word64; fb : Framebuffer_Typ...
-- REST API Validation -- API to validate -- -- The version of the OpenAPI document: 1.0.0 -- Contact: Stephane.Carrez@gmail.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.2.1-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. pragma Warnings (Off, "*is not ref...
-- C37209B.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) 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 Ada_2012; Pragma Assertion_Policy( Check ); With Ada.Finalization, Ada.Streams; Generic Type Character is (<>); Type String is array(Positive Range <>) of Character; Empty_String : String := (2..1 => <>); Type File_Type is limited private; Type File_Mode is (<>); Type Stream_Access is a...
with Ada.Real_Time; package Support.Clock is beg_clock : Ada.Real_Time.Time; end_clock : Ada.Real_Time.Time; function get_date return String; function get_elapsed (beg_clock : Ada.Real_Time.Time; end_clock : Ada.Real_Time.Time) return Real; procedure reset_elapsed_cpu; p...
with System.Address_To_Named_Access_Conversions; with System.Storage_Map; with System.System_Allocators; package body System.Unbounded_Stack_Allocators is pragma Suppress (All_Checks); use type Storage_Elements.Integer_Address; use type Storage_Elements.Storage_Offset; Down : Boolean renames Storage_...
package SPDX.Exceptions is pragma Style_Checks (Off); -- Genrated code Version : constant String :="3.10-14-g0fb8a59"; type Id is ( GCC_exception_2_0, openvpn_openssl_exception, GPL_3_0_linking_exception, Fawkes_Runtime_exception, u...
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with LSP.Types; with LSP.Messages; package LSP_Documents is type Document is tagged private; not overriding procedure Initali...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
----------------------------------------------------------------------- -- properties-bundles -- Generic name/value property management -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache Lice...
with openGL.Texture, ada.Strings.unbounded, ada.Streams.Stream_IO, ada.unchecked_Deallocation; package openGL.IO -- -- Provides I/O functions for openGL. -- is subtype Text is ada.Strings.unbounded.unbounded_String; ------------------ -- General Vertex -- null_Id : constant lon...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Ecrire_Entier is -- Écrire un entier. -- Paramètres : -- Nombre : l'entier à écrire -- Nécessite : Nombre >= 0 -- Nombre positif -- Assure : -- Nombre est écrit procedure Ecrire_Recursif (Nombre: in Inte...
------------------------------------------------------------------------------ -- Copyright (C) 2017-2020 by Heisenbug Ltd. (gh+saatana@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...
-- { dg-do compile } with Limited_With2_Pkg2; package body Limited_With2 is function Func (Val : Rec1) return Limited_With2_Pkg1.Rec2 is begin return Val.F; end; end Limited_With2;
with Ada.Assertions; use Ada.Assertions; package TestSLModes is procedure run_test; end TestSLModes;
pragma License (Unrestricted); with Ada.Text_IO; package Ada.Long_Float_Text_IO is new Text_IO.Float_IO (Long_Float);
pragma License (Unrestricted); with Ada.Characters.Conversions; with Ada.Strings.Generic_Hash; function Ada.Strings.Hash is new Generic_Hash (Character, String, Characters.Conversions.Get); pragma Pure (Ada.Strings.Hash);
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with STM32GD.I2C; with STM32_SVD; use STM32_SVD; package body Drivers.Si7060 is function Init return Boolean is begin return I2C.Write_Register (Address, 16#C4#, 2#0000_0001#); end Init; function Temperature_x100 (R : out Temperature_Type) return Boolean is M, LSB, MSB : Byte; begin ...
package Int_Binary_Tree is type T is limited private; function Is_In_Tree( Tree: in T; Number: in Integer ) return Boolean; procedure Insert( Tree: in out T; Number: in Integer ); procedure Remove( Tree: in out T; Number: in Integer ); procedure Print( Tree: in T ); procedure Debug_Print( Tree: in...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Characters.Wide_Wide_Latin_1; with Ada.Wide_Wide_Text_IO; with League.Strings; with Incr.Ada_Lexers; with Incr.Lexers....
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; --05.02.2018 20:19:12 --http://www.radford.edu/nokie/classes/320/Tour/procs.funcs.html procedure demo is procedure printlines (numLines, numChars : Natural; c : Character) is begin for i in 1 .. numLines loop for j in 1 .. numChars loop -- put('x'); ...
-- C94002B.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...
-------------------------------------------------------------------------------- -- An Ada implementation of the Advent Of Code 2018 -- -- -- -- Day 2: Inventory Management System ...
with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; package OneStrategy is ARG : constant Integer := 0; type One is new AbstractStrategyCombinator and Object with null record; -----------...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package Spatial_Data.Well_Known_Binary is type WKB_Byte is mod 2 ** 8; type WKB_Chain is array (Positive range <>) of WKB_Byte; WKB_INVALID : exception; function Translate_WKB (WKBinary : String)...
-- 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...
----------------------------------------------------------- -- -- -- SIGINT_HANDLER PACKAGE -- -- -- -- Copyright (c) 2017, John Leimon -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- AOC, Day 2 with Ada.Text_IO; use Ada.Text_IO; with IntCode; procedure main is subtype Input_Int is Integer range 0 .. 99; function run_once(noun : in Input_Int; verb : in Input_Int) return Integer is begin IntCode.load_file("day2_input.txt"); IntCode.poke(1, Integer(noun)); IntCode.poke(2, Intege...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Unchecked_Deallocation; package body Serialization.YAML is use type Ada.Strings.Unbounded.String_Access; use type Standard.YAML.Event_Type; Null_String : aliased String := ""; procedure Free is new Ada.Unchecked_Deallocation (Serializer, Serializer_Access); procedure Free_And_Null (X : in out Ada....
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Meta is pragma Pure; end Meta;
-- -- 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.Strings.Unbounded; with Database...
with Tkmrpc.Operations.Ees; with Tkmrpc.Operation_Handlers.Ees.Esa_Acquire; with Tkmrpc.Operation_Handlers.Ees.Esa_Expire; package body Tkmrpc.Dispatchers.Ees is ------------------------------------------------------------------------- procedure Dispatch (Req : Request.Data_Type; Res : out Response....
-- see OpenUxAS\src\Services\AutomationRequestValidatorService.h with DOM.Core; with Automation_Request_Validator; use Automation_Request_Validator; with Automation_Request_Validator_Communication; use Automation_Request_Validator_Communication; package UxAS.Comms.LMCP_Net_Client.Service.Automation_Re...
with openGL; package gel.Conversions is function to_GL (Self : in math.Real) return opengl.Real; function to_GL (Self : in math.Vector_3) return opengl.Vector_3; function to_GL (Self : in math.Matrix_3x3) return opengl.Matrix_3x3; function to_GL (Self ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with SDL; with SDL.Video.Windows; with SDL.Video.Windows.Makers; with SDL.Video.Surfaces; with SDL.Video.Palettes; use SDL.Video.Palettes; with SDL.Video.Pixels; with SDL.Video.Pixel_Formats; use SDL.Video.Pixel_Formats; with SDL.Video.Textures; use SDL.Video.Textures; with SDL.Video.Textures.Makers; with SDL.Video.Ren...
pragma License (Unrestricted); -- extended unit with Ada.Colors; private with System.Native_Text_IO.Terminal_Colors; package Ada.Text_IO.Terminal.Colors is -- Additional terminal-color handling subprograms. type Color is private; function To_Color (Item : Ada.Colors.RGB) return Color; function To_Graysc...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Incr.Nodes.Tokens; with Incr.Nodes.Ultra_Roots; package body Incr.Documents is package body Constructors is proce...
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- -- Copyright (c) 2008-2009 Tero Koskinen <tero.koskinen@iki.fi> -- -- Permission to use, copy, modify, and 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...
with Ada.Unchecked_Conversion, Interfaces.C.Extensions; package body Libtcod.Maps.Paths is use path_h, Interfaces.C, Interfaces.C.Extensions; subtype Limited_Controlled is Ada.Finalization.Limited_Controlled; type Int_Ptr is access all int; type X_Pos_Ptr is access all X_Pos; type Y_Pos_Ptr is access ...
package body ACO.Messages is function CAN_Id (Msg : Message) return Id_Type is (Msg.CAN_Id.Id); function Func_Code (Msg : Message) return Function_Code is (Msg.CAN_Id.Code); function Node_Id (Msg : Message) return Node_Nr is (Msg.CAN_Id.Node); function Create (CAN_Id : Id_Type; ...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Unchecked_Deallocation; -- we need to explicitly with all annotations because their package -- initialization adds them to the annotation map. with Yaml.Transformator.Annotation.Identity; ...
with Ada.Text_IO; with PrimeInstances; with Ada.Containers.Vectors; package body Problem_47 is package IO renames Ada.Text_IO; package Positive_Primes renames PrimeInstances.Positive_Primes; package Positive_Vectors is new Ada.Containers.Vectors(Index_Type => Positive, ...
with Ada.Integer_Text_IO; with Ada.Text_IO; with Ada.Numerics.Elementary_Functions; with PrimeInstances; package body Problem_05 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; package Math renames Ada.Numerics.Elementary_Functions; procedure Solve is package Positive_Prim...
pragma Source_Reference (3, "p1.adb"); procedure Source_Ref1 is begin null; end;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma Ada_2012; with Ada.Directories; with Ada.Text_IO; with Ada.Strings.Fixed; with Ada.Characters.Handling; with Generator.Frontmatter; with Generator.Rssfeed; with Generator.Sitemap; with Ada.Text_IO.Text_Streams; with Ada.Streams; with Ada.Streams.Stream_IO; with Ada.Numerics.Discrete_Random; with Progress_Indicat...
type Arr_Type is array (Integer range <>) of Lower_Case; A : Arr_Type (1 .. 26) := "abcdefghijklmnopqrstuvwxyz";
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
package Mat is function Lnko ( A, B : Positive ) return Positive; function Faktorialis( N: Natural ) return Positive; end Mat;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...