CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- 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...
------------------------------------------------------------------------------ -- -- -- tiled-code-gen -- -- -- -- ...
------------------------------------------------------------------------------- -- Copyright (c) 2016 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, in...
-- linear/geographical conversions generic type Real is digits <>; package Unit_Conversion_Utilities is type Unit_Converter is tagged private; procedure Initialize (This : out Unit_Converter; LatitudeInit_Rad : Real; LongitudeInit_rad : Real); -- FROM LAT/LONG TO NORTH/E...
pragma Warnings (Off); pragma Ada_95; with System; with System.Parameters; with System.Secondary_Stack; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Import (C, gnat_argv); pragma Import (C, gnat_env...
----------------------------------------------------------------------- -- awa-tags-modules-tests -- Unit tests for tags service -- 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 use t...
-- Copyright 2011-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. -- -- ...
package Lto10_Pkg is type U16 is mod 2 ** 16; type Position is record X, Y, Z : U16; end record; for Position'Size use 48; type Pixel is record Pos : Position; end record; pragma Pack (Pixel); Minus_One : Integer := -1; Pix : Pixel := (Pos => (X => 0, Y => 0, Z => 0)); end Lt...
-- 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 ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with System.Storage_Pools.Subpools; with Program.Elements.Pragmas; with Program.Elements.Defining_Names; with Program.Elements.Definin...
-- FILE: oedipus.adb -- LICENSE: MIT © 2021 Mae Morella package body Oedipus is function Create_Complex (A, B : in Float) return Complex is C : Complex; begin C.Real := A; C.Imaginary := B; return C; end Create_Complex; function Get_Real (C : in Complex) return Float is be...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- 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 -- -- ...
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 onox <denkpadje@gmail.com> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/L...
with Ada.Text_IO; use Ada.Text_IO; procedure main is begin -- Bonjour Put("Hello Master Falindir"); end main;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with System.Storage_Elements; with Ada.Storage_IO; package body Slim.Messages is ----------------- -- Read_Fields -- ------...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Logger.Base.Screen is type Screen_Logger is new Base_Logger and AIL.iLogger with private; type Screen_Logger_access is access all Screen_Logger; overriding procedure reaction (liste...
pragma License (Unrestricted); -- extended unit specialized for Windows with Ada.IO_Exceptions; private with Ada.Finalization; private with C.windef; package System.Program.Dynamic_Linking is -- Loading dynamic-link library. pragma Preelaborate; type Library is limited private; -- subtype Open_Library is ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package body STM32.CORDIC is ------------------------- -- Set_CORDIC_Function -- ------------------------- procedure Set_CORDIC_Function (This : in out CORDIC_Coprocessor; Value : CORDIC_Function) is begin This.CSR.FUNC := Value'Enum_Rep; end Set_CORDIC_Function; ----------...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Compilation_Units; with Program.Compilation_Unit_Vectors; with Program.Library_Items; limited with Program.Library_Unit_Declarations; package ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Defining_Expanded_Names is function Create (Prefix : not null Program.Elements.Expressions.Expre...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
package ACO.Protocols.Network_Management.Slaves is type Slave (Id : ACO.Messages.Node_Nr; Od : not null access ACO.OD.Object_Dictionary'Class) is new NMT with private; private type Slave (Id : ACO.Messages.Node_Nr; Od : not null access ACO.OD.Object_Dictionary'Class) is new NMT ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
-- 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. -- -- ...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- @author Alexander Senier -- @date 2019-01-21 -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- //////////////////////////////////////////////////////////// -- // -- // 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 -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
with System; with Interfaces; with TLSF.Config; package TLSF.Block.Types with SPARK_Mode, Pure, Preelaborate is use TLSF.Config; use Interfaces; type Size is new Natural range 0 .. 2 ** Max_Block_Size_Log2-1 with Size => Max_Block_Size_Log2; type Size_Bits is mod 2**Size'Size; type Add...
pragma License (Unrestricted); -- Ada 2012 with Ada.Characters.Conversions; with Ada.Strings.Generic_Less_Case_Insensitive; function Ada.Strings.Less_Case_Insensitive is new Generic_Less_Case_Insensitive ( Character, String, Characters.Conversions.Get); -- pragma Pure (Ada.Strings.Less_Case_Insen...
-- -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
generic type Item is private; type View is access all Item; pool_Size : Positive := 5_000; package lace.fast_Pool is function new_Item return View; procedure free (Self : in out View); end lace.fast_Pool;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
package STM32GD.USART is pragma Preelaborate; type USART_Instance is (USART_1, USART_2, USART_6); end STM32GD.USART;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
Pragma Ada_2012; with Connection_Types; use Connection_Types; Function Connection_Combinations return Partial_Board;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------------- -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Function_Declarations is function Create (Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Ove...
----------------------------------------------------------------------- -- awa-votes-beans -- Beans for module votes -- Copyright (C) 2013, 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 fi...
with Opt48_Pkg2; use Opt48_Pkg2; package Opt48_Pkg1 is function Get_Z return Rec; end Opt48_Pkg1;
with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.Primitive_Subps is use type LAL.Analysis_Unit; use type LALCO.Ada_Node_Kind_Type; procedure Extract_Nodes (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context) is begin if Utilities.Is_Relevant...
with AUnit.Assertions; use AUnit.Assertions; package body Day.Test is procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is pragma Unreferenced (T); p : constant Program := load_file("test1.txt"); t1 : constant Long_Integer := sum_memory(p); begin Assert(t1 = 165, "Wrong number, ex...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Extraction.Utilities; private package Extraction.Node_Edge_Types is -- Node names. function Get_Node_Name (File : VFS.Virtual_File; Directory_Prefix : VFS.Virtual_File) return String; function Get_Node_Name (Project : GPR.Project_Type; Directory_Prefix : VFS.Virtual_File) return...
with AUnit.Test_Cases; package Tc is type Test_Case is new AUnit.Test_Cases.Test_Case with null record; function Name (Test : Test_Case) return AUnit.Message_String; procedure Register_Tests (Test : in out Test_Case); end tc;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- { dg-do compile } -- { dg-options "-g -gnatVa" } with Unchecked_Conversion; procedure Unchecked_Convert7 is type BPA is array (1 .. 23) of Boolean; pragma Pack (BPA); for BPA'Size use 23; subtype Byte is Natural range 0 .. 255; type R is record S : Boolean; E : Byte; F : BPA; ...
-- 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. ...
----------------------------------------------------------------------- -- dynamo -- Ada Code Generator -- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2017, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- basic_counters.ads -- Basic non-task safe counters for use with smart_ptrs -- Copyright (c) 2016, 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 permission notice appe...
-- CE2410A.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) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Ada.Calendar.Formatting; package body Apsepp.Calendar is ---------------------------------------------------------------------------- Unknown_Time_Zone_Cached_Avail : Boolean := False; Unknown_Tim...
----------------------------------------------------------------------- -- html.forms -- ASF HTML Form Components -- Copyright (C) 2010, 2011, 2012, 2013, 2014, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
-- -- 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...
-- Copyright 2015,2016,2017 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 ...
------------------------------------------------------------------------- -- GL.Buffer.general - a generic for producing the various types of openGL vertex buffer objects. -- -- Copyright (c) Rod Kay 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose,...
-- with Ada.Text_IO; -- Debug. with Ada.Unchecked_Deallocation, Ada.Strings.Fixed, Ada.Characters.Handling; package body ARM_Database is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the database to store items for non-normative -- appendixes. ...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; limited with bits_types_struct_timeval_h; limited with bits_types_struct_timespec_h; limited with bits_types_u_sigset_t_h; package sys_select_h is -- unsupported macro: FD_SETSIZE __FD_SETSIZE -- unsupported macro: NFDBITS __NFD...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with swig; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_get_minmax_reply_t is -- Item -- type Item is record response_type : aliased Interfaces.Unsigned_8; pad0 : aliased Interface...
-- 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 -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- 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 witho...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; package SDL_SDL_error_h is -- arg-macro: procedure SDL_OutOfMemory () -- SDL_Error(SDL_ENOMEM) -- arg-macro: procedure SDL_Unsupported () -- SDL_Error(SDL_UNSUPPORTED) procedure SDL_SetE...
<?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></userIPName> <cdfg class_id="1" tracking_level="1" version="...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- 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 Ships.Crew.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Ships.Crew.Test_Data .Test with ...
-- Copyright 2008-2016 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 2011-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Copyright 2012-2021 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.Strings.Unbounded; with Simple_Logging; package body CLIC.Config is use Ada.Strings.Unbounded; use TOML; package Trace renames Simple_Logging; function Image (F : TOML.Any_Float) return String; ---------------------- -- Import_Recursive -- ---------------------- procedure Import_...
----------------------------------------------------------------------- -- AUnit utils - Helper for writing unit tests -- Copyright (C) 2009, 2010 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Unchecked_Deallocation; package body Prot2_Pkg2 is protected type Rec is private M : T; end Rec; protected body Rec is end; procedure Create (B : out Id) is begin B := new Rec; end; procedure Delete (B : in out Id) is procedure Free is new Unchecked_Deallocation(Obj...
-- with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Readable_Sequences.String_Sequences; use Readable_Sequences; package Protypo.Tokens is use Ada.Strings.Unbounded; subtype Token_Position is Readable_Sequences.String_Sequences.Position_Type; No_Position : constant Token_Position := ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- { dg-do run } procedure Interface_Conv is package Pkg is type I1 is interface; procedure Prim (X : I1) is null; type I2 is interface; procedure Prim (X : I2) is null; type DT is new I1 and I2 with null record; end Pkg; use Pkg; Obj : DT; CW_3 : I2'Class := Obj; CW_5 ...
with Ada.Text_IO; procedure Euler8 is Product_Size : constant Positive := 13; type Product is range 0 .. 9 ** Product_Size; package Product_IO is new Ada.Text_IO.Integer_IO(Product); function String_Product(S: String) return Product is Prod: Product := 1; begin for C of S loop Pro...