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
30,000
ada
24
svn2github/matreshka
source/xml/sax/xml-sax-input_sources-streams-files.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
30,001
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c9a009h.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c9a009h.ada -- C9A009H.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...
30,002
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-soa_parser.ads
-- Copyright 2019 <NAME> <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, copy, modify, merge, publish, ...
30,003
ada
2
ficorax/PortAudioAda
test/ctestc/src/ctestc_callbacks.adb
<filename>test/ctestc/src/ctestc_callbacks.adb with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; with Ada.Unchecked_Conversion; with Interfaces.C.Pointers; with System; with Ctestc_Types; use Ctestc_Types; package body Ctestc_Callbacks is package Float_Ptrs is new Interfaces.C....
30,004
ada
12
TUM-EI-RCS/StratoX
software/modules/sensors/barometer.adb
<gh_stars>10-100 with Units.Numerics; use Units.Numerics; with MS5611.Driver; use MS5611; package body Barometer with SPARK_Mode, Refined_State => (States_Beyond_Sensor_Template => null) is --overriding procedure initialize (Self : in out Barometer_Tag) is begin Driver.Init; Self.state := READY...
30,005
ada
0
optikos/oasis
source/nodes/program-nodes-function_body_stubs.adb
<filename>source/nodes/program-nodes-function_body_stubs.adb -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Function_Body_Stubs is function Create (Not_Token ...
30,006
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/layered_abstraction.ads
<reponame>best08618/asylo with Layered_Abstraction_P; generic with package P1 is new Layered_Abstraction_P(<>); with package P2 is new Layered_Abstraction_P(T => P1.T, Obj => <>); package Layered_Abstraction is pragma Elaborate_Body; X : P1.T := P2.Obj; -- Both P1.T and P2.Obj are visible because ...
30,007
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cohama.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cohama.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
30,008
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr23.adb
-- { dg-do compile } with Discr23_Pkg; use Discr23_Pkg; package body Discr23 is N : constant Text := Get; function Try (A : in Text) return Text is begin return A; exception when others => return N; end; procedure Dummy is begin null; end; end Discr23;
30,009
ada
3
pyjarrett/archaic_terminal
example/src/trendy_terminal-example-input.ads
package Trendy_Terminal.Example.Input is procedure Run_Print_Input; end Trendy_Terminal.Example.Input;
30,010
ada
15
mgrojo/adalib
ada-containers-bounded_doubly_linked_lists.ads
<gh_stars>10-100 -- Standard Ada library specification -- 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-Identifier: BSD-3-Clause and...
30,011
ada
12
TUM-EI-RCS/StratoX
software/unittest/estimator/src/simulation.adb
package body simulation is procedure init is begin if not CSV_here.Open then Put_Line ("Simulation: Error opening file"); Simulation.Finished := True; return; else Put_Line ("Simulation: Replay from file"); have_data := True; CSV_here.Parse_Heade...
30,012
ada
0
caqg/linux-home
.emacs.d/elpa/ada-mode-6.1.1/ada_process_lalr_main.adb
<reponame>caqg/linux-home -- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LALR Ada_Emacs re2c PROCESS ada.wy -- -- Copyright (C) 2013 - 2019 Free Software Foundation, Inc. -- This program is free software; you can redistribute it and/or -- modify it under the terms of th...
30,013
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaGL/GL_x11/adagl.adb
<filename>thirdparty/adasdl/thin/adasdl/AdaGL/GL_x11/adagl.adb -- ---------------------------------------------------------------- -- -- This file contains some improvements to the gl Ada binding -- -- in order to allow a better programming style. -- -- The prototypes below follow the Impl...
30,014
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/monitor/aarch64/aarch64.adb
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
30,015
ada
488
ouankou/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element-exception_handlers.adb
with Asis.Statements; package body Asis_Adapter.Element.Exception_Handlers is ----------------------------- -- EXPORTED: ----------------------------- procedure Do_Pre_Child_Processing (Element : in Asis.Element; State : in out Class) is Parent_Name : constant String := Module_Name; ...
30,016
ada
81
fuzzysloth/ada-awa
awa/plugins/awa-storages/src/awa-storages-stores-files.ads
<filename>awa/plugins/awa-storages/src/awa-storages-stores-files.ads ----------------------------------------------------------------------- -- awa-storages-stores-files -- File system store -- Copyright (C) 2012, 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "...
30,017
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l0x3/stm32_svd-dma.ads
-- This spec has been automatically generated from STM32L0x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DMA is pragma Preelaborate; --------------- -- Registers -- --------------- -- interrupt status register ...
30,018
ada
0
AfroMetal/concurrent-railroad-ada
rails.ads
-- -- <NAME> 221454 -- with Ada.Strings.Unbounded; package Rails is package SU renames Ada.Strings.Unbounded; type Track_Type is (Turntable, Normal, Station); type Track_Record (Typee: Track_Type := Turntable) is record case Typee is when Turntable => Rotation_Time...
30,019
ada
1
io7m/coreland-openal-ada
openal-context-error.adb
with OpenAL.ALC_Thin; with OpenAL.Types; package body OpenAL.Context.Error is function Get_Error (Device : in Device_t) return Error_t is begin return Map_Constant_To_Error (ALC_Thin.Get_Error (Device.Device_Data)); end Get_Error; function Map_Constant_To_Error (Error : in Types.Enumeration_t) return Err...
30,020
ada
24
svn2github/matreshka
source/web/fastcgi/fastcgi-requests.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
30,021
ada
18
jquorning/ada-wiki
src/wiki-documents.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- wiki-documents -- Wiki document -- Copyright (C) 2011, 2015, 2016, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ex...
30,022
ada
33
ytomino/drake
source/a-refere.adb
with Ada.Unchecked_Conversion; with System; package body Ada.References is pragma Suppress (All_Checks); package body Generic_Slicing is function Constant_Slice ( Item : aliased Array_Type; First : Index_Type; Last : Index_Type'Base) return Constant_Reference_Type is ...
30,023
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/g-calend.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
30,024
ada
81
twdroeger/ada-awa
awa/plugins/awa-settings/src/awa-settings.ads
<filename>awa/plugins/awa-settings/src/awa-settings.ads<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-settings -- Settings module -- Copyright (C) 2013, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
30,025
ada
1
skill-lang/skillAdaTestSuite
test/floats/test_floats.ads
<reponame>skill-lang/skillAdaTestSuite<filename>test/floats/test_floats.ads<gh_stars>1-10 package Test_Floats is end Test_Floats;
30,026
ada
0
twinbee/lamportsBakery
old/old.adb
<reponame>twinbee/lamportsBakery<gh_stars>0 ----------------------------csc410/prog5/as5.adb---------------------------- -- Author: <NAME> -- Class: CSC410 Burgess -- Date: 11-01-04 Modified: 11-01-04 -- Due: 11-7-04 -- Desc: Assignment 5: LAMPORT'S ALGORITHM FOR VIRTUAL TOPOLOGY NETWORKS -- -- a nonproduct...
30,027
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46011a.ada
<reponame>best08618/asylo<gh_stars>1-10 -- C46011A.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 docume...
30,028
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-convec.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-convec.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
30,029
ada
0
twdroeger/ada-awa
awa/awaunit/awa-tests-helpers.ads
<gh_stars>0 ----------------------------------------------------------------------- -- awa-tests-helpers - Helpers for AWA unit tests -- Copyright (C) 2011, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
30,030
ada
1
leo-brewin/adm-bssn-numerical
adm/code/src/admbase-initial.adb
with Metric.Kasner; use Metric.Kasner; with ADMBase.Coords; use ADMBase.Coords; package body ADMBase.Initial is procedure create_data is t, x, y, z : Real; begin t := beg_time; for i in 1..num_x loop for j in 1..num_y loop ...
30,031
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug2_pkg.ads
<reponame>best08618/asylo<gh_stars>1-10 package Debug2_Pkg is type String_Ptr is access all String; function To_Heap return String_Ptr; type String_List(Chars_Length: Positive) is private; type String_List_Ptr is access constant String_List; function Singleton return String_List; private ...
30,032
ada
263
jfouquart/synth
src/parameters.ads
<filename>src/parameters.ads -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with JohnnyText; with Config; with Definitions; use Definitions; package Parameters is package JT renames JohnnyText; live_system : constant String := "LiveSystem"; no_c...
30,033
ada
17
jrmarino/ravensource
bucket_DD/anet/patches/patch-src_anet-sockets-inet.adb
<filename>bucket_DD/anet/patches/patch-src_anet-sockets-inet.adb --- src/anet-sockets-inet.adb.orig 2019-10-30 14:36:44 UTC +++ src/anet-sockets-inet.adb @@ -69,7 +69,7 @@ package body Anet.Sockets.Inet is Res : C.int; Sock : Thin.Inet.Sockaddr_In_Type (Family => Socket_Families.Family_Inet); - ...
30,034
ada
0
Tim-Tom/project-euler
Ada/src/Problem_59.adb
with Ada.Text_IO; with Ada.Integer_Text_IO; with Ada.Containers.Vectors; package body Problem_59 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; package Character_Vector is new Ada.Containers.Vectors(Index_Type => Positive, ...
30,035
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-filatt.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-filatt.ads ------------------------------------------------------------------------------ -- -- -- GNAT R...
30,036
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/31soccon.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,037
ada
0
reznikmm/ada-skynet
sources/skynet.adb
-- Copyright (c) 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Streams.Stream_IO; with Ada.Unchecked_Deallocation; with AWS.Client; with AWS.Headers; wit...
30,038
ada
8
pvrego/adaino
project/src/avr-adc.ads
<reponame>pvrego/adaino<gh_stars>1-10 -- ============================================================================= -- Package AVR.ADC -- -- Handles the Analog Comparator and the Analog-To-Digital Converter. -- ============================================================================= package AVR.ADC is type ...
30,039
ada
0
AntonMeep/fastpbkdf2_ada
src/fastpbkdf2_ada.ads
pragma Ada_2012; with Ada.Streams; use Ada.Streams; with Fastpbkdf2_Generic; package Fastpbkdf2_Ada is new Fastpbkdf2_Generic (Stream_Element, Stream_Element_Offset, Stream_Element_Array);
30,040
ada
0
DerickEddington/tarmi
test_eval.adb
<reponame>DerickEddington/tarmi with Text_IO; use Text_IO; with Tarmi; use Tarmi; with Tarmi.Environments; use Tarmi.Environments; with Tarmi.Evaluation; use Tarmi.Evaluation; with Tarmi.Symbols; use Tarmi.Symbols; with Tarmi.Combiners; use Tarmi.Combiners; use type Tarmi.Datum; procedure Test_Eval is Env : Enviro...
30,041
ada
15
My-Colaborations/dynamo
src/gen-artifacts-distribs-copies.ads
<filename>src/gen-artifacts-distribs-copies.ads ----------------------------------------------------------------------- -- gen-artifacts-distribs-copies -- Copy based distribution artifact -- Copyright (C) 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (th...
30,042
ada
7
stcarrez/mat
mat/src/mat-targets.adb
----------------------------------------------------------------------- -- mat-targets - Representation of target information -- Copyright (C) 2014, 2015, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
30,043
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-sphere.adb
<filename>3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-sphere.adb with impact.d3.collision.Proxy; with impact.d3.Vector; with impact.d3.Scalar; package body impact.d3.Shape.convex.internal.sphere is function to_sphere_Shape (radius : in math.Real) return Item is use impact.d...
30,044
ada
1
psyomn/agen
tests/agen-testing.adb
-- Copyright 2019 <NAME> (entomy) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to i...
30,045
ada
1
Vovanium/stm32-ada
source/stm32-f4-fsmc.ads
with Interfaces; package STM32.F4.FSMC is pragma Pure; type Memory_Type is ( SRAM, PSRAM, NOR_Flash ); type Memory_Databus_Width is ( Databus_8_bit, Databus_16_bit ); for Memory_Databus_Width use ( Databus_8_bit => 2#00#, Databus_16_bit => 2#01# ); type CRAM_Page_Size is ( CRAM_No_Burst_Split...
30,046
ada
30
jscparker/math_packages
ordinary/runge_coeffs_pd_8.adb
----------------------------------------------------------------------- -- package body Runge_Coeffs_PD_8, coefficients for Prince-Dormand Runge Kutta -- Copyright (C) 2008-2018 <NAME>. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, prov...
30,047
ada
0
reznikmm/gela
source/lexer/program-scanner_states.ads
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Program.Scanner_States is pragma Pure; type State is mod +86; subtype Looping_State is State range 0 .. 63; subtype Final_Stat...
30,048
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-opt_parser.ads
-- Copyright 2019 <NAME> <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, copy, modify, merge, publish, ...
30,049
ada
6
yannickmoy/SPARKZumo
src/drivers/zumo_led.adb
pragma SPARK_Mode; with Sparkduino; use Sparkduino; with Types; use Types; package body Zumo_LED is YellowLEDPin : constant := 13; procedure Init is begin Initd := True; SetPinMode (Pin => YellowLEDPin, Mode => PinMode'Pos (OUTPUT)); end Init; procedure Yellow_Led ...
30,050
ada
0
mstewartgallus/linted
src/linted/src/main.adb
-- Copyright 2016,2017 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in ...
30,051
ada
0
xeenta/learning-ada
src/002/father.adb
<gh_stars>0 package body Father is procedure Father_What (A : in out Father_Type) is begin A := A + 1; end Father_What; end Father;
30,052
ada
0
dksmiffs/gnatmake-examples
ada-main-c-depend/main.adb
<reponame>dksmiffs/gnatmake-examples<filename>ada-main-c-depend/main.adb<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Main is procedure C_Fun; pragma Import(C, C_Fun, "i_am_c"); begin Put_Line("Calling external C code from Ada main."); C_Fun; Put_Line("Exiting Ada main."); end Main;
30,053
ada
9
stcarrez/ada-search
regtests/search-fields-tests.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- search-fields-tests -- Tests for tokens -- Copyright (C) 2020 <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 ...
30,054
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/varsize_return2.ads
-- { dg-do compile } -- { dg-options "-O" } with Varsize_Return2_Pkg; use Varsize_Return2_Pkg; package Varsize_Return2 is package My_G is new G (0); Result : constant T := My_G.Get; end Varsize_Return2;
30,055
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/exp_ch2.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,056
ada
192
rocher/Ada_Drivers_Library
middleware/src/BLE/bluetooth_low_energy-beacon.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
30,057
ada
2
ficorax/PortAudioAda
src/portaudioada.adb
-------------------------------------------------------------------------------- -- Copyright (c) 2019 <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, includ...
30,058
ada
0
optikos/oasis
source/nodes/program-nodes-formal_constrained_array_types.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Discrete_Ranges; with Program.Elements.Component_Definitions; with Program.Elements.Formal_Constra...
30,059
ada
11
reznikmm/ada_lsp
tests/cross_references.ads
<reponame>reznikmm/ada_lsp<gh_stars>10-100 -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with LSP.Messages; with LSP.Types; package Cross_References is type Database is tagged limited private;...
30,060
ada
0
ray2501/ada-adapcre
examples/pcre_config.adb
<filename>examples/pcre_config.adb -- -- Basic checks of installation of the PCRE Ada binding. -- -- giving some details of PCRE build options. -- test of compile/study/match -- with Text_IO; use Text_IO; with AdaPcre; use AdaPcre; with Ada.Environment_Variables; use Ada.Environment_...
30,061
ada
1
steveo-benon/hello-world
hello_world.adb
<gh_stars>1-10 with Ada.Text_IO; procedure Hello_World is begin Ada.Text_IO.Put_Line ("Hello ADA"); Ada.Text_IO.Put_Line("This is the worlds safest hello world program"); end Hello_World;
30,062
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/output.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,063
ada
33
ytomino/drake
source/s-forfix.adb
with System.Formatting.Float; package body System.Formatting.Fixed is pragma Suppress (All_Checks); procedure Image ( Value : Long_Long_Float; Item : out String; Fore_Last, Last : out Natural; Signs : Sign_Marks := ('-', ' ', ' '); Base : Number_Base := 10; Base_Form : Boolean...
30,064
ada
1
LaudateCorpus1/RosettaCodeData
Task/Fork/Ada/fork.ada
with Ada.Text_IO, POSIX.Process_Identification, POSIX.Unsafe_Process_Primitives; procedure Fork is use Ada.Text_IO, POSIX.Process_Identification, POSIX.Unsafe_Process_Primitives; begin if Fork = Null_Process_ID then Put_Line ("This is the new process."); else Put_Line ("Thi...
30,065
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/common/uxas-common-string_constant-lmcp_network_socket_address.ads
<filename>src/ada/src/common/uxas-common-string_constant-lmcp_network_socket_address.ads -- see OpenUxAS\src\Includes\Constants\UxAS_String.h with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package UxAS.Common.String_Constant.Lmcp_Network_Socket_Address is -- NOTE: we are modifying the actual socket addr...
30,066
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-sysadmin/src/model/awa-sysadmin-models.ads
<filename>awa/plugins/awa-sysadmin/src/model/awa-sysadmin-models.ads ----------------------------------------------------------------------- -- AWA.Sysadmin.Models -- AWA.Sysadmin.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template use...
30,067
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/common/tools/generic_bounded_image.adb
-- @summary functions to provide a string image of numbers package body Generic_Bounded_Image with SPARK_Mode is function Image_32 (item : T) return String is res : constant String := T'Image (item); pragma Assume (res'Length > 0); len : constant Natural := res'Length; max : constant Natura...
30,068
ada
80
thindil/steamsky
tests/events-test_data-tests-events_container.ads
<reponame>thindil/steamsky package Events.Test_Data.Tests.Events_Container is end Events.Test_Data.Tests.Events_Container;
30,069
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-view.adb
<filename>ada/original_2008/ada-gui/agar-gui-view.adb with interfaces.c.strings; package body agar.gui.view is package cs renames interfaces.c.strings; use type c.int; package cbinds is function resize_display (width : c.int; height : c.int) return c.int; pragma import (c, resize_display,...
30,070
ada
9
jhumphry/SPARK_NORX
src/tests/test_input_lengths.ads
-- Test_Input_Lengths -- Ensure that headers and trailers of different lengths are accepted -- and messages of different lengths correctly decrypted (to check padding) -- Copyright (c) 2016, <NAME> - see LICENSE file for details with NORX; with System.Storage_Elements; use System.Storage_Elements; generic with ...
30,071
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Swarm/swarm_data.ads
<gh_stars>1-10 -- -- Jan & <NAME>, Australia, July 2011 -- with Swarm_Configuration; use Swarm_Configuration; with Swarm_Configurations; use Swarm_Configurations; pragma Elaborate_All (Swarm_Configurations); with Swarm_Structures; use Swarm_Structures; with Swarm_Structures_Base; use Swarm_Structures_Base; pa...
30,072
ada
33
ytomino/drake
examples/random_dsfmt.adb
<gh_stars>10-100 pragma License (Unrestricted); -- BSD 3-Clause -- translated unit from dSFMT (test.c) -- -- Copyright (c) 2007, 2008, 2009 <NAME>, <NAME> -- and Hiroshima University. -- Copyright (c) 2011, 2002 <NAME>, <NAME>, Hiroshima -- University and The University of Tokyo. -- All rights reserved. -- -...
30,073
ada
0
reznikmm/webidl
source/context/webidl-definitions.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with League.Strings; package WebIDL.Definitions is pragma Preelaborate; type Definition is limited interface; not overriding function Name (Self : Definition) ...
30,074
ada
0
SKNZ/BezierToSTL
src/interpolations_lineaires.ads
<gh_stars>0 with Courbes; use Courbes; with Courbes.Singletons; use Courbes.Singletons; with Courbes.Droites; use Courbes.Droites; with Courbes.Bezier_Cubiques; use Courbes.Bezier_Cubiques; with Courbes.Visiteurs; use Courbes.Visiteurs; with Vecteurs; use Vecteurs; package Interpolations_Lineaires is subtype Toler...
30,075
ada
24
reznikmm/matreshka
examples/servlets/sessions/source/sessions.adb
<reponame>reznikmm/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
30,076
ada
32
robdaemon/AdaYaml
src/annotation_processor/implementation/yaml-transformator-annotation.ads
<filename>src/annotation_processor/implementation/yaml-transformator-annotation.ads -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Strings.Hash; with Text.Pool; with Yaml.Events.Context; package Yaml...
30,077
ada
89
Fabien-Chouteau/sdlada
src/sdl-events-keyboards.adb
<gh_stars>10-100 -------------------------------------------------------------------------------------------------------------------- -- 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 -- ...
30,078
ada
1
MatrixMike/AdaDemo1
bounce.adb
<filename>bounce.adb with Display; use Display; with Display.Basic; use Display.Basic; procedure bounce is Ball : Shape_Id := new_Circle (X => 0.0, Y => 0.0, Radius => 10.0, Color => Blue); begin loop if Get_X (ball) > 100.0 then Step := -0.05; elsif Get_X (ball) < -1...
30,079
ada
24
svn2github/matreshka
source/xml/sax/xml-sax-simple_readers-scanner-actions.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
30,080
ada
5
docandrew/troodon
include/inttypes_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with stdint_h; with Interfaces.C.Strings; with System; package inttypes_h is PRId8 : aliased constant String := "d" & ASCII.NUL; -- /usr/include/inttypes.h:54 PRId16 : aliased constant String := "d" & ASCII.NUL; -- /usr/includ...
30,081
ada
30
Componolit/libsparkcrypto
tests/lsc_internal_test_sha2.adb
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2018 Componolit GmbH -- Copyright (C) 2010, <NAME> -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and...
30,082
ada
33
ytomino/drake
source/directories/machine-w64-mingw32/s-nadise.adb
<filename>source/directories/machine-w64-mingw32/s-nadise.adb<gh_stars>10-100 with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with System.Standard_Allocators; with System.Storage_Elements; with System.Zero_Terminated_WStrings; with C.winerror; package body System.Native_Dir...
30,083
ada
0
fintatarta/protypo
src/Internals/protypo-code_trees.adb
pragma Ada_2012; with Ada.Strings.Fixed; with Ada.Text_Io; use Ada.Text_Io; package body Protypo.Code_Trees is function To_Expression_Vector (X : Tree_Array; Void_Accepted : Boolean := False) return Node_Vectors.Vector; function ...
30,084
ada
19
jquorning/ada-security
src/security-oauth.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- security-oauth -- OAuth Security -- 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 with...
30,085
ada
0
balintsoos/LearnAda
gyak/gyak3/sumDiagonal.adb
<reponame>balintsoos/LearnAda with Ada.Text_IO; use Ada.Text_IO; procedure SumDiagonal is type Index is new Integer; type Elem is new Integer; type Matrix is array (Index range <>, Index range <>) of Elem; procedure Print ( M: in Matrix ) is begin for I in M'Range(1) loop for J ...
30,086
ada
1
OneWingedShark/Risi
src/epl.ads
Pragma Ada_2012; Pragma Wide_Character_Encoding( UTF8 ); With Ada.Strings.UTF_Encoding.Wide_Wide_Strings, Ada.Strings.UTF_Encoding.Wide_Strings, Ada.Strings.UTF_Encoding.Strings, Ada.IO_Exceptions; with Ada.Strings.UTF_Encoding; -- Edward Parse Library. -- -- ©2015 <NAME>; All Rights Reserved. Package EPL with Pure i...
30,087
ada
4
faelys/gela-asis
source/asis/asis-gela-implicit-decl.adb
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
30,088
ada
1
bracke/websitegenerator
src/filesystem.adb
<filename>src/filesystem.adb with Ada.Command_Line; with Ada.Directories; use Ada.Directories; with Ada.Text_IO; with Templates_Parser.Utils; with Ada.Directories.Hierarchical_File_Names; package body Filesystem is package IO renames Ada.Text_IO; package HF renames Ada.Directories.Hierarchical_File_Names; f...
30,089
ada
4
faelys/gela-asis
contrib/ayacc/src/str_pack.adb
package body STR_Pack is SCCS_ID : constant String := "@(#) str_pack.ada, Version 1.2"; Rcs_ID : constant String := "$Header: str_pack.a,v 0.1 86/04/01 15:13:01 ada Exp $"; function Upper_Case (S : in STR) return STR is Upper_STR : STR (S.Name'Length) := S; begin for I in 1..S.Length loop ...
30,090
ada
20
charlie5/lace
3-mid/opengl/source/lean/model/opengl-model-hexagon.adb
package body openGL.Model.hexagon is function vertex_Sites (Radius : in Real) return Sites is use linear_Algebra_3d; the_Site : Vector_3 := (Radius, 0.0, 0.0); Rotation : constant Matrix_3x3 := y_Rotation_from (to_Radians (60.0)); the_Sites : Sites; begin ...
30,091
ada
1
selroc/Renaissance-Ada
src/tools/Dependency_Graph_Extractor/tests/Syntax_Examples/src/deferred_constant.ads
package Deferred_Constant is I, J : constant Integer; K, L : Integer; private I : constant Integer := 42; J : constant Integer := 42; end Deferred_Constant; pragma Pure (Deferred_Constant);
30,092
ada
0
Letractively/ada-util
src/util-strings.adb
<gh_stars>0 ----------------------------------------------------------------------- -- Util-strings -- Various String Utility -- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this...
30,093
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/incomplete1.ads
package Incomplete1 is type T is null record; end Incomplete1;
30,094
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso2.ads
with System; package SSO2 is type Arr1 is array (1 .. 4) of Character; for Arr1'Scalar_Storage_Order use System.High_Order_First; type Arr2 is array (1 .. 4) of Character; for Arr2'Scalar_Storage_Order use System.Low_Order_First; procedure Proc (A1 : Arr1; A2 : out Arr2); end SSO2;
30,095
ada
0
thierr26/ada-keystore
src/keystore-passwords-cmds.adb
<reponame>thierr26/ada-keystore<gh_stars>0 ----------------------------------------------------------------------- -- keystore-passwords-cmds -- External command based password provider -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
30,096
ada
1
skill-lang/skillAdaTestSuite
benchmark/byte_writer.adb
<reponame>skill-lang/skillAdaTestSuite -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Your SKilL Ada Binding -- -- \__ \ ' <| | | |__ <<debug>> -- -- |___/_|\_\_|_|____| by: <<some d...
30,097
ada
192
rocher/Ada_Drivers_Library
examples/STM32F4_DISCO/filesystem/src/main.adb
<filename>examples/STM32F4_DISCO/filesystem/src/main.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- ...
30,098
ada
2
ytomino/web-ada
source/web-rss.ads
<filename>source/web-rss.ads<gh_stars>1-10 -- <link rel="alternate" type="application/rss+xml" title="RSS2.0" href="*" /> package Web.RSS is procedure RSS_Start ( Stream : not null access Ada.Streams.Root_Stream_Type'Class; Title : in String; Description : in String; Link : in String); procedure RSS_Item ...
30,099
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/aspects.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...