content stringlengths 23 1.05M |
|---|
with Ada.Command_Line;
with Ada.Exceptions;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
procedure hexlo is
begin
Put_Line("Ada hexlo program: begin");
Put_line("Ada hexlo program: end");
end hexlo;
|
package body Ada.Text_IO.Generic_Bounded_IO is
procedure Put (
File : File_Type;
Item : Bounded.Bounded_String) is
begin
Put (File, Item.Element (1 .. Item.Length)); -- checking the predicate
end Put;
procedure Put (
Item : Bounded.Bounded_String) is
begin
Put (Current_Out... |
-- -----------------------------------------------------------------------------
-- 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... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
-- Piloter un drone au moyen d'un menu textuel.
procedure Drone is
Demarrage: Boolean; -- True si le drone est demarré
Altitude: Integer; -- Valeur de l'altitude
Choix: Character; --... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
private with SAM.DMAC;
private with SAM.Clock_Generator;
private with SAM.Clock_Setup_120Mhz;
package PyGamer is
pragma Elaborate_Body;
private
use SAM.Clock_Generator;
Clk_CPU : constant Generator_Id := SAM.Clock_Setup_120Mhz.Clk_CPU;
Clk_120Mhz : constant Generator_Id := SAM.Clock_Setup_120Mhz.Clk_1... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2012 Felix Krause <contact@flyx.org>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licen... |
package body Opt57 is
type Phase_Enum is (None_Phase, FE_Init_Phase, FE_Phase);
type Message_State is (No_Messages, Some_Messages);
type Module_List_Array is array (Phase_Enum, Message_State) of List;
type Private_Module_Factory is limited record
Module_Lists : Module_List_Array;
end record;
... |
with VisitablePackage, EnvironmentPackage;
use VisitablePackage, EnvironmentPackage;
with Ada.Text_IO; use Ada.Text_IO;
package body IdentityStrategy is
----------------------------------------------------------------------------
-- Object implementation
------------------------------------------------------------... |
--------------------------------------------------------------------------
-- Copyright 2022 (C) Holger Rodriguez
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with HAL.GPIO;
with HAL.UART;
with Cortex_M.NVIC;
with RP2040_SVD.Interrupts;
with RP.Device;
with RP.Clock;
with RP.GPIO;
with RP.Timer;
with RP.UART;
w... |
with Animals.Humans;
with Animals.Flying_Horses;
use Animals;
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_Humans_Horses is
Rider : Humans.Human :=
Humans.Make ("Knight Rider",
Humans.Male);
Pegasus : Flying_Horses.Flying_Horse :=
Flying_Horses.Make (Flying_Horses.Snow_White);... |
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
with Yaml.Dom.Dumping.Test;
package body Yaml.Dumping_Tests.Suite is
Result : aliased AUnit.Test_Suites.Test_Suite;
Dom_Dumping_TC : aliased Dom.Dumping.Test.TC;
function Suite return AUnit... |
-----------------------------------------------------------------------
-- bean - A simple bean example
-- Copyright (C) 2009, 2010 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 ... |
with RTCH.Maths.Tuples;
with RTCH.Maths.Points;
package RTCH.Maths.Vectors with
Preelaborate is
subtype Vector is Tuples.Tuple; -- TODO - Make this a type?
function Make_Vector (X, Y, Z : Float) return Vector is
(Vector'(X => X,
Y => Y,
Z => Z,
W => 0.0));
... |
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with League.Strings.Hash;
package body Incr.Ada_Lexers is
package body Tables is separate;
... |
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package RP_SVD.PLL_SYS is
pragma Preelaborat... |
-----------------------------------------------------------------------
-- awa-modules-beans -- Module beans factory
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Compilation_Units;
with Program.Visibility;
with Program.Elements.Defining_Names;
with Program.Symbols;
private package ... |
with
any_Math.any_Algebra.any_Linear;
package float_Math.Algebra.linear is new float_Math.Algebra.any_linear;
pragma Pure (float_Math.Algebra.linear);
|
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F.... |
-- The Village of Vampire by YT, このソースコードはNYSLです
function Tabula.Casts.Load (Name : String) return Cast_Collection;
|
-----------------------------------------------------------------------
-- awa-wikis-modules-tests -- Unit tests for wikis service
-- Copyright (C) 2015, 2017 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... |
package Discr15_Pkg is
type Moment is new Positive;
type Multi_Moment_History is array (Natural range <>, Moment range <>) of Float;
type Rec_Multi_Moment_History (Len : Natural; Size : Moment) is
record
Moments : Multi_Moment_History(0..Len, 1..Size);
Last : Natural;
end record;
fu... |
with SDL.Keysym; use SDL.Keysym;
with Ada.Text_IO;
with Interfaces.C;
procedure Test_Enumerations is
package C renames Interfaces.C;
package Integer_IO is new Ada.Text_IO.Integer_IO (Integer);
package Text_IO renames Ada.Text_IO;
Index : Key := Key'First;
begin
Text_IO.Put_Line ("Identifier name ... |
with Trendy_Terminal.Histories;
with Trendy_Terminal.IO;
with Trendy_Terminal.Lines;
-- Things which can affect editing of lines within Trendy Terminal.
--
-- Line editing involves formatting, completion and handling of command history.
--
package Trendy_Terminal.IO.Line_Editors is
-- Updates a line to be a forma... |
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada.Numerics.Long_Complex_Types;
package Ada.Numerics.Long_Complex_Elementary_Functions is
new Generic_Complex_Elementary_Functions (Long_Complex_Types);
pragma Pure (Ada.Numerics.Long_Complex_Elementary_Functions);
|
package body env is
function validate_variable (s : string) return boolean is
begin
return gnat.regexp.match(s, variable_regexp);
end validate_variable;
end env; |
-- This spec has been automatically generated from STM32F7x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.USB_OTG_FS is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype OTG_FS_DCFG_DSPD... |
pragma License (Unrestricted);
-- runtime unit
with System.Unwind.Representation;
package System.Runtime_Context is
pragma Preelaborate;
-- equivalent to TSD (s-soflin.ads)
type Task_Local_Storage is record
Secondary_Stack : aliased Address;
Overlaid_Allocation : Address; -- for System.Storage_P... |
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Ada_Pretty.Joins is
--------------
-- Document --
--------------
overriding function Document
(Self ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2020, Fabien Chouteau --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
-- nymph.ada - Package file for the NymphRPC package.
--
-- Revision 0
--
-- 2018/09/24, Maya Posch
package NymphClient is
--
end NymphClient;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
package body impact.d2.Shape
is
function getKind (Self : in b2Shape'Class) return shape.Kind
is
begin
return self.m_Kind;
end getKind;
end impact.d2.Shape;
|
-- Copyright 2017-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... |
-----------------------------------------------------------------------
-- applications.views -- Ada Web Application
-- Copyright (C) 2009, 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 m... |
with Tkmrpc.Types;
package Tkmrpc.Contexts.esa
is
type esa_State_Type is
(clean,
-- Initial clean state.
invalid,
-- Error state.
stale,
-- ESA context is stale.
selected,
-- ESA is selected.
active
-- ESP SA is active.
);
function... |
--
-- 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 STM32.Device;
package body STM32.CORDIC.Interrupts is
-------------------------------
-- Calculate_CORDIC_Function --
-------------------------------
procedure Calculate_CORDIC_Function
(This : in out CORDIC_Coprocessor;
Argument : UInt32_Array;
Result : out UInt32_Array)
i... |
with Lv.Style;
with Lv.Objx.Cont;
package Lv.Objx.Btn is
subtype Instance is Obj_T;
type State_T is (State_Rel,
State_Pr,
State_Tgl_Rel,
State_Tgl_Pr,
State_Ina,
State_Num);
type Action_T is (Action_Click,
... |
--
-- Minimal steganography tool.
--
-- This demo is derived from mini.adb.
--
-- To do:
-- - encryption
with GID;
with Ada.Calendar;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Numerics.Elementary_Funct... |
-- MIT License
-- Copyright (c) 2021 Stephen Merrony
-- 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, including without limitation the rights
-- to use, copy, modify,... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Associations;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Element... |
pragma Style_Checks (Off);
with x86_64_linux_gnu_bits_types_h;
package x86_64_linux_gnu_bits_stdint_intn_h is
-- Define intN_t types.
-- Copyright (C) 2017-2018 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- The GNU C Library is free software; you can redistribute it a... |
-----------------------------------------------------------------------
-- awa-mail-clients-aws_smtp -- Mail client implementation on top of AWS SMTP client
-- Copyright (C) 2012, 2016 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the... |
with neural.Set;
package Neural.Forge
--
-- Declares a factory for creation/destruction of core types.
--
is
-- Pattern
--
function Creation (From : in Pattern) return Pattern;
procedure Destroy (Self : in out Pattern);
-- Patterns
--
function Creation (Fr... |
with
AdaM.Entity,
AdaM.Block,
gtk.Widget;
private
with
aIDE.Editor.of_exception_Handler,
gtk.Text_View,
gtk.Box,
gtk.Label,
gtk.Frame,
gtk.Expander;
package aIDE.Editor.of_block
is
type Item is new Editor.item with private;
type View is access all Item'Class;
... |
with GDNative.Thin;
package GDNative.Context is
procedure GDNative_Initialize (p_options : access Thin.godot_gdnative_init_options);
procedure GDNative_Finalize (p_options : access Thin.godot_gdnative_terminate_options);
procedure Nativescript_Initialize (p_handle : in Thin.Nativescript_Handle);
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler);
with STM32.Board; use STM32.Board;
-- with STM32.DMA2D; use STM32.DMA2D;
with STM32.DMA2D_Bitmap; use STM32.DMA2D_Bitmap;
with HAL; use HAL;
with HAL.Bitmap; use HAL.Bitmap;
-- We import the gameboy
with g... |
-- Author: A. Ireland
--
-- Address: School Mathematical & Computer Sciences
-- Heriot-Watt University
-- Edinburgh, EH14 4AS
--
-- E-mail: a.ireland@hw.ac.uk
--
-- Last modified: 13.9.2019
--
-- Filename: alarm.ads
--
-- D... |
-- The MIT License (MIT)
--
-- Copyright (c) 2016 artium@nihamkin.com
--
-- 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, including without limitation the rights
-... |
with Tkmrpc.Servers.Ike;
with Tkmrpc.Results;
with Tkmrpc.Request.Ike.Esa_Create.Convert;
with Tkmrpc.Response.Ike.Esa_Create.Convert;
package body Tkmrpc.Operation_Handlers.Ike.Esa_Create is
-------------------------------------------------------------------------
procedure Handle (Req : Request.Data_Type; Re... |
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Tk.Button.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Tk.Button.Test_Data
.Test with
... |
with Ada.Numerics.Elementary_Functions;
with Ada.Numerics.Generic_Real_Arrays;
with SDL.Video.Windows.Makers;
with SDL.Video.Renderers.Makers;
with SDL.Video.Palettes;
with SDL.Events.Events;
procedure Death_Star is
Width : constant := 400;
Height : constant := 400;
package Float_Arrays is
new Ada... |
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Unchecked_Deallocation;
package body Yaml.Stacks is
procedure Adjust (Object : in out Stack) is
begin
if Object.Data /= null then
Object.Data.Refcount := Object.Data.Ref... |
with Startup;
with Bootloader;
procedure Main is
begin
Bootloader.Start;
end Main;
|
with System;
procedure Thread_Func (Arg : System.Address);
pragma Convention (C, Thread_Func);
|
with OpenAL.Thin;
package body OpenAL.Listener is
--
-- Get_*
--
procedure Get_Gain (Gain : out Types.Float_t) is
Value : aliased Types.Float_t;
begin
Thin.Get_Listenerf
(Parameter => Thin.AL_GAIN,
Value => Value'Address);
Gain := Value;
end Get_Gain;
procedure Get_Orienta... |
with Ada.Text_IO;
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Generic_Real_Arrays;
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada_Lapack;
use Ada.Text_IO;
procedure ... |
package body Generic_Sliding_Statistics is
Buffer : array (1 .. Buffer_Size) of Element;
Buffer_Ix : Positive range Buffer'Range := Buffer'First;
Fill_Level : Natural range 0 .. Buffer'Last := 0;
package body Averages is
function Average (New_Reading : Element) return Element is
be... |
-- { dg-do compile }
-- { dg-options "-O2 -fdump-tree-optimized" }
pragma Suppress (Overflow_Check);
function Opt40 (X : Integer; Y : Integer) return Positive is
Z : Integer;
begin
if X >= Y then
return 1;
end if;
Z := Y - X;
return Z;
end;
-- { dg-final { scan-tree-dump-not "gnat_rcheck" "optim... |
-- { dg-do compile }
package body Addr8 is
procedure Proc (B: Bytes) is
O: Integer;
for O'Address use B'Address;
begin
null;
end;
end Addr8;
|
with Ada.Containers.Array_Sorting;
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
with System.Address_To_Named_Access_Conversions;
with System.Growth;
with System.Long_Long_Integer_Types;
package body Ada.Containers.Vectors is
pragma Check_Policy (Validate => Ignore);
use type Copy_On_Write.Data_... |
package Taft_Type1_Pkg1 is
procedure Check;
private
type TAMT1;
type TAMT1_Access is access TAMT1;
type TAMT2;
type TAMT2_Access is access TAMT2;
end Taft_Type1_Pkg1;
|
package body Incomplete5_Pkg is
function Get_Handle (Object: Base_Object) return Access_Type is
begin
return Object.Handle;
end;
function From_Handle (Handle: Access_Type) return Base_Object is
begin
return (Handle=>Handle);
end;
end Incomplete5_Pkg;
|
procedure Character_Type is
type char is new Character;
begin
null;
end Character_Type;
|
-- { dg-do compile }
-- { dg-options "-gnatc" }
package Sync_Iface_Test is
type Iface is limited interface;
procedure Do_Test
(Container : in out Iface;
Process : access procedure (E : Natural)) is abstract;
protected type Buffer is new Iface with
overriding procedure Do_Test
... |
-- { dg-do compile }
procedure Slice9 is
function Ident (I : Integer) return Integer is
begin
return I;
end;
subtype S is String (Ident(5)..Ident(9));
Dest : S;
Src : String (Ident(1)..Ident(5)) := "ABCDE";
begin
Dest (Ident(5)..Ident(7)) := Src (Ident(1)..Ident(3));
end;
|
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 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... |
-----------------------------------------------------------------------
-- awa-commands-stop -- Command to stop the web server
-- Copyright (C) 2020, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... |
-----------------------------------------------------------------------
-- awa-commands -- AWA commands for server or admin tool
-- 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... |
-- Auteurs : HATHOUTE Hamza, GUEMIL Walid
-- Equipe :
-- Mini-projet 1 : Le jeu du devin
with Ada.Text_Io; use Ada.Text_Io;
with Ada.Integer_Text_Io; use Ada.Integer_Text_Io;
-- TODO: à compléter...
procedure Jeu_Devin is
Min : constant Integer := 1;
Max : constant Integer := 999;
-- les nombres à tr... |
with Ada.Numerics.Elementary_Functions;
use Ada.Numerics.Elementary_Functions;
with Ada.Float_Text_Io; use Ada.Float_Text_Io;
with Ada.Text_IO; use Ada.Text_IO;
procedure Trig is
Degrees_Cycle : constant Float := 360.0;
Radians_Cycle : constant Float := 2.0 * Ada.Numerics.Pi;
Angle_Degrees : constant Float :=... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
Put_Line ("Hello there, general World!");
end Hello;
|
with Ada.Exception_Identification.From_Here;
with System.Native_Calendar;
package body Ada.Calendar.Time_Zones is
use Exception_Identification.From_Here;
function UTC_Time_Offset (Date : Time := Clock) return Time_Offset is
Result : Time_Offset;
Error : Boolean;
begin
System.Native_Calendar.... |
with Ada.Text_IO, Ada.Command_Line, Ada.Numerics.Float_Random,
Ada.Numerics.Generic_Elementary_Functions;
procedure Long_Basic_Stat is
package FRG renames Ada.Numerics.Float_Random;
package TIO renames Ada.Text_IO;
type Counter is range 0 .. 2**63-1;
type Result_Array is array(Natural range <>) of Coun... |
with Ada.Calendar;
with Ada.Text_IO;
use Ada.Calendar;
package body Timer is
function start return T is
result: T;
begin
result.clock := Ada.Calendar.Clock;
return result;
end start;
procedure reset(tm: in out T) is
begin
tm.clock := Ada.Calendar.Clock;
end reset;
functi... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Exceptions;
with System.Tasking.Protected_Objects.Entries;
package System.Tasking.Rendezvous is
-- required for accept statement by compiler (s-tasren.ads)
procedure Accept_Call (
E : Task_Entry_Index;
Uninterpreted... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- This spec has been automatically generated from STM32L4x3.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.CRC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype IDR_IDR_Field is HAL.U... |
pragma License (Unrestricted);
with Ada.Containers;
with Ada.Strings.Hash;
function Ada.Strings.Fixed.Hash (Key : String) return Containers.Hash_Type
renames Strings.Hash;
pragma Pure (Ada.Strings.Fixed.Hash);
|
package HAL.UART is
type UART_Status is
(Ok,
Err_Error,
Err_Timeout,
Busy);
type UART_Data_Size is
(Data_Size_8b,
Data_Size_9b);
type UART_Data_8b is array (Natural range <>) of Byte;
type UART_Data_9b is array (Natural range <>) of UInt9;
type UART_Port is limited in... |
with Project_Processor.Parsers.Abstract_Parsers;
with Plugins.Tables;
package Project_Processor.Parsers.Parser_Tables is
new Plugins.Tables (Root_Plugin_Type => Abstract_Parsers.Abstract_Parser,
Plugin_Parameters => Plugins.Parameter_Maps.Map,
Plugin_ID => Parser... |
-- Mojang API
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
--
-- OpenAPI spec version: 2020_06_05
--
--
-- NOTE: This package is auto generated by the swagger code generator 3.3.4.
-- https://openapi-generator.tech
-- Do not edit the class manuall... |
--===========================================================================
--
-- This package represents the definitions for
-- all ports
-- all standard definitions
-- for the Tiny RP2040 board
--
--===========================================================================
--
-- Copyright 2022 (C) Holge... |
with Ada.Command_Line;
use Ada.Command_Line;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Text_IO;
use Text_IO;
procedure Circle is
size : Integer;
procedure SetSize is
last : Integer;
begin
Get(Argument(1),size,last);
end SetSize;
function ShouldPaint(i,jj : Integer) return Boolean;
... |
-- CC3106B.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... |
-----------------------------------------------------------------------
-- css-core-properties -- 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 fil... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with GBA.Refs;
with GBA.BIOS;
with GBA.BIOS.Arm;
with GBA.BIOS.Memset;
with GBA.Display;
with GBA.Display.Tiles;
with GBA.Display.Backgrounds;
with GBA.Display.Backgrounds.Refs;
with GBA.Display.Objects;
with GBA.Display.Palettes;
with GBA... |
with PositionPackage, PathPackage, Ada.Text_IO, Ada.Assertions;
use PositionPackage, PathPackage, Ada.Text_IO, Ada.Assertions;
package TestPosition is
procedure run_test;
end TestPosition;
|
--
-- Copyright (C) 2012 Reto Buerki
-- Copyright (C) 2012 Adrian-Ken Rueegsegger
-- Hochschule fuer Technik Rapperswil
--
-- 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... |
------------------------------------------------------------------------------
-- Copyright (c) 2015, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
--------------------------------------------------------------------------
-- Arbitrary Precision Math Library
-- Joe Wingbermuehle 20020320 <> 20020327
--------------------------------------------------------------------------
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body Arbitrary... |
with Generic_Unit;
package Mission with SPARK_Mode is
package New_Unit is new Generic_Unit(Index_Type => Integer,
Element_Type => Float);
use New_Unit;
-- the mission can only go forward
type Mission_State_Type is (
UNKNOWN,
INITIALIZING,
SELF_TEST... |
-- Abstract:
--
-- See spec
--
-- Copyright (C) 2009, 2014-2015, 2017 - 2019 Free Software Foundation, Inc.
--
-- This file is part of the WisiToken package.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it under the terms of the GNU General Public License
-- as published... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.