id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
8,700
ada
13
Fabien-Chouteau/GESTE
src/geste-sprite.ads
------------------------------------------------------------------------------ -- -- -- GESTE -- -- -- -- ...
8,701
ada
6
gerr135/ada_gems
separation/src/test_separation.adb
<filename>separation/src/test_separation.adb -- -- Test unit for this demo. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more deta...
8,702
ada
1
egilhh/Futures-in-Ada
src/futures.adb
--with Ada.Dispatching; with Ada.Exceptions; with Ada.Text_IO; with Ada.Unchecked_Deallocation; package body Futures is function Create (Callback : Callback_Function) return Object is begin return Self : Object := Object' (Callback => Callback, others => <>); end Create;...
8,703
ada
1
mbirabhadra/RosettaCodeData
Task/Modular-inverse/Ada/modular-inverse.ada
<gh_stars>1-10 with Ada.Text_IO;use Ada.Text_IO; procedure modular_inverse is -- inv_mod calculates the inverse of a mod n. We should have n>0 and, at the end, the contract is a*Result=1 mod n -- If this is false then we raise an exception (don't forget the -gnata option when you compile function inv_mod (a : Int...
8,704
ada
1
LaudateCorpus1/RosettaCodeData
Task/Dining-philosophers/Ada/dining-philosophers-1.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random; with Ada.Text_IO; use Ada.Text_IO; with Synchronization.Generic_Mutexes_Array; procedure Test_Dining_Philosophers is type Philosopher is (Aristotle, Kant, Spinoza, Marx, Russel); package Fork_...
8,705
ada
0
fuzzysloth/ada-awa
awa/src/model/awa-users-models.adb
----------------------------------------------------------------------- -- AWA.Users.Models -- AWA.Users.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen.go...
8,706
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization12.adb
<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-O2" } package body Loop_Optimization12 is procedure Reset (S : Rec_Ptr) is begin for I in Enum1 loop S.F (I).all := (others => (others => (others => (others => ...
8,707
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-tadert.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
8,708
ada
1
LaudateCorpus1/RosettaCodeData
Task/Nth-root/Ada/nth-root.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Test_Nth_Root is generic type Real is digits <>; function Nth_Root (Value : Real; N : Positive) return Real; function Nth_Root (Value : Real; N : Positive) return Real is type Index is mod 2; X : array (Index) of Real := (Value, Value); K ...
8,709
ada
33
ytomino/drake
source/a-refstr.ads
pragma License (Unrestricted); -- extended unit package Ada.References.Strings is -- Returning access values to sliced String from functions. pragma Pure; type Constant_Reference_Type ( Element : not null access constant String) is null record with Implicit_Dereference => Element; pragma Supp...
8,710
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/5wintman.adb
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
8,711
ada
0
xeenta/learning-ada
src/002/test_children.adb
<filename>src/002/test_children.adb with Father.Son; with Ada.Text_IO; use Ada.Text_IO; procedure Test_Children is A : Father.Son.Son_Type := 5; -- you can make it constant B : Father.Father_Type := 100; -- idem C : constant Father.Son.Sonic_Type := 20; R : Integer; --use type Father.Son.Son_Type; u...
8,712
ada
20
charlie5/lace
3-mid/opengl/source/lean/geometry/lit_colored/opengl-program-lit_colored.adb
<reponame>charlie5/lace with ada.Strings.fixed; package body openGL.Program.lit_colored is overriding procedure set_Uniforms (Self : in Item) is the_inverse_modelview_matrix_Uniform : constant Variable.uniform.mat3 := Self.uniform_Variable ("inv_modelview_Matrix"); the_scale_Uniform ...
8,713
ada
33
ytomino/drake
source/numerics/generic/a-nudsge.adb
<filename>source/numerics/generic/a-nudsge.adb package body Ada.Numerics.dSFMT.Generating is -- no SIMD version use type Interfaces.Unsigned_64; procedure do_recursion ( r : aliased out w128_t; a, b : aliased w128_t; lung : aliased in out w128_t) is t0, t1, L0, L1 : Unsigned_64; ...
8,714
ada
6
jonashaggstrom/ada-canopen
tests/remote_node_test.adb
with AUnit.Assertions; use AUnit.Assertions; with Ada.Real_Time; with ACO.Drivers.Dummy; with ACO.CANopen; with ACO.Nodes.Locals; with ACO.Nodes.Remotes; with ACO.OD.Example; with ACO.OD_Types; with ACO.OD_Types.Entries; with ACO.Messages; with ACO.States; with ACO.SDO_Sessions; with ACO.Configuration; package body ...
8,715
ada
0
xuedong/mini-ada
tests/exec/rec1.adb
<reponame>xuedong/mini-ada with Ada.Text_IO; use Ada.Text_IO; procedure Test_a is procedure R(N: Integer) is begin if N = 0 then return; end if; Put('a'); R(N - 1); end; begin R(42); New_Line; end TEST_a;
8,716
ada
0
xiashuangxi/coconut
src/account-default_account.ads
<reponame>xiashuangxi/coconut<gh_stars>0 with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Account.Default_Account is type Instance is tagged private; type Instance_Ref is access Instance; procedure Set_Name(Item: in out Instance; N: in String); function Name(Item:...
8,717
ada
60
RREE/ada-util
src/base/properties/util-properties-bundles.ads
<filename>src/base/properties/util-properties-bundles.ads ----------------------------------------------------------------------- -- util-properties-bundles -- Generic name/value property management -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -...
8,718
ada
192
rocher/Ada_Drivers_Library
arch/ARM/STM32/driver_demos/demo_usart_interrupts/src/serial_port.ads
<reponame>rocher/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- ...
8,719
ada
2
SMerrony/LoadA
aosvs_dump.ads
<filename>aosvs_dump.ads -- Copyright 2021 S.Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy of this software -- and associated documentation files (the "Software"), to deal in the Software without restriction, -- including without limitation the rights to use, copy, modify, mer...
8,720
ada
0
reznikmm/gela
source/nodes/program-nodes-select_paths.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Element_Vectors; with Program.Elements.Select_Paths; with Program.Element_Visitors; package...
8,721
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/prompts/180_polymorphism/main.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Main is -- Create an object for Rectangle, Square, Triangle -- Create a subprogram that will take anything derived from Shape -- and print information about the object -- procedure Describe (Shape : ? ) is -- begin -- null; -- end Describe; beg...
8,722
ada
0
iyan22/AprendeAda
ejercicios4/calcular_max_pico_de_lluvia.adb
with lluvia;use lluvia; procedure calcular_max_pico_de_lluvia (Lluvia : in T_Lluvias_por_Pais ; Pais_Max: out T_Pais; Mes_Max : out T_Mes) is Cant_Max : T_Cantidad; begin Cant_Max := 0; for I in T_Pais'First .. T_Pais'Last loop -- Lluvia es referente al Pais for J in T_Mes'First .. T_Mes'Last loop -- Lluvia(...
8,723
ada
25
thierr26/ada-keystore
src/keystore-tools.adb
<reponame>thierr26/ada-keystore ----------------------------------------------------------------------- -- keystore-tools -- Tools for the keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
8,724
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with3.adb
-- { dg-do compile } with Limited_With3_Pkg3; package body Limited_With3 is procedure Dummy is begin null; end; end Limited_With3;
8,725
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/culler/globe_3d-culler.ads
pragma Warnings (Off); pragma Style_Checks (Off); package GLOBE_3D.Culler is type Culler is abstract tagged limited private; type p_Culler is access all Culler'Class; procedure add (Self : in out Culler; the_Visual : in globe_3d.p_Visual) is abstract; procedure rid (Self : in out Culler; the_Vis...
8,726
ada
4
davidkristola/vole
kv-avm-asm_tests.adb
<filename>kv-avm-asm_tests.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Streams; with Ada.Streams.Stream_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Interfaces; use Interfaces; with AUnit.Assertions; use AUnit.Assertions; with kv.avm.references; use kv.avm.references; with kv.avm.Memories; with...
8,727
ada
1
mokafiht/u2f_key_SDCC
src/test.adb
M:test S:Ltest.aligned_alloc$size$1$26({2}SI:U),B,1,-4 S:Ltest.aligned_alloc$alignment$1$26({2}SI:U),B,1,1
8,728
ada
0
gonma95/RealTimeSystem_CarDistrations
state.ads
<gh_stars>0 -- <NAME> -- <NAME> with Priorities; use Priorities; with devices; use devices; with Ada.Interrupts.Names; with System; use System; package State is task Display is pragma Priority (Display_Priority); end Display; task Risks is pragma Priority (Risk_Priority); end Risks; ...
8,729
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-rttiev.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
8,730
ada
33
ytomino/drake
source/calendar/machine-w64-mingw32/s-nareti.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit specialized for Windows with C.winnt; package System.Native_Real_Time is subtype Native_Time is C.winnt.LONGLONG; function To_Native_Time (T : Duration) return Native_Time; function To_Duration (T : Native_Time) return Duration; ...
8,731
ada
0
Fabien-Chouteau/ASFML
include/sf-graphics-sprite.ads
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising from the use of this...
8,732
ada
1
danva994/ASFML-1.6
include/sf-network-ipaddress.adb
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held liable for any damages a...
8,733
ada
1
BrentSeidel/BBS-Ada
src-raven/bbs-units.adb
-- -- This is free and unencumbered software released into the public domain. -- -- Anyone is free to copy, modify, publish, use, compile, sell, or -- distribute this software, either in source code form or as a compiled -- binary, for any purpose, commercial or non-commercial, and by any -- means. -- -- In jurisdictio...
8,734
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-response-ike-cc_reset-convert.ads
with Ada.Unchecked_Conversion; package Tkmrpc.Response.Ike.Cc_Reset.Convert is function To_Response is new Ada.Unchecked_Conversion ( Source => Cc_Reset.Response_Type, Target => Response.Data_Type); function From_Response is new Ada.Unchecked_Conversion ( Source => Response.Data_Type, T...
8,735
ada
1
selroc/Renaissance-Ada
src/libraries/Rejuvenation_Lib/tests/test_rejuvenation_lib.adb
<reponame>selroc/Renaissance-Ada with AUnit.Reporter.Text; with AUnit.Run; with Rejuvenation_Lib_Suite; use Rejuvenation_Lib_Suite; procedure Test_Rejuvenation_Lib is procedure Runner is new AUnit.Run.Test_Runner (Suite); Reporter : AUnit.Reporter.Text.Text_Reporter; begin Runner (Reporter); end Test_Rejuvena...
8,736
ada
33
ytomino/drake
source/s-usalde.ads
pragma License (Unrestricted); -- implementation unit package System.Unbounded_Stack_Allocators.Debug is pragma Preelaborate; -- dump the secondary stack of current task procedure Dump (Allocator : aliased in out Allocator_Type); end System.Unbounded_Stack_Allocators.Debug;
8,737
ada
0
strenkml/EE368
memsim-master/src/memory-register.adb
<gh_stars>0 with Device; with Memory.Split; use Memory.Split; with Memory.Join; use Memory.Join; with Memory.Transform; use Memory.Transform; package body Memory.Register is -- Locate the position at which to insert a register and insert it. function Insert_Register(mem : Memory_Pointer) return Boo...
8,738
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbin.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbin.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
8,739
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with2_pkg2.ads
<reponame>best08618/asylo<gh_stars>1-10 with Limited_With2; package Limited_With2_Pkg2 is type Rec3 is record F : Limited_With2.Rec1; end record; end Limited_With2_Pkg2;
8,740
ada
1
michalkonecny/polypaver
tools/SPARK2005/examples/erfRiemann/riemann.adb
<filename>tools/SPARK2005/examples/erfRiemann/riemann.adb with PP_F_Elementary; package body Riemann is function erf_Riemann(x : Float; n : Integer) return Float is partitionSize : Integer; stepSize : Float; stepStart : Float; valueStart : Float; result : Float; step : Intege...
8,741
ada
52
onox/orka
orka_transforms/src/orka-integrators.adb
<filename>orka_transforms/src/orka-integrators.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -...
8,742
ada
0
joewing/arbitrary
arbitrary-const.adb
<filename>arbitrary-const.adb -------------------------------------------------------------------------- -- Arbitrary Precision Math Library: Constants -- <NAME> 20020320 <> 20020327 -------------------------------------------------------------------------- with Arbitrary.Trig; use Arbitrary.Trig; package body Arbitr...
8,743
ada
2
SMerrony/dgemua
processor/processor-eagle_op_p.adb
-- MIT License -- Copyright (c) 2021 <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, modify, merge, p...
8,744
ada
1
io7m/coreland-symbex
symbex.ads
package Symbex is pragma Pure (Symbex); end Symbex;
8,745
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with3.ads
with Limited_With3_Pkg1; with Limited_With3_Pkg2; limited with Limited_With3_Pkg3; package Limited_With3 is procedure Dummy; type T is tagged private; private package My_Q is new Limited_With3_Pkg1 (Limited_With3_Pkg2.T); type T is tagged null record; end Limited_With3;
8,746
ada
1
LaudateCorpus1/RosettaCodeData
Task/String-interpolation--included-/Ada/string-interpolation--included--1.ada
with Ada.Strings.Fixed, Ada.Text_IO; use Ada.Strings, Ada.Text_IO; procedure String_Replace is Original : constant String := "Mary had a @__@ lamb."; Tbr : constant String := "@__@"; New_Str : constant String := "little"; Index : Natural := Fixed.Index (Original, Tbr); begin Put_Line (Fixed.Replace_Slic...
8,747
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sorting-algorithms-Pancake-sort/Ada/sorting-algorithms-pancake-sort.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO; procedure Pancake_Sort is generic type Element_Type is private; type Index_Type is range <>; type Array_Type is array (Index_Type range <>) of Element_Type; with function ">" (Left, Right : Element_Type) return Boolean is <>; proce...
8,748
ada
34
sergev/vak-opensource
languages/dynlink/stream.ads
with System; package Stream is type Unsigned is mod 2 ** Integer'Size; type Stream is interface; procedure Put_String (S : Stream; Val : String) is abstract; procedure Put_Integer (S : Stream; Val : Integer; Width : Integer := 0; Base : Integer := 10) is abstract; procedure Put_Unsigned (S ...
8,749
ada
1
LaudateCorpus1/RosettaCodeData
Task/Permutations-Derangements/Ada/permutations-derangements.ada
<filename>Task/Permutations-Derangements/Ada/permutations-derangements.ada with Ada.Text_IO; use Ada.Text_IO; procedure DePermute is type U64 is mod 2**64; type Num is range 0 .. 20; type NumList is array (Natural range <>) of Num; type PtNumList is access all NumList; package IO is new Ada.Text_IO.Integ...
8,750
ada
2
morbos/Ada_Drivers_Library
boards/lpc55s69_evk_s/src/nxp-board.ads
with NXP.Device; use NXP.Device; with NXP.GPIO; use NXP.GPIO; package NXP.Board is pragma Elaborate_Body; subtype User_LED is GPIO_Point; Red_LED : User_LED renames P1_6; Green_LED : User_LED renames P1_7; Blue_LED : User_LED renames P1_4; LEDs : GPIO_Points := Red_LED & Gree...
8,751
ada
1
annexi-strayline/ASAP-JSON
json-unbounded_codecs.ads
<filename>json-unbounded_codecs.ads ------------------------------------------------------------------------------ -- -- -- JSON Parser/Constructor -- -- ...
8,752
ada
0
theurt/PageRank
sources/test_conversion_type.adb
<gh_stars>0 -- Ce module permet de tester le module conversion_type.adb with Conversion_Type; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; procedure test_Conversion_Type is package conversion_float is new Conversion_Type(T_Element => float); use conversion_float; ...
8,753
ada
25
My-Colaborations/ada-keystore
regtests/keystore-coverage.adb
<filename>regtests/keystore-coverage.adb ----------------------------------------------------------------------- -- keystore-io-tests -- Tests for keystore IO -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
8,754
ada
0
glencornell/ada-object-framework
src/aof-core-abstract_properties.ads
<reponame>glencornell/ada-object-framework -- Copyright (C) 2020 <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 3 of the -- License, or (at your opt...
8,755
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr9_pkg.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr9_pkg.ads package Aggr9_Pkg is type Byte is range 0 .. 255; type R1 is record A,B : Byte; end record; type R2 is record F : R1; end record; procedure Send (M : R2); end Aggr9_Pkg;
8,756
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2111f.ada
-- CE2111F.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
8,757
ada
0
SSOCsoft/Log_Reporter
src/nso-types-report_objects-weather_report.adb
With NSO.Helpers, Ada.Strings.Fixed, Ada.Calendar.Formatting, Ada.Characters.Latin_1, Ada.Tags, Gnoga.Types.Colors, Gnoga.Gui.View, Ada.Text_IO ; WITH Ada.Tags, Ada.Text_IO; with Gnoga.Gui.Base; Package Body NSO.Types.Report_Objects.Weather_Report is Use NSO.Helpers; DEBUGGING : Constant Boolean := Fals...
8,758
ada
15
My-Colaborations/dynamo
src/asis/a4g-u_conv.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
8,759
ada
0
fintatarta/fakedsp
Ada/src/fakelib/utilities.ads
-- -- Many consider a "Utilities" package bad style and maybe it is true. -- However, often you need some "odds and ends" stuff that is not -- strictly related to the main code. -- package Utilities is -- Root package end Utilities;
8,760
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74208b.ada
<reponame>best08618/asylo -- C74208B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contai...
8,761
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/lib-writ.ads
<filename>tools-src/gnu/gcc/gcc/ada/lib-writ.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
8,762
ada
33
ytomino/drake
source/required/s-casi32.ads
pragma License (Unrestricted); -- implementation unit required by compiler with System.Packed_Arrays; package System.Compare_Array_Signed_32 is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). type Integer_32 is range -(2 ** 31) .. 2 ** 31 - 1; for Integer_3...
8,763
ada
24
svn2github/matreshka
source/xml/sax/xml-sax-simple_readers-callbacks.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
8,764
ada
0
sonneveld/adazmq
examples/src/rrbroker.adb
<filename>examples/src/rrbroker.adb -- Simple request-reply broker with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with Ada.Calendar; with ZMQ; procedure RRBroker is use type Ada.Calendar.Time; use type GNAT.Formatted_String.Formatted_String; function Main return Ada.Command_Line.Exi...
8,765
ada
0
faelys/natools
src/natools-string_escapes.adb
------------------------------------------------------------------------------ -- Copyright (c) 2016, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
8,766
ada
0
Brawdunoir/administrative-family-tree-manager
test_arbre_binaire.adb
with Arbre_Binaire; with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Test_Arbre_Binaire is -- On instancie le package. package arbre is new Arbre_Binaire (T_Cle => Integer); use arbre; -- Afficher des entiers (pour les clés). proce...
8,767
ada
0
balintsoos/LearnAda
gyak/gyak4/lnko.adb
function Lnko ( A, B : Positive ) return Positive is X: Positive := A; Y: Natural := B; Tmp: Natural; begin while Y /= 0 loop Tmp := X mod Y; X := Y; Y := Tmp; end loop; return X; end Lnko;
8,768
ada
0
Letractively/ada-asf
src/asf-views-nodes-jsf.ads
----------------------------------------------------------------------- -- views.nodes.jsf -- JSF Core Tag Library -- Copyright (C) 2010, 2011, 2012, 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 complia...
8,769
ada
0
Letractively/ada-security
src/security-permissions.ads
<gh_stars>0 ----------------------------------------------------------------------- -- security-permissions -- Definition of permissions -- Copyright (C) 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except ...
8,770
ada
0
fintatarta/eugen
src/Projects/eu_projects-projects-housekeeping.ads
with EU_Projects.Times.Time_Expressions.Solving; private package EU_Projects.Projects.Housekeeping is procedure Link_Milestone_To_Deliverable (Project : in out Project_Descriptor); procedure Check_Node_Table (Project : in out Project_Descriptor); function Collect_Equations (Project : Project_Descriptor) ...
8,771
ada
1
LaudateCorpus1/RosettaCodeData
Task/Time-a-function/Ada/time-a-function.ada
with Ada.Calendar; use Ada.Calendar; with Ada.Text_Io; use Ada.Text_Io; procedure Query_Performance is type Proc_Access is access procedure(X : in out Integer); function Time_It(Action : Proc_Access; Arg : Integer) return Duration is Start_Time : Time := Clock; Finis_Time : Time; Func_Arg : Int...
8,772
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32wb55x/stm32_svd-tim2.ads
<filename>arch/ARM/STM32/svd/stm32wb55x/stm32_svd-tim2.ads<gh_stars>1-10 -- This spec has been automatically generated from STM32WB55x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.TIM2 is pragma Preelaborate; -------------...
8,773
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-ztenio.ads
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/a-ztenio.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS ...
8,774
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-intman-vxworks.adb
<reponame>vidkidz/crossbridge<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
8,775
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-uml_control_flows.ads
<reponame>svn2github/matreshka<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
8,776
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/tree_static_use.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/tree_static_use.adb -- { dg-do run } -- { dg-options "-O1" } with TREE_STATIC_Def; use TREE_STATIC_Def; procedure TREE_STATIC_Use is I : Int := One; begin check (I, 1); end;
8,777
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/4wintnam.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
8,778
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstparamspecs_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; -- with GStreamer.GST_Low_Level.glib_2_0_gobject_gparam_h; with glib; with glib.Values; with System; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstparamspecs_h is -- unsupported macro: GST_...
8,779
ada
24
svn2github/matreshka
source/xml/templates/xml-sax-event_writers.ads
<reponame>svn2github/matreshka<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
8,780
ada
3
stcarrez/ada-stemmer
src/lang/stemmer-swedish.adb
<filename>src/lang/stemmer-swedish.adb -- Generated by Snowball 2.2.0 - https://snowballstem.org/ package body Stemmer.Swedish is pragma Style_Checks ("-mr"); pragma Warnings (Off, "*variable*is never read and never assigned*"); pragma Warnings (Off, "*mode could be*instead of*"); pragma Warnings (Off, "...
8,781
ada
33
ytomino/drake
examples/cntnr_array_sorting.adb
<filename>examples/cntnr_array_sorting.adb with Ada.Containers.Generic_Array_Access_Types; with Ada.Unchecked_Deallocation; procedure cntnr_array_sorting is type SA is access String; procedure Free is new Ada.Unchecked_Deallocation (String, SA); Data : SA := null; Comp_Count : Natural; Swap_Count : Natural; proce...
8,782
ada
0
thierr26/ada-keystore
src/keystore-passwords-files.adb
----------------------------------------------------------------------- -- keystore-passwords-files -- File based password provider -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wit...
8,783
ada
6
My-Colaborations/ada-servlet
src/servlet-core-rest.adb
<reponame>My-Colaborations/ada-servlet<filename>src/servlet-core-rest.adb ----------------------------------------------------------------------- -- servlet-servlets-rest -- REST servlet -- Copyright (C) 2016, 2017, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Vers...
8,784
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-internals-cmof_packages.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
8,785
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch11.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
8,786
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/components/MS5611/ms5611.ads
<reponame>TUM-EI-RCS/StratoX<gh_stars>10-100 -- Project: MART - Modular Airborne Real-Time Testbed -- System: Emergency Recovery System -- Authors: <NAME> (Original C-Code) -- <NAME> (<EMAIL>) (Ada Port) -- -- Module Description: -- @summary Top-level driver for the Barometer MS5611-01BA03 package MS5611 wit...
8,787
ada
0
optikos/oasis
source/nodes/program-element_vector_factories.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Nodes.Array_Component_Association_Vectors; with Program.Nodes.Aspect_Specification_Vectors; with Program.Nodes.Element_Vectors; with Progr...
8,788
ada
0
iyan22/AprendeAda
ejercicios2/esta_en_vector_ordenado.adb
<reponame>iyan22/AprendeAda with vectores; use vectores; function esta_en_vector_ordenado (n: in Integer; V: in Vector_De_Enteros) return Boolean is -- pre: V contiene al menos un elemento (V'Last >= 1) -- V esta ordenado ascendentemente: -- V(i) <= V(i+1), 1 <= i < V'last -- post: e...
8,789
ada
81
My-Colaborations/ada-awa
awa/awaunit/awa-tests-helpers.adb
<filename>awa/awaunit/awa-tests-helpers.adb ----------------------------------------------------------------------- -- awa-tests-helpers - Helpers for AWA unit tests -- Copyright (C) 2011, 2017, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); --...
8,790
ada
5
leo-brewin/ada-lapack
tests/tzgesvd.adb
with Ada.Text_IO; with Ada.Text_IO.Complex_IO; with Ada.Numerics.Generic_Real_Arrays; with Ada.Numerics.Generic_Complex_Types; with Ada.Numerics.Generic_Complex_Arrays; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Numerics.Generic_Complex_Elementary_Functions; with Ada_Lapack; use Ada.Text_IO; procedure ...
8,791
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr1.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr1.ads package discr1 is type R is (One, Two); type C_Type (Kind : R) is record case Kind is when One => Name : Integer; when Two => Designator : String (1 .. 40); end case; end record; for C_Type use reco...
8,792
ada
24
svn2github/matreshka
source/amf/dd/amf-dg-radial_gradients.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
8,793
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/ali-util.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
8,794
ada
20
HeisenbugLtd/spat
src/app/spat-version.ads
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the...
8,795
ada
0
optikos/oasis
source/nodes/program-nodes-array_aggregates.ads
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Array_Component_Associations; with Program.Elements.Array_Aggregates; with...
8,796
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindgen.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
8,797
ada
1
charlie5/lace-alire
4-high/gel/source/world/gel-world-client.adb
with gel.Events, physics.remote.Model, physics.Forge, openGL.remote_Model, openGL.Renderer.lean, lace.Response, lace.Event.utility, ada.unchecked_Deallocation, ada.Text_IO; package body gel.World.client is use linear_Algebra_3D, lace.Event.utility; proce...
8,798
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/model/opengl-model-hexagon-lit_colored_textured.ads
with openGL.Geometry, openGL.Texture; package openGL.Model.hexagon.lit_colored_textured -- -- Models a lit, colored and textured hexagon. -- is type Item is new Model.item with private; type View is access all Item'Class; type Face is record center_Color : lucid_Color; ...
8,799
ada
5
docandrew/troodon
include/bits_struct_stat_h.ads
<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_h; with bits_types_struct_timespec_h; package bits_struct_stat_h is -- unsupported macro: st_atime st_atim.tv_sec -- unsupported macro: st_mtime st_mtim.tv_sec -- unsupported macro: st_ctime st...