content stringlengths 23 1.05M |
|---|
-- C41203A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
with constants;
use constants;
package objects is
type Mode is (CALM,TALKATIVE);
type operatorT is ('+', '-', '*');
type operatorsArray is array(0..2) of operatorT;
NL : constant String := Character'Val(13) & Character'Val(10);
protected type ProtectedCounter is
function Get return Intege... |
-----------------------------------------------------------------------
-- util-serialize-io -- IO Drivers for serialization
-- Copyright (C) 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... |
-- { dg-do run }
with System;
procedure Interface1 is
package Pkg is
type I1 is interface;
type Root is tagged record
Data : string (1 .. 300);
end record;
type DT is new Root and I1 with null record;
end Pkg;
use Pkg;
use type System.Address;
Obj : DT;
procedure IW... |
-- 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 Bases.Ship.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Bases.Ship.Test_Data
.Test with
... |
------------------------------------------------------------------------------
-- Copyright (c) 2015-2017, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Giza.Colors; use Giza.Colors;
with Giza.Widget;
with Giza.Widget.Button;
with Giza.Types; use Giza.Types;
use Giza;
package body Test_Tiles_Window is
-------------
-- On_Init --
-------------
overriding procedure On_Init
(This : in out Tiles_Window)
is
function New_Text (Str : String) ... |
with Ada.Calendar; use Ada.Calendar;
with Ada.Calendar.Formatting; use Ada.Calendar.Formatting;
with Ada.Calendar.Time_Zones; use Ada.Calendar.Time_Zones;
with Ada.Text_IO; use Ada.Text_IO;
with Net_Times;
procedure Test is
-- use type Time_Offset;
Now : Time := Clock;
PST : Net_Times.... |
package body Tkmrpc.Contexts.isa
is
pragma Warnings
(Off, "* already use-visible through previous use type clause");
use type Types.isa_id_type;
use type Types.ae_id_type;
use type Types.ia_id_type;
use type Types.key_type;
use type Types.rel_time_type;
use type Types.duration_type;
pragma... |
-- { dg-do run { target i?86-*-* x86_64-*-* alpha*-*-* ia64-*-* } }
-- { dg-options "-O2" }
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Interfaces; use Interfaces;
with Ada.Unchecked_Conversion;
procedure Opt47 is
subtype String4 is String (1 .. 4);
function To_String4 is n... |
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.WDT is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Control
type WDT_CTRLA_Register is rec... |
with Ada.Long_Integer_Text_IO;
-- Copyright 2021 Melwyn Francis Carlo
procedure A008 is
use Ada.Long_Integer_Text_IO;
Thousand_Digit_Num : constant String :=
"73167176531330624919225119674426574742355349194934" &
"96983520312774506326239578318016984801869478851843" &
"8586156078911294949545... |
with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.With_Clauses is
use type LALCO.Ada_Node_Kind_Type;
procedure Extract_Edges
(Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context)
is
begin
if Node.Kind = LALCO.Ada_With_Clause then
declare... |
-------------------------------------------------------------------------------
-- 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... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A ... |
-----------------------------------------------------------------------
-- util-systems-dlls -- Windows shared library support
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... |
------------------------------------------------------------------------------
-- Copyright (c) 2014-2015, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
pragma License (Unrestricted);
-- implementation unit specialized for Darwin (or FreeBSD)
with C.signal;
package System.Interrupt_Numbers is
pragma Preelaborate;
use type C.signed_int;
First_Interrupt_Id : constant := C.signal.SIGHUP;
Last_Interrupt_Id : constant :=
Boolean'Pos (C.signal.SIGRTMAX > ... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
with Ada.Text_IO, suma_impar_montana;
use Ada.Text_IO;
procedure Prueba_suma_impar_montana is
--Programa de pruebas para el laboratorio 5
F: File_Type;
begin
-- IMPORTANTE
-- Como te comente, he probado a guardar los txt en una carpeta y modificado la ruta, en caso de
-- querer utilizarlos sin la carpeta so... |
pragma Ada_2012;
with GNAT.Source_Info;
package body GStreamer.Rtsp.Transport.Tests is
----------
-- Name --
----------
Test_Name : constant String := GNAT.Source_Info.Enclosing_Entity;
function Name (Test : Test_Case) return Message_String is
pragma Unreferenced (Test);
begin
return For... |
-----------------------------------------------------------------------
-- util-log-locations -- General purpose source file location
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (th... |
-- AoC 2020, Day 7
-- with Ada.Text_IO;
with Bag; use Bag;
with Ada.Containers;
with Ada.Containers.Ordered_Sets;
with Ada.Containers.Indefinite_Ordered_Maps;
package body Day is
-- package TIO renames Ada.Text_IO;
use Bag.Bag_Maps;
package Color_Sets is new Ada.Containers.Ordered_Sets
(Element_Type => Bag_... |
-----------------------------------------------------------------------
-- awa-wikis-parsers -- Wiki parser
-- Copyright (C) 2011, 2015 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... |
-- This spec has been automatically generated from STM32F46_79x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.DBG is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype DBGMCU_IDCODE_DEV_I... |
package Command_Line with SPARK_Mode is
type Exit_Status is new Integer;
function Argument_Count return Natural with
Global => null;
procedure Set_Exit_Status (Code : Exit_Status) with
Global => null;
function Argument (Number : Positive) return String with
Global => null,
Pre => Number >... |
--
-- Copyright (C) 2016 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 ... |
generic
type Element_Type is private;
package Container is
type Tree is tagged private;
procedure Replace_All(The_Tree : in out Tree; New_Value : Element_Type);
private
type Node;
type Node_Access is access Node;
type Tree tagged record
Value : Element_type;
Left : Node_Access := null;
... |
with kv.avm.Test;
with kv.avm.Asm_Tests;
with kv.avm.Comm_Tests;
with kv.avm.Vole_Tests;
package body avm_suite is
function Suite return Access_Test_Suite is
Answer : constant Access_Test_Suite := new Test_Suite;
begin
Answer.Add_Test(new kv.avm.Test.Test_1);
Answer.Add_Test(new kv.avm.Test.Te... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
package GBA.BIOS.Raw is
pragma Preelaborate;
end GBA.BIOS.Raw; |
with HWIF;use HWIF;
with HWIF_Types; use HWIF_Types;
--with Ada.Text_IO; use Ada.Text_IO;
procedure TrafficLightSwitcher (dir : in Direction) is
begin
if Traffic_Light(dir) = 4 then --If Red Light.
delay 1.0;
Traffic_Light(dir) := 6; --Amber/Red
delay 3.0; --Safety Req: Ambe... |
------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
with Extraction.Graph_Operations;
private package Extraction.Project_Files is
procedure Extract_Nodes
(Project : GPR.Project_Type;
Graph : Graph_Operations.Graph_Context);
procedure Extract_Edges
(Project : GPR.Project_Type;
Recurse_Projects : Boolean;
Graph : ... |
X : Image (1..16, 1..16);
begin
Fill (X, White);
Quadratic_Bezier (X, (8, 2), (13, 8), (2, 15), Black);
Print (X);
|
package body Test_Date.Append is
File_Name : constant String := "tmp/test-append-date.sf";
procedure Initialize (T : in out Test) is
begin
Set_Name (T, "Test_Date.Append");
Ahven.Framework.Add_Test_Routine (T, Read_Append_Read'Access, "read, append, read");
Ahven.Framework.Add_Test_Routine ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
generic
type Swap_Type is private; -- Generic parameter
procedure Generic_Swap(Left : in out Swap_Type; Right : in out Swap_Type);
procedure Generic_Swap(Left : in out Swap_Type; Right : in out Swap_Type) is
Temp : Swap_Type := Left;
begin
Left := Right;
Right := Temp;
end Generic_Swap;
|
with Memory.Transform.Flip; use Memory.Transform.Flip;
with Parser.Transform_Parser;
separate (Parser)
procedure Parse_Flip(parser : in out Parser_Type;
result : out Memory_Pointer) is
package Flip_Parser is new Transform_Parser(
T_Type => Flip_Type,
T_Pointer ... |
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Cross_Reference_Updaters;
with Program.Element_Vector_Factories;
with Program.Element_Vectors;
with Program.Implicit_Element_Factories;
wi... |
package openGL.IO.lat_long_Radius
--
-- Provides a function to convert a model file containing longitude, latitude
-- and radius triplets (one triplet per line) to an openGL IO model.
--
is
function to_Model (model_File : in String) return IO.Model;
function to_Model (math_Model : access Geome... |
with System.Storage_Elements; use System.Storage_Elements;
package Slice7_Pkg is
procedure Put (The_Object : in Storage_Array);
end Slice7_Pkg;
|
with Test_Solution; use Test_Solution;
package Problem_11 is
type Grid is array(Natural range <>, Natural range <>) of Natural;
function Solution_1( G : Grid ) return Integer
with Pre => G'Length(1) = G'Length(2);
procedure Test_Solution_1;
function Get_Solutions return Solution_Case;
end ... |
package pointer_variable_bounds_q is
type A_SIZE_TYPE is new INTEGER range 0 .. 65536;
function A_MAX_COMPS return A_SIZE_TYPE;
end pointer_variable_bounds_q;
|
package openGL.Light
--
-- Models a light.
--
is
type Item is abstract tagged private;
function is_On (Self : in Item) return Boolean;
procedure is_On (Self : in out Item; Now : in Boolean := True);
function Site (Self : in Item) return openGL.Site;
procedure Site_is (Self :... |
with AUnit.Test_Fixtures;
with AUnit.Test_Suites;
package Tests is
function Suite return AUnit.Test_Suites.Access_Test_Suite;
private
type Fixture is new AUnit.Test_Fixtures.Test_Fixture with null record;
procedure Swap_Endian_Test (Object : in out Fixture);
procedure Native_To_Big_Endian_And_Back_Test (O... |
-- Test Jacobi Eigendecomposition of real valued square matrices.
with Ada.Numerics.Generic_elementary_functions;
with Jacobi_Eigen;
with Test_Matrices;
with Text_IO; use Text_IO;
procedure jacobi_eigen_tst_1 is
type Real is digits 15;
--Matrix_Size : constant := 2277;
--Matrix_Size : constant := 597;
Matr... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with Interfaces;
package System.Arith_64 is
pragma Pure;
-- implementation for multiplication with Overflow_Check (arit64.c)
function Multiply (X, Y : Interfaces.Integer_64)
return Interfaces.Integer_64
with Export, Conve... |
-- ////////////////////////////////////////////////////////////
-- //
-- // 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... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_a is
procedure R(N: Integer) is
begin
if N = 0 then return; end if;
Put('a');
R(N - 1);
end;
begin
R(42);
New_Line;
end TEST_a;
|
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Definitions;
package Program.Elements.Formal_Type_Definitions is
pragma Pure (Program.Elements.Formal_Type_... |
package Benchmark.Matrix.LU is
type LU_Type is new Matrix_Type with private;
function Create_LU return Benchmark_Pointer;
overriding
procedure Run(benchmark : in LU_Type);
private
type LU_Type is new Matrix_Type with null record;
end Benchmark.Matrix.LU;
|
-- Copyright (c) 2014 onox <denkpadje@gmail.com>
--
-- 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 permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND T... |
package body Pack22_Pkg is
package body Bit_Map_Generic is
function "xor" (L, R : List) return List is
Temp : List;
for Temp'address use Temp_buffer'address;
begin
Temp.Bits := L.Bits xor R.Bits;
Temp.Counter.Counter := 0;
return Temp;
end;
... |
package Opt23_Pkg is
function N return Positive;
pragma Import (Ada, N);
type Path is array(1 .. N) of Long_Float;
type Path_Vector is array (Positive range <>) of Path;
type Path_Vector_P is access all Path_Vector;
type Path_Vector_PV is array(Positive range <>) of Path_Vector_P;
type Path_Vecto... |
-- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- USCI_A0 UART Mode
package MSP430_SVD.USCI_A0_UART_MODE is
pragma Preelaborate;
---------------
-- Registers --
---------------
... |
with Units.Vectors; use Units.Vectors;
with Units; use Units;
package Dynamics3D is
-- Rotation Systems
type Tait_Bryan_Angle_Type is (ROLL, PITCH, YAW);
type Euler_Angle_Type is (X1, Z2, X3);
subtype Wind_Speed is
Units.Linear_Velocity_Type range 0.0 .. 50.0; -- 180 km/h
--
--
-- type Pos... |
--
-- 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 GESTE;
with GESTE.Maths_Types;
with GESTE_Config;
pragma Style_Checks (Off);
package Game_Assets is
Palette : aliased GESTE.Palette_Type := (
0 => 391,
1 => 59147,
2 => 22089,
3 => 58727,
4 => 52303,
5 => 4907,
6 => 41834,
7 => 39694,
8 => 16847,... |
with Types; use Types;
package Inputs is
subtype Position_X is Integer range 160 .. 239;
subtype Position_Y is Integer range 0 .. 319;
type Layout_Array is array (0 .. 1, 0 .. 7) of Integer;
Layout : constant Layout_Array := ((1, 2, 3, 16#C#, 7, 8, 9, 16#E#),
(4, ... |
-- Ascon
-- an Ada / SPARK implementation of the Ascon Authenticated Encryption Algorithm
-- created by Christoph Dobraunig, Maria Eichlseder, Florian Mendel and
-- Martin Schläffer
-- Copyright (c) 2016-2018, James Humphry - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with System;
private package CUPS.cups_sidechannel_h is
CUPS_SC_FD : constant := 4; -- cups/sidechannel.h:41
-- * "$Id: sidechannel.h 10996 2013-05-29 11:51:34Z msweet $"
-- *
-- * Side-channel A... |
-- POK header
--
-- The following file is a part of the POK project. Any modification should
-- be made according to the POK licence. You CANNOT use this file or a part
-- of a file for your own project.
--
-- For more information on the POK licence, please see our LICENCE FILE
--
-- Pleas... |
with Ada.Wide_Wide_Text_IO;
package body Handlers is
use type League.Strings.Universal_String;
function "+"
(Item : Wide_Wide_String) return League.Strings.Universal_String
renames League.Strings.To_Universal_String;
------------------
-- Error_String --
------------------
overriding f... |
generic
Size : in Positive;
type Element_Type (<>) is private;
type Element_Ptr is access all Element_Type;
package Lto9_Pkg2 is
subtype Index is Positive range 1 .. (Size + 1);
type List_Array is array (Index) of Element_Ptr;
type List_Type is record
Elements : List_Array;
end rec... |
with System; use System;
with AVTAS.LMCP.Types; use AVTAS.LMCP.Types;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package AVTAS.LMCP.ByteBuffers is
Maximum_Length : constant := UInt32'Last - 1;
subtype Index is UInt32 range 1 .. Maximum_Length;
type ByteBuffer (Capacity : Ind... |
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were David Taback and Deepak Tolani.
-- Enhancements were made by Ronald J. Schmalz.
--
-- Send requests for ayacc information to ayacc-info@ics.uci.edu
-- Send bug reports for ayacc to ... |
with Ada.Text_IO;
use Ada.Text_IO;
procedure Fizzbuzz is
i : Integer;
begin
i := 1;
for i in Integer range 1 .. 100 loop
if i mod 3 = 0 and i mod 5 = 0 then
Put_Line ("FizzBuzz");
elsif i mod 5 = 0 then
Put_Line("Buzz");
elsif i mod 3 = 0 then
Put_Line("Fizz");
e... |
-- Copyright 2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "SpyOnWeb"
type = "scrape"
function start()
set_rate_limit(2)
end
function horizontal(ctx, domain)
local page, err = request(ctx, {url=build_url(domain)}... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- Abstract :
--
-- Output Elisp code implementing the grammar defined by the parameters.
--
-- Copyright (C) 2012 - 2015, 2017 - 2019 Free Software Foundation, Inc.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it under terms of the GNU General Public License as
-- publis... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
-- les N reines
procedure NQueens is
procedure PrintInt(N: Integer) is
C: Integer := N rem 10;
begin
if N > 9 then PrintInt(N / 10); end if;
Put(Character'Val(48 + C));
end;
-- des ensembles représentés par des entiers
Empty: Integer := 0;
functio... |
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Debug; use SPARKNaCl.Debug;
with SPARKNaCl.Hashing; use SPARKNaCl.Hashing;
with Interfaces; use Interfaces;
procedure Hash
is
R1 : Bytes_64;
-- Case 1: same as NaCl standard test suite
M3 : constant String (1 .. 8) := "testing" & ASCII.LF;
M4 ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with
Ada.Integer_Text_IO,
Ada.Text_IO;
with
JSA.Intermediate_Backups;
package body JSA.Tests.Intermediate_Backups is
overriding
procedure Initialize (T : in out Test) is
use Ahven.Framework;
begin
T.Set_Name ("Intermediate backups");
Add_Test_Routine (T, Run'Access, "Run");
end In... |
-- Copyright 2015 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... |
with System; use System;
with SAM.TC; use SAM.TC;
with SAM.SERCOM.USART; use SAM.SERCOM.USART;
with SAM.SERCOM.SPI; use SAM.SERCOM.SPI;
with SAM.SERCOM.I2C; use SAM.SERCOM.I2C;
with SAM.SERCOM; use SAM.SERCOM;
with SAM.Port; use SAM.Port;
with SAM.ADC; use SAM.ADC;
-- Generated by a script from an "avr tools device f... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
package body AdaBase.Driver.Base is
------------------------
-- trait_autocommit --
------------------------
overriding
function trait_autocommit (driver : Base_Driver) return Boolean is
be... |
with Interfaces;
with Ada.Finalization;
with Ada.Streams;
with kv.avm.references; use kv.avm.references;
limited with kv.avm.Memories;
limited with kv.avm.Registers;
with kv.avm.Actor_References.Sets;
package kv.avm.Tuples is
use Interfaces;
Immutability_Error : exception;
-- A (constant) register map use... |
with System.Tasks;
with System.Debug; -- assertions
with C.winbase;
with C.windef;
with C.winerror;
package body System.Synchronous_Objects.Abortable is
use type C.windef.DWORD;
-- queue
procedure Take (
Object : in out Queue;
Item : out Queue_Node_Access;
Params : Address;
Filter : ... |
package Unicode is
pragma Pure;
subtype Unicode_Character is Wide_Wide_Character
range Wide_Wide_Character'Val (16#00_0000#)
.. Wide_Wide_Character'Val (16#10_FFFF#);
BEL : constant Unicode_Character
:= Wide_Wide_Character'Val (Character'Pos (ASCII.BEL));
BS : constant Unicode_Ch... |
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
with Tkmrpc.Servers.Cfg;
with Tkmrpc.Response.Cfg.Tkm_Limits.Convert;
package body Tkmrpc.Operation_Handlers.Cfg.Tkm_Limits is
-------------------------------------------------------------------------
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type) is
pragma Unreferenced (Req);
... |
with
ada.Containers.Vectors;
generic
with package Vectors is new ada.Containers.Vectors (<>);
procedure lace.Containers.shuffle_Vector (the_Vector : in out vectors.Vector);
|
with System;
with Ada.Real_Time; use Ada.Real_Time;
with Time_Triggered_Scheduling; -- use Time_Triggered_Scheduling;
-- The following packages are for tracing and timing support
with Ada.Exceptions; use Ada.Exceptions;
with Logging_Support; use Logging_Support;
with Use_CPU; use Use_CPU;
with Ada.Text_IO; use Ad... |
package Oalign1 is
Klunk1 : Integer := 12;
for Klunk1'Alignment use Standard'Maximum_Alignment;
end;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
package openGL.Program.lit_colored_textured_skinned
--
-- Provides a program for lit, colored, textured and skinned vertices.
--
is
type Item is new openGL.Program.item with private;
type View is access all Item'Class;
overriding
procedure define (Self : in out Item; use_vertex_Shader : in Shader.vie... |
-- =============================================================================
-- Package AVR.IO_MEMORY
--
-- Handles the external memory.
-- - EEPROM
-- - GPIO
-- - XMCR
-- =============================================================================
package AVR.IO_MEMORY is
type EEPROM_Address_Word_Type is new ... |
package body Return4_Pkg is
function Get_Value (I : Integer) return Rec is
Value : Rec := (I1 => I, I2 => I, I3 => I);
begin
return Value;
end;
end Return4_Pkg;
|
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Unix;
with Utilities;
with Parameters;
with File_Operations.Heap;
with Package_Manifests;
with Ada.Directories;
with Ada.Characters.Latin_1;
with Ada.Strings.Fixed;
with Ada.Exceptions;
package body Specifica... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with GNATCOLL.Strings_Impl;
with Ada.Wide_Wide_Characters.Handling, Ada.Characters;
use Ada.Wide_Wide_Characters.Handling;
with Ada.Characters.Conversions;
with Ada.Containers.Doubly_Linked_Lists;
with GNATCOLL.Config;
with Templates_Parser;
with Ada.Strings.Maps;
package Generator is
use Templates_Parser;
pac... |
pragma Ada_2012;
package body Protypo.Api.Field_Names is
--------------
-- Is_Field --
--------------
function Is_Field (X : ID) return Boolean is
Ignored : Field_Enumerator;
begin
Ignored := To_Field (x);
return True;
-- Yes, I know, it is not the best practice to use exception... |
-- 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.Frame.Frame_Create_Options_Test_Data.Frame_Create_Options_Tests is
type Test_Frame_Create_Options is new GNATtest_Gene... |
with Ada.Interrupts.Names; use Ada.Interrupts.Names;
with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control;
package RTC_IRQ is
Alarm_Occurred : Suspension_Object;
protected Handler is
pragma Interrupt_Priority;
private
procedure IRQ_Handler;
pragma Attach_Handler (IRQ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.