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
27,300
ada
24
svn2github/matreshka
tools/documentation_generator/documentation_generator-wiki.ads
package Documentation_Generator.Wiki is procedure Generate; end Documentation_Generator.Wiki;
27,301
ada
33
ytomino/drake
source/strings/a-chacon.adb
<reponame>ytomino/drake<filename>source/strings/a-chacon.adb<gh_stars>10-100 package body Ada.Characters.Conversions is use type System.UTF_Conversions.From_Status_Type; use type System.UTF_Conversions.To_Status_Type; function Is_Wide_Character (Item : Character) return Boolean is begin return Charac...
27,302
ada
0
heartistizio/Hello-World
helloWorld.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put_Line ("Hello there, general World!"); end Hello;
27,303
ada
79
Roldak/OpenGLAda
src/gl/interface/gl-matrices.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" generic type Index_Type is (<>); type Element_Type is private; with function "+" (Left, Right : Element_Type) return Element_Type is <>; with function "-" (Left, Right : Element_Type) return Eleme...
27,304
ada
0
persan/a-cups
src/gen/cups-bits_siginfo_h.ads
<gh_stars>0 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; limited with CUPS.bits_pthreadtypes_h; with CUPS.bits_types_h; private package CUPS.bits_siginfo_h is -- unsupported macro: sigev_notify_function _sigev_un._sigev_thread._function -- unsupported macro: s...
27,305
ada
3
charlie5/aIDE
source/adam-a_type.ads
<reponame>charlie5/aIDE with AdaM.Entity, Ada.Streams; package AdaM.a_Type is type Item is abstract new Entity.item with private; -- View -- type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Sel...
27,306
ada
0
stcarrez/hyperion
src/hyperion-monitoring-beans.ads
----------------------------------------------------------------------- -- hyperion-monitoring-beans -- Beans for module monitoring -- Copyright (C) 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wit...
27,307
ada
5
docandrew/troodon
include/bits_types_file_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_struct_FILE_h; package bits_types_FILE_h is -- The opaque type of streams. This is the definition used elsewhere. subtype FILE is bits_types_struct_FILE_h.u_IO_FILE; -- /usr/include/bits/types/FILE.h:7 end bit...
27,308
ada
24
svn2github/matreshka
source/league/matreshka-internals-unicode-collation.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,309
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sinput-l.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,310
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/160_genericity_text/answers/sort_generics.adb
with Ada.Text_IO; with Swap_Generics; package body Sort_Generics is procedure Sort_Generic (List : in out List_Type) is Idx_Min : Integer; procedure Swap is new Swap_Generics.Swap_Generic (Data_Type => Element_Type); begin for Current_Idx in List'First .. List'Last - 1 loop Idx_Min ...
27,311
ada
5
erik/ada-irc
examples/commands.adb
<filename>examples/commands.adb package body Commands is procedure Host (Bot : in out Irc.Bot.Connection; Msg : Irc.Message.Message) is Host : String := GNAT.Sockets.Host_Name; Target : String := Ada.Strings.Unbounded.To_String (Msg.Privmsg.Target); begin --...
27,312
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_prefix1.adb
-- { dg-do run } with prefix1; use prefix1; procedure test_prefix1 is Val : Natural; Obj : T; -- begin for J in Obj.Func'Range loop Val := Obj.Func (J); if Val /= 2 ** J then raise Program_Error; end if; end loop; end test_prefix1;
27,313
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline_scope_p.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline_scope_p.ads<gh_stars>1-10 package inline_scope_p is procedure Assert (Expr : Boolean; Str : String); pragma Inline (Assert); end;
27,314
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35504a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35504a.ada<gh_stars>1-10 -- C35504A.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 ...
27,315
ada
4
jorge-real/Ball-On-Beam
src/bb-gui-controller.adb
------------------------------------------------------------ -- B B . G U I . C O N T R O L L E R -- -- -- -- Body -- -- -- -- "Controller...
27,316
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/drivers/fe310-rtc.adb
<filename>arch/RISC-V/SiFive/drivers/fe310-rtc.adb<gh_stars>100-1000 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore and other contributors -- -- ...
27,317
ada
0
e3l6/SSMDev
demo/adainclude/s-stm32f.ads
<filename>demo/adainclude/s-stm32f.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
27,318
ada
0
zyron92/banana_tree_generator
tests_resultats/test_svg.adb
with Parseur_Temp,Svg_Helpers,Ada.Text_IO, Ada.Integer_Text_IO; use Parseur_Temp,Svg_Helpers,Ada.Text_IO, Ada.Integer_Text_IO; procedure Test_Svg is Fichier : File_Type; P1: Coord_Point := (X=>-2.5, Y=>-4.33012701892219); P2: Coord_Point := (X=>-0.492608180923429, Y=>-6.55956149535438); begin Create(Fichie...
27,319
ada
80
thindil/steamsky
tests/game-test_data-tests.ads
<filename>tests/game-test_data-tests.ads<gh_stars>10-100 -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Game.Test_Data.Tests is type Test is new GNATtest_Generated.GNAT...
27,320
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken_grammar_re2c_c.ads
<reponame>caqg/linux-home<filename>.emacs.d/elpa/wisi-3.1.3/wisitoken_grammar_re2c_c.ads -- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LALR Ada re2c wisitoken_grammar.wy -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- Author: <NAME> <<EMAIL>> -- -- ...
27,321
ada
0
VitalijBondarenko/adagettext
src/l10n_table.ads
<filename>src/l10n_table.ads ------------------------------------------------------------------------------ -- -- -- Copyright (c) 2014-2015 <NAME> <<EMAIL>> -- -- --...
27,322
ada
22
FardaleM/metalang
out/euler32.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 euler32 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.S...
27,323
ada
8
skade/bbqueue-spark
src/bbqueue-buffers-framed.ads
<reponame>skade/bbqueue-spark -- This unit is based on BBqueue.Buffers and uses markers in the buffer to -- track the size of each commited write grants. The size of consequent read -- grants will conrespond to the sizes of commited write grants. -- -- It can be used to handle variable lenght packets: -- -- Q ...
27,324
ada
2
stcarrez/hestia
src/hestia-network.ads
<reponame>stcarrez/hestia ----------------------------------------------------------------------- -- hestia-network -- Hestia Network Manager -- Copyright (C) 2016, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
27,325
ada
2
egustafson/sandbox
Ada/DataStructures/Containers/generic_queue.ads
<filename>Ada/DataStructures/Containers/generic_queue.ads generic type Element_Type is private; package Generic_Queue is type T is limited private; procedure Enqueue( Queue: in out T; Element: in Element_Type ); procedure Dequeue( Queue: in out T; Element: out Element_Type ); procedure Peek ( Queue...
27,326
ada
33
ytomino/drake
source/machine-w64-mingw32/s-stomap.ads
<gh_stars>10-100 pragma License (Unrestricted); -- runtime unit specialized for Windows with C.windef; package System.Storage_Map is pragma Preelaborate; function Load_Address return Address; -- module handle of "NTDLL.DLL" function NTDLL return C.windef.HMODULE; Growing_Down_Is_Preferred : constant...
27,327
ada
33
ytomino/drake
source/numerics/a-ngrear.ads
pragma License (Unrestricted); generic type Real is digits <>; package Ada.Numerics.Generic_Real_Arrays is pragma Pure; -- Types type Real_Vector is array (Integer range <>) of Real'Base; for Real_Vector'Alignment use Standard'Maximum_Alignment; type Real_Matrix is array (Integer range <>, Integer ...
27,328
ada
1
lkujaw/ada-blake2
common/blake2s.ads
----------------------------------------------------------------------- -- Copyright 2021 <NAME> -- -- -- -- Permission is hereby granted, free of charge, to any person -- -- obtaining a copy of this software ...
27,329
ada
80
thindil/steamsky
tests/messages-test_data-tests-messages_container.ads
<reponame>thindil/steamsky package Messages.Test_Data.Tests.Messages_Container is end Messages.Test_Data.Tests.Messages_Container;
27,330
ada
286
auzkok/libagar
ada/core/demo/animal.ads
<reponame>auzkok/libagar<gh_stars>100-1000 with Agar; with Agar.Object; with Agar.Data_Source; with System.Address_To_Access_Conversions; with Interfaces.C; -- -- Example of an Agar object class called "Animal". -- package Animal is package OBJ renames Agar.Object; package DS renames Agar.Data_Source; package...
27,331
ada
59
ivanhawkes/Chrysalis
assets/chrysalis/objects/containers/chest/wooden_chest/wooden_chest.adb
<gh_stars>10-100 <AnimDB FragDef="chrysalis/objects/containers/chest/wooden_chest/fragment_ids.xml" TagDef="chrysalis/objects/containers/chest/wooden_chest/tags.xml"> <FragmentList> <Closed> <Fragment BlendOutDuration="0.2" Tags=""/> </Closed> <Open> <Fragment BlendOutDuration="0.2" Tags=""/> </Open> <...
27,332
ada
0
JCGobbi/Nucleo-STM32H743ZI
SVD2ada/svd/stm32_svd-flash.ads
<reponame>JCGobbi/Nucleo-STM32H743ZI pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.Flash is pragma Preelaborate; --------------- -- Registers -- --------------- subtyp...
27,333
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization18.ads
<gh_stars>1-10 with Loop_Optimization18_Pkg; use Loop_Optimization18_Pkg; package Loop_Optimization18 is procedure Proc (Message : Byte_Array_Type); end Loop_Optimization18;
27,334
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/access_discr.adb
-- { dg-do compile } procedure access_discr is type One; type Iface is limited interface; type Base is tagged limited null record; type Two_Alone (Parent : access One) is limited null record; type Two_Iface (Parent : access One) is limited new Iface with null record; type Two_Base (Paren...
27,335
ada
52
onox/orka
tests/src/test_transforms_singles_quaternions.adb
<filename>tests/src/test_transforms_singles_quaternions.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 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 Licens...
27,336
ada
22
FardaleM/metalang
out/aaa_08tuple.adb
<reponame>FardaleM/metalang 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 aaa_08tuple is type stringptr is access all char_array; procedure PString(s : stringptr) is begi...
27,337
ada
1
LaudateCorpus1/RosettaCodeData
Task/Element-wise-operations/Ada/element-wise-operations-2.ada
generic type Rows is (<>); type Cols is (<>); type Num is private; package Matrix_Scalar is type Matrix is array(Rows, Cols) of Num; generic with function F(L, R: Num) return Num; function Func(Left: Matrix; Right: Num) return Matrix; generic with function Image(N: Num) return String;...
27,338
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204f.ada
<reponame>best08618/asylo -- C43204F.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...
27,339
ada
81
fuzzysloth/ada-awa
awa/plugins/awa-settings/regtests/awa-settings-modules-tests.ads
----------------------------------------------------------------------- -- awa-settings-modules-tests -- Unit tests for settings module -- Copyright (C) 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...
27,340
ada
24
svn2github/matreshka
source/web/spikedog/daemon/service/services.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,341
ada
0
faelys/natools
tests/natools-s_expressions-printers-pretty-config-tests.ads
------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
27,342
ada
0
optikos/oasis
source/oasis/program-element_iterators-internal.adb
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Pragmas; with Program.Elements.Defining_Names; with Program.Elements.Defining_Identifiers; with Program.E...
27,343
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_variable_bounds_q.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_variable_bounds_q.ads package pointer_variable_bounds_q is type A_SIZE_TYPE is new INTEGER range 0 .. 65536; function A_MAX_COMPS return A_SIZE_TYPE; end pointer_variable_bounds_q;
27,344
ada
0
vivianjia123/Password-Manager
Assignment/mycommandline.adb
with Ada.Command_Line; package body MyCommandLine is -- note we do not want SPARK to analyse this implementation since -- Ada.Command_Line is not able to be handled by the SPARK Prover function Command_Name return String is begin return Ada.Command_Line.Command_Name; end Command_Name; functio...
27,345
ada
0
Tim-Tom/project-euler
Ada/src/heap.adb
with Ada.Containers; use Ada.Containers; package body Heap is subtype index is Underlying_Vector.Extended_Index; procedure Insert(hp : in out Heap; element : in Element_Type) is begin hp.vector.Append(element); declare current_loc : index := hp.vector.Last_Index;...
27,346
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnatcmd.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,347
ada
0
Letractively/ada-el
regtests/el-expressions-tests.adb
----------------------------------------------------------------------- -- EL testsuite - EL Testsuite -- Copyright (C) 2009, 2010, 2011, 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...
27,348
ada
1
KipodAfterFree/KAF-2019-FireHog
firehog/ncurses/Ada95/ada_include/terminal_interface-curses-panels.adb
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
27,349
ada
1
LaudateCorpus1/RosettaCodeData
Task/Parallel-calculations/Ada/parallel-calculations-1.ada
<gh_stars>1-10 generic type Number is private; Zero : Number; One : Number; Two : Number; with function Image (X : Number) return String is <>; with function "+" (X, Y : Number) return Number is <>; with function "/" (X, Y : Number) return Number is <>; with function "mod" (X, Y : Number) ...
27,350
ada
0
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/uninit_array.adb
-- { dg-do compile } -- { dg-options "-gnatws" } with Uninit_Array_Pkg; use Uninit_Array_Pkg; package body Uninit_Array is function F1 return Integer; pragma Inline_Always (F1); function F1 return Integer is Var : Arr; begin return F (Var(Var'First(1))); end; function F2 return ...
27,351
ada
33
ytomino/drake
source/environment/machine-apple-darwin/s-envblo.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit specialized for Darwin with C; function System.Environment_Block return C.char_ptr_ptr; pragma Preelaborate (System.Environment_Block); pragma Inline (System.Environment_Block);
27,352
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile12.adb
<reponame>best08618/asylo -- { dg-do compile } package body Volatile12 is procedure Proc (A : Arr) is begin null; end; end Volatile12;
27,353
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f1/stm32f103xx/svd/stm32_svd-ethernet.ads
<gh_stars>1-10 -- This spec has been automatically generated from STM32F103.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.ETHERNET is pragma Preelaborate; --------------- -- Registers -- --------------- subtype DMABMR_SR_Fi...
27,354
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/back_end.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
27,355
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect9.ads
<reponame>best08618/asylo with Vect9_Pkg; use Vect9_Pkg; package Vect9 is type Rec is record Data : Vector_Access; end record; procedure Proc (This : in Rec; CV : in Unit_Vector; Data : in out Unit_Vector); end Vect9;
27,356
ada
0
JCGobbi/Nucleo-STM32G474RE
ADL/drivers/stm32g474/stm32-cordic-interrupts.adb
with STM32.Device; package body STM32.CORDIC.Interrupts is ------------------------------- -- Calculate_CORDIC_Function -- ------------------------------- procedure Calculate_CORDIC_Function (This : in out CORDIC_Coprocessor; Argument : UInt32_Array; Result : out UInt32_Array) i...
27,357
ada
0
balintsoos/LearnAda
bead/bead1/spec.adb
with J_String_Pkg, Text_IO, Ada.Integer_Text_IO; use J_String_Pkg, Text_IO, Ada.Integer_Text_IO; procedure spec is Str : String := "test"; Js : J_String := Create(Str); Js1 : J_String := Create("test"); Js2 : J_String := Create("tes"); numberOfTests : Natural := 46; numberOfpassedTests : Natural := 0; ...
27,358
ada
1
Fabien-Chouteau/samd51-hal
src/devices/SAMD51/ATSAMD51J20A/sam-main_clock.adb
-- Generated by a script from an "avr tools device file" (atdf) with HAL; use HAL; with System; package body SAM.Main_Clock is Base_Address : constant := 16#40000800#; AHBMASK : UInt32 with Volatile, Address => System'To_Address (Base_Address + 16#10#); APBAMASK : UInt32 with Volatile, ...
27,359
ada
1
LaudateCorpus1/RosettaCodeData
Task/Queue-Usage/Ada/queue-usage.ada
<reponame>LaudateCorpus1/RosettaCodeData with FIFO; with Ada.Text_Io; use Ada.Text_Io; procedure Queue_Test is package Int_FIFO is new FIFO (Integer); use Int_FIFO; Queue : FIFO_Type; Value : Integer; begin Push (Queue, 1); Push (Queue, 2); Push (Queue, 3); Pop (Queue, Value); Pop (Queue, Va...
27,360
ada
192
rocher/Ada_Drivers_Library
components/src/io_expander/stmpe1600/stmpe1600.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, AdaCore -- -- -- -- ...
27,361
ada
33
ytomino/drake
source/image/required/s-valint.ads
pragma License (Unrestricted); -- implementation unit required by compiler package System.Val_Int is pragma Pure; -- required for Integer'Value by compiler (s-valint.ads) function Value_Integer (Str : String) return Integer; end System.Val_Int;
27,362
ada
19
jquorning/ada-security
src/security-auth-oauth-googleplus.adb
<reponame>jquorning/ada-security<filename>src/security-auth-oauth-googleplus.adb ----------------------------------------------------------------------- -- security-auth-oauth-googleplus -- Google+ OAuth based authentication -- Copyright (C) 2013, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the ...
27,363
ada
3
jwarwick/aoc_2020
day09/src/main.adb
-- AOC 2020, Day 1 with Ada.Text_IO; use Ada.Text_IO; with Day; use Day; procedure main is v : constant XMAS_Vector.Vector := load_file("input.txt"); invalid : constant Long_Integer := first_invalid(v, 25); contig : constant Long_Integer := find_sum(v, invalid); begin put_line("Part 1: " & Long_Integer'Image(i...
27,364
ada
15
My-Colaborations/dynamo
src/gnat/repinfo.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,365
ada
2
charlie5/cBound
tier-1/fann/source/thin/fann_c-fann_neuron.ads
<gh_stars>1-10 -- This file is generated by SWIG. Please do *not* modify by hand. -- with interfaces.c; with interfaces.C; package fann_c.fann_neuron is -- Item -- type Item is record first_con : aliased interfaces.c.unsigned; last_con : aliased interfaces.c.unsigned; sum :...
27,366
ada
0
Letractively/ada-asf
src/asf-navigations.ads
----------------------------------------------------------------------- -- asf-navigations -- Navigations -- Copyright (C) 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the Li...
27,367
ada
5
docandrew/troodon
include/sys_types_h.ads
<reponame>docandrew/troodon<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_h; package sys_types_h is -- Copyright (C) 1991-2021 Free Software Foundation, Inc. -- This file is part of the GNU C Library. -- The GNU C Library is free software; yo...
27,368
ada
2
egustafson/sandbox
Ada/DataStructures/List/int_list.adb
<reponame>egustafson/sandbox<filename>Ada/DataStructures/List/int_list.adb with Generic_List; procedure Int_List is Number : Integer; begin for I in 1 .. 100000000 loop Number := I; end loop; end Int_List;
27,369
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-cconst.ads
<reponame>brucegua/moocos<gh_stars>1-10 ----------------------------------------------------------------------------- -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- ...
27,370
ada
4
faelys/gela-asis
source/asis/spec/annex_d/ada-dynamic_priorities.ads
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
27,371
ada
0
stevancorre/advent-of-code-2021
day-01/solve.ads
with Ada.Text_IO; use Ada.Text_IO; with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Solve is function Get_Line_Integer (File : File_Type) return Integer; end Solve;
27,372
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/mdllfile.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
27,373
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/loop_optimization1_pkg.adb
package body Loop_Optimization1_Pkg is type Unconstrained_Array_Type is array (Index_Type range <>) of Element_Type; procedure Local (UA : in out Unconstrained_Array_Type) is begin null; end; procedure Proc (CA : in out Constrained_Array_Type) is begin Local (Unconstrained_Array_Type (CA)); ...
27,374
ada
0
xeenta/learning-ada
src/002/separated.adb
package body Separated is procedure Watch_Me is separate; function Look_Out return Float is (5.0); end Separated;
27,375
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-cmof-packages.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,376
ada
33
persan/zeromq-Ada
tests/testcases/zmq-tests-testcases.ads
package ZMQ.Tests.TestCases is pragma Preelaborate; end ZMQ.Tests.TestCases;
27,377
ada
1
Blady-Com/Gate3
tutorial/src/window1_callbacks.ads
<filename>tutorial/src/window1_callbacks.ads ----------------------------------------------------------------------------- -- Legal licensing note : !!! Edit the file gate3_license.txt !!! -- -- Copyright (c) <NAME> - 2013 -- Berry -- FRANCE -- Send bug reports or feedback to : <EMAIL> -- -- THE SOFTWARE IS PROVI...
27,378
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-osinte-hpux-dce.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
27,379
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/derived_type4.adb
<gh_stars>1-10 -- { dg-do compile } procedure Derived_Type4 is type Root (D : Positive) is record S : String (1 .. D); end record; subtype Short is Positive range 1 .. 10; type Derived (N : Short := 1) is new Root (D => N); Obj : Derived; begin Obj := (N => 5, S => "Hello"); end;
27,380
ada
0
zackboll/interfaces.cpp
src/interfaces_cpp.strings.adb
<reponame>zackboll/interfaces.cpp -- BSD 2-Clause License -- -- Copyright (c) 2017, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain th...
27,381
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-decision_nodes-collections.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,382
ada
3
charlie5/aIDE
source/adam-context_line.adb
<gh_stars>1-10 with AdaM.Factory, AdaM.Declaration.of_package; package body AdaM.context_Line is -- Storage Pool -- record_Version : constant := 1; max_context_Lines : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", ...
27,383
ada
1
BaderKashkash/Ada_Drivers_Library
boards/MicroBit_v2/src/microbit-buttons.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, AdaCore -- -- -- -- ...
27,384
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/scans.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,385
ada
1
ShiroixD/pag_zad_2
thirdparty/glut/progs/ada/ada_sphere_procs.ads
with GL; use GL; with Glut; use Glut; package ada_sphere_procs is procedure display; procedure reshape (w : Integer; h : Integer); procedure menu (value : Integer); procedure init; end ada_sphere_procs;
27,386
ada
0
optikos/oasis
source/nodes/program-nodes-protected_body_stubs.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Protected_Body_Stubs is function Create (Protected_Token : not null Program.Lexical_Elements .Lexical_Eleme...
27,387
ada
24
svn2github/matreshka
source/sql/sqlite3/matreshka-internals-sql_drivers-sqlite3-databases.adb
<filename>source/sql/sqlite3/matreshka-internals-sql_drivers-sqlite3-databases.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- ...
27,388
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-arit32.ads
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
27,389
ada
0
JJFReibel/ObjectOrientedAda
car.adb
<filename>car.adb -- 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 restriction, including without limitation the rights -- to use, copy...
27,390
ada
12
jquorning/ada-asf
src/asf-converters-dates.adb
----------------------------------------------------------------------- -- asf-converters-dates -- Date Converters -- Copyright (C) 2011, 2012, 2013, 2014, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complia...
27,391
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/g-thread.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
27,392
ada
0
My-Colaborations/ada-ado
src/ado-sessions-entities.adb
<reponame>My-Colaborations/ada-ado<gh_stars>0 ----------------------------------------------------------------------- -- ado-sessions-entities -- Find entity types -- Copyright (C) 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
27,393
ada
0
My-Colaborations/ada-keystore
tools/fuse/akt-commands-mount.adb
<filename>tools/fuse/akt-commands-mount.adb ----------------------------------------------------------------------- -- akt-commands-mount -- Mount the keystore on the filesystem for direct access -- Copyright (C) 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (...
27,394
ada
2
ficorax/PortAudioAda
examples/GA_Sine/src/ga_sine_globals.adb
<reponame>ficorax/PortAudioAda package body GA_Sine_Globals is -------------------- -- Toggle_Options -- -------------------- procedure Toggle_Options (started : Boolean) is begin for i in Enum_Options loop declare option : Option_Use renames options (i).optionUse; ...
27,395
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_60.ads
<filename>Ada/inc/Problem_60.ads package Problem_60 is procedure Solve; end Problem_60;
27,396
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-catizo.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
27,397
ada
30
jrmarino/AdaBase
testcases/driver_connections/sqlite/connect.ads
-- Used for all testcases for SQLite driver with AdaBase.Driver.Base.SQLite; with AdaBase.Statement.Base.SQLite; package Connect is -- All specific drivers renamed to "Database_Driver" subtype Database_Driver is AdaBase.Driver.Base.SQLite.SQLite_Driver; subtype Stmt_Type is AdaBase.Statement.Base.SQLite.S...
27,398
ada
3
charlie5/aIDE
attic/asis/find_entities/adam-assist-query-find_entities-driver.adb
with Ada.Exceptions; with Ada.Wide_Text_IO; with Ada.Characters.Handling; with Asis; with Asis.Ada_Environments; with Asis.Implementation; with Asis.Exceptions; with Asis.Errors; with AdaM.Assist.Query.find_Entities.context_Processing; procedure AdaM.Assist.Query.find_Entities.Driver is My_Context : A...
27,399
ada
0
cocolab8/cocktail
reuse/ada/source.adb
<reponame>cocolab8/cocktail -- $Id: Source.mi,v 1.6 1993/08/18 17:28:53 grosch rel $ with System; Use System; package body Source is function BeginSource (FileName: String) return Integer is function OpenInput (FileName: Address) return Integer; pragma Interface (C, OpenInput); pragma Interface_Nam...