content
stringlengths
23
1.05M
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT INTERFACE COMPONENTS -- -- -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2014-2015 Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising fr...
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . I N I T -- -- S p e c -- ----...
with Operation; use Operation; package Calculate2 is function Execute(Value: String; Current_Index: in out Integer; Priority_Mode: Boolean := False) return NaturalDouble; end Calculate2;
-- with Symbolic_Identifiers; package body EU_Projects.Nodes.Action_Nodes is use Times.Time_Expressions; function Var_Begin (Item : Action_Node) return Symbolic_Instant is (Variable (Join (Dotted_Identifier (Item.Label), Event_Names.Begin_Name))); function Var_End (Item : Action_Node) return Symbolic_In...
----------------------------------------------------------------------- -- util-encodes-ecc-tests - ECC function tests -- Copyright (C) 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 e...
with agar.core.event; package winicon_callbacks is package gui_event renames agar.core.event; procedure quit (event : gui_event.event_access_t); pragma convention (c, quit); end winicon_callbacks;
package Root.Level_1.Level_2 is type Level_2_Type (First : Natural; Second : Natural) is new Level_1.Level_1_Type (First => First, Second => Second) with null record; end Root.Level_1.Level_2;
-- 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 Terminal_Interface.Curses; with Crawler_Interface; with Crawler.Entities; procedure Main is package Curses renames Terminal_Interf...
-- This spec has been automatically generated from cm0.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; -- Data Watchpoint Trace package Cortex_M_SVD.DWT is pragma Preelaborate; --------------- -- Registers -- --------------- subtype...
----------------------------------------------------------------------- -- asf.requests -- ASF Requests -- Copyright (C) 2010, 2011, 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 fil...
with Lv.Area; with Lv.Style; package Lv.Objx.Line is subtype Instance is Obj_T; -- Create a line objects -- @param par pointer to an object, it will be the parent of the new line -- @return pointer to the created line function Create (Parent : Obj_T; Copy : Obj_T) return Instance; -------------...
-- { dg-do compile } with Static_Initializer5_Pkg; use Static_Initializer5_Pkg; package Static_Initializer5 is type Derived is new Rec with record Target : Boolean; end record; Null_Derived : constant Derived := (Null_Rec with Target => False); end Static_Initializer5;
-- CC3224A.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; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with display; use display; with stats; use stats; with player; use player; package body Cutscenes is procedure Display_Settings is input : Character; begin ClearDisplay; WipeScreen; SetText(1,22,"Please take these followin...
package body Spaceship is procedure set_dmg(s : in out Spaceship; dmg: Integer) is begin s.Life := s.Life - dmg; end set_dmg; procedure shoot (s : in out Spaceship) is begin s.Life := s.Life + 20; end shoot; procedure move (s : in out Spaceship; X: Integer; Y : Integer) is begin ...
------------------------------------------------------------------------------ -- Copyright (c) 2015-2017, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
package body System.File_Control_Block is function Stream (File : AFCB_Ptr) return Interfaces.C_Streams.FILEs is begin raise Program_Error; -- FILE * is not used in drake return Stream (File); end Stream; end System.File_Control_Block;
with Ada.Text_Io.Editing; use Ada.Text_Io.Editing; with Ada.Text_Io; use Ada.Text_Io; procedure Zero_Fill is Pic_String: String := "<999999.99>"; Pic : Picture := To_Picture(Pic_String); type Money is delta 0.01 digits 8; package Money_Output is new Decimal_Output(Money); use Money_Output; Value :...
-- Abstract : -- -- An abstract lexer interface. -- -- Copyright (C) 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...
with System; use System; with Interfaces.C; use Interfaces.C; with Ada.Text_IO; use Ada.Text_IO; package body Reference_QOI is ------------------ -- Check_Encode -- ------------------ function Check_Encode (Pix : Storage_Array; Desc : QOI.QOI_Desc; ...
with Ada.Streams.Stream_IO; use Ada; package Fakedsp.Data_Streams.Wave is type Wave_Source is limited new Data_Source with private; type Wave_Source_Access is access Wave_Source; function Open (Filename : String) return Wave_Source_Access; procedure Read (Src : in out Wave_Source; ...
-- { dg-do compile } package body Rep_Clause2 is procedure Assign (From : Data; Offset : Positive; I : Index; To : out Bit_Array) is begin To (Offset .. Offset + 7) := Bit_Array (Conv (From.D(I).S.N)); end; end Rep_Clause2;
-- 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...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Scope_Debug, Apsepp.Generic_Fixture.Creator, Apsepp.Generic_Shared_Instance.Access_Setter, Apsepp.Debug_Trace; package body Apsepp_Scope_Debug_Test_Case is use Apsepp.Scope_Debug; ...
with ada.text_io; use ada.text_io; procedure euler6 is sum, sq_sum : integer := 0; begin for i in 1 .. 100 loop sum := sum + i; sq_sum := sq_sum + i * i; end loop; put_line(integer'image(sum * sum - sq_sum)); end;
with S_Of_N_Creator, Ada.Text_IO; procedure Test_S_Of_N is Repetitions: constant Positive := 100_000; type D_10 is range 0 .. 9; -- the instantiation of the generic package S_Of_N_Creator generates -- a package with the desired functionality package S_Of_3 is new S_Of_N_Creator(Sample_Size => 3, Item_...
with System; with STM32.Device; use STM32.Device; with STM32_SVD; use STM32_SVD; with STM32_SVD.HASH; use STM32_SVD.HASH; package STM32.HASH is HASH : aliased HASH_Peripheral with Import, Volatile, Address => S_NS_Periph (HASH_Base); type Algorithm_Selection is (SHA_1, MD5, SHA_224, ...
with Ada.Text_IO; procedure LoopsAndHalf is begin for i in 1 .. 10 loop Ada.Text_IO.put (i'Img); exit when i = 10; Ada.Text_IO.put (","); end loop; Ada.Text_IO.new_line; end LoopsAndHalf;
------------------------------------------------------------------------------- -- -- WAVEFILES GTK APPLICATION -- -- List of wavefiles -- -- The MIT License (MIT) -- -- Copyright (c) 2017 Gustavo A. Hoffmann -- -- Permission is hereby granted, free of charge, to any per...
-- C35503C.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 -- -- -- -- ...
-- { dg-do compile } package Universal_Fixed is Nm2Metres : constant := 1852.0; type Metres is delta 1.0 range 0.0 .. 1_000_000.0; type Nautical_Miles is delta 0.001 range 0.0 .. (Metres'Last + (Nm2Metres / 2)) / Nm2Metres; end Universal_Fixed;
with EU_Projects.Projects; with Ada.Strings.Bounded; with Plugins; package Project_Processor.Processors is package Processor_Names is new Ada.Strings.Bounded.Generic_Bounded_Length (16); subtype Processor_Parameter is Plugins.Parameter_Map; subtype Processor_Parameter_Access is Plugins.Parameter_Map_Acc...
with Gtk.Window; use Gtk.Window; with Gtk.Box; use Gtk.Box; with Gtk.Menu; use Gtk.Menu; with Gtk.Menu_Bar; use Gtk.Menu_Bar; with Gtk.Menu_Item; use Gtk.Menu_Item; with Gtk.Table; use Gtk.Table; with Gtk.Button; use Gtk.Button; with Gtk.Status_Bar; use Gtk.Status_Bar; package Life_Pkg is ...
-- { dg-do compile } package body Volatile12 is procedure Proc (A : Arr) is begin null; end; end Volatile12;
with Interfaces.C.Strings; use Interfaces.C.Strings; package body QtQuick is procedure Qt_Main (MainQmlFile : String) is begin Qt_Main_Simple(New_String(MainQmlFile)); end Qt_Main; end QtQuick;
pragma License (Unrestricted); with Ada.Numerics.Generic_Complex_Types; -- see G.1.1 pragma Elaborate_All (Ada.Numerics.Generic_Complex_Types); package Interfaces.Fortran is pragma Pure; type Fortran_Integer is new Integer; -- implementation-defined type Real is new Float; -- implementation-defined type D...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Statements; with Program.Elements.Expressions; with Program.Lexical_Elements; package Program.Elements.Assignme...
----------------------------------------------------------------------- -- mat-events-timelines - Timelines -- Copyright (C) 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 in co...
Pragma Ada_2012; Pragma Wide_Character_Encoding( UTF8 ); with Ada.Containers.Indefinite_Vectors; Package Risi_Script.Types.Identifier.Scope_Package is new Ada.Containers.Indefinite_Vectors( Index_Type => Positive, Element_Type => Identifier, "=" => "=" );
package body Date is function D1_Inf_D2 (Date1 : T_Date; Date2 : T_Date) return Boolean is begin if Date1.Annee < Date2.Annee then return True; elsif Date1.Annee > Date2.Annee then return False; elsif Date1.Mois < Date2.Mois then return True; elsif Date1.Mois >...
package body URL is function Decode (URL : in String) return String is Buffer : String (1 .. URL'Length); Filled : Natural := 0; Position : Positive := URL'First; begin while Position in URL'Range loop Filled := Filled + 1; case URL (Position) is when '+' ...
with Text_Io; procedure Hello is begin Text_Io.Put_Line ("Hello, World!"); end Hello;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Unchecked_Deallocation; package body LCA is procedure Free is new Ada.Unchecked_Deallocation (Object => T_Cellule, Name => T_LCA); procedure Initialiser(Sda: out T_LCA) is begin Sda := null; -- Initialiser Sda end Initialiser; function Est_Vide (Sd...
with Ada.Float; with System.Long_Long_Elementary_Functions; package body Ada.Numerics.Generic_Elementary_Functions is subtype Float is Standard.Float; -- hiding "Float" package -- constants for Sinh/Cosh on high precision mode Log_Two : constant := 0.69314_71805_59945_30941_72321_21458_17656_80755; Lnv :...
with ACO.Messages; with ACO.OD; with ACO.States; private with ACO.Log; private with Interfaces; package ACO.Protocols.Error_Control is EC_Id : constant ACO.Messages.Function_Code := 16#E#; type EC (Id : ACO.Messages.Node_Nr; Od : not null access ACO.OD.Object_Dictionary'Class) is abstract new ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
package Aggr11_Pkg is type Error_Type is (No_Error, Error); type Rec (Kind : Error_Type := No_Error) is record case Kind is when Error => null; when others => B : Boolean; end case; end record; type Arr is array (1..6) of Rec; end Aggr11_Pkg;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
with Ada.Strings.Fixed, Ada.Integer_Text_IO; procedure Substrings is begin Ada.Integer_Text_IO.Put (Ada.Strings.Fixed.Count (Source => "the three truths", Pattern => "th")); Ada.Integer_Text_IO.Put (Ada.Strings.Fixed.Count (Source => "ababababab", ...
with Actors, Engines, Libtcod.Color; use Libtcod; package body Components.Destructibles is ------------- -- is_dead -- ------------- function is_dead(self : Destructible) return Boolean is (self.hp = 0); ----------------- -- take_damage -- ----------------- function take_damage(self : in ou...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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.Text_IO; use Ada.Text_IO; --This package is for the delay. with Ada.Calendar; use Ada.Calendar; --This package adds sound with Ada.Characters.Latin_1; procedure Main is begin Put_Line ("Hello, this is 60 BPM"); loop Ada.Text_IO.Put (Ada.Characters.Latin_1.BEL); delay 0.9; --Delay ...
-- { dg-do compile } with equal1; procedure test_equal1 is subtype Boolean_T is Boolean; function "=" (L, R : in equal1.Basic_Connection_Status_T) return Boolean_T renames equal1."="; Status : equal1.Basic_Connection_Status_T; Result : Boolean_T; begin Status := equal1.Temporary_Disconnected; Result :=...
-- DEMONSTRATION EXAMPLE: -- Features: -- Enumeration types, ENUM_IO (generic package), -- arrays, dynamic exception handling, etc. with TEXT_IO; use TEXT_IO; procedure en is type COLOR is (red, yellow, green, blue); package COLOR_IO is new ENUMERATION_IO(COLOR); ANSWER : constant array (red .. bl...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers; use Ada.Containers; with Ada.Characters; use Ada.Characters; with PIN; with PasswordDatabase; package body PasswordManager with SPARK_Mode is -- Initiates the Password Manager procedure Init(Pin_Input : in String; Manager_Information : ou...
pragma License (Unrestricted); -- implementation unit specialized for Windows with C.psdk_inc.qip_types; with C.psdk_inc.qsocket_types; with C.ws2tcpip; package System.Native_IO.Sockets is pragma Preelaborate; pragma Linker_Options ("-lws2_32"); type Port_Number is range 0 .. 16#ffff#; subtype Socket_Add...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure ANSI.Demo is function Pad (S : String; Len : Positive) return String is (S & (1 .. Len - S'Length => ' ')); procedure Title (Text : String) is begin New_Line; Put_Line (Style_Wrap (Text => "=== " & Text & "===", Style ...
with Text_Io,sequential_io,Direct_io; with Ada.strings.unbounded; use text_io; use Ada.strings.unbounded; procedure practica5 is Type TDatos is record Palabra:string(1..15);-- Este el tipo de dato que tiene el fichero de acceso directo numero:Natural; end record; package ficheroSec is new Sequential_Io(positive)...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Strings.Fixed; with Ada.Characters.Latin_1; package body JohnnyText is package LAT renames Ada.Characters.Latin_1; ----------- -- USS -- ----------- function USS (US : Text) return Stri...
with Ada.Unchecked_Deallocation; with Ada.Text_IO; use Ada.Text_IO; with Ada.Sequential_IO; with Interfaces; use Interfaces; package body My_Class is overriding procedure Initialize (O : in out Object) is begin Put_Line ("Allocating"); O.A := new Buffer (1..256); end Initialize; o...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Low_Level; with GL.Types.Colors; package GL.Fixed.Textures is pragma Preelaborate; type Texture_Function is (Add, Blend, Replace, Modulate, Decal, Combine); type Combine_Function is (...
pragma License (Unrestricted); -- BSD 3-Clause -- translated unit from dSFMT (dSFMT-params216091.h) with Ada.Numerics.dSFMT; package Ada.Numerics.dSFMT_216091 is new dSFMT ( MEXP => 216091, POS1 => 1890, SL1 => 23, MSK1 => 16#000bf7df7fefcfff#, MSK2 => 16#000e7ffffef737ff#, FIX1 ...
with Ada.Command_Line; with GNAT.Strings; with GNAT.Expect; with GNAT.String_Split; with Ada.Text_IO; procedure Check_Tags is use GNAT.String_Split; use GNAT.Strings; use Ada.Text_IO; Args : String_List_Access := new String_List'(new String'("tag"), new String'("-l")); Status : a...
-------------------------------------------------------------------------- -- Arbitrary Precision Math Library: Logarithmic Functions -- Joe Wingbermuehle 20020320 <> 20020327 -------------------------------------------------------------------------- with Arbitrary.Trig; use Arbitrary.Trig; package body Arbitrary.Log...
-- error_handling_example.adb -- An example of handling errors when using the Reqrep_Task_Pool -- Copyright (c) 2015, James Humphry -- -- 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 permi...
-- Copyright (c) 2021, Karsten Lueth (kl@kloc-consulting.de) -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notic...
with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Containers.Indefinite_Hashed_Sets; with Ada.Finalization; use Ada.Containers; generic type Variable_Type is private; with function Hash_Variable (Element : in Variable_Type) return Hash_Type; type Value_Type is private; with function H...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with GL.Objects.Programs; with Multivector_Analyze; with Multivectors; with Palet; package C3GA_Draw is procedure Draw (Render_Program : GL.Objects.Programs.Program; MV : Multivectors.Multivector; Palet_Type : Palet.Colour_Palet := Palet.Is_Null); -- ...
with Ada.Unchecked_Deallocate_Subpool; with Ada.Unchecked_Deallocation; with Ada.Unchecked_Reallocation; with System.Storage_Elements.Formatting; with System.Storage_Pools.Unbounded; with System.Storage_Pools.Subpools.Unbounded; procedure storagepool is use type System.Address; use type System.Storage_Elements.Storag...
-- The MIT License (MIT) -- Copyright (c) 2015 Christopher Lillthors -- 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 us...
function "-" (Left, Right : Pixel) return Count is begin return (Left.R - Right.R) + (Left.G - Left.G) + (Left.B - Right.B); end "-";
with HAL; use HAL; with ILI9341; with ILI9341.Hack; with RP.GPIO; with RP.Device; with Pico; with BB_Pico_Bsp.SPI; package body BB_Pico_Bsp.LCD is LCD_CS : RP.GPIO.GPIO_Point renames Pico.GP8; LCD_WRX : RP.GPIO.GPIO_Point renames Pico.GP9; LCD_Reset : RP.GPIO.GPIO_Point renames Pico.GP11; -- LC...
----------------------------------------------------------------------------- -- This file contains the body, please refer to specification (.ads file) ----------------------------------------------------------------------------- -- with Interfaces; -- with Ada.Characters.Handling; use Ada.Characte...
-------------------------------------------------------------------------------- -- 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...
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements; package Program.Element_Filters is pragma Pure; function Is_Pragma (Self : not null Program.Elements.Element_Access) ret...
with OO_Privacy, Ada.Unchecked_Conversion, Ada.Text_IO; procedure OO_Break_Privacy is type Hacker_Stuff is tagged record Password: OO_Privacy.Password_Type := "?unknown"; end record; function Hack is new Ada.Unchecked_Conversion (Source => OO_Privacy.Confidential_Stuff, Target => Hacker_Stuff...
-- { dg-do run } procedure self_aggregate_with_pointer is type Arr is array (Natural range <>) of Integer; type Rec (N : Natural) is record A : Arr (1..N); end record; type Acc_Rec is access all Rec; type SRec is record A : Acc_Rec; I1, I2, I3, I4, I5, I6, I7: Integer; end record; R : al...
----------------------------------------------------------------------- -- serialize-mappers-tests -- Unit tests for serialization -- Copyright (C) 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...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- limited with Program.Elements.Pragmas; limited with Program.Elements.Defining_Names; limited with Program.Elements.Defining_Identifier...
with Support.Clock; use Support.Clock; with Support.CmdLine; use Support.CmdLine; with Support.Strings; use Support.Strings; with BSSNBase.ADM_BSSN; use BSSNBase.ADM_BSSN; with BSSNBase.Coords; use BSSNBase.Coords; with BSSNBase.Constraints; use BSSNBase.Constraints; -- for...
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.JPEG is pragma Preelaborate; --------------- -- Registers -- --------------- -- JPEG codec control register type CONF...
with System.Formatting; with System.Img_Char; with System.Long_Long_Integer_Types; package body System.Img_WChar is subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; -- implementation procedure Image_Wide_Character ( V : Wide_Character; S : in out String; P : out Natural; ...
-- C95092A.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) 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 ...
with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with System.Standard_Allocators; with System.Storage_Elements; with System.Zero_Terminated_WStrings; with C.winerror; package body System.Native_Directories.Searching is use Ada.Exception_Identification.From_Here; use ty...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. package Apsepp.Debug_Trace_Class.Stub is type Debug_Trace_Stub is limited new Debug_Trace_Interfa with private; overriding function Message_W_Entity (Obj : Debug_Trace_Stub; ...
-- Copyright 2012-2014 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 option) any later version. -- -- ...
-- -- Author: Brent Seidel -- Version: V01.01 -- Date: 27-Apr-2021 -- -- This package defines a number of types for physical units. These are -- generally based off of the Float type since in most cases, 6 digits is -- pretty good for a physical measurement. If you need more precision, go -- ahead and change it to wh...
-- for Win64 SEH pragma Check_Policy (Trace => Ignore); with System.Address_To_Constant_Access_Conversions; with System.Storage_Elements; with C.basetsd; with C.winnt; separate (System.Unwind.Backtrace) package body Separated is pragma Suppress (All_Checks); use type Storage_Elements.Storage_Offset; use type ...
with HW.GFX.GMA.GFX_Test; procedure GFX_Test_Main is begin HW.GFX.GMA.GFX_Test.Main; end GFX_Test_Main;
with Ada.Iterator_Interfaces; with Protypo.Api.Engine_Values.Handlers; generic type Cursor is private; with function Has_Element (Position : Cursor) return Boolean; with function Element (Position : Cursor) return Engine_Value; with package Basic_Iterators is new Ada.Iterator_Interfaces (Cursor ...
-- CD2B16A.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 Interfaces.C.Strings; package body Sf.Window.Clipboard is use Interfaces.C.Strings; function getString return String is function Internal return chars_ptr; pragma Import (C, Internal, "sfClipboard_getString"); Result : chars_ptr := Internal; begin return Value(Resu...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...