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
4,800
ada
0
balintsoos/LearnAda
gyak/gyak8/sor/Linked_List_Pkg.ads
generic type Elem is (<>); package Linked_List_Pkg is type Linked_List is limited private; type Vertex is private; Empty_Linked_List : exception; procedure Push( L : in out Linked_List; E : in Elem ); procedure Pop( L : in out Linked_List; E : out Elem ); --...
4,801
ada
3
daveshields/AdaEd
bugs/bug02.ada
<gh_stars>1-10 PACKAGE TTY IS PROCEDURE OutS; END TTY; PACKAGE BODY TTY IS PROCEDURE OutS is BEGIN null; END OutS; END TTY; WITH TTY; PROCEDURE Test IS PACKAGE IO RENAMES TTY; BEGIN IO.OutS; END Test;
4,802
ada
24
svn2github/matreshka
source/amf/uml/amf-umldi-holders.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,803
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/controlled1_pkg.ads
<reponame>best08618/asylo -- { dg-excess-errors "no code generated" } package Controlled1_Pkg is function Value return Natural; end Controlled1_Pkg;
4,804
ada
1
lkujaw/ada-blake2
b2stest/spark_io.adb
<reponame>lkujaw/ada-blake2 ----------------------------------------------------------------------- -- Copyright 2012 Altran Praxis Limited -- -- Copyright 2021 <NAME> -- -- -- -- ...
4,805
ada
1
theunifai/unifai-sdk
clients/ada/src/model/-models.adb
<gh_stars>1-10 -- FastAPI -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- The version of the OpenAPI document: 0.1.0 -- -- -- NOTE: This package is auto generated by OpenAPI-Generator 4.0.0. -- https://openapi-generator.tech -- Do not edit the ...
4,806
ada
2
stcarrez/ada-mail
src/mail-parsers.adb
<reponame>stcarrez/ada-mail ----------------------------------------------------------------------- -- mail-parsers -- Parse mail content -- 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 complian...
4,807
ada
18
jquorning/ada-wiki
src/wiki-streams-html-text_io.ads
<reponame>jquorning/ada-wiki ----------------------------------------------------------------------- -- wiki-streams-html-text_io -- Wiki HTML output stream on Ada Text_IO -- Copyright (C) 2016, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ...
4,808
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-brapre.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,809
ada
0
reznikmm/slimp
source/slim-message_visiters.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Messages.ANIC; with Slim.Messages.BUTN; with Slim.Messages.DSCO; with Slim.Messages.HELO; with Slim.Messages.IR; with Slim.Messages.META; wit...
4,810
ada
0
reznikmm/gps-tracker
source/receiver/main/bluetooth.ads
-- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- -- Generic module for Bluetooth Low Energy, Peripheral role. -- Byte array type is provided as a formal parameters. -- Enumeration if provided for supported characteris...
4,811
ada
0
reznikmm/declarative-regions
source/regions/regions-shared_hashed_maps.adb
<reponame>reznikmm/declarative-regions with Ada.Unchecked_Deallocation; package body Regions.Shared_Hashed_Maps is -- pragma Compile_Time_Warning -- (Hash_Type'Modulus = 2 ** Hash_Type'Size, "Unexpected hash type"); procedure Free is new Ada.Unchecked_Deallocation (Node, Node_Access); function Pop_C...
4,812
ada
0
balintsoos/LearnAda
gyak/gyak8/get_discreet.ads
generic type Element is (<>); function Get_Discreet return Element;
4,813
ada
13
annexi-strayline/AURA
progress.ads
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
4,814
ada
0
oysteinlondal/Inverted-Pendulum
pid_functionality.ads
<reponame>oysteinlondal/Inverted-Pendulum<filename>pid_functionality.ads with Type_Lib; use Type_Lib; package PID_Functionality is -- Procedures procedure Position_Controller (K_PP : in Float; Pos_Error : in Float; Vel_Ref : out Float); procedure Velocity_Controller (K_PV : in Float; Vel_Error : i...
4,815
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95021a.ada
-- C95021A.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...
4,816
ada
33
ytomino/drake
source/directories/machine-w64-mingw32/s-natcre.ads
pragma License (Unrestricted); -- implementation unit specialized for Windows package System.Native_Credentials is pragma Preelaborate; function User_Name return String; end System.Native_Credentials;
4,817
ada
2
charlie5/cBound
tier-1/fann/source/thin/fann_c.ads
<gh_stars>1-10 -- This file is generated by SWIG. Please do *not* modify by hand. -- with interfaces.c; with swig; with interfaces.C; package fann_c is -- FILE -- subtype FILE is swig.opaque_structure; type FILE_array is array (interfaces.C.Size_t range <>) of aliased fann_c.FILE; -- fann_type ...
4,818
ada
20
charlie5/lace
3-mid/opengl/source/lean/renderer/opengl-impostor-terrain.adb
with openGL.Camera, openGL.Texture, ada.unchecked_Deallocation; package body openGL.Impostor.terrain is overriding procedure set_Target (Self : in out Item; Target : in openGL.Visual.view) is begin set_Target (openGL.impostor.item (Self), Target); -- Base class call. Sel...
4,819
ada
8
darkestkhan/lumen
src/teapot.ads
<reponame>darkestkhan/lumen<gh_stars>1-10 -- Teapot -- Produces a Newell teapot, also known as a Utah teapot, an iconic -- object in computer graphics history -- -- <NAME>, NiEstu, Phoenix AZ, Spring 2012 -- This code is covered by the ISC License: -- -- Copyright © 2012, NiEstu -- -- Permission to use, cop...
4,820
ada
1
TNO/Rejuvenation-Ada
src/rejuvenation.ads
<reponame>TNO/Rejuvenation-Ada<filename>src/rejuvenation.ads with Ada.Containers; use Ada.Containers; with Ada.Containers.Vectors; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; package Rejuvenation is type Node_Kind_Type_Array is array (N...
4,821
ada
1
Jellix/open_weather_map_api
test/linux/signal_handlers.adb
<reponame>Jellix/open_weather_map_api<gh_stars>1-10 -------------------------------------------------------------------------------- -- 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 Licens...
4,822
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43003a.ada
-- C43003A.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...
4,823
ada
20
charlie5/lace
3-mid/opengl/source/lean/geometry/opengl-primitive-long_indexed.ads
private with openGL.Buffer.long_indices; package openGL.Primitive.long_indexed -- -- Provides a class for long indexed openGL primitives. -- is type Item is limited new Primitive.item with private; subtype Class is Item'Class; type View is access all Item'class; type Views is array (Index...
4,824
ada
5
docandrew/troodon
include/fttypes.ads
<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with freetype_config_integer_types; with System; with stddef_h; package fttypes is -- arg-macro: function FT_MAKE_TAG (_x1, _x2, _x3, _x4) -- return FT_Tag) ( ( (FT_ULong)_x1 << 24 ) or ( (FT_ULong)_x2 << 16 ) o...
4,825
ada
4
davidkristola/vole
kv-avm-code_buffers.ads
with Ada.Strings.Unbounded; package kv.avm.Code_Buffers is type Buffer_Type is tagged private; procedure Put_Meta (Self : in out Buffer_Type; Data : in String); procedure Put_Instruction (Self : in out Buffer_Type; Data : in String); procedure Put_Comment (Self :...
4,826
ada
24
svn2github/matreshka
source/web/tools/a2js/properties-expressions-indexed_component.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,827
ada
50
avanish001/hello-world-1
Ada/hello_world.adb
<gh_stars>10-100 with Ada.Text_IO; use Ada.Text_IO; procedure Hello_world is begin Put_Line ("Hello World!"); end Hello_world;
4,828
ada
12
TUM-EI-RCS/StratoX
software/config/config.ads
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- Module: Hardware Configuration -- -- Authors: <NAME> (<EMAIL>) -- -- Description: -- Hardware Configuration of the board. with Units; use Units; with Units.Navigation; use Units.Navigation; p...
4,829
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack18.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack18.adb -- { dg-do run } with Pack18_Pkg; use Pack18_Pkg; procedure Pack18 is use Pack18_Pkg.Attributes_Tables; Table : Instance; begin Init (Table); Set_Last (Table, 1); Table.Table (Last (Table)).N := 0; end;
4,830
ada
2
jorge-real/TTS
examples/logging_support.adb
-- pragma Locking_Policy (Ceiling_Locking); with Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; with Epoch_Support; use Epoch_Support; with System; package body Logging_Support is ----------------------------------------...
4,831
ada
24
svn2github/matreshka
source/web/tools/wsdl2ada/wsdl-assertions.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,832
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
apps/nrf24_modem/modem.ads
<reponame>ekoeppen/STM32_Generic_Ada_Drivers package Modem is function Init return Boolean; procedure Error; procedure Run; end Modem;
4,833
ada
0
btmalone/alog
aunit/ada_containers-aunit_lists.adb
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
4,834
ada
1
LaudateCorpus1/RosettaCodeData
Task/Digital-root/Ada/digital-root-2.ada
<gh_stars>1-10 package body Generic_Root is procedure Compute_Root(N: Number; Root, Persistence: out Number; Base: Base_Type := 10) is function Digit_Sum(N: Number) return Number is begin if N < Number(Base) then return N; else ...
4,835
ada
4
davidkristola/vole
kv-avm-vole_parser.adb
with Ada.Text_IO; with Ada.Exceptions; with Text_IO; -- Old style with Vole_Tokens; with Vole_Goto; with Vole_Shift_Reduce; with vole_lex_dfa; with kv.avm.Vole_Lex; with kv.avm.Vole_Tree; with kv.avm.Instructions; with kv.avm.Registers; use Ada.Text_IO; use Ada.Exceptions; use Text_IO; -- Old style use Vole_Tokens; u...
4,836
ada
4
faelys/gela-asis
source/asis/spec/ada-containers-ordered_maps.ads
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
4,837
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-sequio.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,838
ada
0
fintatarta/protypo
src/lib/Generic_Symbol_Table/test/symbol_tables-test.adb
with Symbol_Tables.Generic_Symbol_Table; with Ada.Text_IO; use Ada.Text_IO; procedure Symbol_Tables.Test is package St is new Generic_Symbol_Table (Symbol_Name => ID_Type, Symbol_Value => Integer, Hash => Hash_Id, ...
4,839
ada
60
jquorning/ada-util
src/sys/serialize/xml/util-serialize-io-xml.ads
<filename>src/sys/serialize/xml/util-serialize-io-xml.ads ----------------------------------------------------------------------- -- util-serialize-io-xml -- XML Serialization Driver -- Copyright (C) 2011, 2012, 2016, 2017, 2020, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Ve...
4,840
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-coinho-shared.adb
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
4,841
ada
0
cocolab8/cocktail
reuse/ada/idents.adb
<filename>reuse/ada/idents.adb -- $Id: Idents.mi,v 1.8 1992/06/22 14:23:18 grosch rel $ -- $Log: Idents.mi,v $ -- Ich, <NAME>, Informatiker, Sept. 1994 with DynArray; package body Idents is cNoIdent : constant Integer := 0; InitialTableSize: constant Integer := 512; HashTableSize : constant Integer := 256; typ...
4,842
ada
1
LaudateCorpus1/RosettaCodeData
Task/Stack/Ada/stack-2.ada
with Ada.Unchecked_Deallocation; package body Generic_Stack is ------------ -- Create -- ------------ function Create return Stack is begin return (null); end Create; ---------- -- Push -- ---------- procedure Push(Item : Element_Type; Onto : in out Stack) is Temp : Stack ...
4,843
ada
6
yannickmoy/SPARKZumo
src/drivers/zumo_l3gd20h.ads
<reponame>yannickmoy/SPARKZumo -- pragma SPARK_Mode; with Types; use Types; with Interfaces.C; use Interfaces.C; -- @summary -- Interface to the robots 3-axis gyroscope -- -- @description -- This package exposes the interface to the robot's 3 axis gyroscope -- package Zumo_L3gd20h is -- The gain to apply to...
4,844
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-traent.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
4,845
ada
1
LaudateCorpus1/RosettaCodeData
Task/Classes/Ada/classes-3.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with My_Package; use My_Package; procedure Main is Foo : My_Type; -- Foo is created and initialized to -12 begin Some_Procedure(Foo); -- Foo is doubled Foo := Set(2007); -- Foo.Variable is set to 2007 end Main;
4,846
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f1/stm32gd-spi-peripheral.ads
<filename>stm32f1/stm32gd-spi-peripheral.ads with STM32_SVD.SPI; generic SPI : in out STM32_SVD.SPI.SPI_Peripheral; Data_Size : STM32GD.SPI.SPI_Data_Size := Data_Size_8b; package STM32GD.SPI.Peripheral is pragma Preelaborate; procedure Init; procedure Transfer (Data : in out SPI_Data_8b) with ...
4,847
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-sets.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
4,848
ada
0
Letractively/ada-util
regtests/util-properties-bundles-tests.adb
<filename>regtests/util-properties-bundles-tests.adb ----------------------------------------------------------------------- -- Util -- Utilities -- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
4,849
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl/src/stdint_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package stdint_h is subtype int8_t is signed_char; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/stdint.h:35 subtype uint8_t is unsigned_char; --...
4,850
ada
4
jerry-sky/academic-notebook
electives/pw/lab/lista-2/ada/receiver.ads
with External; use External; package Receiver is task type ReceiverTask(k: Natural) is entry ReceiveMessage; entry Ended; end ReceiverTask; type pReceiverTask is access ReceiverTask; end Receiver;
4,851
ada
0
Letractively/ada-gen
src/gen-commands-plugins.adb
----------------------------------------------------------------------- -- gen-commands-plugins -- Plugin creation and management commands for dynamo -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except...
4,852
ada
15
My-Colaborations/dynamo
src/asis/a4g-stand.adb
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
4,853
ada
6
aeszter/lox-spark
src/lox.adb
with Command_Line; use Command_Line; with SPARK.Text_IO; use SPARK.Text_IO; with Error_Reporter; with Scanners; with Tokens; procedure Lox with SPARK_Mode is procedure Run (Source : String) with Pre => Source'First >= 1 and then Source'Last < Integer'Last; procedure Run_File (Path : String); procedure Run...
4,854
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45282a.ada
-- C45282A.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...
4,855
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with3_pkg2.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with3_pkg2.ads limited with Limited_With3_Pkg3; package Limited_With3_Pkg2 is type T is tagged null record; procedure Proc (X : Limited_With3_Pkg3.TT; Y : T); end Limited_With3_Pkg2;
4,856
ada
4
faelys/gela-asis
source/asis/asis-gela-compilations.ads
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
4,857
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_21.ads
<gh_stars>0 package Problem_21 is procedure Solve; end Problem_21;
4,858
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect1_pkg.ads
package Vect1_Pkg is function K return Integer; function N return Integer; end Vect1_Pkg;
4,859
ada
33
ytomino/drake
source/textio/a-liteio.ads
<reponame>ytomino/drake pragma License (Unrestricted); with Ada.Text_IO; package Ada.Long_Integer_Text_IO is new Text_IO.Integer_IO (Long_Integer);
4,860
ada
0
JeremyGrosser/epoll-ada
src/epoll.adb
-- -- Copyright (C) 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- with GNAT.OS_Lib; with System; package body Epoll is function epoll_create1 (flags : int) return Epoll_Descriptor with Import => True, Convention => C, External_Name => "epoll_create1...
4,861
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-mail/src/awa-mail-components-attachments.ads
----------------------------------------------------------------------- -- awa-mail-components-attachments -- Mail UI Attachments -- 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 ...
4,862
ada
0
thomas070605/shoot-n-loot
src/sound.adb
-- Shoot'n'loot -- Copyright (c) 2020 <NAME> with Interfaces; with VirtAPU; use VirtAPU; with PyGamer.Audio; use PyGamer.Audio; with Music_2; package body Sound is C_32nd : constant Command := (Wait_Ticks, 1); C_16th : constant Command := (Wait_Ticks, C_32nd.Ticks * 2); C_8th : constant Com...
4,863
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/exp_code.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,864
ada
0
reznikmm/webidl
source/context/webidl.ads
<reponame>reznikmm/webidl -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package WebIDL is pragma Pure; end WebIDL;
4,865
ada
24
svn2github/matreshka
testsuite/sql/TN-303/test_303.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,866
ada
8
pvrego/adaino
project/src/avr-watchdog.ads
<gh_stars>1-10 with System; -- ============================================================================= -- Package AVR.WATCHDOG -- -- Implements watchdog mechanisms for the MCU micro-controller. -- ============================================================================= package AVR.WATCHDOG is type Watch...
4,867
ada
1
alire-project/libhello
src/libhello.ads
<filename>src/libhello.ads package libhello is procedure Hello_World; end libhello;
4,868
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-database.ads
<reponame>jrcarter/Ada_GUI<gh_stars>10-100 -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
4,869
ada
33
kqr/qweyboard
src/backends/dummy_platform/input_backend.adb
<filename>src/backends/dummy_platform/input_backend.adb package body Input_Backend is type Key_Array is array (Positive range <>) of Softkey; procedure Chord (Keys : Key_Array) is begin for Key of Keys loop Qweyboard.Softboard.Handle ((Key, Qweyboard.Key_Press)); end loop; for Key o...
4,870
ada
0
JCGobbi/Nucleo-STM32G474RE
ADL/drivers/stm32g474/stm32-sai.ads
<filename>ADL/drivers/stm32g474/stm32-sai.ads ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
4,871
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a32a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a32a.ada -- CD2A32A.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...
4,872
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/drivers/nrf51/nrf-adc.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, AdaCore -- -- -- -- ...
4,873
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/mlib-prj.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,874
ada
1
micahwelf/FLTK-Ada
src/fltk-menu_items.adb
with System, Interfaces.C.Strings, Ada.Unchecked_Conversion; use type System.Address, Interfaces.C.int, Interfaces.C.Strings.chars_ptr; package body FLTK.Menu_Items is function new_fl_menu_item (T : in Interfaces.C.char_array; C : in System.Address; ...
4,875
ada
0
reznikmm/webidl
source/context/webidl-constructors.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with WebIDL.Arguments; with WebIDL.Interface_Members; package WebIDL.Constructors is pragma Preelaborate; type Constructor is limited interface and WebIDL.Int...
4,876
ada
0
Statkus/json-ada
src/json-tokenizers.adb
<reponame>Statkus/json-ada -- 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 -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless req...
4,877
ada
1
stcarrez/babel
src/babel-stores.ads
----------------------------------------------------------------------- -- babel-stores -- Storage management -- Copyright (C) 2014, 2015, 2016 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
4,878
ada
5
jhumphry/SPARK_SipHash
src/siphash.adb
<filename>src/siphash.adb -- SipHash -- an Ada implementation of the algorithm described in -- "SipHash: a fast short-input PRF" -- by <NAME> and <NAME> -- Copyright (c) 2015, <NAME> - see LICENSE file for details with System; package body SipHash with SPARK_Mode, Refined_State => (Initial_Hash_State => Initial_Stat...
4,879
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/sdl_thread_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with umingw_h; with Interfaces.C.Strings; with stddef_h; package SDL_thread_h is -- arg-macro: procedure SDL_CreateThread (fn, name, data) -- SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthrea...
4,880
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-generate-lr-lalr_generate.ads
<filename>.emacs.d/elpa/wisi-3.1.3/wisitoken-generate-lr-lalr_generate.ads -- Abstract : -- -- Generalized LALR parse table generator. -- -- Copyright (C) 2002 - 2003, 2009 - 2010, 2013 - 2015, 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package ...
4,881
ada
3
rogermc2/GA_Ada
ga_lib/src/gl_enums_feedback.ads
<gh_stars>1-10 -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" private with GL.Low_Level; package GL_Enums_Feedback is pragma Preelaborate; type Feed_Back_Mode is (Feed_Back_2D, Feed_back_3D , Color_3D, Color_Texture_3D...
4,882
ada
12
jquorning/ada-asf
src/asf-components-ajax-factory.adb
<filename>src/asf-components-ajax-factory.adb ----------------------------------------------------------------------- -- components-ajax-factory -- Factory for AJAX Components -- Copyright (C) 2011, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
4,883
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/support/tctouch.ada
<reponame>best08618/asylo -- TCTouch.A -- -- 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 contain...
4,884
ada
52
onox/orka
orka_plugin_gltf/src/orka-gltf-accessors.adb
<filename>orka_plugin_gltf/src/orka-gltf-accessors.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at ...
4,885
ada
0
bracke/Meaning
source/RASCAL-ToolboxProgInfo.ads
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
4,886
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32l0/stm32gd-power.ads
package STM32GD.Power is subtype Millivolts is Natural range 0..4095; procedure Enable_Sleep; procedure Enable_Stop; procedure Enable_Standby; function Supply_Voltage return Millivolts; end STM32GD.Power;
4,887
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/gl/gl-skins.ads
<gh_stars>1-10 ------------------------------------------------------------------------- -- GL.Skins - appearance of the surfaces of geometry primitives -- -- Copyright (c) <NAME> 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose, provided this copyr...
4,888
ada
0
Kidev/Ada_Drivers_Library
middleware/src/bitmap/soft_drawing_bitmap.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
4,889
ada
11
appfs/appfs
01_Exercise/ex1.adb
<reponame>appfs/appfs -- TK 21Apr2017 -- gnatmake ex1.adb -- with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers; use Ada.Containers; with GNAT.String_Split; use GNAT.String_Split; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Containers.Vec...
4,890
ada
0
corentingay/ada_epita
project/src/memory_hpp.ads
<filename>project/src/memory_hpp.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with array_hpp; with Interfaces.C.Extensions; limited with processor_hpp; with cartridge_hpp; with video_hpp; with word_operations_hpp; package memory_hpp is -- This class abstracts any memory acce...
4,891
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3602b.ada
-- CE3602B.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...
4,892
ada
3
stcarrez/ada-stemmer
src/lang/stemmer-finnish.ads
-- Generated by Snowball 2.2.0 - https://snowballstem.org/ private with Ada.Strings.Unbounded; package Stemmer.Finnish with SPARK_Mode is type Context_Type is new Stemmer.Context_Type with private; procedure Stem (Z : in out Context_Type; Result : out Boolean); private type Context_Type is new Stemmer.Contex...
4,893
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36172a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36172a.ada -- C36172A.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...
4,894
ada
3
daveshields/AdaEd
bugs/bug23.ada
WITH Calendar; PROCEDURE FunnyBug IS -- minimal version of a student error on which adasem choked. BEGIN NULL; EXCEPTION -- note a careless writing of Time_Error as Time.Error WHEN Calendar.Time.Error => NULL; END FunnyBug;
4,895
ada
24
svn2github/matreshka
tools/csmib/csmib-parser.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,896
ada
0
jpuente/Temperature_Sensor
src/mqtt_clients.adb
with GNAT.Sockets.Server; use GNAT.Sockets.Server; with Strings_Edit.Integers; use Strings_Edit.Integers; pragma Warnings(Off); with System.IO; -- for debugging pragma Warnings(On); package body MQTT_Clients is ------------------------- -- On_Connect_Accepted -- ------------------...
4,897
ada
0
mstewartgallus/linted
src/ada-core/src/linted-gcc_atomics.adb
-- Copyright 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 writi...
4,898
ada
24
svn2github/matreshka
testsuite/league/collation_test.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,899
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/graywin.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 ...