content
stringlengths
23
1.05M
--- src/test-main.adb.orig 2021-05-19 05:08:26 UTC +++ src/test-main.adb @@ -30,6 +30,8 @@ with Test.Common; procedure Test.Main is + pragma Linker_Options ("-lgnarl"); + pragma Linker_Options ("-lpthread"); -- Main procedure for gnattest procedure Callback (Phase : Parse_Phase; Swit : Dynamically_T...
package BBS.info is pragma Pure; -- -- This file is auto generated by the build script. It should not -- be edited by hand. -- name : constant String := "Tiny Lisp"; timestamp : constant String := "Fri Sep 3 09:03:26 MST 2021"; build_date : constant String := "2021-Sep-...
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with player; use player; with inventory_list; use inventory_list; package body save_load_game is SaveDir : String := "Saves/"; procedure newGame(player: out Player_Type; dungeon: out Integer) is ...
----------------------------------------------------------------------- -- util-xunit - Unit tests on top of AHven -- Copyright (C) 2011 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 excep...
package body Multiplicative_Order is function Find_Order(Element, Modulus: Positive) return Positive is function Power(Exp, Pow, M: Positive) return Positive is -- computes Exp**Pow mod M; -- note that Ada's native integer exponentiation "**" may overflow on -- computing Exp**Pow b...
-- Ascon.Compare_Tags -- Compare two Tag_Type values using a constant-time approach. This is split -- out into a separate child unit from Ascon so that different compilation flags -- can be used. It is advisable to prevent optimisation of this function or -- else a clever compiler might use a short-circuit approach. T...
with GID.Buffering; use GID.Buffering; package body GID.Decoding_BMP is procedure Load (image: in out Image_descriptor) is b01, b, br, bg, bb: U8:= 0; x, x_max, y: Natural; -- function Times_257(x: Primary_color_range) return Primary_color_range is pragma Inline(Times_257); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- Jan & Uwe R. Zimmer, Australia, July 2011 -- with Ada.Numerics.Generic_Elementary_Functions; package body Quaternions is package Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Real); use Elementary_Functions; -- function "abs" (Quad : Quaternion_Real) return Real is (...
----------------------------------------------------------------------- -- AUnit utils - Helper for writing unit tests -- Copyright (C) 2009, 2010, 2011, 2012, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you...
----------------------------------------------------------------------- -- ado-sessions -- Sessions Management -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (t...
package Return2_Pkg is function F return String; function G (Line : String; Index : Positive) return String; end Return2_Pkg;
with Interfaces.C; with System; with PortAudioAda; use PortAudioAda; package PaEx_Sine_Callbacks is ----------------------------------------------------------------------------- -- This routine will be called by the PortAudio engine when audio is needed. -- It may called at interrupt level on some machin...
-- This spec has been automatically generated from STM32L5x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- STM32L5x2 package STM32_SVD is pragma Preelaborate; -------------------- -- Base addresses -- -------------------- DFSDM1_Base : c...
with impact.d2.orbs.Joint.distance, impact.d2.orbs.Joint.friction, impact.d2.orbs.Solid, ada.unchecked_Deallocation; package body impact.d2.orbs.Joint is function Create (def : in b2JointDef'Class) return Joint.view is use impact.d2.orbs.Joint.distance, impact.d2.orbs.Joint.friction;...
with Ada.Text_IO; use Ada.Text_IO; with Memory.RAM; use Memory.RAM; with Device; with Test.Cache; with Test.DRAM; with Test.Flip; with Test.Offset; with Test.Prefetch; with Test.RAM; with Test.Register; with Test.Shift; with Test.Split; with Test.SPM; package body Test is function Create_Monitor(latency : Time_...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Exceptions; with Ada.Text_IO; with Coroutines.Polling; package body TCP_Servers is type Listener_Arguments is record ...
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Containers.Hashed_Maps; with Ada.Containers.Doubly_Linked_Lists; with League.Strings.Hash; with LSP.Messages; with Incr.Le...
-- 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...
-- PR ada/43106 -- Testcase by Bill Neven <neven@hitt.nl> -- { dg-do run } -- { dg-options "-O2 -flto" { target lto } } with Lto1_Pkg; use Lto1_Pkg; procedure Lto1 is Radar : Radar_T; begin Radar.Sensor_Type := radcmb; Initialize (Radar); end;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- awa-blogs-tests -- Unit tests for blogs module -- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License")...
package Chi_Square is type Flt is digits 18; type Bins_Type is array(Positive range <>) of Natural; function Distance(Bins: Bins_Type) return Flt; end Chi_Square;
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+spat@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 Hoc...
-- -- Copyright (C) 2015-2017 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. -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put('A'); New_Line; return; Put('b'); New_Line; end Hello; -- Local Variables: -- compile-command: "gnatmake return1.adb && ./return1" -- End:
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
with agar.gui.widget.button; with agar.gui.widget.textbox; with agar.gui.widget.tlist; with agar.gui.window; package agar.gui.widget.combo is use type c.unsigned; type flags_t is new c.unsigned; COMBO_POLL : constant flags_t := 16#01#; COMBO_TREE : constant flags_t := 16#02#; COMBO_ANY_TEXT : const...
with Gnat.Heap_Sort_G; procedure Integer_Sort is -- Heap sort package requires data to be in index values starting at -- 1 while index value 0 is used as temporary storage type Int_Array is array(Natural range <>) of Integer; Values : Int_Array := (0,1,8,2,7,3,6,4,5); -- define move and less than subpr...
----------------------------------------------------------------------- -- gen-model-packages -- Packages holding model, query representation -- Copyright (C) 2009 - 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
-------------------------------------------------------------------------------- -- 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...
-- Copyright 2017 Steven Stewart-Gallus -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agr...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Element_Vectors; with Program.Lexical_Elements; generic type Vector_Interface is limited interface and Program.E...
with System; use System; package Qsort is type vector is array (Integer range <>) of Integer; type vector_ptr is access vector; task type SortTask is entry PortIn(ValIn : in vector_ptr); entry PortOut(ValOut : out vector); end SortTask; type Sort_access is access SortTask; procedure Sort (List : in out vector_...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- extended unit with Ada.Strings.Wide_Wide_Functions.Maps; package Ada.Strings.Unbounded_Wide_Wide_Strings.Functions.Maps is new Generic_Maps (Wide_Wide_Functions.Maps); pragma Preelaborate (Ada.Strings.Unbounded_Wide_Wide_Strings.Functions.Maps);
-- 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...
------------------------------------------------------------------------------ -- protected_counters.adb -- -- Implementation of the protected counter. ------------------------------------------------------------------------------ package body Protected_Counters is protected body Counter is procedure...
with Ada.Text_IO; use Ada.Text_IO; with Glib; use Glib; with Glib.Error; use Glib.Error; with Glib.Object; use Glib.Object; with Gtk.Box; use Gtk.Box; with Gtk.Builder; use Gtk.Builder; with Gtk.Button; use Gtk.Button; with Gtk.Frame; ...
-- //////////////////////////////////////////////////////////// -- // -- // 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...
pragma Warnings (Off); pragma Style_Checks (Off); with GLOBE_3D.Options, GLOBE_3D.Textures, GLOBE_3D.Math; with GL.geometry.primitives; use GL.geometry.primitives; with Ada.Exceptions; use Ada.Exceptions; with ada.text_io; use ada.text_io; with ada.unchecked_Conversion; with System; ...
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is C...
----------------------------------------------------------------------- -- keystore-repository-entries -- Repository management for the keystore -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
with ATree; procedure launch is begin ATree.main; end launch;
with Ada.Text_IO; use Ada.Text_IO; -- arbres binaires de recherche procedure BST is type Node; type BST is access Node; type Node is record Value: Integer; Left, Right: BST; end record; -- insertion utilisant le passage par référence procedure Add(X: Integer; B: in out BST) is begin ...
private with Ada.Containers.Vectors; generic type Element_Type is private; with function "<=" (Left, Right : in Element_Type) return Boolean is <>; package Heap is pragma Remote_Types; type Heap is private; Empty_Heap : constant Heap; procedure Insert(hp : in out Heap; e...
----------------------------------------------------------------------- -- asf-helpers-beans -- Helper packages to write ASF applications -- Copyright (C) 2012, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
with posix.Permissions, ada.Streams; package lace.Environ -- -- Models an operating system environment. -- is use posix.Permissions; function to_octal_Mode (Permissions : in Permission_Set) return String; subtype Data is ada.Streams.Stream_Element_Array; Error : exception; end lace.Environ;
with Ada.Text_IO; use Ada.Text_IO; procedure Fib is procedure PrintInt(N: Integer) is C: Integer := N rem 10; begin if N > 9 then PrintInt(N / 10); end if; Put(Character'Val(48 + C)); end; f : integer; procedure fib(n : integer) is procedure somme is tmp : integer; ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with AWS.Default; with AWS.Server; with Hello_World_CB; procedure Server is WS : AWS.Server.HTTP; Port : Positive := AWS.Default.Server_Port; begin Put_Line("Call me on port" & Positive'Image(Port) & ", I will stop if you press Q."); AWS.Serve...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- PQueue -- Generic protected queue package -- -- -- Standard packages with Ada.Unchecked_Deallocation; package body PQueue is ------------------------------------------------------------------------------ -- -- Package subroutines -- ---------------------------------------------------------------------------...
----------------------------------------------------------------------- -- secret-tests - Unit tests for secret service library -- Copyright (C) 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use th...
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.PDEC is pragma Preelaborate; --------------- -- Registers -- --------------- -- Operation Mode type CTRLA_MODESelect ...
select delay 10.0; Put_Line ("Cannot finish this in 10s"); then abort -- do some lengthy calculation ... end select;
-- { dg-do compile } -- { dg-options "-gnatws" } procedure Discr17 is F1_Poe : Integer := 18; function F1 return Integer is begin F1_Poe := F1_Poe - 1; return F1_Poe; end F1; generic type T is limited private; with function Is_Ok (X : T) return Boolean; procedure Check; procedure Check...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); package GNAT.Heap_Sort is pragma Pure; type Xchg_Procedure is access procedure (Op1, Op2 : Natural); type Lt_Function is access function (Op1, Op2 : Natural) return Boolean; procedure Sort (N : Natural; Xchg : Xchg_Procedure; Lt : Lt_Function); end GNAT.Heap_Sort;
with STRINGS_PACKAGE; use STRINGS_PACKAGE; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; pragma ELABORATE(INFLECTIONS_PACKAGE); package body DICTIONARY_PACKAGE is use STEM_KEY_TYPE_IO; use TEXT_IO; MNPC_IO_DEFAULT_WIDTH : constant NATURAL := 6; NUMERAL_VALUE_TYPE_IO_DEFAULT_WIDTH : constant NATURA...
with DOM.Core; package UxAS.Comms.LMCP_Net_Client.Service is pragma Elaborate_Body; type Service_Base is abstract new LMCP_Object_Network_Client_Base with private; type Any_Service is access all Service_Base'Class; -- ServiceBase::ServiceBase(const std::string& serviceType, const std::string& workDir...
----------------------------------------------------------------------- -- babel-files-signatures -- Signatures calculation -- Copyright (C) 2014 , 2015, 2016 Stephane.Carrez -- Written by Stephane.Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may n...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ stream manipulation package -- -- |___/_|\_\_|_|____| by: Timm Felden, Dennis Przytarski ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Gprslaves.DB; with Gprslaves.DB.JSON; with GNATCOLL.JSON; with GNAT.Command_Line; use GNAT.Command_Line; with GNAT.String_Split; with GNAT.Spitbol; use GNAT.Spitbol; with GNAT.Spitbol.Table_VString; use GNAT.Spitbol.Table_VSt...
------------------------------------------------------------------------------- -- DEpendency PLOtter for ada packages (DePlo) -- -- -- -- Copyright (C) 2012, Riccardo Bernardini -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit required by compiler package System.Parameters is pragma Pure; -- required for task by compiler (s-parame.ads) type Size_Type is new Integer; Unspecified_Size : constant := Size_Type'First; -- required for 'Storage_Size by compiler (s-parame.ads)...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 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...
----------------------------------------------------------------------- -- Util-texts-formats -- Text Format ala Java MessageFormat -- Copyright (C) 2001, 2002, 2003, 2009, 2010 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "Licen...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018 All Rights Reserved. -- -- This program 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) any later version. T...
----------------------------------------------------------------------- -- util-log -- Utility Log Package -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "Licens...
package body Test_Utils.Abstract_Encoder.COBS_Stream is ------------- -- Receive -- ------------- overriding procedure Receive (This : in out Instance; Data : Storage_Element) is begin This.Encoder.Push (Data); end Receive; ------------------ -- End_Of_Frame -- ---------------...
-- REST API Validation -- API to validate -- ------------ EDIT NOTE ------------ -- This file was generated with swagger-codegen. You can modify it to implement -- the server. After you modify this file, you should add the following line -- to the .swagger-codegen-ignore file: -- -- src/testapi-servers.adb -- ...
-- A generic sorting package, with a parallel quicksort algorithm: each -- half of the partitioned array is sorted by a separate task. generic type DATA is private; type INDEX is (<>); with function "<"(X,Y: DATA) return BOOLEAN is <> ; package SORTS is type TABLE is array (INDEX range <>) of DATA; proc...
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
-- COMPILEMON.adb -- Programa per compilar el compilador with Ada.Text_IO, Ada.Command_Line, Decls.D_Taula_De_Noms, Decls.Dgenerals, Decls.Dtdesc, Pk_Usintactica_Tokens, Pk_Ulexica_Io, U_Lexica, Pk_Usintactica, Decls.D_Atribut, Semantica, Decls.Dtnode, Semantica.Ctipus, Semantica.Declsc3a, ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with System; use System; with STM32GD; with STM32_SVD; use STM32_SVD; with STM32_SVD.Flash; use STM32_SVD.Flash; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.PWR; use STM32_SVD.PWR; with STM32_SVD.GPIO; use STM32_SVD.GPIO; with STM32_SVD.RTC; use STM32_SVD.RTC; with STM32GD.Board; use STM32GD.Board; with STM32...
-- C67002B.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) 2008-2011 Maciej Sobczak -- Distributed under the Boost Software License, Version 1.0. -- (See accompanying file LICENSE_1_0.txt or copy at -- http://www.boost.org/LICENSE_1_0.txt) package SOCI.MySQL is -- -- Registers the MySQL backend so that it is ready for use -- by the dynamic bac...
-- INET AURA Configuration Manifest package INET.AURA is package Configuration is Enable_TLS: constant Boolean := False; end Configuration; package Build is package External_Libraries is LibreSSL_libtls: constant String := (if Configuration.Enable_TLS then ...
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is C...
with Ahven.Framework, Ahven.Text_Runner; procedure JSA.Tests.Run is Suite : Ahven.Framework.Test_Suite := Tests.Suite; begin Ahven.Text_Runner.Run (Suite); end JSA.Tests.Run;
with Protypo.Api.Symbols; with Protypo.Api.Consumers; with Protypo.Api.Engine_Values.Engine_Value_Vectors; with Ada.Containers.Doubly_Linked_Lists; package Protypo.Code_Trees.Interpreter is use Protypo.Api.Engine_Values; procedure Run (Program : Parsed_Code; Symbol_Table : Api.Symbols.Ta...
package Discr10 is subtype Index is Natural range 0 .. 150; type List is array (Index range <>) of Integer; type R (D1 : Boolean := True; D2 : Boolean := False; D3 : Index := 0) is record case D2 is when True => L : List (1 .. D3); case D1 is when Tru...
with P_StructuralTypes; use P_StructuralTypes; with Ada.Text_IO; use Ada.Text_IO; with Ada.Sequential_IO; with Ada.Strings.Unbounded.Text_IO; with Ada.Streams; use Ada.Streams; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; package body P_StepHandler.InputHandler is ----------------------------------------...
package lace.Strings -- -- DSA friendly packages based on the 'ada.Strings' package family provided by FSF GCC. -- is pragma Pure; end lace.Strings;
with System; package body addr2_p is procedure Process (Blk : Block) is use type System.Address; begin if Blk'Address /= B1'Address and then Blk'Address /= B2'Address then raise Program_Error; end if; end; end;
-- SPDX-License-Identifier: MIT with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin -- NOSECHUB Put_Line ("Hello, world!"); -- END-NOSECHUB end Hello;
with Ada_SPARK_Workflow.Word_Search.Puzzle; with Ada_SPARK_Workflow.Word_Search.Dictionary; with Ada_SPARK_Workflow.Word_Search.Solution; use Ada_SPARK_Workflow.Word_Search; procedure Tests is type Dict_Access is access Dictionary.Instance; Dict : constant not null Dict_Access := new Dictionary.Instance (...
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- 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 witho...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- AWA tests - AWA Tests Framework -- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you...
-- Copyright 2015,2016,2017 Steven Stewart-Gallus -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http ://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable...
-- SipHash -- an Ada implementation of the algorithm described in -- "SipHash: a fast short-input PRF" -- by Jean-Philippe Aumasson and Daniel J. Bernstein -- Copyright (c) 2015, James Humphry - see LICENSE file for details with Interfaces; with System.Storage_Elements; use type System.Storage_Elements.Storage_Offset...