CombinedText
stringlengths
4
3.42M
package Tcl.Commands.Test_Data.Tests.Argv_Pointer is end Tcl.Commands.Test_Data.Tests.Argv_Pointer;
----------------------------------------------------------------------- -- awa-users-beans -- ASF Beans for user module -- Copyright (C) 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 us...
with Ada.Finalization; with Interfaces; with kv.avm.references; use kv.avm.references; with kv.avm.Instructions; with kv.avm.Registers; with kv.avm.Memories; with kv.avm.Actor_References; with kv.avm.Actor_References.Sets; with kv.avm.Tuples; package kv.avm.Frames is Program_Counter_Error : exception; Invalid_...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is x: integer := 2147483648; begin Put('a'); end;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" function GL.API.Subprogram_Reference (Function_Name : String) return System.Address; pragma Preelaborate (GL.API.Subprogram_Reference);
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Check_Positive2 is N : Integer; begin Put ("Enter an integer value: "); -- Put a String Get (N); -- Reads in an integer value Put (N); -- Put an Integer declare S : String := (if N > 0 then " is...
with Ada.Float_Text_IO, Ada.Integer_Text_IO, Ada.Text_IO, Ada.Numerics.Elementary_Functions; procedure First_Class_Functions is use Ada.Float_Text_IO, Ada.Integer_Text_IO, Ada.Text_IO, Ada.Numerics.Elementary_Functions; function Sqr (X : Float) return Float is begin ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); with Ada.Finalization; with System.Storage_Elements; package System.Storage_Pools is pragma Preelaborate; type Root_Storage_Pool is abstract limited new Ada.Finalization.Limited_Controlled with private; pragma Preelaborable_Initialization (Root_Storage_Pool); procedure...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Calendar; use Ada.Calendar; with Ada.Containers.Generic_Array_Sort; with Ada.Containers.Vectors; with Ada.Exceptions; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Wide_Wide_Unbounded; use Ada.Strings.Wide_Wide_Unbounded; with Ada.Text_IO; with Ada.Uncheck...
-------------------------------------------------------------------------------- -- 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...
-- C37209B.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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Display.Basic; use Display.Basic; with Display; use Display; package Solar_System.Graphics is type Drawable_I is interface; procedure Draw(Drawable : Drawable_I; Canvas : Canvas_ID) is abstract; type Visible_Body_Decorator_T is abstract new Drawable_I and Still_Body_I with private; procedure Draw(D...
with AdaM.program_Unit, AdaM.Declaration, AdaM.a_Type, AdaM.Context, AdaM.Declaration.of_exception, Ada.Streams; package AdaM.Declaration.of_package is type Item is new Declaration.item and program_Unit.item with private; -- View -- type View is access all...
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. package GBA.Audio is type Sweep_Shift_Type is range 0 .. 7; type Frequency_Direction is ( Increasing , Decreasing ); for Frequency_Direction use ( Increasing => 0 , Decreasing => 1 ); type Sweep_Duration_Ty...
<?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/> <cdfg class_id="1" tracking_level="1" version="0...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Record_Representation_Clauses is function Create (For_Token : not null Program.Lexical_...
-- -- Copyright (c) 2015, John Leimon <jleimon@gmail.com> -- -- 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 appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS ...
<?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="...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
package ZMQ.Tests.TestCases is pragma Preelaborate; end ZMQ.Tests.TestCases;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Text_IO; with Ada.Numerics.Float_Random; procedure Rock_Paper_Scissors is package Rand renames Ada.Numerics.Float_Random; Gen: Rand.Generator; type Choice is (Rock, Paper, Scissors); Cnt: array (Choice) of Natural := (1, 1, 1); -- for the initialization: pretend that each of Rock, Paper, ...
with TLSF.Block.Types; with TLSF.Context; with TLSF.Proof.Model.Block; package TLSF.Proof.Model.Context with SPARK_Mode, Ghost, Abstract_State => (State) is package BT renames TLSF.Block.Types; package TC renames TLSF.Context; package MB renames TLSF.Proof.Model.Block; use type BT.Address; use typ...
-- RUN: %llvmgcc -S %s package Field_Order is type Tagged_Type is abstract tagged null record; type With_Discriminant (L : Positive) is new Tagged_Type with record S : String (1 .. L); end record; end;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with GESTE; package Player is procedure Move (Pt : GESTE.Pix_Point); function Position return GESTE.Pix_Point; procedure Update; procedure Jump; procedure Move_Left; procedure Move_Right; end Player;
-- Swagger Petstore -- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special_key` to test the authorization filters. -- -- OpenAPI spec vers...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2008-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. -- -- ...
-- Test program. Read a valid toml-test compatible JSON description on the -- standard input and emit a corresponding TOML document on the standard -- output. with Ada.Containers.Generic_Array_Sort; with Ada.Strings.Unbounded; with Ada.Text_IO; with GNATCOLL.JSON; with TOML; with TOML.Generic_Dump; procedure Ada...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Element_Vectors; with Program.Elements.Membership_Tests; with Program.Element...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
----------------------------------------------------------------------- -- users - User creation, password tests -- Copyright (C) 2009, 2010, 2011, 2012, 2017, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
pragma Check_Policy (Trace => Off); with Ada.Command_Line; with Ada.Environment_Variables; with Ada.Processes; with Ada.Streams.Stream_IO.Pipes; with Ada.Text_IO.Text_Streams; procedure process is use type Ada.Command_Line.Exit_Status; Target : constant String := Standard'Target_Name; In_Windows : constant Boolean :...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
-- 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 RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Text_IO; with HAL; use HAL; with Hex_Dump; procedure TC_Hexdump is Data : UInt8_Array (1 .. 650); Cnt : UInt8 := 0; begin for Elt of Data loop Elt := Cnt; Cnt := Cnt + 1; end loop; Hex_Dump.Hex_Dump (Data => Data, Put_Line => Ada.Text_IO.Put_Lin...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
----------------------------------------------------------------------- -- package body Crout_LU, LU decomposition, with equation solving -- Copyright (C) 2008-2018 Jonathan S. Parker. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provi...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, Universidad Politécnica de Madrid -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by John Self of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and t...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Exceptions; with File_Operations; with Utilities; with PortScan.Log; package body Port_Specification.Web is package LAT renames Ada.Characters.Latin_...
-- { dg-do compile } -- { dg-options "-O2 -fdump-tree-optimized" } function Volatile7 return Integer is type Vol is new Integer; pragma Volatile (Vol); type R is record X : Vol := 0; end record; V : R; begin for J in 1 .. 10 loop V.X := V.X + 1; end loop; return Integer (V.X); ...
with GESTE; with GESTE.Grid; pragma Style_Checks (Off); package Game_Assets.level_1 is -- level_1 Width : constant := 20; Height : constant := 16; Tile_Width : constant := 8; Tile_Height : constant := 8; -- Backcolor package Backcolor is Width : constant := 20; Height ...
-- This spec has been automatically generated from STM32WB55x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.WWDG is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_T_Field is HAL.UI...
-- CC3232A.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.Strings.Unbounded; use Ada.Strings.Unbounded; package Latex_Writer is type Style_Spec (<>) is private; type Table_Handler (<>) is tagged private; type Length_Unit is (Pt, Cm, Mm, Inch); type Latex_Length is private; subtype Em_Length is Float; Zero : co...
package body Neural.Privvy is procedure dummy is begin null; end dummy; -- placeholder for future subprograms. end Neural.Privvy;
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. package body Apsepp.Test_Event_Class.Impl is ---------------------------------------------------------------------------- package body Derivation is -------------------------------------------------...
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- -- ...
----------------------------------------------------------------------- -- asf.responses.mockup -- ASF Response mockup -- Copyright (C) 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with System.Formatting; with System.Long_Long_Integer_Types; package body System.Version_Control is subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; -- implementation function Get_Version_String (V : Unsigned_Types.Unsigned) return Version_String is Last : Natural; Error...
------------------------------------------------------------------------------- -- Title : Blinky example status file -- -- File : main.ads -- Author : Vitor Finotti -- Created on : 2019-04-25 14:53:55 -- Description : -- -- -- --------------------------------------------------------------...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later ve...
procedure Input_1 is generic type T is private; type Index is range <>; type Array_T is array (Index range <>) of T; Null_Value : T; with function Img (A, B: T) return boolean; procedure Generic_Reverse_Array (X : in out Array_T); procedure Generic_Reverse_Array (X : in out Array_T) is beg...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- CD7101D.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...
----------------------------------------------------------------------- -- awa-images-modules -- Image management module -- Copyright (C) 2012, 2016 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...
-- -- 3.3.1 Object Declarations -- -- object_declaration ::= -- defining_identifier_list : [aliased] [constant] subtype_indication [:= expression]; -- | defining_identifier_list : [aliased] [constant] array_type_definition [:= expression]; -- | single_task_declaration -- | single_protected_declaration -- -- defini...
------------------------------------------------------------------------------ -- -- -- Copyright (c) 2014-2016 Vitalij Bondarenko <vibondare@gmail.com> -- -- -- ----...
with Tridiagonal_LU; With Text_IO; use Text_IO; procedure tridiag_tst_1 is type Real is digits 15; package rio is new Text_IO.Float_IO(Real); use rio; Type Index is range 1..40; Package Tri is new Tridiagonal_LU (Real, Index); use Tri; SolutionVector : Column; D : Matrix := ...
----------------------------------------------------------------------- -- asf-streams -- Print streams for servlets -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package avx512dqintrin_h is -- Copyright (C) 2014-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Pub...
-- Copyright 2008-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit required by compiler package System.Task_Info is pragma Preelaborate; -- required for task and pragma Task_Info by compiler (s-parame.ads) type Scope_Type is (Process_Scope, System_Scope, Default_Scope); pragma Discard_Names (Scope_Type); type Task...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Containers.Vectors; with Ada.Strings.Unbounded; package Command_Line is package S_U renames Ada.Strings.Unbounded; package Input_File_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => S_U.Unbounded_String, "=" => S_U."="); function Parse_Com...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
package impact.d3.triangle_Callback -- -- Provides a callback for each overlapping triangle when calling processAllTriangles. -- -- This callback is called by processAllTriangles for all 'impact.d3.Shape.concave' derived class, -- such as 'impact.d3.Shape.concave.triangle_mesh.bvh', -- 'impact.d3.Shape.conca...
with DOM.Core; with Route_Aggregator; use Route_Aggregator; with Route_Aggregator_Communication; use Route_Aggregator_Communication; with Route_Aggregator_Common; use Route_Aggregator_Common; with Ada.Containers.Ordered_Maps; with Ada.Containers.Ord...
------------------------------------------------------------------------------ -- -- -- Unicode Utilities -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- akt-commands-list -- List commands to report database information for admin tool -- Copyright (C) 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "Licen...
-- Copyright 2010-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.Text_IO; use Ada.Text_IO; procedure Test is procedure P(x,y,:integer) is begin x := 0; end; begin P(0); end;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...