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
29,900
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_spark.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,901
ada
0
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/private2_pkg.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/private2_pkg.ads package Private2_Pkg is type Rec2 (D : Natural) is private; private type Rec1 (D : Natural) is null record; type Rec2 (D : Natural) is new Rec1 (D); end Private2_Pkg;
29,902
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sorting-algorithms-Bogosort/Ada/sorting-algorithms-bogosort.ada
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Discrete_Random; procedure Test_Bogosort is generic type Ordered is private; type List is array (Positive range <>) of Ordered; with function "<" (L, R : Ordered) return Boolean is <>; procedure Bogosort (Data : in out List); ...
29,903
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/par-ch3.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,904
ada
12
TUM-EI-RCS/StratoX
tests/dispatch/ulog-gps.adb
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- Author: <NAME> (<EMAIL>) with Ada.Text_IO; -- TODO: remove -- @summary -- implements ULOG GPS message package body ULog.GPS with SPARK_Mode is overriding procedure Get_Serializa...
29,905
ada
0
optikos/oasis
source/oasis/program-elements-object_access_types.ads
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Access_Types; with Program.Lexical_Elements; with Program.Elements.Subtype_Indications; package Program....
29,906
ada
2
skordal/ada-regex
tests/regex_test_suite.adb
<reponame>skordal/ada-regex<gh_stars>1-10 -- Ada regular expression library -- (c) <NAME> 2020-2021 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> with Regex_Test_Cases; with AUnit.Test_Caller; package body Regex_Test_Suite is package Regex_Test_Caller is new AUnit.Test_Caller (R...
29,907
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt21_pkg.ads
<gh_stars>1-10 with System; package Opt21_Pkg is type R is record Ptr : System.Address := System.Null_Address; end record; type Obj is access all R; function Get_Object (Object : not null access R) return System.Address; function Convert (W : Obj) return System.Address; end Opt21_Pkg;
29,908
ada
52
onox/orka
orka/src/orka/windows/orka-os.ads
<reponame>onox/orka -- 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/li...
29,909
ada
24
svn2github/matreshka
tools/aflex/src/ecs.adb
<gh_stars>10-100 -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by <NAME> of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyrigh...
29,910
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43208a.ada
-- C43208A.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...
29,911
ada
0
reznikmm/gela
source/nodes/program-nodes-elsif_expression_paths.ads
<filename>source/nodes/program-nodes-elsif_expression_paths.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Elsif_Expression_Pa...
29,912
ada
1,823
Elon143/Amass
resources/scripts/cert/crtsh.ads
<reponame>Elon143/Amass -- Copyright 2021 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "Crtsh" type = "cert" function start() set_rate_limit(3) end function vertical(ctx, domain) local vurl ...
29,913
ada
192
rocher/Ada_Drivers_Library
components/src/motion/ak8963/ak8963.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
29,914
ada
0
simonjwright/VL53L1X
ada/stddef_h.ads
<reponame>simonjwright/VL53L1X pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with System; package stddef_h is -- unsupported macro: NULL __null -- arg-macro: procedure offsetof (TYPE, MEMBER) -- __builtin_offsetof (TYPE, MEMBER) subtype ptrdi...
29,915
ada
192
rocher/Ada_Drivers_Library
boards/native/src/filesystem-native.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- -- -- ...
29,916
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_discr1_pkg1.ads
with Pointer_Discr1_Pkg2; package Pointer_Discr1_Pkg1 is type Arr is array (1..4) of Pointer_Discr1_Pkg2.T_WINDOW; Window : Arr; end Pointer_Discr1_Pkg1;
29,917
ada
0
Roldak/OpenGLAda
deps/gid/gid-decoding_jpg.ads
private package GID.Decoding_JPG is use JPEG_defs; type JPEG_marker is ( SOI , -- Start Of Image -- SOF_0 , -- Start Of Frame - Baseline DCT SOF_1 , -- Extended sequential DCT SOF_2 , -- Progressive DCT SOF_3 , -- Lossless (sequential) SOF_5 , -- ...
29,918
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/comms/uxas-comms-lmcp_net_client.ads
<reponame>VVCAS-Sean/OpenUxAS -- see OpenUxAS\src\Communications\LmcpObjectNetworkClientBase.h with DOM.Core; with AVTAS.LMCP.Object; use AVTAS.LMCP.Object; with UxAS.Comms.Data.LMCP_Messages; use UxAS.Comms.Data.LMCP_Messages; with UxAS.Comms.LMCP_Object_Message_Sender_Pipes; use UxAS.Comms.LMCP_O...
29,919
ada
52
onox/orka
orka_plugin_gltf/src/orka-gltf.ads
<filename>orka_plugin_gltf/src/orka-gltf.ads -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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 -- -- ...
29,920
ada
1
LaudateCorpus1/RosettaCodeData
Task/Parsing-RPN-to-infix-conversion/Ada/parsing-rpn-to-infix-conversion-1.ada
type Priority is range 1..4; type Infix is record Precedence : Priority; Expression : Unbounded_String; end record; package Expression_Stack is new Generic_Stack (Infix); use Expression_Stack; function Convert (RPN : String) return String is Arguments : Stack; procedure Pop ...
29,921
ada
192
rocher/Ada_Drivers_Library
examples/shared/serial_ports/src/demo_serial_port_streaming.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
29,922
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/threadwin.adb
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the ...
29,923
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch6.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,924
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/exceptions.adb
-- -- Jan & <NAME>, Australia, July 2011 -- with Ada.Task_Identification; use Ada.Task_Identification; with Ada.Text_IO; use Ada.Text_IO; package body Exceptions is procedure Show_Exception (Exception_Identifier : Exception_Occurrence; Optional_Message : String := "") i...
29,925
ada
1
LaudateCorpus1/RosettaCodeData
Task/Loop-over-multiple-arrays-simultaneously/Ada/loop-over-multiple-arrays-simultaneously.ada
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; procedure Array_Loop_Test is type Array_Index is range 1..3; A1 : array (Array_Index) of Character := "abc"; A2 : array (Array_Index) of Character := "ABC"; A3 : array (Array_Index) of Integer := (1, 2, 3); begin for Index in Array_Index'Range loop ...
29,926
ada
5
onox/wayland-ada
wayland_ada_scanner/src/aida/aida-deepend-xml_dom_parser.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 - 2019 <NAME> <<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/LICE...
29,927
ada
0
reznikmm/gela
source/oasis/program-elements-signed_integer_types.ads
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Type_Definitions; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Signed_Integer_...
29,928
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0024.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
29,929
ada
3
charlie5/aIDE
applet/aide/source/palettes/aide-palette.adb
<gh_stars>1-10 package body aIDE.Palette is procedure dummy is begin null; end dummy; end aIDE.Palette;
29,930
ada
0
jpuente/Temperature_Sensor
src/mqtt.ads
<reponame>jpuente/Temperature_Sensor ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- ...
29,931
ada
0
ekoeppen/MSP430_Generic_Ada_Drivers
common/cbor_codec.ads
<reponame>ekoeppen/MSP430_Generic_Ada_Drivers with Interfaces; use Interfaces; generic with procedure Write (Data : Unsigned_8); with function Read return Unsigned_8; package CBOR_Codec is pragma Preelaborate; type Major_Type is (Unsigned_Integer, Negative_Integer, Byte_String, UTF8_String, Item_...
29,932
ada
0
Letractively/ada-awa
awa/plugins/awa-workspaces/src/model/awa-workspaces-models.adb
----------------------------------------------------------------------- -- AWA.Workspaces.Models -- AWA.Workspaces.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://...
29,933
ada
0
Tim-Tom/project-euler
Ada/src/Problem_51.adb
with Ada.Text_IO; with Ada.Containers.Ordered_Maps; with PrimeUtilities; package body Problem_51 is package IO renames Ada.Text_IO; type Number_Range is new Integer range 0 .. 999_999_999; type Converted_Range is new Integer range 0 .. Integer(Number_Range'Last + 1)*11/10; type Magnitude is new Positive ra...
29,934
ada
0
Letractively/ada-gen
src/gnat/mlib-tgt.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,935
ada
1
jweese/Ada_Vent_19
lib/space_image_format.adb
<reponame>jweese/Ada_Vent_19 with Ada.Text_IO; package body Space_Image_Format is procedure Get_Pixel(P: out Pixel) is C: Character; begin Ada.Text_IO.Get(C); P := Pixel(C); end Get_Pixel; procedure Get_Layer(L: out Layer) is begin for Row in Height_Range loop for Col i...
29,936
ada
0
Chester-Gillon/ibv_message_parsing
ibv_message_passing_ada_project/source/ibv_message_overlay_gdb_test/ibv_message_overlay_gdb_test.adb
-- @file ibv_controller_process_main.adb -- @date 13 May 2018 -- @author <NAME> -- @details Example program created to demonstrate a GDB crash when using: -- - Eclipse Oxygen 4.7.3a -- - GNATbench Integration with CDT 2.8.1.20140109 -- - GNAT GPL 2017 -- - GDB 7.10 (in the GNAT GPL i...
29,937
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95086e.ada
-- C95086E.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...
29,938
ada
0
Fabien-Chouteau/libriscv
src/libriscv-sim-log.adb
<reponame>Fabien-Chouteau/libriscv<filename>src/libriscv-sim-log.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, <NAME> -- -- ...
29,939
ada
23
TejasAvinashShetty/code2tex
hello_worlds/ADA.ada
with Ada.Text_Io; procedure Hello_World is begin Ada.Text_Io.Put_Line("Hello World!"); end;
29,940
ada
18
kraileth/ravenadm
src/portscan-packager.adb
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with File_Operations; with PortScan.Log; with Parameters; with Unix; with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Text_IO; package body PortScan.Packager is package FOP renames File_Operations; ...
29,941
ada
1
Hathoute/ENSEEIHT
PIM/Projet/src/lca.ads
<gh_stars>1-10 with SDA_Exceptions; use SDA_Exceptions; -- Définition de structures de données associatives sous forme d'une liste -- chaînée associative (LCA). generic type T_Cle is private; type T_Donnee is private; package LCA is type T_LCA is private; -- Initialiser une Sda. La Sda est vide. procedure Ini...
29,942
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-extends.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
29,943
ada
4
reznikmm/jupyter
examples/hello_world/hello_world.adb
<reponame>reznikmm/jupyter<gh_stars>1-10 -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.JSON.Values; package body Hello_World is function "+" (Text : Wide_Wide_String) return League.Strings.Univ...
29,944
ada
1
faelys/natools-web
src/natools-web-reload_pages.adb
<reponame>faelys/natools-web<filename>src/natools-web-reload_pages.adb ------------------------------------------------------------------------------ -- Copyright (c) 2015, <NAME> -- -- -- -- Permission to us...
29,945
ada
0
reznikmm/webidl
source/lexer/generated/webidl-scanners-on_accept.adb
<reponame>reznikmm/webidl<gh_stars>0 separate (WebIDL.Scanners) procedure On_Accept (Self : not null access WebIDL.Scanner_Handlers.Handler'Class; Scanner : not null access WebIDL.Scanners.Scanner'Class; Rule : WebIDL.Scanner_Types.Rule_Index; Token : out WebIDL.Tokens.Token_Kind; Skip : in out...
29,946
ada
4
faelys/gela-asis
source/libgela/gela-source_buffers.ads
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
29,947
ada
6
adnio/Ada_Drivers_Library
arch/ARM/Nordic/drivers/nrf51-temperature.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
29,948
ada
0
sciencylab/lagrangian-solver
drivers/ad_test.adb
<gh_stars>0 with Numerics, Numerics.Sparse_Matrices, Auto_Differentiation, Ada.Text_IO; use Numerics, Numerics.Sparse_Matrices, Auto_Differentiation, Ada.Text_IO; -- with Forward_AD, Forward_AD.Hamiltonian, Ada.Text_IO, Numerics; -- use Forward_AD, Forward_AD.Hamiltonian, Ada.Text_IO, Numerics; procedure AD_Test i...
29,949
ada
2
reznikmm/webdriver
source/webdriver-elements.adb
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body WebDriver.Elements is --------------- -- Send_Keys -- --------------- procedure Send_Keys (Self : access Element'Class;...
29,950
ada
3
daveshields/AdaEd
bugs/bug04.ada
generic package gene is end gene; with text_io; package body gene is -- Different error message with/without line below commented out --package flt_io is new text_io.float_io(float); procedure test is begin text_io.new_line; end; end gene; with gene; procedure bug1 is package my_pkg is new ge...
29,951
ada
1
io7m/coreland-opengl-ada
opengl.ads
<gh_stars>1-10 package OpenGL is pragma Pure (OpenGL); end OpenGL;
29,952
ada
5
jhumphry/SPARK_SipHash
src/general-provable/siphash-general_spark.ads
-- SipHash.General_SPARK -- Implementing SipHash over a general private type -- Copyright (c) 2015, <NAME> - see LICENSE file for details with Integer_Storage_IO; -- This generic function will calculate SipHash for any private type of definite -- size generic type T is private; type Hash_Type is mod <>; Buf...
29,953
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/unzip/unzip-decompress-huffman.ads
<filename>Sources/Globe_3d/unzip/unzip-decompress-huffman.ads -- UnZip.Decompress.Huffman --------------------------- -- Huffman tree generation and deletion. -- Originally from info - zip's unzip, data structure rewritten by <NAME> private package UnZip.Decompress.Huffman is type HufT_table; type p_Hu...
29,954
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34011b.ada
-- C34011B.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...
29,955
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/stm32_common/sdram/stm32-sdram.ads
<gh_stars>10-100 with System; package STM32.SDRAM is procedure Initialize; function Base_Address return System.Address; function Reserve (Amount : Word; Align : Word := Standard'Maximum_Alignment) return System.Address; end STM32.SDRAM;
29,956
ada
0
mstewartgallus/linted
src/linted-drawer/src/linted-drawer.adb
<reponame>mstewartgallus/linted -- 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 b...
29,957
ada
0
thierr26/ada-apsepp
src/apsepp-abstract_test_case.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class; package Apsepp.Abstract_Test_Case is type Test_Routine_Array is array (Test_Routine_Index range <>) of Test_Routi...
29,958
ada
3
stcarrez/ada-css
src/css-core.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- css-core -- Core CSS API definition -- 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 the ...
29,959
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32l0/stm32gd-usart-irq.ads
with Ada.Interrupts; with STM32_SVD.USART; with STM32_SVD; use STM32_SVD; generic with package USART is new STM32GD.USART.Peripheral (<>); IRQ : Ada.Interrupts.Interrupt_ID; package STM32GD.USART.IRQ is procedure Init; protected IRQ_Handler is entry Wait; private procedure Handler; ...
29,960
ada
0
My-Colaborations/ada-util
regtests/util-streams-buffered-tests.adb
----------------------------------------------------------------------- -- streams.buffered.tests -- Unit tests for buffered streams -- Copyright (C) 2010, 2011, 2017, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
29,961
ada
1
LaudateCorpus1/RosettaCodeData
Task/Substring/Ada/substring-1.ada
type String is array (Positive range <>) of Character;
29,962
ada
33
ytomino/drake
source/tasking/a-csquin.ads
pragma License (Unrestricted); -- Ada 2012 generic type Element_Type is private; package Ada.Containers.Synchronized_Queue_Interfaces is pragma Pure; type Queue is synchronized interface; procedure Enqueue ( Container : in out Queue; New_Item : Element_Type) is abstract with Synchroniza...
29,963
ada
17
jrmarino/ravensource
bucket_34/gnatstudio/patches/patch-kernel_src_gtkada-search__entry.adb
<filename>bucket_34/gnatstudio/patches/patch-kernel_src_gtkada-search__entry.adb --- kernel/src/gtkada-search_entry.adb.orig 2021-06-18 05:08:58 UTC +++ kernel/src/gtkada-search_entry.adb @@ -21,13 +21,13 @@ with Gtk.Style_Context; use Gtk.Style_C with Gtk.Widget; use Gtk.Widget; with Gtkada.Handlers; use...
29,964
ada
32
robdaemon/AdaYaml
src/interface/yaml-dom-vectors.ads
<reponame>robdaemon/AdaYaml -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Containers.Indefinite_Vectors; package Yaml.Dom.Vectors is new Ada.Containers.Indefinite_Vectors (Positive, Document_Reference);
29,965
ada
1
Jellix/open_weather_map_api
src/open_weather_map-city_ids.ads
<filename>src/open_weather_map-city_ids.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, Versi...
29,966
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/a-intnam__zynqmp.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
29,967
ada
4
faelys/gela-asis
source/libgela/gela-hash-sha-b512.adb
<reponame>faelys/gela-asis ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
29,968
ada
12
jquorning/ada-asf
src/asf-converters-sizes.adb
<reponame>jquorning/ada-asf<gh_stars>10-100 ----------------------------------------------------------------------- -- asf-converters-sizes -- Size converter -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use th...
29,969
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/prompts/040_statements/main.adb
<filename>courses/fundamentals_of_ada/labs/prompts/040_statements/main.adb with Ada.Text_IO; use Ada.Text_IO; procedure Main is type Days_Of_Week_T is (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday); type Hours_Worked is digits 6; Total_Worked : Hours_Worked := 0.0; Hours_Today : Hou...
29,970
ada
7
Irvise/Ada_Scheme_Example
src/scheme_test.ads
<reponame>Irvise/Ada_Scheme_Example with Ada.Text_IO; use Ada.Text_IO; with Interfaces.C; use Interfaces.C; package Scheme_Test is procedure Adainit; pragma Import (C, AdaInit); procedure Adafinal; pragma Import (C, AdaFinal); function Hello_Ada(Num : Int) return Int with Export => True,...
29,971
ada
11
reznikmm/ada_lsp
tests/checkers.adb
<filename>tests/checkers.adb -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Streams; with Ada.Characters.Wide_Wide_Latin_1; with League.Stream_Element_Vectors; with League.Strings; with Lea...
29,972
ada
79
Roldak/OpenGLAda
tests/text/text_test.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" package Text_Test is pragma Pure; end Text_Test;
29,973
ada
0
jfitz/code-stat
test/data/Ada-83/signup.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Exceptions; use Ada.Exceptions; procedure Checkpres is -- input file: signups People : File_Type; -- output files: times.html, names.html Times : File_Type; Pos, Lno : Integer := 0; Buf : String (1 .. 102...
29,974
ada
17
jrmarino/ravensource
bucket_7E/matreshka/patches/patch-tools_configure_configure-tests-postgresql.adb
--- tools/configure/configure-tests-postgresql.adb.orig 2011-12-27 08:20:56 UTC +++ tools/configure/configure-tests-postgresql.adb @@ -187,7 +187,7 @@ package body Configure.Tests.PostgreSQL (PostgreSQL_Library_Options, +"""-L" & Self.Switches.Libdir - & ""...
29,975
ada
0
hfegran/efx32_ada_examples
ada-blinky-full/src/morse.adb
<reponame>hfegran/efx32_ada_examples package body Morse is Dot_Duration : constant Time_Span := Milliseconds(100); Dash_Duration : constant Time_Span := Milliseconds(200); procedure Blink_Morse(LED: Led_No; Led_Color : Color; Duration : Time_Span) is Timeout : Time := Clock; begin Led_Set(...
29,976
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/pixracer_v1/hil/hil-timers.adb
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> (<EMAIL>> with STM32.Timers; use STM32.Timers; with System.OS_Interface; -- @summary -- Target-specific implementation of HIL for Timers. Pixracer. package body HIL.Timers wi...
29,977
ada
17
WinterAlexander/Ada-IntelliJ
src/main/resources/project-templates/ajis_hello/src_ada/hello.ads
package Hello is type Printer is abstract tagged null record; procedure Print_On_Console (P : Printer; V : String) is abstract; type Ada_Printer is new Printer with null record; procedure Print_On_Console (P : Ada_Printer; V : String); procedure Print_Messages (P : Printer'Class); end Hello;
29,978
ada
1
Fabien-Chouteau/tiled-code-gen
src/tcg-outputs-pdf.adb
<filename>src/tcg-outputs-pdf.adb ------------------------------------------------------------------------------ -- -- -- tiled-code-gen -- -- ...
29,979
ada
0
Fabien-Chouteau/offmt-tool
src/offmt_lib-fmt_data-unsigned_generic.adb
with Ada.Text_IO; with Ada.Strings.Fixed; with System.Storage_Elements; use System.Storage_Elements; package body Offmt_Lib.Fmt_Data.Unsigned_Generic is Size_In_Bytes : constant Natural := T'Size / 8; package T_IO is new Ada.Text_IO.Modular_IO (T); function Image (Val : T; Kind : Format_Kind) return String...
29,980
ada
0
cortlandstarrett/mcada
example_relationships/src/many_to_many_associative.ads
<gh_stars>0 -- ************************************************************************************* -- -- 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...
29,981
ada
24
svn2github/matreshka
source/web/servlet/servlet-responses.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
29,982
ada
0
ekoeppen/MSP430_Generic_Ada_Drivers
apps/bootloader/memory.ads
<reponame>ekoeppen/MSP430_Generic_Ada_Drivers with System; use System; with Interfaces; use Interfaces; package Memory is Flash_Start : Unsigned_16 with Import, Convention => Asm, External_Name => "__flash_start"; Flash_Size : Unsigned_16 with Import, Convention => Asm, External_Name => "__flash_size"...
29,983
ada
0
balintsoos/LearnAda
gyak/gyak1-2/signof.adb
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Mat; -- use Mat; procedure signOf is N : Integer; begin Get( N ); Put( Mat.signof(N)); end signOf;
29,984
ada
32
robdaemon/AdaYaml
src/implementation/yaml-presenter-analysis.adb
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package body Yaml.Presenter.Analysis is function Features (S : String) return Scalar_Features is Pos : Positive := S'First; Cur : Character; Cur_Word_Length : Natural := 0; Cur_Li...
29,985
ada
0
persan/a-libpcap
src/gen/pcap-low_level-pcap_pcap_h.ads
-- begin read only pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings (Off); -- Since this is automaticly generated with Interfaces.C; use Interfaces.C; with PCAP.Low_Level.pcap_bpf_h; with System.Linux; with Interfaces.C.Strings; with System; limited with Interfaces.C_Streams; package PCAP.Low_Level.pcap...
29,986
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/objects/globe_3d-tri_mesh-vbo.adb
pragma Warnings (Off); pragma Style_Checks (Off); with GLOBE_3D.Options, GLOBE_3D.Textures, GLOBE_3D.Math; with GL.Buffer.vertex; with GL.Buffer.indices; with GL.Buffer.texture_coords; with Ada.Exceptions; use Ada.Exceptions; with ada.text_io; use ada.text_io; with ada.unchecked_Conversio...
29,987
ada
10
LionelDraghi/smk
src/smk-runs-must_be_run.adb
<reponame>LionelDraghi/smk -- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- --...
29,988
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Graphics/graphics_framerates.adb
-- -- Jan & <NAME>, Australia, July 2011 -- package body Graphics_FrameRates is type Ring_Ix is mod Smoothing_Buffer_Size; Smoothing_Buffer : array (Ring_Ix) of Time_Span := (others => Seconds (1)); Smoothing_Buffer_Ix : Ring_Ix := Ring_Ix'First; Last_Call_To_Limiter : Time := Clock; Last...
29,989
ada
1
LaudateCorpus1/RosettaCodeData
Task/Substring/Ada/substring-2.ada
<gh_stars>1-10 A (<first-index>..<last-index>)
29,990
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/s-stoele.ads
<filename>tools-src/gnu/gcc/gcc/ada/s-stoele.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,991
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-model.ads
<reponame>jrcarter/Ada_GUI<gh_stars>10-100 -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
29,992
ada
24
svn2github/matreshka
source/amf/mof/amf-internals-listener_registry.adb
<filename>source/amf/mof/amf-internals-listener_registry.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
29,993
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_select_accept.adb
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_select_accept.adb ----------------------------------------------------------- -- This program asks the user to enter a character, -- preferably a 'c' or a 't'. The resultant behavior -- (conditional or timed) depends on the characte...
29,994
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array18_pkg.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array18_pkg.ads package Array18_Pkg is function N return Positive; subtype S is String (1 .. N); function F return S; end Array18_Pkg;
29,995
ada
6
darkestkhan/cbap
tests/src/cbap_inputs_detection.adb
pragma License (GPL); ------------------------------------------------------------------------------ -- EMAIL: <<EMAIL>> -- -- License: GNU GPLv3 or any later as published by Free Software Foundation -- -- (see COPYING file) ...
29,996
ada
0
My-Colaborations/ada-asf
src/asf-views-facelets.ads
----------------------------------------------------------------------- -- asf-views-facelets -- Facelets representation and management -- Copyright (C) 2009, 2010, 2011, 2014, 2015, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use ...
29,997
ada
0
soerenbnoergaard/adventofcode2020
day01/main.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Main is Target: constant Integer := 2020; Puzzle_Input: constant array (1 .. 200) of Integer := ( 2000, 50, 1984, 1600, 1736, 1572, 2010, 1559, 1999, 1764, 1808, 1745, 1343, 1495, 1860, 1977, 1981, ...
29,998
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/g-sechas.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
29,999
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32f103/stm32_svd-wwdg.ads
<reponame>morbos/Ada_Drivers_Library -- This spec has been automatically generated from STM32F103.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.WWDG is pragma Preelaborate; --------------- -- Registers -- ------------...