id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
4,600
ada
0
faelys/natools
generated/natools-smaz-original_hash.adb
with Interfaces; use Interfaces; package body Natools.Smaz.Original_Hash is P : constant array (0 .. 3) of Natural := (1, 2, 3, 4); T1 : constant array (0 .. 3) of Unsigned_16 := (205, 471, 343, 362); T2 : constant array (0 .. 3) of Unsigned_16 := (421, 215, 438, 437); G : constant array...
4,601
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbarat.adb
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
4,602
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/s-winext.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,603
ada
76
yannickmoy/SPARKNaCl
tests/scalarmult2.adb
with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.Debug; use SPARKNaCl.Debug; with SPARKNaCl.Scalar; use SPARKNaCl.Scalar; procedure Scalarmult2 is BobSK : constant Bytes_32 := (16#5d#, 16#ab#, 16#08#, 16#7e#, 16#62#, 16#4a#, 16#8a#, 16#4b#, 16#79#, 16#e1#, 16#7f#, 16#8b#, 16#83#, 16#80#, 16#0e#, 16#e...
4,604
ada
0
Letractively/ada-util
regtests/util-dates-formats-tests.adb
----------------------------------------------------------------------- -- util-dates-formats-tests - Test for date formats -- Copyright (C) 2011, 2013, 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...
4,605
ada
0
VitalijBondarenko/adagettext
test/message_dialogs.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (c) 2014 <NAME> <<EMAIL>> -- -- -- ----------------...
4,606
ada
0
kraileth/ravenadm
src/portscan-operations.adb
<reponame>kraileth/ravenadm<filename>src/portscan-operations.adb<gh_stars>0 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt -- To enable ncurses support, use sed to change Options_Dialog_Console => Options_Dialog -- Also change Display.Console => Display.Curse...
4,607
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstpreset_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 glib; with System; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpreset_h is -- unsupported macro: GST_TYPE_PRESET (gst_preset_get_type()) ...
4,608
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/g45/hw-gfx-gma-gmch-dp.adb
-- -- Copyright (C) 2016 <NAME> <<EMAIL>> -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is d...
4,609
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41322a.ada
-- C41322A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
4,610
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/kill_value.adb
-- { dg-do run } procedure kill_value is type Struct; type Pstruct is access all Struct; type Struct is record Next : Pstruct; end record; Vap : Pstruct := new Struct; begin for J in 1 .. 10 loop if Vap /= null then while Vap /= null loop Vap := Vap.Next; ...
4,611
ada
60
RREE/ada-util
src/base/commands/util-commands.adb
----------------------------------------------------------------------- -- util-commands -- Support to make command line tools -- Copyright (C) 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wi...
4,612
ada
60
Letractively/ada-util
src/util-beans-objects-enums.ads
----------------------------------------------------------------------- -- Util.Beans.Objects.Enums -- Helper conversion for discrete types -- Copyright (C) 2010 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
4,613
ada
2
ficorax/PortAudioAda
test/pa_minlat/src/pa_minlat_callbacks.ads
<reponame>ficorax/PortAudioAda<gh_stars>1-10 with Interfaces.C; with System; with PortAudioAda; use PortAudioAda; package Pa_MinLat_Callbacks is ----------------------------------------------------------------------------- -- Very simple synthesis routine to generate two sine waves. function paMinLatCall...
4,614
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada83/unchecked_deallocation.ads
<filename>tools/scitools/conf/understand/ada/ada83/unchecked_deallocation.ads --****************************************************************************** -- -- procedure UNCHECKED_DEALLOCATION -- --****************************************************************************** generic type OBJECT is limited priv...
4,615
ada
0
acornagl/Control_flow_graph-wcet
tmp/src/main.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Extract_List_Files; use Extract_List_Files; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Parser_Xml; use Parser_Xml; procedure Main is Return_From_Call_String : Unbounded_String; Return_From_Call_Vector : Parser_Xml.String_Vector.Vector; begin ...
4,616
ada
1
LaudateCorpus1/RosettaCodeData
Task/Function-prototype/Ada/function-prototype-1.ada
function noargs return Integer; function twoargs (a, b : Integer) return Integer; -- varargs do not exist function optionalargs (a, b : Integer := 0) return Integer; -- all parameters are always named, only calling by name differs procedure dostuff (a : Integer);
4,617
ada
24
svn2github/matreshka
testsuite/xml/TN-26/xml-sax-input_sources-streams-test_sockets.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,618
ada
1
LaudateCorpus1/RosettaCodeData
Task/Formal-power-series/Ada/formal-power-series-1.ada
with Generic_Rational; generic with package Rational_Numbers is new Generic_Rational (<>); package Generic_Taylor_Series is use Rational_Numbers; type Taylor_Series is array (Natural range <>) of Rational; function "+" (A : Taylor_Series) return Taylor_Series; function "-" (A : Taylor_Series) return Ta...
4,619
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85014b.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85014b.ada -- C85014B.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...
4,620
ada
30
jrmarino/AdaBase
src/connections/adabase-connection-base.adb
<filename>src/connections/adabase-connection-base.adb -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package body AdaBase.Connection.Base is ------------------ -- autoCommit -- ------------------ overriding function autoCommit (conn : Base_...
4,621
ada
15
mgrojo/adalib
ada-storage_io.ads
-- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- 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-...
4,622
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/svd/FE310/fe310_svd-otp_mem.ads
<reponame>rocher/Ada_Drivers_Library -- This spec has been automatically generated from FE310.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package FE310_SVD.OTP_Mem is pragma Preelaborate; --------------- -- Registers -- -------------...
4,623
ada
3
mindviser/keepaSDK
ada/src/client/-clients.ads
<filename>ada/src/client/-clients.ads -- Keepa API -- The Keepa API offers numerous endpoints. Every request requires your API access key as a parameter. You can find and change your key in the keepa portal. All requests must be issued as a HTTPS GET and accept gzip encoding. If possible, use a Keep_Alive connection...
4,624
ada
0
reznikmm/gela
source/oasis/program-elements-object_declarations.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Definitions; with Program.Elements.Exp...
4,625
ada
0
Letractively/ada-asf
src/asf-components-html-pages.ads
<gh_stars>0 ----------------------------------------------------------------------- -- html-pages -- HTML Page Components -- Copyright (C) 2011, 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 th...
4,626
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/culler/globe_3d-culler-impostoring_frustum.adb
<gh_stars>1-10 pragma Warnings (Off); pragma Style_Checks (Off); with globe_3d.Impostor.simple; with globe_3d.Impostor.terrain; with globe_3d.Math; use globe_3d.Math; with Ada.Containers.Generic_Array_Sort; with ada.text_IO; use ada.text_IO; with ada.exceptions; use ada.exceptions; ...
4,627
ada
0
reznikmm/webidl
source/lexer/webidl-scanners.adb
-- SPDX-FileCopyrightText: 2010-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Matreshka.Internals.Unicode; package body WebIDL.Scanners is package Tables is subtype Rule_Index is Scanner_Types.Rule_Index; function To_Clas...
4,628
ada
0
iyan22/AprendeAda
ejercicios1/multporsumas.adb
<gh_stars>0 function multporsumas (numero, multiplicador: in Integer) return Integer is resultado: Integer; begin resultado:=0; for I in 1..multiplicador loop resultado:=resultado+numero; end loop; return resultado; end multporsumas;
4,629
ada
0
mosteo/licensing
licensing_alr.ads
<reponame>mosteo/licensing with Alire.Project; use Alire.Project; package Licensing_Alr is Working_Release : constant Release := Set_Root_Project ( "licensing", V ("0.0.0-alr_working_copy")); -- An explicit dependency on alr is only needed if you want to compile this file. -- To do so, include...
4,630
ada
4
jerry-sky/academic-notebook
electives/pw/lab/lista-2/ada/sender.adb
<filename>electives/pw/lab/lista-2/ada/sender.adb package body Sender is task body SenderTask is tmpMessage: pMessage; subtype RangeK is Natural range 1..k; begin for I in RangeK'Range loop tmpMessage := new Message'(content => I, health => h); firstNode.all.nod...
4,631
ada
0
faelys/natools
src/natools-accumulators-string_accumulator_linked_lists.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (c) 2011, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any --...
4,632
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-wchstw.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/s-wchstw.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
4,633
ada
65
PThierry/ewok-kernel
src/arch/cores/armv7-m/m4-cpu.adb
<reponame>PThierry/ewok-kernel -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <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 o...
4,634
ada
0
JCGobbi/Nucleo-STM32H743ZI
bb-runtimes/runtimes/zfp-stm32h743/gnat/i-stm32-flash.ads
-- -- Copyright (C) 2021, AdaCore -- pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd with System; package Interfaces.STM32.Flash is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- subtype ACR_LAT...
4,635
ada
20
charlie5/lace
4-high/gel/applet/demo/distributed/gel_demo_services.adb
with gel_demo_Server; package body gel_demo_Services is function World return gel.remote.World.view is begin return gel_demo_Server.the_server_World.all'access; end World; end gel_demo_Services;
4,636
ada
80
thindil/steamsky
tests/missions-test_data-tests-mission_container.ads
<filename>tests/missions-test_data-tests-mission_container.ads<gh_stars>10-100 package Missions.Test_Data.Tests.Mission_Container is end Missions.Test_Data.Tests.Mission_Container;
4,637
ada
0
My-Colaborations/ada-ado
src/drivers/ado-drivers.ads
----------------------------------------------------------------------- -- ADO Drivers -- Database Drivers -- Copyright (C) 2010, 2011, 2012, 2013, 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 complianc...
4,638
ada
24
svn2github/matreshka
tools/configure/configure-tests-postgresql.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,639
ada
0
bhayward93/Ada-Traffic-Light-Sim
fixedsrc/hwif_types.ads
<reponame>bhayward93/Ada-Traffic-Light-Sim with Interfaces; package HWIF_Types is pragma Pure; type Octet is new Interfaces.Unsigned_8 with Size => 8; -- Integer. type Int is new Interfaces.Unsigned_32 with Size => 32; end HWIF_Types;
4,640
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/treepr.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,641
ada
20
charlie5/lace
3-mid/physics/interface/source/motor/physics-motor-spring-angular.ads
with Math; package physics.Motor.spring.angular is -- a spring which operates in 3 degrees of rotational motion to keep a Solid in a desired attitude. use type math.Real; type Item is new physics.Motor.spring.item with record desiredForward : math.Vector_3 := (0.0, 0.0, -1.0); -- the M...
4,642
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sem_ch10.ads
<filename>tools-src/gnu/gcc/gcc/ada/sem_ch10.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
4,643
ada
0
optikos/oasis
source/oasis/program-elements-anonymous_access_to_procedures.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Anonymous_Access_Definitions; with Program.Lexical_Elements; with Program.Elements.Parameter_Specifications; package Program.Ele...
4,644
ada
4
jerry-sky/academic-notebook
electives/pw/lab/lista-3/ada/receiver.ads
with External; use External; with Node; use Node; with Logger; use Logger; package Receiver is end Receiver;
4,645
ada
0
vivianjia123/Password-Manager
Assignment/mystringtokeniser.adb
package body MyStringTokeniser with SPARK_Mode is procedure Tokenise(S : in String; Tokens : in out TokenArray; Count : out Natural) is Index : Positive; Extent : TokenExtent; OutIndex : Integer := Tokens'First; begin Count := 0; if (S'First > S'Last) then return; ...
4,646
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1022a6.ada
<gh_stars>1-10 -- CA1022A6M.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 herei...
4,647
ada
1
faelys/natools-web
generated/natools-static_maps-web-tag_pages-components.ads
package Natools.Static_Maps.Web.Tag_Pages.Components is pragma Pure; function Hash (S : String) return Natural; end Natools.Static_Maps.Web.Tag_Pages.Components;
4,648
ada
0
thierr26/ada-apsepp
src/_test/scenarios/apsepp_scope_bound_locks_test_case.adb
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Unchecked_Deallocation, Apsepp.Scope_Bound_Locks, Apsepp_Scope_Bound_Locks_Test_Fixture, Apsepp.Generic_Fixture.Creator; package body Apsepp_Scope_Bound_Locks_Test_Case is use Apsepp.Scope_Bound_Locks,...
4,649
ada
33
ytomino/drake
source/image/required/s-valcha.adb
<reponame>ytomino/drake<gh_stars>10-100 with System.Formatting; with System.Img_Char; with System.Long_Long_Integer_Types; with System.Val_Enum; with System.Value_Errors; package body System.Val_Char is use type Long_Long_Integer_Types.Word_Unsigned; subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned...
4,650
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cb/cb4003a.ada
<reponame>best08618/asylo -- CB4003A.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...
4,651
ada
15
My-Colaborations/dynamo
src/asis/a4g-a_elists.ads
<filename>src/asis/a4g-a_elists.ads ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
4,652
ada
80
thindil/steamsky
tests/items-test_data-tests.adb
<filename>tests/items-test_data-tests.adb<gh_stars>10-100 -- 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...
4,653
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/unzip/unzip-decompress-huffman.adb
with Interfaces; with Ada.Text_IO; with Ada.Unchecked_Deallocation; package body UnZip.Decompress.Huffman is -- Note from Pascal source: -- C code by info - zip group, translated to pascal by <NAME> -- based on unz51g.zip -- Free huffman tables starting with table where t points to proced...
4,654
ada
0
persan/midnightsun-ctf-LoveLacedLetter
src/hide-encode_generic.adb
with Hide.Value; procedure Hide.Encode_Generic is use all type Posix.C_String; Source_File : constant String := Posix.Get_Line; Offset : constant Natural := Value (Posix.Get_Line); Text : constant String := Posix.Get_Line; Output_File : constant String := Posix.Get_Line; begin Encode ((+...
4,655
ada
0
joffreyhuguet/LmcpGen
ada/src/afrl/cmasi/afrl-cmasi-gimbalconfiguration.ads
<filename>ada/src/afrl/cmasi/afrl-cmasi-gimbalconfiguration.ads with avtas.lmcp.types; use avtas.lmcp.types; with afrl.cmasi.object; use afrl.cmasi.object; with afrl.cmasi.enumerations; use afrl.cmasi.enumerations; with afrl.cmasi.payloadConfiguration; use afrl.cmasi.payloadConfiguration; with Ada.Containers.Vectors; ...
4,656
ada
1
LaudateCorpus1/RosettaCodeData
Task/Subtractive-generator/Ada/subtractive-generator-3.ada
with Ada.Text_IO; with Subtractive_Generator; procedure Main is Random : Subtractive_Generator.State; N : Natural; begin Subtractive_Generator.Initialize (Generator => Random, Seed => 292929); for I in 220 .. 222 loop Subtractive_Generator.Next (Generato...
4,657
ada
33
ytomino/drake
source/tasking/machine-w64-mingw32/a-intnam.ads
pragma License (Unrestricted); -- specialized for Windows private with System.Interrupt_Numbers; package Ada.Interrupts.Names is -- This package is system-specific. SIGINT : constant Interrupt_Id; SIGILL : constant Interrupt_Id; SIGABRT_COMPAT : constant Interrupt_Id; SIGFPE : constant Interrupt_Id; ...
4,658
ada
0
stevancorre/advent-of-code-2021
day-01/solve.adb
<filename>day-01/solve.adb package body Solve is function Get_Line_Integer (File : File_Type) return Integer is Line_Buffer : Unbounded_String; Result : Integer; begin Line_Buffer := Get_Line (File); Result := Integer'Value (To_String (Line_Buffer)); return Res...
4,659
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/haswell/hw-gfx-gma-plls-lcpll.ads
<filename>firmware/coreboot/3rdparty/libgfxinit/common/haswell/hw-gfx-gma-plls-lcpll.ads<gh_stars>1-10 -- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free...
4,660
ada
22
FardaleM/metalang
out/euler01.adb
<filename>out/euler01.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 euler01 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin St...
4,661
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_math_compat_h.ads
<gh_stars>1-10 pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_math_compat_h is -- arg-macro: procedure rint (x) -- __gst_math_compat_rint(x) -- arg-macro: procedure rintf (x) -- __gst_math_...
4,662
ada
7
98devin/ada-gba-dev
zfp-gba/gnat/a-except.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,663
ada
20
charlie5/lace
3-mid/impact/source/2d/impact-d2-math.adb
<gh_stars>10-100 package body impact.d2.Math is procedure dummy is begin null; end dummy; function b2IsValid (x : in float32) return Boolean is begin if x /= x then return False; -- NaN. end if; return -float32'Last < x and then x <...
4,664
ada
2
skordal/ada-regex
src/regex-regular_expressions-parse.adb
<gh_stars>1-10 -- Ada regular expression library -- (c) <NAME> 2020-2021 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> separate (Regex.Regular_Expressions) procedure Parse (Input : in String; Output : in out Regular_Expression) is use Utilities.String_Buffers; Buffer : String_B...
4,665
ada
0
ytomino/iconv-ada
source/iconv-streams.adb
<gh_stars>0 package body iconv.Streams is procedure Adjust_Buffer ( Buffer : in out Buffer_Type; First : in out Ada.Streams.Stream_Element_Offset; Last : in out Ada.Streams.Stream_Element_Offset); procedure Adjust_Buffer ( Buffer : in out Buffer_Type; First : in out Ada.Streams.Stream_Element_Offset; La...
4,666
ada
204
spr93/whitakers-words
src/latin_utils/latin_utils-inflections_package-ending_record_io.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
4,667
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/cfg/tkmrpc-operation_handlers-cfg-tkm_version.adb
with Tkmrpc.Servers.Cfg; with Tkmrpc.Response.Cfg.Tkm_Version.Convert; package body Tkmrpc.Operation_Handlers.Cfg.Tkm_Version is ------------------------------------------------------------------------- procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type) is pragma Unreferenced (Req);...
4,668
ada
20
charlie5/lace
4-high/gel/source/dolly/gel-dolly-following.ads
with gel.Sprite; package gel.Dolly.following -- -- Provides a camera dolly which follows a sprite. -- is type Item is new gel.Dolly.item with private; type View is access all Item'Class; --------- --- Forge -- overriding procedure define (Self : in out Item); overriding procedure d...
4,669
ada
30
jrmarino/AdaBase
src/loggers/adabase-logger-facility.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with CommonText; with AdaBase.Logger.Base.File; with AdaBase.Logger.Base.Screen; package AdaBase.Logger.Facility is package CT renames CommonText; package AL renames AdaBase.Logger.Base; package ALF...
4,670
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-decima.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
4,671
ada
19
jrcarter/Ada_GUI
gnat-sockets-connection_state_machine.ads
<filename>gnat-sockets-connection_state_machine.ads -- -- -- package Copyright (c) <NAME> -- -- GNAT.Sockets.Connection_State_Machine Luebeck -- -- Interface Winter...
4,672
ada
0
djgoku/RosettaCodeData
Task/Modular-inverse/Ada/modular-inverse-3.ada
<filename>Task/Modular-inverse/Ada/modular-inverse-3.ada with Ada.Text_IO; with Mod_Inv; use Mod_Inv, Ada.text_IO; procedure Mod_Inv_Test is begin -- Put_Line(Natural'Image(Inverse(154, 3311))); -- The above would raise CONSTRAINT_ERROR : GCD ( 154, 3311 ) = 77 /= 1 Put_Line(Natural'Image(Inverse(42, 2017)))...
4,673
ada
0
sourceryinstitute/rose-sourcery-institute
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/dot_asis_library/source/asis_tool_2-context.adb
<gh_stars>0 with Asis.Ada_Environments; with Asis.Compilation_Units; with Asis.Exceptions; with Asis.Errors; with Asis.Implementation; with GNAT.Directory_Operations; with Asis_Tool_2.Unit; with a_nodes_h.Support; package body Asis_Tool_2.Context is procedure Set_Context (Asis_Context : in Asis.Context; ...
4,674
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-inputs-secret.ads
<gh_stars>1-10 package FLTK.Widgets.Inputs.Secret is type Secret_Input is new Input with private; type Secret_Input_Reference (Data : not null access Secret_Input'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create (X, Y,...
4,675
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/cfg/tkmrpc-operation_handlers-cfg-tkm_limits.adb
with Tkmrpc.Servers.Cfg; with Tkmrpc.Response.Cfg.Tkm_Limits.Convert; package body Tkmrpc.Operation_Handlers.Cfg.Tkm_Limits is ------------------------------------------------------------------------- procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type) is pragma Unreferenced (Req); ...
4,676
ada
24
reznikmm/matreshka
source/league/league-strings.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,677
ada
10
Ada-Audio/wavefiles
src.prep/audio-wavefiles-generic_direct_NUM_TYPE_wav_io.ads
<filename>src.prep/audio-wavefiles-generic_direct_NUM_TYPE_wav_io.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! --...
4,678
ada
33
ytomino/drake
source/directories/a-direct.ads
pragma License (Unrestricted); with Ada.Calendar; with Ada.Hierarchical_File_Names; with Ada.IO_Exceptions; with Ada.Iterator_Interfaces; with Ada.Streams; private with Ada.Finalization; private with System.Native_Directories.Searching; package Ada.Directories is -- Directory and file operations: function Curr...
4,679
ada
4
faelys/gela-asis
source/libgela/gela-embeded_links-double_lists.ads
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
4,680
ada
0
VMika/Des_Ada
Des_Ada/src/concrete_handler/p_stephandler-inputhandler.ads
<gh_stars>0 WITH P_StepHandler; USE P_StepHandler; with P_StructuralTypes; use P_StructuralTypes; with Ada.Streams; use Ada.Streams; package P_StepHandler.InputHandler is type InputHandler is new T_StepHandler with private; type Ptr_InputHandler is access InputHandler; --- CONSTRUCTOR --- fun...
4,681
ada
1
Fabien-Chouteau/sdlada
src/sdl-video-rectangles.ads
<gh_stars>1-10 -------------------------------------------------------------------------------------------------------------------- -- 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 for any damages -- a...
4,682
ada
3
charlie5/aIDE
source/context/adam-context_clause.adb
<filename>source/context/adam-context_clause.adb with AdaM.Factory; package body AdaM.context_Clause is -- Storage Pool -- record_Version : constant := 1; pool_Size : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", ...
4,683
ada
0
iyan22/AprendeAda
ejercicios6/prueba_posicion_lista_ordenada.adb
with Ada.Text_Io, Ada.Integer_Text_Io, Datos; with Crear_Lista_Vacia, Ins, Esc, Posicion_Lista_Ordenada; use Datos; use Ada.Text_Io, Ada.Integer_Text_Io; procedure Prueba_Posicion_Lista_Ordenada is package Boolean_E_S is new Enumeration_Io(Boolean); use Boolean_E_S; -- esto sirve para leer y escribir v...
4,684
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sem_ch9.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
4,685
ada
12
TUM-EI-RCS/StratoX
tests/dispatch/test/main.adb
<reponame>TUM-EI-RCS/StratoX with ULog; with ULog.GPS; with Ada.Text_IO; use Ada.Text_IO; with Ada.Tags; with Interfaces; -- Rules for conversion in OO programming: -- 1. SPECIFIC TYPES: only up-cast (towards ancestors/base) possible -- * view conversion, i.e., components not in parent are hidden -- * tag stay...
4,686
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l4x3/stm32_svd-rcc.ads
<filename>arch/ARM/STM32/svd/stm32l4x3/stm32_svd-rcc.ads -- This spec has been automatically generated from STM32L4x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.RCC is pragma Preelaborate; --------------- -- Registers...
4,687
ada
2
ShiroixD/pag_zad_2
thirdparty/glut/README.ada
<gh_stars>1-10 GLUT 3.4 was the first release of GLUT to support an Ada language binding for SGI's Ada run-time and development environment. (With a bit of work, GLUT could probably be easily be adapted to other Ada development environments, assuming the environment already has an OpenGL binding.) To use the SGI Ada...
4,688
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr8.ads
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr8.ads package Addr8 is type Bytes is array (1 .. 4) of Character; for Bytes'Alignment use 4; procedure Proc (B: Bytes); end Addr8;
4,689
ada
0
strenkml/EE368
memsim-master/src/parser-parse_dram.adb
with Memory.DRAM; use type Memory.DRAM.DRAM_Pointer; with Util; use Util; separate (Parser) procedure Parse_DRAM(parser : in out Parser_Type; result : out Memory_Pointer) is ptr : DRAM.DRAM_Pointer := null; cas_cycles : Time_Type := 5; rcd_cycles : Time_Type := 5;...
4,690
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-wchjis.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,691
ada
1
faelys/natools-web
generated/natools-static_maps-web-sites-commands.adb
<gh_stars>1-10 with Interfaces; use Interfaces; package body Natools.Static_Maps.Web.Sites.Commands is P : constant array (0 .. 3) of Natural := (1, 8, 12, 14); T1 : constant array (0 .. 3) of Unsigned_8 := (10, 1, 30, 27); T2 : constant array (0 .. 3) of Unsigned_8 := (17, 10, 22, 38); ...
4,692
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/err_vars.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,693
ada
0
My-Colaborations/ada-util
src/core/util-nullables.ads
<gh_stars>0 ----------------------------------------------------------------------- -- util-nullables -- Basic types that can hold a null value -- 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 in co...
4,694
ada
0
reznikmm/gela
source/contexts/plain/program-plain_compilations.adb
<filename>source/contexts/plain/program-plain_compilations.adb -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Handlers; with Program.Scanner_Destinations; with Program.Scanners; with Program.S...
4,695
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95078a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95078a.ada -- C95078A.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...
4,696
ada
23
yrm006/Geo3x3
geo3x3.ads
<reponame>yrm006/Geo3x3 package Geo3x3 is function Encode (PLat: in Long_Float; PLng: in Long_Float; Level: in Integer) return String; type WGS84 is record Lat : Long_Float; Lng : Long_Float; Level : Integer; Unit : Long_Float; end record; function Decode (Code: in String) ret...
4,697
ada
0
Letractively/ada-util
src/http/util-http-rest-rest_get_vector.adb
----------------------------------------------------------------------- -- util-http-rest -- REST API support -- 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 License. -...
4,698
ada
36
rewriting/tom
src/tom/library/sl/ada/nostrategy.adb
<reponame>rewriting/tom with VisitablePackage, EnvironmentPackage, VisitFailurePackage; use VisitablePackage, EnvironmentPackage, VisitFailurePackage; package body NoStrategy is ---------------------------------------------------------------------------- -- Object implementation -----------------------------------...
4,699
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/frontend.adb
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...