content
stringlengths
23
1.05M
with neural.Privvy; with fann_c.Binding; with Interfaces.C; with Fann_C.Pointers; package body Neural.Set is use neural.Privvy, fann_c.Binding, Interfaces; function to_Set (the_Patterns : in Patterns_view) return Set is the_Set : Set; procedure fill_Fann (pattern_Id : in Inter...
-- Copyright 2016 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...
----------------------------------------------------------------------- -- asf-applications-views-tests - Unit tests for ASF.Applications.Views -- Copyright (C) 2009, 2010, 2011, 2012, 2014, 2015, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache Li...
with Ada.Text_IO; use Ada.Text_IO; procedure Main is begin -- Guide: http://archive.adaic.com/standards/83lrm/html/lrm-11-01.html declare PP : Positive; P2 : Positive; begin P2 := 5; PP := 3 - P2; -- intentionally violate Positive range constraint exception when Constraint_Error => ...
with Obj; use Obj; procedure Tester is A, B, C : Obj_T; begin A := New_Obj( 1 ); B := New_Obj( 2 ); C := New_Obj( 3 ); A := C; end Tester;
-------------------------------------------------------------------------- -- Arbitrary Precision Math Library: Constants -- Joe Wingbermuehle 20020320 <> 20020327 -------------------------------------------------------------------------- package Arbitrary.Const is function Pi(precision : integer) return Arbitrary_T...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
generic type child_type is limited private; type child_access_type is access child_type; package agar.gui.widget.fixed is use type c.unsigned; type flags_t is new c.unsigned; FIXED_HFILL : constant flags_t := 16#01#; FIXED_VFILL : constant flags_t := 16#02#; FIXED_NO_UPDATE : constant flags_t :...
-- ============================================================================= -- This package herachy is an exact 1:1 mapping to the gstreamer header-files -- It's generated with the -fdump-ada-spec flag to gcc and patched in -- Two phases. -- Phase 1: Automatic bulk change using scripts. -- Phase 2: Manual c...
with Ada.Text_IO;use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Numerics.Discrete_Random; procedure sporadic_task is protected sporadic is procedure release; entry next_release; private barrier : Boolean; min_int : Time_Span := Milliseconds(3000); last_release : Time; end sporadic; protecte...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
with Ada.Assertions; use Ada.Assertions; package TestEnvironment is procedure run_test; end TestEnvironment;
with AdaCar; use AdaCar; with AdaCar.Alarmas; with AdaCar.Entrada_Salida; with AdaCar.Sensor_Proximidad; with AdaCar.Seguimiento_Sensor; with AdaCar.Motores; with AdaCar.Organizador_Movimiento; with AdaCar.Parametros; procedure Main is begin -- Insert code here. null; end Main;
with freetype_c.Binding, freetype_c.FT_BBox, freetype_c.FT_Vector; package body openGL.GlyphImpl is ----------- -- Utility -- function Bounds_of (glyth_Slot : in freetype_c.FT_GlyphSlot.item) return Bounds is use freetype_c.Binding; bBox : aliased freetype_c.FT_BBox.i...
package body openGL.Model.sphere is --------- --- Forge -- procedure define (Self : out Item; Radius : Real) is begin Self.Radius := Radius; end define; -------------- --- Attributes -- overriding function Bounds (Self : in Item) return openGL.Bounds is begin ...
----------------------------------------------------------------------- -- sqlbench-main -- Main SQL Bencharmk -- Copyright (C) 2018, 2019 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 exc...
with GNAT.IO; use GNAT.IO; package body Except is procedure Do_Something is begin raise Test_Exception; end Do_Something; procedure Do_Sth_2 is begin begin Do_Something; exception when others => Put_Line ("Exception caught (inner)"); end; end Do_Sth_2;...
----------------------------------------------------------------------- -- druss-commands -- Commands available for Druss -- Copyright (C) 2017, 2019, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" package body GL.Enums.Indexes is function Representation (Value : Index) return Int is begin return Min_Representation + Value; end Representation; function Value (Representation : In...
with TEXT_IO; use TEXT_IO; function Get_Discreet return Element is Str: String(1..Element'Width+1); Len: Natural; begin loop declare begin Get_Line(Str,Len); if Len <= Element'Width then return Element'Value( Str(1..Len) ); else Skip_Line; ...
with Ada.Directories; with Ada.Numerics.Generic_Elementary_Functions; with Ahven.Framework; with Floats.Api; package Test_Floats.Write is package Skill renames Floats.Api; use Floats; use Floats.Api; type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
WITH Spider; PROCEDURE Draw_Box_with_1_Loop IS ------------------------------------------------------------------ --| draw 4 x 4 box with spider - use loop --| Author: Michael B. Feldman, The George Washington University --| Last Modified: July 1995 ------------------------------------------------------------------ B...
------------------------------------------------------------------------------ -- -- -- Modular Hash Infrastructure -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body Entities is procedure Initialize(This : out Entity; EntType : in EntityTypes; Pos, Vel, Grav : in Vec2D; Mat : in Material) is begin This.EntityType := EntType; This.Coords := Pos; This.Velocity := Vel; This.Force := Vec2D'(x => 0.0, y => 0.0); ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" package body GL.Helpers is function Float_Array (Value : Colors.Color) return Low_Level.Single_Array is use GL.Types.Colors; begin return Low_Level.Single_Array'(1 => Value (R), ...
------------------------------------------------------------------------------- -- Copyright (c) 2016, 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 of s...
-- Generated from GL/gl.h -- Date: Wed Sep 22 12:47:08 1999 -- with Interfaces.C; with Interfaces.C.Extensions; package gl_h is -- $Id: gl_h.ads,v 1.1.1.1 2002/08/30 01:09:56 afvargas Exp $ -- -- Mesa 3-D graphics library -- Version: 3.0 -- Copyright (C) 1995-1998 Brian Paul -- -- This l...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Numerics.Discrete_Random; procedure Avglen is package IIO is new Ada.Text_IO.Integer_IO (Positive); use IIO; package LFIO is new Ada.Text_IO.Float_IO (Long_Float); use LFIO; subtype FactN is Natural range 0..20; TEST...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with short_Math, float_Math.Geometry, long_Math, ada.text_IO; procedure launch_basic_math_Demo -- -- A simple demonstration of the Math packages. -- is package Math renames float_Math; use Math, math.Geometry; procedure log (Message : in String) renames ada.text_IO.put_Line; be...
pragma License (Unrestricted); with Ada.Numerics.Generic_Complex_Arrays; with Ada.Numerics.Long_Long_Complex_Types; with Ada.Numerics.Long_Long_Real_Arrays; package Ada.Numerics.Long_Long_Complex_Arrays is new Generic_Complex_Arrays (Long_Long_Real_Arrays, Long_Long_Complex_Types); pragma Pure (Ada.Numerics.Long_Lon...
package body WeatherCommon is procedure show_temp(servo: BBS.BBB.i2c.PCA9685.PS9685_ptr; temp : BBS.units.temp_c) is servo_value : float := float((temp - temp_min)/(temp_max - temp_min)); error : integer; begin if (servo_value < 0.0) then servo_value := 0.0; servo.set_ful...
with Goertzel; with Ada.Text_Io; procedure Main is Flt : Goertzel.Filter; Samples : Goertzel.Samples := ( 0.0, 1.0, 0.0, Goertzel.Value(-1.0) ); Y : Goertzel.Value; begin Flt := Goertzel.Make(2000.0, 8000.0); Goertzel.Process(Flt, Samples, y); Y := Goertzel.DBm(Y); Ada.Text_IO.Put_Line(Y'Image); e...
with Interfaces.C; use Interfaces.C; with Interfaces.C.Pointers; with Interfaces.C.Strings; use Interfaces.C.Strings; with System; with JNI_MD; -- use JNI_MD; package JNI is JNI_OK : constant := 0; -- Success. JNI_ERR : constant := -1; -- Unknown error. JNI_EDETACH...
-- -- This package provides resources to handle dynamic "plugins" -- -- A plugin is an "object" that can be called dynamically at run-time to -- handle, for example, files with different format. A plugin will -- typically be a descendant of an abstract type that specifies the -- minimal interface the plugin must e...
package SPARKNaCl.Tests is -- Additional stress test cases for NaCl operations. -- This is a child package of SPARKNaCl so these bodies -- can see the private part and operations of SPARKNaCl. procedure GF_Stress; procedure Car_Stress; procedure Diff_Car_Stress; procedure Pack_Stress; end S...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with C.winbase; with C.winnt; package body System.Native_Time is -- implementation function To_Duration (D : C.windef.FILETIME) return Duration is U : constant C.winnt.ULARGE_INTEGER := ( Unchecked_Tag => 0, LowPart => D.dwLowDateTime, HighPart => D.dwHighDateTime); begin ...
with Ada.Text_IO; procedure Euler8 is Product_Size : constant Positive := 13; type Product is range 0 .. 9 ** Product_Size; package Product_IO is new Ada.Text_IO.Integer_IO(Product); function String_Product(S: String) return Product is Prod: Product := 1; begin for C of S loop Pro...
separate (Numerics.Sparse_Matrices) function Kronecker (A, B : in Sparse_Matrix) return Sparse_Matrix is Result : Sparse_Matrix; N_Col : constant Pos := B.N_Col; N_Row : constant Pos := B.N_Row; Bl : Int_Array (1 .. N_Col); Al : Integer; Tmp : Nat := 1; use Ada.Containers; begin Result....
-- { dg-do run } with Ada.Tags; use Ada.Tags; with Ada.Text_IO; use Ada.Text_IO; procedure aggr3 is package Pkg is type Element is interface; type Event is tagged record V1 : Natural; V2 : Natural; end record; function Create return Event; type D_Event is new Even...
with Interfaces.C.Strings, Ada.Unchecked_Deallocation, System; use type System.Address, Interfaces.C.int, Interfaces.C.unsigned_long, Interfaces.C.Strings.chars_ptr; package body FLTK.Widgets.Menus is procedure menu_set_draw_hook (W, D : in System.Address); pragma...
package body kv.avm.Actor_References is use Interfaces; Local_Domain : Interfaces.Unsigned_32 := 0; ---------------------------------------------------------------------------- procedure Set_Local_Domain(Domain : Interfaces.Unsigned_32) is begin Local_Domain := Domain; end Set_Local_Domain; ...
with Ada.Containers.Formal_Vectors; -- with Ada.Containers.Formal_Hashed_Sets; with Ada.Containers.Formal_Ordered_Sets; with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; package Common_Formal_Containers with SPARK_Mode is package Int64_Vects is new Ada.Containers.Formal_Vectors (Index_Type => Natural, El...
with System; with STM32_SVD.RCC; use STM32_SVD.RCC; package body STM32.RNG is -- Enable the TRNG -- This requires some care: -- 1) HSI48 must be on see: setup_pll.adb -- 2) The CONDRST must be set with the CONFIGx params -- 3) Then the CONDRST is SW set to low but will only become 0 -- after HW clears it. -- ...
with Ada.Text_IO; use Ada.Text_IO; with AWS.Client; with AWS.Response; procedure HTTP_Request is begin Put_Line (AWS.Response.Message_Body (AWS.Client.Get (URL => "http://www.rosettacode.org"))); end HTTP_Request;
with Ada.Command_Line; package body Command_Line with SPARK_Mode => Off is function Argument (Number : Positive) return String is begin return Ada.Command_Line.Argument (Number); end Argument; function Argument_Count return Natural is begin return Ada.Command_Line.Argument_Count; e...
with Ada.Text_IO; with Ada.Strings.Fixed; with System.Storage_Elements; use System.Storage_Elements; package body Offmt_Lib.Fmt_Data.Unsigned_Generic is Size_In_Bytes : constant Natural := T'Size / 8; package T_IO is new Ada.Text_IO.Modular_IO (T); function Image (Val : T; Kind : Format_Kind) return String...
-- { dg-do compile } with System; package SSO1 is type R is record -- { dg-error "inconsistent with bit order" } B : Boolean; end record; for R'Bit_Order use System.Low_Order_First; for R'Scalar_Storage_Order use System.High_Order_First; -- { dg-warning "no component clause" } type RW is reco...
with Ada.Integer_Text_IO; package body Afficher_Un_Entier is procedure Afficher (N: in Integer) is begin Ada.Integer_Text_IO.Put (N, 1); end; end Afficher_Un_Entier;
package body Lto7_Pkg is procedure op1 (this : Root) is begin null; end; procedure op2 (this : DT) is begin null; end; end Lto7_Pkg;
-- { dg-do compile } with discr1; use discr1; package body discr2 is procedure Copy (Dataset : in out C_Type) is Last_Char : Positive := 300; begin while (Last_Char > 40) loop Last_Char := Last_Char - 1; end loop; Assign (Dataset.Designator (1 .. Last_Char)); end; procedure D...
pragma License (Unrestricted); with Ada.Exceptions; package GNAT.Traceback.Symbolic is pragma Preelaborate; function Symbolic_Traceback (E : Ada.Exceptions.Exception_Occurrence) return String renames Ada.Exceptions.Exception_Information; end GNAT.Traceback.Symbolic;
with Memory.Split; use Memory.Split; with Memory.Join; use Memory.Join; package body Test.Split is procedure Run_Tests is ram : constant Monitor_Pointer := Create_Monitor(0); mon1 : constant Monitor_Pointer := Create_Monitor(0, False); mon2 : constant Monitor_Pointer := Create_Monitor(...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; private package CUPS.cups_array_h is -- * "$Id: array.h 10996 2013-05-29 11:51:34Z msweet $" -- * -- * Sorted array definitions for CUPS. -- * -- * Copyright 2007-2010 by Apple Inc. -- * Copyright 1997-200...
package Hide.File_Coder is procedure Encode (Source_File_Name : Posix.C_String; Output_File_Name : Posix.C_String; Offset : Natural; Text : String); function Decode (File_Name : Posix.C_String) return String; end Hide.File_C...
----------------------------------------------------------------------- -- util-serialize-io-xml -- XML Serialization Driver -- Copyright (C) 2011, 2012, 2016, 2017, 2020, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "Licens...
package Aggr19_Pkg is type Rec1 (D : Boolean := False) is record case D is when False => null; when True => Pos : Integer; end case; end record; type Rec2 is record L : Rec1; end record; type Rec3 is tagged null record; type Enum is (One, Two, Three); type Rec4 (Kind : Enum :=...
-- Copyright 2018-2021 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (a...
-- { dg-do compile } -- { dg-options "-O2 -fno-inline -fdump-tree-optimized" } procedure Opt39 (I : Integer) is type Rec is record I1 : Integer; I2 : Integer; I3 : Integer; I4 : Integer; I5 : Integer; end record; procedure Set (A : access Rec; I : Integer) is Tmp : Rec := A.all; begin...
-- The Village of Vampire by YT, このソースコードはNYSLです package body Tabula.Casts is use type Ada.Strings.Unbounded.Unbounded_String; function Find (Container : Groups.Vector; Group : Integer) return Groups.Cursor is begin for I in Container.First_Index .. Container.Last_Index loop if Container.Constant_Reference ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- Author: Martin Becker (becker@rcs.ei.tum.de) with Interfaces; use Interfaces; with HIL; use HIL; -- @summary convert various types to bytearrays private package ULog.Conversions with SP...
-- linear/geographical conversions generic type Real is digits <>; package Unit_Conversion_Utilities is type Unit_Converter is tagged private; procedure Initialize (This : out Unit_Converter; LatitudeInit_Rad : Real; LongitudeInit_rad : Real); -- FROM LAT/LONG TO NORTH/E...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with STM32_SVD.SPI; generic SPI : in out STM32_SVD.SPI.SPI_Peripheral; package STM32GD.SPI.Peripheral is pragma Preelaborate; procedure Init; procedure Send (Data : in Byte); procedure Send (Data : in SPI_Data_8b); procedure Receive (Data : out Byte); procedure Receive (Data : out SPI_Data_8b...
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Command_Line; procedure Floyd_Triangle is rows : constant Natural := Natural'Value(Ada.Command_Line.Argument(1)); begin for r in 1..rows loop for i in 1..r loop Ada.Integer_Text_IO.put (r*(r-1)/2+i, Width=> Natural'Image(rows*(rows-1)/2+i)'Length); end loop;...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT INTERFACE COMPONENTS -- -- -- -- ...
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Regions.Entities is pragma Pure; type Entity is limited interface; function Is_Assigned (Self : access Entity'Class) return Boolean ...
-- { dg-do compile } with Text_IO; use Text_IO; procedure Dump (A : System.Address; Len : Storage_Offset) is Arr : Storage_Array (1 .. Len); for Arr'Address use A; pragma Import (Ada, Arr); H : constant array (Storage_Element range 0 .. 15) of Character := "0123456789abcdef"; begin for J in ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
-- -- 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...
with Unchecked_Conversion; package Atomic5 is type Byte is mod 2 ** 8; for Byte'Size use 8; type Unsigned_32 is mod 2 ** 32; for Unsigned_32'Size use 32; type R is record A,B,C,D : Byte; end record; for R'Alignment use 4; pragma Atomic (R); function Conv is new Unchecked_Conversion (R, Unsign...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
package Lv.Hal.Tick is -- You have to call this function periodically -- @param tick_period the call period of this function in milliseconds procedure Inc (Tick_Period : Uint32_T); -- Get the elapsed milliseconds since start up -- @return the elapsed milliseconds function Get return Uint32_T; ...
pragma License (Unrestricted); with Ada.Exceptions; with Ada.Task_Identification; package Ada.Task_Termination is pragma Preelaborate; type Cause_Of_Termination is (Normal, Abnormal, Unhandled_Exception); type Termination_Handler is access protected procedure ( Cause : Cause_Of_Termination; T : T...
----------------------------------------------------------------------- -- util-encoders-aes -- AES encryption and decryption -- Copyright (C) 2017, 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
with Ada.Exceptions; with Ada.Interrupts.Names; with Ada.Unchecked_Conversion; with System.Formatting; with System.Long_Long_Integer_Types; with System.Unwind.Occurrences; with C.signal; package body System.Native_Interrupts.Vector is use type Ada.Interrupts.Parameterless_Handler; use type C.signed_int; use ty...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package Incr.Nodes.Joints is type Joint (Document : Documents.Document_Access; Arity : Natural) is new Node...
with Ada.Strings.Unbounded.Text_Io; with Ada.Text_Io; with Aof.Core.Objects; with My_Objects; -- This example highlights what I envision to be a typical use of the -- object system. Here we define a widget object type (in the -- package Widgets), which is inherited from the Objects.Object base -- class. We then ...
-- { dg-do compile } -- { dg-options "-O3" } with Opt18_Pkg; use Opt18_Pkg; package body Opt18 is function Mag (Item : in Cart_Vector_Type) return Float is begin return Sqrt (Item (X) * Item (X) + Item (Y) * Item (Y) + Item (Z) * Item (Z)); end; function Unit_Quaternion_To_Mag_A...
-- { dg-do compile } -- { dg-options "-O2" } package Opt28 is function Full_Filename (Filename : String) return String; end Opt28;
with Clenshaw; with Chebychev; with gauss_quadrature_61; with chebychev_quadrature; with Text_IO; use Text_IO; with Ada.Numerics.Generic_Elementary_Functions; -- Use data structure in Chebychev to instantiate Clenshaw, and make -- Chebychev polynomials of the 2nd kind. -- Chebychev polynomials should be normalized ...
with dpila; generic type key is private; type item is private; with function "<" (k1, k2: in key) return boolean; with function ">" (k1, k2: in key) return boolean; package davl is type conjunto is limited private; espacio_desbordado: exception; ya_existe: exception; no_existe: exception; ...
-- SPDX-License-Identifier: Apache-2.0 -- -- 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/L...
<?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="...
------------------------------------------------------------------------------ -- reporter.adb -- -- Implementation of the Reporter package. ------------------------------------------------------------------------------ with Ada.Text_IO; use Ada.Text_IO; package body Reporter is protected Output is ...
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the ...
with Ada.Text_IO; procedure main is Δ : Integer; begin Δ := 41; Δ := Δ + 1; Ada.Text_IO.Put_Line (Δ'Img); end main;
with Ada.Text_Io; with Ada.Integer_text_IO; procedure Call_Back_Example is -- Purpose: Apply a callback to an array -- Output: Prints the squares of an integer array to the console -- Define the callback procedure procedure Display(Location : Positive; Value : Integer) is begin Ada.Text_I...
artifacts builderVersion:"1.1", { version "${buildBaseVersion}", { group "${groupId}", { artifact "${artifactId}", { file "${genroot}/out/mta_plugin_linux_amd64", classifier: "linux", extension: "bin" file "${genroot}/out/mta_plugin_darwin_amd64", classifier: "da...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or withou...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- awa-permissions-controllers -- Permission controllers -- Copyright (C) 2011, 2012, 2013, 2014, 2016 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"...
-- 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; package Cortex_M_SVD.Debug is pragma Preelaborate; --------------- -- Registers -- --------------- -- Debug Fault Status Registe...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...