CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO.Formatting; with System.Formatting.Float; with System.Formatting.Literals.Float; package body Ada.Text_IO.Float_IO is procedure Put_To_Field ( To : out String; Fore_Last, Last : out Natural; Item : Num; Aft : Field; Exp : Field); procedure Put_To_Field ( To : ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
-- Copyright 2009-2020 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. -- -- ...
package body Loop_Optimization3_Pkg is function F (n : Integer) return Integer is begin return n; end; end Loop_Optimization3_Pkg;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Globals_Example1; package Globals_Example2 is type Record2 is record I_Attribute : Globals_Example1.Itype; end record; end Globals_Example2;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Command_Line; with Ada.Text_IO; with ZMQ; procedure Version is function Main return Ada.Command_Line.Exit_Status is Major, Minor, Patch : Natural; begin ZMQ.Version (Major, Minor, Patch); Ada.Text_IO.Put_Line ("Current 0MQ version is "&Major'Img&"."&Minor'Img&"."&Patch'Img); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with League.String_Vectors; package Slim.Messages.RESP is type RESP_Message is new Message with private; ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, Fabien Chouteau -- -- -- -- ...
-- 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 ...
-- This spec has been automatically generated from STM32L4x1.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.RTC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype TR_SU_Field is HAL.UIn...
-- C95085F.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...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Record_Definitions is function Create (Record_Token : not null Program.Lexical_Elements.Lexical_Element_Access; Co...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_list_extensions_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item...
-- The buffer of lines being edited -- Lines are numbered from 1 (the first line) to Last -- Line numbers are relative: when lines are added or deleted, the numbering of the other lines may change package Lined.Buffer with SPARK_Mode, Abstract_State => State, Initializes => State is procedure Clear with Gl...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- -- Copyright (C) 2021, AdaCore -- pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd with System; package Interfaces.STM32.SYSCFG is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- subtype PMCR_I...
pragma Eliminate (p, d); package elim1 is type t is tagged null record; procedure d (a : t); end;
-- Copyright 2016-2019 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. -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
package Aliasing2 is type Arr is Array (1..4) of Integer; type Ptr is access all Integer; A : Arr; function F (P : Ptr) return Integer; end Aliasing2;
############################################################################# ## #W id1152.ads GAP library of id's Hans Ulrich Besche ## ID_GROUP_TREE.next[1152].next[1].next[123]:= rec( fp:= [ 123, 623, 1123, 1623, 2123 ], next:= [ rec( fp:= [ 28506, 52739, 64310, 91759 ], next:= ...
package Solar_System.Graphics is procedure Draw_All (Bodies : Bodies_Array_T; Canvas : Canvas_ID); procedure Draw_Body (Object : Body_T; Canvas : Canvas_ID); end Solar_System.Graphics;
-- Copyright 2017-2020 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. -- -- ...
with Other_Basic_Subprogram_Calls; package Tagged_Subprogram_Calls is package Inner is type E is (A, B, C); procedure P(A : E); end Inner; procedure Test(Param : Inner.E); type T is tagged null record; procedure T_P(S : T); procedure T_Q(J : Integer; S : T); proced...
-- part of AdaYaml, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Strings.Hash; with Ada.Unchecked_Deallocation; package body Yaml.Text_Set is use type Ada.Containers.Hash_Type; function Non_Zero_Hash (S : Standard.String) ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Standard Ada library specification -- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Abstract : -- -- Support Emacs Ada mode and gpr-query minor mode queries about -- GNAT projects and cross reference data -- -- requires gnatcoll 1.7w 20140330, gnat 7.2.1 -- -- Copyright (C) 2014-2018 Free Software Foundation All Rights Reserved. -- -- This program is free software; you can redistribute it and...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
with Ada.Text_IO; use Ada.Text_IO; with GNAT.OS_Lib; with Sf.Window.Event; use Sf.Window.Event; with Sf.Graphics.RenderWindow; use Sf.Graphics.RenderWindow; with Sf.Window.Keyboard; use Sf.Window.Keyboard; package body PyGamer.Controls is type Buttons_State is array (Buttons) of Boolean; Current_Pressed : Butt...
with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32GD.Startup; with STM32GD.Vectors; package body STM32GD.Board is procedure Init is begin Clocks.Init; RCC_Periph.AHBENR.IOPAEN := 1; RCC_Periph.AHBENR.IOPBEN := 1; RCC_Periph.AHBENR.IOPCEN := 1; RCC_Peri...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
procedure One (X : in out Integer) is begin X := X + 1; end One;
-- //////////////////////////////////////////////////////////// -- // -- // 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 LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- Copyright 2008-2017 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. -- -- ...
with Ada.Exceptions; with ACO.Log; package body ACO.Drivers.Socket is use ACO.Log; overriding procedure Receive_Message_Blocking (This : in out CAN_Driver; Msg : out ACO.Messages.Message) is Frame : SocketCAN.Can_Frame; begin SocketCAN.Receive_Socket_Blocking (This.Socket, ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
----------------------------------------------------------------------- -- util-dates-formats -- Date Format ala strftime -- 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 this fil...
generic type T is private; Init_Value : T; package Opt25_Pkg1 is Var : T := Init_Value; procedure Swap (A, B : in out T); end Opt25_Pkg1;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- { dg-do compile } procedure Prot1 is protected type Prot is procedure Change (x : integer); private Flag : Boolean; end Prot; type Handle is access protected procedure (X : Integer); procedure Manage (Ptr : Handle) is begin null; end; protected body prot is procedure...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- { dg-do run } with System; use System; procedure Boolean_Conv is subtype B1 is Boolean; subtype B2 is Boolean; A0, A1, A2 : Address; B : aliased B1; procedure P2 (X2 : access B2) is begin A2 := X2.all'Address; end P2; procedure P1 (X1 : access B1) is begin A1 := X1.all'Address; ...
pragma License (Unrestricted); -- extended unit with Ada.Directories.Volumes; function Ada.Directories.Less_File_Names ( FS : Volumes.File_System; Left, Right : String) return Boolean; -- This function is "<" version of Ada.Directories.Equal_File_Names. pragma Inline (Ada.Directories.Less_File_Names);
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Constants; use constants; with Interfaces; use Interfaces; with Ada.Real_Time; use Ada.Real_Time; procedure main with SPARK_Mode is begin Do_Something; end main;
with Ada.Real_Time; with ACO.Utils.Generic_Event; with ACO.Messages; with ACO.States; with ACO.SDO_Sessions; with ACO.OD_Types; with ACO.Configuration; package ACO.Events is use ACO.Configuration; type Handler_Event_Type is (Tick, Received_Message); type Handler_Event_Data (Event : Handler...
with openGL.Buffer.general; package openGL.Buffer.normals is new openGL.Buffer.general (base_Object => Buffer.array_Object, Index => Index_t, Element => Normal, ...
-- Copyright 2012-2017 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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- ...
--=========================================================================== -- -- This is the main slave program for the Pico for the -- use cases: -- 1: Master Pico -> Slave Pico -- 3: Master ItsyBitsy -> Slave Pico -- --========================================================================...
with Symbols; with States; -- with Rules; package body Action_Lists is procedure Append (Action_List : in out List; Kind : in Actions.Action_Kind; Symbol : in Symbols.Symbol_Access; State : in States.State_Access; ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- C83028A.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 -- -- -- -- ...
----------------------------------------------------------------------- -- tool-data -- Perf data representation -- 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 this file except ...
-- -- 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 ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Expressions; with Progr...
------------------------------------------------------------------------------- -- Copyright (c) 2017 Daniel King -- -- 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...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 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...
----------------------------------------------------------------------- -- security-controllers-roles -- Simple role base security -- Copyright (C) 2011, 2012, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) -- 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...
with Interfaces.C; use Interfaces.C; procedure Execute_System is function Sys (Arg : Char_Array) return Integer; pragma Import(C, Sys, "system"); Ret_Val : Integer; begin Ret_Val := Sys(To_C("ls")); end Execute_System;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Exceptions; package GDNative.Exceptions is procedure Put_Warning (Message : in Wide_String); procedure Put_Error (Occurrence : in Ada.Exceptions.Exception_Occurrence); end;
with Ada.Strings.Hash; package body L_Strings with SPARK_Mode is function "=" (Left, Right : L_String) return Boolean is begin return Left.Length = Right.Length and then Left.Data = Right.Data; end "="; function "=" (Left : L_String; Right : String) return Boolean is begin return L...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_charinfo_t is -- Item -- type Item is record left_side_bearing : aliased Interfaces.Integer_16; right_side_bearing : aliased Interfaces.Integer_16;...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! -- -- -- -- ...
with SDL_Display; package body Render is Width : constant := 320; Height : constant := 240; package Display is new SDL_Display (Width => Width, Height => Height, Pixel_Scale => 4, Buffer_Size => 320 * 240); Screen_Pt : GESTE.Pix_Point := (0, 0); ----------------- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
package body Body is end Body;
-- -- Copyright (C) 2015-2017 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. -- -- ...
-- -- ABench2020 Benchmark Suite -- -- Linear Search Program -- -- Licensed under the MIT License. See LICENSE file in the ABench root -- directory for license information. -- -- Uncomment the line below to print the result. -- with Ada.Text_IO; use Ada.Text_IO; procedure Linear_Search is type Vector is array...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="11"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="...
with Car; procedure launch is begin Car.main; end launch;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="17"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
-- C54A23A.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 RUN-TIME COMPONENTS -- -- -- -- ...