CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Copyright 2018-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- C34007F.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 -- -- -- -- ...
----------------------------------------------------------------------- -- keystore-logs -- Log support for the keystore -- Copyright (C) 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- C87B07D.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...
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. package body Tcl.Strings.Test_Data is p...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
-- -- 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 2006-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. -- -- ...
------------------------------------------------------------------------------ -- philosophers.ads -- -- This package supplies a task type for the Philosophers in the Enhanced -- Dining Philosophers simulation. It also defines an array of philosophers. -- -- Entries: -- -- Here_Is_Your_Name (Name) ass...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- Util.Concurrent.Pools -- Concurrent Pools -- Copyright (C) 2011, 2014 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...
package Memory.Container is type Container_Type is abstract new Memory_Type with private; type Container_Pointer is access all Container_Type'Class; function Get_Memory(mem : Container_Type'Class) return Memory_Pointer; procedure Set_Memory(mem : in out Container_Type'Class; o...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Ada.Text_IO; procedure Missing_Permutations is subtype Permutation_Character is Character range 'A' .. 'D'; Character_Count : constant := 1 + Permutation_Character'Pos (Permutation_Character'Last) - Permutation_Character'Pos (Permutation_Character'First); type Permutation_String is ar...
----------------------------------------------------------------------- -- awa-events-dispatchers -- AWA Event Dispatchers -- Copyright (C) 2012, 2017, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
----------------------------------------------------------------------- -- jason-tickets-beans -- Beans for module tickets -- Copyright (C) 2016, 2017, 2019 Stephane.Carrez -- Written by Stephane.Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
-- Copyright 2006-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. -- -- ...
with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Strings.Hash; with Ada.Environment_Variables; with Ada.Text_IO; with Ada.Strings.Unbounded; package Globals is pragma Elaborate_Body; use Ada.Strings.Unbounded; Blueprint_Folder_Name : constant String := "blueprints"; Blueprint_Default : ...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Copyright 2017 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "Spyse" type = "api" function start() setratelimit(2) end function check() local c local cfg = datasrc_config() if ...
------------------------------------------------------------------------------ -- 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 Ada.Text_IO; procedure Test_For_Primes is type Pascal_Triangle_Type is array (Natural range <>) of Long_Long_Integer; function Calculate_Pascal_Triangle (N : in Natural) return Pascal_Triangle_Type is Pascal_Triangle : Pascal_Triangle_Type (0 .. N); begin Pascal_Triangle (0) := 1; for...
-- Copyright 2016 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 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 2015-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 2008-2015 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 Loop_Optimization7_Pkg is pragma Pure; type Rec is record F : Float; end record; function Conv (Trig : Rec) return Rec; end Loop_Optimization7_Pkg;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
generic type Element is mod <>; type Index is range <>; type Element_Array is array (Index range <>) of Element; Hash_Length : Index; type Hash_Context is private; with function Hash_Initialize (Input : Element_Array) return Hash_Context; with procedure Hash_Update (Ctx : in out Hash_Context...
with impact.d2.orbs.Collision, impact.d2.Math; private with impact.d2.orbs.dynamic_Tree; package impact.d2.orbs.Broadphase -- -- The broad-phase is used for computing pairs and performing volume queries and ray casts. -- This broad-phase does not persist pairs. Instead, this reports potentially new pairs. --...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- -- -- ...
-- Copyright (c) 2020 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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...
-- 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. -- -- ...
-- Copyright 2019-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- security-auth-oauth-yahoo -- Yahoo! OAuth based authentication -- Copyright (C) 2013, 2014, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
-- { dg-do run } with Ada.Direct_IO; procedure Test_Direct_IO is package BDIO is new Ada.Direct_IO (Boolean); use BDIO; FD : File_Type; begin Create (FD, Form => "shared=yes"); Reset (FD); Close (FD); end Test_Direct_IO;
generic N: Integer; package data is type Vector is private; type Matrix is private; function Func1(A,B,C: in Vector; MA,ME: in Matrix) return Integer; function Func2(MH,MK,ML: in Matrix) return Integer; function Func3(P: out Vector; MR,MT: in Matrix) return Vector; function Matrix_Multiplication...
with Ada.Text_IO; with BigInteger; use BigInteger; package body Problem_13 is package IO renames Ada.Text_IO; procedure Solve is type Problem_13_Array is Array (1 .. 100) of BigInt; nums : Problem_13_Array; sum : BigInt := BigInteger.Create(0); begin nums( 1) := BigInteger.Create("371...
-- This package was generated by the Ada_Drivers_Library project wizard script package ADL_Config is Board : constant String := "STM32F407_Discovery"; -- From user input Architecture : constant String := "ARM"; -- From board definition Vendor ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Protected_Body_Stubs is function Create (Protected_Token : not null Program.Lexical_Elements ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- Abstract : -- -- A generic doubly linked list with indefinite elements, allowing -- permanent references to elements. -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Text_IO; with Ada.Characters.Handling; use Ada.Characters.Handling; with Ada.Strings.UTF_Encoding; with System.WCh_Con; with System.WCh_Cnv; with JSON_Gen.Command_Lines; use JSON_Gen.Command_Lines; with Ada.Directories; use Ada.Directories; with Interfaces; use type Interfaces.Unsigned_16; with GNAT.OS_Lib; use ...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2013-2015, 2017, 2018, 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 -- as publishe...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------- -- -- -- 0MQ Ada-binding -- -- -- ...
-- { dg-do run } -- { dg-options "-gnatws" } with Text_IO; procedure renaming2 is type RealNodeData; type RefRealNodeData is access RealNodeData; type ExpressionEntry; type RefExpression is access ExpressionEntry; type RefDefUseEntry is access Natural; type ExpressionEntry is recor...
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: Martin Becker (becker@rcs.ei.tum.de> with Units; -- @summary -- Target-independent specification for simple HIL of Piezo Buzzer package HIL.Buzzer with SPARK_Mode is procedure I...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- openapi-server-operation -- Rest server operation -- Copyright (C) 2017, 2018, 2022 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may n...
with Ada.Streams; with Ada.Streams.Stream_IO; package Generator.Markdown is procedure To_HTML (Filein : in out Ada.Streams.Stream_IO.File_Type); private end Generator.Markdown;
<?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="...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, Fabien Chouteau -- -- -- -- ...
-- Copyright © by Jeff Foley 2020-2022. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -- SPDX-License-Identifier: Apache-2.0 local json = require("json") name = "SecurityTrails" type = "api" function start() set_rate_limit(2) end function ...
----------------------------------------------------------------------- -- security-openid-servlets - Servlets for OpenID 2.0 Authentication -- 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 "Li...
-- -- Copyright (C) 2018, AdaCore -- -- This spec has been automatically generated from FE310.svd pragma Ada_2012; pragma Style_Checks (Off); with System; -- E31 CPU Coreplex, high-performance, 32-bit RV32IMAC core -- package Interfaces.FE310 is pragma Preelaborate; pragma No_Elaboration_Code_All; ----...
package Loop_Optimization12 is type Enum1 is (A, B, C, D, E, F, G, H, I, J); type Enum2 is (A, B, C); type Enum3 is (A, B, C, D, E, F); type Enum4 is (A, B, C, D); type Enum5 is (A, B, C, D, E); type Arr is array (Enum3, Enum4, Enum4, Enum5, Enum5, Enum3, Enum2, Enum3, Enum5, Enum...
-- Copyright 2019 by Martin Moene -- -- https://github.com/martinmoene/kalman-estimator-ada -- -- Distributed under the Boost Software License, Version 1.0. -- (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) with system.machine_code; use system.machine_code; with interfaces; use int...
with Ada.Characters.Handling; with Ada.Strings.Fixed; with Ada.Tags; with Ahven.Framework; with Subtypes.Api; package Test_Subtypes.Read is package Skill renames Subtypes.Api; use Subtypes; use Subtypes.Api; type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (c) 2016-2021 Vitalii Bondarenko <vibondare@gmail.com> -- -- -- ----...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Formatting; with Interfaces; with System.Machine_Code; procedure fpu is use type Interfaces.Unsigned_16; CW : aliased Interfaces.Unsigned_16 := 0; begin System.Machine_Code.Asm ("fstcw (%0)", Inputs => System.Address'Asm_Input ("r", CW'Address), Volatile => True); declare function Image is new Ada...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Tkmrpc.Types; with Tkmrpc.Results; with Tkmrpc.Operations; package Tkmrpc.Response is Response_Size : constant := 1024; Header_Size : constant := 24; Body_Size : constant := Response_Size - Header_Size; type Header_Type is record Operation : Operations.Operation_Type; Request_Id : ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
function Warnsdorff_Get_Tour(Start_X, Start_Y: Index; Scene: Tour := Empty) return Tour; -- uses Warnsdorff heurisitic to find a tour faster -- same interface as Get_Tour
-- sarge_test.adb - Implementation file for the Sarge command line argument parser test. -- Revision 0 -- Features: -- - -- Notes: -- - -- 2019/04/10, Maya Posch with Sarge; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; procedure Sarge_Test is function "+"(S : in...
----------------------------------------------------------------------- -- Util -- Utilities -- Copyright (C) 2009, 2010, 2021 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 compl...
with GLOBE_3D.Options, GLOBE_3D.Textures, GLOBE_3D.Math, GLOBE_3D.Portals; with GL.Errors, GL.Skins; with Ada.Characters.Handling; use Ada.Characters.Handling; with Ada.Exceptions; use Ada.Exceptions; with Ada.Strings.Fixed; use Ada.Strings, Ada.S...
-- This spec has been automatically generated from STM32L0x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.AES is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_DATATYPE_Field is H...
-- Copyright 2020-2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local url = require("url") name = "GoogleCT" type = "cert" function start() set_rate_limit(2) end function vertical(ctx, domain) local token = "" loca...
with STM32_SVD; use STM32_SVD; generic Pin : in GPIO_Pin; Port : in out Natural; Mode : in Pin_IO_Modes := Mode_In; Pull_Resistor : in Internal_Pin_Resistors := Floating; Alternate_Function : in GPIO_Alternate_Function := 0; package STM32GD.GPIO.Pin is pragma Preelaborate; procedure Init; p...
-- Copyright 2015 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...
M:main F:G$Delay1ms$0_0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$delay_ms$0_0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$EEPROM_read$0_0$0({2}DF,SC:U),C,0,0,0,0,0 F:G$EEPROM_write$0_0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$EEPROM_clean$0_0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$Data_change$0_0$0({2}DF,SV:S),C,0,0,0,0,0 F:G$DATA_read1$0_0$0({2}DF,SV:S),C,0,0,0,...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
-- 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 Combat.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Combat.Test_Data .Test with null ...
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- -- ...
pragma License (Unrestricted); with Ada.Task_Identification; -- use Ada.Task_Identification; generic type Attribute is private; Initial_Value : Attribute; package Ada.Task_Attributes is type Attribute_Handle is access all Attribute; function Value ( T : Task_Identification.Task_Id := Task_Identifica...
-- 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_glx_are_textures_resident_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- ...
----------------------------------------------------------------------- -- AWA.OAuth.Models -- AWA.OAuth.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen.go...
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_envp); gnat_...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...