content stringlengths 23 1.05M |
|---|
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Messages.vers;
with Slim.Messages.strm;
with Slim.Messages.grfb;
with Slim.Messages.grfe;
with Slim.Messages.visu;
with Slim... |
--PRÁCTICA 4: César Borao Moratinos (chat_server_2)
with Handlers;
with Ada.Text_IO;
with Ada.Calendar;
with Chat_Messages;
with Ordered_Maps_G;
with Chat_Procedures;
with Lower_Layer_UDP;
with Ada.Command_Line;
with Ada.Strings.Unbounded;
procedure Chat_Server_2 is
package ATI renames Ada.Text_IO;
p... |
with Ada.Characters.Handling;
with GNAT.OS_Lib;
with GNAT.Strings;
with System;
with Interfaces.C;
package body Resources is
function WAI_getExecutablePath
(Output : System.Address;
Capacity : Interfaces.C.int;
Dirname_Len : access Interfaces.C.int)
return Interfaces.C.int;
pra... |
with Ada.Streams;
package iconv.Streams is
pragma Preelaborate;
-- only reading
type In_Type is limited private;
-- subtype Open_In_Type is In_Type
-- with
-- Dynamic_Predicate => Is_Open (Open_In_Type),
-- Predicate_Failure => raise Status_Error;
-- management
function Open (
Decoder : in out Conve... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with Interfaces.C;
with System;
private package GL.API.Mac_OS_X is
pragma Preelaborate;
-- package for MacOSX-specific stuff
package IFC renames Interfaces.C;
subtype CFStringRef is Sy... |
-------------------------------------------------------------------------------
-- Copyright (c) 2016 Daniel King
--
-- 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... |
with Ada.Interrupts; use Ada.Interrupts;
package IRQ is
protected type Controller (IRQ : Interrupt_ID) is
procedure IRQ_Handler;
pragma Attach_Handler (IRQ_Handler, IRQ);
procedure Run;
end Controller;
end IRQ;
|
-- { dg-do compile }
procedure Discr_Test is
procedure P is begin null; end P;
task type Tsk1 is
entry rvT;
end Tsk1;
task body Tsk1 is
begin
accept rvT;
end Tsk1;
task type Tsk2 (pS : not null access procedure) is
entry rvT;
end Tsk2;
task body Tsk2 is
tskT : Tsk1;
begin
a... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-- Instantiate the generic package Ada.Strings.Bounded.Generic_Bounded_Length with a maximum length of 80 characters
package Flexible_String is new Ada.Strings.Bounded.Generic_Bounded_Length(80);
use Flexible_String;
Src : Bounded_String := To_Bounded_String("Hello");
Dest : Bounded_String := Src;
|
with Ada.Text_IO;
with Ada.Strings.Unbounded;
with ada.Text_IO.Unbounded_IO;
procedure test is
User_Input : Ada.Strings.Unbounded.Unbounded_String;
Line : Ada.Strings.Unbounded.Unbounded_String;
use Ada.Text_IO;
F : File_Type;
G: File_type;
begin
Put_Line ("Please enter your report: ");
User_Inp... |
-----------------------------------------------------------------------
-- procedure e_jacobi_eigen_tst_1, test of extended precision Jacobi
-- Copyright (C) 2008-2009 Jonathan S. Parker.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License ... |
with ACO.CANopen;
with Ada.Real_Time;
private with ACO.Events;
package ACO.Protocols.Network_Management.Masters is
type Master
(Id : ACO.Messages.Node_Nr;
Handler : not null access ACO.CANopen.Handler;
Od : not null access ACO.OD.Object_Dictionary'Class)
is new NMT with private;
... |
-- This spec has been automatically generated from STM32F427x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
with HAL;
package STM32_SVD.DCMI is
pragma Preelaborate;
---------------
-- Registers --
---------------
-----------------
-- CR_Register --
-------------... |
------------------------------------------------------------------------------
-- philosophers.ads
--
-- This package supplies a task type for the Philosophers in the Enhanced
-- Dining Philosophers simulation. It also defines an array of philosophers.
--
-- Entries:
--
-- Here_Is_Your_Name (Name) ass... |
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with LSP.Messages;
with Ada_LSP.Completions;
limited with Ada_LSP.Contexts;
package Ada_LSP.Completion_Tokens is
type Completion... |
package body Sorok is
procedure Hiext( S: in out Sor; E: in Elem ) is
begin
if not Is_Full(S) then
S.Size := S.Size + 1;
S.Adatok(S.Size) := E;
end if;
end;
procedure Lopop( S: in out Sor; E: out Elem ) is
begin
E := Lov(S);
... |
with
any_Math;
package float_Math is new any_Math (Real_t => Float);
pragma Pure (float_Math);
|
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Procedure_Body_Declarations;
with Program.Safe_Element_Visitors;
package body Lace.Element_Flat_Kinds is
type Visitor is new Prog... |
-- SPDX-FileCopyrightText: 2010-2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Matreshka.Internals.Unicode;
package WebIDL.Abstract_Sources is
pragma Preelaborate;
subtype Code_Unit_32 is Matreshka.Internals.Unicode.C... |
with AUnit.Assertions; use AUnit.Assertions;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation; use Rejuvenation;
with Rejuvenation.Finder; use Rejuvenation.Finder;
with Rejuvenation.Navigation; use... |
-----------------------------------------------------------------------
-- asf-lifecycles -- Lifecycle
-- Copyright (C) 2010, 2011, 2012, 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... |
with ImageRegions;
with PixelArray;
package ImageMoments is
type HuMoments is tagged record
h1, h2, h3, h4, h5, h6, h7: Float;
end record;
function match_I1(a, b: HuMoments) return Float;
function match_I2(a, b: HuMoments) return Float;
function match_I3(a, b: HuMoments) return Float;
function... |
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Martin Becker (becker@rcs.ei.tum.de>
with STM32.Timers; use STM32.Timers;
with System.OS_Interface;
-- @summary
-- Target-specific implementation of HIL for Timers. Pixracer.
packag... |
--------------------------------------------------------------------------------
-- --
-- Copyright (c) 2018 Alexander Gamper, All Rights Reserved. --
-- ... |
with Matrices;
pragma Elaborate_All (Matrices);
package Matrices_3D is new Matrices (3);
|
with OpenAL.Context;
with OpenAL.Types;
with OpenAL.Source;
private with OpenAL.Extension.EFX_Thin;
package OpenAL.Extension.EFX is
type Extension_t is private;
function Is_Present (Device : in Context.Device_t) return Boolean;
function Load_Extension return Extension_t;
--
-- Effects.
--
type Effe... |
package body Rejuvenation.Navigation is
function Is_Ancestor (Node1, Node2 : Ada_Node'Class) return Boolean is
begin
return
not Node2.Is_Null and then Is_Reflexive_Ancestor (Node1, Node2.Parent);
end Is_Ancestor;
function Is_Reflexive_Ancestor
(Node1, Node2 : Ada_Node'Class) return Bool... |
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
package body analog is
procedure ADC_Init (Input : GPIO_Point; Channel: UInt5) is
Input_Channel: constant Analog_Input_Channel := Channel;
All_Regular_Conversions : constant Regular_Channel_Conversions :=
(1 => (Channel => Input_Channel, Sample_Time => Sample_144_Cycles));
begin
Confi... |
-----------------------------------------------------------------------
-- css-core-selectors -- Core CSS API definition
-- Copyright (C) 2017 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... |
with Ada.Text_Io; use Ada.Text_Io;
with vectores; use vectores;
with rotar_derecha, escribir_vector;
procedure prueba_rotar_derecha is
-- este programa hace llamadas a rotar_derecha y es util
-- para comprobar si su funcionamiento es correcto
Vector1: Vector_de_enteros(1..10);
Vector2: Vector_de_entero... |
-- generic_list.ads -*- Ada -*-
--
-- This package defines a generic list and list iterator.
--
-- Author: Eric Gustafson
-- Date: 11 August 1998
--
-- ------------------------------------------------------------
--
-- $Revision$
--
-- $Log$
-- -----------------------------------------------------------... |
package body Package_With_Body is
procedure Procedure_To_Require_Body is
begin
null;
end Procedure_To_Require_Body;
end Package_With_Body;
|
-- { dg-do compile }
-- { dg-options "-gnatws -O" }
with Opt9_Pkg; use Opt9_Pkg;
procedure Opt9 is
type Array_T is array (1 .. N) of Integer;
type Clock_T is record
N_Ticks : Integer := 0;
end record;
type Rec is record
Values : Array_T;
Valid : Boolean;
Tstamp : Clock_T;
en... |
procedure function_instantiation is
begin
begin
declare
generic function func(pfp:in integer) return integer;
function func(pfp:in integer) return integer is
begin
return 0;
end func;
begin
declare
function p is new func;
begin
null;
e... |
with Ada.Text_IO;
With Ada.Integer_Text_IO;
procedure Hello is
use Ada.Text_IO;
use Ada.Integer_Text_IO;
Input: integer; -- integer for i/o statement
begin
Put_Line ("Enter 1 for Hello and 2 for Goodbye: ");
get (Input);
if Input = 1 then -- input for hello statement
Put_Li... |
------------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with System, System.Storage_Elements;
use System, System.Storage_Elements;
package body StrategyPackage is
function "<"(Left,Right: StrategyPtr) return Boolean is
laddr : Integer_Address := 0;
raddr : Integer_Address := 0;
begin
if left /= null then
laddr := To_Integer(Left.all'Address);
end if;
if ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Unchecked_Deallocation;
package body Registre is
procedure Free is
new Ada.Unchecked_Deallocation (Object => T_Cellule, Name => T_Registre);
-- Trouver si une clé est déjà présente ou non, utilisée dans ... |
-----------------------------------------------------------------------
-- wiki-documents -- Wiki document
-- Copyright (C) 2011, 2015, 2016, 2018, 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may n... |
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held li... |
-----------------------------------------------------------------------
-- search-fields-tests -- Tests for tokens
-- Copyright (C) 2020 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 excep... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
pragma Ada_2012;
with Protypo.Api.Engine_Values.Constant_Wrappers;
package body Protypo.Api.Engine_Values.Iterator_Wrappers is
-- package Gg is new Ada.Containers.Doubly_Linked_Lists (Integer);
--
-- type Z is access Gg.List_Iterator_Interfaces.Reversible_Iterator'Class;
--
-- W : GG.List;
-- X : Z :=... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Message_Visiters;
package body Slim.Messages.rtcs is
List_0 : constant Field_Description_Array :=
((Uint_8_Field, ... |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure euler33 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.S... |
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.DAC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_TSEL1_Field is HAL.UInt3;
subty... |
-- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Swedish is
pragma Style_Checks ("-mr");
pragma Warnings (Off, "*variable*is never read and never assigned*");
pragma Warnings (Off, "*mode could be*instead of*");
pragma Warnings (Off, "*formal parameter.*is not modified*");
... |
-------------------------------------------------------------------------------
-- 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 Incomplete4_Pkg is
type Circular_Type;
type Ptr is access Circular_Type;
type Circular_Type is array (1..100) of Ptr;
A : Circular_Type;
end Incomplete4_Pkg;
|
--- file: s-valuti.adb
with System.Case_Util; use System.Case_Util;
package body System.Val_Util is
procedure Bad_Value (S : String) is
begin
raise Constraint_Error with "bad input for 'Value: """ & S & '"';
end Bad_Value;
procedure Not_Tagged is
begin
null;
end Not_Tagged;
end System.Val_Util;
|
with System.Formatting.Literals;
with System.Long_Long_Integer_Types;
with System.Value_Errors;
package body System.Val_LLU is
subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned;
subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned;
-- implementation
function Value_Long_L... |
pragma Ada_2012;
with Interfaces;
with Interfaces.C;
with fastpbkdf2_h_generic;
package body Fastpbkdf2_Generic is
package fastpbkdf2 is new fastpbkdf2_h_generic
(Element, Interfaces.Unsigned_32, Interfaces.C.size_t);
use fastpbkdf2;
procedure PBKDF2_HMAC_SHA1
(Password : Element_Array; Salt ... |
-- -----------------------------------------------------------------------------
-- Copyright 2018 Lionel Draghi
--
-- 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.apach... |
-- { dg-do compile }
package body Discr27 is
subtype Index is Positive range 1..4096;
function F return String is
S : String(1..1) := (others =>'w');
begin
return S;
end;
type Enum is (One, Two);
type Rec (D : Enum := One; Len : Index := 1) is record
case D is
when On... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with HAL.Touch_Panel; use HAL.Touch_Panel;
with STM32.Board; use STM32.Board;
with STM32.GPIO; use STM32.GPIO;
with STM32.User_Button; use STM32;
with L3GD20; use L3GD20;
with Circles;
with Rectangles;
with HAL.Bitmap; use HAL.Bitmap;
with BMP_Fonts;
package body DemoLogic is
function Inputs(W : in out World;... |
------------------------------------------------------------------------------
-- --
-- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! --
-- --
-- ... |
with Orka.Behaviors;
with Orka.Cameras;
with Orka.Features.Atmosphere;
with Orka.Resources.Locations;
with Orka.Timers;
with Orka.Types;
with Orka.Rendering.Buffers;
with Orka.Rendering.Programs.Modules;
with Orka.Features.Terrain;
with GL.Objects.Textures;
with GL.Low_Level.Enums;
with Demo.Atmospheres;
with Planet... |
with STM32.Device;
with STM32.GPIO;
with STM32.I2C;
with Ravenscar_Time;
with VL53L1X;
package VL53L1X_Demo.Hardware is
Sensor_Port : STM32.I2C.I2C_Port renames STM32.Device.I2C_1;
-- These are my two VL53L1X devices, named for their supplier.
-- Only the Polulu breakout has XSHUT exported (disables the
... |
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ implementation of builtin field types --
-- |___/_|\_\_|_|____| by: Timm Felden ... |
with Function_Declaration;
procedure Function_Call is
Result : Integer;
begin
Result := Function_Declaration;
end Function_Call;
|
with Gtk.Main;
with Q_Bingada;
with Ada.Directories;
with Ada.Environment_Variables;
procedure Bingada is
begin
-- Set current directory to the APPDIR value path. In this way we
-- allow running from an AppImage and still find the resource files.
--
if Ada.Environment_Variables.Exists ("APPDIR") then
... |
package body HK_Data.TMP36 is
V_Ref : constant := 2.930; -- V (measured value)
V_25C : constant := 0.750; -- V
Scale : constant := 0.010; -- V/C
Calibration : constant := -1.0; -- C (experimental calibration)
Min_Temp : constant := Temperature_Range'First;
Max_Temp : constant :=... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Strings;
with Ada.Containers.Vectors;
with Meta.Classes;
package Meta.Read is
package Class_Vectors is new Ada.Contai... |
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Emanuel Regnath (emanuel.regnath@tum.de)
with HIL.Devices;
-- @summary
-- Target-independent specification for HIL of SPI
package HIL.SPI with
Spark_Mode => On
-- Abstra... |
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Cryptobox; use SPARKNaCl.Cryptobox;
with SPARKNaCl.Stream;
with Ada.Text_IO; use Ada.Text_IO;
procedure BadBox
is
AliceSK, BobSK : Secret_Key;
AlicePK, BobPK : Public_Key;
N : Stream.HSalsa20_Nonce;
S, S2 : Boolean;
subtype Text is Byte_Seq... |
--
-- Copyright (C) 2015 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This ... |
-----------------------------------------------------------------------
-- ADO Sqlite Database -- SQLite Database connections
-- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Test is
subtype Small is Integer range 0..99;
Input : Small;
begin
loop
Get(Input);
if Input = 42 then
exit;
else
Put (Input);
New_Line;
end if;
end loop;
end;
|
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
with Rejuvenation.Utils; use Rejuvenation.Utils;
package body Rejuvenation.Printer is
-- Private -------
procedure Print (Str : in out Unbounded_String; Node : Ada_Node'Class);
procedure Print (Str : in ou... |
package JSA.Directories is
procedure Rename_As_Backup (Name : in String);
-- Renames Name to Name & "~".
--
-- Doesn't do anything, if there isn't a file named Name.
-- Overwrites Name & "~", if it already exists.
end JSA.Directories;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2020, Fabien Chouteau --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure carremagique is
TAILLE : constant Integer := 5;
type Tcarre is array(1..TAILLE, 1..TAILLE) of Integer;
function Est_Magique(carre : in Tcarre) return Boolean is
somme : Integer;
ref : Intege... |
-- This spec has been automatically generated from cm0.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package Cortex_M_SVD.SCB is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Revision number, the p value ... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Low_Level.Enums;
with GL.Pixels;
with GL.Types.Colors;
with System;
package GL.Objects.Textures is
pragma Preelaborate;
------------------------------------------------------------------... |
with DDS.DataReader;
with DDS.DataWriter;
with DDS.ReadCondition;
with DDS.WaitSet;
with DDS.Request_Reply.Untypedcommon;
package DDS.Request_Reply.connext_c_untyped_impl is
use Untypedcommon;
function RTI_Connext_EntityUntypedImpl_Wait_For_Samples
(Self : not null access RTI_Connext_EntityU... |
-- { dg-do run }
procedure Unchecked_Union1 is
type Bit is (Zero, One);
type U (X : Bit := Zero) is record
case X is
when Zero => I: Integer;
when One => F : Float;
end case;
end record;
for U use record
I at 0 range 0 .. 31;
F at 0 range 0 .. 31;
end record;
pragma Unchecke... |
-----------------------------------------------------------------------
-- awa-mail-client -- Mail client interface
-- Copyright (C) 2012, 2020 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 fil... |
package body ACO.Protocols.Service_Data.Clients is
overriding
procedure Handle_Message
(This : in out Client;
Msg : in ACO.Messages.Message;
Endpoint : in ACO.SDO_Sessions.Endpoint_Type)
is
use ACO.SDO_Commands;
use type ACO.SDO_Sessions.Services;
Servic... |
-- unwind-pe.h is a part of gcc, not in runtime libraries.
pragma License (GPL); -- and "GCC Runtime Library Exception"
with C.stdlib;
with C.unwind;
package C.unwind_pe is
pragma Preelaborate;
procedure gxx_abort
renames stdlib.C_abort;
DW_EH_PE_absptr : constant := 16#00#;
DW_EH_PE_omit : constan... |
pragma Check_Policy (Trace => Ignore);
with Ada.Exception_Identification.From_Here;
with System.Address_To_Constant_Access_Conversions;
with System.UTF_Conversions.From_16_To_32;
with System.UTF_Conversions.From_32_To_16;
with System.Zero_Terminated_WStrings;
with C.winbase;
with C.winerror;
with C.winnt;
package body ... |
-- { dg-do run }
-- { dg-options "-gnatws" }
with Misaligned_Param_Pkg;
procedure Misaligned_Param is
procedure Channel_Eth (Status : out Integer; Kind : out Integer);
pragma Import (External, Channel_Eth);
pragma Import_Valued_Procedure
(Channel_Eth, "channel_eth", (Integer, Integer), (VALUE, REFEREN... |
-----------------------------------------------------------------------
-- mapping -- Example of serialization mappings
-- Copyright (C) 2010, 2011, 2012, 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
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
... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
package GESTE_Config is
subtype Output_Color is Character;
type Color_Index is range 1 .. 4;
subtype Tile_Index is Natural;
No_Tile : constant Tile_Index := 0;
Transparent : Constant Output_Color := 'T';
Tile_Size : constant := 5;
end GESTE_Config;
|
------------------------------------------------------------------------------
-- --
-- Copyright (c) 2014-2015 Vitalij Bondarenko <vibondare@gmail.com> --
-- --
----... |
with Ada.Containers.Indefinite_Ordered_Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with GNAT.Regpat;
package body URI is
package Part_Maps is
new Ada.Containers.Indefinite_Ordered_Maps (Parts, String);
subtype Part_Map is Part_Maps.Map;
-----------
-- Crack --
-----------
-... |
--------------------------------------------------------------------------------
-- Copyright (c) 2013, Felix Krause <contact@flyx.org>
--
-- 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 pe... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
package FLTK.Images.Pixmaps.GIF is
type GIF_Image is new Pixmap with private;
type GIF_Image_Reference (Data : not null access GIF_Image'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(Filename : in String)
... |
with
gel.Events,
gel.Camera.forge,
lace.Event.utility,
ada.unchecked_Deallocation;
package body gel.Applet.server_world
is
procedure define (Self : in gel.Applet.server_world.view; Name : in String;
space_Kind : in physics.... |
-----------------------------------------------------------------------
-- components-widgets-likes -- Social Likes Components
-- Copyright (C) 2013, 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... |
with OpenAL.Thin;
with System;
package body OpenAL.Buffer is
use type Types.Size_t;
--
-- Delete_Buffers
--
procedure Delete_Buffers
(Buffers : in Buffer_Array_t) is
begin
Thin.Delete_Buffers
(Size => Buffers'Length,
Sources => Buffers (Buffers'First)'Address);
end Delete_Buffe... |
package Max
with SPARK_Mode
is
Min_Table_Size : constant := 1;
Max_Table_Size : constant := 100;
Min_Content : constant := -200;
Max_Content : constant := 200;
type Index_Range is range Min_Table_Size .. Max_Table_Size;
type Content_Range is range Min_Content .. Max_Content;
type Our_Ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.