content stringlengths 23 1.05M |
|---|
with Ada.Containers.Indefinite_Vectors;
with Protypo.Api.Engine_Values.Engine_Value_Array_Wrappers;
with Protypo.Api.Engine_Values.Engine_Value_Vectors;
with Protypo.Api.Engine_Values.Handlers;
--
-- ## What is this?
--
-- This is a generic package that allows you to export to the template an "array
-- of something,"... |
-- Ada regular expression library
-- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with Ada.Characters.Latin_1;
with Ada.Unchecked_Deallocation;
with Regex.Utilities.Sorted_Sets;
with Regex.Utilities.String_Buffers;
package... |
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F.... |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
package body Trendy_Test.Assertions is
procedure Fail (Op : in out Operation'Class;
Message : String;
Loc : Source_Location := Make_Source_Location) is
begin
Op.Report_Failure (Message, Loc);
end Fail;
procedure Assert (Op : in out Operat... |
With
Risi_Script.Types.Internals;
Private With
Risi_Script.Types.Implementation;
Private Package Risi_Script.Types.Implementation.Creators is
Package Internal renames Risi_Script.Types.Internals;
Function Create ( Item : Internal.Integer_Type ) return Representation;
-- Function Create ( Item : Internal.Ar... |
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with Interfaces.C;
with Interfaces.C.Strings;
with swig;
with swig.pointers;
with xcb.Pointers;
with xcb.xcb_alloc_color_cells_cookie_t;
with xcb.xcb_alloc_color_cells_reply_t;
with xcb.xcb_alloc_color_cookie_t;
with xcb.xcb_alloc_colo... |
WITH GMP.Rationals, GMP.Integers, Ada.Text_IO, Ada.Strings.Fixed, Ada.Strings;
USE GMP.Rationals, GMP.Integers, Ada.Text_IO, Ada.Strings.Fixed, Ada.Strings;
PROCEDURE Main IS
FUNCTION Bernoulli_Number (N : Natural) RETURN Unbounded_Fraction IS
FUNCTION "/" (Left, Right : Natural) RETURN Unbounded_Fraction IS... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G ... |
---------------------------------------
--Zubrych E.S.
--Labwork 1
--MA = MB * MC + a * ( MK + MT)
---------------------------------------
with Ada
.Text_IO, Ada
.Integer_Text_IO, DataOperations, Ada
.Synchronous_Task_Control, System
.Multiprocessors;
use
Ada.Text_IO,
Ada.Integer_Text_IO,
Ada.Synchronous... |
with AAA.Strings;
with GNAT.OS_Lib; use GNAT.OS_Lib;
package body FSmaker.Source is
------------
-- Create --
------------
function Create (Src : String) return Instance is
Res : Instance;
begin
-- if AAA.Strings.Has_Prefix (Src, "http") then
-- declare
-- Proc :... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- A87B59A.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... |
package body Discr36_Pkg is
function Func return T is
Ret : T;
pragma Warnings (Off, Ret);
begin
return Ret;
end;
end Discr36_Pkg;
|
with impact.d2.Broadphase,
impact.d2.Contact,
impact.d2.world_Callbacks;
package impact.d2.contact.Manager
--
--
--
is
-- Delegate of b2World.
--
type b2ContactManager is tagged
record
m_broadPhase : aliased Broadphase.b2BroadPhase := broadphase.to_b2BroadPhase;
m_co... |
with System.Address_To_Named_Access_Conversions;
with System.Storage_Elements;
with C.string;
with C.winnls;
package body System.Zero_Terminated_WStrings is
pragma Suppress (All_Checks);
use type Storage_Elements.Storage_Offset;
package LPSTR_Conv is
new Address_To_Named_Access_Conversions (C.char, C.wi... |
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Command_Line;
with GNAT.OS_Lib;
with GNAT.Strings;
with Asis_Tool_2.Tool;
procedure Run_Asis_Tool_2 is
package ACL renames Ada.Command_Line;
package GCL renames GNAT.Command_Line;
type Options_Record is record -- Initialized
Config : GCL.Command_L... |
pragma Ada_2012;
package body Yeison_Multi is
------------
-- To_Int --
------------
function To_Int (Img : String) return Scalar is
begin
return raise Program_Error with "Unimplemented function To_Int";
end To_Int;
------------
-- To_Str --
------------
function To_Str (Img : Wi... |
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 Lionel Draghi <lionel.draghi@free.fr>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licen... |
-- This spec has been automatically generated from STM32WL5x_CM0P.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.HSEM is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype HSEM_R_PROCID_Fi... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore --
-- --
-- ... |
package body Lists is
function Has_Element (Position : Cursor) return Boolean is
begin
return Position /= No_Element;
end Has_Element;
end Lists;
|
with Ada.Strings.Maps.Constants; use Ada.Strings.Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Readable_Sequences.Generic_Sequences;
with Protypo.Tokens;
private package Protypo.Scanning is
Id_Charset : constant Character_Set := Constants.Alphanumeric_Set or To_Set ("_@");
Beg... |
pragma License (GPL);
------------------------------------------------------------------------------
-- EMAIL: <darkestkhan@gmail.com> --
-- License: GNU GPLv3 or any later as published by Free Software Foundation --
-- (see COPYING file) ... |
with Ada.Containers.Formal_Hashed_Maps;
with Ada.Containers.Formal_Hashed_Sets;
with TLSF.Block.Types;
package body TLSF.Block.Proof with SPARK_Mode is
package body Formal_Model is
------------------
-- Find_Address --
------------------
function Find_Address
... |
with Protypo.Api.Interpreters;
with Protypo.Api.Consumers.File_Writer;
with Protypo.Api.Engine_Values.Handlers;
with Callbacks;
procedure Simple_Example is
use Protypo.Api;
use Protypo.Api.Consumers;
Engine : Interpreters.Interpreter_Type;
Program : constant Interpreters.Template_Type :=
... |
package Vect17 is
type Sarray is array (1 .. 4) of Long_Float;
for Sarray'Alignment use 16;
procedure Add (X, Y : aliased Sarray; R : aliased out Sarray);
end Vect17;
|
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Text_IO; use Ada.Text_IO;
with Math; use Math;
with STL; use STL;
procedure test_unitaire is
-- Helper génération SVG
procedure Sauve_SVG(Segments : Liste_Points.Liste) is
Fichier : File_Type;
Nom_Fichier : String := "test_unitaire.svg";
... |
pragma SPARK_Mode;
with Types; use Types;
-- @summary
-- Interface for reading infrared sensors
--
-- @description
-- This package exposes the interface used to read values from the IR sensors
--
package Zumo_QTR is
-- Represents the maximum and minimum values found by a sensor during
-- a calibration... |
with Ada.Text_IO;
with Nestable_Lists;
procedure Flatten_A_List is
package Int_List is new Nestable_Lists
(Element_Type => Integer,
To_String => Integer'Image);
List : Int_List.List := null;
begin
Int_List.Append (List, Int_List.New_List (1));
Int_List.Append (List, 2);
Int_List.Append (L... |
-- Copyright (C) 2020 Glen Cornell <glen.m.cornell@gmail.com>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later versi... |
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ skills vector container implementation --
-- |___/_|\_\_|_|____| by: Dennis Przytarski, Timm Felden ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Parameter_Associations;
package Program.Elements.Pragmas is
pra... |
package LZW is
MAX_CODE : constant := 4095;
type Codes is new Natural range 0 .. MAX_CODE;
type Compressed_Data is array (Positive range <>) of Codes;
function Compress (Cleartext : in String) return Compressed_Data;
function Decompress (Data : in Compressed_Data) return String;
end LZW;
|
package Sync_Iface_Test is
type Iface is limited interface;
function First (Obj : Iface) return Natural is abstract;
protected type Buffer is new Iface with
procedure Dummy;
end;
overriding function First (Obj : Buffer) return Natural;
procedure Do_Test (Dummy : Natural; Item : Buffer);
end;
|
-- Motherlode
-- Copyright (c) 2020 Fabien Chouteau
with GESTE;
with GESTE.Physics;
with HAL;
with Parameters;
with World;
package Player is
procedure Spawn;
procedure Move (Pt : GESTE.Pix_Point);
function Position return GESTE.Pix_Point;
function Quantity (Kind : World.Valuable_Cell) return Natur... |
-- -----------------------------------------------------------------------------
-- smk, the smart make
-- © 2018 Lionel Draghi <lionel.draghi@free.fr>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 ... |
------------------------------------------------------------------------------
-- 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 --
-- --
-- ... |
generic
type Element is mod <>;
type Index is range <>;
type Element_Array is array (Index range <>) of Element;
Hash_Length : Index;
type Hash_Context is private;
with function Hash_Initialize (Input : Element_Array) return Hash_Context;
with procedure Hash_Update
(Ctx : in out Hash_Context... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- hestia-ports -- Heat port control
-- 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 except in c... |
--===========================================================================
--
-- This package represents the definitions for
-- all ports
-- all standard definitions
-- for the ItstyBitsy board
--
--===========================================================================
--
-- Copyright 2021 (C) Holger... |
with Ada.Calendar; use Ada.Calendar;
package body Lto16_Pkg is
function F return Float is
F1 : Float := Float (Seconds (Clock));
F2 : Float := Float (Seconds (Clock));
F : Float;
begin
if F1 > F2 then
F := (F2 - F1) / 2.0;
else
F := (F1 - F2) / 2.0;
end if;
return F;
end... |
package FLTK.Widgets.Valuators.Sliders.Scrollbars is
type Scrollbar is new Slider with private;
type Scrollbar_Reference (Data : not null access Scrollbar'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(X, Y, W, H : ... |
------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
-- CZ1103A.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.
-- Unlimi... |
--------------------------------------------------------------------------
-- ASnip Source Code Decorator
-- Copyright (C) 2006, Georg Bauhaus
--
-- 1. Permission is hereby granted to use, copy, modify and/or distribute
-- this package, provided that:
-- * copyright notices are retained unchanged,
-- ... |
--
-- Copyright (C) 2019, AdaCore
--
-- This spec has been automatically generated from FE310.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.FE310.PLIC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
subty... |
WITH TileADT, Text_IO;
PACKAGE BODY Input_Line IS
--
-- IMPLEMENTATION of Input_Line ADT
--
-- Maintenance Note
-- To add or modify commands, you'll need to change:
-- Case statement in Get_Command
-- enumerated type Command in specification
-- Legal_Commands constant in specification
TYPE M... |
-- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
... |
with Ada.Text_IO; use Ada.Text_io;
with Console; use Console;
procedure Demo is
begin
Put_Line("Text attributes :");
New_Line;
Put_Line(" Normal");
Put(" ");
Set_Bold;
Put_Line("bold");
Reset;
Put(" ");
Set_Italic;
Put_Line("italic");
Reset;
Put(" ");
Set_Und... |
------------------------------------------------------------------------------
-- --
-- JSON Parser/Constructor --
-- --
-- -... |
--------------------------------------------------------------------------------
-- package body Cholesky_LU, Cholesky decomposition
-- Copyright (C) 1995-2018 Jonathan S. Parker
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided ... |
-- { dg-do compile }
package Alignment1 is
S : Natural := 20;
pragma Volatile (S);
type Block is array (1 .. S) of Integer;
for Block'Alignment use 128;
B : Block;
end;
|
with Numerics, Ada.Text_IO;
use Numerics, Ada.Text_IO;
procedure Landscape is
use Real_IO, Int_IO, Real_Functions;
α : Real := 1.0e3;
function Phi (R : in Real) return Real is
begin
return 0.5 * (1.0 + Tanh (50.0 * (R - 0.5)));
end Phi;
function PE (Q : in Real_Vector) return Real is
... |
with Ada.Text_IO;
with Ada.Numerics.Generic_Real_Arrays;
procedure Gaussian_Eliminations is
type Real is new Float;
package Real_Arrays is
new Ada.Numerics.Generic_Real_Arrays (Real);
use Real_Arrays;
function Gaussian_Elimination (A : in Real_Matrix;
B : in Real_... |
-- BSD 3-Clause License
--
-- Copyright (c) 2017, 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:
--
-- * Redistributions of source code must retain the above copyright noti... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with Interfaces;
with kv.avm.references; use kv.avm.references;
with kv.avm.Instructions;
with kv.avm.Registers;
with kv.avm.Frames;
with kv.avm.Control;
package kv.avm.Processors is
Unimplemented_Error : exception;
Frame_Stopped_Error : exception;
type Processor_Type is tagged
record
Machin... |
with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Transport.Client is
procedure Connect (Address : String);
-- Connect to the RPC server given by socket address.
procedure Send_Receive
(Req_Data : Request.Data_Type;
Res_Data : out Response.Data_Type);
-- Send request data to RPC serv... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
-- This unit is based on BBqueue.Offsets_Only and embeds an internal buffer.
-- It provides directly usable slices of memory from its internal buffer:
--
-- Q : aliased Buffer (64);
-- WG : Write_Grant := Empty;
-- S : Slice_Rec;
-- begin
-- Grant (Q, WG, 8);
-- if State (WG) = Valid then
--... |
-- Copyright (c) 2012, mulander <netprobe@gmail.com>
-- All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
with Ada.Finalization;
with Terminal_Interface.Curses;
with Crawler.Entities;
package Crawler_Interface is
package Curses renames Termi... |
WITH Ada.Text_Io; USE Ada.Text_Io;
procedure Ver_Contiene_Caracter is
-- salida: 7 booleanos(SE)
-- post: corresponden a cada uno de los casos de pruebas dise�ados.
-- pre: { True }
function Contiene_Caracter (
S : String;
L : Character)
return Boolean is
-- EJERCICIO 3- ESPECIFIC... |
with Ada.Text_IO;
with PrimeInstances;
package body Problem_50 is
package IO renames Ada.Text_IO;
package Positive_Primes renames PrimeInstances.Positive_Primes;
procedure Solve is
sieve : constant Positive_Primes.Sieve := Positive_Primes.Generate_Sieve(1_000_000);
is_Prime : Array(2 .. sieve(siev... |
package HAL_Interface with SPARK_Mode is
pragma Preelaborate;
type Byte is mod 2**8;
type Port_Type is interface; -- abstract tagged null record; -- interface
type Configuration_Type is null record;
subtype Address_Type is Integer;
type Data_Type is array(Natural range <>) of Byte;
... |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="11">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName></userIPName>
<cdfg class_id="1" tracking_level="1" version="... |
--------------------------------------------------------------------------------
-- 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 Componolit.Runtime.Debug;
procedure Main
is
procedure Delay_Ms(Ms : Natural) with
Import,
Convention => C,
External_Name => "delayMicroseconds";
function Message return String;
function Message return String
is
begin
return "Make with Ada!";
end Message;
begin
Comp... |
-----------------------------------------------------------------------
-- keystore-repository-keys -- Data keys management
-- Copyright (C) 2019, 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 ... |
--
-- Copyright (C) 2020, AdaCore
--
-- This spec has been automatically generated from STM32F401.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.STM32.RCC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
su... |
with STM32GD.EXTI; use STM32GD.EXTI;
with STM32_SVD.RTC; use STM32_SVD.RTC;
package body RTC_IRQ is
protected body Handler is
procedure IRQ_Handler is
begin
RTC_Periph.ISR.ALRAF := 0;
if External_Interrupt_Pending (EXTI_Line_17) then
Set_True (Alarm_Occurred);
... |
with DDS.Request_Reply.Tests.Simple.Replier;
procedure DDS.Request_Reply.Tests.Simple.Replier_Main is
Replier : Simple.Replier.Ref_Access :=
DDS.Request_Reply.Tests.Simple.Replier.Create
(Participant => Participant,
Service_Name => Service_Name,
... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
--with Ada.Text_IO; use Ada.Text_IO;
with Greetings;
with Ada.Text_IO; use Ada.Text_IO;
procedure Greeter is
begin
Put_Line (Greetings.Hello);
Greetings.Swear (Greetings.Hello, 12);
Greetings.Swear ("good evening", 20);
end Greeter;
|
-----------------------------------------------------------------------
-- awa-storages-module -- Storage management module
-- 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 ... |
with Incomplete5_Pkg;
package Incomplete5 is
type Rec1 is private;
type Rec2 is private;
package My_G is new Incomplete5_Pkg (Rec1);
use My_G;
function Get (O: Base_Object) return Integer;
private
type Rec1 is record
I : Integer;
end record;
type Rec2 is record
A : Access_Ty... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin P(); end;
|
with HAL;
generic
with package I2C is new HAL.I2C (<>);
Address : I2C.I2C_Address;
package Drivers.Si7060 is
subtype Temperature_Type is Integer range -10000 .. 10000;
function Init return Boolean;
function Temperature_x100 (R : out Temperature_Type) return Boolean;
end Drivers.Si7060;
|
-----------------------------------------------------------------------
-- asf-requests-tests - Unit tests for requests
-- Copyright (C) 2012, 2013 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... |
-- NORX
-- an Ada implementation of the NORX Authenticated Encryption Algorithm
-- created by Jean-Philippe Aumasson, Philipp Jovanovic and Samuel Neves
-- Copyright (c) 2016-2018, James Humphry - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
No_Implementation_Unit... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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... |
with Ada.Finalization; use Ada.Finalization;
with EU_Projects.Nodes.Action_Nodes.WPs;
package body EU_Projects.Nodes.Timed_Nodes.Milestones is
------------
-- Create --
------------
function Create
(Label : Milestone_Label;
Name : String;
Short_... |
with Ada.Text_IO;
with Nilakantha;
use Nilakantha;
procedure Main is
Approximator : NilakanthaSeries;
Pi : Long_Float;
begin
for UnusedVariable in 0 .. 150_000 loop
Iterate(Approximator);
end loop;
Pi := GetPi(Approximator);
Ada.Text_IO.Put("pi = ");
Ada.Text_IO.Put_Line(Long_Float'... |
with
lace.Observer,
system.RPC,
ada.Exceptions,
ada.Strings.unbounded,
ada.Text_IO;
package body chat.Registrar
is
use ada.Strings.unbounded;
use type Client.view;
procedure last_chance_Handler (Msg : in system.Address;
Line : in Integer);
pra... |
with STM32GD.Board; use STM32GD.Board;
procedure Main is
begin
Init;
LED2.Clear;
LED.Set;
loop
if BUTTON.Is_Set then
LED2.Toggle;
LED.Toggle;
end if;
end loop;
end Main;
|
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package bits_floatn_common_h is
-- Macros to control TS 18661-3 glibc features where the same
-- definitions are appropriate for all platforms.
-- Copyright (C) 2017-2021 Free Software Foundation, Inc.
-- This file is part... |
-- This file is generated by SWIG. Do *not* modify by hand.
--
with Interfaces.C;
package LLVM_Analysis is
-- LLVMVerifierFailureAction
--
type LLVMVerifierFailureAction is (
LLVMAbortProcessAction,
LLVMPrintMessageAction,
LLVMReturnStatusAction);
for LLVMVerifierFailureAction use
... |
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Types;
package Ada.Numerics.Complex_Types is
new Generic_Complex_Types (Float);
pragma Pure (Ada.Numerics.Complex_Types);
|
--
-- This is a very basic wrapper package performing proper instantiations and defining types.
-- Everything can be done explicitly in a few lines of code, as shown in main demo procedure.
-- However this is shown for completeness and also to demonstrate how partial view can
-- present inheritance in a much more evide... |
-----------------------------------------------------------------------
-- gen-artifacts-docs-markdown -- Artifact for GitHub Markdown documentation format
-- Copyright (C) 2015, 2017, 2018, 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License,... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
-- Abstract:
--
-- See spec.
--
-- Copyright (C) 2017 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) a... |
-- This spec has been automatically generated from STM32F7x9.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.FLASH is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype ACR_LATENCY_Field is... |
--*****************************************************************************
--*
--* PROJECT: BingAda
--*
--* FILE: q_csv.ads
--*
--* AUTHOR: Javier Fuica Fernandez
--*
--* NOTES: This code was taken from Rosetta Code and modifyied to fix
-- BingAda needs and Style Guide.
--*
--... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.