id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
1,800
ada
0
hgrodriguez/embedded-dashboard-console
src/transport.ads
--=========================================================================== -- -- This is the root package for all transport capabilities available -- Every transport capability shall offer the same functionality, -- independent of any channel used. -- --============================================================...
1,801
ada
12
TUM-EI-RCS/StratoX
software/modules/sdlog-tools.adb
<gh_stars>10-100 -- Project: StratoX -- System: Stratosphere Balloon Flight Controller -- Author: <NAME> (<EMAIL>) with Profiler; with Ada.Real_Time; use Ada.Real_Time; with Logger; with Units; with FAT_Filesystem; use FAT_Filesystem; with FAT_Filesystem.Directories; use FAT_Filesystem.Dire...
1,802
ada
12
mgrojo/protobuf
source/runtime/pb_support-internal.ads
<reponame>mgrojo/protobuf<filename>source/runtime/pb_support-internal.ads<gh_stars>10-100 -- MIT License -- -- Copyright (c) 2020 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Soft...
1,803
ada
1
TNO/Rejuvenation-Ada
workshop/src/mismatch.ads
package Mismatch is function Sum (x, y : Integer) return Integer; private function Sum (x : Integer; y : Integer) return Integer is (x + y); end Mismatch;
1,804
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2104c.ada
-- CE2104C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
1,805
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_1.adb
-- { dg-do compile } package body Varsize3_1 is end Varsize3_1;
1,806
ada
10
Ada-Audio/wavefiles
src/audio-wavefiles.adb
<filename>src/audio-wavefiles.adb ------------------------------------------------------------------------------ -- -- -- WAVEFILES -- -- ...
1,807
ada
18
jquorning/ada-wiki
src/wiki-filters-html.ads
<reponame>jquorning/ada-wiki ----------------------------------------------------------------------- -- wiki-filters-html -- Wiki HTML filters -- Copyright (C) 2015, 2016, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
1,808
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/ike/tkmrpc-operation_handlers-ike-dh_create.adb
with Tkmrpc.Servers.Ike; with Tkmrpc.Results; with Tkmrpc.Request.Ike.Dh_Create.Convert; with Tkmrpc.Response.Ike.Dh_Create.Convert; package body Tkmrpc.Operation_Handlers.Ike.Dh_Create is ------------------------------------------------------------------------- procedure Handle (Req : Request.Data_Type; Res...
1,809
ada
0
mstewartgallus/linted
src/ada-core/src/linted-errors.adb
-- Copyright 2016,2017 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in ...
1,810
ada
1
selroc/Renaissance-Ada
src/tools/Dependency_Graph_Extractor/src/extraction-references_of_decls.adb
<filename>src/tools/Dependency_Graph_Extractor/src/extraction-references_of_decls.adb with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.References_Of_Decls is use type LAL.Analysis_Unit; use type LALCO.Ada_Node_Kind_Type; function Is_Node_In_End_Name(Node : LAL.Ada_Node'Cla...
1,811
ada
80
thindil/steamsky
tests/mobs-test_data-tests-mobinventory_container-test_data-tests.ads
<reponame>thindil/steamsky<gh_stars>10-100 -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Mobs.Test_Data.Tests.MobInventory_Container.Test_Data.Tests is type Test is ne...
1,812
ada
3
Fabien-Chouteau/atomic
src/critical_section/atomic.adb
<filename>src/critical_section/atomic.adb with Atomic.Critical_Section; use Atomic.Critical_Section; with System; package body Atomic is ---------- -- Init -- ---------- function Init (Val : Boolean) return Flag is Ret : aliased Flag := 0; Unused : Boolean; begin if Val then ...
1,813
ada
15
My-Colaborations/dynamo
src/gnat/prj-err.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,814
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3405d.ada
-- CE3405D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
1,815
ada
0
Sawchord/Ada_Drivers_Library
boards/native/src/native-i2c.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- ...
1,816
ada
20
charlie5/lace
3-mid/opengl/source/lean/buffer/opengl-buffer-general.adb
with openGL.Errors, openGL.Tasks, GL.Pointers; package body openGL.Buffer.general is -------------------------- -- 'vertex buffer' Object -- package body Forge is function to_Buffer (From : access constant Element_Array; Usage : in Buffer.U...
1,817
ada
0
djgoku/RosettaCodeData
Task/Miller-Rabin-primality-test/Ada/miller-rabin-primality-test-1.ada
generic type Number is range <>; package Miller_Rabin is type Result_Type is (Composite, Probably_Prime); function Is_Prime (N : Number; K : Positive := 10) return Result_Type; end Miller_Rabin;
1,818
ada
33
ytomino/drake
source/tasking/a-stcoed.adb
with System.Synchronous_Objects.Abortable; with System.Tasks; package body Ada.Synchronous_Task_Control.EDF is procedure Suspend_Until_True_And_Set_Deadline ( S : in out Suspension_Object; TS : Real_Time.Time_Span) is Dummy : Boolean; begin Suspend_Until_True_And_Set_Deadline (S, TS, D...
1,819
ada
0
reznikmm/gela
source/visibility/program-predefined_operators.adb
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Elements.Defining_Names; with Program.Elements.Defining_Operator_Symbols; with Program.Elements.Function_Decl...
1,820
ada
0
Letractively/ada-security
src/security-oauth.ads
----------------------------------------------------------------------- -- security-oauth -- OAuth Security -- 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 in compliance with the License. -- You m...
1,821
ada
0
optikos/oasis
source/nodes/program-nodes-generic_procedure_declarations.adb
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Generic_Procedure_Declarations is function Create (Generic_Token : not null Program.Lexical_Elemen...
1,822
ada
7
98devin/ada-gba-dev
src/GBA.Input.Buffered.adb
<filename>src/GBA.Input.Buffered.adb -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with Ada.Unchecked_Conversion; package body GBA.Input.Buffered is procedure Update_Key_State is begin Last_Key_State := Current_Key_State; Current_Key_State := Read_Key_State; end; fun...
1,823
ada
0
skill-lang/adaCommon
src/skill-types-pools-sub.adb
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ unknown base pools -- -- |___/_|\_\_|_|____| by: <NAME> -- -...
1,824
ada
64
manggoguy/parsec-modified
pkgs/libs/zlib/src/contrib/ada/zlib-thin.ads
<reponame>manggoguy/parsec-modified<filename>pkgs/libs/zlib/src/contrib/ada/zlib-thin.ads<gh_stars>10-100 ---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2...
1,825
ada
5
amvb/GUCEF
dependencies/agar/ada-core/agar-core-event.adb
<gh_stars>1-10 with C_String; with Interfaces.C; package body Agar.Core.Event is package C renames Interfaces.C; procedure Push_Pointer (Event : in Event_Not_Null_Access_t; Key : in String; Value : in System.Address) is Ch_Key : aliased C.char_array := C.To_C (Key); begin Thin.Event.Pu...
1,826
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-algorithm.adb
package body impact.d3.collision.Algorithm is function to_AlgorithmConstructionInfo (dispatcher : access impact.d3.Dispatcher.item'Class; temp : in Integer) return AlgorithmConstructionInfo is pragma Unreferenced (temp); Self : AlgorithmConstructionInfo; begin Self.m_dispatcher1 := disp...
1,827
ada
6
joffreyhuguet/LmcpGen
src/templates/ada/utilities.ads
<reponame>joffreyhuguet/LmcpGen package Utilities is generic Width: Positive; function LeftPad (Str : String; Level : Natural) return String; end Utilities;
1,828
ada
0
Fabien-Chouteau/COBS
tests/src/test_utils-abstract_decoder.ads
package Test_Utils.Abstract_Decoder is subtype Parent is Test_Utils.Abstract_Data_Processing; type Instance is abstract limited new Parent with private; type Acc is access all Instance; type Any_Acc is access all Instance'Class; procedure Receive (This : in out Instance; Data : ...
1,829
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/tmmintrin_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package tmmintrin_h is -- Copyright (C) 2006-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public L...
1,830
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-tigeau.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/a-tigeau.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
1,831
ada
60
Letractively/ada-util
samples/mapping.ads
----------------------------------------------------------------------- -- mapping -- Example of serialization mappings -- Copyright (C) 2010, 2011, 2012, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
1,832
ada
6
aeszter/lox-spark
src/ast_printers.ads
<filename>src/ast_printers.ads with Exprs; use Exprs; use Exprs.Visitors; with L_Strings; use L_Strings; package Ast_Printers is -- Creates an unambiguous, if ugly, string representation of AST nodes. -- SPARK implementation follows <NAME> -- http://www.adapower.com/index.php?Command=Class&ClassID=Patterns&CI...
1,833
ada
33
ytomino/drake
source/calendar/machine-pc-freebsd/s-nattim.adb
package body System.Native_Time is use type C.signed_int; pragma Warnings (Off, "is not referenced"); function To_tv_nsec (X : Nanosecond_Number) return C.signed_long with Convention => Intrinsic; -- Darwin, FreeBSD, or Linux (32/64bit) function To_tv_nsec (X : Nanosecond_Number) return C.sig...
1,834
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86006i.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86006i.ada -- C86006I.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimi...
1,835
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/quaternions.ads
<reponame>ForYouEyesOnly/Space-Convoy -- -- Jan & <NAME>, Australia, July 2011 -- with Real_Type; use Real_Type; package Quaternions is type Quaternion_Real is record w, x, y, z : Real; end record; function "abs" (Quad : Quaternion_Real) return Real; function Unit (Quad : Quaternion_Real) return ...
1,836
ada
6
My-Colaborations/ada-servlet
src/servlet-filters.ads
----------------------------------------------------------------------- -- servlet-filters -- Servlet Filters -- Copyright (C) 2010, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -...
1,837
ada
8
darkestkhan/lumen
src/lumen-events.ads
<reponame>darkestkhan/lumen<gh_stars>1-10 -- <NAME>, NiEstu, Phoenix AZ, Spring 2010 -- Lumen would not be possible without the support and contributions of a cast -- of thousands, including and primarily <NAME>ay. -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, co...
1,838
ada
286
auzkok/libagar
ada/original_2008/ada-demos/slider_callbacks.ads
with agar.core.event; with agar.core.types; with agar.gui.widget.label; with agar.gui.widget.slider; with agar.gui.widget; with agar.gui.window; package slider_callbacks is package gui_event renames agar.core.event; package gui_label renames agar.gui.widget.label; package gui_slider renames agar.gui.widget.slide...
1,839
ada
0
hgrodriguez/spi_two_devices
src/spi_slave_pico.adb
--=========================================================================== -- -- This package implements the slave configuration for the Pico -- --=========================================================================== -- -- Copyright 2022 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- package body...
1,840
ada
0
My-Colaborations/ada-util
src/sys/streams/util-streams-pipes.ads
----------------------------------------------------------------------- -- util-streams-pipes -- Pipe stream to or from a process -- Copyright (C) 2011, 2013, 2015, 2016, 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use ...
1,841
ada
0
btmalone/alog
aunit/aunit-test_fixtures.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,842
ada
0
ytomino/gnat4drake
s-inmaop.adb
with C.signal; package body System.Interrupt_Management.Operations is use type C.signed_int; procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask) is begin Set_Interrupt_Mask (Mask => Mask, OMask => null); end Set_Interrupt_Mask; procedure Set_Interrupt_Mask ( Mask : access Interrupt...
1,843
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5004b0.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5004b0.ada -- CA5004B0.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. Governm...
1,844
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-string.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,845
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/make.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,846
ada
12
TUM-EI-RCS/StratoX
software/unittest/estimator/src/fakedev/ublox8-driver.adb
<reponame>TUM-EI-RCS/StratoX<filename>software/unittest/estimator/src/fakedev/ublox8-driver.adb<gh_stars>10-100 with Simulation; with Ada.Text_IO; use Ada.Text_IO; with Units; use Units; package body ublox8.driver with SPARK_Mode => Off, Refined_State => (State => (null)) is cur_loc : GPS_Loacation_Type; -- L,L,A...
1,847
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-dirval.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
1,848
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect3.ads
with Vect3_Pkg; package Vect3 is -- Unconstrained array types are vectorizable, possibly with special -- help for the programmer type Varray is array (Vect3_Pkg.Index_Type range <>) of Long_Float; for Varray'Alignment use 16; function "+" (X, Y : Varray) return Varray; procedure Add (X, Y : Varray;...
1,849
ada
2
AdaCore/style_checker
testsuite/tests/Q612-015__Ada_runtime_fullpath/a-cohamb.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
1,850
ada
0
yrashk/ada-util
regtests/util-processes-tests.ads
<reponame>yrashk/ada-util ----------------------------------------------------------------------- -- util-processes-tests - Test for processes -- Copyright (C) 2011, 2016, 2018, 2019, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use...
1,851
ada
0
reznikmm/gela
source/nodes/program-nodes-character_literals.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Character_Literals is function Create (Character_Literal_Token : not null Program.Lexical_Elements .Lexical_Element_Access) ...
1,852
ada
4
joffreyhuguet/curve25519-spark2014
src/construct_conversion_array.adb
package body Construct_Conversion_Array with SPARK_Mode is ---------------------- -- Conversion_Array -- ---------------------- function Conversion_Array return Conversion_Array_Type is Conversion_Array : Conversion_Array_Type := (others => Zero); begin for J in Product_Index_Type loop ...
1,853
ada
1
LaudateCorpus1/RosettaCodeData
Task/Guess-the-number-With-feedback--player-/Ada/guess-the-number-with-feedback--player-.ada
with Ada.Text_IO; procedure Guess_Number_Player is procedure Guess_Number (Lower_Limit : Integer; Upper_Limit : Integer) is type Feedback is (Lower, Higher, Correct); package Feedback_IO is new Ada.Text_IO.Enumeration_IO (Feedback); My_Guess : Integer := Lower_Limit + (Upper_Limit - Lower_Limit) / ...
1,854
ada
33
ytomino/drake
source/environment/machine-pc-freebsd/s-natloc.ads
pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) with Ada.Locales; package System.Native_Locales is pragma Preelaborate; subtype ISO_639_Alpha_2 is Ada.Locales.ISO_639_Alpha_2; subtype ISO_639_Alpha_3 is Ada.Locales.ISO_639_Alpha_3; subtype ISO_3166_1...
1,855
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l4x3/stm32_svd-dac.ads
-- This spec has been automatically generated from STM32L4x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DAC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_TSEL1_Field is HAL....
1,856
ada
0
PThierry/ewok-kernel
src/ewok-interrupts.adb
<filename>src/ewok-interrupts.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 may obtain a cop...
1,857
ada
4
reznikmm/adaside
sources/ada_pretty.ads
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.String_Vectors; with League.Strings; private with League.Pretty_Printers; package Ada_Pretty is type Node is abstract tagged private; ...
1,858
ada
0
sebsgit/textproc
src/neuralnet.ads
<filename>src/neuralnet.ads<gh_stars>0 with Ada.Containers.Vectors; use Ada.Containers; with MathUtils; package NeuralNet is pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); type Activator is (RELU, LOGISTIC); type LossFun...
1,859
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/common/tools/crc8.adb
<filename>software/hal/boards/common/tools/crc8.adb<gh_stars>10-100 with Interfaces; use Interfaces; package body CRC8 with SPARK_Mode is -- init function calculateCRC8 (Data : Byte_Array) return Byte is crc : Byte := 0; begin for pos in Data'Range loop crc := crc8_tab (crc xor Data (p...
1,860
ada
1
selroc/Renaissance-Ada
src/examples/Rejuvenation_Workshop/tests/test_exercises_intro.adb
with Ada.Strings.Equal_Case_Insensitive; with Ada.Text_IO; use Ada.Text_IO; with GNAT.Source_Info; use GNAT.Source_Info; with Langkit_Support.Text; use Langkit_Support.Text; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Comm...
1,861
ada
4
faelys/gela-asis
source/asis/asis-gela-iterator.adb
<filename>source/asis/asis-gela-iterator.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- ...
1,862
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211b.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211b.ada -- C37211B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimi...
1,863
ada
0
irieger/Sarge
ada/src/sarge.adb
-- sarge.adb - Implementation file for the Sarge command line argument parser project. -- Revision 0 -- Features: -- - -- Notes: -- - -- 2019/04/10, <NAME> with Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; package body Sarge is --- SET ARGUMENT --- procedure setArgument(arg_short: i...
1,864
ada
0
optikos/oasis
source/nodes/program-nodes-delta_constraints.ads
<filename>source/nodes/program-nodes-delta_constraints.ads<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.El...
1,865
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/math_lib.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/math_lib.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
1,866
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-tposen.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/s-tposen.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
1,867
ada
7
stcarrez/mat
mat/src/mat-formats.adb
----------------------------------------------------------------------- -- mat-formats - Format various types for the console or GUI interface -- Copyright (C) 2015, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except ...
1,868
ada
0
cocolab8/cocktail
rex/lib/scanner.ads
<reponame>cocolab8/cocktail -- $Id: scanner.ads,v 1.5 2000/09/04 11:17:27 grosch rel $ with Position, Strings; use Position, Strings; $- user import declarations $@ package @ is $E[ user export declarations type tScanAttribute is record Position: tPosition; end record; procedure ErrorAttribute (Token: Integer; Att...
1,869
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/g-memdum.adb
<reponame>vidkidz/crossbridge ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
1,870
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-gcmain.adb
<filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-gcmain.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
1,871
ada
24
svn2github/matreshka
source/uaflex/uaflex-driver.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
1,872
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/exp_imgv.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,873
ada
0
xuedong/mini-ada
tests/typing/bad/testfile-unique-5.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure t is begin new_line; end; type T is record A: Integer; end record; begin New_Line; end;
1,874
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-tratas.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
1,875
ada
2
psyomn/afile
src/identify.adb
<reponame>psyomn/afile<gh_stars>1-10 -- Copyright 2017-2019 <NAME> (psyomn) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- ...
1,876
ada
3
rogermc2/GA_Ada
example_1.1/src/shader_manager.adb
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with GL.Objects.Shaders; with Program_Loader; package body Shader_Manager is Black : constant GL.Types.Singles.Vector4 := (0.0, 0.0, 0.0, 0.0); Render_Uniforms : Shader_Uniforms; procedure Init (Render_Program : in out GL.Objects.Programs.Prog...
1,877
ada
8
octonion/recursion
python-ada/unit.ads
<reponame>octonion/recursion with Interfaces.C; use Interfaces; package unit is type stack is array (0..9) of integer; function partitions (cards: out stack; subtotal: integer) return integer; pragma export (C, partitions, "partitions"); end unit;
1,878
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming8.adb
<gh_stars>1-10 -- { dg-do run } -- { dg-options "-gnatp" } with Renaming8_Pkg1; use Renaming8_Pkg1; procedure Renaming8 is begin if not B then raise Program_Error; end if; end;
1,879
ada
12
jquorning/ada-asf
src/asf-components-html-selects.adb
----------------------------------------------------------------------- -- html-selects -- ASF HTML UISelectOne and UISelectMany components -- Copyright (C) 2011, 2013, 2014, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fil...
1,880
ada
3
pmderodat/libyaml-ada
tests/parser.adb
<filename>tests/parser.adb with Ada.Text_IO; use Ada.Text_IO; with YAML; use type YAML.Error_Kind; procedure Parser is function LStrip (S : String) return String; function Image (M : YAML.Mark_Type) return String; procedure Process (P : in out YAML.Parser_Type); procedure Put (N : YAML.Node_Ref; Indent ...
1,881
ada
488
ouankou/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/lal_adapter_wrapper_h.ads
<reponame>ouankou/rose with Interfaces.C.Extensions; with Interfaces.C.Strings; with a_nodes_h; package lal_adapter_wrapper_h is function lal_adapter_wrapper (project_file_name : in Interfaces.C.Strings.chars_ptr; input_file_name : in Interfaces.C.Strings.chars_ptr; output_...
1,882
ada
0
optikos/oasis
source/nodes/program-nodes-null_statements.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Null_Statements is function Create (Null_Token : not null Program.Lexical_Elements .Lexical_Element_Ac...
1,883
ada
1
stcarrez/babel
src/babel-files-maps.ads
<reponame>stcarrez/babel ----------------------------------------------------------------------- -- babel-files-maps -- Hash maps for files and directories -- Copyright (C) 2014 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
1,884
ada
0
gerr135/gnat_bugs
gb_03/src/bug_03_minimal.adb
-- -- Short demo of the bug inducing code: tagged hierarchy as a field of discriminated record -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public Li...
1,885
ada
0
wookey-project/ewok-legacy
src/Ada/syscalls/ewok-syscalls-reset.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 may obtain a copy of the License at -- -- http...
1,886
ada
0
persan/dds-requestreply
tests/simpleOO/src/dds-request_reply-tests-simple-server.ads
with DDS.Request_Reply.Tests.Simple.Octets_Replier; with DDS.Request_Reply.Tests.Simple.String_Replier; with DDS.Request_Reply.Replier.Typed_Replier_Generic.Passive_Replier_Generic; package DDS.Request_Reply.Tests.Simple.Server is type Ref_Base is limited interface; package Octets_Srv is new Octets_Replier.Passi...
1,887
ada
0
persan/a-cups
src/gen/cups-cups_pwg_h.ads
<reponame>persan/a-cups pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; private package CUPS.cups_pwg_h is -- arg-macro: function PWG_FROM_POINTS (int)(((n) * 2540 + 36) / 72 -- return int)(((n) * 2540 + 36) / 72; -- arg-macro: f...
1,888
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83f01c2.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83f01c2.ada -- C83F01C2M.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 -- unl...
1,889
ada
0
alexcamposruiz/dds-requestreply
src/orig/dds-request_reply-connext_c_replier.ads
with DDS.DataReader; with DDS.DataWriter; with DDS.Publisher; with DDS.Subscriber; with DDS.TopicDescription; with Interfaces.C.Extensions; with DDS.DomainParticipant; with DDS.Treats_Generic; with DDS.Request_Reply.Connext_C_Entity_Params; with DDS; with DDS.DataReaderListener; with Interfaces.C.Extensions; with Ada....
1,890
ada
2
thindil/tashy2
src/tcl.adb
-- Copyright (c) 2020-2021 <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/LICENSE-2.0 -- -- Unless required by applicable law or...
1,891
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/s-parint.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
1,892
ada
6
HeisenbugLtd/si_units
src/si_units-binary.ads
-------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See t...
1,893
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-solita.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,894
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-unstyp.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
1,895
ada
81
fuzzysloth/ada-awa
awa/src/awa-modules-beans.ads
----------------------------------------------------------------------- -- awa-modules-beans -- Module beans factory -- Copyright (C) 2009, 2010, 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with t...
1,896
ada
5
jhumphry/auto_counters
src/counters/basic_counters.adb
<reponame>jhumphry/auto_counters -- basic_counters.adb -- Basic non-task safe counters for use with smart_ptrs -- Copyright (c) 2016, <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and t...
1,897
ada
1
mullikine/RosettaCodeData
Task/Set-consolidation/Ada/set-consolidation-2.ada
<reponame>mullikine/RosettaCodeData package body Set_Cons is function "+"(E: Element) return Set is S: Set := (others => False); begin S(E) := True; return S; end "+"; function "+"(Left, Right: Element) return Set is begin return (+Left) + Right; end "+"; function "+"(Lef...
1,898
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/cond_expr1.adb
<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-gnat12" } function Cond_Expr1 (Dir : in String) return String is begin return (if Dir (Dir'Last) = '\' then Dir else Dir & '\'); end;
1,899
ada
5
jhumphry/auto_counters
src/kvflyweights/kvflyweights-refcounted_ptrs.adb
<reponame>jhumphry/auto_counters -- kvflyweights-refcounted_ptrs.adb -- A package of reference-counting generalised references which point to -- resources inside a KVFlyweight. Resources are associated with a key that can -- be used to create them if they have not already been created. -- Copyright (c) 2016, <NAME> --...