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
29,500
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f4/stm32f411xx/svd/stm32_svd-sdio.ads
<reponame>ekoeppen/STM32_Generic_Ada_Drivers -- This spec has been automatically generated from STM32F411xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.SDIO is pragma Preelaborate; --------------- -- Registers -- ------------...
29,501
ada
4
reznikmm/torrent
source/torrent-shutdown.adb
<reponame>reznikmm/torrent -- Copyright (c) 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Torrent.Shutdown is protected body Signal is entry Wait_SIGINT when SIGINT_Triggered is begin ...
29,502
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/bindgen.ads
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/bindgen.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,503
ada
0
hfegran/efx32_ada_examples
ada-blinky-sfp/src/main.adb
<filename>ada-blinky-sfp/src/main.adb with Ada.Real_time; use Ada.Real_Time; with Leds; use Leds; procedure Main is Duration : constant Time_Span := Milliseconds(100); begin Led_Init; loop Blink(LED0, Blue, Duration); Blink(LED1, Green, Duration); Blink(LED0, Cyan, Duration); Blink...
29,504
ada
0
AdaForge/Advent_of_Code_2020
puzzle_14/src/puzzle_14.adb
procedure Puzzle_14 is begin null; end Puzzle_14;
29,505
ada
0
luk9400/nsi
list1/task1/src/main.adb
<reponame>luk9400/nsi<gh_stars>0 with Smallest_Factor; use Smallest_Factor; with Ada.Text_IO; use Ada.Text_IO; procedure Main is N : Integer := 15; Factor : Integer; begin SmallestF (N, Factor); Put_Line ("N: " & N'Image); Put_Line ("Factor: " & Factor'Image); end Main;
29,506
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/xref_lib.ads
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,507
ada
0
balintsoos/LearnAda
gyak/gyak8/sor/demo.adb
with Ada.Text_IO; use Ada.Text_IO; with Linked_List_Pkg; procedure demo is package List is new Linked_List_Pkg(Integer); use List; L : Linked_List; begin Put_Line(Boolean'Image(Is_Empty(L))); end demo;
29,508
ada
0
fuzzysloth/ada-awa
awa/src/awa-events-configs.ads
----------------------------------------------------------------------- -- awa-events-configs -- Event configuration -- Copyright (C) 2012, 2013 <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 Lic...
29,509
ada
1
STR-UPM/ToyOBDH
src/sensor.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- -- -- ...
29,510
ada
0
reznikmm/gela
source/nodes/program-nodes-parameter_specifications.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Parameter_Specifications; w...
29,511
ada
0
charlie5/playAda
gasp/source/gasp-world.adb
<reponame>charlie5/playAda<filename>gasp/source/gasp-world.adb<gh_stars>0 with openGL.Model.sphere.textured, openGL.Model.open_gl, openGL.Palette, physics.Forge, mmi.physics_Model, mmi.Forge, float_Math.Geometry.d3.Modeller.Forge, ada.unchecked_Deallocation, ada.Text_IO,...
29,512
ada
0
mstewartgallus/linted
src/ada-pulse/src/pulse-util.ads
-- Copyright 2016 <NAME> -- -- 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 agreed to in writi...
29,513
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1009v.ada
-- CD1009V.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...
29,514
ada
2
thindil/tashy2
src/tcl-variables.ads
-- Copyright (c) 2020-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...
29,515
ada
1
LaudateCorpus1/RosettaCodeData
Task/Polymorphism/Ada/polymorphism-2.ada
<filename>Task/Polymorphism/Ada/polymorphism-2.ada with Ada.Text_Io; use Ada.Text_Io; package body Shapes is ----------- -- Print -- ----------- procedure Print (Item : in Point) is begin Put_line("Point"); end Print; ---------- -- Setx -- ---------- function Setx (Item : in Poi...
29,516
ada
24
svn2github/matreshka
tools/configure/configure-rtl_version.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
29,517
ada
1
skill-lang/skillAdaTestSuite
test/container/test_container-write.ads
with Ada.Directories; with Ahven.Framework; with Container.Api; with Ada.Text_IO; package Test_Container.Write is package Skill renames Container.Api; use Container; use Container.Api; type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); procedure ...
29,518
ada
3
FROL256/ada-ray-tracer
materials.adb
with Interfaces; with Ada.Numerics.Float_Random; with Ada.Numerics.Generic_Elementary_Functions; with Vector_Math; use Interfaces; use Vector_Math; package body Materials is package Float_Functions is new Ada.Numerics.Generic_Elementary_Functions(float); use Float_Functions; Eps_Div : constant float := 1.0e...
29,519
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3405a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3405a.ada -- CE3405A.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 -- unlimi...
29,520
ada
30
jscparker/math_packages
disorderly/mwc_constants.ads
<reponame>jscparker/math_packages<gh_stars>10-100 -- package MWC_Constants -- -- Multiply_with_Carry_Constants -- -- Multiply with carry is an algorithm for calculating -- -- a*x mod (a*b-1) -- -- efficiently. Main benefit: even if a*x overflows 64 bit arithmetic, -- the multiply with carry algorithm works entire...
29,521
ada
0
Lucretia/net_time
tests/test.adb
<filename>tests/test.adb with Ada.Calendar; use Ada.Calendar; with Ada.Calendar.Formatting; use Ada.Calendar.Formatting; with Ada.Calendar.Time_Zones; use Ada.Calendar.Time_Zones; with Ada.Text_IO; use Ada.Text_IO; with Net_Times; procedure Test is -- use type Time_Offset; Now : Time := C...
29,522
ada
15
mgrojo/adalib
system-multiprocessors.ads
-- Standard Ada library specification -- 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. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaRe...
29,523
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment2.adb
-- { dg-do run } procedure alignment2 is pragma COMPONENT_ALIGNMENT(STORAGE_UNIT); MAX_LIST_SIZE : constant INTEGER := 128*16; LEVEL2_SIZE : constant INTEGER := 128; LEVEL1_SIZE : constant INTEGER := (MAX_LIST_SIZE - 1) / LEVEL2_SIZE + 1; ...
29,524
ada
1
charlie5/lace-alire
4-high/gel/source/world/gel-world-simple.adb
with physics.Forge, openGL.Renderer.lean; package body gel.World.simple is -- procedure log (Message : in String) -- renames ada.text_IO.put_Line; --------- --- Forge -- -- procedure free (Self : in out View) -- is -- procedure deallocate is new ada.unchecke...
29,525
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-convex_polyhedron.adb
with Impact.d3.Vector, Ada.Containers.Hashed_Maps; package body Impact.d3.convex_Polyhedron -- -- Separating axis rest based on work from <NAME>, see -- -- Contact clipping based on work from <NAME> -- is function IsAlmostZero (v : in Math.Vector_3) return Boolean is begin if abs (v (1)) ...
29,526
ada
33
ytomino/drake
source/containers/a-cohata.adb
with Ada.Unchecked_Deallocation; package body Ada.Containers.Hash_Tables is procedure Free is new Unchecked_Deallocation (Table, Table_Access); subtype Positive_Hash_Type is Hash_Type range 1 .. Hash_Type'Last; procedure Allocate ( New_Container : out Table_Access; Capacity : Count_Type); pro...
29,527
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83f01b.ada
-- C83F01B.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...
29,528
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled5.adb
-- { dg-do run } with Controlled5_Pkg; use Controlled5_Pkg; procedure Controlled5 is V : Root'Class := Dummy (300); begin null; end;
29,529
ada
0
usainzg/EHU
PMOO/EXAMEN/1617O/Lista_Envios.ads
with Listas_Ordenadas_Gen, Envios; package Lista_Envios is new Listas_Ordenadas_Gen ( MAX => 1000, Componente => Envios.Envio, Precede => Envios.Precede, Copiar => Envios.Copiar, Igual => Envios.Igual );
29,530
ada
10
jrmarino/libsodium-ada
Binding_Sodium/sodium.ads
<gh_stars>1-10 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package Sodium is pragma Pure; end Sodium;
29,531
ada
0
reznikmm/declarative-regions
source/regions/regions-entities.ads
<filename>source/regions/regions-entities.ads -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Regions.Entities is pragma Pure; type Entity is limited interface; function Is_Assigned (Self : access Ent...
29,532
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt39.adb
-- { dg-do compile } -- { dg-options "-O2 -fno-inline -fdump-tree-optimized" } procedure Opt39 (I : Integer) is type Rec is record I1 : Integer; I2 : Integer; I3 : Integer; I4 : Integer; I5 : Integer; end record; procedure Set (A : access Rec; I : Integer) is Tmp : Rec := A.all; begin...
29,533
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507k.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507k.ada<gh_stars>1-10 -- C35507K.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 ...
29,534
ada
0
fintatarta/eugen
src/Sym_Expr/symbolic_expressions.ads
<gh_stars>0 ---------------------------------------------------------------------------- -- Symbolic Expressions (symexpr) -- -- Copyright (C) 2012, <NAME> -- -- This file is part of symexpr. -- -- symexpr is free software: you can redistribute it and/or modify -- it under the te...
29,535
ada
0
TNO/Rejuvenation-Ada
src/rejuvenation-find_and_replacer.ads
with Rejuvenation.Match_Patterns; use Rejuvenation.Match_Patterns; with Rejuvenation.Node_Locations; use Rejuvenation.Node_Locations; with Rejuvenation.Patterns; use Rejuvenation.Patterns; with Rejuvenation.Text_Rewrites; use Rejuvenation.Text_Rewrites; package Rejuvenation.Find_And_Replacer is function Acc...
29,536
ada
5
erik/ada-irc
examples/host_bot.adb
<reponame>erik/ada-irc with Irc.Bot; with Irc.Commands; with Irc.Message; with Ada.Strings.Unbounded; -- Some custom commands (commands.ads) with Commands; procedure Host_Bot is Bot : Irc.Bot.Connection; begin Bot := Irc.Bot.Create ("irc.tenthbit.net", 6667, Nick => "hostbot"); -- Set some bot administ...
29,537
ada
1
charlie5/lace-alire
4-high/gel/applet/demo/skinning/rig/box_rig-1_bone/launch_box_rig_1_bone_demo.adb
with gel.Window.setup, gel.Applet.gui_world, gel.Camera, gel.Rig, gel.Forge, openGL.Model.any, openGL.Light.directional, ada.Calendar; pragma unreferenced (gel.Window.setup); procedure launch_box_rig_1_bone_Demo -- -- Simple rigged box model with one animated bone. -- is ...
29,538
ada
1
MatrixMike/AdaDemo1
demo1/xample1.adb
with Ada.Text_IO; use Ada.Text_IO; package body xample1 is procedure SayWelcome (x : in Integer) is begin for i in 1 .. x loop Put ("We say welcome to you!!!"); -- put(i); Put_Line (" Number " & Integer'Image (i)); -- new_line; end loop; end SayWelcome; end xample1;
29,539
ada
0
strenkml/EE368
memsim-master/src/distribution.adb
<filename>memsim-master/src/distribution.adb<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; package body Distribution is min_size : constant Address_Type := 4096; procedure Set_Seed(dist : in out Distribution_Type; seed : in Integer) is begin RNG.Reset(dist.generator, seed); e...
29,540
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/misaligned_param_pkg.ads
package Misaligned_Param_Pkg is pragma Elaborate_Body (Misaligned_Param_Pkg); end Misaligned_Param_Pkg;
29,541
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-usbhsd.ads
<filename>arch/ARM/NXP/svd/lpc55s6x/nxp_svd-usbhsd.ads -- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with Syst...
29,542
ada
0
Letractively/ada-util
src/util-beans-methods.ads
----------------------------------------------------------------------- -- Util.Beans.Methods -- Bean methods -- Copyright (C) 2010, 2011 <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 License. -...
29,543
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-elaall.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-elaall.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
29,544
ada
0
Letractively/ada-awa
awa/src/awa-events.ads
<reponame>Letractively/ada-awa ----------------------------------------------------------------------- -- awa-events -- AWA Events -- 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...
29,545
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-radio.ads
package agar.gui.widget.radio is use type c.unsigned; type flags_t is new c.unsigned; RADIO_HFILL : constant flags_t := 16#01#; RADIO_VFILL : constant flags_t := 16#02#; RADIO_EXPAND : constant flags_t := RADIO_HFILL or RADIO_VFILL; type radio_t is limited private; type radio_access_t is access all r...
29,546
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48009i.ada
<reponame>best08618/asylo<gh_stars>1-10 -- C48009I.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 docume...
29,547
ada
1
skill-lang/skillAdaTestSuite
test/aircraft/test_aircraft-write.adb
package body Test_Aircraft.Write is File_Name : constant String := "tmp/test-write-aircraft.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Aircraft.Write"); Ahven.Framework.Add_Test_Routine (T, Airplane_1'Access, "airplane 1: 1, Fokker 100, true"); Ahven.Framework.Ad...
29,548
ada
60
RREE/ada-util
src/sys/encoders/util-encoders-quoted_printable.ads
----------------------------------------------------------------------- -- util-encoders-quoted_printable -- Encode/Decode a stream in quoted-printable -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
29,549
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-valuators-sliders-nice.adb
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Valuators.Sliders.Nice is procedure nice_slider_set_draw_hook (W, D : in System.Address); pragma Import (C, nice_slider_set_draw_hook, "nice_slider_set_draw_hook"); pragma Inline (nice_slide...
29,550
ada
4
ddugovic/words
developer_parameters.adb
with TEXT_IO; with STRINGS_PACKAGE; use STRINGS_PACKAGE; with LATIN_FILE_NAMES; use LATIN_FILE_NAMES; -- Omit when put name here with WORD_PARAMETERS; use WORD_PARAMETERS; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; with PREFACE; with LINE_STUFF; use LINE_STUFF; pragma Elaborate(PREFACE); package body D...
29,551
ada
1
sparre/JSA
src/jsa-intermediate_backups.ads
generic Fraction : Float; -- How large a fraction of the execution time should be allocated -- to creating backups. with procedure Save_State; -- Should save the relevant state. package JSA.Intermediate_Backups is procedure Begin_Loop with Pre => not In_Loop; -- To be called before enteri...
29,552
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/warnsw.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/warnsw.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,553
ada
1
danva994/ASFML-1.6
include/sf-graphics-renderwindow.ads
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held liable for any damages a...
29,554
ada
0
optikos/oasis
source/parser/program-parsers-on_reduce_501.ads
with Anagram.Grammars; with Program.Parsers.Nodes; private procedure Program.Parsers.On_Reduce_501 (Self : access Parse_Context; Prod : Anagram.Grammars.Production_Index; Nodes : in out Program.Parsers.Nodes.Node_Array); pragma Preelaborate (Program.Parsers.On_Reduce_501);
29,555
ada
0
likai3g/afmt
src/fmt.adb
<reponame>likai3g/afmt<filename>src/fmt.adb<gh_stars>0 pragma Ada_2020; with Ada.Text_IO; with Ada.Unchecked_Conversion; with System; package body Fmt is function To_Ptr is new Ada.Unchecked_Conversion(System.Address, Argument_Ptr); function "&" (Values : Arguments; New_Item : Argument_Type'Class) return ...
29,556
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/osint-b.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,557
ada
286
auzkok/libagar
ada/core/agar-init.adb
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . C O R E . I N I T -- -- B o d y -- -- ...
29,558
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/nlists.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,559
ada
0
longlongwaytogo/CryEngineV_Proj
Learn/5.3.x/ThirdPerson/Assets/Animations/Mannequin/ADB/FirstPerson.adb
<reponame>longlongwaytogo/CryEngineV_Proj <AnimDB FragDef="Animations/Mannequin/ADB/PlayerFragmentIds.xml" TagDef="Animations/Mannequin/ADB/PlayerTags.xml"> <FragmentList> <Idle> <Fragment BlendOutDuration="0.2" Tags="Rotate"> <AnimLayer> <Blend ExitTime="0" StartTime="0" Duration="0.2"/> <Animation...
29,560
ada
2
persan/gprTools
src/gpr_tools-gprslaves-get.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Gprslaves.DB; with Gprslaves.DB.JSON; with GNATCOLL.JSON; with GNAT.Command_Line; use GNAT.Command_Line; with GNAT.String_Split; with GNAT.Spitbol; use GNAT.Spitbol; with GNAT.Spitbol.Table_VString; use GNAT.Spitbol.Table_VSt...
29,561
ada
1
LaudateCorpus1/RosettaCodeData
Task/Comments/Ada/comments.ada
-- All Ada comments begin with "--" and extend to the end of the line
29,562
ada
33
ytomino/drake
source/image/required/s-imgint.ads
pragma License (Unrestricted); -- implementation unit required by compiler with System.Long_Long_Integer_Types; package System.Img_Int is pragma Pure; -- required for Integer'Image by compiler (s-imgint.ads) procedure Image_Integer ( V : Integer; S : in out String; P : out Natural); --...
29,563
ada
5
docandrew/troodon
include/bits_uintn_identity_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package bits_uintn_identity_h is -- Inline functions to return unsigned integer values unchanged. -- Copyright (C) 2017-2021 Free Software Foundation, Inc. -- This file is part of the GNU C Library. -- The GNU C Library is...
29,564
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3224a.ada
-- 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...
29,565
ada
1
rveenker/sdlada
src/sdl-video-textures.adb
<filename>src/sdl-video-textures.adb -------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable...
29,566
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/driver_demos/demo_L3GD20_fifo_int/src/demo_l3gd20.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
29,567
ada
0
optikos/oasis
source/nodes/program-nodes-exit_statements.adb
<filename>source/nodes/program-nodes-exit_statements.adb<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Exit_Statements is function Create (Exit_Token ...
29,568
ada
1,167
CandyROM/external_libncurses
Ada95/samples/sample-header_handler.adb
<filename>Ada95/samples/sample-header_handler.adb<gh_stars>1000+ ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- ...
29,569
ada
0
reznikmm/gela
source/oasis/program-library_unit_bodies.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Compilation_Units; with Program.Compilation_Unit_Vectors; with Program.Library_Items; limited with Program.Library_Unit_Declarations; package Program.Library...
29,570
ada
79
Roldak/OpenGLAda
src/gl/implementation/gl-objects-textures-with_3d_loader.adb
<filename>src/gl/implementation/gl-objects-textures-with_3d_loader.adb<gh_stars>10-100 -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with System; with GL.API; package body GL.Objects.Textures.With_3D_Loader is procedure Load_Empty_Texture (Object :...
29,571
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/e/e28002b.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/e/e28002b.ada -- 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 -- unlimit...
29,572
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata.ads
-- Copyright 2019 <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, modify, merge, publish, ...
29,573
ada
3
Fabien-Chouteau/ada-lvlg
src/lv.ads
<filename>src/lv.ads<gh_stars>1-10 with System; with Interfaces.C; use Interfaces.C; with Interfaces; package Lv is subtype Int8_T is Interfaces.Integer_8; subtype Uint8_T is Interfaces.Unsigned_8; subtype Int16_T is Interfaces.Integer_16; subtype Uint16_T is Interfaces.Unsigned_16; subtype Int32_T is ...
29,574
ada
10
Ada-Audio/wavefiles
src/audio-riff-wav-formats-standard_channel_configurations.ads
<reponame>Ada-Audio/wavefiles<filename>src/audio-riff-wav-formats-standard_channel_configurations.ads ------------------------------------------------------------------------------ -- -- -- AUDIO / RIFF / WAV ...
29,575
ada
12
TUM-EI-RCS/StratoX
software/hal/hpl/cortex_m/cache/cortex_m-cache.adb
<filename>software/hal/hpl/cortex_m/cache/cortex_m-cache.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
29,576
ada
24
svn2github/matreshka
source/amf/ocl/amf-visitors-ocl_visitors.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
29,577
ada
0
strenkml/EE368
memsim-master/src/memory-container.ads
<reponame>strenkml/EE368 package Memory.Container is type Container_Type is abstract new Memory_Type with private; type Container_Pointer is access all Container_Type'Class; function Get_Memory(mem : Container_Type'Class) return Memory_Pointer; procedure Set_Memory(mem : in out Container_Type'Class; ...
29,578
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization3.adb
<reponame>best08618/asylo -- { dg-do run } -- { dg-options "-O" } with Loop_Optimization3_Pkg; use Loop_Optimization3_Pkg; procedure Loop_Optimization3 is type Arr is array (Integer range -3 .. 3) of Integer; C : constant Arr := (1, others => F(2)); begin if C /= (1, 2, 2, 2, 2, 2, 2) then raise Program_E...
29,579
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-cogeso.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/a-cogeso.adb ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
29,580
ada
0
Sigmanificient/Ada-prime-calcutator
main.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- A SIGMANIFICIENT PROGRAM -- -- ...
29,581
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/impunit.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,582
ada
1
LaudateCorpus1/RosettaCodeData
Task/Image-noise/Ada/image-noise-3.ada
with Ada.Calendar; with Ada.Text_IO; with System.Address_To_Access_Conversions; with Lumen.Window; with Lumen.Image; with Lumen.Events.Animate; with GL; with Noise; procedure Test_Noise is package Float_IO is new Ada.Text_IO.Float_IO (Float); Program_End : exception; Win : Lumen.Window.Handle; Image : Lu...
29,583
ada
0
gitter-badger/Ada-tools
AdaToolsTests/Pure.ads
<reponame>gitter-badger/Ada-tools package Pure with Pure is --@description A pure spec test package end Pure;
29,584
ada
0
skill-lang/adaCommon
src/skill-field_restrictions.adb
<reponame>skill-lang/adaCommon<gh_stars>0 -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ runtime field restriction handling -- -- |___/_|\_\_|_|____| by: <NAME...
29,585
ada
0
Fabien-Chouteau/ASFML
include/sf-audio-sound.ads
<gh_stars>0 --////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- 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 from the...
29,586
ada
3
charlie5/aIDE
applet/aide/source/aide-style.ads
<reponame>charlie5/aIDE with Gtk.Widget; package aIDE.Style is procedure define; procedure apply_CSS (Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class); end aIDE.Style;
29,587
ada
79
Roldak/OpenGLAda
src/gl/implementation/gl-objects-programs.adb
<gh_stars>10-100 -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Ada.Unchecked_Conversion; with Interfaces.C; with GL.API; with GL.Enums; package body GL.Objects.Programs is procedure Attach (Subject : Program; Shader : Shaders.Shader) is begi...
29,588
ada
2
sparre/aYAML
src/yaml.ads
package YAML is type Node_Types is (Tree, Leaf); end YAML;
29,589
ada
0
Jellix/virtual_clocks
test/tests.adb
<filename>test/tests.adb ------------------------------------------------------------------------ -- Copyright (C) 2010-2020 by <<EMAIL>> -- -- -- -- This work is free. You can redistribute it and/or modify it under -- -- the terms of t...
29,590
ada
0
reznikmm/gela
source/nodes/program-nodes-element_iterator_specifications.adb
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Element_Iterator_Specifications is function Create (Name : not null Program.Elements.Defining_Iden...
29,591
ada
0
salmoni/CompStats_Statistics_Ada
CompStats_Statistics.ads
package CompStats_Statistics is type Values_Array is array (Integer range <>) of Float; function Get_Count (Values : in Values_Array) return Integer; function Get_Minimum (Values : in Values_Array) return Float; function Get_Maximum (Values : Values_Array) return Float; function Get_Range ...
29,592
ada
36
rewriting/tom
src/tom/library/sl/ada/oneidstrategy.adb
<reponame>rewriting/tom with VisitablePackage, EnvironmentPackage, VisitFailurePackage; use VisitablePackage, EnvironmentPackage, VisitFailurePackage; package body OneIdStrategy is ---------------------------------------------------------------------------- -- Object implementation --------------------------------...
29,593
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-systick.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.SysTick is pragma Preelaborate; --------------- -- Registers -- --------------- -- SysTick Counter Enable type CSR_EN...
29,594
ada
39
shinesolutions/swagger-aem
clients/ada/generated/src/model/-models.ads
-- Adobe Experience Manager (AEM) API -- Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API -- -- The version of the OpenAPI document: 3.5.0_pre.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.2.1. -- https://openapi-generator.tech -- Do not edi...
29,595
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_queues.adb
-- Abstract: -- -- See spec. -- -- Copyright (C) 2004, 2008, 2009, 2011, 2017, 2019 Free Software Foundation All Rights Reserved. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; eit...
29,596
ada
0
DrenfongWong/tkm-rpc
specs/ada/client/tkmrpc-clients-ike.ads
<reponame>DrenfongWong/tkm-rpc with Interfaces.C.Strings; with Tkmrpc.Types; with Tkmrpc.Results; package Tkmrpc.Clients.Ike is procedure Init (Result : out Results.Result_Type; Address : Interfaces.C.Strings.chars_ptr); pragma Export (C, Init, "ike_init"); pragma Export_Valued_Procedure (Init);...
29,597
ada
1
stcarrez/babel
src/babel-streams-xz.ads
<filename>src/babel-streams-xz.ads ----------------------------------------------------------------------- -- babel-Streams-xz -- XZ/LZMA stream management -- Copyright (C) 2014, 2015 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
29,598
ada
60
RREE/ada-util
src/sys/encoders/util-encoders-base64.adb
----------------------------------------------------------------------- -- util-encoders-base64 -- Encode/Decode a stream in base64 -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2016, 2017, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
29,599
ada
1
stcarrez/helios
src/helios-commands-check.adb
----------------------------------------------------------------------- -- helios-commands-check -- Helios check commands -- Copyright (C) 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance w...