CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2017-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...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; package Pixtend.wiringPi_h is -- TRUE : constant := 1; -- wiringPi.h:32 -- unsupported macro: FALSE (!TRUE) -- unsupported macro: UNU __attribute__((unused)) PI_GPIO_MASK : const...
M:lab2 F:G$SYSCLK_Init$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$UART0_Init$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$Sys_Init$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$putchar$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$getchar$0$0({2}DF,SC:U),C,0,0,0,0,0 F:G$getchar_nw$0$0({2}DF,SC:U),C,0,0,0,0,0 F:G$main$0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$Port_Init$0$0({2}DF,S...
--------------------------------------------------------------------------------- -- Copyright 2004-2005 © Luke A. Guest -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. ------------------------------------------------------------...
with impact.d3.collision.Proxy, impact.d3.collision.create_Func; -- with btCollisionCreateFunc; use btCollisionCreateFunc; -- with impact.d3.collision.Proxy; package impact.d3.Collision.Configuration -- -- Allows to configure stack allocator size, default collision algorithms and persistent manifold pool s...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; --05.02.2018 20:19:12 --http://www.radford.edu/nokie/classes/320/Tour/procs.funcs.html procedure demo is procedure printlines (numLines, numChars : Natural; c : Character) is begin for i in 1 .. numLines loop for j in 1 .. numChars loop -- put('x'); ...
------------------------------------------------------------------------------- -- -- WAVEFILES GTK APPLICATION -- -- Main Application -- -- The MIT License (MIT) -- -- Copyright (c) 2017 Gustavo A. Hoffmann -- -- Permission is hereby granted, free of charge, to any pe...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or withou...
----------------------------------------------------------------------- -- awa-modules-beans -- Module beans factory -- 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"); -- you may not use t...
-- Copyright 2018-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. -- -- ...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package stdint_h is subtype int8_t is signed_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:35 subtype uint8_t is unsigned_char; --...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2022, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Directories; with Generic_Logging; package body Lal_Adapter.Tool is ------------ -- EXPORTED: ------------ -- LEAKS (only intended to be called once per program execution): procedure Process (This : in out Class; Project_File_Name : in String;...
----------------------------------------------------------------------- -- util-http -- HTTP Utility Library -- 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 excep...
-- Auto generated file. Don't edit -- Read copyright and license at the end of this file package Encodings.Maps.CP_500 is function Decode (Char : Character) return Wide_Character; pragma Inline (Decode); procedure Encode (Text : in Wide_String; Text_Last : out Natural; Res...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER 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...
-- Copyright 2015-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. -- -- ...
-- { dg-do compile } -- { dg-options "-O2 -gnatp -fdump-tree-optimized" } package body Loop_Optimization6 is procedure Foo is begin for I in 1 .. 1_000_000 loop A := A + 1; end loop; end Foo; procedure Bar is begin for J in 1 .. 1_000 loop Foo; end loop; end Bar; procedure M...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Copyright 2008, 2009, 2010, 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 ve...
----------------------------------------------------------------------- -- components-util -- ASF Util Components -- Copyright (C) 2009, 2010, 2011, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
-- REST API Validation -- API to validate -- -- The version of the OpenAPI document: 1.0.0 -- Contact: Stephane.Carrez@gmail.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.2.1-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. pragma Warnings (Off, "*is not ref...
package Sensors.Images is function Image (Source : Bus_Id) return String; function Image (Source : Chip_Name'class) return String; function Image (Source : Feature_Type)return String; function Image (Source : Natural)return String; function Image (Source : Ada.Strings.Unbounded.Unbounded_String)return...
<?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...
package body Test_Date.Read is procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Date.Read"); Ahven.Framework.Add_Test_Routine (T, Date_1'Access, "1. date: date = 1"); Ahven.Framework.Add_Test_Routine (T, Date_2'Access, "2. date: date = -1"); end Initialize; procedure Da...
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
with Entities; use Entities; with Materials; use Materials; with Vectors2D; use Vectors2D; package Rectangles is type Rectangle is new Entities.Entity with record Dim : Vec2D; -- (x => width, y => height) end record; pragma Pack (Rectangle); type RectangleAcc is access all Rectangle; -- Create ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Copyright 2014-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. -- -- ...
-- Mojang Authentication API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do not edit th...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- AOC 2020, Day 9 with Ada.Containers.Vectors; package Day is package XMAS_Vector is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Long_Integer); use XMAS_Vector; function load_file(filename : in String) return XMAS_Vector.Vector; function first_invalid(v : in XMAS_Vector....
<?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...
-- C96008B.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...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" package GL_Test.Display_Backend is -- abstraction layer for tests so they can run on both GLFW 2 and 3. -- only exposes most basic functionality, not intended for usage outside -- tests. pr...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Copyright 2012-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 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...
-- Generated by a script from an "avr tools device file" (atdf) with HAL; use HAL; with System; package body SAM.Main_Clock is Base_Address : constant := 16#40000800#; AHBMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#10#); APBAMASK : UInt32 with Volatile, ...
pragma License (Unrestricted); -- BSD 3-Clause -- translated unit from dSFMT (dSFMT-common.h, dSFMT.c) private generic package Ada.Numerics.dSFMT.Generating is -- SSE2 version pragma Preelaborate; procedure do_recursion ( r : aliased out w128_t; a, b : aliased w128_t; lung : aliased in out...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin @; Put('a'); end;
-- 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; ...
-- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LALR Ada re2c wisitoken_grammar.wy -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- Author: Stephen Leake <stephe-leake@stephe-leake.org> -- -- This file is part of GNU Emacs. -- -- GNU Emacs is free sof...
with Accumulator; with Ada.Text_IO; use Ada.Text_IO; procedure Example is package A is new Accumulator; package B is new Accumulator; begin Put_Line (Integer'Image (A.The_Function (5))); Put_Line (Integer'Image (B.The_Function (3))); Put_Line (Float'Image (A.The_Function (2.3))); end;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- -- Raytracer implementation in Ada -- by John Perry (github: johnperry-math) -- 2021 -- -- implementation for Bitmap, a Bitmap of Color_With_Transparency_Type, -- along with a procedure to save the Bitmap to a BMP file -- pragma Ada_2020; -- use Ada_202x features -- Ada packages with Interfaces.C; use Interfaces....
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with glx.Pointers; package GLX.Pointer_Pointers is use glx.Pointers; type VisualID_Pointer_Pointer is access all VisualID_Pointer; type XVisualInfo_Pointer_Pointer is access all XVisualInfo_Pointer; type Pixmap_Pointer_Pointer is access all Pixmap_Pointer; type Font_Pointer_Pointer ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Formal_Ordinary_Fixed_Point_Definitions is function Create (Delta_Token : not null Program.Lexical_Elements.Lexical_Eleme...
with Ada.Numerics.Elementary_Functions; with Ada.Numerics.Discrete_Random; with SDL.Video.Windows.Makers; with SDL.Video.Renderers.Makers; with SDL.Video.Surfaces; with SDL.Video.Rectangles; with SDL.TTFs.Makers; with SDL.Events.Events; with SDL.Events.Keyboards; with SDL.Events.Mice; procedure Honeycombs is use S...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2012-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. -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- 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 ...
with Ada.Text_IO; use Ada.Text_IO; procedure P is type t; begin put('a'); end;
with Ada.Long_Integer_Text_IO; -- Copyright 2021 Melwyn Francis Carlo procedure A010 is use Ada.Long_Integer_Text_IO; N : constant Integer := 2E+6; Primes_Sum : Long_Integer := 0; I, J : Integer; type Large_Array_Bool is array (Integer range 1 .. N + 1) of Boolean; Integers_L...
with Ada.Integer_Text_IO; with Ada.Text_IO; with BigInteger; use BigInteger; package body Problem_16 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; procedure Solve is Big : constant BigInteger.BigInt := BigInteger.Create(2)**1_000; Str : constant String := BigInteger.T...
With System.Address_Image, Ada.Strings.Fixed, Ada.Strings.Unbounded; Separate(Risi_Script.Types.Implementation) Package Body Image_Operations is ------------------------- -- UTILITY FUNCTIONS -- ------------------------- Function Trim( S : String ) return String is Use Ada.Strings.Fixed, Ada.Stri...
with Interfaces.C, System; use type System.Address, Interfaces.C.unsigned; package body FLTK.Widgets.Groups.Windows.Single.Menu is procedure menu_window_set_draw_hook (W, D : in System.Address); pragma Import (C, menu_window_set_draw_hook, "menu_window_set_draw_hook"); pr...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
--Ce module met en place les outils qui vont nous permettre de trier la matrice poids par valeur décroissante with Google_Naive; generic nb_ligne : Integer; nb_col : Integer; -- nombre de colonne dans le tas (qui sera représenté par un tableau et non un ABR) type T_Element is digits <>; -- ty...
-- CD5013I.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 body AVR.IMAGE -- ============================================================================= package body IMAGE is procedure U8_Img_Right (Data : Unsigned_8; Target : out AVR.USART.String_U8) is D : Unsigned_8 := Da...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
with openGL.Model.text .lit_colored_textured, openGL.Model.sphere .lit_colored_textured, openGL.Model.sphere .lit_colored, openGL.Model.polygon .lit_colored, openGL.Model.box .colored, openGL.Model.box .textured, openGL.Model.billboard.textured, openGL.Model.bi...
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Raise_Expressions; with Program.Element_Visitors; package Program.N...
############################################################################# ## #W id1728q.ada GAP library of id's Hans Ulrich Besche ## ID_GROUP_TREE.next[1728].next[443].next[105]:= rec( fp:= [ 479, 1197, 2177, 2390, 5114, 5777, 6422, 6628, 6723, 6793, 7115, 7388, 8116, 8243, 9040, 10061,...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- -- 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...
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by John Self of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and t...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Aspect_Specifications; w...
------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! -- -- -- -- ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Element_Vectors; with Program.Elements.Associations; with Program.Elements.Expressions; with Program.Lexical_Elements; package Program.Element...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018, 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) a...
package body generic_dispatch_p is function Constructor (I : not null access Integer) return DT is R : DT; begin return R; end Constructor; end;
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Thin binding to Simple Direct Media Layer -- -- Copyright (C) 2000-2012 A.M.F.Vargas -- -- Antonio M. M....
with impact.d2.Contact, impact.d2.Fixture, impact.d2.Joint, impact.d2.Shape, impact.d2.Math; limited with impact.d2.World; package impact.d2.Solid -- -- -- is use impact.d2.Math; -- The body type. -- static: zero mass, zero velocity, may be manually moved -- kinematic: zero mass...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- Atlas.Reviews.Models -- Atlas.Reviews.Models ----------------------------------------------------------------------- -- File generated by Dynamo DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://git...
with Extraction.Graph_Operations; private package Extraction.Bodies_For_Decls is procedure Extract_Edges (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context); end Extraction.Bodies_For_Decls;
with Ada.Unchecked_Deallocation; with Number.Api; package body Benchmark_Number is package Skill renames Number.Api; use Number; use Skill; type State_Type is access Skill_State; State : State_Type; procedure Create (N : Integer; File_Name : String) is begin State := new Skill_State; ...
-- Copyright 2008-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 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 -- -- -- -- ...
with GNAT.Sockets.Connection_State_Machine.HTTP_Server; with GNAT.Sockets.Server; package Yaml.Servers is package HTTP renames GNAT.Sockets.Connection_State_Machine.HTTP_Server; package Server renames GNAT.Sockets.Server; type Yaml_Factory (Request_Length : Positive; Input_Size : ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- 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...