content stringlengths 23 1.05M |
|---|
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
-------------------------------------------... |
package body Extools is
protected Resource is
entry Seize (Win : Window);
procedure Release ;
private
Busy : Boolean := False;
end Resource;
protected body Resource is
entry Seize (Win : Window) when not Busy is
begin
Busy := True;
Refresh(Win);
... |
with Ada.Text_Io, Ada.Integer_Text_Io, Datos;
with Crear_Lista_Vacia, Ins, Esc, Posicion_Lista_Ordenada;
use Datos;
use Ada.Text_Io, Ada.Integer_Text_Io;
procedure Prueba_Posicion_Lista_Ordenada is
package Boolean_E_S is new Enumeration_Io(Boolean);
use Boolean_E_S;
-- esto sirve para leer y escribir v... |
-----------------------------------------------------------------------
-- util-http-tools -- HTTP Utility Library
-- 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 this file excep... |
with Ada.Unchecked_Conversion;
with System.Long_Long_Complex_Elementary_Functions;
with System.Long_Long_Complex_Types;
package body Ada.Numerics.Generic_Complex_Elementary_Functions is
pragma Warnings (Off);
function To_Complex is
new Unchecked_Conversion (
Complex,
System.Long_Long_Comp... |
package Taft_Type3_Pkg is
type T is private;
private
type Buffer_T;
type T is access Buffer_T;
end Taft_Type3_Pkg;
|
-- This spec has been automatically generated from nrf53.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- nRF5340
package NRF53_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
TAD_Base : constant S... |
-- -----------------------------------------------------------------------------
-- 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... |
function Hide.Value (Data : String ) return Integer with
Pre => (for all I in Data'Range => Data (I) in '0' .. '9');
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- Copyright 2004, 2007, 2008, 2009, 2010, 2011
-- Free Software Foundation, Inc.
--
-- 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 opti... |
-- { dg-do compile }
-- { dg-options "-gnatws" }
with System;
with System.Storage_Elements;
with Unchecked_Conversion;
package UC1 is
function Conv is
new Unchecked_Conversion (Source => System.Address, Target => Integer);
function Conv is
new Unchecked_Conversion (Source => Integer, Target => System.Add... |
with Asis.Implementation;
procedure Main is
begin
Asis.Implementation.Initialize ("");
end; |
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
-----------------------------------------------------------------------
-- are-installer -- Resource selector, preparer and installer
-- Copyright (C) 2012, 2013, 2015, 2020, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Lic... |
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Author: Martin Becker (becker@rcs.ei.tum.de)
with Ada.Unchecked_Conversion;
-- @summary convert various types to bytearrays
-- FIXME: optimize: don't collect labels and formats unless ... |
-----------------------------------------------------------------------
-- util-log -- Utility Log Package
-- Copyright (C) 2001 - 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
with Ada.Text_IO;
with Continued_Fraction;
procedure Test_Continued_Fractions is
type Scalar is digits 15;
package Square_Root_Of_2 is
function A (N : in Natural) return Natural is (if N = 0 then 1 else 2);
function B (N : in Positive) return Natural is (1);
function Estimate is new Continu... |
------------------------------------------------------------------------------
-- Copyright (c) 2015, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
-- TXT2DAT.ADA Ver. 4.01 2001-SEP-10 Copyright 1988-2001n J. Herro
--
-- SOFTWARE INNOVATIONS TECHNOLOGY www.adatutor.com
-- 1083 MANDARIN DR NE
-- PALM BAY FL 32905-4706 john@adatutor.com
--
-- (321) 951-0233
--
-- After running DAT2TXT on a PC and transferring the resulting TUT... |
procedure swap(a: in out integer; b: in out integer) is
c:integer:=a;
begin
a:=b;
b:=c;
end; |
with
FLTK.Widgets.Groups.Windows;
package FLTK.Devices.Surfaces.Paged is
type Paged_Surface is new Surface_Device with private;
type Paged_Surface_Reference (Data : not null access Paged_Surface'Class) is
limited null record with Implicit_Dereference => Data;
type Page_Format is
... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 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... |
-- $Id: DynArrDrv.mi,v 1.1 1991/11/21 14:33:17 grosch rel $
-- $Log: DynArrDrv.mi,v $
-- Ich, Doktor Josef Grosch, Informatiker, Aug. 1994
with DynArray, Text_Io; use Text_Io;
procedure DynArrDr is
package Int_Io is new Integer_IO (Integer); use Int_Io;
package Real_Io is new Float_IO (Float ); use Real_Io;
pac... |
with Ada.Strings.Unbounded;
with Ada.Text_IO;
with Irc.Bot;
with Irc.Message;
with Commands;
use Ada.Text_IO;
procedure Adabot is
package TIO renames Ada.Text_IO;
package SU renames Ada.Strings.Unbounded;
subtype Connection is Irc.Bot.Connection;
use type SU.Unbounded_String;
Conn : Irc.Bot.Con... |
-- ////////////////////////////////////////////////////////////
-- //
-- // 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... |
--------------------------------------------------------------------------------
-- 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... |
-----------------------------------------------------------------------
-- awa-changelogs -- Changelog module
-- Copyright (C) 2014, 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 exce... |
with Iface1;
generic
with package Prot is new Iface1 (<>);
package Iface2 is
procedure change (This, That : Prot.Any_Future);
end Iface2;
|
with Ada.Containers; use Ada.Containers;
package body Heap is
subtype index is Underlying_Vector.Extended_Index;
procedure Insert(hp : in out Heap;
element : in Element_Type) is
begin
hp.vector.Append(element);
declare
current_loc : index := hp.vector.Last_Index;... |
-- Weather update client
-- Connects SUB socket to tcp://localhost:5556
-- Collects weather updates and finds avg temp in zipcode
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with ZMQ;
procedure WUClient is
use type GNAT.Formatted_String.Formatted_String;
Number_Iterations : consta... |
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
with LZW;
with Ada.Text_IO;
procedure Test is
package Text_IO renames Ada.Text_IO;
package Code_IO is new Ada.Text_IO.Integer_IO (LZW.Codes);
Test_Data : constant LZW.Compressed_Data :=
LZW.Compress ("TOBEORNOTTOBEORTOBEORNOT");
begin
for Index in Test_Data'Range loop
Code_IO.Put (Test_Data (I... |
-- { dg-do compile }
package Variant_Part is
type T1(b: boolean) is record
case (b) is -- { dg-error "discriminant name may not be parenthesized" }
when others => null;
end case;
end record;
end Variant_Part;
|
-- SPDX-FileCopyrightText: 2022 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Locations is
task body Bluetooth_Runner is
Supported : constant := Location_Supported + UTC_Time_Supported;
begin
Peripheral... |
with Ada.Text_IO; use Ada.Text_IO;
with Command_Line;
with Command_Line.Filesystem;
with Test_Directories;
procedure TC_CMD_Filesystem is
Cmd_1 : aliased constant String := "help";
Cmd_2 : aliased constant String := "help ls";
Cmd_3 : aliased constant String := "ls /test_dir/test_material";
Cmd_4 : alias... |
with System.UTF_Conversions;
package body Interfaces.Fortran is
use type System.UTF_Conversions.From_Status_Type;
use type System.UTF_Conversions.To_Status_Type;
use type System.UTF_Conversions.UCS_4;
function To_Fortran (
Item : Character;
Substitute : Character_Set := '?')
return Charac... |
-------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, Universidad Politécnica de Madrid --
-- --
-- T... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- C52103A.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... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+flacada@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 ... |
------------------------------------------------------------------------------
-- --
-- ASIS Tester And iNTerpreter (ASIStant) COMPONENTS --
-- --
-- ... |
-- RUN: %llvmgcc -S %s -I%p/Support
package body Var_Size is
function A (X : T) return String is
begin
return X.A;
end;
end;
|
-- api_test.adb - Test for the ByteBauble API.
--
-- Revision 0
-- Features:
-- -
-- Notes:
-- -
--
-- 2019/06/10, Maya Posch
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Interfaces;
with ByteBauble; use ByteBauble;
procedure api_test is
-- Perform API operatio... |
with LSC.Types;
with LSC.Internal.Types;
with LSC.Internal.Byteorder32;
with LSC.Internal.Byteorder64;
package Util
is
function N (Item : LSC.Internal.Types.Word64) return LSC.Internal.Types.Word64
is (LSC.Internal.Byteorder64.BE_To_Native (Item));
function M (Item : LSC.Internal.Types.Word32) return LSC... |
-- reference:
-- https://blogs.msdn.microsoft.com/oldnewthing/20140307-00/?p=1573
with System.Native_Time;
with System.Storage_Elements;
with C.winbase;
with C.winnt;
package body System.Native_Calendar is
use type System.Native_Time.Nanosecond_Number;
use type Storage_Elements.Storage_Offset;
use type C.win... |
with Ada.Containers; use Ada.Containers;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with Ada.Strings; use Ada.Strings;
with Ada.Text_IO; use Ada.Text_IO;
with Int64_Parsing; use Int64_Parsing;
package body Algebra with SPARK_Mode is
type Int64_Seq_Arr is array (Children_Index range <>) of In... |
with Ada.Text_IO;
with Ada.Directories;
use Ada.Text_IO;
use Ada.Directories;
with Terminal_Interface.Curses; use Terminal_Interface.Curses;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.Fixed;
with Ada.Calendar; use Ada.Cale... |
with Ada.Unchecked_Conversion;
with Ada.Streams; use Ada.Streams;
with Ada.Text_IO; use Ada.Text_IO;
with System_Random;
procedure System_Random_Example is
package Streams_Random is new System_Random
(Element => Stream_Element, Index => Stream_Element_Offset,
Element_Array => Stream_Element_Array)... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, AdaCore --
-- --
-- ... |
-- C38102E.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 Ada.Text_IO; use Ada.Text_IO;
procedure ResistMesh is
H, W : constant Positive := 10;
rowA, colA : constant Positive := 2; -- row/col indexed from 1
rowB : constant Positive := 7;
colB : constant Positive := 8;
type Ntype is (A, B, Free);
type Vtype is digits 15;
type Node is record
vol... |
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package screen_hpp is
-- Struct used to pass around infos about the buffer used for display
-- We assume that rowstride = 1 (memory is contiguous)
-- We assume that n_channels = 3 (RGB)
package Class_Screen is
type Screen... |
with interfaces;
with ada.unchecked_conversion;
with ada.numerics.generic_elementary_functions;
with ada.text_io;
with ada.strings.fixed;
package numbers is
function uint32_to_integer is
new ada.unchecked_conversion(source => interfaces.unsigned_32, target => integer);
subtype byte is interfaces.unsigned_8;
... |
With Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
WITH P_StructuralTypes;
USE P_StructuralTypes;
with Ada.Streams;
use Ada.Streams;
with Ada.Sequential_IO;
with Ada.Text_IO;
use Ada.Text_IO;
WITH P_StepHandler.InputHandler;
USE P_StepHandler.InputHandler;
WITH P_StepHandler.IPHandler;
USE P_StepHandler.IPHandler;... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
type T is record A: Integer; end record;
T: Integer;
begin
New_Line;
end;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Command_Line;
with Ada.Long_Float_Text_IO; use Ada.Long_Float_Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Text_IO; use Ada.Text_IO;
with System; use System;
with PortAudioAda; use PortAudioAda;
with Ctestc_Types; use Ctestc_Types;
with Ctestc_Callbacks; use Ctestc_Callbacks;
procedu... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- Generated at 2015-10-25 22:37:42 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-tags-maps.sx
with Natools.Static_Maps.Web.Tags.Commands;
package body Natools.Static_Maps.Web.Tags is
function To_List_Command (Key : String) return List_Command is
N : constant Natural
:= Natools.Static_... |
-- C43210A.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... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
package body Apsepp.Test_Event_Class.Generic_R_Index_Mixin is
----------------------------------------------------------------------------
overriding
procedure Set (Obj : in out Child_W_R_Index; Data : ... |
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro>
--
-- 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, cop... |
-----------------------------------------------------------------------
-- Atlas.Reviews.Models -- Atlas.Reviews.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-spec.xhtml
-- Ada Generator: https://ad... |
package Compiler.Lexer is
use Node_List;
subtype Uppercase is Wide_Wide_Character with
Static_Predicate => Uppercase in 'A' .. 'Z';
Lexer_Error : exception;
function Lex(input : Wide_Wide_String) return List;
end Compiler.Lexer; |
--
-- Copyright (c) 2007, 2008 Tero Koskinen <tero.koskinen@iki.fi>
--
-- Permission to use, copy, modify, and 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 "A... |
-----------------------------------------------------------------------
-- css-parser-tests -- Unit tests for CSS parser
-- 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... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
--
-- 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 ... |
with Ada.Containers.Vectors;
package SPDX is
type Expression (<>) is private;
function Parse (Str : String;
Allow_Custom : Boolean := False)
return Expression;
-- Parse an SPDX expression from string.
--
-- If Allow_Custom is True, the parser will accep... |
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+saatana@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 ... |
with impact.d3.Vector;
with impact.d3.Scalar;
package body impact.d3.jacobian_Entry
is
use impact.d3.Vector;
----------
--- Forge
--
function to_jacobian_Entry (world2A, world2B : in math.Matrix_3x3;
rel_pos1, rel_pos2 : in math.Vector_3;
... |
------------------------------------------------------------------------------
-- 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 --
-- ... |
with Multiply;
...
function Multiply_Integer is new Multiply(Number => Integer);
use Multiply_Integer; -- If you must
type My_Integer is Range -100..100;
function Multiply_My_Integer is new Multiply(My_Integer);
|
package GLX.Pointers
is
-- VisualID_Pointer
--
type VisualID_Pointer is access all VisualID;
type VisualID_Pointers is array (C.size_t range <>) of aliased VisualID_Pointer;
-- XVisualInfo_Pointer
--
type XVisualInfo_Pointer is access all XVisualInfo;
type XVisualInfo_Pointers is array (C.si... |
-- { dg-do compile }
with Aggr3_Pkg; use Aggr3_Pkg;
package Aggr3 is
type Enum is (One);
type R (D : Enum := One) is
record
case D is
when One => The_T : T;
end case;
end record;
My_R : R := (D => One, The_T => My_T);
end Aggr3;
|
with Ada.Containers.Vectors;
with Ada.Text_IO;
procedure Top is
type Departments is (D050, D101, D190, D202);
type Employee_Data is record
Name : String (1 .. 15);
ID : String (1 .. 6);
Salary : Positive;
Department : Departments;
end record;
package Employee_Vect... |
-----------------------------------------------------------------------
-- xrds -- XRDS parser example
-- 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 this file excep... |
with GMP.discrete;
procedure Minimal
is
use GMP, gmp.Discrete;
Distance : discrete.Integer;
begin
define (Distance);
destroy (Distance);
end;
|
--
package body dispatch2_p is
function Impl_Of (Self : access Object) return Object_Ptr is
begin
return Object_Ptr (Self);
end Impl_Of;
end;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- This spec has been automatically generated from STM32L4x5.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.LPTIM is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Interrupt and Status Reg... |
with ada.text_io;use ada.text_io;
procedure ethiopian is
function double (n : Natural) return Natural is (2*n);
function halve (n : Natural) return Natural is (n/2);
function is_even (n : Natural) return Boolean is (n mod 2 = 0);
function mul (l, r : Natural) return Natural is
(if l = 0 then 0 elsif l = ... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with GBA.BIOS;
with GBA.BIOS.Arm;
with GBA.Display;
with GBA.Display.Backgrounds;
with GBA.Display.Palettes;
with GBA.Display.Tiles;
with GBA.Interrupts;
with GBA.Memory;
with GBA.Timers;
with Interfaces;
use Interfaces;
procedure Timer_Te... |
-- Abstract:
--
-- A generic queue, allowing definite non-limited item types.
--
-- Copyright (C) 2004, 2008, 2009, 2011, 2017, 2019 Free Software Foundation All Rights Reserved.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as pu... |
pragma License (Unrestricted);
-- extended unit
with System.Storage_Elements;
package Ada.Streams.Overlaps_Storage_IO is
-- Overlapping stream access to existing memory.
pragma Preelaborate;
pragma Compile_Time_Error (
Standard'Storage_Unit /= Stream_Element'Size,
"this is not 8-bit machine.");
... |
------------------------------------------------------------------------------
-- Copyright (c) 2016, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, AdaCore --
-- --
-- ... |
pragma License (Unrestricted);
with Ada.Iterator_Interfaces;
private with System.Native_Command_Line;
package Ada.Command_Line is
pragma Preelaborate;
function Argument_Count return Natural;
pragma Pure_Function (Argument_Count);
pragma Inline (Argument_Count); -- renamed
function Argument (Number : Po... |
package Iface_Test is
type Iface_1 is interface;
type Iface_2 is interface;
procedure Prepare_Select
(DB : Iface_1;
Iter : in out Iface_2'Class) is abstract;
type DT_1 is new Iface_1 with null record;
type Iterator is new Iface_2 with record
More : Boolean;
en... |
-----------------------------------------------------------------------
-- swagger-streams-forms -- x-www-form-urlencoded streams
-- Copyright (C) 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 ... |
with Asis.Definitions;
with Asis.Elements;
with A4G.A_Types; use A4G.A_Types;
with Asis.Set_Get;
package body Asis_Adapter.Element.Definitions is
-- "Add_And_Return_* functions query ASIS for a single value or list of
-- values, add it to the Dot graph, and return the value. These functions
-- usually have ... |
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with console_h;
with Interfaces.C.Extensions;
limited with color_h;
with error_h;
package console_drawing_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.... |
with Ada.Exceptions.Finally;
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
package body Ada.Containers.Indefinite_Holders is
use type Copy_On_Write.Data_Access;
function Upcast is
new Unchecked_Conversion (Data_Access, Copy_On_Write.Data_Access);
function Downcast is
new Unchecke... |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Event_Class.Generic_R_Index_Mixin,
Apsepp.Test_Event_Class.Generic_Assert_Num_Mixin,
Apsepp.Test_Event_Class.Generic_Exception_Mixin,
Apsepp.Test_Event_Class.Generic_Timestamp_Mixin... |
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.