CombinedText
stringlengths
4
3.42M
with impact.d3.Shape.convex.internal.sphere; with Interfaces.C; with impact.d3.Transform; with impact.d3.Quaternions; with impact.d3.Matrix; with Interfaces; with impact.d3.Vector; with impact.d3.collision.gjk_epa; with impact.d3.Scalar; -- #include "BulletCollision/CollisionShapes/impact.d3.Shape.convex.internal.h"...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2016-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Containers.Ordered_Maps; with Ada.Strings.Unbounded; with External; use External; package EdgeRegistry is package HMP is new Ada.Containers.Ordered_Maps( Key_Type => MString, Element_Type => Boolean, "<" => Ada.Strings.Unbounded."<" ); subtype HashMap is HMP.Map; pro...
generic type element_t is private; package generic_linked_list is -- Exception levée en l'absence de noeud no_node : exception; -- Forward declaration du type node_t -- car celui contient de pointeur de son type -- et qu'on souhaite utiliser l'alias node_ptr type node_t is private; -- ...
-- MIT License -- -- Copyright (c) 2020 Max Reznik -- -- 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, copy, mo...
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen....
package Sub_Derived_Types is subtype smallSub is Integer range -10 .. 10; type smallDerived is new Integer range -10 .. 10; type smallRange is range -10 .. 10; subtype bigSub is Integer; type bigDerived is new Integer; type bigRange is range -2**10 .. 2**10; end Sub_Derived_Types;
-- This spec has been automatically generated from STM32F7x9.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.LTDC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype SSCR_VSH_Field is HAL...
with Ada.Text_IO; use Ada.Text_IO; with Buffer_Package; use Buffer_Package; with Termbox_Package; use Termbox_Package; package body Command_Package is function Command (E : in out Editor; V : in out View; F : Cmd_Flag_Type; Func : Cmd_Func_Type; A : Arg) return Boolean is ...
-- Copyright 2018-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 Natools.Static_Maps.Web.Simple_Pages.Components is pragma Pure; function Hash (S : String) return Natural; end Natools.Static_Maps.Web.Simple_Pages.Components;
package Natools.S_Expressions.Printers.Pretty.Config.Commands.SC is pragma Preelaborate; function Hash (S : String) return Natural; end Natools.S_Expressions.Printers.Pretty.Config.Commands.SC;
with FLTK.Menu_Items; package FLTK.Widgets.Menus.Menu_Buttons is type Menu_Button is new Menu with private; type Menu_Button_Reference (Data : access Menu_Button'Class) is limited null record with Implicit_Dereference => Data; -- signifies which mouse buttons cause the menu to appear ...
-- POK header -- -- The following file is a part of the POK project. Any modification should -- be made according to the POK licence. You CANNOT use this file or a part -- of a file for your own project. -- -- For more information on the POK licence, please see our LICENCE FILE -- -- Pleas...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
with AdaM.Any, Ada.Containers.Vectors, Ada.Streams; package AdaM.program_Library is type Item is new Any.item with private; -- View -- type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self...
package body Lto7_Pkg is procedure op1 (this : Root) is begin null; end; procedure op2 (this : DT) is begin null; end; end Lto7_Pkg;
----------------------------------------------------------------------- -- keystore-tests -- Tests for akt command -- 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 use this file...
----------------------------------------------------------------------- -- gen-testsuite -- Testsuite for gen -- Copyright (C) 2012, 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 this file exce...
with Ada.Text_Io, Ada.Integer_Text_Io; use Ada.Text_Io, Ada.Integer_Text_Io; with datos; use datos; procedure escribir_lista (L : in Lista_Enteros ) is --Pre: --Post: se han escrito en pantalla los valores de L -- desde 1 hasta L.Cont begin for pos in 1 .. L.Cont loop Put(L.Numeros(pos...
package Dsp is subtype Normalized_Frequency is Float range 0.0 .. 1.0; subtype Radius is Float range 0.0 .. Float'Last; subtype Stable_Radius is Radius range 0.0 .. 1.0; end Dsp;
-- [ dg-do compile } package body Pack13 is procedure Set (Myself : Object_Ptr; The_Data : Thirty_Two_Bits.Object) is begin Myself.Something.Data_1 := The_Data; end; end Pack13;
-- -- Copyright (C) 2017 Nico Huber <nico.h@gmx.de> -- -- 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 pr...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Definitions; with Program.Lexical_Elements; with Program.Elements.Subtype_Indications; with Program.Elements.Expressions; package Pro...
with Ada.Strings; with Interfaces.C; with System; package dl_loader is pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); type Handle is limited private; function Open(path: in String; h: in out Handle) return Boolean; f...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Check_Positive is N : Integer; begin Put_Line ("Enter an integer value: "); Get (N); if N > 0 then Put_Line (N); Put_Line (" is a positive number"); end if; end Check_Positive;
with Ada.Text_IO; with GNAT.OS_Lib; package body GPR_Tools.Gprslaves.Configuration is HOME : GNAT.OS_Lib.String_Access := GNAT.OS_Lib.Getenv ("HOME"); Config_File_Path : constant String := Ada.Directories.Compose (HOME.all, Config_File_Name); --------------- -- Trace_Log -- --------------- ...
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- -- ...
package GESTE_Fonts.FreeSansBoldOblique8pt7b is Font : constant Bitmap_Font_Ref; private FreeSansBoldOblique8pt7bBitmaps : aliased constant Font_Bitmap := ( 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#0C#, 16#00#, 16#0C#, 16#00#, 16#0C#, 16#00#, 16#1C...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package Renaming8_Pkg3 is function Last_Index return Integer; end Renaming8_Pkg3;
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with GNATtest_Generated; package Tk.TopLevel.Toplevel_Create_Options_Test_Data .Toplevel_Create_Options_Tests is type Test_Toplevel_Create_Options is ne...
with Ada.Finalization; with Lexer.Source; package Lexer.Base is pragma Preelaborate; Default_Initial_Buffer_Size : constant := 8192; type Buffer_Type is access all String; type Private_Values is limited private; type Instance is limited new Ada.Finalization.Limited_Controlled with record Cur_...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstobject_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstplugin_h; with glib; -- limited with GStreamer.GST_L...
-- Abstract : -- -- see spec. -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) ...
-- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LR1 Ada_Emacs re2c PROCESS gpr.wy -- -- Copyright (C) 2013 - 2019 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 Licens...
-- -- 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...
------------------------------------------------------------------------------ -- G E L A X A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
-- Contributed by ITEC - NXP Semiconductors -- June 2008 -- -- The Zip_Streams package defines an abstract stream -- type, Root_Zipstream_Type, with name, time and an index for random access. -- In addition, this package provides two ready - to - use derivations: -- -- - Memory_Zipstream, for using in - memory...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_get_keyboard_control_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; pad0 : aliased Interfaces.Uns...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F return integer is begin put('b'); end; begin put('a'); end;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- C52010A.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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- 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...
-- Copyright 2008-2015 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. -- -- ...
--////////////////////////////////////////////////////////// -- // -- // 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 liabl...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, Fabien Chouteau -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- Frames - Representation of stack frames -- Copyright (C) 2014 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...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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...
pragma Warnings (Off); pragma Ada_95; with System; with System.Parameters; with System.Secondary_Stack; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Import (C, gnat_argv); pragma Import (C, gnat_envp); gnat_...
with System;use System; package Blinker is -- type Cmd_Type is (START, STOP, QUIT); type Cmd_Type is (STOP, START); type Id_Type is ( R, L, E); type Command_To_Type is record Cmd : Cmd_Type; Receiver : Id_Type; end record; Id : Id_Type; -- type Cmd_Ptr_Type is access all Cmd_Type; -- Cm...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Ada.Exceptions, Ada.Unchecked_Deallocation, Apsepp.Generic_Shared_Instance.Access_Setter, Apsepp.Test_Node_Class.Private_Test_Reporter; package body Apsepp.Test_Node_Class.Runner_Sequential.W_...
-- C55B03A.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...
-- for the Real type with Support; use Support; -- for text io with Ada.Text_IO; use Ada.Text_IO; with Support.Strings; use Support.Strings; -- for data io with BSSNBase.Data_IO; -- for parsing of the command line arguments with Support.RegEx; use Support.RegEx; with Support...
----------------------------------------------------------------------- -- gen-model-xmi -- UML-XMI model -- Copyright (C) 2012, 2013, 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 this file ex...
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . O B J E C T -- -- S p e c -- ----...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- extended unit with Ada.Strings.Wide_Wide_Functions.Maps; package Ada.Strings.Bounded_Wide_Wide_Strings.Functions.Maps is new Generic_Maps (Wide_Wide_Functions.Maps); pragma Preelaborate (Ada.Strings.Bounded_Wide_Wide_Strings.Functions.Maps);
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Parameter_Specifications; with Program.Elements.Formal_Procedure_Access_Types; with Program.Element_Vis...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- -- Convert any image or animation file to BMP file(s). -- -- Middle-size test/demo for the GID (Generic Image Decoder) package. -- -- Supports: -- - Transparency (blends transparent or partially opaque areas with a -- background image, gid.gif, or a fixed, predefined colour) -- - Display orientatio...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2018-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. -- -- ...
-- Copyright 2012-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Ada.Containers.Vectors.Test_Data; with...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package body any_Math.any_Geometry.any_d2 is --------- -- Sites -- function Distance (From, To : Site) return Real is use Functions; begin return SqRt ( (To (1) - From (1)) ** 2 + (To (2) - From (2)) ** 2); end Distance; function to_Polar (Self : in Site) re...
-- -- Jan & Uwe R. Zimmer, Australia, July 2011 -- with Real_Type; use Real_Type; with Vectors_xD; pragma Elaborate_All (Vectors_xD); package Vectors_4D is type xy_Coordinates is (x, y, z, t); package Vectors_4Di is new Vectors_xD (Real, xy_Coordinates); subtype Vector_4D is Vectors_4Di.Ve...
package body Benchmark.Tree is function Create_Tree return Benchmark_Pointer is begin return new Tree_Type; end Create_Tree; procedure Set_Argument(benchmark : in out Tree_Type; arg : in String) is value : constant String := Extract_Argument(arg); begin ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- 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...
-- Copyright (C) 2011-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. --...
-- CA1013A1.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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Man_Or_Boy is function Zero return Integer is ( 0); function One return Integer is ( 1); function Neg return Integer is (-1); function A (K: Integer; X1, X2, X3, X4, X5: access function return Integer) return Integer is M : Integer := K; -...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- servlet-filters.dump -- Filter to dump the request information -- Copyright (C) 2010, 2011, 2012, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "Licen...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
package Real_Typedecl is type FloatT is digits 10; IndianaPi : FloatT := 3.2; end Real_Typedecl;
-- C34014T.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...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- gen-commands-distrib -- Distrib command for dynamo -- Copyright (C) 2012, 2013, 2014, 2017, 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "Licen...