id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
4,500
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a13a.ada
-- C54A13A.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...
4,501
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/route_aggregator/route_aggregator.adb
<gh_stars>10-100 with Ada.Text_IO; use Ada.Text_IO; package body Route_Aggregator with SPARK_Mode is pragma Unevaluated_Use_Of_Old (Allow); pragma Assertion_Policy (Ignore); -- Lemmas used to factor out reasonning about the redefined model of -- Int64_Formal_Set_Maps ------------------- -- Model...
4,502
ada
0
iyan22/AprendeAda
ejercicios2/prueba_eliminar_tercer_elemento.adb
with Ada.Text_Io; use Ada.Text_Io; with vectores; use vectores; with eliminar_tercer_elemento, escribir_vector; procedure prueba_eliminar_tercer_elemento is -- este programa hace llamadas al subprograma eliminar_tercer_elemento -- para comprobar si su funcionamiento es correcto Lista1: Vector_de_enteros(1..10);...
4,503
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-tables-ocl_attribute_mappings.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,504
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45282b.ada
<gh_stars>1-10 -- C45282B.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....
4,505
ada
0
persan/a-cups
src/gen/cups-cups_sidechannel_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; private package CUPS.cups_sidechannel_h is CUPS_SC_FD : constant := 4; -- cups/sidechannel.h:41 -- * "$Id: sidechannel.h 10996 2013-05-29 11:51:34Z msweet $" -- * -- * Side-channel A...
4,506
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/cortex-m1/microsemi/s-textio.adb
<filename>bb-runtimes/arm/cortex-m1/microsemi/s-textio.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
4,507
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sort1.ads
function sort1 (S : String) return String; pragma Pure (sort1);
4,508
ada
4
stcarrez/ada-lzma
src/lzma-check.ads
<gh_stars>1-10 pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Lzma.Base; with Ada.Streams; package Lzma.Check is LZMA_CHECK_ID_MAX : constant := 15; -- /usr/include/lzma/check.h:68 LZMA_CHECK_SIZE_MAX : constant := 64; -- /usr/include/lzma/check.h:102 --* -- * \file lzma...
4,509
ada
0
My-Colaborations/ada-servlet
regtests/servlet-routes-tests.adb
<reponame>My-Colaborations/ada-servlet ----------------------------------------------------------------------- -- servlet-routes-tests - Unit tests for Servlet.Routes -- Copyright (C) 2015, 2016, 2017, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
4,510
ada
22
FardaleM/metalang
out/prologin_template_charline.adb
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure prologin_template_charline is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Wr...
4,511
ada
4
MOUDDENEHamza/ENSEEIHT
1A/S5/PIM/tps/tp3/exemple_alea.adb
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Alea; -- Procédure qui illustre l'utilisation du paquetage Alea. procedure Exemple_Alea is package Mon_Alea is new Alea (5, 15); -- générateur de nombre dans l'intervalle [5, 15] use ...
4,512
ada
0
alexcamposruiz/dds-requestreply
src/dds-request_reply-request_generic.ads
with DDS.Typed_DataWriter_Generic; with DDS.Typed_DataReader_Generic; with DDS.Entity_Impl; with DDS.Topic; with DDS.DomainParticipant; with DDS.Subscriber; with DDS.Publisher; with DDS.Request_Reply.impl; private with RTIDDS.Low_Level.ndds_connext_c_connext_c_requester_h; generic with package Request_DataWriters i...
4,513
ada
0
leo-brewin/Regge
regge.adb
-- Copyright (c) 2017, <NAME> <<EMAIL>> -- -- 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 IS" AND THE AUTHOR DISC...
4,514
ada
2
glencornell/ada-socketcan
src/sockets-can.ads
-- MIT License -- -- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- 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, mo...
4,515
ada
4
faelys/gela-asis
source/asis/asis-gela-utils.adb
------------------------------------------------------------------------------ -- <NAME> A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
4,516
ada
30
jscparker/math_packages
polynomial/clenshaw/spherical_harmonics.adb
<filename>polynomial/clenshaw/spherical_harmonics.adb ----------------------------------------------------------------------- -- package body Spherical_Harmonics. Generates Spherical Harmonics. -- Copyright (C) 2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with o...
4,517
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0001.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,518
ada
24
svn2github/matreshka
source/sql/firebird/matreshka-internals-sql_drivers-firebird-queries.ads
<filename>source/sql/firebird/matreshka-internals-sql_drivers-firebird-queries.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- ...
4,519
ada
5
onox/dcf-ada
dcf/src/dcf-zip-crc.adb
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 1999 - 2018 <NAME> -- SWITZERLAND -- -- 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 limita...
4,520
ada
32
robdaemon/AdaYaml
Parser_Tools/src/interface/text-sets.ads
<reponame>robdaemon/AdaYaml with Ada.Containers.Hashed_Sets; package Text.Sets is new Ada.Containers.Hashed_Sets (Reference, Hash, Text."=");
4,521
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/g_tables.adb
<gh_stars>1-10 -- { dg-options "-gnatws" } package body G_Tables is function Create (L : Natural) return Table is begin return T : Table (1 .. L); end Create; end G_Tables;
4,522
ada
6
tsoding/ada-probe
src/aids-env.ads
<reponame>tsoding/ada-probe<gh_stars>1-10 with Ada.Containers.Hashed_Maps; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Unbounded.Hash; -- Basic support for .env files in Ada everyone was waiting for package Aids.Env is Syntax_Error : exception; package Env_Hashed_Map is new Ada.Con...
4,523
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/7sosinte.adb
<filename>tools-src/gnu/gcc/gcc/ada/7sosinte.adb ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
4,524
ada
0
melwyncarlo/ProjectEuler
problems/050/a050.adb
<reponame>melwyncarlo/ProjectEuler with Ada.Text_IO; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A050 is use Ada.Text_IO; use Ada.Integer_Text_IO; -- File Reference: http://www.naturalnumbers.org/primes.html FT : File_Type; Last_Index : Natural; Prime_Num ...
4,525
ada
20
charlie5/lace
3-mid/opengl/source/lean/geometry/lit_textured/opengl-program-lit_textured.adb
<filename>3-mid/opengl/source/lean/geometry/lit_textured/opengl-program-lit_textured.adb with openGL.Tasks, ada.Strings.fixed; package body openGL.Program.lit_textured is overriding procedure set_Uniforms (Self : in Item) is inverse_modelview_matrix_Uniform : constant Vari...
4,526
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_iface_aggr.adb
-- { dg-do run } with Ada.Text_IO, Ada.Tags; procedure Test_Iface_Aggr is package Pkg is type Iface is interface; function Constructor (S: Iface) return Iface'Class is abstract; procedure Do_Test (It : Iface'class); type Root is abstract tagged record Comp_1 : Natural := 0; end re...
4,527
ada
0
tyudosen/HeterogeneousStack
driver.adb
with Ada.Text_IO; use Ada.Text_IO; with hetro_stack; with hetro_stack_elems; use hetro_stack_elems; with Ada.Calendar; use Ada.Calendar; procedure driver is package IIO is new Ada.Text_IO.Integer_IO(Integer); use IIO; -- Will Satisfy Formal Parameter for generic instatntiation. -- Vehicle'Class will allow this to...
4,528
ada
1
selroc/Renaissance-Ada
src/examples/Rejuvenation_Workshop/tests/rejuvenation_workshop_suite.ads
with AUnit.Test_Suites; use AUnit.Test_Suites; package Rejuvenation_Workshop_Suite is function Suite return Access_Test_Suite; end Rejuvenation_Workshop_Suite;
4,529
ada
36
rewriting/tom
src/tom/library/sl/ada/mustrategy.ads
<reponame>rewriting/tom with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; with Ada.Containers.Ordered_Sets; with Ada.Containers.Doubly_Linked_Lists; package MuStrategy is VAR : constant ...
4,530
ada
79
Roldak/OpenGLAda
src/gl/implementation/gl-enums-queries.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" private with GL.Low_Level; package GL.Enums.Queries is pragma Preelaborate; -- Texture_Kind is declared in GL.Low_Level.Enums to be accessible for -- OpenCLAda type Parameter is (Time_Elapsed, ...
4,531
ada
13
Fabien-Chouteau/GESTE
tests/src/maths_test.adb
with Ada.Text_IO; use Ada.Text_IO; with GESTE.Maths_Types; use GESTE.Maths_Types; with GESTE.Maths; use GESTE.Maths; procedure Maths_Test is Sqrt_Values : array (Natural range <>) of Value := (0.0, 1.0, 1.00001, 2.0, 4.0, 25.0, 80.0, 81.0, 100.0); Cos_Values : array (Natural range <>) of Valu...
4,532
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-protocol_state_machines.ads
<filename>source/amf/uml/amf-uml-protocol_state_machines.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,533
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd3015g.ada
-- CD3015G.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...
4,534
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-request-ike-dh_get_shared_secret-convert.ads
<gh_stars>0 with Ada.Unchecked_Conversion; package Tkmrpc.Request.Ike.Dh_Get_Shared_Secret.Convert is function To_Request is new Ada.Unchecked_Conversion ( Source => Dh_Get_Shared_Secret.Request_Type, Target => Request.Data_Type); function From_Request is new Ada.Unchecked_Conversion ( Source...
4,535
ada
0
reznikmm/gela
source/oasis/program-elements-subtype_declarations.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.Subtype_Indications; with Program.Elem...
4,536
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto18.adb
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-flto" { target lto } } package body Lto18 is procedure Proc (Driver : Rec) is R : Path; begin for I in Driver.Step'Range loop R := Get (Driver, 1, Driver.Step (I)); R := Get (Driver, 2, Driver.Step (I)); R :=...
4,537
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-wchjis.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
4,538
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-zchuni.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,539
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/einfo.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,540
ada
0
reznikmm/gela
source/nodes/program-nodes-protected_definitions.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Element_Vectors; with Program.Lexical_Elements; with Program.Elements.Identifiers; with Program.Elements.Protected_Definitions; with Program.Element_Visitors;...
4,541
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/self.ads
<reponame>best08618/asylo with System; package Self is type Lim is limited private; type Lim_Ref is access all Lim; function G (X : Integer) return lim; procedure Change (X : in out Lim; Incr : Integer); function Get (X : Lim) return Integer; private type Lim is limited record Comp : Integer; ...
4,542
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr46.ads
package Discr46 is type Enum is (One, Two, Three); for Enum use (One => 1, Two => 2, Three => 3); type Rec1 (D : Boolean := False) is record case D is when False => null; when True => T : Integer; end case; end record; type Rec2 is record R : Rec1; C : Charact...
4,543
ada
0
jquorning/CELLE
source/action_lists.adb
<gh_stars>0 with Symbols; with States; -- with Rules; package body Action_Lists is procedure Append (Action_List : in out List; Kind : in Actions.Action_Kind; Symbol : in Symbols.Symbol_Access; State : in States.State_Acc...
4,544
ada
76
rod-chapman/SPARKNaCl
tests/secretbox3.adb
<filename>tests/secretbox3.adb with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.Core; use SPARKNaCl.Core; with SPARKNaCl.Debug; use SPARKNaCl.Debug; with SPARKNaCl.Secretbox; use SPARKNaCl.Secretbox; with SPARKNaCl.Stream; with Ada.Text_IO; use Ada.Text_IO; with System.Assertions; use System.As...
4,545
ada
1
micahwelf/FLTK-Ada
src/fltk-images-rgb-bmp.ads
<reponame>micahwelf/FLTK-Ada<gh_stars>1-10 package FLTK.Images.RGB.BMP is type BMP_Image is new RGB_Image with private; type BMP_Image_Reference (Data : not null access BMP_Image'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create ...
4,546
ada
0
My-Colaborations/ada-ado
src/ado-audits.adb
<filename>src/ado-audits.adb ----------------------------------------------------------------------- -- ado-audits -- Auditing support -- Copyright (C) 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance ...
4,547
ada
3
Heziode/aoc-ada-2021
12/2/src/main.adb
<filename>12/2/src/main.adb with Ada.Containers.Indefinite_Hashed_Maps, Ada.Containers.Indefinite_Hashed_Sets, Ada.Containers.Indefinite_Vectors, Ada.Containers.Synchronized_Queue_Interfaces, Ada.Containers.Unbounded_Synchronized_Queues, Ada.Execution_Time, Ada.Integer_Text_IO, Ada.Re...
4,548
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-auxdec.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-auxdec.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
4,549
ada
18
kraileth/ravenadm
src/file_operations.adb
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Directories; with Ada.Direct_IO; with Ada.Text_IO; with HelperText; package body File_Operations is package DIR renames Ada.Directories; package TIO renames Ada.Text_IO; package HT renames Help...
4,550
ada
0
Maxelweb/concurrency-sandbox
Resource_Control_Protocol/src/rcp.ads
package RCP is -- the amount of resources required by every single request -- can never exceed a predefined maximum quantity Max_Requests : constant Positive := 10; type Request_T is range 0 .. Max_Requests; type Use_T is (Long, Medium, Short); -- a descriptor type to denote the Item_T ...
4,551
ada
0
twdroeger/ada-awa
awa/src/model/awa-events-models.adb
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen....
4,552
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/widechar.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,553
ada
0
optikos/oasis
source/oasis/program-elements-representation_clauses.ads
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Clauses; package Program.Elements.Representation_Clauses is pragma Pure (Program.Elements.Representa...
4,554
ada
60
Letractively/ada-util
testutil/aunit/util-tests-reporter.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,555
ada
1
zrmyers/VulkanAda
test/mat/vulkan-math-mat2x2-test.adb
<filename>test/mat/vulkan-math-mat2x2-test.adb -------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2021 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "S...
4,556
ada
0
hgrodriguez/embedded-dashboard-console
src/execute-leds.adb
-- -- Copyright 2021 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- with LED_Control; package body Execute.LEDs is -------------------------------------------------------------------------- -- definition of the look up table for the procedures to execute -- based on the command given ------...
4,557
ada
0
FelixWangEOF/HelloWorld50
Ada/main.ada
<filename>Ada/main.ada with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put_Line ("Hello, World!"); end Hello;
4,558
ada
30
jrmarino/AdaBase
testcases/fruit2/fruit2.adb
<gh_stars>10-100 with AdaBase; with Connect; with Ada.Text_IO; procedure Fruit2 is package CON renames Connect; package TIO renames Ada.Text_IO; numrows : AdaBase.Affected_Rows; -- Intentionally broken UPDATE command (calories misspelled) cmd : constant String := "UPDATE fruits set caloriesx = 14 " ...
4,559
ada
0
fintatarta/eugen
src/Sym_Expr/symbolic_expressions-solving.ads
<filename>src/Sym_Expr/symbolic_expressions-solving.ads generic package Symbolic_Expressions.Solving is -- ==================== -- -- == SYSTEM SOLVING == -- -- ==================== -- package Equation_Tables is new Ada.Containers.Indefinite_Ordered_Maps (Key_Type => Variable_Name, ...
4,560
ada
0
jquorning/CELLE
source/states.adb
<reponame>jquorning/CELLE -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Contain...
4,561
ada
30
jrmarino/AdaBase
src/drivers/adabase-driver-base-firebird.adb
<filename>src/drivers/adabase-driver-base-firebird.adb -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with Ada.Strings.Fixed; package body AdaBase.Driver.Base.Firebird is package ASF renames Ada.Strings.Fixed; --------------- -- execute -- -...
4,562
ada
0
Letractively/ada-asf
src/asf-security-servlets.ads
----------------------------------------------------------------------- -- security-openid-servlets - Servlets for OpenID 2.0 Authentication -- Copyright (C) 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
4,563
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/par-ch2.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,564
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/storage.ads
<gh_stars>1-10 -- { dg-do compile } with System.Pool_Global; package Storage is x1: System.Pool_Global.Unbounded_No_Reclaim_Pool; type T1 is access integer; for T1'Storage_Pool use (x1); -- { dg-error "must be a variable" } type T2 is access Integer; for T2'Storage_Pool use x1; end Storage;
4,565
ada
26
damaki/libkeccak
src/common/keccak-generic_duplex.adb
------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of s...
4,566
ada
0
djgoku/RosettaCodeData
Task/Remove-duplicate-elements/Ada/remove-duplicate-elements-3.ada
<reponame>djgoku/RosettaCodeData w←1 2 3 1 2 3 4 1 ((⍳⍨w)=⍳⍴w)/w 1 2 3 4
4,567
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/i-vxwork.ads
<filename>llvm-gcc-4.2-2.9/gcc/ada/i-vxwork.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
4,568
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-parameter_sets.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,569
ada
4
sparre/ALSA-binding
src/sound-alsa.adb
-- The Beer-Ware License (revision 42) -- -- <NAME> <<EMAIL>> wrote this. As long as you -- retain this notice you can do whatever you want with this stuff. If we meet -- some day, and you think this stuff is worth it, you can buy me a beer in -- return. -- -- <NAME> package body Sound.ALSA is function Signed...
4,570
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-dp_aux_request.adb
<filename>firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-dp_aux_request.adb -- -- Copyright (C) 2015-2016 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 Foundati...
4,571
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/smartfusion2/s-textio.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,572
ada
80
thindil/steamsky
tests/bases-trade-test_data-tests.adb
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
4,573
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-ac.ads
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.AC is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control A type AC_CTRLA_Register is rec...
4,574
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.0.1/wisitoken.ads
-- Abstract: -- -- Root of WisiToken lexer/parser generator and exector. -- -- The token type is an integer subtype, not an enumeration type, to -- avoid making this package generic, which would make all other -- packages generic. -- -- Additional information about a token can be stored in the -- 'augmented' fie...
4,575
ada
0
reznikmm/gela
source/nodes/program-nodes-goto_statements.adb
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Goto_Statements is function Create (Goto_Token : not null Program.Lexical_Elements .Lexical_Element_Access; ...
4,576
ada
0
RREE/Ada_Drivers_Library
components/src/environment/lps25h.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...
4,577
ada
0
Vovanium/Encodings
source/encodings-encoding_lists.ads
with Ada.Strings.Bounded; package Encodings.Encoding_Lists is Encoding_Name_Length_Maximum: constant := 16; package Encoding_Name_Strings is new Ada.Strings.Bounded.Generic_Bounded_Length( Max => Encoding_Name_Length_Maximum ); end Encodings.Encoding_Lists;
4,578
ada
1
LaudateCorpus1/RosettaCodeData
Task/Ray-casting-algorithm/Ada/ray-casting-algorithm-3.ada
<filename>Task/Ray-casting-algorithm/Ada/ray-casting-algorithm-3.ada<gh_stars>1-10 with Ada.Text_IO; with Polygons; procedure Main is package Float_IO is new Ada.Text_IO.Float_IO (Float); Test_Points : Polygons.Point_List := (( 5.0, 5.0), ( 5.0, 8.0), (-10.0, 5.0), ( 0.0, 5.0), ...
4,579
ada
30
jscparker/math_packages
linear_algebra/bidiag_tst_1.adb
<reponame>jscparker/math_packages<filename>linear_algebra/bidiag_tst_1.adb<gh_stars>10-100 -- Test bidiagonalization of real valued square matrices. with Ada.Numerics.Generic_elementary_functions; with Bidiagonal; with Test_Matrices; with Text_IO; use Text_IO; procedure bidiag_tst_1 is type Real is digits 15; -...
4,580
ada
24
svn2github/matreshka
source/league/league-json-arrays.adb
<reponame>svn2github/matreshka<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,581
ada
0
ytomino/xml-ada
examples/read_rss.adb
<reponame>ytomino/xml-ada<gh_stars>0 with Ada.Characters.Latin_1; with Ada.Command_Line; with Ada.Streams.Stream_IO; with Ada.Text_IO; with XML.Streams; procedure read_rss is package Latin_1 renames Ada.Characters.Latin_1; procedure Read_RSS (Reader : in out XML.Reader) is type RSS_Version_Type is (RSS_1, RSS_2); ...
4,582
ada
0
ray2501/AdaBaseXClient
tests/clienttest.ads
<filename>tests/clienttest.ads with Ahven.Framework; package ClientTest is type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); procedure Unknown_Fail; procedure Port_Fail; procedure Connect_Auth; procedure Connect_Pass; procedure Execute_Test; ...
4,583
ada
33
ytomino/drake
source/required/s-pack40.ads
<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit required by compiler with System.Packed_Arrays; package System.Pack_40 is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). type Bits_40 is mod 2 ** 40; for Bits_40'Size use 40; packag...
4,584
ada
3
albinjal/ada_basic
Lab6/lab6JANZEN.adb
with Ada.Sequential_IO; with Ada.Text_IO; use Ada.Text_IO; with Sorted_List; use Sorted_List; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Lab6 is type Array_Type is Array(1..10) of Integer; type Person_Type is record S_Name : String(1..20); F_Name : String(...
4,585
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
drivers/drivers-text_io.ads
<reponame>ekoeppen/STM32_Generic_Ada_Drivers<gh_stars>1-10 with HAL; generic with package USART is new HAL.USART (<>); package Drivers.Text_IO is procedure Put (C : Character); procedure Put (S : String); procedure Put_Line (S : String); procedure Put_Integer (N : Integer; Width : Natural := 0); p...
4,586
ada
33
ytomino/drake
source/image/required/s-imgllu.adb
<filename>source/image/required/s-imgllu.adb with System.Formatting; with System.Img_Uns; with System.Long_Long_Integer_Types; package body System.Img_LLU is subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned; procedure Ima...
4,587
ada
0
RyanMcCarl/.emacs.d
archive/test/manual/etags/ada-src/etags-test-for.ada
<filename>archive/test/manual/etags/ada-src/etags-test-for.ada type LL_Task_Procedure_Access is access procedure (Arg : System.Address); function Body_Required (N : Node_Id) return Boolean is begin pragma Assert (False or else NT (N).Nkind = N_Compilation_Unit); return Flag13 (N); ...
4,588
ada
2
thindil/tashy2
src/tk/tk-image.ads
-- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- 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 agre...
4,589
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr43.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr43.adb -- { dg-do compile } with Text_IO; use Text_IO; procedure Discr43 is type Arr is array (Short_Integer range <>) of Boolean; type Rec (LB : Short_Integer; UB : Short_Integer) is record A : Arr (LB .. UB); end record;...
4,590
ada
286
auzkok/libagar
ada/core/agar-types.ads
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . T Y P E S -- -- S p e c -- ----...
4,591
ada
0
xuedong/mini-ada
tests/typing/good/testfile-assign-2.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure P(X: in out Integer) is begin X := 0; end; v: integer; begin P(V); end;
4,592
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-pch-fdi.adb
<reponame>fabiojna02/OpenCellular<gh_stars>1-10 -- -- Copyright (C) 2015-2016 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, ...
4,593
ada
0
Letractively/ada-awa
awa/plugins/awa-storages/src/awa-storages-modules.adb
----------------------------------------------------------------------- -- awa-storages-module -- Storage management module -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with ...
4,594
ada
20
charlie5/lace
1-base/math/source/precision/short/short_math.ads
<reponame>charlie5/lace with any_Math; package short_Math is new any_Math (Real_t => short_Float); pragma Pure (short_Math);
4,595
ada
1
leo-brewin/adm-bssn-numerical
adm/code/src/admbase-evolve.adb
<filename>adm/code/src/admbase-evolve.adb with Support; use Support; with Support.Clock; use Support.Clock; with Support.CmdLine; use Support.CmdLine; with Support.Strings; use Support.Strings; with ADMBase...
4,596
ada
192
rocher/Ada_Drivers_Library
boards/stm32_common/sdcard/sdcard.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2021, AdaCore -- -- -- -- ...
4,597
ada
81
fuzzysloth/ada-awa
awa/src/awa-services-contexts.adb
<filename>awa/src/awa-services-contexts.adb ----------------------------------------------------------------------- -- awa-services -- Services -- Copyright (C) 2011, 2012, 2013, 2014, 2016, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
4,598
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/comperr.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,599
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-wikis/src/awa-wikis-modules.ads
----------------------------------------------------------------------- -- awa-wikis-modules -- Module wikis -- Copyright (C) 2015, 2016, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...