CombinedText
stringlengths
4
3.42M
-- Project: Strato -- System: Stratosphere Balloon Flight Controller -- Author: Martin Becker (becker@rcs.ei.tum.de) -- @summary String functions package MyStrings with SPARK_Mode is function Is_AlNum (c : Character) return Boolean; -- is the given character alphanumeric? function Strip_Non_Alphanum (s...
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2012 Felix Krause <contact@flyx.org> -- -- 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/licen...
-- -- Copyright (C) 2017 secunet Security Networks AG -- -- 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 2 of the License, or -- (at your option) any later version. -- -- This ...
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro> -- -- 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, cop...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit specialized for FreeBSD with System.Long_Long_Complex_Types; package System.Long_Long_Complex_Elementary_Functions is pragma Pure; -- Complex subtype Imaginary is Long_Long_Complex_Types.Imaginary; subtype Complex is Long_Long_Complex_Types.Complex; ...
----------------------------------------------------------------------- -- awa-sysadmin-modules -- Module sysadmin -- 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 use this file excep...
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.HMATRIXB is pragma Preelaborate; --------------- -- Registers -- --------------- -------------------------------------- ...
--C37404B.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. -- Unlimite...
------------------------------------------------------------------------------ -- -- -- Command Line Interface Toolkit -- -- -- -- -...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- 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 = "HackerTarget" type = "api" function start() setratelimit(1) end function vertical(ctx, domain) scrape(ctx, {url=buildurl(d...
----------------------------------------------------------------------- -- wiki-parsers-tests -- Unit tests for wiki parsing -- Copyright (C) 2011, 2012, 2013, 2015, 2016, 2017, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "...
-- 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 Tk.MainWindow.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Tk.MainWindow .Test_Data ...
------------------------------------------------------------------------------ -- Copyright (c) 2021, Lev Kujawski. -- -- 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 restrictio...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- 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. -- -- ...
package ARM_Syntax is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the database to collect the syntax summary and -- cross-reference. -- -- --------------------------------------- -- Copyright 2000, 2006, 2011 -- AXE Consultants. All right...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with HAL.I2C; use HAL.I2C; use HAL; package T67XX_I2C_IO is type Delay_Procedure_Type is access procedure; type IO_Port is tagged record Port : Any_I2C_Port; Device : I2C_Address; Ptr : Delay_Procedure_Type; end record; type Any_IO_Port is access all IO_Port'Class; procedu...
-- { dg-do compile } -- { dg-options "-gnatws" } procedure Discr17 is F1_Poe : Integer := 18; function F1 return Integer is begin F1_Poe := F1_Poe - 1; return F1_Poe; end F1; generic type T is limited private; with function Is_Ok (X : T) return Boolean; procedure Check; procedure Check...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Device; use Device; with Memory.Container; use Memory.Container; package body Memory.Transform.Shift is function Create_Shift return Shift_Pointer is result : constant Shift_Pointer := new Shift_Type; begin return result; end Create_Shift; function Random_Shift(next : ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- util-http-clients-curl -- HTTP Clients with CURL -- Copyright (C) 2012 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 f...
-- Ada Standard Libraries with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random; -- TJa. Libraries with TJa.Keyboard; use TJa.Keyboard; with TJa.Window.Elementary; use TJa.Window.Elementary...
-- Copyright 2010-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 LIBRARY COMPONENTS -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Compilation_Units; with Program.Visibility; with Program.Elements.Defining_Names; with Program.Symbols; private package ...
A : My_Type := 3; B : My_Type := A;
with Ada.Text_IO, History_Variables; procedure Test_History is package Str_With_Hist is new History_Variables(String); -- define a history variable S: Str_With_Hist.Variable; Sum: Integer := 0; begin -- assign three values S.Set("one"); S.Set(S.Get & S.Get); --"oneone" S.Set("three"); ...
pragma License (Unrestricted); -- implementation unit specialized for Darwin (or Linux, or Windows) package System.Long_Long_Elementary_Functions is pragma Pure; function logl (x : Long_Long_Float) return Long_Long_Float with Import, Convention => Intrinsic, External_Name => "__builtin_logl"; function ...
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and th...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Interfaces.C.Pointers; package GL.Types.Colors is pragma Preelaborate; type Color_Index is (R, G, B, A); subtype Basic_Color_Index is Color_Index range R .. B; subtype Component is S...
-- C83024E1M.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. -- Unlim...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- awa-wikis-tests -- Unit tests for wikis module -- Copyright (C) 2018, 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 ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- 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. ...
-- E28002B.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...
generic package Symbolic_Expressions.Solving is -- ==================== -- -- == SYSTEM SOLVING == -- -- ==================== -- package Equation_Tables is new Ada.Containers.Indefinite_Ordered_Maps (Key_Type => Variable_Name, Element_Type => Symbolic_Expression); procedur...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- Gen.Database.Model -- Gen.Database.Model ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-ge...
-- 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. with AUnit.Test_Fixtures; package Missions...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Abstract : -- -- call the GPS indentation engine with debug text -- -- Copyright (C) 2017 All Rights Reserved. -- -- This program 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; either version 3, or (a...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Unchecked_Conversion; with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with STM32.GPIO; use STM32.GPIO; with STM32.SPI; use STM32.SPI; with HAL.SPI; package body Framebuffer_ILI9341 is LCD_SPI : SPI_Port renames SPI_5; LCD_WIDTH : const...
package Loop_Optimization15 is type B16_T is mod 2 ** 16; for B16_T'Size use 16; for B16_T'Alignment use 1; procedure Proc (L : B16_T); end Loop_Optimization15;
with AdaM.Factory, AdaM.Declaration.of_package; package body AdaM.context_Line is -- Storage Pool -- record_Version : constant := 1; max_context_Lines : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", ...
package body Parser is function Evaluate (Root : in Node_Ptr) return Integer is Result : Integer := 0; begin if Root /= null then case Root.Node_Type is when Empty => null; when Literal => return Root.Value; when Plus => ...
procedure scan_for_file_ghosts ( directory_path : in String; file_ghosts : out Filename_Container.Vector; directory_ghosts : out Filename_Container.Vector); -- Given an existing directory path, the procedure will produce -- both a list of deleted directories and a list of files deleted -- (but...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Copyright 2007-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. -- -- ...
------------------------------------------------------------------------------ -- EMAIL: <darkestkhan@gmail.com> -- -- License: ISC License (see COPYING file) -- -- -- -- ...
private package GID.Decoding_BMP is -------------------- -- Image decoding -- -------------------- generic type Primary_color_range is mod <>; with procedure Set_X_Y (x, y: Natural); with procedure Put_Pixel ( red, green, blue : Primary_color_range; alpha : Primary_color_ran...
<?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/> <cdfg class_id="1" tracking_level="1" version="0...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
pragma Warnings (Off); pragma Style_Checks (Off); package body Float_portable_binary_transfer is inverse_scaling : constant Num := 1.0 / imposed_scaling; -- We rely on Ada's attributes of floating - point types, RM : A.5.3 procedure Split (f : in Num; m : out Mantissa_type; e : out Exponent_type) is ...
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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 vers...
with Ada.Command_Line; with Ada.Text_IO; with GNAT.Command_Line; with GNAT.OS_Lib; with GNAT.Strings; with Asis_Adapter.Tool; procedure Run_Parser_Adapter is package ACL renames Ada.Command_Line; package GCL renames GNAT.Command_Line; type Options_Record is record -- Initialized Config : GCL.Comma...
----------------------------------------------------------------------- -- gen-commands-info -- Collect and give information about the project -- Copyright (C) 2011, 2012, 2013, 2014 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "...
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and th...
with GL.lean, Interfaces.C.Strings, System; package GL.Pointers -- -- Provides pointer conversions. -- is use Interfaces; function to_GLvoid_access (From : in system.Address) return access GLvoid; function to_GLvoid_access (From : access C.unsigned_char) return access GLvoid; ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
-- Copyright 2010-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 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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit specialized for Windows package System.Native_Execution_Time is subtype CPU_Time is Duration; function Clock return CPU_Time; end System.Native_Execution_Time;
with System; package body lace.Strings.Search is use Ada.Strings.Maps, System; ----------------------- -- Local Subprograms -- ----------------------- function Belongs (Element : Character; Set : Maps.Character_Set; Test : Membership) return Boolean; pragma In...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, Fabien Chouteau -- -- -- -- ...
with ada.unchecked_Deallocation, ada.Containers, ada.Calendar, ada.Text_IO, ada.Exceptions; package body physics.Engine is use ada.Text_IO; protected body safe_command_Set is function is_Empty return Boolean is begin return the_Count = 0; end is_Empt...
----------------------------------------------------------------------- -- net-protos-dispatchers -- Network protocol dispatchers -- Copyright (C) 2016, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
package Natools.Static_Maps.Web.Simple_Pages.Commands is pragma Pure; function Hash (S : String) return Natural; end Natools.Static_Maps.Web.Simple_Pages.Commands;
-- Copyright 2013-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 COMPILER COMPONENTS -- -- -- -- ...
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2018 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...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- AUDIO / RIFF -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_18.Main is begin Put_Line ("Day-18"); end Adventofcode.Day_18.Main;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma License (Unrestricted); -- implementation unit required by compiler with System.Packed_Arrays; package System.Pack_05 is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). type Bits_05 is mod 2 ** 5; for Bits_05'Size use 5; package Indexing is new P...
-- Copyright 2011-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. -- -- ...