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
5,500
ada
0
jhumphry/Ada_BinToAsc
src/bintoasc-base64.adb
-- BinToAsc.Base64 -- Binary data to ASCII codecs - Base64 codec as in RFC4648 -- Copyright (c) 2015, <NAME> - see LICENSE file for details package body BinToAsc.Base64 is Reverse_Alphabet : constant Reverse_Alphabet_Lookup := Make_Reverse_Alphabet(Alphabet, True); -- -- Base64_To_String -- pro...
5,501
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/spark_xrefs.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/spark_xrefs.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
5,502
ada
1
jquorning/WeDo
source/web_io.adb
-- -- 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.Strings.Unbounded; with Database...
5,503
ada
0
jquorning/CELLE
source/sets.ads
<gh_stars>0 -- -- -- generic type Index_Type is (<>); package Sets is type Set_Type is private; Null_Set : constant Set_Type; procedure Set_Range (First : in Index_Type; Last : in Index_Type); -- All sets will be of size N -- Set the set size function Set_New return S...
5,504
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize2.ads
package Varsize2 is type Key_Type is (Nul, Cntrl, Stx, Etx, Eot, Enq, Ack, Spad, Clr, Dc_1, Dc_2, Dc_3, Dc_4); for Key_Type use (Nul => 0, Cntrl => 1, Stx => 2, Etx => 3, Eot => 4, Enq => 5, Ack => 6, Spad => 7, Clr => 8, ...
5,505
ada
1
LaudateCorpus1/RosettaCodeData
Task/Binary-strings/Ada/binary-strings-3.ada
<reponame>LaudateCorpus1/RosettaCodeData with Interfaces; use Interfaces; ... type Octet is new Interfaces.Unsigned_8; type Octet_String is array (Positive range <>) of Octet;
5,506
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/g-os_lib.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,507
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/g-dyntab.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,508
ada
0
reznikmm/gela
source/nodes/program-nodes-short_circuit_operations.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Short_Circuit_Operations is function Create (Left : not null Program.Elements.Expressions.Expression_Access; And_Token : Pro...
5,509
ada
8
skade/bbqueue-spark
src/bbqueue-buffers.ads
-- This unit is based on BBqueue.Offsets_Only and embeds an internal buffer. -- It provides directly usable slices of memory from its internal buffer: -- -- Q : aliased Buffer (64); -- WG : Write_Grant := Empty; -- S : Slice_Rec; -- begin -- Grant (Q, WG, 8); -- if State (WG) = Valid then --...
5,510
ada
14
Fabien-Chouteau/usb_embedded
tests/src/tests-utils.adb
<reponame>Fabien-Chouteau/usb_embedded with System.Storage_Elements; use System.Storage_Elements; with AUnit.Assertions; use AUnit.Assertions; with HAL; use HAL; with USB.Utils; use USB.Utils; package body Tests.Utils is --------------------- -- Basic_Mem_Alloc -- --------------------- procedure Basic...
5,511
ada
0
optikos/oasis
source/nodes/program-nodes-formal_function_access_types.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Parameter_Specifications; with Program.Elements.Formal_Function_Access_Types; with Program.Element...
5,512
ada
35
arc-aosp/external_libncurses
Ada95/samples/sample-function_key_setting.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- ...
5,513
ada
0
sebsgit/textproc
src/opencl/pixelarray-gpu.ads
<filename>src/opencl/pixelarray-gpu.ads with cl_objects; use cl_objects; with opencl; with System; package PixelArray.Gpu is pragma Elaborate_Body; pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); type GpuImage is tagged ...
5,514
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-intman.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
5,515
ada
1
mangl-auf/loga
src/loga.adb
<filename>src/loga.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; with Ada.Environment_Variables; with GNAT.String_Split; package body Loga is ---------------- -- New_Logger -- ---------------- Current_Color : Natural range Colors_As_Integer (Colors'Val (1)) .. Colors_As_Integer (C...
5,516
ada
22
FardaleM/metalang
out/euler02.adb
<filename>out/euler02.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 euler02 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin St...
5,517
ada
5
reznikmm/increment
source/base/incr-documents.adb
<filename>source/base/incr-documents.adb -- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Incr.Nodes.Tokens; with Incr.Nodes.Ultra_Roots; package body Incr.Documents is package body Con...
5,518
ada
1
zrmyers/VulkanAda
src/vulkan-math/vulkan-math-bvec3.ads
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 <NAME> -- -- 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 r...
5,519
ada
11
charlie5/aShell
test/tasks/concurrent_commands/test_concurrent_commands.adb
with Shell.Commands.Safe, Ada.Text_IO, Ada.Exceptions; procedure Test_Concurrent_Commands is use Ada.Text_IO, Ada.Exceptions; task Task_1; task body Task_1 is begin for i in 1 .. 50_000 loop declare use Shell, Shell.Commands, ...
5,520
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/a-dirval.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
5,521
ada
33
ytomino/drake
source/tasking/required/s-tadert.adb
function System.Tasking.Async_Delays.Enqueue_RT ( T : Ada.Real_Time.Time; D : not null access Delay_Block) return Boolean is begin raise Program_Error; -- unimplemented return Enqueue_RT (T, D); end System.Tasking.Async_Delays.Enqueue_RT;
5,522
ada
1
sparre/JSA
tests/unit_tests/jsa-tests.ads
<reponame>sparre/JSA with Ahven.Framework; package JSA.Tests is function Suite return Ahven.Framework.Test_Suite; end JSA.Tests;
5,523
ada
1
JeremyGrosser/sensors
src/st7789.ads
-- -- Copyright (C) 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- with HAL.Time; with HAL.GPIO; with HAL.SPI; with HAL; package ST7789 is type ST7789_Screen (CS : not null HAL.GPIO.Any_GPIO_Point; DC : not null HAL.GPIO.Any_GPIO_Point; RST : HAL.GPIO.Any_GPIO_Point;...
5,524
ada
0
melwyncarlo/ProjectEuler
problems/031/a031.adb
<filename>problems/031/a031.adb with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A031 is use Ada.Integer_Text_IO; Combinations : Integer := 0; begin for I in 0 .. 1 loop for J in 0 .. 2 loop for K in 0 .. 4 loop for L in 0 .. 10 loop for M in 0 .. 20...
5,525
ada
0
balintsoos/LearnAda
gyak/gyak8/verem/vermek.ads
generic type Elem is private; package Vermek is type Verem is limited private; Üres_A_Verem: exception; procedure Push( V: in out Verem; E: in Elem ); procedure Pop( V: in out Verem; E: out Elem ); -- kiválthat Üres_A_Verem kivételt function Top( V: Ver...
5,526
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr10.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr10.ads package Discr10 is subtype Index is Natural range 0 .. 150; type List is array (Index range <>) of Integer; type R (D1 : Boolean := True; D2 : Boolean := False; D3 : Index := 0) is record case D2 is when True => ...
5,527
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-interr__hwint.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
5,528
ada
0
sebsgit/textproc
src/tests/tensortests.ads
<filename>src/tests/tensortests.ads with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; package TensorTests is type TestCase is new AUnit.Test_Cases.Test_Case with null record; procedure Register_Tests(T: in out TestCase); function Name(T: TestCase) return Message_String; procedure testT...
5,529
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-memdum.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
5,530
ada
0
fintatarta/eugen
src/Utilities/finite_state_scanners.ads
<filename>src/Utilities/finite_state_scanners.ads with Ada.Strings.Maps; with Ada.Containers.Indefinite_Vectors; with Ada.Containers.Indefinite_Ordered_Maps; generic type Token_Type is (<>); type State_Type is (<>); Start_State : State_Type; EOF_Token : Token_Type; package Finite_State_Scanners is t...
5,531
ada
547
Klabauterman/snowball
ada/generate/generate.adb
with Ada.Characters.Handling; with Ada.Text_IO; with Ada.Command_Line; with Ada.Containers.Indefinite_Vectors; procedure Generate is use Ada.Characters.Handling; use Ada.Text_IO; package String_Vectors is new Ada.Containers.Indefinite_Vectors (Element_Type => String, Index_Type => Positive); ...
5,532
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso1.adb
-- { dg-do run } with System; with Ada.Unchecked_Conversion; with Ada.Streams; use Ada.Streams; with Ada.Text_IO; procedure SSO1 is type Unsigned_Integer_4 is mod 2 ** 32; for Unsigned_Integer_4'Size use 32; Default_Bit_Order_Pos : constant Natural := System.Bit_Order'Pos (System.Default_Bit_Order); Op...
5,533
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment3.adb
<gh_stars>1-10 -- { dg-do compile } with System, Ada.Unchecked_Conversion; procedure alignment3 is type Value_Type (Is_Short : Boolean) is record case Is_Short is when True => V : Natural; when others => A, B : Natural; end case; end record; type Link_Type (Short_Values...
5,534
ada
73
sinkinben/pok
examples/arinc653-threads/sample-ada/cpu/part1/marshallers.ads
#ifndef __OCARINA_GENERATED_MARSHALLERS_H_ #define __OCARINA_GENERATED_MARSHALLERS_H_ /*****************************************************/ /* This file was automatically generated by Ocarina */ /* Do NOT hand-modify this file, as your */ /* changes will be lost when you re-run Ocarina */ /****...
5,535
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf51/nrf_svd.ads
<reponame>rocher/Ada_Drivers_Library -- Copyright (c) 2013, Nordic Semiconductor ASA -- 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 source code must retain the...
5,536
ada
0
hgrodriguez/embedded-dashboard-console
src/initializer.ads
<filename>src/initializer.ads --=========================================================================== -- -- This package ensures, that all necessary initialization takes place -- --=========================================================================== -- -- Copyright 2021 (C) <NAME> -- -- SPDX-License-Ide...
5,537
ada
0
reznikmm/slimp
source/slim-players-play_files_visiters.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Messages.BUTN; with Slim.Messages.RESP; with Slim.Messages.STAT; with Slim.Players.Common_Play_Visiters; package Slim.Players.Play_Files_Vi...
5,538
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37003a.ada
-- C37003A.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...
5,539
ada
33
ytomino/drake
source/distributed/a-proces.adb
<filename>source/distributed/a-proces.adb with Ada.Streams.Naked_Stream_IO; with Ada.Streams.Stream_IO.Naked; with System.Unwind.Occurrences; package body Ada.Processes is -- implementation function Image (Command : Command_Type) return String is Native_Command : System.Native_Processes.Command_Type ...
5,540
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74203a.ada
-- C74203A.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...
5,541
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-elchha.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
5,542
ada
0
Lucretia/old_nehe_ada95
utils/plane.ads
--------------------------------------------------------------------------------- -- Copyright 2004-2005 © <NAME> -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. -------------------------------------------------------------------...
5,543
ada
0
jamalakhaligova/ADA
ada homework2/src/mainair.adb
with Aircraft, Ada.Text_IO, Ada.Integer_Text_IO, Coords, Card_Dir; use Ada.Text_IO, Ada.Integer_Text_IO, Coords, Card_Dir; procedure mainair is package My_Aircraft is new Aircraft(character); use My_Aircraft; A:Aircraft_Type('1'); B:Aircraft_Type('2'); procedure Change(I:out character; B:out boolean; C:out...
5,544
ada
5
docandrew/troodon
include/bits_types_struct_itimerspec_h.ads
<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_struct_timespec_h; package bits_types_struct_itimerspec_h is -- POSIX.1b structure for timer start values and intervals. type itimerspec is record it_interval : aliased bits_types_struct_time...
5,545
ada
13
annexi-strayline/AURA
repositories-validate_aura_spec.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- ...
5,546
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/dynamic_elab2.adb
-- { dg-do compile } -- { dg-options "-gnatE" } package body Dynamic_Elab2 is function Get_Plot return Plot is procedure Fill (X : out Plot) is begin X.Data := Get_R; end; X : Plot; begin Fill(X); return X; end; end Dynamic_Elab2;
5,547
ada
0
fintatarta/protypo
src/API/protypo-api-engine_values.adb
<filename>src/API/protypo-api-engine_values.adb<gh_stars>0 pragma Ada_2012; ------------------------------- -- Protypo.API.Engine_Values -- ------------------------------- package body Protypo.API.Engine_Values is function "mod" (X, Y : Integer_Value) return Integer_Value is begin return Engine_Value'(...
5,548
ada
13
annexi-strayline/AURA
registrar-registration.ads
<reponame>annexi-strayline/AURA<filename>registrar-registration.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) --...
5,549
ada
0
jquorning/CELLE
source/generate_ada.adb
<reponame>jquorning/CELLE<gh_stars>0 -- -- 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 ...
5,550
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/io/opengl-io-collada.adb
<reponame>charlie5/lace-alire<gh_stars>1-10 with collada.Document, collada.Library.geometries, collada.Library.controllers, ada.Text_IO; package body openGL.IO.collada is package std_Collada renames Standard.Collada; function to_Model (model_Path : in String) return IO.Model is us...
5,551
ada
1
damaki/cobs
src/generic_cobs.ads
<filename>src/generic_cobs.ads ------------------------------------------------------------------------------- -- Copyright (c) 2020 <NAME> -- -- 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 So...
5,552
ada
0
optikos/oasis
source/oasis/program-elements-defining_expanded_names.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Defining_Names; with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Defining_Iden...
5,553
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/access_constant_decl.ads
-- { dg-do compile } package Access_Constant_Decl is c: aliased constant integer := 3; type const_ptr is access constant integer; cp : const_ptr := c'access; x : access integer := cp; -- { dg-error "access-to-constant" } end Access_Constant_Decl;
5,554
ada
488
ouankou/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/adapter_wrapper_h.adb
<reponame>ouankou/rose<gh_stars>100-1000 with Ada.Text_IO; with Interfaces.C; with Asis_Adapter.Tool; with a_nodes_h.Support; package body adapter_wrapper_h is package anhS renames a_nodes_h.Support; ------------ -- EXPORTED: ------------ function adapter_wrapper (target_file_in : ...
5,555
ada
7
elisboa/freebsd-ports
net/anet/files/patch-src_anet-sockets-inet.adb
<filename>net/anet/files/patch-src_anet-sockets-inet.adb --- src/anet-sockets-inet.adb.orig 2016-06-29 10:26:01 UTC +++ src/anet-sockets-inet.adb @@ -52,7 +52,7 @@ package body Anet.Sockets.Inet is Res : C.int; Sock : Thin.Inet.Sockaddr_In_Type (Family => Socket_Families.Family_Inet); - Len...
5,556
ada
12
TUM-EI-RCS/StratoX
software/lib/helper.adb
<filename>software/lib/helper.adb with Ada.Real_Time; use Ada.Real_Time; package body Helper with SPARK_Mode is function addWrap(x : Numeric_Type; inc : Numeric_Type) return Numeric_Type is begin if x + inc > Numeric_Type'Last then return x + inc - Numeric_Type'Last; ...
5,557
ada
4
docandrew/YOTROC
src/callbacks.adb
with Gdk.Event; with Gdk.Types.Keysyms; with Gtkada.Dialogs; with Gtkada.File_Selection; with Gtk.Dialog; with Gtk.File_Chooser; with Gtk.File_Chooser_Dialog; use Gtk.File_Chooser_Dialog; with Gtk.List_Store; with Gtk.Message_Dialog; with Gtk.Main; with Gtk.Status_Bar; with Gtk.Text_Iter; with Gtk.Tree_Model; with Gt...
5,558
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_streamvolume_h.ads
<reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_streamvolume_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with glib; with System; package GStreamer.GST_Low_Level.gst...
5,559
ada
0
vasilev-dev/AdaCompiler
AdaCompiler/in/test2.adb
procedure Hello is begin I := 5+12; num := 5+12+val; I := 5-12; num := 5-12-val; num := 5*val; num := 5*val*max; num := 5/val; num := index/val/max; num := index+val/max; num := index*val-max; num := (index+val)*max; num := index+val/max*min; num := index+val*max/min; num := index+val*(max/min); n...
5,560
ada
1
faelys/natools-web
src/natools-web-tag_pages.ads
------------------------------------------------------------------------------ -- Copyright (c) 2014-2015, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
5,561
ada
1
stcarrez/helios
src/linux/helios-monitor-cpu.adb
<reponame>stcarrez/helios<gh_stars>1-10 ----------------------------------------------------------------------- -- helios-monitor -- Helios monitor -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
5,562
ada
5
reznikmm/increment
testsuite/tests-parser_data-xml_reader.adb
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Tests.Parser_Data.XML_Reader is function "+" (Text : Wide_Wide_String) return League.Strings.Universal_String renames...
5,563
ada
1
annexi-strayline/ASAP-JSON
json-fast_slab_allocators.ads
<reponame>annexi-strayline/ASAP-JSON ------------------------------------------------------------------------------ -- -- -- JSON Parser/Constructor -- -- ...
5,564
ada
24
svn2github/matreshka
tools/aflex/src/external_file_manager.ads
<filename>tools/aflex/src/external_file_manager.ads -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by <NAME> of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted ...
5,565
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindo-augmentors.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,566
ada
0
fintatarta/protypo
src/Internals/protypo-scanning.adb
<filename>src/Internals/protypo-scanning.adb pragma Ada_2012; with Ada.Strings.Maps.Constants; use Ada.Strings.Maps.Constants; with Ada.Characters.Latin_9; use Ada.Characters.Latin_9; with Ada.Text_Io; use Ada.Text_Io; with Ada.Strings.Fixed; with Ada.Characters.Handling; with Ada.Contai...
5,567
ada
13
Fabien-Chouteau/GESTE
examples/platformer/src/player.adb
with GESTE; with GESTE.Tile_Bank; with GESTE.Sprite; with GESTE_Config; use GESTE_Config; with GESTE.Maths_Types; use GESTE.Maths_Types; with GESTE.Physics; with Game_Assets; with Game_Assets.Tileset; package body Player is type Player_Type (Bank : not null GESTE.Tile_Bank.Const_Ref; ...
5,568
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_cdda_gstcddabasesrc_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_base_gstpushsrc_h; with GLIB; -- with GStreamer.GST_Lo...
5,569
ada
4
ddugovic/words
line_stuff.ads
with TEXT_IO; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; with ADDONS_PACKAGE; use ADDONS_PACKAGE; with UNIQUES_PACKAGE; use UNIQUES_PACKAGE; package LINE_STUFF is use TEXT_IO; type DICTIONARY_ITEM; type DICTIONARY_LIST is access DICTIONARY_ITE...
5,570
ada
20
charlie5/lace
2-low/neural/source/private/neural-set.adb
<reponame>charlie5/lace with neural.Privvy; with fann_c.Binding; with Interfaces.C; with Fann_C.Pointers; package body Neural.Set is use neural.Privvy, fann_c.Binding, Interfaces; function to_Set (the_Patterns : in Patterns_view) return Set is the_Set : Set; procedure fill_Fann (...
5,571
ada
0
e3l6/SSMDev
demo/src/stm32f4-i2c.adb
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
5,572
ada
0
persan/dds-requestreply
tests/simpleOO/src/dds-request_reply-tests-simple-driver.adb
------------------------------------------------------------------------------- -- -- This file is only for conviniece to be able to build and run with -- one click -- ------------------------------------------------------------------------------- with GNAT.OS_Lib; with Ada.Text_IO; use Ada.Text_IO; procedure DDS.Re...
5,573
ada
0
Letractively/ada-gen
src/gnat/fmap.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,574
ada
0
persan/dds-requestreply
src.orig/src/x_replier-untyped_impl.ads
<gh_stars>0 package Replier.Untyped_Impl is type Ref is new Replier.RTI_Connext_Replier with record null; end record; procedure RTI_Connext_EntityUntypedImpl_Wait_For_Any_Sample (Self : not null access Ref; Min_Count : DDS.Natural...
5,575
ada
0
jpuente/Temperature_Sensor
src/mqtt.adb
<reponame>jpuente/Temperature_Sensor<filename>src/mqtt.adb<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- ...
5,576
ada
0
persan/advent-of-code-2020
src/day-5/adventofcode-day_5.ads
<gh_stars>0 -- --- Day 5: Binary Boarding --- -- -- You board your plane only to discover a new problem: you dropped your boarding pass! -- You aren't sure which seat is yours, and all of the flight attendants are busy with -- the flood of people that suddenly made it through passport control. -- -- You write a qu...
5,577
ada
79
Roldak/OpenGLAda
tests/glfw3/glfw_test-clipboard.adb
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Glfw.Windows.Clipboard; with Glfw.Monitors; with Glfw.Input; procedure Glfw_Test.Clipboard is type My_Window is new Glfw.Windows.Window with null record; overriding procedure Init (Object : n...
5,578
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/riscv/src/s-bbripl.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
5,579
ada
8
Lucretia/so
src/oberon-scanner.ads
------------------------------------------------------------------------------------------------------------------------ -- See COPYING for licence information. ------------------------------------------------------------------------------------------------------------------------ -- Oberon.Scanner -- This is the ro...
5,580
ada
3
jwarwick/aoc_2020
day11/src/day.adb
-- AoC 2020, Day 11 with Ada.Text_IO; package body Day is package TIO renames Ada.Text_IO; function "<"(left, right : in Location) return Boolean is begin if left.y < right.y then return true; elsif left.y = right.y and left.x < right.x then return true; else return false; end ...
5,581
ada
12
TUM-EI-RCS/StratoX
software/hal/hal/src/hal.ads
with Interfaces; package HAL with SPARK_Mode is pragma Pure; subtype Word is Interfaces.Unsigned_32; subtype Short is Interfaces.Unsigned_16; subtype Byte is Interfaces.Unsigned_8; type Bit is mod 2**1 with Size => 1; type UInt2 is mod 2**2 with Size => 2; type UInt3 is mod 2**3 w...
5,582
ada
0
hannesb0/rtpl18
src/lab-code/stopwatch_rav/src/main.adb
<reponame>hannesb0/rtpl18<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Ada.Characters; with Ada.Characters.Latin_1; with Stopwatch; procedure main is Ch : Character; Want_Freeze_Display : Boolean := False; begin Put_Line ("Press space to display lap, any other key to start/stop stopwatch"); Ad...
5,583
ada
9
stcarrez/ada-search
src/search-tokenizers.ads
<filename>src/search-tokenizers.ads ----------------------------------------------------------------------- -- search-tokenizers -- Search engine tokenizers -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file...
5,584
ada
1
LaudateCorpus1/RosettaCodeData
Task/Priority-queue/Ada/priority-queue.ada
<gh_stars>1-10 with Ada.Containers.Synchronized_Queue_Interfaces; with Ada.Containers.Unbounded_Priority_Queues; with Ada.Strings.Unbounded; procedure Priority_Queues is use Ada.Containers; use Ada.Strings.Unbounded; type Queue_Element is record Priority : Natural; Content : Unbounded_String; ...
5,585
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr7.adb
-- { dg-do compile } procedure Discr7 is subtype Index is Natural range 0..5; type BitString is array(Index range <>) of Boolean; pragma Pack(BitString); function Id (I : Integer) return Integer is begin return I; end; type E(D : Index) is record C : BitString(1..D); end record; subtype E...
5,586
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/i-cobol.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,587
ada
0
AntonMeep/base64
tests/src/base64_tests.adb
with AUnit.Reporter.Text; with AUnit.Run; with AUnit.Test_Suites; with Test_Standard; with Test_URLSafe; procedure Base64_Tests is function Suite return AUnit.Test_Suites.Access_Test_Suite; function Suite return AUnit.Test_Suites.Access_Test_Suite is Result : constant AUnit.Test_Suites.Access_Test_Suite ...
5,588
ada
1
faelys/natools-web
generated/natools-static_maps-web-simple_pages.adb
<filename>generated/natools-static_maps-web-simple_pages.adb -- Generated at 2017-03-10 17:26:29 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-simple_pages-maps.sx with Natools.Static_Maps.Web.Simple_Pages.Commands; with Natools.Static_Maps.Web.Simple_Pages.Components; package body Natools.Static_Maps.W...
5,589
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-version.ads
<filename>thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-version.ads -- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) ...
5,590
ada
0
Roldak/OpenGLAda
deps/gid/gid-decoding_pnm.adb
with GID.Buffering; use GID.Buffering; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package body GID.Decoding_PNM is ---------- -- Load -- ---------- procedure Load (image: in out Image_descriptor) is procedure Row_start(y: Natural) is begin ...
5,591
ada
1
XMoose25X/Advanced-Dungeon-Assault
Source/save_test.adb
<reponame>XMoose25X/Advanced-Dungeon-Assault with Ada.Integer_Text_IO; Use Ada.Integer_Text_IO; with Ada.Float_Text_IO; Use Ada.Float_Text_IO; with Ada.Text_IO; Use Ada.Text_IO; with inventory_list; Use inventory_list; with player; Use player; with save_load_game; Use save_load_game; Procedure save_test is ...
5,592
ada
0
faelys/natools
tests/natools-string_slice_tests.adb
<filename>tests/natools-string_slice_tests.adb ------------------------------------------------------------------------------ -- Copyright (c) 2013-2017, <NAME> -- -- -- -- Permission to use, copy, modify, and dis...
5,593
ada
0
Roldak/OpenGLAda
src/generator/tokenization.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Strings.Hash; package Tokenization is type Tokenizer (<>) is limited private; type Symbol_Id is new Positive; type Token_Kind is (Identifier, N...
5,594
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_base_gstpushsrc_h.ads
<gh_stars>1-10 pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_base_gstbasesrc_h; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h; with glib; package ...
5,595
ada
1
Jellix/open_weather_map_api
src/open_weather_map-configuration.adb
<gh_stars>1-10 -------------------------------------------------------------------------------- -- 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, Version 2, -- as published by Sam...
5,596
ada
1
LaudateCorpus1/RosettaCodeData
Task/Queue-Definition/Ada/queue-definition-3.ada
with Fifo; with Ada.Text_Io; use Ada.Text_Io; procedure Fifo_Test is package Int_Fifo is new Fifo(Integer); use Int_Fifo; My_Fifo : Fifo_Type; Val : Integer; begin for I in 1..10 loop Push(My_Fifo, I); end loop; while not Is_Empty(My_Fifo) loop Pop(My_Fifo, Val); Put_Line(Integer...
5,597
ada
7
stcarrez/mat
mat/src/gtk/mat-consoles-gtkmat.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- mat-consoles-text - Text console interface -- 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 wi...
5,598
ada
0
thierr26/ada-apsepp
src/apsepp-test_reporter_class-struct_builder.adb
<reponame>thierr26/ada-apsepp -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Calendar, Apsepp.Test_Node_Class, Apsepp.Test_Event_Class.Impl.Abbrev; package body Apsepp.Test_Reporter_Class.Struct_Builder is use Ada.Calendar, Test_Node_Class, ...
5,599
ada
8
qunying/AdaTutor
adatutor/dat2txt.ada
<filename>adatutor/dat2txt.ada -- DAT2TXT.ADA Ver. 4.01 2001-SEP-10 Copyright 1988-2001 <NAME> -- -- SOFTWARE INNOVATIONS TECHNOLOGY www.adatutor.com -- 1083 <NAME> -- PALM BAY FL 32905-4706 <EMAIL> -- -- (321) 951-0233 -- -- Run this program on a PC before installing AdaTutor o...