CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
-------------------------------------------------------- -- E n c o d i n g s -- -- -- -- Tools for convertion strings between Unicode and -- -- national/vendor character sets. -- -- - - - - - - - - -...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- { dg-do compile } procedure Bad_Array is A1 : array(Character range <> ) of Character := ( 'a', 'b', 'c' ); begin null; end Bad_Array;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with umingw_h; package ctype_h is -- unsupported macro: isascii __isascii -- unsupported macro: toascii __toascii -- unsupported macro: iscsymf __iscsymf -- unsupported macro: iscsym __iscsym -- skipped func _isctype...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER 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" version="...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ type handling in skill -- -- |___/_|\_\_|_|____| by: Timm Felden ...
with float_Math.Geometry.d3.Modeller.Forge; package body openGL.IO.lat_long_Radius is function to_Model (math_Model : access Geometry_3d.a_Model) return IO.Model is site_Count : constant long_Index_t := long_Index_t (math_Model.site_Count); coord_Count : constant long_Index_t := 0; --get_c...
-- -*- Mode: Ada -*- -- Filename : crash.adb -- Description : Provides access to the multiboot information from GRUB -- Legacy and GRUB 2. -- Author : Luke A. Guest -- Created On : Thur Nov 17 16:52:05 2016 -- Licence : See LICENCE in...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
-- -- Jan & Uwe R. Zimmer, Australia, July 2011 -- with GLOBE_3D; with Real_Type; use Real_Type; with Rotations; use Rotations; with Vectors_2D_N; use Vectors_2D_N; with Vectors_3D; use Vectors_3D; package Graphics_Structures is type RGB is (Red, Green, Blue); type ...
<?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 NXP.Device; use NXP.Device; with System; use System; with NXP_SVD; use NXP_SVD; with NXP_SVD.GPIO; use NXP_SVD.GPIO; with NXP_SVD.IOCON; use NXP_SVD.IOCON; with NXP_SVD.INPUTMUX; use NXP_SVD.INPUTMUX; with NXP_SVD.PINT; use NXP_SVD.PINT; package body NXP.GPIO is ...
-- Copyright 2015-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. -- -- ...
----------------------------------------------------------------------- -- ado-audits-tests -- Audit tests -- Copyright (C) 2018, 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 file except ...
<?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="...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- -- -- ...
----------------------------------------------------------------------- -- util-streams-encoders -- Streams with encoding and decoding capabilities -- Copyright (C) 2017, 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "L...
with Tkmrpc.Transport.Client; with Tkmrpc.Request.Cfg.Tkm_Version.Convert; with Tkmrpc.Request.Cfg.Tkm_Limits.Convert; with Tkmrpc.Request.Cfg.Tkm_Reset.Convert; with Tkmrpc.Response.Cfg.Tkm_Version.Convert; with Tkmrpc.Response.Cfg.Tkm_Limits.Convert; with Tkmrpc.Response.Cfg.Tkm_Reset.Convert; package body Tkmrpc.Cl...
-- compile with -gnatW8 with Ada.Text_IO; use Ada.Text_IO; with Ada.Wide_Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Strings.Unbounded; procedure Test_Types is type Cows_Counter_Type is new Natural; type Fixed_Point_Type is delta 0.01 range 0.0 .. 1_166_405_539.00; -- decimal fixed ...
package physics.Shape -- -- Models a physical shape. -- is type Item is limited interface; type View is access all Item'Class; procedure define (Self : in out Item) is abstract; procedure free (Self : in out View); procedure Scale_is (Self : in out Item; Now : in math.Vector_3) is abstract; p...
-- 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. -- -- ...
/* Author - Ashish Tyagi */ with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Hello is Div_By_3 : Boolean := false; Div_By_5 : Boolean := false; begin For_Loop : for I in Integer range 1 .. 100 loop Div_By_3 := I mod 3 = 0; Div_By_5 := I mod 5 = ...
with AdaM.Declaration.of_exception, gtk.Widget; private with gtk.gEntry, gtk.Box, gtk.Label, gtk.Button; package aIDE.Editor.of_exception is type Item is new Editor.item with private; type View is access all Item'Class; package Forge is function new_Editor (the_Targ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
with Interfaces; use Interfaces; package body VirtAPU is generic type Int_T is range <>; function To_Int (S : Sample) return Int_T with Inline; generic type UInt_T is mod <>; function To_UInt (S : Sample) return UInt_T with Inline; function Saturate (S : Sample) return Sample ...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 Luke A. Guest -- -- 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 fr...
with STM32_SVD.SPI; with STM32_SVD; use STM32_SVD; package STM32GD.SPI is pragma Preelaborate; SPI_1 : STM32_SVD.SPI.SPI_Peripheral renames STM32_SVD.SPI.SPI1_Periph; type SPI_Data_Size is (Data_Size_8b, Data_Size_16b); type SPI_Data_8b is array (Natural range <>) of Byte; type SPI_Data_...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Integer_Text_IO; with Ada.Text_IO; with Ada.Containers.Ordered_Sets; with PrimeUtilities; package body Problem_35 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; subtype One_Million is Integer range 1 .. 1_000_000; package Million_Set is new Ada.Containers.Ordered_Sets(...
pragma License (Unrestricted); -- extended unit with Ada.Numerics; package Ada.Colors is -- Color spaces. pragma Pure; subtype Brightness is Float range 0.0 .. 1.0; subtype Hue is Float range 0.0 .. Float'Pred (2.0 * Numerics.Pi); type RGB is record Red : Brightness; Green : Brightness; ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with System; use System; with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package AVTAS.LMCP.ByteBuffers is Maximum_Length : constant := UInt32'Last - 1; subtype Index is UInt32 range 1 .. Maximum_Length; type ByteBuffer (Capacity : Ind...
-- MIT License -- -- Copyright (c) 2021 Glen Cornell <glen.m.cornell@gmail.com> -- -- 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 rig...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- J E W L . C A N V A S _ I M P L E M E N T A T I O N -- -- -- ...
-- parse_args-concrete.ads -- A simple command line option parser -- Copyright (c) 2014 - 2015, 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 appear in...
with Interfaces.C; package body usb_handler is -- External IRQ handler function usb_handler return Interfaces.C.int with Import => True, Convention => C, External_Name => "OTG_FS_IRQHandler"; -- Main usb device protected body Device_Interface is procedure Handler is ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S...
--# - # - # - # ----------------- -- Change log: -- -- GdM : 2011 : using System.Address_To_Access_Conversions instead of Ada.Unchecked_Conversion -- GdM : 2008 : GL 1.5 items moved to GL.Extended ('cause of Windows : - () -- RK : 2007 : added CLAMP_TO_EDGE and CLAMP_TO_BORDER for texturing. -- RK : 2007 ...
------------------------------------------------------------------------------ -- -- -- 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 Game.Test_Data.Tests.AttributesData_Container.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Ga...
pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with sys_ustdint_h; with arm_math_types_h; package arm_common_tables_h is -- unsupported macro: twiddleCoef twiddleCoef_4096 -- unsupported macro: ARMBITREVINDEXTABLEF64_16_TABLE_LENGTH ((uint16_t)12) -...
package body DDS.Request_Reply.treqtrepsimplereplier is -- /* $Id$ -- -- (c) Copyright, Real-Time Innovations, 2012-2016. -- All rights reserved. -- No duplications, whole or partial, manual or electronic, may be made -- without express written permission. Any such copies, or -- revis...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Unix; with Replicant; with Parameters; with PortScan.Log; with PortScan.Tests; with PortScan.Packager; with File_Operations; with Ada.Directories; with Ada.Characters.Latin_1; with Ada.Exceptions; package bod...
with Ada.Exceptions; with Ada.Text_IO; with Ada.Strings.Wide_Fixed; with Ada.Wide_Text_IO; with Ada.Wide_Text_IO.Wide_Unbounded_IO; with Symbex.Lex; with Symbex.Parse; with Symbex.Walk; procedure Dump is package Exceptions renames Ada.Exceptions; package IO renames Ada.Text_IO; package Lex renames...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Lumen.GL -- Lumen's own thin OpenGL bindings -- -- Chip Richards, NiEstu, Phoenix AZ, Summer 2010 -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that ...
-------------------------------------------------------------------------------- -- Copyright (c) 2013, Felix Krause <contact@flyx.org> -- -- 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 pe...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Text_IO; package body MathUtils is function rand01 return Float is begin return Ada.Numerics.Float_Random.Random(gen); end rand01; function rand(min, max: Float) return Float is begin return (max - min)*rand01 + min; end rand; function mse(a, b: in Vector) return Float is ...
-- C32001A.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...
procedure @_Main_Name_@ is begin -- Insert code here. null; end @_Main_Name_@;
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or withou...
with Ada.Real_Time; use Ada.Real_Time; package body Solar_System.Graphics is procedure Draw_Body(Object : Body_Type; Canvas : Canvas_ID) is begin if Object.Visible then Draw_Sphere(Canvas => Canvas, Position => (Object.Pos.X, Object.Pos.Y, 0.0), Radius ...
----------------------------------------------------------------------- -- AWA.Sysadmin.Models -- AWA.Sysadmin.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-...
with Ada.Finalization; with ACO.CANopen; with ACO.States; with ACO.Messages; with ACO.OD; with ACO.OD_Types; private with Ada.Real_Time; private with ACO.Events; package ACO.Nodes is type Node_Base (Id : ACO.Messages.Node_Nr; Handler : not null access ACO.CANopen.Handler; Od : not nu...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
-- With in my Text io package for put/get With Text_IO; Use Text_IO; -- With in Random float package for my random number generator With Ada.Numerics.Float_Random; Use Ada.Numerics.Float_Random; -- With in Unbounded strings for my string monipulation With Ada.Strings.Unbounded; Use Ada.Strings.Unbounded; -- Begining...
-- This spec has been automatically generated from STM32F0xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.DBGMCU is pragma Preelaborate; --------------- -- Registers -- --------------- subtype IDCODE_DEV_ID_Field is STM32_...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistr...
with Main; use Main; with Ada.Exceptions; with Reporter; with RASCAL.TaskManager; package body Controller_Internet is -- package TaskManager renames RASCAL.TaskManager; -- procedure Handle (The : in TEL_ViewHomePage_Type) is Child : Integer; begin Child := Task...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_vendor_private_with_reply_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Inter...
with GID.Buffering; package body GID.Color_tables is procedure Convert(c, d: in U8; rgb: out RGB_color) is begin rgb.red := (d and 127) / 4; rgb.green:= (d and 3) * 8 + c / 32; rgb.blue := c and 31; -- rgb.red := U8((U16(rgb.red ) * 255) / 31); rgb.green:= U8((U16(rgb.green) * 255) / 31...
----------------------------------------------------------------------- -- AWA.Images.Models -- AWA.Images.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen....
with Text_IO; use Text_IO; -- Programme minimal qui affiche juste un message. procedure Premier_Programme is begin Put_Line ("Bravo ! Vous avez réussi à exécuter le programme."); end Premier_Programme;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- CC3224A.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...
-- C34005A.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" version="...
with GNAT.IO; use GNAT.IO; with GNAT.Serial_Communications; use GNAT.Serial_Communications; -- with Ada.Strings.Fixed; use Ada.Strings.Fixed; -- with Ada.Strings; use Ada.Strings; -- with HK_Data; use HK_Data; with Ada.Exceptions; use Ada.Exceptions; with Ada.IO_Exceptions; package body TTC is...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
<?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...
----------------------------------------------------------------------- -- asf-applications-tests - ASF Application tests using ASFUnit -- Copyright (C) 2011, 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- 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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
with Configuration; with Ada.Real_Time; private with Unicode_Strings; private with Qweyboard.Languages; private with Logging; private with Output_Backend; package Qweyboard.Emulation is package RT renames Ada.Real_Time; use type RT.Time, RT.Time_Span; task type Timer_Task; protected Softboard is pr...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or withou...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
-- AoC 2020, Day 15 with Ada.Text_IO; with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Containers; use Ada.Containers; package body Day is package TIO renames Ada.Text_IO; function natural_hash(n : in Natural) return Hash_Type is begin return Hash_Type(n); end natural_hash; package Natural_Hashed_M...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- 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...