content
stringlengths
23
1.05M
with AUnit.Test_Suites; package Test.Test_Suite is function Suite return AUnit.Test_Suites.Access_Test_Suite; end Test.Test_Suite;
function Warnsdorff_Get_Tour(Start_X, Start_Y: Index; Scene: Tour := Empty) return Tour; -- uses Warnsdorff heurisitic to find a tour faster -- same interface as Get_Tour
-- Numeric Literals 123 123_456 12_34_56 123.456 123_456.789 123.456_789 12_34.567_89 123E12 1.23e5_4 12_3E+5 1.2_3e+5 1_2.3E-5 123.4e-5 1#123# 1_6#123.3#e-12 32#12_3_Ab#E4_5 -- Textual Literals ' ' 'A' 'b' '0' ';' '"' '[' '}' '#' '=' '+' '/' '?' "Hello" "Hello world!" "A single quote ' in a string literal" "The follo...
with openGL.Geometry; package openGL.Model.terrain -- -- Models lit, textured terrain. -- is type height_Map_view is access all height_Map; type Item is new Model.item with record heights_Asset : asset_Name := null_Asset; Heights : height_Map_view; Row, Col : ...
-- This spec has been automatically generated from STM32L151.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- STM32L151 package STM32_SVD is pragma Preelaborate; -------------------- -- Base addresses -- -------------------- AES_Base : cons...
with Ada.Text_IO; procedure HelloWorld is begin Ada.Text_IO.Put_Line("Hello, World!"); end HelloWorld;
-- Generated by Snowball 2.2.0 - https://snowballstem.org/ package body Stemmer.Turkish is pragma Style_Checks ("-mr"); pragma Warnings (Off, "*variable*is never read and never assigned*"); pragma Warnings (Off, "*mode could be*instead of*"); pragma Warnings (Off, "*formal parameter.*is not modified*"); ...
pragma License (Unrestricted); -- with Ada.Task_Identification; with Ada.Real_Time; -- use Ada.Real_Time; package Ada.Execution_Time is type CPU_Time is private; CPU_Time_First : constant CPU_Time; CPU_Time_Last : constant CPU_Time; CPU_Time_Unit : constant := Duration'Delta; -- implementation-defin...
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- Antonio M. F....
------------------------------------------------------------------------------ -- T M A L L O C -- -- -- -- Copyright (C) 2011, AdaCore -- -- ...
-- Abstract : -- -- Procedural packrat parser, supporting only direct left recursion. -- -- Coding style, algorithm is the same as generated by -- wisi-generate_packrat, but in procedural form. -- -- References: -- -- See parent. -- -- Copyright (C) 2018 - 2020 Free Software Foundation, Inc. -- -- This library ...
with Ada.Text_IO, Cards, Deck; use Ada.Text_IO, Cards, Deck; procedure HiLo is Old_Card : Card; New_Card : Card; First_Draw : Boolean := True; type Choice_Type is (Higher, Lower); Choice : Choice_Type; Input : Character; begin Old_Card := Deck.Draw; loop New_Card := Deck.Draw; if First_Draw then Fi...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2011, Stefan Berghofer -- Copyright (C) 2011, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or withou...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body DCF.Streams.Calendar is procedure Set_Time (S : out Root_Zipstream_Type'Class; Modification_Time : Ada.Calendar.Time) is begin Set_Time (S, Calendar.Convert (Modification_Time)); end Set_Time; function Get_Time (S : in Root_Zipstream_Type'Class) return Ada.Calendar.Time is begin ...
package TOML_Slicer is -- Procedures to directly edit a TOML file without parsing it. Heavily -- incomplete and tailored to Alire needs. Slicing_Error : exception; -- Raised when the requested operation could not be completed. Original -- file remains untouched. procedure Remove_Line_From_Array...
------------------------------------------------------------------------------- -- Copyright (c) 2016 Daniel King -- -- 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...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Units.Bodies; package body Program.Units.Subunits is -------------------- -- Append_Subunit -- -------------------- procedure Ap...
package body annee is function Est_Bissextile (Annee : Integer) return Boolean is begin return (Annee Mod 4 = 0 And Annee Mod 100 /= 0) Or Annee Mod 400 = 0; end Est_Bissextile; end annee;
--PRÁCTICA 4: CÉSAR BORAO MORATINOS (Chat_Client_2) with Handlers; with Ada.Text_IO; with Chat_Messages; with Lower_Layer_UDP; with Ada.Command_Line; with Ada.Strings.Unbounded; procedure Chat_Client_2 is package ATI renames Ada.Text_IO; package CM renames Chat_Messages; package LLU renames Lower_Layer_...
with SDL; with SDL.Error; with SDL.Events.Events; with SDL.Events.Keyboards; with SDL.Inputs.Mice; with SDL.Log; with SDL.Video.Palettes; with SDL.Video.Pixel_Formats; with SDL.Video.Renderers.Makers; with SDL.Video.Textures.Makers; with SDL.Video.Windows.Makers; with SDL.Versions; procedure Mouse is use type SDL.D...
package Lto20_Pkg is type Arr is private; Null_Arr : constant Arr; procedure Proc (A : Arr); private type Obj; type Handle is access Obj; Null_Handle : constant Handle := null; type Arr is array (1 .. 2) of Handle; Null_Arr : constant Arr := (others => Null_Handle); end Lto20_Pkg;
-- 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...
-- Copyright 2016-2021 Free Software Foundation, Inc. -- -- 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 version. -- -- ...
package body Tokens with SPARK_Mode is function New_Token (Kind : Token_Kind; Lexeme : String; Line : Positive) return Token is begin return Token'(Kind => Kind, Lexeme => L_Strings.To_Bounded_String (Lexeme), Line => Line); end New_T...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ iterator over static instances -- -- |___/_|\_\_|_|____| by: Timm Felden ...
-- -- Copyright (c) 2015, John Leimon <jleimon@gmail.com> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above copyright -- notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Simple_IO; package body Aliasing with SPARK_Mode => On is procedure Multiply (X, Y : in Rec; Z : out Rec) is begin Z := (0, 0); Z.F := X.F * Y.F; Z.G := X.G * Y.G; end Multiply; procedure Test is R : Rec; Result : Integer; ...
with Loop_Optimization10_Pkg; use Loop_Optimization10_Pkg; package Loop_Optimization10 is type Dual_Axis_Type is (One, Two); type Array_Real_Type is array (Dual_Axis_Type) of Float; type Array_Limit_Type is array (Dual_Axis_Type) of Limit_Type; function F (Low, High : in Array_Real_Type) return Arra...
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Containers.Hashed_Maps; with Ada.Streams; with League.Strings; private with League.Strings.Hash; with LSP.Messages; with LS...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure For_Each is A : array (1..5) of Integer := (-1, 0, 1, 2, 3); begin for Num in A'Range loop Put( A (Num) ); end loop; end For_Each;
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. function Apsepp_Test_Node_Barrier.Create_Test_Reporter (Barrier : Test_Node_Barrier_Access; Char_Name_Image : Char_Name_Image_Func; Tag_To_Char : Tag_To_Char_Func) return Test_Reporter_W_Barrie...
with Interfaces; package STM32.F4.RCC is pragma Preelaborate; -- CR type Clock_Control_Register is record HSION: Boolean; HSIRDY: Boolean; HSITRIM: Integer range 0 .. 2**5 - 1; HSICAL: Integer range 0 .. 2**8 - 1; HSEON: Boolean; HSERDY: Boolean; HSEBYP: Boolean; CSSON: Boolean; PLLON: Boolean; ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Assertions; use Ada.Assertions; with Ada.Containers.Hashed_Maps; use Ada.Containers; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Hash; procedure Day18 is subtype Input_String is String (1 .. 50); type String_Array is array (Input_String'Range) of Input_String; fu...
package elab1 is -- the forward declaration is the trigger type Stream; type Stream_Ptr is access Stream; type Stream is array (Positive range <>) of Character; function Get_Size (S : Stream_Ptr) return Natural; type Rec (Size : Natural) is record B : Boolean; end record; M...
with Ada.Strings.Maps, Ada.Characters.Handling, Interfaces.C; use Ada, Ada.Strings, Ada.Strings.Maps, Interfaces; package body Morse is Dit, Dah, Lettergap, Wordgap : Duration; -- in seconds Dit_ms, Dah_ms : C.unsigned; -- durations expressed in ms Freq : constant C.unsigned := 1280; -- in Herz Morse_Se...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Generic_Fixture; with Apsepp.Debug_Trace_Class.Stub; use Apsepp.Debug_Trace_Class.Stub; package Apsepp_Scope_Debug_Test_Fixture is procedure Increment_Scope_Entry_Count; procedure Increment_Sc...
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Visibility; package Program.Type_Matchers is pragma Preelaborate; type Type_Matcher is limited interface; type Type_Matcher_Ac...
with fov_h, Interfaces.C.Extensions; package body Libtcod.Maps is use fov_h, Interfaces.C, Interfaces.C.Extensions; subtype Limited_Controlled is Ada.Finalization.Limited_Controlled; procedure increment(x : in out X_Pos; d : X_Diff) is begin x := X_Pos(X_Diff(x) + d); end increment; function...
with physics.Forge, openGL.Renderer.lean; package body gel.World.simple is -- procedure log (Message : in String) -- renames ada.text_IO.put_Line; --------- --- Forge -- -- procedure free (Self : in out View) -- is -- procedure deallocate is new ada.unchecke...
with Interfaces; use Interfaces; with Interfaces.C.Extensions; package Lv.Color_Types is subtype Color_Int_T is Uint8_T; type Color_T_Comp is record Blue : Extensions.Unsigned_2; Green : Extensions.Unsigned_3; Red : Extensions.Unsigned_3; end record with Pack, Object_Size => 8; ...
with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with AUnit.Assertions; use AUnit.Assertions; with Rejuvenation.Nested; use Rejuvenation.Nested; package body Test_Nested is OFF_TAG : constant String := "--@OFF@--"; ON_TAG : constant String := "--@...
package ADMBase.Time_Derivs is procedure set_finite_diff_factors; procedure set_time_derivatives_intr (params : SlaveParams); procedure set_time_derivatives_bndry_ns (params : SlaveParams); procedure set_time_derivatives_bndry_ew (params : SlaveParams); procedure set_time_derivatives_...
with Ada.Text_IO; with Ada.Strings.Unbounded; procedure Best_Shuffle is function Best_Shuffle (S : String) return String; function Best_Shuffle (S : String) return String is T : String (S'Range) := S; Tmp : Character; begin for I in S'Range loop for J in S'Range loop i...
with Ada.Text_IO; use Ada.Text_IO; package body Hello is procedure Print_On_Console (P : Ada_Printer; V : String) is begin Put_Line ("[Ada ] " & V); end Print_On_Console; procedure Print_Messages (P : Printer'Class) is begin P.Print_On_Console ("Hello"); P.Print_On_Console ("This sub...
----------------------------------------------------------------------- -- helios-main -- Helios agent main procedure -- Copyright (C) 2017, 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 f...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Types; with Types.Strings; procedure Main is -- Use 'renames' to simplfy access to global formatting objects Hours : Types.Hours_T; Miles : Types.Miles_T; function Get (Prompt : String) return String is begin Put (Prompt & "> "); return Ge...
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- LPC55S69JBD100,LPC55S69JBD64,LPC55S69JEV98,LPC55S66JBD10...
with Ada.Finalization; use Ada; private with Pulse_Simple_H; package Pulsada.Thin is type Session_Type is new Finalization.Limited_Controlled with private; procedure Open (Session : in out Session_Type; Rate : Sampling_Frequency; N_Chan...
package body Measure_Units is function To_Mps (V : Kn) return Mps is (Mps (Float (V) * Mps_per_Knot)); function To_Meters (V : NM) return Meter is (Meter (Float (V) * Meters_per_Nautical_Mile)); function To_Meters (V : Ft) return Meter is (Meter (Float (V) * Meters_per_Foot)); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
-- -- This package provides handlers for enumerative types. Since the -- type is not fixed in advance, the package needs to be generic. -- generic type Value_Type is (<>); package Line_Parsers.Receivers.Enumeration_Receivers is type Receiver_Type is new Abstract_Parameter_Handler with private; function Is_S...
with Ada.Calendar; use Ada.Calendar; with Ada.Calendar.Formatting; use Ada.Calendar.Formatting; with Ada.Text_IO; use Ada.Text_IO; procedure Date_Format is function Image (Month : Month_Number) return String is begin case Month is when 1 => return "January"; whe...
package body agar.gui.widget.ucombo is package cbinds is function allocate_polled (parent : widget_access_t; flags : flags_t; callback : agar.core.event.callback_t; fmt : agar.core.types.void_ptr_t) return ucombo_access_t; pragma import (c, allocate_polled, "AG_UComboNew...
package GESTE_Fonts.FreeMono5pt7b is Font : constant Bitmap_Font_Ref; private FreeMono5pt7bBitmaps : aliased constant Font_Bitmap := ( 16#00#, 16#00#, 16#08#, 16#20#, 16#80#, 16#00#, 16#30#, 16#00#, 16#00#, 16#00#, 16#0C#, 16#31#, 16#40#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#08#, 16#78#, 16#C7#, 16#...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- gen-model -- Model for Code Generator -- Copyright (C) 2009, 2010, 2011, 2012, 2018, 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License...
----------------------------------------------------------------------- -- awa-components-wikis -- Wiki rendering component -- Copyright (C) 2011, 2015, 2016 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
----------------------------------------------------------------------- -- util-beans-basic-ranges -- Range of values with helper for list iteration -- Copyright (C) 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
-- 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...
-- nymph_test_client.ada - Test client application using the NymphRPC library. -- Revision 0 -- Features: - -- Notes: - -- 2019/04/04, Maya Posch : Initial version. -- (c) Nyanko.ws with Ada.Text_IO; use Ada.Text_IO; with NymphRemoteServer; procedure logFunction(level: in integer, text: in str...
-- { dg-do run } -- { dg-options "-gnatws" } procedure Discr44 is function Ident (I : Integer) return Integer is begin return I; end; type Int is range 1 .. 10; type Str is array (Int range <>) of Character; type Parent (D1, D2 : Int; B : Boolean) is record S : Str (D1 .. D2); end record; ...
-- { dg-do compile } -- { dg-options "-gnatws" } procedure Rep_Clause3 is subtype U_16 is integer range 0..2**16-1; type TYPE1 is range 0 .. 135; for TYPE1'size use 14; type TYPE2 is range 0 .. 262_143; for TYPE2'size use 18; subtype TYPE3 is integer range 1 .. 21*6; type ARR is array (TYPE3 ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with float_Math; package box2d_Physics -- -- Provides an implementation of the physics interface using a binding to the Box2D C library. -- is pragma Pure; package Math renames float_Math; Error : exception; end box2d_Physics;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Message_Visiters; package body Slim.Messages.grfb is List : constant Field_Description_Array := (1 => (Uint_16_Fie...
-- { dg-do compile } package Integer_Value is X : constant Integer := Integer'Integer_Value (12.8); -- { dg-error "fixed-point type" "" } end Integer_Value;
-- { dg-do compile } -- { dg-options "-w" } package body Vect10 is procedure Add_Mul (X : in out Unit; Y, Z : in Unit) is begin X := X + Y * Z; end; pragma Inline_Always (Add_Mul); procedure Proc (F : in Rec_Vector; First_Index : in Natural; Last_Index : in Natural; ...
----------------------------------------------------------------------- -- search-indexers-databases -- Search engine indexer -- Copyright (C) 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...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Wide_Wide_Text_IO; with League.String_Vectors; package body Meta.Read is function To_Name (Text : League.Strings.Univer...
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and th...
with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; package OneIdStrategy is ARG : constant Integer := 0; type OneId is new AbstractStrategyCombinator and Object with null record; -------...
with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; with STM32GD.EXTI; package body Peripherals is procedure Init is begin STM32_SVD.RCC.RCC_Periph.APB2ENR.SPI1EN := 1; -- IRQ.Configure_Trigger (STM32GD.EXTI.Interrupt_Falling_Edge); CSN.Init; CSN.Set; SCLK.Init; MISO.Init; ...
-- Institution: Technische Universitaet Muenchen -- Department: Real-Time Computer Systems (RCS) -- Project: StratoX -- Authors: Martin Becker (becker@rcs.ei.tum.de) with Interfaces; use Interfaces; package body NVRAM with SPARK_Mode => On, -- Somehow this package includes interrupts, which are accesse...
X : Image (1..16, 1..16); begin Fill (X, White); Cubic_Bezier (X, (16, 1), (1, 4), (3, 16), (15, 11), Black); Print (X);
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and th...
-- This spec has been automatically generated from STM32L4x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.Firewall is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CSSA_ADD_Field is...
-------------------------------------------------------------------------- -- Copyright 2022 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- with HAL.GPIO; with HAL.UART; with RP.Device; with RP.Clock; with RP.GPIO; with RP.UART; with Pico; procedure Pico_Master_Main is procedure Wait_For_Tr...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
--////////////////////////////////////////////////////////// -- 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...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Numerics.Discrete_Random; with Ada.Command_Line; use Ada.Command_Line; procedure Lab3b is type Integers is array (1..2) of Integer; type Integers_Array is array (1..20) of Integers; Array_20: Integers_Array;...
------------------------------------------------------------------------------ -- G E L A X A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
----------------------------------------------------------------------- -- components-util -- ASF Util Components -- Copyright (C) 2009, 2010, 2011, 2013, 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
package Hofstadter_Figure_Figure is function FFR(P: Positive) return Positive; function FFS(P: Positive) return Positive; end Hofstadter_Figure_Figure;
----------------------------------------------------------------------- -- security-openid -- OpenID 2.0 Support -- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use...
-- -- 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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Person_Handling; use Person_Handling; package Person_Sorted_List is CANTFIND_ERROR: exception; type List_Type is private; function Empty(List: List_Type) return Boolean; function Member(List: List_Type; Search: Person) return Boolean; function Find(List: List_Type; Search: Person) retu...
with Progress_Indicators.Work_Trackers; package SP.Progress is package PI renames Progress_Indicators; task type Update_Progress (Work : access PI.Work_Trackers.Work_Tracker) with CPU => 1 is entry Stop; end Update_Progress; end SP.Progress;
with AUnit; with AUnit.Simple_Test_Cases; package Remote_Node_Test is type Test is new AUnit.Simple_Test_Cases.Test_Case with null record; function Name (T : Test) return AUnit.Message_String; procedure Run_Test (T : in out Test); end Remote_Node_Test;
-------------------------------------------------------------------------------------------------------------------- -- 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...
-- A program for generating Luhn checksums with an Ada_GUI UI -- An Ada_GUI demo program -- -- Copyright (C) 2021 by PragmAda Software Ebgineering -- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses -- with Ada.Exceptions; with Ada.Text_IO; with Ada_GUI; procedure Luhn_Gen is ...