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
8,800
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd.ads
<reponame>Fabien-Chouteau/samd51-hal<filename>src/svd/sam_svd.ads<gh_stars>1-10 pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with System; -- Microchip ATSAMD51G19A Microcontroller package SAM_SVD is pragma Preelaborate...
8,801
ada
2
thindil/tashy2
tests/tcl-test_data-tests.adb
<gh_stars>1-10 -- 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 ...
8,802
ada
4
reznikmm/torrent
source/torrent-trackers.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.IRIs; with League.Strings; package Torrent.Trackers is type Announcement_Kind is (Started, Completed, Stopped, Regular); func...
8,803
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-bounding_volume_tree.adb
with impact.d3.Vector; with ada.Unchecked_Deallocation; with Ada.Unchecked_Conversion; with System; with impact.d3.aabb_Util; package body impact.d3.collision.bounding_volume_Tree is subtype tNodeArray is Node_Vector; subtype tConstNodeArray is Node_Vector; procedure free is new ada.Unchecked_Deall...
8,804
ada
0
AntonMeep/endianness
tests/src/tests.ads
with AUnit.Test_Fixtures; with AUnit.Test_Suites; package Tests is function Suite return AUnit.Test_Suites.Access_Test_Suite; private type Fixture is new AUnit.Test_Fixtures.Test_Fixture with null record; procedure Swap_Endian_Test (Object : in out Fixture); procedure Native_To_Big_Endian_And_Back_Test (O...
8,805
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/a-finali.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
8,806
ada
3
Fabien-Chouteau/AGATE
src/api/agate-api-static_task.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, <NAME> -- -- -- -- Redistrib...
8,807
ada
0
melwyncarlo/ProjectEuler
problems/030/a030.adb
<reponame>melwyncarlo/ProjectEuler<gh_stars>0 with Ada.Strings.Fixed; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A030 is use Ada.Strings.Fixed; use Ada.Integer_Text_IO; Sum : Integer := 0; Sum_Of_Powers : Integer := 0; Num_len : Integer; begin for I in 2 .. 1_...
8,808
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/spark_xrefs.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/spark_xrefs.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
8,809
ada
81
twdroeger/ada-awa
awa/plugins/awa-jobs/src/awa-jobs-services.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-jobs-services -- Job services -- Copyright (C) 2012, 2014, 2015, 2016, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ...
8,810
ada
4
MOUDDENEHamza/ENSEEIHT
1A/S5/PIM/tps/tp8generique/frequences_caracteres.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with ABR; -- Afficher la fréquence absolue des caractères d'une chaîne de caractère. procedure Frequences_Caracteres is package ABR_String_Integer is new ABR (T_Cle => Character, T_Donnee => Integer, "<" => "<"); use ...
8,811
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-behavior_execution_specifications-collections.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
8,812
ada
15
My-Colaborations/dynamo
src/asis/a4g-defaults.ads
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
8,813
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_convert6b.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_convert6b.adb -- { dg-do run { target i?86-*-* x86_64-*-* alpha*-*-* ia64-*-* } } with Unchecked_Conversion; procedure Unchecked_Convert6b is subtype c_5 is string(1..5); function int2c5 is -- { dg-warning "different sizes" } new unchecked_con...
8,814
ada
0
annexi-strayline/ASAP-Modular_Hashing
modular_hashing-sha256.ads
<filename>modular_hashing-sha256.ads ------------------------------------------------------------------------------ -- -- -- Modular Hash Infrastructure -- -- ...
8,815
ada
3
daveshields/AdaEd
demos/draw.ada
---------------------------------------------------------------------- -- -- Maze Demonstration Main Program -- -- written by -- -- <NAME> -- -- Ada Project -- Courant Institute -- New York University -- ...
8,816
ada
79
Cre8or/OpenGLAda
tests/src/text/text_test-basic.adb
<reponame>Cre8or/OpenGLAda -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Ada.Text_IO; with GL.Attributes; with GL.Blending; with GL.Buffers; with GL.Files; with GL.Objects.Buffers; with GL.Objects.Shaders; with GL.Objects.Programs; with GL.Objects....
8,817
ada
13
annexi-strayline/AURA
checkout-write_checkout_spec.adb
<filename>checkout-write_checkout_spec.adb ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Imp...
8,818
ada
0
balintsoos/LearnAda
gyak/gyak1-2/paros.adb
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Mat; -- use Mat; procedure paros is N : Natural; begin Get( N ); Put( Boolean'image(Mat.isEven(N))); end paros;
8,819
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnarl/s-tasque.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
8,820
ada
0
pyjarrett/dirs_to_graphviz
src/dtg.ads
<gh_stars>0 with Ada.Directories; with Ada.Finalization; with Ada.Strings.Unbounded; with Ada.Text_IO; package DTG is package AD renames Ada.Directories; package ASU renames Ada.Strings.Unbounded; package AIO renames Ada.Text_IO; type Report is new Ada.Finalization.Limited_Controlled with record ...
8,821
ada
0
samyvic/OS-Project
Read Only/gdb-6.8/gdb/testsuite/gdb.ada/print_chars/foo.adb
with Pck; use Pck; procedure Foo is C : Character := 'a'; WC : Wide_Character := 'b'; WWC : Wide_Wide_Character := 'c'; begin Do_Nothing (C'Address); -- START Do_Nothing (WC'Address); Do_Nothing (WWC'Address); end Foo;
8,822
ada
1
TNO/Rejuvenation-Ada
tests/src/test_find_and_replacer.adb
<gh_stars>1-10 with Ada.Strings.Fixed; use Ada.Strings.Fixed; with AUnit.Assertions; use AUnit.Assertions; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation; use Rejuvenation; with Reju...
8,823
ada
15
AdaCore/training_material
courses/spark_for_ada_programmers/labs/source/060_contracts/longest_common_prefix.adb
<reponame>AdaCore/training_material package body Longest_Common_Prefix with SPARK_Mode => On is function LCP (X, Y : Positive) return Natural is L : Natural; begin L := 0; while X + L <= A'Last and then Y + L <= A'Last and then A (X + L) = A (Y + L) loop pragma L...
8,824
ada
0
TNO/Rejuvenation-Ada
src/rejuvenation-match_patterns.adb
<filename>src/rejuvenation-match_patterns.adb with Ada.Assertions; use Ada.Assertions; with Ada.Text_IO; use Ada.Text_IO; with GNATCOLL.GMP.Integers; use GNATCOLL.GMP.Integers; with Langkit_Support.Text; use Langkit_Support.Text; with Rejuvenation.Placeholders; use Rejuvenation.Placeho...
8,825
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-stm32.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
8,826
ada
33
ytomino/drake
source/textio/a-sfteio.ads
<filename>source/textio/a-sfteio.ads pragma License (Unrestricted); with Ada.Text_IO; package Ada.Short_Float_Text_IO is new Text_IO.Float_IO (Short_Float);
8,827
ada
0
persan/advent-of-code-2020
src/day-6/adventofcode-day_6-main.adb
<reponame>persan/advent-of-code-2020 with Ada.Text_IO; use Ada.Text_IO; with Adventofcode.File_Line_Readers; procedure Adventofcode.Day_6.Main is procedure Part1 (Input_Path : String) is Group_Reply : Reply_Type; Totals : Natural := 0; begin for Line of Adventofcode.File_Line_Readers.Re...
8,828
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/lib-util.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
8,829
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-socket.ads
with agar.core.event; with agar.gui.text; with agar.gui.widget.icon; package agar.gui.widget.socket is use type c.unsigned; type bg_type_t is (SOCKET_PIXMAP, SOCKET_RECT, SOCKET_CIRCLE); for bg_type_t use (SOCKET_PIXMAP => 0, SOCKET_RECT => 1, SOCKET_CIRCLE => 2); for bg_type_t'size use c.unsigned'size; ...
8,830
ada
0
SKNZ/BezierToSTL
src/interpolations_lineaires.adb
<filename>src/interpolations_lineaires.adb<gh_stars>0 with Helper; use Helper; with Ada.Text_IO; use Ada.Text_IO; package body Interpolations_Lineaires is -- Interpole toutes les courbes d'une liste procedure Interpolation_Lineaire( Courbes : Liste_Courbes.Liste; Segments : in out Liste; ...
8,831
ada
7
stcarrez/mat
mat/src/mat-targets-probes.ads
----------------------------------------------------------------------- -- mat-targets-probes - Definition and Analysis of process start events -- Copyright (C) 2014, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except...
8,832
ada
0
btmalone/alog
aunit/aunit-test_suites.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
8,833
ada
24
svn2github/matreshka
testsuite/league/string_compare_test.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
8,834
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/impunit.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
8,835
ada
0
sebsgit/textproc
src/tensor.ads
with Ada.Numerics.Generic_Real_Arrays; with Ada.Containers.Vectors; with System; use System; with MathUtils; package Tensor is pragma Elaborate_Body(Tensor); pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); package Float...
8,836
ada
60
Letractively/ada-util
samples/measures.adb
<filename>samples/measures.adb ----------------------------------------------------------------------- -- measures -- Example of Runtime Benchmark -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
8,837
ada
12
jquorning/ada-asf
src/asf-components-utils-factory.adb
----------------------------------------------------------------------- -- core-factory -- Factory for Core UI Components -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
8,838
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/sam/samg55/svd/i-sam.ads
-- -- Copyright (C) 2017, AdaCore -- -- This spec has been automatically generated from ATSAMG55J19.svd pragma Ada_2012; pragma Style_Checks (Off); with System; -- Atmel ATSAMG55J19 Microcontroller package Interfaces.SAM is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Base...
8,839
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c58005h.ada
-- C58005H.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...
8,840
ada
0
optikos/oasis
source/contexts/plain/program-plain_source_buffers.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Source_Buffers; private with Ada.Strings.UTF_Encoding; package Program.Plain_Source_Buffers is pragma Preelaborate; t...
8,841
ada
24
svn2github/matreshka
source/amf/uml/amf-visitors-uml_visitors.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
8,842
ada
1
faelys/natools-web
src/natools-web-sites-updates.ads
------------------------------------------------------------------------------ -- Copyright (c) 2015-2017, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
8,843
ada
16
stcarrez/ada-enet
src/net-ntp.ads
<reponame>stcarrez/ada-enet<gh_stars>10-100 ----------------------------------------------------------------------- -- net-ntp -- NTP Network utilities -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
8,844
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a85007d.ada
<reponame>best08618/asylo -- A85007D.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 contai...
8,845
ada
0
Tim-Tom/project-euler
Ada/src/Problem_10.adb
<filename>Ada/src/Problem_10.adb with Ada.Long_Long_Integer_Text_IO; with Ada.Text_IO; with PrimeInstances; package body Problem_10 is package IO renames Ada.Text_IO; package I_IO renames Ada.Long_Long_Integer_Text_IO; procedure Solve is package Integer_Primes renames PrimeInstances.Integer_Primes; ...
8,846
ada
0
evgenijaZ/PP-labs
lab11/src/main.adb
<filename>lab11/src/main.adb<gh_stars>0 with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Synchronous_Task_Control; use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Synchronous_Task_Control; procedure Main is N : Integer := 2000; P : Integer := 4; H : Integer := N / P; type Vector is array (1 .. N) of Integer;...
8,847
ada
422
jrg94/sample-programs-in-every-language
archive/a/ada/Baklava.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Baklava is M : Integer := 11; begin for I in 1 .. 11 loop for J in 1 .. (M-1) loop Put(" "); end loop; for K in 1 .. (2*I - 1) loop Put("*"); end loop; M := M -1; Put_Line(""); end loop; M:=2; for I in revers...
8,848
ada
0
strenkml/EE368
memsim-master/src/memory-register.ads
with Memory.Container; use Memory.Container; package Memory.Register is type Register_Type is new Container_Type with private; type Register_Pointer is access all Register_Type'Class; procedure Insert_Registers(mem : access Memory_Type'Class); function Remove_Registers(mem : Memory_Pointer) return Mem...
8,849
ada
2
persan/gprTools
tests/src/p4/p4.ads
<filename>tests/src/p4/p4.ads package p4 is end p4;
8,850
ada
0
persan/advent-of-code-2020
src/day-24/adventofcode-day_24.ads
package Adventofcode.Day_24 is end Adventofcode.Day_24;
8,851
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3102d.ada
-- CE3102D.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...
8,852
ada
1
selroc/Renaissance-Ada
src/tools/Dependency_Graph_Extractor/src/extraction-subp_overrides.adb
<filename>src/tools/Dependency_Graph_Extractor/src/extraction-subp_overrides.adb with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.Subp_Overrides is procedure Extract_Nodes (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context) is begin if Util...
8,853
ada
0
KamilKrol5/concurrent-programming
task2/ada/src/constants.ads
<filename>task2/ada/src/constants.ads<gh_stars>0 package constants is MAX_ARGUMENT_VALUE : constant := 500.0; MAX_EMPLOYEES : constant := 2; MAX_CHAIRMEN : constant := 1; MAX_CLIENTS : constant := 1; MAX_TASKLIST_SIZE : constant := 40; MAX_STORAGE_CAPACITY : constant ...
8,854
ada
1
erik/adabot
src/commands.adb
<filename>src/commands.adb package body Commands is procedure Install_Bot_Commands (Conn : in out Connection) is begin Irc.Commands.Install_Commands (Conn); -- PRIVMSG commands Conn.On_Privmsg ("$join ", Join_Channel'Access); Conn.On_Privmsg ("$part ", Part_Channel'Access); C...
8,855
ada
0
mstewartgallus/linted
src/ada-libc/src/libc-sys-poll.ads
<gh_stars>0 -- Copyright 2015,2017 <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 a...
8,856
ada
80
thindil/steamsky
tests/factions-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...
8,857
ada
3
pyjarrett/archaic_terminal
src/common/trendy_terminal-environments.ads
<gh_stars>1-10 ------------------------------------------------------------------------------- -- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file) -- 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 ...
8,858
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/matrices_4d.ads
<gh_stars>1-10 with Matrices; pragma Elaborate_All (Matrices); package Matrices_4D is new Matrices (4);
8,859
ada
4
carter-e-veldhuizen/RACK
ada/examples/regression-callstmt/main.ads
<gh_stars>1-10 WITH auxiliary; PROCEDURE main;
8,860
ada
7
stcarrez/mat
mat/src/events/mat-events.adb
----------------------------------------------------------------------- -- gprofiler-events - Profiler Events Description -- Copyright (C) 2014 <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 Lice...
8,861
ada
0
melwyncarlo/ProjectEuler
problems/012/a012.adb
with Ada.Text_IO; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A012 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_Str : String (1 .. 10); File_Name : ...
8,862
ada
0
faelys/natools
generated/natools-static_maps-s_expressions-templates-integers-t.adb
-- Generated at 2014-10-01 17:18:35 +0000 by Natools.Static_Hash_Maps -- from src/natools-s_expressions-templates-generic_integers-maps.sx with Natools.Static_Maps.S_Expressions.Templates.Integers.MC; with Natools.Static_Maps.S_Expressions.Templates.Integers.AC; function Natools.Static_Maps.S_Expressions.Templates.I...
8,863
ada
2
marcbejerano/ada-tools
Logging/src/logging-level.adb
-- @(#)File: logging-level.adb -- @(#)Last changed: Jun 2 2015 09:50:00 -- @(#)Purpose: Application and system logging -- @(#)Author: <NAME> <<EMAIL>> -- @(#)Copyright: Copyright (C) 2015, <NAME>, All Rights Reserved -- @(#)Product: None -- @(#)License: BSD3 -- -- Co...
8,864
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/aggr2.ads
-- { dg-do compile } package Aggr2 is type Buffer is array (Positive range <>) of Boolean; for Buffer'Alignment use 4; type Buffer_Ptr is access Buffer; subtype My_Buffer is Buffer (1 .. 2); P : Buffer_Ptr := new My_Buffer'(Others => False); end Aggr2;
8,865
ada
1
Jellix/open_weather_map_api
src/open_weather_map-api-service.ads
<filename>src/open_weather_map-api-service.ads -------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Ve...
8,866
ada
1
jquorning/WeDo
source/database-events.ads
<filename>source/database-events.ads -- -- 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 ...
8,867
ada
24
svn2github/matreshka
source/xml/catalogs/matreshka-xml_catalogs-resolver.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
8,868
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-boarop.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
8,869
ada
24
svn2github/matreshka
source/amf/dd/amf-di-edges.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
8,870
ada
36
rewriting/tom
src/tom/library/sl/ada/abstractstrategypackage.adb
with VisitableIntrospectorPackage, VisitFailurePackage, Ada.Text_IO; use VisitableIntrospectorPackage, VisitFailurePackage, Ada.Text_IO; with AbstractStrategyCombinatorPackage; use AbstractStrategyCombinatorPackage; with Ada.Text_IO; use Ada.Text_IO; package body AbstractStrategyPackage is -----------------------...
8,871
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-hsvpal.ads
<filename>ada/original_2008/ada-gui/agar-gui-widget-hsvpal.ads<gh_stars>100-1000 with agar.core.types; with agar.gui.rect; with agar.gui.widget.menu; with agar.gui.window; package agar.gui.widget.hsvpal is use type c.unsigned; type flags_t is new c.unsigned; HSVPAL_PIXEL : constant flags_t := 16#01#; HSVPAL...
8,872
ada
1
persan/spawn-manager
src/spawn_manager.ads
pragma Ada_2012; with GNAT.OS_Lib; use GNAT.OS_Lib; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Containers.Vectors; private with Interfaces; package Spawn_Manager is -- This package provides tasksafe variants of the GNAT.OS_Lib Spawn routines. Version : constant String := "1.2.2"; Default_...
8,873
ada
0
persan/advent-of-code-2020
src/day-11/adventofcode-day_11-main.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_11.Main is begin Put_Line ("Day-11"); end Adventofcode.Day_11.Main;
8,874
ada
81
fuzzysloth/ada-awa
awa/plugins/awa-counters/src/awa-counters-definition.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-counters-definition -- Counter definition -- Copyright (C) 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
8,875
ada
0
cocolab8/cocktail
lark/lib/parsdrv.adb
<gh_stars>0 -- $Id: parsdrv.adb,v 1.0 1994/09/13 12:55:31 grosch rel $ $@ with @; use @; $@ procedure @Drv is ErrorCount : Integer; begin $@ ErrorCount := @.@; $@ Close@; $@ end @Drv;
8,876
ada
4
FrankBuss/Ada_Synth
ada/discovery/serial_io.ads
<filename>ada/discovery/serial_io.ads with Interfaces; use Interfaces; with Ada.Interrupts; use Ada.Interrupts; with Ada.Interrupts.Names; use Ada.Interrupts.Names; with STM32.USARTs; use STM32.USARTs; with Ringbuffers; package Serial_IO is package FIFO_Package is new Ringbuffers (256, Unsigned_8); subtype FIFO...
8,877
ada
0
Fabien-Chouteau/ASFML
include/sf-graphics-glyph.ads
--////////////////////////////////////////////////////////// -- 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 use of this...
8,878
ada
0
reznikmm/slimp
source/slim-message_decoders.ads
<reponame>reznikmm/slimp -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Stream_Element_Vectors; with Slim.Messages; package Slim.Message_Decoders is type Decoder is tagged limited ...
8,879
ada
0
Latence-Technologies/Kafka-Ada
src/kafka-message.ads
<reponame>Latence-Technologies/Kafka-Ada -- -- Provides Kafka functionality to manage messages -- package Kafka.Message is -- -- Frees resources for the specified Message and hands ownership back to -- rdkafka. -- -- librdkafka equivalent: rd_kafka_message_destroy -- procedure Destroy(Messag...
8,880
ada
0
persan/a-vulkan
src/gen/vulkan-low_level-vulkan_core_h.ads
<filename>src/gen/vulkan-low_level-vulkan_core_h.ads pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with Interfaces.C.Strings; package Vulkan.Low_Level.vulkan_core_h is VULKAN_CORE_H_u : constant := 1; -- vulkan_core.h:2 VK_VERSION_1_0 : constant := 1; -- ...
8,881
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-trng.ads
<gh_stars>1-10 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.TRNG is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control A type TRNG_CT...
8,882
ada
1
LaudateCorpus1/RosettaCodeData
Task/Knuth-shuffle/Ada/knuth-shuffle-1.ada
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Knuth-shuffle/Ada/knuth-shuffle-1.ada generic type Element_Type is private; type Array_Type is array (Positive range <>) of Element_Type; procedure Generic_Shuffle (List : in out Array_Type);
8,883
ada
1
TNO/Rejuvenation-Ada
tests/src/missing-aunit-assertions.ads
with GNAT.Source_Info; package Missing.AUnit.Assertions is -- See https://github.com/AdaCore/aunit/issues/31 generic type Element_T is (<>); procedure Generic_Assert (Actual, Expected : Element_T; Message : String; Source : String := GNAT.Source_Info.File; Line ...
8,884
ada
5
onox/dcf-ada
dcf/src/dcf-zip.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 limit...
8,885
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-detector-discrete.ads
<gh_stars>10-100 package impact.d3.collision.Detector.discrete -- -- This interface is made to be used by an iterative approach to do TimeOfImpact calculations. -- -- This interface allows to query for closest points and penetration depth between two (convex) objects -- the closest point is on the second object (...
8,886
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_convert9.ads
with System; with Ada.Unchecked_Conversion; with Interfaces; use Interfaces; package Unchecked_Convert9 is type R is record H : Unsigned_16; L : Unsigned_16; end record; Var : R; pragma Volatile (Var); function Conv is new Ada.Unchecked_Conversion (Source => Unsigned_32, Target => R); ...
8,887
ada
52
onox/orka
orka_plugin_sdl/src/orka-inputs-sdl.ads
<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2019 onox <<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/licen...
8,888
ada
20
charlie5/lace
3-mid/opengl/source/lean/light/opengl-light-directional.ads
<filename>3-mid/opengl/source/lean/light/opengl-light-directional.ads package openGL.Light.directional -- -- Models a directional light. -- is type Item is new Light.item with private; type Items is array (Positive range <>) of Item; procedure inverse_view_Transform_is (Self : in out Item; Now : in Matr...
8,889
ada
0
persan/midnightsun-ctf-LoveLacedLetter
src/hide-encode_generic.ads
<filename>src/hide-encode_generic.ads with Posix; generic with procedure Encode (Source_File_Name : Posix.C_String; Output_File_Name : Posix.C_String; Offset : Natural; Text : String) is <>; procedure Hide.Encode_Gen...
8,890
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/torturethread_sprogs.adb
<reponame>Lucretia/old_nehe_ada95 -- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public ...
8,891
ada
1
LaudateCorpus1/RosettaCodeData
Task/Averages-Root-mean-square/Ada/averages-root-mean-square.ada
with Ada.Float_Text_IO; use Ada.Float_Text_IO; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; procedure calcrms is type float_arr is array(1..10) of Float; function rms(nums : float_arr) return Float is sum : Float := 0.0; begin for p in nums'Range loop sum := sum + nums(p)*...
8,892
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/exp_ch9.adb
<reponame>vidkidz/crossbridge ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
8,893
ada
60
RREE/ada-util
src/base/dates/util-dates-iso8601.ads
<reponame>RREE/ada-util ----------------------------------------------------------------------- -- util-dates-iso8601 -- ISO8601 dates -- Copyright (C) 2011, 2013, 2016, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exc...
8,894
ada
17
jrmarino/ravensource
bucket_4C/AdaBrowse/patches/patch-ad-setup.ads
<reponame>jrmarino/ravensource<filename>bucket_4C/AdaBrowse/patches/patch-ad-setup.ads --- ad-setup.ads.orig 2021-09-04 15:36:33 UTC +++ ad-setup.ads @@ -11,6 +11,6 @@ package AD.Setup is private GNAT_Name : constant String := - "gcc"; + "ada"; end AD.Setup;
8,895
ada
0
sonneveld/adazmq
examples/src/psenvsub.adb
<filename>examples/src/psenvsub.adb -- Pubsub envelope subscriber with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; use type GNAT.Formatted_String.Formatted_String; procedure PSEnvSub is function Main return Ada.Command_Line.Exit_Status is -- Prepare our context and subsc...
8,896
ada
4
DNSCatcher/DNSCatcher
tests/test_packet_parser.adb
-- 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, ...
8,897
ada
8
darkestkhan/lumen
joystick/pqueue.adb
<reponame>darkestkhan/lumen<gh_stars>1-10 -- -- PQueue -- Generic protected queue package -- -- -- Standard packages with Ada.Unchecked_Deallocation; package body PQueue is ------------------------------------------------------------------------------ -- -- Package subroutines -- ---------------------------------...
8,898
ada
33
ytomino/drake
source/directories/a-dirvol.adb
<reponame>ytomino/drake package body Ada.Directories.Volumes is -- implementation function Is_Assigned (FS : File_System) return Boolean is N_FS : System.Native_Directories.Volumes.File_System renames Controlled.Reference (FS).all; begin return System.Native_Directories.Volumes.Is_Assig...
8,899
ada
1
erik/adabot
src/commands.ads
with Ada.Strings.Unbounded; with Ada.Strings.Fixed; with Ada.Text_IO; with Ada.Streams; with GNAT.Sockets; with GNAT.String_Split; with GNAT.Regpat; with Irc.Bot; with Irc.Message; with Irc.Commands; package Commands is package IO renames Ada.Text_IO; package SU renames Ada.Strings.Unbounded; package SF ren...