text
stringlengths
4
1.04M
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.D...
-- { dg-do compile } with Varsize3_Pkg1; use Varsize3_Pkg1; procedure Varsize3_5 is Filter : constant Arr := True.E; begin null; end;
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
<?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 RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- atlas -- atlas applications ----------------------------------------------------------------------- -- Copyright (C) 2012, 2013, 2014, 2015, 2016, 2017, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Lic...
-- This spec has been automatically generated from STM32F427x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with System; with HAL; package STM32_SVD.FSMC is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------- -- BCR1_Register -- ---------...
----------------------------------------------------------------------- -- awa-mail-clients-aws_smtp -- Mail client implementation on top of AWS SMTP client -- Copyright (C) 2012, 2016, 2017, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Vers...
-- Copyright 2009-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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------------- -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
-- -- 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...
pragma License (Unrestricted); -- implementation unit required by compiler with System.Unsigned_Types; package System.Wid_LLU is pragma Pure; -- required for Modular'Width by compiler (s-widllu.ads) function Width_Long_Long_Unsigned ( Lo, Hi : Unsigned_Types.Long_Long_Unsigned) return Natural; ...
with Gtk.Button; use Gtk.Button; with Gtk.GEntry; use Gtk.GEntry; with Gtk.Label; use Gtk.Label; with Gtk.Window; use Gtk.Window; with Gtk.Widget; use Gtk.Widget; with Gtk.Table; use Gtk.Table; with Gtk.Handlers; with Gtk.Main; procedure Graphic_Input is Window : Gtk_Window; Grid : Gtk_Table; Lab...
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/ayacc_separates.a,v 1.1 88/08/08 12:07:39 arcadia Exp $ -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were David Taback and Deepak Tolani. -- Enhancements were made by Ronald J. Schmalz...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . I N I T -- -- S p e c -- ----...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 onox <denkpadje@gmail.com> -- -- 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/L...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- This spec has been automatically generated from STM32WL5x_CM4.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DAC is pragma Preelaborate; --------------- -- Registers -- --------------- -- CR_TSEL array type ...
-- C47009A.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...
---------------------------------------------------------------------- -- -- The Dining Philosophers' Problem -- -- written by -- -- Edmond Schonberg -- and -- Gerry Fisher -- -- Ada Project -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
-- Generated by utildgen.c from system includes with Interfaces.C; package Util.Systems.Types is subtype dev_t is Interfaces.C.unsigned; subtype ino_t is Long_Long_Integer; subtype off_t is Long_Long_Integer; subtype blksize_t is Interfaces.C.int; subtype blkcnt_t is Long_Long_Integer; subtype uid_t...
----------------------------------------------------------------------- -- package body e_Jacobi_Eigen, extended precision Jacobi eigen-decomposition -- 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 gra...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Datos; use Datos; function Media ( L : Lista ) return Float is -- pre: Dada una lista, calcular la media de sus valores -- post: La media de los valores de la lista Suma / longitud numelementos : Natural; acumulador : Float; LCopia : Lista; begin numelementos := 0; acumulador := 0.0; LCopia...
-- Swaggy Jenkins -- Jenkins API clients generated from Swagger / Open API specification -- -- OpenAPI spec version: 1.1.1 -- Contact: blah@cliffano.com -- -- NOTE: This package is auto generated by the swagger code generator 3.2.1-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. wi...
-- 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 = "Sublist3rAPI" type = "api" function start() setratelimit(1) end function vertical(ctx, domain) local page, err = request({...
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- OEML _ REST API -- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> -- -- The version of the OpenAPI document: v1 -- C...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
with Test_Solution; use Test_Solution; with Ada.Numerics; use Ada.Numerics; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; with Ada.Containers.Vectors; package Problem_5 is type Int64 is range -2**63 .. 2**63 - 1; type Prime_Count is record Prime : Int64; Count...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...
-- This spec has been automatically generated from STM32F429x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with HAL; with System; package STM32_SVD.ADC is pragma Preelaborate; --------------- -- Registers -- --------------- ----------------- -- SR_Register -- --------------...
package body Nilakantha is procedure Iterate(Self : in out NilakanthaSeries) is A : Long_Float; S : Long_Float; begin A := Long_Float(Self.A); S := Long_Float(Self.S); Self.A := Self.A + 2; Self.S := -Self.S; Self.Pi := Self.Pi + S * (4.0 / (A * (A * (A + ...
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- c...
with Ada.Text_IO; procedure Print_Variable (Name, Value : String) is begin Ada.Text_IO.Put_Line (Name & ": " & Value); end Print_Variable;
with Aggr20_Pkg; use Aggr20_Pkg; with System; package Aggr20 is type Rec1 is record Address : System.Address; end record; Nil_Rec1 : constant Rec1 := (Address => Default_Nil_Address); type Rec2 is record Callback : Rec1; end record; Nil_Rec2 : constant Rec2 := (Callback => Nil_Rec1); ...
with xcb; use xcb; with xproto; with GLX; with Render; ------------------------------------------------------------------------------- -- Compositor -- Troodon is a compositing window manager, this package sets up the X -- Composite extension and requests an overlay window with a GLX context that -- we can render eac...
-- 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. -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- ...
-- { dg-do run } procedure Pack12 is type U16 is mod 2 ** 16; type Key is record Value : U16; Valid : Boolean; end record; type Key_Buffer is record Current, Latch : Key; end record; type Block is record Keys : Key_Buffer; Stamp : U16; end record; pragma Pack (Block); My_Blo...
-- 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 url = require("url") name = "Yahoo" type = "scrape" function start() setratelimit(1) end function vertical(ctx, domain) for i=0,10 do local ok = ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- C35502H.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="11"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
with Ada.Wide_Characters.Unicode; -- GNAT Specific. -- with Ada.Text_IO; package body Symbex.Lex is package Unicode renames Ada.Wide_Characters.Unicode; -- -- Private subprograms. -- procedure Set_State (Lexer : in out Lexer_t; State : in State_Stage_t) is begin Lexer.State (State) := T...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with xcb; with bits_stdint_uintn_h; with xproto; with bits_stdint_intn_h; with xcb_render; with System; with Interfaces.C.Strings; package xcb_randr is XCB_RANDR_MAJOR_VERSION : constant := 1; -- /usr/include/xcb/randr.h:23 XCB_...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- CD7204B.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 RASCAL.Memory; use RASCAL.Memory; with RASCAL.OS; use RASCAL.OS; with RASCAL.Utility; use RASCAL.Utility; with RASCAL.FileExternal; use RASCAL.FileExternal; with RASCAL.ToolboxMenu; use RASCAL.ToolboxMenu; with RASCAL.Toolbox; use RASCAL.Toolbox;...
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- { dg-do compile } with Ada.Streams; use Ada.Streams; procedure Addr9_2 is type Signal_Type is mod 2 ** 16; type A_Item is record I : Signal_Type; Q : Signal_Type; end record with Size => 32; for A_Item use record I at 0 range 0 .. 15; Q at 2 range 0 .. 15; ...
------------------------------------------------------------------------------ -- -- -- 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/> <cdfg class_id="1" tracking_level="1" version="0...
-- { dg-do run } with GNAT.Table; with Ada.Text_IO; use Ada.Text_IO; procedure test_table1 is type Rec is record A, B, C, D, E : Integer := 0; F, G, H, I, J : Integer := 1; K, L, M, N, O : Integer := 2; end record; R : Rec; package Tab is new GNAT.Table (Rec, Positive, 1, 4, ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- are-installer-bundles -- Merge bundles for distribution artifact -- Copyright (C) 2013, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
with AVTAS.LMCP.ByteBuffers; use AVTAS.LMCP.ByteBuffers; package -<full_series_name_dots>-.Factory is HEADER_SIZE : constant := 8; CHECKSUM_SIZE : constant := 4; SERIESNAME_SIZE : constant := 8; LMCP_CONTROL_STR : constant := 16#4c4d4350#; function packMessage(rootObject : in avtas.lmcp.obje...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) 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="...
with Ada.Finalization; generic type Key_Type is private; with function "=" (L : Key_Type; R : Key_Type) return Boolean; with function Hash (Key : Key_Type) return Natural; type Value_Type is private; package ACO.Utils.DS.Generic_Table is pragma Preelaborate; type Table (Number_Of_Buckets :...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package uctype_h is -- * Copyright (c) 2000, 2005, 2008 Apple Inc. All rights reserved. -- * -- * @APPLE_LICENSE_HEADER_START@ -- * -- * This file contains Original Code and/or Modifications of Original Code -- * as defined...
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2004 Dmitriy Anisimkov -- -- ...
-- Copyright 2016,2017 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 ...
<?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="...
-- Mojang Authentication 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 th...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- F defines a differential equation whose solution is Exp (i*t). -- dY/dt = F(Y). -- For testing. generic type Real is digits <>; package Sinu_2 is type Dyn_Index is range 0..1; -- the 2nd component is just ignored in the tests. type Dynamical_Variable is array(Dyn_Index) of Real; DynZero : constant...
-- floats_ranges.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; procedure floats_ranges is Sum1Float : Float := 53.98; Sum2Float : Float := 94.22; Total : Float := 0.0; begin Put_Line("The min range of a float [ " & Float'Image(Float'First) & " ] and the max range of a flo...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- @author Alexander Senier -- @date 2019-01-24 -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or w...
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
<?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 Interfaces; use Interfaces; with Interfaces.C; use Interfaces.C; package GPIO is function Init return Unsigned_8; pragma Import (C, Init, "bcm2835_init"); procedure Close; pragma Import (C, Close, "bcm2835_close"); procedure Write(Pin: Unsigned_16; Value: Unsigned_8); pragma Import (C, Write, "bcm...
----------------------------------------------------------------------- -- AWA.Countries.Models -- AWA.Countries.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ad...
generic type Component is private; type List_Index is range <>; type List is array (List_Index range <>) of Component; Default_Value : Component; with function "=" (Left, Right : List) return Boolean is <>; package Bounded_Dynamic_Arrays is pragma Pure; Maximum_Length : constant List_Index := List...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, 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 f...
with vole_lex_dfa; use vole_lex_dfa; with text_io; use text_io; package vole_lex_io is user_input_file : file_type; user_output_file : file_type; NULL_IN_INPUT : exception; AFLEX_INTERNAL_ERROR : exception; UNEXPECTED_LAST_MATCH : exception; PUSHBACK_OVERFLOW : exception; AFLEX_SCANNER_JAMMED : exception; type eob_ac...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- c...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, 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 f...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
-- Copyright 2004 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 2 of the License, or -- (at your option) any later version. -- -- This...
----------------------------------------------------------------------- -- intl -- Small libintl binding -- 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 except in compl...
-- 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.AES is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_DATATYPE_Field is ...
-- { dg-do compile } procedure Object_Overflow4 is procedure Proc (x : Integer) is begin null; end; type Index is new Long_Integer range 0 .. Long_Integer'Last; type Arr is array(Index range <>) of Integer; type Rec (Size: Index := 6) is record -- { dg-warning "Storage_Error" } A: Arr (0..Size); end ...
with gel.Window.setup, gel.Applet.gui_world, gel.World, gel.Camera, gel.Mouse, gel.Sprite, gel.Events, gel.Forge, Physics, float_Math, lace.Response, lace.Event.utility, Ada.Calendar, Ada.Text_IO, Ada.Exceptions; pragma unreferenced (gel.Wind...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...