content
stringlengths
23
1.05M
pragma License (Unrestricted); -- implementation unit required by compiler package System.Val_WChar is pragma Pure; -- (s-wchcon.ads) type WC_Encoding_Method is range 1 .. 6; -- required for Wide_Character'Value by compiler (s-valwch.ads) function Value_Wide_Character (Str : String; EM : WC_Encoding...
-- TK 21Apr2017 -- gnatmake ex1.adb -- with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers; use Ada.Containers; with GNAT.String_Split; use GNAT.String_Split; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Containers.Vectors; with Ada.Comman...
with System; with Interfaces.C; with dl_loader; package opencl_api_spec is pragma Elaborate_Body; function Load_From(h: dl_loader.Handle) return Boolean; clGetPlatformIDs: System.Address; clGetPlatformInfo: System.Address; clGetDeviceIDs: System.Address; clGetDeviceInfo: System.Address; clCreate...
with System.Zero_Terminated_WStrings; with C.string; with C.winnls; with C.winnt; package body System.Native_Directories.File_Names is use type C.size_t; -- see http://blogs.msdn.com/b/michkap/archive/2005/10/17/481600.aspx function NTFS_Compare (Left, Right : String) return Integer; function NTFS_Compar...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2022 AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistr...
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with System.Storage_Pools.Subpools; with Program.Compilation_Units; with Program.Cross_Reference_Updaters; with Program.Library_Environments; with Pro...
with Ada.Text_IO, Ada.Integer_Text_IO; use Ada.Text_IO, Ada.Integer_Text_IO; package body Menu is procedure Lee_Num_Alumno (Num : out Clases.Num_Alumno) is begin Put("Numero del alumno: "); Get(Num); Skip_Line; end Lee_Num_Alumno; procedure Mensaje_Error (Mensaje : in String) is begin Put_Line(Mensaje); end Mensaje...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Attributes; with GL.Buffers; with GL.Objects.Shaders.Lists; with GL.Uniforms; private with GL.Low_Level; package GL.Objects.Programs is pragma Preelaborate; subtype Subroutine_Index_Typ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Ada.Unchecked_Conversion; with Interfaces.C; package body SDL is function Init(Flags : in Capabilities) return Boolean is use type Interfaces.C.Int; function Convert is new Ada.Unchecked_Conversion(Source => Capabilities, Target => Interfaces.C.Unsigned); function SDL_Init(Flags...
---------------------------------------------------------------------- -- -- Random Number Generator -- -- written by -- -- David Shields -- -- Ada Project -- Courant Institute -- New York University -- ...
with kv.avm.Line_Parser; generic type Reader is new kv.avm.Line_Parser.Parse_Line_Interface with private; package kv.avm.File_Reader is procedure Parse_Input_File (Self : in out Reader; File_In : in String); end kv.avm.File_Reader;
with Ada.Text_IO; package body libhello is ----------------- -- Hello_World -- ----------------- procedure Hello_World is use Ada.Text_IO; begin Put_Line ("Hello, world!"); end Hello_World; end libhello;
with impact.d3.Space; package impact.d3.Action is type Item is abstract tagged limited record null; end record; procedure updateAction (Self : in Item; collisionWorld : access impact.d3.Space.item'Class; deltaTimeStep ...
package root is type Real is new Float; type Base_Interface is limited interface; procedure Primitive1 (B : in out Base_Interface) is abstract; -- builds procedure Primitive2 (B : in out Base_Interface) is null; -- causes bug type Derived_Interface is limited interface and Base_Interface...
package Cutscenes is -- Shows pre-game instructions for configuring the display settings procedure Display_Settings; -- Shows initial opening storyline for the game procedure Display_Opening; -- Shows ending storyline and credits for the game procedure Display_Credits; end Cutscenes;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2018, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with GNAT.Spitbol; with Ada.Directories; with Ada.Command_Line; package GPR_Tools.Gprslaves.Configuration is use GNAT.Spitbol; Nameserver : VString := V (Default_Nameserver); Command : constant String := Ada.Directories.Base_Name (Ada.Command_Line.Command_Name); type Verbose_Level is range 0 .. 2; V...
with IRC; -- Fetches title for url in message content package Plugin.URL is procedure URL_Title (Message : IRC.Message); end Plugin.URL;
with Ada.Text_IO; procedure Dogs is Dog : String := "Bernie"; begin Ada.Text_IO.Put_Line ("There is just one dog named " & DOG); end Dogs;
----------------------------------------------------------------------- -- package body Runge_8th, 8th order Prince and Dormand Runge-Kutta -- Copyright (C) 2008-2018 Jonathan S. Parker. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, pro...
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Strings.Unbounded, Ada.Text_IO.Unbounded_IO; procedure User_Input2 is S : Ada.Strings.Unbounded.Unbounded_String; I : Integer; begin Ada.Text_IO.Put("Enter a string: "); S := Ada.Strings.Unbounded.To_Unbounded_String(Ada.Text_IO.Get_Line); Ada.Text_IO.P...
with Gnat.Regpat; package Parse_Lines is Word_Pattern: constant String := "([a-zA-Z]+)"; Filename_Pattern: constant String := "([a-zA-Z0-9_.,;:]+)"; procedure Search_For_Pattern(Pattern: Gnat.Regpat.Pattern_Matcher; Search_In: String; First, La...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Strings.Fixed; with Ada.Unchecked_Deallocation; with Yaml.Presenter.Analysis; with Yaml.Tags; package body Yaml.Presenter is use type Text.Reference; Line_End : constant Character := ...
with Text_IO; procedure Hello_World is begin Text_IO.Put_line("Happy New Year 1396!"); end Hello_World;
------------------------------------------------------------------------------- -- 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...
package body App is procedure Main is separate; begin Main; end App;
with Ada.Finalization; private with Interfaces.C, System; package FLTK is -- Ugly implementation detail, never use this. -- This is necessary so things like Text_Buffers and -- Widgets can talk to each other behind the binding. type Wrapper is new Ada.Finalization.Limited_Control...
-- { dg-do run } -- { dg-options "-O" } with Opt27_Pkg; procedure Opt27 is type Rec_T is record A, B, C, D, E : Integer; end record; package List is new Opt27_Pkg (Rec_T); My_List : List.List_T; function Is_Match (Element : Rec_T; Template : Integer) return Boolean is begin ...
pragma License (Unrestricted); package Brackelib is -- @summary Root package for Brackelib. pragma Pure; end Brackelib;
package body d_open_hash is procedure cvacio(s: out conjunto) is dt: dispersion_table renames s.dt; begin for i in 0..b-1 loop dt(i):=null; end loop; end cvacio; procedure poner(s: in out conjunto; k: in key; x: in item) is dt: dispersion_table renames s.dt; i: natur...
with Config; use Config; with Ada.Text_IO; use Ada.Text_IO; procedure Rosetta_Read_Cfg is cfg: Configuration:= Init("rosetta_read.cfg", Case_Sensitive => False, Variable_Terminator => ' '); fullname : String := cfg.Value_Of("*", "fullname"); favouritefruit : String := cfg.Value_Of("*", "favouritefruit");...
-- test mqtt connection with MQTT_Clients; use MQTT_Clients; with GNAT.Sockets; use GNAT.Sockets; with GNAT.Sockets.MQTT; use GNAT.Sockets.MQTT; with GNAT.Sockets.Server; use GNAT.Sockets.Server; with GNAT.Sockets.Server.Handles; use GNAT.Sockets.Server.Handles; w...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Unchecked_Conversion; private with STM32_SVD.FMAC; package STM32.FMAC is pragma Elaborate_Body; type FMAC_Accelerator is limited private; procedure Reset_FMAC (This : in out FMAC_Accelerator); -- Resets the write and read pointers, the internal control logic, -- the FMAC_SR register and th...
pragma License (Unrestricted); -- implementation unit specialized for Linux with C.sys.statfs; package System.Native_Directories.Volumes is -- File system information. pragma Preelaborate; subtype File_Size is Ada.Streams.Stream_Element_Count; type File_System is record Statistics : aliased C.sys....
-- CC1005B.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...
with Interfaces; with Atomic.Unsigned; package Atomic.Unsigned_8 is new Atomic.Unsigned (Interfaces.Unsigned_8);
with Interfaces; use Interfaces; package sbus_commander is -- Byte[0]: SBUS header, 0x0F -- Byte[1 -22]: 16 servo channels, 11 bits each -- Byte[23] -- Bit 7: channel 17 (0x80) -- Bit 6: channel 18 (0x40) -- Bit 5: frame lost (0x20) -- Bit 4: failsafe activated (0x10) -- Byte[2...
--=========================================================================== -- -- This package is the master configuration for the ItsyBitsy -- use cases: -- 3: Master ItsyBitsy -> Slave Pico -- 4: Master ItsyBitsy -> Slave ItsyBitsy -- --============================================================...
-- { dg-do compile } -- { dg-options "-O -gnatws" } package body Varsize2 is type Key_Mapping_Type is record Page : Page_Type; B : Boolean; end record; type Key_Mapping_Array is array (Key_Type) of Key_Mapping_Type; type Set is record Key_Mappings : Key_Mapping_Array; end record;...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
with openGL.Display, openGL.surface_Profile, openGL.Surface, EGL; package openGL.Context -- -- Models an openGL context. -- is -- pragma Pure; type Item is tagged private; type View is access all Item'Class; procedure define (Self : in out Item; the_Display : access...
with Protypo.Api.Engine_Values.Handlers; with Protypo.Api.Engine_Values.Engine_Value_Holders; with Protypo.Api.Engine_Values.Engine_Value_Vectors; with Protypo.Api.Engine_Values.Array_Wrappers; with Ada.Containers.Indefinite_Ordered_Maps; package Protypo.Api.Engine_Values.Table_Wrappers is use type Ada.Containers....
with Ada.Unchecked_Deallocation; with BDD.Asserts; use BDD.Asserts; package body RTCH.Visuals.Canvases.Steps is procedure Given_Canvas_C (Width, Height : Positive) is procedure Free is new Ada.Unchecked_Deallocation (Object => Canvas, Name => Canvas_Access); begin if C /= null then Free (C)...
----------------------------------------------------------------------- -- gen-model-stypes -- Simple data type definitions -- 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 f...
with AdaM.Entity, Ada.Containers.Vectors, Ada.Streams; package AdaM.a_Pragma is type Item is new Entity.item with private; -- View -- type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Sel...
procedure Block_Statement is begin MyBlock: declare myString : String := "Hey string!"; begin null; end MyBlock; end Block_Statement;
with Ada.Strings.Unbounded; package Items is package SU renames Ada.Strings.Unbounded; type Item is record Name : SU.Unbounded_String; Sell_In : Integer; Quality : Integer; end record; function To_String(Self : in Item) return String; end Items;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package Giza.Bitmap_Fonts.FreeSerifItalic8pt7b is Font : constant Giza.Font.Ref_Const; private FreeSerifItalic8pt7bBitmaps : aliased constant Font_Bitmap := ( 16#11#, 16#12#, 16#22#, 16#44#, 16#00#, 16#C0#, 16#DE#, 16#E5#, 16#40#, 16#09#, 16#04#, 16#84#, 16#8F#, 16#F1#, 16#21#, 16#20#, 16#91#, 16#FC#, 16#...
----------------------------------------------------------------------- -- are-utils -- Utilities for model generator -- Copyright (C) 2010, 2011, 2012, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
------------------------------------------------------------------------------ -- randoms.ads -- -- A package for simple random number generation. Ada provides powerful and -- sophisticated random number facilities which are a bit heavy handed for -- simple applications. This package provides only the bas...
with Ada.Integer_Text_IO; -- Copyright 2021 Melwyn Francis Carlo procedure A005 is use Ada.Integer_Text_IO; I, N : Integer; begin I := 1; loop -- Based on the rules of divisibility, not all numbers from 1 to 20 -- have to be tested against. N := 20 * I; exit when ((N mod 19...
with My_Button; use My_Button; package body Solar_System.Button is task body Button_Monitor is Body_Data : Body_Type; begin loop My_Button.Button.Wait_Press; for PO_Body of Bodies loop Body_Data := PO_Body.Get_Data; Body_Data.Speed := -Body_Data.Speed; ...
---------------------------------------- -- Copyright (C) 2019 Dmitriy Shadrin -- -- All rights reserved. -- ---------------------------------------- with Pal; use Pal; with TimeStamp; with Ada.Strings.Unbounded; with Formatted_Output; use Formatted_Output; with Formatted_Output.Integer_Output; with Form...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Regions.Contexts; with Regions.Entities.Packages; with Regions.Environments; package Regions.Factories is pragma Preelaborate; type Factory is ...
with ObjectPack, AbstractStrategyPackage, StrategyPackage, IntrospectorPackage, VisitablePackage; use ObjectPack, AbstractStrategyPackage, StrategyPackage, IntrospectorPackage, VisitablePackage; package AbstractStrategyBasicPackage is type AbstractStrategyBasic is abstract new AbstractStrategy and Object with recor...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Scope_Debug; package body Apsepp_Demo_DT_Scope_Debug_User is ---------------------------------------------------------------------------- procedure Scope_Debug_User_1 is use Apsepp.Scop...
package Wide_Boolean_Pkg is type TBOOL is new BOOLEAN; for TBOOL use (FALSE => 0, TRUE => 1); for TBOOL'SIZE use 8; type TUINT32 is mod (2 ** 32); for TUINT32'SIZE use 32; type TREC is record H : TUINT32; B : TBOOL; end record; for TREC use record ...
-- Image_Random_Test: Test of Image_Random -- Copyright (C) 2020 by Pragmada Software Engineering -- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses -- -- 2020-09-01 Initial version -- with Ada.Streams; with Ada.Text_IO; with Image_Random; procedure Image_Random_Test is Ran...
with Vectors_2D; use Vectors_2D; with Vectors_2D_I; use Vectors_2D_I; with Vectors_2D_N; use Vectors_2D_N; with Vectors_2D_P; use Vectors_2D_P; with Vectors_3D; use Vectors_3D; with Vectors_3D_LF; use Vectors_3D_LF; package Vectors_Conversions is function To_Vector_3D (V : Vector_3D_LF) return Vector_3...
package volatile1 is type Command is (Nothing, Get); type Data is record Time : Duration; end record; type Data_Array is array (Integer range <>) of Data; type Command_Data (Kind : Command; Length : Integer) is record case Kind is when Nothing => ...
-- Package Graphe -- Gère le stockage et la manipulation de graphes orientés. -- Généricité : -- Les sommets et les arêtes sont étiquetés par les éléments des types -- T_Etiquette_Sommet et T_Etiquette_Arete generic type T_Etiquette_Sommet is private; type T_Etiquette_Arete is private; package Graphe is -- T...
-------------------------------------------------- -- Example of a custom Agar widget class: -- -- -- -- AG_Object(3) -> AG_Widget(3) -> CustomWidget -- -------------------------------------------------- with Ada.Text_IO; with System.Address_To_Access_Conversions; pac...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- -- -- ...
with Ada.Strings.Fixed; package body Trendy_Locations is function Make_Source_Location (File : Char_Ptr := File_Name; Line : Natural := File_Line) return Source_Location is begin return (File, Line); end Make_Source_Location; function Image (Loc : Source_Loc...
pragma Ada_2012; with Project_Processor.Parsers.Parser_Tables; package body Project_Processor.Parsers.Abstract_Parsers is -------------- -- Register -- -------------- procedure Register (Format : Parser_ID; Tag : Ada.Tags.Tag) is begin Parser_Tables.Register (Format, ...
with Ada.Strings.Unbounded; with Tokenize; package body EU_Projects.Identifiers.Full is --------- -- ">" -- --------- function "<" (X, Y : Full_ID) return Boolean is use ID_Vectors; Tx : ID_Vectors.Vector := X.Segments; Ty : ID_Vectors.Vector := Y.Segments; begin while not (Tx...
with Ada.Text_IO; with Ada.Strings.Fixed; -- Copyright 2021 Melwyn Francis Carlo procedure A024 is use Ada.Text_IO; use Ada.Strings.Fixed; N_Max : constant Integer := 10; I : constant Integer := 1_000_000; Numbers : array (Integer range 1 .. N_Max) of String (1 .. 1) := ("0", "1", ...
pragma License (Unrestricted); with Ada.IO_Exceptions; with Ada.IO_Modes; private with Ada.Streams; -- [gcc-5] can not find it by below "with Stream_IO" private with Ada.Streams.Stream_IO; generic type Element_Type (<>) is private; package Ada.Sequential_IO is type File_Type is limited private; -- Similar t...
with gasp.World, mmi.World, mmi.Camera, mmi.Window.lumen; pragma Unreferenced (mmi.Window.lumen); package mmi.Applet.gasp -- -- Provides a custom mmi applet, configured with a single 'Gasp' world. -- is type Item is new mmi.Applet.item with private; type View is access all Item'Class; ...
with Ada.Command_Line; use Ada.Command_Line; with Ada.Exceptions; use Ada.Exceptions; with Ada.Text_IO; use Ada.Text_IO; with Ada.Sequential_IO; procedure FixTrace is package Character_IO is new Ada.Sequential_IO(Character); type Value_Type is mod 2 ** 64; input : Character_...
-- { dg-do run } procedure Aligned_Vla is type Table is array (Integer range <>) of Integer; for Table'Alignment use Long_Float'Alignment; K : constant := 1; Konstants : Table (1 .. 4) := (others => K); procedure Check_Copy (Len : Integer) is My_Konstants : Table (1 .. Len) := Konstants (1 .. ...
with Ada.Strings, Ada.Strings.UTF_Encoding, Ada.Strings.UTF_Encoding.Wide_Strings, Ada.Command_Line, Ada.Directories, Ada.Streams, Ada.Streams.Stream_IO, Ada.Sequential_IO, Interfaces.C_Streams, Password_Encode; use Ada.Strings.UTF_Encoding; package PassEncrypt is package...
with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.Debug; use SPARKNaCl.Debug; with SPARKNaCl.Scalar; use SPARKNaCl.Scalar; procedure Scalarmult6 is BobSK : constant Bytes_32 := (16#5d#, 16#ab#, 16#08#, 16#7e#, 16#62#, 16#4a#, 16#8a#, 16#4b#, 16#79#, 16#e1#, 16#7f#, 16#8b#, 16#83#, 16#80#, 16#0e#, 16#e...
pragma Ada_2012; with Ada.Characters.Handling; with Ada.Strings.Fixed; package body Protypo.Api.Engine_Values.Enumerated_Records is ----------- -- To_Id -- ----------- function To_Id (X : Field_Name) return ID is use Ada.Characters.Handling; use Ada.Strings.Fixed; F : constant ID := ...
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- Author: Martin Becker (becker@rcs.ei.tum.de) with Ada.Real_Time; with Interfaces; with HIL; -- @summary -- Implements the structure andserialization of log objects -- according to the...
----------------------------------------------------------------------- -- servlet-rest-tests - Unit tests for Servlet.Rest and Servlet.Core.Rest -- Copyright (C) 2016, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License")...
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
-- { dg-do run } -- { dg-options "-flto" { target lto } } with Lto9_Pkg1; use Lto9_Pkg1; procedure Lto9 is begin District_Subscription_Lists.Put (List => District_01_Subscribers, Elem_Ptr => New_Subscriber_01'Access, Location => 1); end;
-- This spec has been automatically generated from STM32L4x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DFSDM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CHCFG0R1_SITP_Field ...
package RCP is -- the amount of resources required by every single request -- can never exceed a predefined maximum quantity Max_Requests : constant Positive := 10; type Request_T is range 0 .. Max_Requests; type Use_T is (Long, Medium, Short); -- a descriptor type to denote the Item_T ...
-- -- Copyright (C) 2017, AdaCore -- -- This spec has been automatically generated from ATSAMG55J19.svd pragma Ada_2012; pragma Style_Checks (Off); with System; -- Power Management Controller package Interfaces.SAM.PMC is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Regist...
-- { dg-do run } with Taft_Type1_Pkg1; procedure Taft_Type1 is begin Taft_Type1_Pkg1.Check; end;
with Ensembles_Chainage; with Ada.Text_IO; use Ada.Text_IO; procedure Scenario_Chainage is -- Instancier le paquetage Ensembles_Chainage pour avoir un Ensemble -- d'entiers package Ensembles_Entiers is new Ensembles_Chainage (T_Element => Integer); use Ensembles_Entiers; -- Définir une opérat...
with System; with Tasking; use Tasking; procedure Main is pragma Priority (System.Priority'First); begin Wait_Forever; end Main;
with GL.Objects.Programs; with C3GA; package Plane is procedure Draw_Plane (Render_Program : GL.Objects.Programs.Program; Point, X_Dir, Y_Dir, Normal : C3GA.Vector_E3; Weight : Float := 1.0); end Plane;
----------------------------------------------------------------------- -- asf-models-selects -- Data model for UISelectOne and UISelectMany -- 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"...
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); private with GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h; package GStreamer.rtsp.G_range is -- Different possible time range units. type GstRTSPRangeUnit is (SMPTE, -- timecode SMPTE_30_DROP,-- 29.97 frame...
----------------------------------------------------------------------- -- tool-data -- Perf data representation -- Copyright (C) 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 except ...
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.JSON.Objects; with League.JSON.Streams; with League.Strings.Hash; with LSP.Messages; with LSP.Message_Handlers; with LSP....
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with ada.containers.indefinite_ordered_maps; with strings; use strings; with address; use address; package labels is type label_t is tagged private; null_label : constant label_t; error_label_exist : exception; error_label_is_null : exception; function last_label return label_t; function get_by_name (st...
package STM32F4.GYRO is I_AM_L3GD20 : constant := 16#D4#; -- Power_Mode_selection L3GD20_MODE_POWERDOWN : constant := 16#00#; L3GD20_MODE_ACTIVE : constant := 16#08#; -- OutPut_DataRate_Selection L3GD20_OUTPUT_DATARATE_1 : constant := 16#00#; L3GD20_OUTPUT_DATARATE_2 : constant := 16#40#; ...
with System.Storage_Elements; use System.Storage_Elements; with System.Storage_Pools; use System.Storage_Pools; package Arena_Pools is type Arena (Size : Storage_Count) is new Root_Storage_Pool with private; overriding procedure Allocate ( Pool : in out Arena; ...