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
1,000
ada
0
reznikmm/gela
source/nodes/program-nodes-exit_statements.ads
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Exit_Statements; with Program.Element_Visitors; package Pr...
1,001
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47009a.ada
-- C47009A.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...
1,002
ada
3
UdayanSinha/Code_Blocks
Ada/producerconsumer.adb
<filename>Ada/producerconsumer.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Numerics.Discrete_Random; with semaphores; use semaphores; procedure ProducerConsumer is X : Integer; -- Shared Variable N : constant Integer := 40; -- Number of produced and comsumed variabl...
1,003
ada
0
byllgrim/iictl
srv_quit.ads
package Srv_Quit is procedure Detect_Quits (Irc_Dir : in String); -- TODO rename Handle_Quits? end Srv_Quit;
1,004
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstringbuffer_h.ads
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstringbuffer_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; limited with GStreamer.GST_L...
1,005
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-excdeb.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
1,006
ada
1
Fabien-Chouteau/sdlada
src/ttf/sdl-ttfs.ads
<filename>src/ttf/sdl-ttfs.ads -------------------------------------------------------------------------------------------------------------------- -- 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 a...
1,007
ada
0
reznikmm/gela
source/oasis/program-elements-operator_symbols.ads
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Defining_Operator_Symbols; package Program.Elements.Operat...
1,008
ada
30
jrmarino/AdaBase
src/statements/adabase-statement-base-mysql.adb
<filename>src/statements/adabase-statement-base-mysql.adb -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with Ada.Exceptions; with Ada.Calendar.Time_Zones; with Ada.Unchecked_Conversion; package body AdaBase.Statement.Base.MySQL is package EX renames A...
1,009
ada
2
stcarrez/wi2wic
src/wi2wic-server.adb
----------------------------------------------------------------------- -- wi2wic -- Wiki 2 Wiki Converter server startup -- 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 the Lice...
1,010
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c58005a.ada
-- C58005A.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...
1,011
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-votes/src/model/awa-votes-models.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- AWA.Votes.Models -- AWA.Votes.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: h...
1,012
ada
6
My-Colaborations/ada-servlet
src/servlet-filters-cache_control.adb
----------------------------------------------------------------------- -- servlet-filters-cache_control -- HTTP response Cache-Control settings -- Copyright (C) 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in c...
1,013
ada
22
FardaleM/metalang
out/aaa_03binding.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_03binding is type stringptr is access all char_array; procedure PString(s : stringptr) is be...
1,014
ada
32
persan/AdaYaml
Parser_Tools/src/interface/lexer-source-file.ads
<filename>Parser_Tools/src/interface/lexer-source-file.ads -- part of ParserTools, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" private with Ada.Streams.Stream_IO; private with Ada.Directories; package Lexer.Source.File is -- this provides streams which are backed b...
1,015
ada
5
docandrew/troodon
include/xcb.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with bits_stdint_uintn_h; with Interfaces.C.Strings; limited with xproto; package xcb is -- unsupported macro: XCB_PACKED __attribute__((__packed__)) X_TCP_PORT : constant := 6000; -- /usr/include/xcb/xcb.h:72 ...
1,016
ada
0
Letractively/ada-gen
src/gnat/tree_in.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,017
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46042a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46042a.ada -- C46042A.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...
1,018
ada
12
TUM-EI-RCS/StratoX
software/modules/buzzer_manager.ads
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> (<EMAIL>) with Units; use Units; -- @summary -- Interface to use a buzzer/beeper. package Buzzer_Manager with SPARK_Mode is -- subtype T_Name is Character -- wit...
1,019
ada
0
Letractively/ada-ado
src/ado-statements-create.adb
----------------------------------------------------------------------- -- ADO Statements -- Database statements -- Copyright (C) 2009, 2010, 2011 <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 L...
1,020
ada
0
rtoal/enhanced-dining-philosophers
ada/philosophers.adb
------------------------------------------------------------------------------ -- philosophers.adb -- -- Implementation of the philosophers. ------------------------------------------------------------------------------ with Randoms, Meals, Chopsticks, Host, Orders, Reporter, Waiters; use Randoms, Meals, Chopst...
1,021
ada
1
LaudateCorpus1/RosettaCodeData
Task/LU-decomposition/Ada/lu-decomposition-1.ada
with Ada.Numerics.Generic_Real_Arrays; generic with package Matrix is new Ada.Numerics.Generic_Real_Arrays (<>); package Decomposition is -- decompose a square matrix A by PA = LU procedure Decompose (A : Matrix.Real_Matrix; P, L, U : out Matrix.Real_Matrix); end Decomposition;
1,022
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97305c.ada
<gh_stars>1-10 -- C97305C.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....
1,023
ada
1
skill-lang/skillAdaTestSuite
test/foreign/test_foreign-read.ads
with Ahven.Framework; with Unknown.Api; package Test_Foreign.Read is package Skill renames Unknown.Api; use Unknown; use Unknown.Api; type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); procedure Aircraft; procedure Annotation_Test; procedure...
1,024
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada83/standard83.ads
--****************************************************************************** -- -- package STANDARD -- --****************************************************************************** package STANDARD is -- This is the Digital Equipment Corporation VAX/VMS version of the -- Ada standard and system packages. ty...
1,025
ada
3
charlie5/aIDE
source/adam-comment.ads
<filename>source/adam-comment.ads<gh_stars>1-10 with AdaM.Entity; private with ada.Streams; package AdaM.Comment is type Item is new Entity.item with private; type View is access all Item'Class; -- Forge -- function new_Comment return Comment.view; procedure free (Sel...
1,026
ada
5
reznikmm/increment
source/base/incr-parsers-incremental.adb
<reponame>reznikmm/increment<filename>source/base/incr-parsers-incremental.adb<gh_stars>1-10 -- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with Incr.Nodes.Tokens; packag...
1,027
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64105c.ada
<reponame>best08618/asylo<gh_stars>1-10 -- C64105C.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...
1,028
ada
0
persan/a-cups
src/gen/cups-unistd_h.ads
<reponame>persan/a-cups<gh_stars>0 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with CUPS.bits_types_h; with Interfaces.C.Strings; with System; with CUPS.stdio_h; with Interfaces.C_Streams; private package CUPS.unistd_h is STDIN_FILENO : constant := 0; -- unistd.h:213 STD...
1,029
ada
30
jscparker/math_packages
ordinary/runge_8th_order_demo_3.adb
<filename>ordinary/runge_8th_order_demo_3.adb with Runge_8th; with Text_IO; use Text_IO; with Quadrature; with Ada.Numerics.Generic_Elementary_Functions; procedure runge_8th_order_demo_3 is type Real is digits 15; package mth is new Ada.Numerics.Generic_Elementary_Functions(Real); use mth; -- for Sin p...
1,030
ada
0
Fabien-Chouteau/fsmaker
src/fsmaker-commands-init.adb
<gh_stars>0 with Simple_Logging; with Interfaces.C_Streams; use Interfaces.C_Streams; package body FSmaker.Commands.Init is ------------- -- Execute -- ------------- overriding procedure Execute (This : in out Instance; Args : AAA.Strings.Vector) is function ftrun...
1,031
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/lib-sort.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,032
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-valrea.adb
<reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
1,033
ada
1
charlie5/lace-alire
3-mid/opengl/applet/demo/models/render_asteroids/launch_render_asteroids.adb
<filename>3-mid/opengl/applet/demo/models/render_asteroids/launch_render_asteroids.adb with openGL.Model.any, openGL.Visual, openGL.Light.directional, openGL.Demo; procedure launch_render_Asteroids -- -- Render with a few asteroids. -- is use openGL, openGL.Math, openGL.linear_Alg...
1,034
ada
1
LaudateCorpus1/RosettaCodeData
Task/Execute-a-Markov-algorithm/Ada/execute-a-markov-algorithm-3.ada
<filename>Task/Execute-a-Markov-algorithm/Ada/execute-a-markov-algorithm-3.ada with Ada.Command_Line; with Ada.Text_IO.Unbounded_IO; with Ada.Strings.Unbounded; with Markov; procedure Test_Markov is use Ada.Strings.Unbounded; package IO renames Ada.Text_IO.Unbounded_IO; Rule_File : Ada.Text_IO.File_Type; ...
1,035
ada
3
rogermc2/GA_Ada
ga_lib/src/ga_base_types.adb
package body GA_Base_Types is function "*" (I1, I2 : NI_T) return float is begin return 0.0; end "*"; -- ------------------------------------------------------------------------- function "*" (I : NI_T; O : NO_T) return float is begin -- return -I.Inf * O.Origin; return -1.0; ...
1,036
ada
0
iyan22/AprendeAda
4inline/jugar_conecta4.adb
<reponame>iyan22/AprendeAda<filename>4inline/jugar_conecta4.adb with Ada.Text_Io; use Ada.Text_Io; with Ada.Integer_Text_IO; use Ada.Integer_Text_Io; with conecta4; use conecta4; with Nt_Console; use Nt_console; with colocar_ficha; with imprimir_tablero; with pedir_columna; with inicializar_tablero; procedure ...
1,037
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_bip_no_alloc.adb
-- { dg-do compile } pragma Restrictions (No_Allocators); procedure Test_BIP_No_Alloc is type LR (B : Boolean) is limited record X : Integer; end record; function FLR return LR is begin -- A return statement in a function with a limited and unconstrained -- result subtype can result ...
1,038
ada
24
svn2github/matreshka
source/league/arch/arm/matreshka-simd-arm-neon.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
1,039
ada
1
LaudateCorpus1/RosettaCodeData
Task/Loops-Downward-for/Ada/loops-downward-for.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 for I in reverse 0..10 loop Put_Line(Integer'Image(I)); end loop;
1,040
ada
52
onox/orka
orka_transforms/src/x86/generic/orka-transforms-singles-vectors.ads
-- 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 License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
1,041
ada
24
svn2github/matreshka
tools/ayacc/src/lalr_symbol_info.adb
<reponame>svn2github/matreshka -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were <NAME> and <NAME>. -- Enhancements were made by <NAME>. -- -- Send requests for ayacc information to <EMAIL> -- Send bug reports for ayacc to <EMAIL> ...
1,042
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-strhas.adb
<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-strhas.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
1,043
ada
39
shinesolutions/swagger-aem
clients/ada/generated/src/model/-models.adb
-- Adobe Experience Manager (AEM) API -- Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API -- -- The version of the OpenAPI document: 3.5.0_pre.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.2.1. -- https://openapi-generator.tech -- Do not edi...
1,044
ada
6
gerr135/ada_gems
ada_lists_tests/src/test_list_iface_wrec.adb
<filename>ada_lists_tests/src/test_list_iface_wrec.adb -- -- Tests of lists of private (non-tagged) types -- -- 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 Genera...
1,045
ada
0
Arles96/PCompiladores
Pruebas/HolaMundo.adb
procedure HolaMundo is begin put("<NAME>"); end HolaMundo;
1,046
ada
1
stcarrez/helios
src/helios-datas.ads
----------------------------------------------------------------------- -- helios-datas -- Helios monitoring data and snapshots -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with th...
1,047
ada
6
My-Colaborations/ada-servlet
src/servlet-rest.adb
----------------------------------------------------------------------- -- servlet-rest -- REST Support -- Copyright (C) 2016, 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 the License. -...
1,048
ada
52
onox/orka
orka_egl/src/egl-objects-displays.adb
<reponame>onox/orka -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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 -- -- http://www.apache.org/li...
1,049
ada
20
charlie5/lace
3-mid/opengl/source/profile/lean/opengl-profile.adb
separate (openGL) function Profile return profile_Kind is begin return Lean; end Profile;
1,050
ada
1
charlie5/lace-alire
1-base/lace/source/events/mixin/lace-make_observer.adb
with lace.Event.Logger, lace.Event.utility, ada.unchecked_Conversion, ada.unchecked_Deallocation; package body lace.make_Observer is use type Event.Logger.view; procedure destroy (Self : in out Item) is begin Self.Responses.destroy; end destroy; ------------ -- Resp...
1,051
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/monitor/common/dumps.adb
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
1,052
ada
5
docandrew/troodon
src/render-widgets.adb
<gh_stars>1-10 with Ada.Numerics.Elementary_Functions; with Ada.Text_IO; with Interfaces.C; use Interfaces.C; with System; with GL; with GLext; with Render.Shaders; with Render.Util; package body Render.Widgets is --------------------------------------------------------------------------- -- drawCircle -...
1,053
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48009c.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48009c.ada<gh_stars>1-10 -- C48009C.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 ...
1,054
ada
3
jwarwick/aoc_2020
day08/src/vm.ads
<gh_stars>1-10 with Ada.Strings.Unbounded; with Ada.Containers.Hashed_Maps; use Ada.Containers; package VM is type Instruction_Index is new Natural; type VM is private; VM_Exception : exception; function load_file(file : in String) return VM; procedure reset(v : in out VM); function acc(v : in VM) retur...
1,055
ada
0
wildeee/safADA
Exemplos ADA/MultiplicaMatriz/MultiplicaMatriz.adb
With Ada.Text_IO; Use Ada.Text_IO; Procedure MultiplicaMatriz is type Integer_Matrix is array (Integer range <>, Integer range <>) of Integer'Base; matriz1 : Integer_Matrix(1..3, 1..2); matriz2 : Integer_Matrix(1..2, 1..3); resultado: Integer_Matrix(1..3, 1..3); -- Leitura String function Get_String return St...
1,056
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_18/problem_18.ads
with Test_Solution; use Test_Solution; with Ada.Text_IO; use Ada.Text_IO; package problem_18 is function Solution_1 return Integer; procedure Test_Solution_1; function Get_Solutions return Solution_Case; end problem_18;
1,057
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/i-cpotim.ads
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
1,058
ada
20
charlie5/lace
3-mid/opengl/source/platform/egl/private/thin/egl-pointers.ads
package eGL.Pointers is type Display_Pointer is access all eGL.Display; type NativeWindowType_Pointer is access all eGL.NativeWindowType; type NativePixmapType_Pointer is access all eGL.NativePixmapType; type EGLint_Pointer is access all eGL.EGLint; type EGLBoolean_Pointer is ac...
1,059
ada
24
reznikmm/matreshka
examples/servlets/sessions/source/sessions-managers.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
1,060
ada
0
JeremyGrosser/arm_cmsis_dsp
src/transform_functions_h.ads
<reponame>JeremyGrosser/arm_cmsis_dsp<gh_stars>0 pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with sys_ustdint_h; with arm_math_types_h; package transform_functions_h is type arm_cfft_radix2_instance_q15 is record fftLen : aliased sys_ustdint_h.uint...
1,061
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr32_pkg.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr32_pkg.ads package Discr32_Pkg is type Enum is (One, Two, Three); type R (D : Enum) is record case D is when One => B : Boolean; when Two => I : Integer; when Three => F : Float; end case; end record; for R use record ...
1,062
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36301a.ada
<gh_stars>1-10 -- C36301A.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....
1,063
ada
4
jerry-sky/academic-notebook
electives/pw/lab/lista-3/ada/main.adb
with External; use External; with Node; use Node; with Logger; with RandInt; with EdgeRegistry; use EdgeRegistry; procedure Main is package EDG renames EdgeRegistry; n: Natural; d: Natural; maxSleep: Natural; begin if CMD.Argument_Count < 3 then PrintBounded("necessary arguments: n d max...
1,064
ada
5
leo-brewin/ada-lapack
source/ada_lapack.ads
-- Copyright (c) 1992-2011 The University of Tennessee and The University -- of Tennessee Research Foundation. All rights -- reserved. -- Copyright (c) 2000-2011 The University of California Berkeley. All -- rights reserved. -- Copyright (c) 2006-...
1,065
ada
5
onox/wayland-ada
wayland_cursor_ada/src/wayland-cursor.ads
-- 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 -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
1,066
ada
1
alvaromb/Compilemon
src/semantica-missatges.ads
<filename>src/semantica-missatges.ads with decls.dgenerals, Ada.Text_IO; use decls.dgenerals, Ada.Text_IO; package Semantica.Missatges is type Terror is (paramsPprincipal, id_existent, idProgDiferents, tipusParam, paramRepetit, enregArg, tipusInexistent, tipusSub...
1,067
ada
488
ouankou/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/ada_code.ads
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/ada_code.ads package Ada_Code is procedure Ada_Proc; pragma Export (C, Ada_Proc, "Ada_Proc"); procedure Ada_C_Caller; pragma Export (C, Ada_C_Caller, "Ada_C_Caller"); end Ada_Code;
1,068
ada
0
cortlandstarrett/mcada
example_relationships/src/generic_list.adb
-- ************************************************************************************* -- -- The recipient is warned that this code should be handled in accordance -- with the HM Government Security Classification indicated throughout. -- -- This code and its contents shall not be used for other than UK Government --...
1,069
ada
0
m-f-1998/university
alloy/coursework_two/console.ads
<reponame>m-f-1998/university -- Author: <NAME> -- -- Address: School Mathematical & Computer Sciences -- Heriot-Watt University -- Edinburgh, EH14 4AS -- -- E-mail: <EMAIL> -- -- Last modified: 13.9.2019 -- -- Filename: c...
1,070
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/fname.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/fname.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
1,071
ada
0
SKNZ/BezierToSTL
src/parser_svg.ads
with Courbes; use Courbes; with Iterateur_Mots; use Iterateur_Mots; package Parser_Svg is use Liste_Courbes; Courbe_Abs : exception; Courbe_Illisible : exception; --parse un fichier svg et retourne une liste de points (voir documentation) -- lève Courbe_Abs si pas de courbe trouvée -- lève Co...
1,072
ada
0
strenkml/EE368
memsim-master/src/parser-parse_shift.adb
<gh_stars>0 with Memory.Transform.Shift; use Memory.Transform.Shift; with Parser.Transform_Parser; separate (Parser) procedure Parse_Shift(parser : in out Parser_Type; result : out Memory_Pointer) is package Shift_Parser is new Transform_Parser( T_Type => Memory.Transform...
1,073
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/q12.adb
<gh_stars>1-10 -- { dg-do run } with Init12; use Init12; with Text_IO; use Text_IO; with Dump; procedure Q12 is A1 : Arr1 := My_A1; A11 : Arr11 := My_A11; A2 : Arr2 := My_A2; A22 : Arr22 := My_A22; begin Put ("A1 :"); Dump (A1'Address, Arr1'Max_Size_In_Storage_Elements); New_Line; -- { dg-outp...
1,074
ada
192
rocher/Ada_Drivers_Library
components/src/motion/mma8653/mma8653.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
1,075
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f0/stm32gd-clock-timer.adb
<gh_stars>1-10 package body STM32GD.Clock.Timer is procedure Init is begin null; end Init; procedure Delay_us (us : Natural) is begin null; end Delay_us; procedure Delay_ms (ms : Natural) is begin null; end Delay_ms; procedure Delay_s (s : Natural) is begin n...
1,076
ada
3
Fabien-Chouteau/AGATE
src/agate.adb
<reponame>Fabien-Chouteau/AGATE ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, <NAME> -- -- ...
1,077
ada
0
jamalakhaligova/ADA
ada homework2/src/coords.adb
<filename>ada homework2/src/coords.adb package body Coords is function Get_X(C: Coord) return Integer is begin return C.x; end; function Get_Y(C: Coord) return Integer is begin return C.y; end; procedure Set_X(C: out Coord;x_new : Integer) is begin C.x := x_new; end; ...
1,078
ada
1
LaudateCorpus1/RosettaCodeData
Task/OpenGL/Ada/opengl.ada
<gh_stars>1-10 with Lumen.Window; with Lumen.Events; with Lumen.Events.Animate; with GL; with GLU; procedure OpenGL is The_Window : Lumen.Window.Handle; Program_Exit : Exception; -- simply exit this program procedure Quit_Handler (Event : in Lumen.Events.Event_Data) is begin raise Program_Exit;...
1,079
ada
1
mimo/Tracker
surface.ads
<filename>surface.ads with raylib; package Surface is type Actor is interface; procedure Setup (ctxt : in out Actor) is abstract; procedure Update (ctxt : in out Actor ; dt : Float) is abstract; type Reference is access Actor'class; type Actor_Stack is array (Positive range <>) of Reference; type...
1,080
ada
25
thierr26/ada-keystore
src/keystore.adb
<reponame>thierr26/ada-keystore ----------------------------------------------------------------------- -- keystore -- Ada 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 in compliance wit...
1,081
ada
192
rocher/Ada_Drivers_Library
components/src/camera/OV7725/ov7725.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
1,082
ada
5
HeisenbugLtd/flac-ada
sources/flac-debug.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...
1,083
ada
1
stcarrez/helios
src/helios-reports-files.ads
<filename>src/helios-reports-files.ads<gh_stars>1-10 ----------------------------------------------------------------------- -- helios-reports-files -- Write reports in files -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may...
1,084
ada
2
skordal/cupcake
src/cupcake-windows.ads
-- The Cupcake GUI Toolkit -- (c) <NAME> 2012 <<EMAIL>> -- Report bugs and issues on <http://github.com/skordal/cupcake/issues> -- vim:ts=3:sw=3:et:si:sta with Cupcake.Colors; with Cupcake.Primitives; with Cupcake.Backends; private with Ada.Containers.Doubly_Linked_Lists; package Cupcake.Windows is -- Norma...
1,085
ada
2
thindil/tashy2
tests/tk-bind-test_data-tests.ads
<gh_stars>1-10 -- 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 Tk.Bind.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Tk.Bind.Test_Data .T...
1,086
ada
1
Fabien-Chouteau/samd51-hal
src/drivers/usb_u2222/sam-usb.adb
<reponame>Fabien-Chouteau/samd51-hal ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- ...
1,087
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f1/stm32f103xx/svd/stm32_svd-dac.ads
-- 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.DAC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_EN1_Field is STM32_SVD.Bit; ...
1,088
ada
0
optikos/oasis
source/nodes/program-nodes-assignment_statements.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Assignment_Statements; with Program.Element_Visitors; package ...
1,089
ada
11
reznikmm/ada_lsp
source/server/ada_lsp-contexts.adb
<filename>source/server/ada_lsp-contexts.adb -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Incr.Version_Trees; with Ada_LSP.Completion_Tokens; package body Ada_LSP.Contexts is type Versio...
1,090
ada
26
damaki/libkeccak
src/common/keccak-types.ads
------------------------------------------------------------------------------- -- Copyright (c) 2019, <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 s...
1,091
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.0.1/wisitoken-parse-lr-parser_no_recover.adb
-- Abstract : -- -- See spec. -- -- Copyright (C) 2002 - 2005, 2008 - 2015, 2017 - 2019 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under the terms of the GNU General Public License -- a...
1,092
ada
204
spr93/whitakers-words
src/support_utils/support_utils-addons_package-tackon_entry_io.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
1,093
ada
0
vivianjia123/Password-Manager
Assignment/obj/b__main.ads
<gh_stars>0 pragma Warnings (Off); pragma Ada_95; with System; with System.Parameters; with System.Secondary_Stack; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Import (C, gnat_argv); pragma Import (C, gnat_envp...
1,094
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/table.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,095
ada
6
My-Colaborations/ada-servlet
src/servlet-rest-definition.ads
----------------------------------------------------------------------- -- servlet-rest-definition -- REST API Definition -- Copyright (C) 2016 <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 Lice...
1,096
ada
0
Holt59/Ada-SDL
body/ada/game.adb
<reponame>Holt59/Ada-SDL<gh_stars>0 -------------------------------------------- -- -- -- PACKAGE GAME - PARTIE ADA -- -- -- -- GAME.ADB -- -- -- -- Gesti...
1,097
ada
33
ytomino/drake
source/numerics/a-nscoar.ads
<reponame>ytomino/drake pragma License (Unrestricted); with Ada.Numerics.Generic_Complex_Arrays; with Ada.Numerics.Short_Complex_Types; with Ada.Numerics.Short_Real_Arrays; package Ada.Numerics.Short_Complex_Arrays is new Generic_Complex_Arrays (Short_Real_Arrays, Short_Complex_Types); pragma Pure (Ada.Numerics.Shor...
1,098
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/access_test.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/access_test.adb -- { dg-do run } procedure Access_Test is type T1 is tagged null record; procedure Proc_1 (P : access T1'Class) is type Ref is access T1'Class; X : Ref := new T1'Class'(P.all); -- Should always work (no exception) begin ...
1,099
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/g-socket.ads
<filename>llvm-gcc-4.2-2.9/gcc/ada/g-socket.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...