CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Element_Vectors; with Program.Elements.Clauses; with Program.Elements.Identifiers; with Program.Lexical_Elements; with Pr...
with System.Pool_Local; package body Actors is -- Pool used to store/free components used for actors component_pool : System.Pool_Local.Unbounded_Reclaim_Pool; -- All orcs have same attack component, so we can share it between them orc_attacker_comp : aliased Attacker := (power => 3); troll_attacker_c...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package stdint_h is INT8_MIN : constant := (-128); -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:76 INT16_MIN : constant := (-32768); -- d:\install\gpl2018\x86_64-pc-mingw32\include\std...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- serialize-io-json-tests -- Unit tests for JSON parser -- 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 t...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
-- CA3011A2.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 2008-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. -- -- ...
with System.Zero_Terminated_Strings; with C.mach_o.dyld; with C.stdint; package body System.Program is use type C.signed_int; use type C.stdint.uint32_t; function Full_Name return String is -- use proc_pidpath instead of NSGetExecutablePath? Buffer_Length : aliased C.stdint.uint32_t := 0; S...
-- CE3404B.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 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...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with ABR; use ABR; -- Afficher la fréquence absolue des caractères d'une chaîne de caractère. procedure Frequences_Caracteres is -- Calculer la fréquence absolue (Frequences) de chaque caractère de Texte...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Klient_assets_package; use Klient_assets_package; --graphics package Yatzy_graphics_package is --remove after tests --type Protocoll_Type is -- array(1..15) of Integer; procedure update_protocoll(X_Start, Y_Start: in Integer; prot1, prot2: in Protocoll_Type; Which_Protocoll_Or_Both: in Integer; Other_C...
with AdaBase; with Connect; with CommonText; with Ada.Text_IO; with AdaBase.Results.Sets; with Spatial_Data; procedure Spatial4 is package CON renames Connect; package TIO renames Ada.Text_IO; package ARS renames AdaBase.Results.Sets; package CT renames CommonText; package SD renames Spatial_Data; b...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
-- #include "LinearMath/impact.d3.Vector.h" -- #include "impact.d3.jacobian_Entry.h" -- #include "impact.d3.Joint.h" -- -- class impact.d3.Object.rigid; with impact.d3.Object.rigid; with impact.d3.jacobian_Entry; package impact.d3.Joint.any -- -- impact.d3.Joint.any between two rigidbodies each with ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- C45220B.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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with impact.d3.collision.Detector.discrete, impact.d3.Shape.convex.internal.polyhedral.box; package impact.d3.collision.Detector.discrete.box_box -- -- -- impact.d3.collision.Detector.discrete.box_box wraps the ODE box-box collision detector. -- is use impact.d3.collision.Detector.discrete; type Item ...
-- Standard Ada library specification -- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
package Giza.Bitmap_Fonts.FreeSansBoldOblique12pt7b is Font : constant Giza.Font.Ref_Const; private FreeSansBoldOblique12pt7bBitmaps : aliased constant Font_Bitmap := ( 16#0C#, 16#3C#, 16#78#, 16#E1#, 16#C3#, 16#8F#, 16#1C#, 16#38#, 16#70#, 16#C1#, 16#83#, 16#00#, 16#1C#, 16#78#, 16#F0#, 16#71#, 16#FC#, 16#...
-- TITLE aflex - main program -- -- AUTHOR: John Self (UCI) -- DESCRIPTION main subprogram of aflex, calls the major routines in order -- $Header: /co/ua/self/arcadia/aflex/ada/src/RCS/aflex.a,v 1.11 90/10/15 20:00:40 self Exp Locker: self $ -- -- Modified 3.9.92 by Simon Wright (sjwright@cix.compulink.co.uk) for VAX...
-- -- 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...
-- { dg-do compile } -- { dg-options "-O" } package body Slice2 is function F (I : R1) return R2 is Val : R2; begin Val.Text (1 .. 8) := I.Text (1 .. 8); return Val; end F; end Slice2;
----------------------------------------------------------------------- -- helios -- Helios Fast Reliable Monitoring Agent -- 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 fi...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Formal_Discrete_Type_Definitions is function Create (Left_Bracket_Token : not null Program.Lexical_Elements .Le...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- separated and auto-loaded by compiler private generic type Num is delta <>; package Ada.Text_IO.Fixed_IO is Default_Fore : Field := Num'Fore; Default_Aft : Field := Num'Aft; Default_Exp : Field := 0; procedure Get ( File : File_Type; -- Input_File_Type ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- -- -- This package is about Ada Visibility Rules as they defined in the Reference -- Manual (Section 8). -- -- The package provides Context type. The...
package Render.Widgets is --------------------------------------------------------------------------- -- drawCircle - a filled in circle. --------------------------------------------------------------------------- procedure drawCircle (x : Float; y : Float; ...
package Giza.Bitmap_Fonts.FreeSerifBold12pt7b is Font : constant Giza.Font.Ref_Const; private FreeSerifBold12pt7bBitmaps : aliased constant Font_Bitmap := ( 16#7F#, 16#FF#, 16#77#, 16#66#, 16#22#, 16#00#, 16#6F#, 16#F7#, 16#E3#, 16#F1#, 16#F8#, 16#FC#, 16#7E#, 16#3A#, 16#09#, 16#04#, 16#0C#, 16#40#, 16#CC...
----------------------------------------------------------------------- -- swagger-server-applications -- REST application -- Copyright (C) 2017, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
----------------------------------------------------------------------- -- html -- ASF HTML Components -- 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 this file...
with AdaM.Entity; private with ada.Streams; package AdaM.Statement is type Item is new Entity.item with private; type View is access all Item'Class; -- Forge -- function new_Statement (Line : in String := "") return Statement.view; procedure free (Self : in out Statemen...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- 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...
with Ada.Exception_Identification.From_Here; with System.Native_Calendar; with System.Native_Time; package body Ada.Calendar is use Exception_Identification.From_Here; use type System.Native_Time.Nanosecond_Number; function add_overflow ( a, b : System.Native_Time.Nanosecond_Number; res : not null...
-- Copyright (C) 2011 -- 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. -- ...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
-- -- 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.Exceptions; package Exceptions i...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Irc.Bot; with Irc.Commands; with Irc.Message; with Ada.Strings.Unbounded; with GNAT.Sockets; -- for host_bot.adb package Host_Command is procedure Host (Bot : in out Irc.Bot.Connection; Msg : Irc.Message.Message); end Host_Command; package body Host_Command is procedure Host (...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Streams.Stream_IO; with String_Ops; with kv.avm.References; with kv.avm.Instructions; with kv.avm.Registers; with kv.avm.Memories; with kv.avm.Actors; with kv.avm.Line_Parser; package kv.avm.Assemblers is Word_Code_Identifier_Number : constant Integer := -1348; Word_Code_Human_Id : constant String(1....
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later vers...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- This spec has been automatically generated from STM32L4x1.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.COMP is pragma Preelaborate; --------------- -- Registers -- --------------- subtype COMP1_CSR_COMP1_PWRMO...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Text_Io; use Ada.Text_Io; procedure Test is begin Put_Line("Lul"); end Test;
-- C94007B.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...
-------------------------------------------------------------------------------- -- * Spec name dft.ads -- * Project name dfttest -- * -- * Version 1.0 -- * Last update 11/9/08 -- * -- * Created by Adrian Hoe on 11/9/08. -- * Copyright (c) 2008 AdaStar Informatics http://adastarinformatics.com -- * All ...
----------------------------------------------------------------------- -- awa-tests-helpers - Helpers for AWA unit tests -- Copyright (C) 2011, 2017, 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
-- Implantation du module Ensembles. package body Ensembles_Tableau is procedure Initialiser (Ensemble : out T_Ensemble) is begin Ensemble.Taille := 0; end Initialiser; procedure Detruire (Ensemble : in out T_Ensemble) is begin Ensemble.Taille := 0; end Detruire; function Est_...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Posix; with HAL; with HAL.SPI; use HAL.SPI; with HAL.I2C; use HAL.I2C; with Native.SPI; -- use Native.SPI; with Native.I2C; procedure Spi_Test is SPI_Device : String := "/dev/spidev0.0"; SPI_Conf : Native.SPI.SPI_Config...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 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...
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . E R R O R -- -- S p e c -- ----...
-- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- C85007A.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...
package FLTK.Widgets.Buttons.Light.Check is type Check_Button is new Light_Button with private; type Check_Button_Reference (Data : not null access Check_Button'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create (X, Y, W...
package Problem_26 is procedure Solve; end Problem_26;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
-- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- ************************************************************************************* -- -- The recipient is warned that this code should be handled in accordance -- with the HM Government Security Classification indicated throughout. -- -- This code and its contents shall not be used for other than UK Governme...
-- -- Copyright (C) 2016 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. -- -- This ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2015-2017 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. -- -- ...
----------------------------------------------------------------------- -- awa-settings-modules -- Module awa-settings -- Copyright (C) 2013, 2016, 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...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- CA1102A1.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. -- Unlimi...
-- -- Copyright (C) 2017, AdaCore -- -- This spec has been automatically generated from STM32F46_79x.svd pragma Ada_2012; pragma Style_Checks (Off); with System; package Interfaces.STM32.RCC is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Display; package PortScan.Ops is package DPY renames Display; function port_name (id : port_id) return String; function next_ignored_port return port_id; function ignore_reason (id : port_id) re...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with GNAT.OS_Lib; use GNAT.OS_Lib; procedure Lolicon is Age : Integer; procedure Intice is begin -- Nothing because weebs are already attracted to underage anime girls. null; end Intice; proced...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- This spec has been automatically generated from STM32F030.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.Flash is pragma Preelaborate; --------------- -- Registers -- --------------- subtype ACR_LATENCY_Field is STM32_SVD...
with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; -- used by child packages with Ada.Containers.Formal_Hashed_Sets; with Ada.Strings.Hash; with Dynamic_Strings; use Dynamic_Strings; package UxAS.Comms is Subscription_Address_Max_Length : constant := 255; -- arbitrary subtype Subscription_Address is Dynamic_Stri...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- 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.STK is pragma Preelaborate; --------------- -- Registers -- --------------- -- SysTick control and status...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="11"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- C45252A.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...
Function INI.Section_Vector( Object : in Instance ) return NSO.Types.String_Vector.Vector is use NSO.Types.String_Vector; Begin Return Result : Vector := Empty_Vector do For Section in Object.Iterate loop Declare Key : String renames INI.KEY_SECTION_MAP.KEY(Section); ...