CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- 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_get_histogram_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type It...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Shoot'n'loot -- Copyright (c) 2020 Fabien Chouteau with Game_Assets.Tileset; with Game_Assets.Tileset_Collisions; with Game_Assets.Misc_Objects; with GESTE_Config; use GESTE_Config; with GESTE.Tile_Bank; with GESTE.Sprite.Animated; with Sound; package body Monsters is package Item renames Game_Assets.Misc_...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2012, Stefan Berghofer -- Copyright (C) 2012, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or withou...
M:brazo_robotico
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, Universidad Politécnica de Madrid -- -- -- -- ...
--////////////////////////////////////////////////////////// -- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- File: -- -- formatted_output-float_output.ads -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- { dg-do run } procedure Pack17 is type Bitmap_T is array (Natural range <>) of Boolean; pragma Pack (Bitmap_T); type Uint8 is range 0 .. 2 ** 8 - 1; for Uint8'Size use 8; type Record_With_QImode_Variants (D : Boolean) is record C_Filler : Bitmap_T (1..7); C_Map : Bitmap_T (1..3); ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with SubmarineSubSystem; use SubmarineSubSystem; with Ada.Text_IO; use Ada.Text_IO; procedure Main is begin StartSubmarine; Put_Line("Nuclear Submarine is: "); Put_Line(NuclearSubmarine.GoodToGo'Image); Put_Line("Try Starting Submarine"); StartSubmarine; Put_Line("Now Nuclear Submarine is: "); Put...
package Natools.S_Expressions.Printers.Pretty.Config.Token_Opt is pragma Preelaborate; function Hash (S : String) return Natural; end Natools.S_Expressions.Printers.Pretty.Config.Token_Opt;
with Ada.Text_IO; with Ada.Exceptions; with AdaBaseXClient; use Ada.Exceptions; use AdaBaseXClient; procedure ExampleAdd is begin if (Connect ("localhost", 1_984) = False) then Ada.Text_IO.Put_Line ("Connect failed."); return; else if (Authenticate ("admin", "admin") = False) then Ada...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- keystore-passwords-files -- File based password provider -- 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 us...
-- Copyright 2013-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. -- -- ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Interfaces.C.Strings; with Glfw.API; package body Glfw.Windows.Clipboard is function Get (Object : not null access Window'Class) return String is use type Interfaces.C.Strings.chars_ptr...
-- CE3704D.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...
<?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" ver...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
----------------------------------------------------------------------- -- are-installer-merges -- Web file merge -- Copyright (C) 2020, 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 ...
<?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...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
<?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" ver...
with Ada.Text_IO.Formatting; with System.Formatting.Fixed; with System.Formatting.Float; with System.Formatting.Literals.Float; package body Ada.Text_IO.Fixed_IO is procedure Put_To_Field ( To : out String; Fore_Last, Last : out Natural; Item : Num; Aft : Field; Exp : Field); proced...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- -- -- ...
-- 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 = "FacebookCT" type = "cert" function start() setratelimit(20) end function vertical(ctx, domain) if (api == nil or api.key =...
with Ada.Text_Io; use Ada.Text_Io; with Interfaces; use Interfaces; procedure Bitwise is subtype Byte is Unsigned_8; package Byte_Io is new Ada.Text_Io.Modular_Io(Byte); A : Byte := 255; B : Byte := 170; X : Byte := 128; N : Natural := 1; begin Put_Line("A and B = "); Byte_Io.Put(Item =>...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2022, AdaCore -- -- -- -- Redis...
-- CD2A23E.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 -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT SYSTEM UTILITIES -- -- -- -- ...
-- Mojang API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do not edit the class manuall...
--------------------------------------------------------------------------------- -- Copyright 2004-2005 © Luke A. Guest -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. ------------------------------------------------------------...
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.LPUART is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_DEDT_Field is HAL.UInt5; su...
-- Copyright (C)2021,2022 Steve Merrony -- 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 use, copy, modify, merge, publis...
package body Player is function Build (Race : String; Good_Ability : Good_Type; Bad_Ability : Bad_Type; Victory_Condition : Victory; Homeworld : Planet.Object) return Object is play...
with mylog; use mylog; package LogQueue with SPARK_Mode is protected type queue is procedure Put (msg : mylog.logmsg) with Pre => msg.typ in mylog.msgtype'Range; -- SPARK does not know that entry Get (msg : out mylog.logmsg); private buf : mylog.logmsg; -- unconstrained var...
-- Copyright 2007, 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...
-- Copyright 2012-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- ...
-- 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_get_tex_image_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type It...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with ZMQ.Sockets; with ZMQ.Contexts; with ZMQ.Messages; with Ada.Text_IO; use Ada.Text_IO; procedure ZMQ.examples.Server is ctx : ZMQ.Contexts.Context; s : ZMQ.Sockets.Socket; resultset_string : constant String := "OK"; begin -- Initialise 0MQ context, requesting a single application thread -- a...
-- Copyright 2010-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. -- -- ...
package body AFRL.CMASI.AutomationResponse.SPARK_Boundary with SPARK_Mode => Off is -------------------- -- Get_WaypointEntity_Set -- -------------------- function Get_WaypointEntity_Set (Response : AutomationResponse) return Int64_Set is L : constant Vect_MissionCommand_Acc_Acc := Response....
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__main.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__main.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body ada_main is pragma Warnings (Off); E72 : Short_Integer; pragma Import (Ada, E72, "system__o...
----------------------------------------------------------------------- -- 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 COMPILER COMPONENTS -- -- -- -- ...
-- Copyright 2007-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. -- -- ...
with TEXT_IO; with STRINGS_PACKAGE; use STRINGS_PACKAGE; with LATIN_FILE_NAMES; use LATIN_FILE_NAMES; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; with LINE_STUFF; use LINE_STUFF; with ENGLISH_SUPPORT_PACKAGE; use ENGLISH_SUPPORT_PACKA...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with Interfaces.C_Streams; package Sensors.libSensors.sensors_sensors_h is SENSORS_API_VERSION : constant := 16#500#; -- /usr/include/sensors/sensors.h:34 -- unsupported macro: SENSORS_CHIP_NAME_PREF...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Buffers; use GL.Buffers; with GL.Immediate; use GL.Immediate; with GL.Fixed.Matrix; use GL.Fixed.Matrix; with GL.Types.Colors; use GL.Types; use GL.Fixed; with GL_Test.Displ...
with Primes_IDL_File.PrimeNumberRequest_DataWriter; with Primes_IDL_File.PrimeNumberReply_DataReader; with DDS.Request_Reply.Typed_Requester_Generic; package Primes.PrimeNumberRequester is new DDS.Request_Reply.Typed_Requester_Generic (Request_DataWriters => Primes_IDL_File.PrimeNumberRequest_DataWriter, Reply_Dat...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
----------------------------------------------------------------------- -- html-pages -- HTML Page Components -- Copyright (C) 2011, 2014, 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 fil...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- { dg-do run } -- with Init12; use Init12; with Text_IO; use Text_IO; with Dump; procedure T12 is Local_A11 : Arr11; Local_A22 : Arr22; begin Local_A11(1,1) := My_A11(1,1) + 1; Local_A11(1,2) := My_A11(1,2) + 1; Local_A11(2,1) := My_A11(2,1) + 1; Local_A11(2,2) := My_A11(2,2) + 1; Put ("Local_A11 :...
package body P is -- The implementation of P, invisible to anybody procedure W (X : in out T); -- Operation used only internally end P;
with Text_IO; procedure Hello_World is begin Text_IO.Put_line("Happy New Year 1396!"); end Hello_World;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, Universidad Politécnica de Madrid -- -- -- -- ...
with Program.Parsers.Nodes; use Program.Parsers.Nodes; pragma Style_Checks ("N"); procedure Program.Parsers.On_Reduce_1501 (Self : access Parse_Context; Prod : Anagram.Grammars.Production_Index; Nodes : in out Program.Parsers.Nodes.Node_Array) is begin case Prod is when 1501 => Nodes (1) := Self...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-- C52103M.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...
-- Abstract: -- -- An unbounded queue of definite non-limited elements. -- -- Copyright (C) 2017 - 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 published by the Free -- Software Foundation;...
<?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="...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
-- CD5014V.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...
-- //////////////////////////////////////////////////////////// -- // -- // 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 COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
--- util-pipes.adb.orig 2021-09-04 15:38:31 UTC +++ util-pipes.adb @@ -132,16 +132,8 @@ package body Util.Pipes is -- <stdio.h>, the ISO C standard requires that they also be available -- as real functions. Hence we may import them directly. - pragma Linker_Options ("util-nl.o"); - - functio...
-- This spec has been automatically generated from STM32L4x3.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...
-- { dg-do run } -- { dg-options "-O" } with Opt27_Pkg; procedure Opt27 is type Rec_T is record A, B, C, D, E : Integer; end record; package List is new Opt27_Pkg (Rec_T); My_List : List.List_T; function Is_Match (Element : Rec_T; Template : Integer) return Boolean is begin ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- -- -- ...
with NPC_PC; use NPC_PC; package body Enemy_BST is ------------------------------- -- Name: Jon Spohn -- David Rogina -- Enemy Package ------------------------------- --Make Enemy FUNCTION MakeNode (E : EnemyClass) RETURN EnemyTree IS Result : EnemyTree; BEGIN Result := NEW BinaryT...
with gel_demo_Server, gel_demo_Client; procedure launch_GEL_fused -- -- Launches the fused version. -- is begin gel_demo_Server.item.start; gel_demo_Client.item.start; end launch_GEL_fused;
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
with FLTK.Widgets.Groups.Windows; private with Interfaces.C; package FLTK.Static is type Awake_Handler is access procedure; type Timeout_Handler is access procedure; type Idle_Handler is access procedure; type Buffer_Kind is (Selection, Clipboard); type Clipboard_Notify_Handl...
package body Unit_2 is task type Boring_Task_Type is entry Drop_Off_Work (Work_In : in Range_Type); end Boring_Task_Type; task body Boring_Task_Type is Work : Range_Type := 5; Result : Integer := 0; Factor : constant Positive := 2; begin -- Never ends: loop a...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; with CUPS.bits_types_h; limited with CUPS.bits_netdb_h; with CUPS.stdint_h; with CUPS.bits_sockaddr_h; with CUPS.unistd_h; limited with CUPS.bits_socket_h; limited with CUPS.bits_siginfo_h; limited...