content stringlengths 23 1.05M |
|---|
package Root.Level_1 is
type Level_1_Type (First : Natural;
Second : Natural) is new Root_Type with private;
private
type Level_1_Type (First : Natural;
Second : Natural) is new Root_Type (First => First)
with record
Buffer_1 : Buffer_Type (1 .. Second);
... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2013 Felix Krause <contact@flyx.org>
--
-- 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/licen... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 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... |
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+owm@heisenbug.eu)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Ho... |
with impact.d2.Math,
impact.d2.Solid,
impact.d2.Contact.Solver,
impact.d2.Joint,
impact.d2.world_Callbacks,
impact.d2.Types;
package impact.d2.Island
--
--
--
is
use impact.d2.Math,
impact.d2.Types;
-- -- This is an internal structure.
-- --
-- type b2Position is
-- ... |
package body System.Native_Directories.File_Names is
-- implementation
function Equal_File_Names (
FS : Ada.Directories.Volumes.File_System;
Left, Right : String)
return Boolean
is
pragma Unreferenced (FS);
begin
return Left = Right;
end Equal_File_Names;
function Les... |
-- 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 Items.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Items.Test_Data
.Test with
null re... |
package body Varsize_Return2_Pkg is
function Len return Positive is
begin
return 4;
end;
package body G is
function Get return Small_T is
begin
raise Program_Error;
return Get;
end;
end G;
end Varsize_Return2_Pkg;
|
-- { dg-do compile }
-- { dg-options "-O" }
with Ada.Text_IO;
procedure Opt69 is
procedure Inner
(A : String := (1 .. 15 => ASCII.NUL);
B : String := (1 .. 5 => ASCII.NUL);
C : String := (1 .. 5 => ASCII.NUL))
is
Aa : String (1 .. 15);
Bb : String (1 .. 5);
Cc : String (1 .. ... |
-----------------------------------------------------------------------
-- gen-commands-database -- Database creation from application model
-- Copyright (C) 2011, 2012, 2016, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version ... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
with Ada.IO_Exceptions;
with Ada.Iterator_Interfaces;
with Ada.Streams;
private with Ada.Finalization;
private with Ada.Unchecked_Deallocation;
package Web.Producers is
type Template is tagged limited private;
-- subtype Not_Empty_Template is Template
-- with
-- Dynamic_Predicate => not Is_Empty (Not_Empty_Temp... |
with EU_Projects.Projects;
package Project_Processor.Processors.Dumping is
type Processor_Type is
new Abstract_Processor
with
private;
overriding function Create (Params : not null access Processor_Parameter)
return Processor_Type;
overriding procedure Process
(Proce... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N ... |
with Ada.Finalization; use Ada.Finalization;
with Ada.Text_IO; use Ada.Text_IO;
package body EU_Projects.Nodes.Timed_Nodes.Deliverables is
------------
-- Create --
------------
function Create
(Label : Deliverable_Label;
Name : String;
Description : String;... |
with Unicode_Strings; use Unicode_Strings;
with Ada.Containers.Ordered_Sets;
package Qweyboard is
use Unbounded;
-- Letter keys declared in the order they're likely to appear in words
--
-- Quoted from patent, although not strictly followed here...
--
-- > For example, in English, the initial co... |
-- { dg-do compile }
with Constant1_Pkg;
package Constant1 is
type Timer_Id_T is new Constant1_Pkg.Timer_Id_T with null record;
type Timer_Op_T (Pending : Boolean := False) is
record
case Pending is
when True =>
Timer_Id : Timer_Id_T;
when False =>
null;
... |
-- This spec has been automatically generated from out.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- Watchdog Timer
package MSP430_SVD.WATCHDOG_TIMER is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- WDTCTL_WDTI... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO;use Ada.Text_IO;
procedure modular_inverse is
-- inv_mod calculates the inverse of a mod n. We should have n>0 and, at the end, the contract is a*Result=1 mod n
-- If this is false then we raise an exception (don't forget the -gnata option when you compile
function inv_mod (a : Integer; n : Posit... |
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Software Configuration
-- Authors: Emanuel Regnath (emanuel.regnath@tum.de)
--
with Units;
with Logger;
-- @summary Configuration of the Software, adjust these parameters to yo... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Ada.Numerics; use Ada.Numerics;
with Ada.Numerics.Elementary_Functions;
use Ada.Numerics.Elementary_Functions;
with Ada.Containers.Vectors;
with Test_Solution; use Test_Solution;
package Problem_3 is
type Int64 is range -2**63 .. 2**63 -1;
type Prime_Count is record
Prime : Integer;
Cou... |
--
-- 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... |
-- 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... |
with GESTE;
with GESTE.Maths_Types; use GESTE.Maths_Types;
package Player is
procedure Move (Pt : GESTE.Pix_Point);
function Position return GESTE.Pix_Point;
procedure Update (Elapsed : Value);
procedure Throttle;
procedure Brake;
procedure Move_Left;
procedure Move_Right;
end Player;
|
Pragma Ada_2012;
With
Gnoga.Types;
--------------------------
-- PARAMETERS_TO_JSON --
--------------------------------------------------------------------------------
-- This function takes the parameters collected from an HTML Form and returns --
-- a result of the JSON object. The parameters on the form should b... |
-- Philip Bjorge
-- Simple barrier using protected types that
-- waits on a certain number of entrants
with Ada.Integer_Text_IO; with Ada.Text_IO;
package Barrier is
protected type Barrier_Type(wait_on : Natural) is
entry Here;
private
entry Wait; -- Delay at barrier
wait_for : Natural := wait_... |
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Martin Becker (becker@rcs.ei.tum.de)
with HIL.Buzzer;
with Ada.Real_Time; use Ada.Real_Time;
with Types;
-- @summary
-- Interface to use a buzzer/beeper.
package body Buzzer_Man... |
-----------------------------------------------------------------------
-- xmi -- XMI parser example
-- Copyright (C) 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complianc... |
with RandInt;
with Logger; use Logger;
with External; use External;
package Node is
package RAD renames RandInt;
type NodeObj;
type pNodeObj is access NodeObj;
type Array_pNodeObj is array (Natural range <>) of pNodeObj;
type pArray_pNodeObj is access Array_pNodeObj;
type Offer is record
... |
-- Lumen.Font.Txf -- Display textual information using texture-mapped fonts
--
-- Chip Richards, NiEstu, Phoenix AZ, Summer 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is h... |
----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 Dmitriy Anisimkov --
-- ... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- Implementation hierarchy rooted at Ada_GUI.Gnoga in recognition
-- Clients should never with packages in the Ada_GUI.Gnoga hierarchy
-- Original Gnoga headers have been left on the implemetation packages for reference
--
-----------------------------------------... |
------------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-- Euler1 in Ada
with Ada.Integer_Text_IO;
procedure Euler1_3 is
function Euler(n : in Integer; acc : in Integer := 0) return Integer is
begin
if n = 0 then
return acc;
elsif n mod 3 = 0 or n mod 5 = 0 then
return Euler(n-1, acc+n);
else
return Euler(n-1, acc);
end if;
end Euler;... |
package body gpsmodule with SPARK_Mode is
function gpstest(Position : Types.Point) return Boolean
is
begin
return (Position.X > Top_Left.X and Position.Y < Top_Left.Y
and Position.X < Bottom_Right.X and Position.Y > Bottom_Right.Y);
end gpstest;
end gpsmodule;
|
-- Shoot'n'loot
-- Copyright (c) 2020 Fabien Chouteau
with GESTE;
with GESTE.Sprite;
with GESTE.Tile_Bank;
with GESTE.Maths_Types;
with GESTE.Physics;
with GESTE_Config;
package Projectile is
type Instance
(Bank : not null GESTE.Tile_Bank.Const_Ref;
Init_Frame : GESTE_Config.Tile_Index)
is t... |
with Interfaces;
with Fmt.Generic_Mod_Int_Argument;
package Fmt.Uint8_Argument is
new Generic_Mod_Int_Argument(Interfaces.Unsigned_8);
|
-----------------------------------------------------------------------
-- awa-components-wikis -- Wiki rendering component
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may no... |
-- { dg-excess-errors "no code generated" }
package Elab2_Pkg is
function Get_Value (S : String) return Integer;
Max_Limit : constant array(1..2) of Integer :=
(1 => Get_Value ("One"), 2 => Get_Value ("Two"));
type Index_Type is new Natural range 0 .. Max_Limit(1);
type Array_Type is array (Index_... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
package Offmt_Lib.Parser is
function Parse (Str : String) return Trace;
end Offmt_Lib.Parser;
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Paths;
with Program.Lexical_Elements;
package Program.Elements.Case_Paths is
pragma Pure (Program.E... |
with Boolean_Subtype2_Pkg; use Boolean_Subtype2_Pkg;
package Boolean_Subtype2 is
subtype B is Boolean;
function Is_String_Type (Id : Entity_Id) return B;
end Boolean_Subtype2;
|
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+owm@heisenbug.eu)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Ho... |
-- 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... |
-- This spec has been automatically generated from STM32WB55x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.USART1 is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR1_DEDT_Field is ... |
-----------------------------------------------------------------------
-- util-commands -- Support to make command line tools
-- Copyright (C) 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N ... |
-- Using text_io
with Text_IO;
procedure Hello_World is
-- begin the brogram
begin
-- Output
Text_IO.Put_line("Hello World!");
-- Enf
end Hello_World; |
with User;
with Library;
procedure Entry_Point is
begin
User;
Library (-5);
end Entry_Point;
|
package body Posix is
procedure Open
(File : in out Posix.File;
File_Name : in C_String;
Flags : in O_FLag;
S_Flags : in S_FLag)
is
begin
File.My_File_Descriptor := Px_Thin.Open (File_Name, Flags, S_Flags);
File.My_Is_Open := File.My_File_Desc... |
-- ============================================================================
-- Atmel Microcontroller Software Support
-- ============================================================================
-- Copyright (c) 2017 Atmel Corporation,
-- a wholly owned subsidiary of Microchip Technology Inc.
--
-- License... |
with Ada.Text_IO, Interfaces;
use Ada.Text_IO, Interfaces;
procedure Bitwise is
subtype Byte is Unsigned_8;
package Byte_IO is new Ada.Text_Io.Modular_IO (Byte);
A : constant Byte := 2#00011110#;
B : constant Byte := 2#11110100#;
X : constant Byte := 128;
N : constant Natural := 1;
begin
... |
-- Spécification d'un module Dates très simplifié.
--
-- Attention : Bien gérer les dates est compliqué. Les dates et opérations
-- associées sont disponibles dans les bibliothèques des langages de
-- programmation. Par exemple dans le paquetage Ada.Calendar pour Ada.
package Dates is
type T_Mois is (JANVIER, FEV... |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Generic_Shared_Instance.Creator;
package body Apsepp.Generic_Fixture.Creator is
----------------------------------------------------------------------------
function Alloc return Shared_Instan... |
-- Copyright (c) 2020-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 req... |
with Server;
with Templates_Parser;
with Ada.Text_IO; use Ada.Text_IO;
with Generator;
with Ada.Directories;
with Ada.Calendar;
with GNAT.Command_Line; use GNAT.Command_Line;
with Ada.Wide_Wide_Text_IO;
with Ada.Wide_Wide_Text_IO.Text_Streams;
with Ada.Command_Line;
with Ada.Exceptions; use Ada.Exceptions;
with CLIC.Su... |
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
package bits_types_timer_t_h is
-- Timer ID returned by `timer_create'.
subtype timer_t is bits_types_h.uu_timer_t; -- /usr/include/bits/types/timer_t.h:7
end bits_types_timer_t_h;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- { dg-do run }
with assign_from_packed_pixels;
use assign_from_packed_pixels;
procedure assign_from_packed is
A : Integer := Minus_One;
Pos : Position;
begin
Pos := Pix.Pos;
if A /= Minus_One then
raise Program_Error;
end if;
end;
|
package Geo3x3 is
function Encode (PLat: in Long_Float; PLng: in Long_Float; Level: in Integer) return String;
type WGS84 is record
Lat : Long_Float;
Lng : Long_Float;
Level : Integer;
Unit : Long_Float;
end record;
function Decode (Code: in String) return WGS84;
end Geo3x3;
|
------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
-- { dg-do compile }
package Static_Initializer2 is
type A is array (1..5) of Integer;
f : constant A := (1, 2, 3, 4, 5);
i1 : integer renames f(1);
i2 : integer renames f(2);
i3 : integer renames f(3);
i4 : integer renames f(4);
i5 : integer renames f(5);
b1 : boolean := i1 = 1;
b2 : boo... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
package body Tokenize is
-- Called by Split when the separator is a space. According to
-- Ruby convention, space is a special separator in the sense
-- that consecutive spaces do not give rise to empty tokens.
function Collated_Split (To_Be_Splitted : String;
Separator : ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2012, Stefan Berghofer
-- Copyright (C) 2012, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or w... |
package Discr16_Pkg is
type ET3a is (E1, E2, E3, E4, E5);
for ET3a use (E1=> 32_001, E2=> 32_002, E3=> 32_003,
E4=> 32_004, E5=> 32_005);
end;
|
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Martin Becker (becker@rcs.ei.tum.de)
with Units; use Units;
-- @summary
-- Interface to use a buzzer/beeper.
package Buzzer_Manager with SPARK_Mode is
-- subtype T_Name is Ch... |
generic
type Scalar is digits <>;
with function F (X : Scalar) return Scalar;
package Integrate is
function Left_Rectangular (A, B : Scalar; N : Positive) return Scalar;
function Right_Rectangular (A, B : Scalar; N : Positive) return Scalar;
function Midpoint_Rectangular (A, B : Scalar; N : Positi... |
-----------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- R... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
package Logging_Support is
------------------------------------------------------------------------
-- | Package Giving Operations Useful for logging tasks activity
-- | WITH-ed by the body of a package to provide an easy way to
-- | trace events related to task activation and completion
-- | Implemented as ... |
with Interfaces;
with Ada.Numerics.Float_Random;
with Vector_Math;
with Ada.Unchecked_Deallocation;
with Ada.Text_IO;
use Interfaces;
use Vector_Math;
use Ada.Text_IO;
package Lights is
type LightShapes is (Light_Shape_Rect, Light_Shape_Sphere);
type ShadowSample is record
pos : float3 := (0.0, 0.0, 0... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
--
-- Jan & Uwe R. Zimmer, Australia, July 2011
--
package body Matrices is
function "*" (A, B : Matrix) return Matrix is
AB : Matrix;
begin
for Row in Matrix'Range (1) loop
for Col in Matrix'Range (2) loop
declare
Sum : Real := 0.0;
begin
... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Maximum is
-- On peut renommer Max2 et Max3 en Max car les deux fonctions ont des paramètres differents
-- Le plus grand de 2 entiers.
function Max (N1, N2 : in Integer) return Integer with
Post => Ma... |
-- $Id: General.mi,v 1.5 1994/06/13 09:41:43 grosch rel $
-- $Log: General.mi,v $
-- Ich, Doktor Josef Grosch, Informatiker, Aug. 1994
-- General Subroutines: minimum, maximum, binary logarithm, and power of 2
package body General is
-- Returns the minimum of 'a' and 'b'.
function Min (a, b: Integer) return Inte... |
package body unav with SPARK_Mode is
function Get_Distance return Length_Type is
darc : Unit_Type := 0.5;
begin
return 2.0 * EARTH_RADIUS * darc;
end Get_Distance;
end unav;
|
-- Copyright (c) 1992-2011 The University of Tennessee and The University
-- of Tennessee Research Foundation. All rights
-- reserved.
-- Copyright (c) 2000-2011 The University of California Berkeley. All
-- rights reserved.
-- Copyright (c) 2006-... |
with System; use System;
with Ada.Unchecked_Conversion;
with STM32_SVD.DMA; use STM32_SVD.DMA;
package body STM32GD.USART.IRQ is
protected body IRQ_Handler is
entry Wait when Data_Available is
begin
Data_Available := False;
end Wait;
procedure Handler is
begin
USART... |
pragma License (Unrestricted);
-- implementation unit
package System.Value_Errors is
pragma Pure;
procedure Raise_Value_Failure (T : String; S : String);
pragma No_Return (Raise_Value_Failure);
procedure Raise_Discrete_Value_Failure (T : String; S : String);
-- Returns if the flag of System.Runtim... |
package Swap_Generics is
generic
type Data_Type is private;
procedure Swap_Generic (Value_1 : in out Data_Type; Value_2 : in out Data_Type);
end Swap_Generics;
|
with Agar.Core.Thin;
package Agar.Core.DSO is
subtype DSO_Access_t is Thin.DSO.DSO_Access_t;
subtype DSO_Not_Null_Access_t is Thin.DSO.DSO_Not_Null_Access_t;
function Load
(Name : in String;
Path : in String) return DSO_Access_t;
function Unload (DSO : DSO_Not_Null_Access_t) return Boolean... |
with HWIF;use HWIF;
with HWIF_Types; use HWIF_Types;
with Ada.Text_IO; use Ada.Text_IO;
with TrafficLightSwitcher;
procedure PedestrianLightSwitcher (dir : in Direction) is
begin
Pedestrian_Wait(dir) := 1; --Wait light on.
loop
exit when ((Traffic_Light(North) = 4) and
(Traffic_Light(So... |
pragma License (Unrestricted);
-- extended unit
package Ada.Streams.Stream_IO.Standard_Files is
-- There are Stream_IO version file objects of
-- Standard_Input, Standard_Output, and Standard_Error.
function Standard_Input return not null access constant File_Type;
function Standard_Output return not ... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT COMPONENTS --
-- --
-- ... |
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Estimator
--
-- Authors: Emanuel Regnath (emanuel.regnath@tum.de)
--
-- Description: Estimates state data like orientation and velocity
--
-- ToDo:
-- [ ] Implementation
with Units; ... |
--------------------------------------------------------------------------------------------------------------------
-- 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... |
--
-- BZip2.Decompress - decompression of bzip2 data streams.
--
-- bzip2 compresses files using the Burrows - Wheeler block - sorting text
-- compression algorithm, and Huffman coding. Compression is generally
-- considerably better than that achieved by more conventional
-- LZ77/LZ78 - based compressors, ... |
with Arduino_Nano_33_Ble_Sense.IOs;
with Servo;
package Servo_Controller is
type Direction is (Forward, Backward, Stop);
type Servo_Half is record
Pin : Arduino_Nano_33_Ble_Sense.IOs.Pin_Id;
Angle : Servo.Angle_Range;
end record;
type Servo_Full is record
Pin : Arduino_Nano_33... |
-- JSON AURA Configuration Manifest
package JSON.AURA is
package Configuration is
Truncate_Floats: constant Boolean := False;
-- If true, when deserializing a JSON objects, if the read value for the
-- JSON_Float_Value type has too many decimal points, the deserialized
-- value is trunc... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Unchecked_Deallocation;
package body ABR is
procedure Free is
new Ada.Unchecked_Deallocation (Object => T_Noeud, Name => T_ABR);
procedure Initialiser(Abr: out T_ABR) is
begin
Abr := Null;
end Initia... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with RASCAL.ConfiX; use RASCAL.ConfiX;
with RASCAL.OS; use RASCAL.OS;
package Controller_Choices is
type TEL_ViewChoices_Type is new Toolbox_UserEventListener(16#10#,-1,-1) with null record;
type MEL_Message_ConfiX is new AMEL_Message_ConfiX with null record;
--
... |
----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 Dmitriy Anisimkov --
-- ... |
-- Motherlode
-- Copyright (c) 2020 Fabien Chouteau
with Motherload;
with Title_Screen;
with Arith_64;
pragma Unreferenced (Arith_64);
procedure Main is
begin
loop
Title_Screen.Run;
Motherload.Run;
end loop;
end Main;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.