text
stringlengths
4
1.04M
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2015 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...
----------------------------------------------------------------------- -- util-commands-parsers.gnat_parser -- GNAT command line parser for command drivers -- Copyright (C) 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Gtk.Main; with Q_Bingada; with Ada.Directories; with Ada.Environment_Variables; procedure Bingada is begin -- Set current directory to the APPDIR value path. In this way we -- allow running from an AppImage and still find the resource files. -- if Ada.Environment_Variables.Exists ("APPDIR") then ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2020, AdaCore -- -- -- -- ...
----------------------------------------------------------------------- -- openapi-clients -- Rest client support -- Copyright (C) 2017, 2018, 2019, 2020, 2022 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- 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 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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_list_hosts_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_Arra...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- el-methods-func_string -- Pre-defined binding -- Copyright (C) 2010, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
with Ada.Characters.Wide_Wide_Latin_1; with Ada.Integer_Wide_Wide_Text_IO; with Ada.Strings.Wide_Wide_Unbounded; with Ada.Wide_Wide_Text_IO; with misc_defs, misc, sym; use misc_defs; with Matreshka.Internals.Unicode.Ucd; with Unicode; with scanner.DFA; use scanner.DFA; with scanner.IO; use scanner.IO; package body sca...
------------------------------------------------------------------------------- -- 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...
-- MIT License -- Copyright (c) 2020 Jean-Jacques François Reibel -- 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, ...
-- Copyright (C) 2020 Glen Cornell <glen.m.cornell@gmail.com> -- -- 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 versi...
-- 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. -- -- ...
package impact.d2.orbs.Joint.mouse -- -- -- is -- #ifndef B2_MOUSE_JOINT_H -- #define B2_MOUSE_JOINT_H -- -- #include <Box2D/Dynamics/Joints/b2Joint.h> -- -- /// Mouse joint definition. This requires a world target point, -- /// tuning parameters, and the time step. -- struct b2MouseJointDef : public b2JointDef...
with Zstandard.Functions; use Zstandard.Functions; with Ada.Command_line; use Ada.Command_Line; with Ada.Directories; use Ada.Directories; with Ada.Text_IO; use Ada.Text_IO; procedure Demo_Ada is begin if Argument_Count /= 1 then Put_Line ("Zstandard version: " & Zstd_Version); Put_Line ("usage:"); ...
<?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></userIPName> <cdfg class_id="1" tracking_level="1" version="...
-- 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 AUnit.Test_Fixtures; package Mobs.Tes...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
-- Hyperion API -- Hyperion Monitoring API The monitoring agent is first registered so that the server knows it as well as its security key. Each host are then registered by a monitoring agent. -- ------------ EDIT NOTE ------------ -- This file was generated with swagger-codegen. You can modify it to implement ...
-- https://adventofcode.com/2020 package Adventofcode is pragma Elaborate_Body; end Adventofcode;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- part of ParserTools, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" package body Lexer.Source.Text_IO is procedure Read_Data (S : in out Instance; Buffer : out String; Length : out Natural) is begin for I in Buffer'Range loop ...
----------------------------------------------------------------------- -- are-testsuite -- Testsuite for are -- Copyright (C) 2021 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 except in ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
<?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></userIPName> <cdfg class_id="1" tracking_level="1" version="...
--with Imu.Library; use Imu.Library with Exception_Declarations; use Exception_Declarations; package Meassure_Velocity is procedure Retrieve_Velocity (Velocity_Z : out Float); private X_Coordinate : Float; Y_Coordinate : Float; Z_Coordinate : Float; end Meassure_Velocity;
-- This spec has been automatically generated from STM32F40x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with HAL; with System; package STM32_SVD.SYSCFG is pragma Preelaborate; --------------- -- Registers -- --------------- -------------------- -- MEMRM_Register -- ------...
----------------------------------------------------------------------- -- hestia-display-scheduler -- Display information about the system -- Copyright (C) 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.API; with GL.Enums; package body GL.Objects.Shaders is procedure Set_Source (Subject : Shader; Source : String) is C_Source : C.char_array := C.To_C (Source); begin API.Shade...
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- c...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Statements; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Simple_R...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with System; with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control; with STM32_SVD; use STM32_SVD; with STM32_SVD.PWR; use STM32_SVD.PWR; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.GPIO; use STM32_SVD.GPIO; with STM32GD.RTC; with STM32GD.Board; use STM32GD.Board; with Drivers.Text_IO; with R...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
-- C37304A.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 -- -- -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 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 fr...
------------------------------------------------------------------------------ -- Copyright (c) 2013, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with cached_Trigonometry; generic package any_math.any_fast_Trigonometry is package Default is new cached_Trigonometry (Float_type => any_Math.Real, slot_Count => 10_000); end any_math.any_fast_Trigonometry;
<?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...
pragma Warnings (Off); pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__crea_tarea.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__crea_tarea.adb"); pragma Suppress (Overflow_Check); with System.Restrictions; with Ada.Exceptions; package body ada_main is E066 : Sh...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- CE2401B.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...
----------------------------------------------------------------------- -- servlet-sessions.factory -- Servlet Sessions factory -- Copyright (C) 2010, 2011, 2012, 2014, 2015, 2016, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (th...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- asf-views-nodes -- Facelet node tree representation -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ string pool management -- -- |___/_|\_\_|_|____| by: Timm Felden ...
-- This spec has been automatically generated from STM32F429x.svd pragma Ada_2012; with System; -- STM32F427xx package STM32_SVD is pragma Preelaborate; pragma No_Elaboration_Code_All; -------------------- -- Base addresses -- -------------------- RNG_Base : constant System.Address := Syste...
-- Copyright 2014-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. -- -- ...
package body Task_Implementations is task body Gyroscope_Reader is -- Timing Constraints Next_Period : Ada.Real_Time.Time; Start_Point : Ada.Real_Time.Time; Offset : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); ...
with Tkmrpc.Types; with Tkmrpc.Operations.Ike; package Tkmrpc.Response.Ike.Esa_Reset is Data_Size : constant := 0; Padding_Size : constant := Response.Body_Size - Data_Size; subtype Padding_Range is Natural range 1 .. Padding_Size; subtype Padding_Type is Types.Byte_Sequence (Padding_Range); type Res...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- 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.PKA is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_MODE_Field is H...
-- FILE: oedipus-complex_text_io.ads LICENSE: MIT © 2021 Mae Morella with Oedipus, Ada.Text_IO; use Oedipus, Ada.Text_IO; package Oedipus.Complex_Text_IO is -- Overloads the Put function, for printing Complex numbers. Same argument -- scheme as Ada.Float_Text_IO. Default_Aft : Field := 1; Default_Exp : ...
with Ada.Real_Time; with Ada.Finalization; with ACO.Messages; with ACO.Configuration; with ACO.Events; with ACO.Drivers; private with Ada.Synchronous_Task_Control; private with ACO.Messages.Buffer; package ACO.CANopen is type Handler_Base is abstract new Ada.Finalization.Limited_Controlled with record Ev...
with impact.d3.Shape.convex; with impact.d3.Dispatcher; with impact.d3.collision.Broadphase; with impact.d3.collision.Configuration; with impact.d3.Object; with ada.containers.Vectors; with impact.d3.collision.overlapped_pair_Callback.cached; with impact.d3.collision.Proxy; with impact.d3.manifold_Point; with impact.d3...
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local url = require("url") name = "Searx" type = "scrape" function start() set_rate_limit(4) math.randomseed(os.time()) end function vertical(ctx, domain) ...
----------------------------------------------------------------------- -- servlet-servlets -- Servlet.Core -- Copyright (C) 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Storage_Pools.Overlaps; package body System.Initialization is pragma Suppress (All_Checks); type Object_Access is access all Object; for Object_Access'Storage_Pool use Storage_Pools.Overlaps.Pool.all; procedure F...
-- C94001C.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-2014 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); 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_gstelement_h; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; limited with GStreamer.GST_L...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- The Beer-Ware License (revision 42) -- -- Jacob Sparre Andersen <jacob@jacob-sparre.dk> wrote this. As long as you -- retain this notice you can do whatever you want with this stuff. If we meet -- some day, and you think this stuff is worth it, you can buy me a beer in -- return. -- -- Jacob Sparre Andersen p...
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_17.Main is begin Put_Line ("Day-17"); end Adventofcode.Day_17.Main;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- 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/LICENSE-2.0 -- -- Unless required by applic...
pragma Ada_95; with System; package ada_modulemain is pragma Warnings (Off); procedure ada_moduleinit; pragma Export (C, ada_moduleinit, "ada_moduleinit"); procedure ada_modulefinal; pragma Export (C, ada_modulefinal, "ada_modulefinal"); type Version_32 is mod 2 ** 32; u00001 : constant Version_...
-- -- Copyright (C) 2015-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. -- -- ...
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen....
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; procedure Goodbye_World is begin Ada.Text_IO.Put("Goodbye, World!"); end Goodbye_World;
with Ada.Text_IO; with Ada.Command_Line; use Ada.Command_Line; procedure SleepSort is task type PrintTask (num : Integer); task body PrintTask is begin delay Duration (num) / 100.0; Ada.Text_IO.Put(num'Img); end PrintTask; type TaskAcc is access PrintTask; TaskList : array (1 .. Argument_Coun...
--PRÁCTICA 3: CÉSAR BORAO MORATINOS (Handlers.ads) with Ada.Calendar; with Lower_Layer_UDP; package Handlers is package LLU renames Lower_Layer_UDP; procedure Client_Handler (From: in LLU.End_Point_Type; To: in LLU.End_Point_Type; P_Buffer: access LLU.Buffer_Type); procedure Server_Handler (F...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2002 - 2005, 2008 - 2015, 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under terms of the GNU General Public License as -- pu...
-- { dg-do compile } with System.Pool_Global; package Storage is x1: System.Pool_Global.Unbounded_No_Reclaim_Pool; type T1 is access integer; for T1'Storage_Pool use (x1); -- { dg-error "must be a variable" } type T2 is access Integer; for T2'Storage_Pool use x1; end Storage;
-- see OpenUxAS\src\Communications\AddressedAttributedMessage.h package UxAS.Comms.Data.Addressed.Attributed is Type_Name : constant String := "AddressedAttributedMessage"; Minimum_Delimited_Address_Attribute_Message_String_Length : constant := 11; Address_Attributes_Delimiter : constant String := Address...
procedure Puzzle_18 is begin null; end Puzzle_18;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- asf-routes-servlets-faces -- faces request routing -- Copyright (C) 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...
package body iconv.Generic_Strings is use type Ada.Streams.Stream_Element_Offset; pragma Compile_Time_Error ( String_Type'Component_Size /= Character_Type'Size, "String_Type is not packed"); pragma Compile_Time_Error ( Character_Type'Size rem Ada.Streams.Stream_Element'Size /= 0, "String_Type could not be ...
-- Copyright 2008-2014 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 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. -- -- ...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ top level package -- -- |___/_|\_\_|_|____| by: Timm Felden, Dennis Przytarski ...