text
stringlengths
4
1.04M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- -- Copyright (C) 2021, AdaCore -- pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd with System; package Interfaces.STM32.RCC is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- subtype CR_HSION...
-- This spec has been automatically generated from cm4f.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; -- Memory Protection Unit package Cortex_M_SVD.MPU is pragma Preelaborate; --------------- -- Registers -- --------------- -- I...
------------------------------------------------------------------------------ -- -- -- Simple HTTP -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package Slim.Messages.grfg is type Grfg_Message is new Message with private; -- Set background frame and start scrolling. n...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
----------------------------------------------------------------------- -- readline -- A simple readline binding -- 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 except ...
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.SCB is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CPUID_Revision_Field is HAL.UInt4; ...
-- Copyright 2011-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
pragma Ada_2012; with Interfaces; use Interfaces; generic type Element is mod <>; type Index is range <>; type Element_Array is array (Index range <>) of Element; Length : Index; type State_Array is array (Natural range <>) of Unsigned_64; Initial_State : State_Array; package SHA2_Generic_64 with ...
------------------------------------------------------------------------------- -- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file) -- 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 Lic...
with Ada.Float_Text_IO, Ada.Integer_Text_IO, Ada.Text_IO; with Integer_Exponentiation; procedure Test_Integer_Exponentiation is use Ada.Float_Text_IO, Ada.Integer_Text_IO, Ada.Text_IO; use Integer_Exponentiation; R : Float; I : Integer; begin Exponentiate (Argument => 2.5, Exponent => 3, Result => R); ...
pragma Style_Checks (Off); with Lv.Style; with System; with Lv.Objx.Label; with Lv.Objx.Page; with Lv.Objx.Btn; package Lv.Objx.List is subtype Instance is Obj_T; type Style_T is (Style_Bg, Style_Scrl, Style_Sb, Style_Btn_Rel, St...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Tkmrpc.Types; with Tkmrpc.Operations.Ike; package Tkmrpc.Request.Ike.Esa_Create_No_Pfs is Data_Size : constant := 312; type Data_Type is record Esa_Id : Types.Esa_Id_Type; Isa_Id : Types.Isa_Id_Type; Sp_Id : Types.Sp_Id_Type; Ea_Id : Types.Ea_Id_Type; Nc...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Wide_Wide_Text_IO; package body Handlers is use type League.Strings.Universal_String; function "+" (Item : Wide_Wide_String) return League.Strings.Universal_String renames League.Strings.To_Universal_String; ------------------ -- Error_String -- ------------------ overriding f...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
<?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" version="...
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- 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 witho...
with Ada.Exception_Identification.From_Here; with Ada.Exceptions.Finally; with Ada.Unchecked_Conversion; with System.Address_To_Named_Access_Conversions; with System.Storage_Map; with System.System_Allocators; with System.Zero_Terminated_WStrings; with C.string; with C.winternl; package body System.Native_IO.Names is ...
package with_dot_issue.sub is --begin Bytes_In_Word : constant := 2; end with_dot_issue.sub;
package DDS.Request_Reply is type Ref is limited interface; type Ref_Access is access all Ref'Class; procedure Log_Exception (Self : not null access Ref; Log : Standard.String) is null; end DDS.Request_Reply;
package body UxAS.Comms.Transport.Receiver is ------------------------------ -- Add_Subscription_Address -- ------------------------------ procedure Add_Subscription_Address (This : in out Transport_Receiver_Base; Address : String; Result : out Boolean) is Target : constant S...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
<?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...
-- This spec has been automatically generated from STM32L0x1.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.MPU is pragma Preelaborate; --------------- -- Registers -- --------------- -- MPU type register type MPU_TYPER_...
with Ada.IO_Exceptions; with AWS.Config.Set; with Swagger.Servers.AWS; with Swagger.Servers.Applications; with Util.Log.Loggers; with Util.Properties; with .Servers; procedure .Server is procedure Configure (Config : in out AWS.Config.Object); CONFIG_PATH : constant String := ".properties"; procedure Config...
with Ada.Containers.Vectors; with Ada.Finalization; with GNAT.Strings; -- https://adventofcode.com/2020/day/2 -- ========================================================================== -- --- Day 2: Password Philosophy --- -- -- Your flight departs in a few days from the coastal airport; -- the easiest way do...
-- -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- The version of the OpenAPI document: 20220523 -- -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0. -- https://openapi-generator.tech -- Do not edit the class manually. pac...
-- Copyright 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 License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- ...
----------------------------------------------------------------------- -- swagger-tests -- Unit tests for REST clients -- Copyright (C) 2018, 2020, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not us...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.Aspect_Specifications; with Program.Elements.Expressions; w...
-- 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...
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notice, t...
-- { dg-do run } with Ada.Streams; use Ada.Streams; procedure Array_Bounds_Test is One : constant Stream_Element := 1; Two : constant Stream_Element := 2; Sample : constant Stream_Element_Array := (0 => One) & Two; begin if Sample'First /= 0 then raise Program_Error; end if; if Sample...
<?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="...
<?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" version="...
with AUnit.Test_Suites; package Test_Suite is function Create_Test_Suite return AUnit.Test_Suites.Access_Test_Suite; end Test_Suite;
with Ada.Tags.Generic_Dispatching_Constructor; package Generic_Disp_Pkg is type Iface is interface; function Constructor (I : not null access Integer) return Iface is abstract; function Dispatching_Constructor is new Ada.Tags.Generic_Dispatching_Constructor (T => Iface, ...
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- Antonio M. F....
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with openGL.Geometry; package openGL.Model.capsule.lit_textured -- -- Models a lit and textured capsule. -- is type Item is new Model.capsule.item with private; type View is access all Item'Class; --------- --- Forge -- function new_Capsule (Radius : in Real; Height...
with Date_Package; use Date_Package; with Ada.Text_IO; use Ada.Text_IO; package body Person_Handling is function "="(Person1, Person2: in Person) return Boolean is begin return Person1.Birth = Person2.Birth; end; function ">"(Person1, Person2: in Person) return Boolean is begin ...
-- C34014G.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 -- -- -- -- ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Strings.Unbounded; with GL.Types; package GL.Context is pragma Preelaborate; use GL.Types; type String_List is array (Positive range <>) of Ada.Strings.Unbounded.Unbounded_Str...
function loop (Self : Pcap_T ; Arg2 : int; Arg3 : Pcap_Handler; Arg4 : access Unsigned_Char) return Integer; function Dispatch (Self : Pcap_T ; Arg2 : int; Arg3 : Pcap_Handler; Arg4 : access Unsigned_Char) return Integer; function Next (Self : Pcap_T ...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018-2021, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
-- Chip Richards, Phoenix AZ, April 2007 -- Lumen would not be possible without the support and contributions of a cast -- of thousands, including and primarily Rod Kay. -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software f...
with Ada.Numerics.Generic_Elementary_Functions; package body Ada_Voxel is package Float_Functions is new Ada.Numerics.Generic_Elementary_Functions (Float); ------------ -- Render -- ------------ procedure Render (Cam_X : Float; Cam_Y : Float; ...
-- ----------------------------------------------------------------------------- -- smk, the smart make -- © 2018 Lionel Draghi <lionel.draghi@free.fr> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache License, Version 2.0 ...
package body Setup is protected body Motor_Setup is procedure Calibrate_Motors_If_Required is begin if not Setup_Done then --Calibrating left and right ESC Put("Start Setup"); delay 4.0; --Write(3,1000); ...
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package body Swarm_Configuration is use Real_Elementary_Functions; ------------------------------ -- Inter_Swarm_Acceleration -- ------------------------------ function Inter_Swarm_Attraction (x : Distances) return Acc_Scalar is Attract_Close : constant Acc_Scalar := -((Arctan ((x - Attract_C...
------------------------------------------------------------------------------ -- Copyright (c) 2017-2019, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
----------------------------------------------------------------------- -- mat-targets-gtkmat - Gtk target management -- 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 ex...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
<?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" vers...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Iterator_Interfaces; with Program.Elements; with Program.Lexical_Elements; package Program.Element_Vectors is pragma Pur...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with STM32GD.GPIO; use STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.CLOCKS; with STM32GD.CLOCKS.Tree; with STM32GD.USART; with STM32GD.USART.Peripheral; with Drivers.Text_IO; package STM32GD.Board is package GPIO renames STM32GD.GPIO; package Clocks is new STM32GD.Clocks.Tree; package BUTTON is new P...
with DDS.Typed_DataWriter_Generic; with DDS.Typed_DataReader_Generic; generic with package ReqDataWriter is new DDS.Typed_DataWriter_Generic (<>); with package ReqDataReader is new DDS.Typed_DataReader_Generic (<>); package DDS.Request_Reply.Connext_C_Replier.Generic_REPLIER is package TReq renames ReqDataWRi...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- -- Copyright (c) 2015, John Leimon <jleimon@gmail.com> -- -- 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 permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS ...
----------------------------------------------------------------------- -- Util.Beans.Objects.Hash -- Hash on an object -- Copyright (C) 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 this...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Streams.Stream_IO; with League.Text_Codecs; with League.Stream_Element_Vectors; with XML.SAX.Pretty_Writers; with XML.SAX.String_Output_Destinations; with Incr.Debug; package body Ada_LSP.Documents.Debug is ---------- -- Dump -- ---------- procedure Dump (Self : Document; Name : St...
-- Copyright 2010-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. -- -- ...
<?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" version="...
package Opt37 is type T_Bit is range 0 .. 1; for T_Bit'Size use 1; type Positive is range 0 .. (2 ** 31) - 1; type Unsigned32 is mod 2 ** 32; subtype T_Bit_Count is Positive; subtype T_Bit_Index is T_Bit_Count range 1 .. T_Bit_Count'Last; type T_Bit_Array is array (T_Bit_Count range ...
with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with String_Vectors; use String_Vectors; private with Ada.Strings.Unbounded; package Generators is -- For now: single placeholder - so single Name -- package St...
with Ada.Text_IO; use Ada.Text_IO; with Sensors.Images; procedure Sensors.Tests.Main is use Sensors.Images; S : constant Sensors.Instance := Get_Instance; begin Put_Line (Sensors.Version); for chip of S.Detected_Chips loop Put_Line (Image (chip)); -- for Sensor of Chip loop -- null; ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- Copyright 2021 S.Merrony -- 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, modify, merge, publish, distribute, ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Containers.Ordered_Maps; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; procedure Associative_Array is -- Instantiate the generic package Ada.Containers.Ordered_Maps package Associative_Int is new Ada.Containers.Ordered_Maps(Unbounded_String, Integer); use Associative_Int;...
-- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 Lionel Draghi <lionel.draghi@free.fr> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licen...
with AUnit.Run; with AUnit.Reporter.Text; with ImageTests; with ShapeMatchingTests; with ShapeDatabaseTest; with HistogramTests; with HistogramDescriptorTests; with NeuralNetTests; with NeuralNetIOTests; with DataBatchTests; with NNClassifierTests; with TrainingSetTests; with CSVTests; with OpenCLTests; with GpuImageT...
with Protypo.Api.Engine_Values.Handlers; with Protypo.Api.Engine_Values.Engine_Value_Vectors; -- -- ## What is this? -- -- This package provides a wrapper for a vector of Engine_Value. -- The wrapper implements the `Ambivalent_Interface` that allows for both -- indexed and record-like access. More precisely, it expor...
-- -- Copyright (c) 2015, John Leimon <jleimon@gmail.com> -- -- 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 permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_get_tex_parameteriv_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces....
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
----------------------------------------------------------------------- -- ado-sessions-entities -- Find entity types -- Copyright (C) 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 f...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: License.txt with Ada.Command_Line; with Ada.Text_IO; with Parameters; with Pilot; with Unix; procedure Ravenadm is package CLI renames Ada.Command_Line; package TIO renames Ada.Text_IO; type mandate_type is (unset, he...
-- Abstract : -- -- Generalized LALR parse table generator. -- -- Copyright (C) 2002 - 2003, 2009 - 2010, 2013 - 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 ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with physics.Model, Physics, openGL.Model.terrain, openGL.IO, ada.unchecked_Deallocation, ada.unchecked_Conversion; package body gel.Terrain is type Heightfield_view is access all physics.Heightfield; type height_Map_view is access all opengl.height_Map; type height_map_Grid i...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Loop_Parameter_Specifications; with P...