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
7,300
ada
79
Roldak/OpenGLAda
src/glfw/v3/glfw-input.adb
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Glfw.API; package body Glfw.Input is procedure Poll_Events renames API.Poll_Events; procedure Wait_For_Events renames API.Wait_Events; end Glfw.Input;
7,301
ada
0
wookey-project/ewok-legacy
src/Ada/syscalls/ewok-syscalls-yield.adb
<filename>src/Ada/syscalls/ewok-syscalls-yield.adb -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You...
7,302
ada
1
LaudateCorpus1/RosettaCodeData
Task/Rep-string/Ada/rep-string.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with Ada.Command_Line, Ada.Text_IO, Ada.Strings.Fixed; procedure Rep_String is function Find_Largest_Rep_String(S:String) return String is L: Natural := S'Length; begin for I in reverse 1 .. L/2 loop declare use Ada.Strings.Fixed; T:...
7,303
ada
0
jquorning/ada-asf
src/asf-components-widgets-progress.adb
<filename>src/asf-components-widgets-progress.adb ----------------------------------------------------------------------- -- components-widgets-progress -- Simple progress bar -- Copyright (C) 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
7,304
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-connectors.ads
-- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- ...
7,305
ada
7
TUDSSL/TICS
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/array29.ads
package Array29 is type Matrix is array (Integer range <>, Integer range <>) of Long_Float; procedure Proc; end Array29;
7,306
ada
33
ytomino/drake
source/containers/a-coinve.adb
with Ada.Containers.Array_Sorting; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Growth; with System.Long_Long_Integer_Types; package body Ada.Containers.Indefinite_Vectors is pragma Check_Policy (Validate => Ignore); use type Copy_On_...
7,307
ada
0
jgrieger/2-to-the-5th
TwentyFive/EvenOrOddInputs.adb
-- cerner_2^5_2018 with Ada.Command_line; use Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; procedure EvenOrOddInputs is begin for A in 1..Argument_Count loop declare N : Integer := Integer'Value(Argument(A)); begin if N rem 2 = 0 then Put_Line ("Even"); elsif N rem 2 /= 0 ...
7,308
ada
0
pat-rogers/OpenUxAS
src/ada/src/route_aggregator_message_conversions.ads
with Route_Aggregator_Messages; with Afrl.Cmasi.Waypoint; use Afrl.Cmasi.Waypoint; with Uxas.Messages.Route.RoutePlan; use Uxas.Messages.Route.RoutePlan; with Uxas.Messages.Route.RoutePlanResponse; use Uxas.Messages.Route.RoutePlanResponse; with Afrl.Cmasi.VehicleAction; use Afrl...
7,309
ada
6
osannolik/ada-canopen
tests/unit_tests.adb
with Generic_Table_Test; with Generic_Collection_Test; with Remote_Node_Test; package body Unit_Tests is function Suite return Access_Test_Suite is Ret : constant Access_Test_Suite := new Test_Suite; begin Ret.Add_Test (new Generic_Table_Test.Test); Ret.Add_Test (new Generic_Collection_Test.Te...
7,310
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbcppr__x86_64.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
7,311
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64004g.ada
-- C64004G.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...
7,312
ada
0
fintatarta/protypo
src/Internals/Backup/protypo-scanning.adb
<gh_stars>0 pragma Ada_2012; with Ada.Strings.Maps.Constants; use Ada.Strings.Maps.Constants; with Ada.Characters.Latin_9; use Ada.Characters.Latin_9; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Fixed; with Ada.Characters.Handling; with Ada.Sequential_IO; with Ada.Directories; ...
7,313
ada
76
yannickmoy/SPARKNaCl
tests/badbox.adb
<filename>tests/badbox.adb with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.Cryptobox; use SPARKNaCl.Cryptobox; with SPARKNaCl.Stream; with Ada.Text_IO; use Ada.Text_IO; procedure BadBox is AliceSK, BobSK : Secret_Key; AlicePK, BobPK : Public_Key; N : Stream.HSalsa20_Nonce; S, S2 : Boolean; ...
7,314
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
boards/stm32f0_nrf24/stm32gd-board.adb
with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; with STM32GD.Startup; with STM32GD.Vectors; package body STM32GD.Board is procedure Init is begin STM32_SVD.RCC.RCC_Periph.AHBENR.IOPAEN := 1; STM32_SVD.RCC.RCC_Periph.AHBENR.IOPBEN := 1; STM32_SVD.RCC.RCC_Periph.APB2ENR.USART1EN := 1; ...
7,315
ada
0
balintsoos/LearnAda
konz/konz1/rac.adb
<reponame>balintsoos/LearnAda<filename>konz/konz1/rac.adb<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; package body Rac is procedure egyszerusit (A: Raci) is begin null; end egyszerusit; function "/" (A: Integer; B: Positive) return Raci is C: Raci; begin C.szamlalo := A; C.n...
7,316
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2b11a.ada
<gh_stars>1-10 -- CD2B11A.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....
7,317
ada
79
Roldak/OpenGLAda
src/gl/interface/gl-objects-programs.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.Attributes; with GL.Buffers; with GL.Objects.Shaders.Lists; with GL.Uniforms; private with GL.Low_Level; package GL.Objects.Programs is pragma Preelaborate; subtype Subroutine_Index_Type is U...
7,318
ada
24
svn2github/matreshka
source/league/matreshka-internals-unicode-properties.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
7,319
ada
0
Fabien-Chouteau/bb_pico_bsp
example/src/lvgl_demo.ads
package LVGL_Demo is procedure Run; end LVGL_Demo;
7,320
ada
4
faelys/gela-asis
source/asis/asis-gela-scanners.adb
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
7,321
ada
0
alex-87/ConstraintEngine
src/constraint_engine.ads
<filename>src/constraint_engine.ads<gh_stars>0 with ADA.Containers.Vectors; package Constraint_Engine is type Type_Problem is tagged private; type Enum_Relational is (IS_EQUAL, -- = IS_LESS_EQUAL, -- <= IS_LESS, -- < IS_MORE_EQUAL, -- >= IS_MORE, --...
7,322
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sorting-algorithms-Merge-sort/Ada/sorting-algorithms-merge-sort-1.ada
generic type Element_Type is private; type Index_Type is (<>); type Collection_Type is array(Index_Type range <>) of Element_Type; with function "<"(Left, Right : Element_Type) return Boolean is <>; package Mergesort is function Sort(Item : Collection_Type) return Collection_Type; end MergeSort;
7,323
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/generic_procedure_renaming_declaration.ads
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/generic_procedure_renaming_declaration.ads package generic_procedure_renaming_declaration is generic procedure test(X : Integer); generic procedure newtest renames test; end generic_procedure_renaming_declaration;
7,324
ada
0
Louis-Aime/Milesian_calendar_Ada
Cycle_computations.ads
-- Cycle computations -- A variant to the integer division, where the number of cycles and the phase -- within the cycle are computed and returned by single function. -- In these functions, the remainder (the phase) is always non-negative. -- Decompose_cycle is the standard operation; -- Decompose_cycle_ceiled is appro...
7,325
ada
0
KamilKrol5/concurrent-programming
task3/ada/src/objects.adb
<filename>task3/ada/src/objects.adb with Ada.Text_IO; with Ada.Numerics.Float_Random; with Ada.Numerics.Float_Random; with Ada.Numerics.Discrete_Random; with Ada.Command_Line; with Ada.Exceptions; use Ada.Exceptions; package body objects is package IO renames Ada.Text_IO; package FRand renames Ada.Numerics.Flo...
7,326
ada
0
cocolab8/cocktail
reuse/ada/setsdrv.adb
<reponame>cocolab8/cocktail -- $Id: SetsDrv.mi,v 1.5 1992/09/24 13:05:19 grosch rel $ -- $Log: SetsDrv.mi,v $ -- Ich, <NAME>, Informatiker, Sept. 1994 with Sets, Text_Io; use Sets, Text_Io; procedure SetsDrv is package Int_Io is new Integer_IO (Integer); use Int_Io; max : constant Integer := 1000; s, t, u...
7,327
ada
2
zenharris/ada-bbs
src/process_menu.ads
with Terminal_Interface.Curses; use Terminal_Interface.Curses; with Ada.Text_IO; use Ada.Text_IO; package Process_Menu is type String_Access is access String; type Function_Access is access function return Boolean; type Menu_Record is record Prompt : String_Access; Func : access ...
7,328
ada
0
iyan22/AprendeAda
ejercicios4/escribir_aula_act.adb
<reponame>iyan22/AprendeAda<gh_stars>0 with Ada.Text_IO, Ada.Integer_Text_IO, copia_examenes; use copia_examenes; use Ada.Text_Io, Ada.Integer_Text_Io; procedure Escribir_aula_act(aula_act: in T_Aula) is begin New_Line; Put_line("----------------------------------------------------------------------"); ...
7,329
ada
0
thierr26/ada-apsepp
src/apsepp-tags.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Tags; use Ada.Tags; with Ada.Containers; use Ada.Containers; with Ada.Strings.Hash; with Ada.Unchecked_Deallocation; package Apsepp.Tags is function Total_Expanded_Name (T : Tag) return String is ("." & (i...
7,330
ada
0
sciencylab/lagrangian-solver
src/numerics-max_real_array.adb
separate (Numerics) function Max_Real_Array (Item : in Real_Vector) return Real is Result : Real := Item (Item'First); begin for N of Item loop Result := Real'Max (Result, N); end loop; return Result; end Max_Real_Array;
7,331
ada
20
charlie5/lace
1-base/math/source/generic/pure/algebra/any_math-any_algebra-any_linear.ads
generic package any_Math.any_Algebra.any_linear is pragma Pure; ---------- -- Vector -- function Norm_squared (Self : in Vector) return Real; -- Length squared. function Normalised (Self : in Vector) return Vector; procedure Normalise (Self : in out Vector); funct...
7,332
ada
0
BrentSeidel/WeatherProject
weathercommon.ads
with BBS.BBB; with BBS.BBB.i2c; with BBS.BBB.i2c.PCA9685; with BBS.units; use type BBS.units.temp_c; use type BBS.units.press_p; package WeatherCommon is -- -- This package contains assorted constants and procedures used by the -- Weather station project. -- -- -- Constants used for output. The min ...
7,333
ada
20
charlie5/lace
3-mid/opengl/source/lean/buffer/opengl-buffer.ads
private with GL.lean, ada.unchecked_Conversion; package openGL.Buffer -- -- Models a buffer object. -- is -------------- --- Core Types -- subtype a_Name is GL.GLuint; -- An openGL vertex buffer 'Name', which is a natural integer. type a_Kind is (array_Bu...
7,334
ada
8
pvrego/adaino
project/src/avr-bls.ads
<reponame>pvrego/adaino<filename>project/src/avr-bls.ads -- ============================================================================= -- Package AVR.BLS -- -- Handles the Boot Loader Support. -- ============================================================================= package AVR.BLS is type Store_Program_M...
7,335
ada
2
charlie5/cBound
tier-1/fann/source/thin/fann_c-fann_train_data.ads
-- This file is generated by SWIG. Please do *not* modify by hand. -- with fann_c.Pointers; with interfaces.c; with interfaces.c.strings; with interfaces.C; package fann_c.fann_train_data is -- Item -- type Item is record errno_f : aliased fann_c.fann_errno_enum; error_log : access ...
7,336
ada
65
mfkiwl/ewok-kernel-security-OS
src/config-tasks.ads
with config.applications; package config.tasks with spark_mode => off is procedure zeroify_bss (id : in config.applications.t_real_task_id) with global => (input => (config.applications.list)); procedure copy_data_to_ram (id : in config.applications.t_real_task_id) with ...
7,337
ada
3
stcarrez/ada-css
src/parser/css-parser-parser.ads
<reponame>stcarrez/ada-css<filename>src/parser/css-parser-parser.ads<gh_stars>1-10 with CSS.Core.Sheets; package CSS.Parser.Parser is Error_Count : Natural := 0; function Parse (Content : in String; Document : in CSS.Core.Sheets.CSSStylesheet_Access) return Integer; -- Set or clear the ...
7,338
ada
79
Roldak/OpenGLAda
src/gl/implementation/gl-window.adb
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.API; with GL.Enums.Getter; package body GL.Window is procedure Set_Viewport (X, Y : Int; Width, Height : Size) is begin GL.API.Viewport (X, Y, Width, Height); Raise_Exception_On_Op...
7,339
ada
0
sonneveld/adazmq
examples/src/syncpub.adb
-- Synchronized publisher with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; procedure SyncPub is use type GNAT.Formatted_String.Formatted_String; Subscribers_Expected : constant := 10; -- We wait for 10 subscribers function Main return Ada.Command_Line.Exit_Status is ...
7,340
ada
8
skade/bbqueue-spark
tests/src/main_offsets.adb
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with System.Storage_Elements; use System.Storage_Elements; with BBqueue; with System; use System; procedure Main_Offsets with SPARK_Mode is use type BBqueue.Result_Kind; Buffer : Storage_Array (0 .. 34) := (others => 0); Q : aliased BBqueue.Offsets_Only (Buf...
7,341
ada
2
thindil/tashy2
tests/tk-ttkentry-test_data-tests.adb
<reponame>thindil/tashy2 -- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to s...
7,342
ada
1
mokafiht/u2f_key_SDCC
src/u2f_hid.adb
M:u2f_hid S:Lu2f_hid.aligned_alloc$size$1$13({2}SI:U),B,1,-4 S:Lu2f_hid.aligned_alloc$alignment$1$13({2}SI:U),B,1,1 F:G$u2f_hid_init$0$0({2}DF,SV:S),Z,0,0,0,0,0 F:G$u2f_hid_set_len$0$0({2}DF,SV:S),Z,0,0,0,0,0 S:Lu2f_hid.u2f_hid_set_len$len$1$127({2}SI:U),R,0,0,[r6,r7] F:Fu2f_hid$u2f_hid_reset_packet$0$0({2}DF,SV:S),C,0...
7,343
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-convex_plane.adb
with impact.d3.Shape.concave.static_plane; with impact.d3.Vector; with impact.d3.Shape.convex; with impact.d3.Transform; with impact.d3.Quaternions; package body impact.d3.collision.Algorithm.convex_plane is use Math; --- Forge -- function to_convex_plane_Algorithm (mf ...
7,344
ada
0
rtoal/enhanced-dining-philosophers
ada/randoms.adb
------------------------------------------------------------------------------ -- randoms.adb -- -- Body for the simple random number generation package. The implementation -- uses a single private random number generator for floats; this generator is -- called to obtain both integers and floats by using approp...
7,345
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45323a.ada
-- C45323A.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...
7,346
ada
7
98devin/ada-gba-dev
src/GBA.Interrupts.Default_Interrupt_Dispatcher.adb
-- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with GBA.Numerics; use GBA.Numerics; separate (GBA.Interrupts) procedure Default_Interrupt_Dispatcher is Enabled : Boolean; Triggered_Flags : Interrupt_Flags; Priority_Bit : Natural; Priority_ID : Interrupt_ID; Hand...
7,347
ada
12
mgrojo/protobuf
source/runtime/generated/google-protobuf-wrappers.ads
<filename>source/runtime/generated/google-protobuf-wrappers.ads with Ada.Finalization; with Ada.Streams; with Interfaces; with League.Stream_Element_Vectors; with League.Strings; package Google.Protobuf.Wrappers is type Double_Value_Vector is tagged private with Variable_Indexing => Get_Double_Value_Variable_...
7,348
ada
0
fintatarta/protypo
test/examples/User-List/user_lists.ads
package User_Lists is end User_Lists;
7,349
ada
20
charlie5/lace
3-mid/impact/source/2d/orbs/dynamics/contacts/impact-d2-orbs-contact-circle.adb
<filename>3-mid/impact/source/2d/orbs/dynamics/contacts/impact-d2-orbs-contact-circle.adb<gh_stars>10-100 with impact.d2.orbs.Colliders, impact.d2.orbs.Shape; package body impact.d2.orbs.Contact.circle is function to_b2CircleContact (fixtureA, fixtureB : access fixture.item'Class) return b2CircleContact ...
7,350
ada
15
AdaCore/training_material
courses/spark_for_ada_programmers/labs/answers/120_depends_contract_and_information_flow_analysis/swapping.adb
<filename>courses/spark_for_ada_programmers/labs/answers/120_depends_contract_and_information_flow_analysis/swapping.adb<gh_stars>10-100 package body Swapping is procedure Swap (X, Y: in out Positive) is Tmp: Positive; begin Tmp := X; X := Y; Y := Tmp; end Swap; procedure Id...
7,351
ada
1
io7m/coreland-openal-ada
openal_info.adb
with Ada.Command_Line; with Ada.Exceptions; with Ada.Text_IO; with OpenAL.Context; with OpenAL.Global; with OpenAL.List; package body OpenAL_Info is package AL_Context renames OpenAL.Context; package AL_Global renames OpenAL.Global; package AL_String_Vectors renames OpenAL.List.String_Vectors; p...
7,352
ada
2
adithyap/coursework
ProgrammingLanguages/Ada/MergeSort/sort.adb
<filename>ProgrammingLanguages/Ada/MergeSort/sort.adb<gh_stars>1-10 package body sort is -- --------------------------------------- procedure MergeSort(A : in out m_array) is begin if SIZE > 0 then MergeSort(A, 1, SIZE); end if; end MergeSort; -- ----------------------...
7,353
ada
0
reznikmm/slimp
source/slim-messages-rtcs.adb
<filename>source/slim-messages-rtcs.adb -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Message_Visiters; package body Slim.Messages.rtcs is List_0 : constant Field_Description_Array :...
7,354
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_delay.adb
-- { dg-do run } with Ada.Real_Time; procedure Test_Delay is begin delay until Ada.Real_Time.Clock; end Test_Delay;
7,355
ada
0
sonneveld/adazmq
examples/src/identity.adb
<filename>examples/src/identity.adb<gh_stars>0 -- Demonstrate request-reply identities with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; with ZHelper; use type GNAT.Formatted_String.Formatted_String; procedure Identity is function Main return Ada.Command_Line.Exit_Status is ...
7,356
ada
1
LaudateCorpus1/RosettaCodeData
Task/Matrix-exponentiation-operator/Ada/matrix-exponentiation-operator-2.ada
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Matrix-exponentiation-operator/Ada/matrix-exponentiation-operator-2.ada with Ada.Text_IO; use Ada.Text_IO; with Ada.Complex_Text_IO; use Ada.Complex_Text_IO; with Ada.Numerics.Complex_Types; use Ada.Numerics.Complex_Types; with Ada.Numer...
7,357
ada
33
ytomino/drake
source/interfaces/i-cgestr.adb
<filename>source/interfaces/i-cgestr.adb with System.Address_To_Constant_Access_Conversions; with System.Address_To_Named_Access_Conversions; with System.Storage_Elements; package body Interfaces.C.Generic_Strings is use type Pointers.Constant_Pointer; use type Pointers.Pointer; use type System.Storage_Element...
7,358
ada
3
shinesolutions/cloudmanager-api-clients
clients/ada-server/generated/src/model/-models.ads
-- Cloud Manager API -- This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request...
7,359
ada
4
ytomino/yaml-ada
examples/version.adb
<reponame>ytomino/yaml-ada with Ada.Text_IO; with YAML; procedure version is begin Ada.Text_IO.Put_Line (YAML.Version); end version;
7,360
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/exp_ch11.ads
<reponame>vidkidz/crossbridge ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
7,361
ada
192
rocher/Ada_Drivers_Library
arch/ARM/STM32/drivers/dma2d/stm32-dma2d-polling.adb
<filename>arch/ARM/STM32/drivers/dma2d/stm32-dma2d-polling.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- ...
7,362
ada
6
My-Colaborations/ada-servlet
src/servlet-routes-servlets.ads
<gh_stars>1-10 ----------------------------------------------------------------------- -- servlet-routes-servlets -- Servlet request routing -- Copyright (C) 2015, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exc...
7,363
ada
0
faelys/natools
src/natools-time_keys.ads
------------------------------------------------------------------------------ -- Copyright (c) 2015, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
7,364
ada
0
csb6/libtcod-ada
src/generated/context_init_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; limited with tileset_h; with Interfaces.C.Strings; with System; with Interfaces.C.Extensions; with error_h; package context_init_h is -- BSD 3-Clause License -- * -- * Copyright © 2008-2021, Jice and the libtcod contributors. --...
7,365
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt13.adb
<reponame>best08618/asylo -- { dg-do run } -- { dg-options "-O" } with Opt13_Pkg; use Opt13_Pkg; procedure Opt13 is T : My_Type; begin Allocate (T); if N /= 1 then raise Program_Error; end if; end;
7,366
ada
0
hergin/ada2fuml
test-resources/ExamplesFromRoy/md_example6.ads
<reponame>hergin/ada2fuml<gh_stars>0 with Globals_Example1; with Ada.Finalization; package Md_Example6 is type T is new Ada.Finalization.Controlled with record Attribute : Globals_Example1.Itype; end record; -- Ada Rules state that all tagged operations must be defined here function Do_It (The_T :...
7,367
ada
0
mstewartgallus/linted
src/ada-core/src/linted-kos.adb
<gh_stars>0 -- Copyright 2015,2016 <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 a...
7,368
ada
4
faelys/gela-asis
.build/ada/asis-gela-elements-def_names.ads
<reponame>faelys/gela-asis ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <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...
7,369
ada
2
persan/gprTools
src/gpr_tools-gprslaves-db-json.adb
<gh_stars>1-10 with GNAT.Spitbol; use GNAT.Spitbol; with Interfaces; use Interfaces; package body GPR_Tools.Gprslaves.DB.JSON is use GNATCOLL.JSON; ------------ -- Create -- ------------ function Create (Item : Info_Struct) return GNATCOLL.JSON.JSON_Value is begin return Ret : constant JSON_Val...
7,370
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-egu.ads
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notice, t...
7,371
ada
19
jrcarter/Ada_GUI
parsers-generic_source-get_cpp_blank.ads
<filename>parsers-generic_source-get_cpp_blank.ads -- -- -- procedure Copyright (c) <NAME> -- -- Parsers.Generic_Source. Luebeck -- -- Get_Cpp_Blank Winter,...
7,372
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/a-sytaco.ads
<reponame>brucegua/moocos ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
7,373
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imfi64.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
7,374
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-wtenio.adb
<reponame>vidkidz/crossbridge ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
7,375
ada
24
svn2github/matreshka
source/league/matreshka-internals-unicode-casing.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
7,376
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-uml_profiles.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
7,377
ada
0
Letractively/ada-ado
src/ado-schemas-entities.ads
----------------------------------------------------------------------- -- ado-schemas-entities -- Entity types cache -- Copyright (C) 2011, 2012 <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 ...
7,378
ada
20
charlie5/lace
1-base/lace/source/events/utility/lace-event-utility.ads
<reponame>charlie5/lace with lace.Observer, lace.Subject, lace.Response, lace.event.Logger, ada.Tags; package lace.Event.utility -- -- Provides convenience subprograms for working with events. -- is -- Event Kinds -- function Name_of (Kind : in event.Kind) return String; funct...
7,379
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/protected_body_declaration.ads
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/protected_body_declaration.ads package Protected_Body_Declaration is protected type T is function func return Integer; end T; end Protected_Body_Declaration;
7,380
ada
33
ytomino/drake
source/containers/a-ciorse.ads
pragma License (Unrestricted); -- Ada 2005 with Ada.Iterator_Interfaces; private with Ada.Containers.Binary_Trees; private with Ada.Containers.Binary_Trees.Arne_Andersson; private with Ada.Containers.Copy_On_Write; private with Ada.Finalization; private with Ada.Streams; generic type Element_Type (<>) is private; ...
7,381
ada
0
Letractively/ada-awa
awa/src/model/awa-events-models.ads
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen....
7,382
ada
0
greifentor/archimedes-legacy
legacy-core/src/test/resources/conf/BuilderTestModel.ads
<Diagramm> <Colors> <Anzahl>23</Anzahl> <Color0> <B>255</B> <G>0</G> <Name>blau</Name> <R>0</R> </Color0> <Color1> <B>221</B> <G>212</G> <Name>blaugrau</Name> <R>175</R> ...
7,383
ada
6
bosepchuk/Ada_Drivers_Library
boards/MicroBit/src/microbit-display.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- -- -- ...
7,384
ada
0
EchoLiao/minix-study
lib/zlib-1.2.3/contrib/ada/buffer_demo.adb
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2004 <NAME> -- -- -- -- Op...
7,385
ada
6
My-Colaborations/ada-servlet
regtests/servlet-sessions-tests.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- Sessions Tests - Unit tests for Servlet.Sessions -- Copyright (C) 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 c...
7,386
ada
0
sebsgit/textproc
src/shapedatabase.ads
with PixelArray; with ImageRegions; with ImageMoments; with ImageThresholds; with Morphology; with Histogram; with HistogramDescriptor; with Ada.Containers.Vectors; with Ada.Directories; package ShapeDatabase is pragma Elaborate_Body; pragma Assertion_Policy (Pre => Check, Post => Ch...
7,387
ada
3
stcarrez/ada-stemmer
src/lang/stemmer-indonesian.adb
<reponame>stcarrez/ada-stemmer -- Generated by Snowball 2.2.0 - https://snowballstem.org/ package body Stemmer.Indonesian is pragma Style_Checks ("-mr"); pragma Warnings (Off, "*variable*is never read and never assigned*"); pragma Warnings (Off, "*mode could be*instead of*"); pragma Warnings (Off, "*form...
7,388
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tienau.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
7,389
ada
4
faelys/gela-asis
.build/ada/asis-gela-elements-pathes.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <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: -- -- ...
7,390
ada
3
Fabien-Chouteau/atomic
src/atomic.ads
<reponame>Fabien-Chouteau/atomic package Atomic with Preelaborate, Spark_Mode is type Mem_Order is (Relaxed, -- Implies no inter-thread ordering constraints Consume, -- This is currently implemented using the stronger __ATOMIC_ACQUIRE -- memory order because of a deficiency in C++11's...
7,391
ada
2
kevin-chalmers/cpa-lang-shootout
src/ada/selecttime.adb
<reponame>kevin-chalmers/cpa-lang-shootout with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO.Text_Streams; use Ada.Text_IO.Text_Streams; with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO; with Ada.Real_Time; use Ada.Real_Time; procedure SelectTime is Iter...
7,392
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/g-spitbo.adb
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
7,393
ada
0
csb6/libtcod-ada
src/generated/sys_utypes_uint8_t_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package sys_utypes_uint8_t_h is -- * Copyright (c) 2012 Apple Inc. All rights reserved. -- * -- * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ -- * -- * This file contains Original Code and/or Modifications of Original Code -- *...
7,394
ada
5
docandrew/troodon
include/bits_byteswap_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package bits_byteswap_h is -- Macros and inline functions to swap the order of bytes in integer values. -- Copyright (C) 1997-2021 Free Software Foundation, Inc. -- This file is part of the GNU C Library. -- The GNU C Libr...
7,395
ada
1
MatrixMike/AdaDemo1
Exercide.adb
<reponame>MatrixMike/AdaDemo1 with Ada.Text_IO; with FunctionX; use Ada.Text_IO; use FunctionX; procedure Exercise is StaffMember : Employee; begin StaffMember.EmployeeNumber := 704702; StaffMember.FirstName := "Jonathan"; StaffMember.LastName := "Jensen"; StaffMember.HourlySalary := 22.84;...
7,396
ada
1
LaudateCorpus1/RosettaCodeData
Task/Man-or-boy-test/Ada/man-or-boy-test-1.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Man_Or_Boy is function Zero return Integer is begin return 0; end Zero; function One return Integer is begin return 1; end One; function Neg return Integer is begin return -1; end Neg; function A ( K : Integer; X1, X2, X3, X4, X...
7,397
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline13_pkg.adb
package body Inline13_Pkg is function Padded (Value : T) return Padded_T is begin return Padded_T(Value); end Padded; end Inline13_Pkg;
7,398
ada
18
kraileth/ravenadm
src/display-console.adb
<reponame>kraileth/ravenadm<filename>src/display-console.adb -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package body Display.Console is -- These are dummy routines to match active ones in Display.Curses -- This module is only used to support buildi...
7,399
ada
5
DependableSystemsLab/Trident
llvm-2.9/test/FrontendAda/field_order.ads
-- RUN: %llvmgcc -S %s package Field_Order is type Tagged_Type is abstract tagged null record; type With_Discriminant (L : Positive) is new Tagged_Type with record S : String (1 .. L); end record; end;