CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- WAVEFILES -- -- -- -- ...
-- 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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Demonstrates use of package: Disorderly.Random with Disorderly.Random; use Disorderly.Random; with Disorderly.Random.Clock_Entropy; with Text_io; use text_io; procedure Random_demo_1 is X : Random_Int; Stream_1 : State; -- Must declare one of these for each desired independent stream of rands. ...
-- C36172B.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...
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" private package Yaml.Presenter.Analysis is -- this package analyzes scalars to check how they can be represented type Necessary_Quoting is (None, Only_In_Flow, Single, Double); type Scalar...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with AdaM.Factory; package body AdaM.Declaration.of_renaming.a_subprogram is -- Storage Pool -- record_Version : constant := 1; pool_Size : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "Declarations.of_renaming.a_subprogr...
-- This spec has been automatically generated from STM32F46_79x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.USART is pragma Preelaborate; --------------- -- Registers -- --------------- -- Status register ty...
with Ada.Containers.Vectors; with Ada.Exceptions; with Ada.Strings; with Ada.Strings.Fixed; with Ada.Text_IO; with Rejuvenation.Factory; with Rejuvenation.Finder; with Rejuvenation.Navigation; with Libadalang.Analysis; with Libadalang.Common; with Langkit_Support.Slocs; with Langkit_Support.Text; with Basic_Declaratio...
with Ada.Numerics.Generic_Arrays; package body Ada.Numerics.Generic_Real_Arrays is package Elementary_Functions is subtype Float_Type is Real; function Sqrt (X : Float_Type'Base) return Float_Type'Base; end Elementary_Functions; package body Elementary_Functions is function Sqrt (X : Fl...
-- -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
package Game.Test_Data.Tests.Positive_Container is end Game.Test_Data.Tests.Positive_Container;
-- //////////////////////////////////////////////////////////// -- // -- // 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...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with PixelArray; with ImageRegions; with ImageMoments; with ImageThresholds; with Morphology; with Histogram; with HistogramDescriptor; with Ada.Containers.Vectors; with Ada.Directories; package ShapeDatabase is pragma Elaborate_Body; pragma Assertion_Policy (Pre => Check, Post => Ch...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Glfw.Display; package body Glfw_Test is procedure Key_To_Title (Subject : Glfw.Events.Keys.Key; Action : Glfw.Events.Button_State) is use type Glfw.Events.Butt...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- asf-lifecycles-restore -- Restore view phase -- Copyright (C) 2010 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 ...
-- This file is generated by SWIG. Please do *not* modify by hand. -- with c_math_c.Pointers; with Interfaces.C; package c_math_c.Matrix_4x4 is -- Item -- type Item is record m00 : aliased c_math_c.Real; m01 : aliased c_math_c.Real; m02 : aliased c_math_c.Real; m03 : aliased c_math_c...
------------------------------------------------------------------------------- -- 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, in...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Streams; with Ada.Unchecked_Conversion; with Interfaces; with System; package body LoRa is pragma Discard_Names; -- procedure puts -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- C41303Q.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...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_SDL_stdinc_h; package SDL_SDL_endian_h is SDL_LIL_ENDIAN : constant := 1234; -- ../include/SDL/SDL_endian.h:37 SDL_BIG_ENDIAN : constant := 4321; -- ../include/SDL/SDL_endian.h:38 -- unsupported macro:...
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
package body lace.Observer.deferred is package body Forge is function to_Observer (Name : in Event.observer_Name) return Item is begin return Self : constant Item := (Deferred.item with name => to_unbounded_String (Name)) do ...
with Interfaces; use Interfaces; package body Natools.Static_Maps.Web.Tag_Pages.Components is P : constant array (0 .. 5) of Natural := (1, 5, 9, 14, 18, 24); T1 : constant array (0 .. 5) of Unsigned_8 := (41, 18, 12, 22, 20, 39); T2 : constant array (0 .. 5) of Unsigned_8 := (21, 12, 19, 39...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
generic Sample_Size: Positive; type Item_Type is private; package S_Of_N_Creator is subtype Index_Type is Positive range 1 .. Sample_Size; type Item_Array is array (Index_Type) of Item_Type; procedure Update(New_Item: Item_Type); function Result return Item_Array; end S_Of_N_Creator;
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, cop...
----------------------------------------------------------------------- -- awa-commands -- AWA commands for server or admin tool -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Copyright (c) 2013, 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: -- -- * Redistributions of source code must retain the above copyright notice, this -- lis...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-------------------------------------------------------------------------------- -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- servlet-responses.web -- Servlet Responses with AWS server -- Copyright (C) 2009, 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
-- This spec has been automatically generated from STM32L5x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.SPI is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_BR_Field is HAL.UI...
with Interfaces.C, System; use type System.Address; package body FLTK.Widgets.Buttons.Toggle is procedure toggle_button_set_draw_hook (W, D : in System.Address); pragma Import (C, toggle_button_set_draw_hook, "toggle_button_set_draw_hook"); pragma Inline (toggle_button_set_dr...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
-- OEML _ REST API -- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0]...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- 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...
----------------------------------------------------------------------- -- awa-storages-services -- Storage service -- Copyright (C) 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 this fil...
with Ada.Text_IO; use Ada.Text_IO; with Sorted_List; use Sorted_List; with Ada.Sequential_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure lab6final is type Array_Of_Integers is Array(1..10) of Integer; type Person is record Last_Name: String(1..20); First_Name: String(1..20); Street_Address:...
-- Copyright (c) 2021 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Text_IO; with Ada.Wide_Wide_Text_IO; with Ada.Streams; with League.String_Vectors; with League.Characters.Latin; with League...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with u1; package u2 is subtype t is u1.t; end u2;
package Giza.Hershey_Fonts.Scriptc is Font : constant Giza.Font.Ref_Const; private Glyph_0 : aliased constant Glyph := (Number_Of_Vectors => 0, Width => 16, Height => 0, Y_Offset => 0, X_Offset => -8, Vects => (others => (Raise_Pen))); Glyph_1 : aliased constant Glyph := ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Enumeration_Literal_Specifications; with Program.Elements.Enumeration_Types; with...
pragma Task_Dispatching_Policy(FIFO_Within_Priorities); with Ada.Text_Io; use Ada.Text_Io; with Ada.Real_Time; use Ada.Real_Time; with Ada.Real_Time.Timing_Events; use Ada.Real_Time.Timing_Events; with Example1; use Example1; procedure Firm is task type Periodic_Firm is pragma Priority(5); end Periodic_Fir...
----------------------------------------------------------------------- -- Util.Concurrent -- Concurrent Counters -- Copyright (C) 2009, 2010, 2015 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...
with gel.remote.World, gel.Sprite, gel.Joint, openGL.Model, physics.Space, -- physics.Engine, physics.Model, lace.Event, lace.Observer, lace.Subject, lace.Subject_and_deferred_Observer, lace.Any, ada.Tags.generic_dispatching_Constructor, ada.unc...
------------------------------------------------------------------------------- -- 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...
------------------------------------------------------------------------------ -- -- -- Giza -- -- -- -- ...
-- Copyright 2008-2020 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. -- -- ...
-- https://adventofcode.com/2020/day/8 --- Day 8: Handheld Halting --- -- -- Your flight to the major airline hub reaches cruising altitude without incident. While you consider checking the in-flight menu for one of those drinks that come with a little umbrella, you are interrupted by the kid sitting next to you. -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
-- This spec has been automatically generated from STM32WL5x_CM4.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.PWR is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_LPMS_Field is ...
-- Copyright 2009-2016 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. -- -- ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Definitions; with Program.Elements.Record_Types; with Program.Element_Visitors; package Program.Nodes....
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
------------------------------------------------------------------------ -- Copyright (C) 2005-2020 by <ada.rocks@jlfencey.com> -- -- -- -- This work is free. You can redistribute it and/or modify it under -- -- the terms of the Do What...
with System.Address_To_Named_Access_Conversions; with System.Standard_Allocators; with System.System_Allocators; package body System.Unbounded_Allocators is use type Storage_Elements.Integer_Address; use type Storage_Elements.Storage_Offset; package HA_Conv is new Address_To_Named_Access_Conversions (He...
----------------------------------------------------------------------- -- css-parser-tests -- Unit tests for CSS parser -- 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 this file...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put_Line ("Hello world."); end Hello;
-- -- 6.1 Subprogram Declarations -- -- NOTE: This module is not compilation is used only for testing purposes -- package Subprogram_Declarations is -- Examples of subprogram declarations: procedure Traverse_Tree; procedure Increment(X : in out Integer); procedure Right_Indent(Margin : out Line_Size);...
No-one has translated the zmsg_test example into Ada yet. Be the first to create zmsg_test in Ada and get one free Internet! If you're the author of the Ada binding, this is a great way to get people to use 0MQ in Ada. To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: * Stick to identica...
with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.Derived_Type_Defs is use type LALCO.Ada_Node_Kind_Type; function Has_Interfaces(Node : LAL.Ada_Node'Class) return Boolean is (Node.Kind in LALCO.Ada_Derived_Type_Def | LALCO.Ada_Task_Def | LALCO.Ada_Protected_Type_Decl | L...
----------------------------------------------------------------------- -- akt-commands -- Ada Keystore Tool commands -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ex...
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Torrent.Contexts is ----------------------- -- Add_Metainfo_File -- ----------------------- procedure Add_M...
-- Generated by Snowball 2.2.0 - https://snowballstem.org/ package body Stemmer.Indonesian 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*"...
with AdaM.Factory; package body AdaM.Declaration.of_renaming.a_package is -- Storage Pool -- record_Version : constant := 1; pool_Size : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "Declarations.of_renaming.a_package", ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body ACO.Utils.DS.Generic_Collection is procedure Initialize (C : in out Collection) is begin Clear (C); end Initialize; procedure Clear (C : in out Collection) is begin C.Start := 1; C.Size := 0; end Clear; function Is_Full (C : Collection) ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Function_Calls is function Create (Prefix : not null Program.Elements.Expressions ...
-------------------------------------------------------------------------------- -- 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 (c) 2015-2017, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" ver...
-------------------------------------------------------------------------------------------------------------------- -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...