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
28,600
ada
204
lenzomj/whitakers-words
src/support_utils/support_utils-developer_parameters.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
28,601
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1c04e.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1c04e.ada<gh_stars>1-10 -- CD1C04E.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 ...
28,602
ada
0
OneWingedShark/ada-probe
src/aids-env.adb
<filename>src/aids-env.adb<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Fixed; package body Aids.Env is Function Find(Env : in Typ; Key : in String; Found : in out Boolean ) return String is Begin Found := Env.Contains( Key ); ...
28,603
ada
52
onox/orka
orka/src/orka/implementation/orka-rendering-buffers.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
28,604
ada
1
stcarrez/helios
src/helios-tools-formats.adb
<filename>src/helios-tools-formats.adb<gh_stars>1-10 ----------------------------------------------------------------------- -- helios-tools-formats -- Formatting utilities for the agent -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License");...
28,605
ada
12
TUM-EI-RCS/StratoX
software/hal/hpl/STM32/drivers/sd/sdmmc/stm32-sdmmc.ads
<filename>software/hal/hpl/STM32/drivers/sd/sdmmc/stm32-sdmmc.ads -- Initially based on stm32f7xx_hal_sd.h -- V1.0.4 -- 09-December-2015 -- -- SDCard driver. Controls the SDMMC peripheral. with System; with STM32_SVD.SDMMC; use STM32_SVD.SDMMC; with STM32.DMA; package STM32.SDMMC is type SDMMC_Controller is ...
28,606
ada
24
svn2github/matreshka
source/xml/catalogs/matreshka-xml_catalogs-handlers.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
28,607
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Swarm/vehicle_interface.adb
<filename>Sources/Swarm/vehicle_interface.adb<gh_stars>1-10 -- -- <NAME>, Australia, 2015 -- with Ada.Task_Identification; use Ada.Task_Identification; with Swarm_Configuration; use Swarm_Configuration; with Swarm_Control; use Swarm_Control; with Swarm_Data; use Swarm_Data; with...
28,608
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a2a031a.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a2a031a.ada -- A2A031A.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...
28,609
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-blogs/src/awa-blogs-modules.ads
<filename>awa/plugins/awa-blogs/src/awa-blogs-modules.ads ----------------------------------------------------------------------- -- awa-blogs-module -- Blog and post management module -- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under th...
28,610
ada
0
balintsoos/LearnAda
gyak/gyak4/sorok/sordemo.adb
with Sorok, Ada.Command_Line, Ada.Integer_Text_IO; use Sorok; procedure SorDemo is N: Integer; S: Sor(Ada.Command_Line.Argument_Count); begin for I in 1..Ada.Command_Line.Argument_Count loop N := Integer'Value(Ada.Command_Line.Argument(I)); Hiext( S, N ); end loop; while no...
28,611
ada
0
Fabien-Chouteau/libriscv
src/libriscv-except.ads
<reponame>Fabien-Chouteau/libriscv ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, <NAME> -- -- ...
28,612
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_01ee.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
28,613
ada
0
thierr26/ada-apsepp
src/apsepp-test_event_class-generic_assert_num_mixin.ads
<filename>src/apsepp-test_event_class-generic_assert_num_mixin.ads -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. generic type Parent is abstract new Test_Event_Base with private; package Apsepp.Test_Event_Class.Generic_Assert_Num_Mixin is type Child_W_Assert_Num is new...
28,614
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/scalar_mode_agg_compare_loop.adb
<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-O2 -gnatp" } function Scalar_Mode_Agg_Compare_Loop return Boolean is S : constant String (1 .. 4) := "ABCD"; F : constant Natural := S'First; L : constant Natural := S'Last; begin for J in F .. L - 1 loop if S (F .. F) = "X" or (J <= L - 2 and S ...
28,615
ada
79
Roldak/OpenGLAda
src/gl/interface/gl-vectors.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" generic type Index_Type is (<>); type Element_Type is private; with function "+" (Left, Right : Element_Type) return Element_Type is <>; with function "-" (Left, Right : Element_Type) return Eleme...
28,616
ada
20
charlie5/lace
4-high/gel/applet/tute/pong/1-basic_applet_window/launch_pong_tute.adb
with mmi.Window.setup, mmi.Applet.gui_world, mmi.Forge, mmi.World, mmi.Camera, Physics; pragma Unreferenced (mmi.Window.setup); procedure launch_Pong_Tute -- -- Basic pong game. -- is use mmi.Applet, mmi.Applet.gui_world, mmi.Math; --- Applet -- the_Applet :...
28,617
ada
79
Roldak/OpenGLAda
src/gl/interface/gl-types-colors.ads
<reponame>Roldak/OpenGLAda -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Interfaces.C.Pointers; package GL.Types.Colors is pragma Preelaborate; type Color_Index is (R, G, B, A); subtype Basic_Color_Index is Color_Index range R .. B; s...
28,618
ada
8
flyx/OpenCLAda
src/interface/cl_gl/cl-memory-cl_gl.ads
<reponame>flyx/OpenCLAda<gh_stars>1-10 -------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copy...
28,619
ada
1
skill-lang/skillAdaTestSuite
test/annotation/test_annotation-append.adb
<gh_stars>1-10 with Ada.Text_IO; package body Test_Annotation.Append is File_Name : constant String := "tmp/test-append-annotation.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Annotation.Append"); Ahven.Framework.Add_Test_Routine (T, Append_Test_1'Access, "append test ...
28,620
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-except.ads
<reponame>brucegua/moocos --********** --* Helen --* Added some declarations here to agree with Ada95 manual --******** ------------------------------------------------------------------------------ -- -- -- GNAT COMPILE...
28,621
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads
<gh_stars>1-10 package Loop_Optimization7_Pkg is pragma Pure; type Rec is record F : Float; end record; function Conv (Trig : Rec) return Rec; end Loop_Optimization7_Pkg;
28,622
ada
0
Vovanium/Encodings
source/encodings-line_endings-generic_add_cr.adb
package body Encodings.Line_Endings.Generic_Add_CR is procedure Convert( This: in out Coder; Source: in String_Type; Source_Last: out Natural; Target: out String_Type; Target_Last: out Natural ) is C: Character_Type; begin Source_Last := Source'First - 1; Target_Last := Target'First - 1; if This.St...
28,623
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-taskin.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-taskin.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
28,624
ada
1
skill-lang/skillAdaTestSuite
benchmark/benchmark_s_number.ads
<reponame>skill-lang/skillAdaTestSuite with Number.Api; package Benchmark_S_Number is procedure Create (N : Integer; File_Name : String); procedure Write (N : Integer; File_Name : String); procedure Read (N : Integer; File_Name : String); procedure Reset (N : Integer; File_Name : String); end Benchmark_S...
28,625
ada
0
oysteinlondal/Inverted-Pendulum
meassure_velocity.ads
--with Imu.Library; use Imu.Library with Exception_Declarations; use Exception_Declarations; package Meassure_Velocity is procedure Retrieve_Velocity (Velocity_Z : out Float); private X_Coordinate : Float; Y_Coordinate : Float; Z_Coordinate : Float; end Meassure_Velocity;
28,626
ada
2
charlie5/cBound
tier-1/gmp/source/thin/gmp_c-mp_rat.ads
<reponame>charlie5/cBound -- This file is generated by SWIG. Please do *not* modify by hand. -- with gmp_c.a_a_mpq_struct; with Interfaces.C; package gmp_c.MP_RAT is -- Item -- subtype Item is gmp_c.a_a_mpq_struct.Item; -- Items -- type Items is array (Interfaces.C.size_t range <>) of aliased ...
28,627
ada
20
charlie5/lace
3-mid/opengl/source/platform/egl/opengl-screen.adb
package body openGL.Screen is -- function Thin (Self : in Item) return xcb.xcb_screen_t.Pointer -- is -- begin -- return Self.Thin; -- end Thin; -- procedure Thin_is (Self : in out Item; Now : in xcb.xcb_screen_t.Pointer) -- is -- begin -- Self.Thin := Now; -- end Thin...
28,628
ada
6
gerr135/ada_gems
list_combo/src/lists-dynamic.ads
-- -- This implementation encapsulates Ada.Containers.Vectors.Vector as a record entry. -- This is a common way to compose enveloping type, requiring glue code to implement all -- declared methods. SImple to understand, but only explicitly declared methods are available. -- -- Copyright (C) 2018 <NAME> <<EMAIL>> -- -- ...
28,629
ada
33
ytomino/drake
examples/ucd_generalcategory.adb
-- convert UCD/extracted/DerivedGeneralCategory.txt -- bin/ucd_generalcategory $UCD/extracted/DerivedGeneralCategory.txt > ../source/strings/a-ucgeca.ads with Ada.Command_Line; use Ada.Command_Line; with Ada.Containers.Doubly_Linked_Lists; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Strings; use Ada.Str...
28,630
ada
0
cocolab8/cocktail
reuse/ada/dynarrdr.adb
<reponame>cocolab8/cocktail -- $Id: DynArrDrv.mi,v 1.1 1991/11/21 14:33:17 grosch rel $ -- $Log: DynArrDrv.mi,v $ -- Ich, <NAME>, Informatiker, Aug. 1994 with DynArray, Text_Io; use Text_Io; procedure DynArrDr is package Int_Io is new Integer_IO (Integer); use Int_Io; package Real_Io is new Float_IO (Float ); u...
28,631
ada
1
faelys/lithium3
src/sqlite3.adb
<filename>src/sqlite3.adb pragma Style_Checks (Off); -- -- Copyright (c) 2009, 2012 <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. ...
28,632
ada
1
dshadrin/AProxy
src/sinks.ads
---------------------------------------- -- Copyright (C) 2019 <NAME> -- -- All rights reserved. -- ---------------------------------------- with Pal; with Logging_Message; with ConfigTree; with Ada.Strings.Unbounded; with Ada.Containers.Vectors; package Sinks is use all type Logging_Message.LogMess...
28,633
ada
8
flyx/OpenCLAda
src/implementation/cl-vector_set.adb
-------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- 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 this permission notice...
28,634
ada
24
svn2github/matreshka
source/league/arch/x86_generic/matreshka-internals-strings-handlers-generic_x86_sse2.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
28,635
ada
269
ProtonAOSP-platina/android_external_libncurses
Ada95/samples/ncurses2-menu_test.adb
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
28,636
ada
33
ytomino/drake
source/image/required/s-valcha.ads
pragma License (Unrestricted); -- implementation unit required by compiler package System.Val_Char is pragma Pure; -- required for Character'Value by compiler (s-valcha.ads) function Value_Character (Str : String) return Character; -- helper HEX_Prefix : constant String := "HEX_"; -- upper case p...
28,637
ada
3
stcarrez/ada-css
regtests/css-core-properties-tests.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- css-core-tests -- Unit tests for CSS core package -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
28,638
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-numran.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
28,639
ada
1
LaudateCorpus1/RosettaCodeData
Task/Element-wise-operations/Ada/element-wise-operations-3.ada
<reponame>LaudateCorpus1/RosettaCodeData package body Matrix_Scalar is function Func(Left: Matrix; Right: Num) return Matrix is Result: Matrix; begin for R in Rows loop for C in Cols loop Result(R,C) := F(Left(R,C), Right); end loop; end loop; return Result; ...
28,640
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-model-queries.adb
<reponame>jrcarter/Ada_GUI -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- -- -...
28,641
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/nordic/nrf52/nrf52840/svd/i-nrf52-gpio.ads
<gh_stars>0 -- -- Copyright (C) 2019, AdaCore -- -- 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 so...
28,642
ada
0
caqg/linux-home
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_mast.adb
<reponame>caqg/linux-home with Ada.Text_IO, Ada.Characters.Handling, Ada.Strings.Fixed, Ada.Strings.Unbounded; with ARM_Input, ARM_File, --ARM_Format, redundant ARM_Output, ARM_Text, ARM_Texinfo, ARM_HTML, ARM_RTF, ARM_Corr; --ARM_Master, --...
28,643
ada
30
jscparker/math_packages
disorderly/binary_rank.adb
<reponame>jscparker/math_packages ----------------------------------------------------------------------- -- package body Binary_Rank, routines for Marsaglia's Rank Test. -- Copyright (C) 1995-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is he...
28,644
ada
0
Fabien-Chouteau/ASFML
include/sf-graphics-view.ads
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising from the use of this...
28,645
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93005a.ada
-- C93005A.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...
28,646
ada
3
herrBez/MOS6502-Emulator
Ada/src/instruction.adb
package body Instruction is function Initialize_Instruction_Table return Fun_Array is Instruction_Table : Fun_Array(0..255) := (others => Not_Yet_Supported_Operation'Access); begin Instruction_Table(16#EA#) := NOP'Access; return Instruction_Table; end Initialize_Instruction_Table; ...
28,647
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Graphics/models.ads
<reponame>ForYouEyesOnly/Space-Convoy -- -- Jan & <NAME>, Australia, July 2011 -- with GLOBE_3D; package Models is pragma Elaborate_Body; type Model_Name is (Spaceship, Sphere); -- type Model_Name is (Arrow, -- Cube, -- Duck, -- Plan...
28,648
ada
20
charlie5/lace
3-mid/opengl/source/desk/opengl-raster.ads
package openGL.Raster -- -- Provides raster operations. -- is procedure set_Window_Position (X, Y : in Real; Z : in Real := 0.0; -- Default of '0.0' places text in front of all other renders. W : in Real := 1.0); end openGL.Raster;
28,649
ada
0
Fabien-Chouteau/offmt-tool
src/offmt_lib.ads
with Ada.Strings.Unbounded; with Ada.Containers.Indefinite_Doubly_Linked_Lists; with Ada.Containers.Indefinite_Hashed_Maps; with Interfaces; private with System.Storage_Elements; private with Ada.Containers.Vectors; package Offmt_Lib is Log_Root_Pkg : constant Wide_Wide_String := "Offmt"; type Format_Kind i...
28,650
ada
13
Fabien-Chouteau/GESTE
examples/utils/sdl/gl_gl_h.ads
<reponame>Fabien-Chouteau/GESTE<filename>examples/utils/sdl/gl_gl_h.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; package GL_gl_h is GL_VERSION_1_1 : constant := 1; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-min...
28,651
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-dhfina.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
28,652
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/cpp_assignment.ads
-- { dg-do compile } package CPP_Assignment is type T is tagged record Data : Integer := 0; end record; pragma Convention (CPP, T); Obj1 : T := (Data => 1); Obj2 : T'Class := Obj1; end;
28,653
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/monitor/common/term.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...
28,654
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/exp_smem.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
28,655
ada
2
thindil/tashy2
tests/tk-toplevel-toplevel_create_options_test_data-toplevel_create_options_tests.adb
<reponame>thindil/tashy2<gh_stars>1-10 -- 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...
28,656
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/compile.adb
<reponame>Lucretia/old_nehe_ada95<filename>thirdparty/adasdl/thin/adasdl/AdaSDL/binding/compile.adb pragma Warnings (Off); with SDL; with SDL.RWops; with SDL.Types; with SDL.Mutex; with SDL.Video; with SDL.Active; with SDL.Keysym; with SDL.Keyboard; with SDL.Mouse; with SDL.Joystick; with SDL.Events; with SDL.Error; w...
28,657
ada
1
annexi-strayline/ASAP-JSON
json-unbounded_codecs-node_hash_maps.adb
<reponame>annexi-strayline/ASAP-JSON<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- JSON Parser/Constructor -- -- ...
28,658
ada
25
thierr26/ada-keystore
tools/akt-commands-set.adb
----------------------------------------------------------------------- -- akt-commands-set -- Set content in keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License...
28,659
ada
1
Fabien-Chouteau/sdlada
src/ttf/sdl-ttfs-makers.ads
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the...
28,660
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/g-locfil.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
28,661
ada
3
charlie5/aIDE
applet/aide/source/palettes/attic/aide-palette-of_types_package.adb
with Ada.Text_IO; use Ada.Text_IO; with Glib; use Glib; with Glib.Error; use Glib.Error; with Glib.Object; use Glib.Object; with Gtk.Box; use Gtk.Box; with Gtk.Builder; use Gtk.Builder; with Gtk.Button; use Gtk.Button; with Gtk.Frame; ...
28,662
ada
2
thindil/tashy2
tests/tk-ttklabel-ttk_label_options_test_data.adb
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. package body Tk.TtkLabel.Ttk_Label_Options_...
28,663
ada
0
optikos/oasis
source/oasis/program-elements-incomplete_type_definitions.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Definitions; with Program.Lexical_Elements; package Program.Elements.Incomplete_Type_Definitions is pragma Pure ...
28,664
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b17a.ada
-- C87B17A.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...
28,665
ada
1
bracke/brackelib
tests/src/queues_tests.adb
<filename>tests/src/queues_tests.adb with AUnit.Assertions; use AUnit.Assertions; with Brackelib; package body Queues_Tests is Container : State_Queues.Queue; procedure Set_Up (T : in out Test) is begin null; end Set_Up; procedure Test_Enqueue (T : in out Test) is begin Assert (Size (C...
28,666
ada
33
ytomino/drake
source/calendar/machine-apple-darwin/s-naexti.ads
pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) package System.Native_Execution_Time is subtype CPU_Time is Duration; function Clock return CPU_Time; end System.Native_Execution_Time;
28,667
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/sinput.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
28,668
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/slice_enum.adb
<reponame>best08618/asylo -- { dg-do compile } procedure Slice_Enum is Pos : array (Boolean) of Integer; begin Pos (Boolean) := (others => 0); end;
28,669
ada
30
jrmarino/AdaBase
src/drivers/adabase-driver-base.adb
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package body AdaBase.Driver.Base is ------------------------ -- trait_autocommit -- ------------------------ overriding function trait_autocommit (driver : Base_Driver) return Boolean is be...
28,670
ada
7
stcarrez/resource-embedder
examples/ada-config/src/show_config.adb
<gh_stars>1-10 with Ada.Text_IO; with Ada.Command_Line; with Config; procedure Show_Config is use Config; C : constant Content_Type := Get_Content ("example.conf"); begin if C.Content = null then Ada.Text_IO.Put_Line ("FAIL: No configuration file 'example.conf'"); Ada.Command_Line.Set_Exit_Status ...
28,671
ada
2
SMerrony/dgemua
processor/processor.adb
-- MIT License -- Copyright (c) 2021 <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 Software without restriction, including without limitation the rights -- to use, copy, modify, merge, p...
28,672
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/geometry/opengl-geometry-lit_colored.adb
with openGL.Program.lit, openGL.Buffer.general, openGL.Shader, openGL.Attribute, openGL.Tasks, openGL.Errors, GL.lean, GL.Pointers, Interfaces.C.Strings, System.storage_Elements; package body openGL.Geometry.lit_colored is use GL.lean, GL.Pointers, ...
28,673
ada
7,053
Elon143/Amass
resources/scripts/cert/censys.ads
-- Copyright 2020-2021 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "Censys" type = "cert" function start() set_rate_limit(3) end function vertical(ctx, domain) local c local cfg = datas...
28,674
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array26_pkg.adb
package body Array26_Pkg is function F return Inner_Type is begin return "123"; end; end Array26_Pkg;
28,675
ada
3
jwarwick/aoc_2020
day11/tests/day-test.adb
<filename>day11/tests/day-test.adb with AUnit.Assertions; use AUnit.Assertions; package body Day.Test is procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is pragma Unreferenced (T); m : constant Ferry := load_file("test1.txt"); t1 : constant Natural := steady_state_occupied(m); begin...
28,676
ada
0
persan/AUnit-addons
tests/src/suits.adb
<reponame>persan/AUnit-addons pragma Ada_2012; with Tc; package body Suits is T : aliased Tc.Test_Case; ---------- -- Suit -- ---------- S : aliased AUnit.Test_Suites.Test_Suite; function Suit return AUnit.Test_Suites.Access_Test_Suite is begin S.Add_Test (T'Access); return S'Access; ...
28,677
ada
5
jhumphry/auto_counters
tests/auto_counters_tests.adb
<filename>tests/auto_counters_tests.adb -- Auto_Counters_Tests -- Unit tests for Auto_Counters packages -- Copyright (c) 2016, <NAME> - see LICENSE file for details with Auto_Counters_Suite; with AUnit.Run; with AUnit.Reporter.Text; procedure Auto_Counters_Tests is procedure Run is new AUnit.Run.Test_Runner (Aut...
28,678
ada
0
Letractively/ada-util
src/util-files.ads
----------------------------------------------------------------------- -- Util.Files -- Various File Utility Packages -- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
28,679
ada
1
ytomino/vampire
source/vampire-forms-mobile.adb
<reponame>ytomino/vampire -- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Strings.Functions; with Ada.Environment_Encoding.Names; with Ada.Environment_Encoding.Encoding_Streams; package body Vampire.Forms.Mobile is use type Villages.Village_State; Encoding : constant Ada.Environment_Encoding.Encoding_Id :...
28,680
ada
0
usainzg/EHU
PMOO/ADA/LAB2/PARTE_1/listas.ads
<reponame>usainzg/EHU<gh_stars>0 package Listas is type Lista is limited private; -- Tipo lista ordenada creciente procedure Crear_Vacia ( L : out Lista); -- Post: crea la lista vacia L procedure Colocar ( L : in out Lista; ...
28,681
ada
12
TUM-EI-RCS/StratoX
tests/variant-record/src/main.adb
<filename>tests/variant-record/src/main.adb with Ada.Real_Time; with Ada.Text_IO; use Ada.Text_IO; with mylog; use mylog; with LogQueue; procedure main with SPARK_Mode is m : mylog.logmsg; now : Ada.Real_Time.Time; buffer : mylog.msgarray (1 .. 10); begin LogQueue.myqueue.Put (m); buffer (1) := m; ...
28,682
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-osinte-vxworks.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
28,683
ada
3
vasil-sd/ada-tlsf
tlsf/src/tlsf-block-operations.adb
<filename>tlsf/src/tlsf-block-operations.adb with System.Storage_Elements; package body TLSF.Block.Operations with SPARK_Mode is package SSE renames System.Storage_Elements; -------------------- -- Is_First_Block -- -------------------- function Is_First_Block (Ctx : TC.Context; B : Block)...
28,684
ada
1
alvaromb/Compilemon
src/decls-dtsimbols.ads
-- DECLS-DTSIMBOLS.ads -- Declaracions de taula de simbols with Decls.Dtdesc, Decls.Dgenerals, Decls.D_Taula_De_Noms, Ada.Text_IO; use Decls.Dtdesc, Decls.Dgenerals, Decls.D_Taula_De_Noms, Ada.Text_IO; package Decls.Dtsimbols is --pragma pure; type Ts...
28,685
ada
3
daveshields/AdaEd
bugs/bug11.ada
with text_io; package int_io is new text_io.integer_io(integer); -- ERROR -- text_io incorrectly made visible by "with int_io;" -- with int_io; procedure main is begin text_io.put_line("hello"); end;
28,686
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto4.adb
-- { dg-do compile } -- { dg-options "-flto" { target lto } } package body Lto4 is procedure SS_Allocate (Stack : Stack_Ptr) is Chunk : Chunk_Ptr := Stack.Current_Chunk; begin Chunk := new Chunk_Id (First => Chunk.Last, Last => Chunk.Last); end; end Lto4;
28,687
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/thin_pointer1.adb
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-O" } package body Thin_Pointer1 is procedure Set_Buffer (AD : Buf_Ptr; Buffer : Stream_ptr) is begin AD.B.A := Buffer (Buffer'First)'Address; end Set_Buffer; end Thin_Pointer1;
28,688
ada
0
rtoal/enhanced-dining-philosophers
ada/reporter.ads
------------------------------------------------------------------------------ -- reporter.ads -- -- A plain package for serializing the output of messages to standard output. ------------------------------------------------------------------------------ with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; ...
28,689
ada
1
XMoose25X/Advanced-Dungeon-Assault
Source/inventory_test.adb
with Ada.Text_IO; Use Ada.Text_IO; with Ada.Integer_Text_IO; Use Ada.Integer_Text_IO; with Ada.Float_Text_IO; Use Ada.Float_Text_IO; with inventory_list; Use inventory_list; Procedure inventory_test is backpack : List_Type; usedItem : inventoryItem; response : Integer := -1; itemID : Integer; begin lo...
28,690
ada
10
Ada-Audio/wavefiles
src/audio-wavefiles-data_types.ads
<filename>src/audio-wavefiles-data_types.ads ------------------------------------------------------------------------------ -- -- -- WAVEFILES -- -- ...
28,691
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/concat2.adb
-- { dg-do compile } -- { dg-options "-O" } with Text_IO; use Text_IO; package body Concat2 is function Get_Param return String is begin return ""; end; procedure Browse is Mode : constant String := Get_Param; Mode_Param : constant String := "MODE=" & Mode; begin Put...
28,692
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/lm3s8962-demo/oled.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...
28,693
ada
3
stcarrez/ada-css
src/css-core-values.adb
----------------------------------------------------------------------- -- css-core-values -- Representation of CSS property value(s). -- Copyright (C) 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compl...
28,694
ada
0
GLADORG/glad-cli
src/init_project.ads
<reponame>GLADORG/glad-cli with Blueprint; use Blueprint; package Init_Project is procedure Init(Path: String; ToDo: Action); private end Init_Project;
28,695
ada
0
Holt59/Ada-SDL
body/ada/game-display.adb
-------------------------------------------- -- -- -- PACKAGE GAME - PARTIE ADA -- -- -- -- GAME-DISPLAY.ADB -- -- -- -- Gestion de l'affichage principal -- -- ...
28,696
ada
3
jwarwick/aoc_2020
day10/src/day.ads
-- AOC 2020, Day 10 with Ada.Containers.Vectors; package Day is package Adaptors is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Natural); use Adaptors; function load_file(filename : in String) return Adaptors.Vector; function mult_1_3_differences(v : in Adaptors.Vector) r...
28,697
ada
0
persan/dds-requestreply
tests/simpleOO/src/dds-request_reply-tests-simple-octets_requester.ads
with DDS.Request_Reply.Requester.Typed_Requester_Generic; with Dds.Builtin_Octets_DataReader; with Dds.Builtin_Octets_DataWriter; package DDS.Request_Reply.Tests.Simple.Octets_Requester is new DDS.Request_Reply.Requester.Typed_Requester_Generic (Request_DataWriter => Dds.Builtin_Octets_DataWriter, Reply_Data...
28,698
ada
0
xuedong/mini-ada
tests/exec/return1.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put('A'); New_Line; return; Put('b'); New_Line; end Hello; -- Local Variables: -- compile-command: "gnatmake return1.adb && ./return1" -- End:
28,699
ada
4
stcarrez/ada-lzma
src/lzma-base.ads
<reponame>stcarrez/ada-lzma pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with Ada.Streams; package Lzma.Base is -- unsupported macro: LZMA_STREAM_INIT { NULL, 0, 0, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, LZMA_RESERVED_ENUM, LZMA_RESERVED_ENUM } --* -- * \f...