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
9,500
ada
60
Letractively/ada-util
testutil/ahven/ahven-temporary_output.adb
-- -- Copyright (c) 2007, 2008 <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. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR...
9,501
ada
52
onox/orka
orka_simd/src/x86/gnat/fma/orka-simd-fma-doubles-arithmetic.ads
<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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/licen...
9,502
ada
1
charlie5/lace-alire
4-high/gel/applet/demo/skinning/human/human_model_v1/launch_human_model_v1.adb
<gh_stars>1-10 with gel.Window.setup, gel.Applet.gui_world, gel.Camera, gel.Sprite, gel.Human_v1, gel.Forge, gel.human_Types, gel.human_Types_v1, physics.Model, openGL.Model.box.lit_colored_textured, openGL.Model.any, openGL.Model.sphere.lit_colored_textured,...
9,503
ada
81
fuzzysloth/ada-awa
awa/regtests/awa-jobs-modules-tests.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- jobs-tests -- Unit tests for AWA jobs -- 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 ...
9,504
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a42a.ada
-- C54A42A.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...
9,505
ada
0
iyan22/AprendeAda
ejercicios1/prueba_parchis.adb
with ada.text_io, ada.integer_text_io, sacar_ficha, lanzar_dado; use ada.text_io, ada.integer_text_io; procedure prueba_parchis is dado, intentos:integer:=0; begin loop exit when intentos=4 or dado=5; dado:=lanzar_dado(dado); intentos:=intentos+1; put("Dado: "); put(dado); -- Aunque no sea neces...
9,506
ada
3
rogermc2/GA_Ada
example_1.1/src/geometric_objects.ads
with C3GA; with Points; package Geometric_Objects is function Set_Line (L1, L2 : C3GA.Normalized_Point) return C3GA.Line; end Geometric_Objects;
9,507
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3601a.ada
-- CC3601A.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...
9,508
ada
1
LaudateCorpus1/RosettaCodeData
Task/Safe-addition/Ada/safe-addition-3.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Test_Interval_Addition is -- Definitions from above procedure Put (I : Interval) is begin Put (Long_Float'Image (Long_Float (I.Lower)) & "," & Long_Float'Image (Long_Float (I.Upper))); end Put; begin Put (1.14 + 2000.0); end Test_Interval_Addition;
9,509
ada
9
Kidev/AdaPhysics2D
circles.adb
<filename>circles.adb with Ada.Numerics; with Ada.Unchecked_Deallocation; package body Circles is -- Initialization of a Circle procedure Initialize(This : in CircleAcc; Pos, Vel, Grav : in Vec2D; Rad : in Float; Mat : in Material) is begin Entities.Initialize(Entities.Entity...
9,510
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/ike/tkmrpc-operation_handlers-ike-isa_create.ads
<filename>specs/ada/server/ike/tkmrpc-operation_handlers-ike-isa_create.ads with Tkmrpc.Request; with Tkmrpc.Response; package Tkmrpc.Operation_Handlers.Ike.Isa_Create is procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type); -- Handler for the isa_create operation. end Tkmrpc.Operation_Han...
9,511
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-sssita.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
9,512
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-response-ike-isa_sign-convert.ads
<gh_stars>0 with Ada.Unchecked_Conversion; package Tkmrpc.Response.Ike.Isa_Sign.Convert is function To_Response is new Ada.Unchecked_Conversion ( Source => Isa_Sign.Response_Type, Target => Response.Data_Type); function From_Response is new Ada.Unchecked_Conversion ( Source => Response.Data_T...
9,513
ada
0
thierr26/ada-apsepp
src/apsepp-test_node_class-abstract_simu_case.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class.Case_Stub; package Apsepp.Test_Node_Class.Abstract_Simu_Case is type Test_Routine_Destiny_Kind is (No_Failure, Access_Fai...
9,514
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-i2s.ads
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.I2S is pragma Preelaborate; ...
9,515
ada
10
HeisenbugLtd/Saatana
tests/saatana-crypto-stream_tools.ads
<filename>tests/saatana-crypto-stream_tools.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (C) 2017-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 ...
9,516
ada
0
Fabien-Chouteau/bb_pico_bsp
src/bb_pico_bsp-keyboard.adb
with BB_Pico_Bsp.I2C; package body BB_Pico_Bsp.Keyboard is Device : BBQ10KBD.BBQ10KBD_Device (BB_Pico_Bsp.I2C.Port); ------------------ -- Key_FIFO_Pop -- ------------------ function Key_FIFO_Pop return BBQ10KBD.Key_State is begin return Device.Key_FIFO_Pop; end Key_FIFO_Pop; --------...
9,517
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/zfp-stm32g474/gnat/setup_pll.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,518
ada
24
svn2github/matreshka
tools/ayacc/src/verbose_file.adb
<gh_stars>10-100 -- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/verbose_file_body.a,v 1.1 88/08/08 14:44:42 arcadia Exp $ -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were <NAME> and <NAME>. -- Enhancements were made by <NAME>. --...
9,519
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/parent_ltd_with.ads
<gh_stars>1-10 limited with Parent_Ltd_With.Child_Full_View; package Parent_Ltd_With is type Symbol is abstract tagged limited private; type Symbol_Access is access all Symbol'Class; private type Symbol is abstract tagged limited record Comp : Integer; end record; end Parent_Ltd_With;
9,520
ada
1
brucegua/moocos
tools/scitools/sample/mahjongg/queue_pa.adb
<filename>tools/scitools/sample/mahjongg/queue_pa.adb -------------------------------------------------------------------- --| Package : Queue_Package Version : 2.0 -------------------------------------------------------------------- --| Abstract : Specification of a classic queue. ---...
9,521
ada
20
charlie5/lace
3-mid/opengl/source/platform/egl/private/opengl-surface-privvy.ads
with eGL; package opengl.Surface.privvy is function to_eGL (Self : in Surface.item'Class) return egl.EGLSurface; end opengl.Surface.privvy;
9,522
ada
0
vasilev-dev/AdaCompiler
AdaCompiler/in/test0.adb
<reponame>vasilev-dev/AdaCompiler procedure Hello is begin null; end Hello;
9,523
ada
0
myplus1/my
v8.55.ads
<reponame>myplus1/my {"version_code":552023,"content":" <p>.</p> <li>.</li> ","url":"" }
9,524
ada
1
jweese/Ada_Vent_19
day_05.adb
<filename>day_05.adb with Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with Intcode; with Memory; procedure Day_05 is package IO is new Ada.Text_IO.Integer_IO(Memory.Value); Program_Name: constant String := Ada.Command_Line.Argument(1); F: File_Type; begin Open(F, In_File, Program_Name); declar...
9,525
ada
9
stcarrez/ada-search
src/search-filters.ads
<gh_stars>1-10 ----------------------------------------------------------------------- -- search-filters -- Search engine filters -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with ...
9,526
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/enumeration_with_text_io.adb
<reponame>ouankou/rose<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/enumeration_with_text_io.adb with Ada.Text_IO; procedure Enumeration_With_Text_IO is type MyColor is (Blue, Red, Green, Yellow); for MyColor use (Blue => 11, Red => 22, Green...
9,527
ada
13
Fabien-Chouteau/GESTE
tests/src/sprite_rotation.adb
with GESTE; with GESTE.Sprite.Rotated; with GESTE.Tile_Bank; with GESTE.Maths_Types; use GESTE.Maths_Types; with Ada.Text_IO; with Console_Char_Screen; procedure Sprite_Rotation is use type GESTE.Pix_Point; package Console_Screen is new Console_Char_Screen (Width => 5, Height => 5, ...
9,528
ada
33
persan/zeromq-Ada
eBindings/dl/tests/dl-test_all.adb
with AUnit.Run; -- with AUnit.Reporter.Text; with AUnit.Reporter.XML; with Dl.Test_All_Suit; ----------------- -- Dl.Test_All -- ----------------- procedure Dl.Test_All is procedure Run is new AUnit.Run.Test_Runner (Dl.Test_All_Suit.Suite); -- Reporter : AUnit.Reporter.Text.Text_Reporter; Reporter : AUnit....
9,529
ada
3
daveshields/AdaEd
predef.ada
<gh_stars>1-10 -- -- -- ********************************** -- * * -- * T e x t * -- * * -- * Input / Output Package * -- * * -- * and ...
9,530
ada
1
LaudateCorpus1/RosettaCodeData
Task/Read-a-specific-line-from-a-file/Ada/read-a-specific-line-from-a-file.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Rosetta_Read is File : File_Type; begin Open (File => File, Mode => In_File, Name => "rosetta_read.adb"); Set_Line (File, To => 7); declare Line_7 : constant String := Get_Line (File); begin if Line_7'Length = 0 then P...
9,531
ada
0
Robert-Tice/EmbeddedFractal
src/screen_isr.adb
<gh_stars>0 with FT801; with Screen_Settings; package body Screen_Isr is protected body ISR_Body is procedure Handler is ISR_Flags : FT801.Interrupts; begin if Interrupt_Line.Read_Interrupt_Status then ISR_Flags := FT801.Read_Interrupts (This => Screen_Set...
9,532
ada
1
persan/A-gst
src/gstreamer-rtsp-url.adb
<filename>src/gstreamer-rtsp-url.adb pragma Ada_2012; pragma Warnings (Off); with GStreamer.GST_Low_Level.Gstreamer_0_10_Gst_Rtsp_Gstrtspdefs_H; package body GStreamer.Rtsp.url is use GStreamer.GST_Low_Level.Gstreamer_0_10_Gst_Rtsp_Gstrtspurl_H; use GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h; ...
9,533
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-mmauni-long.ads
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-mmauni-long.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
9,534
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-osinte__lynxos178.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
9,535
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
common/stm32gd.ads
pragma Warnings (Off); with Interfaces; use Interfaces; pragma Warnings (On); package STM32GD is pragma Preelaborate; type UID_Type is array (1 .. 3) of Unsigned_32; procedure Wait_For_Interrupt with Inline_Always; procedure Clear_Event with Inline_Always; procedure Wait_For_Event with Inline_Always;...
9,536
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/svd/FE310/fe310_svd-uart.ads
<reponame>rocher/Ada_Drivers_Library -- This spec has been automatically generated from FE310.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package FE310_SVD.UART is pragma Preelaborate; --------------- -- Registers -- --------------- ...
9,537
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch2.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
9,538
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-suenst.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-suenst.adb ------------------------------------------------------------------------------ -- -- -- GNAT R...
9,539
ada
3
jwarwick/aoc_2020
day15/src/main.adb
<filename>day15/src/main.adb -- AOC 2020, Day 15 with Ada.Text_IO; use Ada.Text_IO; with Day; use Day; procedure main is s : constant Input_Array := (0, 8, 15, 2, 12, 1, 4); num : constant Natural := 2020; part1 : constant Natural := sequence(s, num); num2 : constant Natural := 30000000; part2 : constant Nat...
9,540
ada
20
charlie5/lace
1-base/lace/source/events/mixin/xgc/lace-make_observer-deferred.adb
with lace.Event.Logger, lace.Event.utility, ada.unchecked_Deallocation; package body lace.make_Observer.deferred is procedure free is new ada.unchecked_Deallocation (String, String_view); overriding procedure destroy (Self : in out Item) is begin make_Observer.destroy (make_Observe...
9,541
ada
12
TUM-EI-RCS/StratoX
runtime/ravenscar-sfp-stm32f427/common/s-memory.adb
<reponame>TUM-EI-RCS/StratoX<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
9,542
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/rep_clause2.adb
<reponame>best08618/asylo -- { dg-do compile } package body Rep_Clause2 is procedure Assign (From : Data; Offset : Positive; I : Index; To : out Bit_Array) is begin To (Offset .. Offset + 7) := Bit_Array (Conv (From.D(I).S.N)); end; end Rep_Clause2;
9,543
ada
0
faelys/natools
generated/natools-s_expressions-printers-pretty-config-quoted_cmd.adb
with Interfaces; use Interfaces; package body Natools.S_Expressions.Printers.Pretty.Config.Quoted_Cmd is P : constant array (0 .. 2) of Natural := (1, 4, 10); T1 : constant array (0 .. 2) of Unsigned_8 := (11, 3, 3); T2 : constant array (0 .. 2) of Unsigned_8 := (14, 19, 16); G : constan...
9,544
ada
33
ytomino/drake
source/directories/machine-pc-freebsd/s-nadise.adb
with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with System.Standard_Allocators; with System.Storage_Elements; with System.Zero_Terminated_Strings; with C.errno; with C.fnmatch; with C.stdint; with C.sys.types; package body System.Native_Directories.Searching is use Ada....
9,545
ada
1
io7m/coreland-opengl-ada
opengl-types.ads
with Ada.Numerics.Generic_Real_Arrays; with OpenGL.Thin; package OpenGL.Types is subtype Integer_t is Thin.Integer_t; subtype Float_t is Thin.Float_t; subtype Double_t is Thin.Double_t; subtype Clamped_Double_t is Double_t range 0.0 .. 1.0; subtype Clamped_Float_t is Float_t range ...
9,546
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/a-swuwti.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
9,547
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507c.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507c.ada<gh_stars>1-10 -- C35507C.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 ...
9,548
ada
2
AdaCore/style_checker
testsuite/tests/NA17-007__copyright/g-md5.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
9,549
ada
6
bosepchuk/Ada_Drivers_Library
arch/ARM/Nordic/drivers/nrf51-twi.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
9,550
ada
1
selroc/Renaissance-Ada
src/tools/Dependency_Graph_Extractor/src/command_line.ads
with Ada.Containers.Vectors; with Ada.Strings.Unbounded; package Command_Line is package SU renames Ada.Strings.Unbounded; package Input_File_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => SU.Unbounded_String, "=" => SU."="); function Parse_Comman...
9,551
ada
2
thindil/tashy2
tests/tk-frame-frame_options_test_data.ads
<filename>tests/tk-frame-frame_options_test_data.ads -- 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'...
9,552
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-vercon.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
9,553
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/tkmrpc-dispatchers.ads
package Tkmrpc.Dispatchers is end Tkmrpc.Dispatchers;
9,554
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1108b.ada
-- CA1108B.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...
9,555
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/oversize.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/oversize.ads with Ada.Numerics.Discrete_Random; package Oversize is subtype M1 is Integer range 1 .. 200; -- Won't trigger type R1 (D : M1 := 100) is record Name : String (1 .. D); end record; type M2 is new Integer rang...
9,556
ada
1
TNO/Rejuvenation-Ada
src/rejuvenation-printer.adb
<reponame>TNO/Rejuvenation-Ada<gh_stars>1-10 with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with Rejuvenation.Utils; use Rejuvenation.Utils; package body Rejuvenation.Printer is -- Private ------- procedure Print (Str : in out Unbounded_String; Node : Ada_...
9,557
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-dbgmailbox.ads
<filename>arch/ARM/NXP/svd/lpc55s6x/nxp_svd-dbgmailbox.ads -- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with ...
9,558
ada
0
Lucretia/old_nehe_ada95
utils/line_segment.adb
--------------------------------------------------------------------------------- -- Copyright 2004-2005 © <NAME> -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. -------------------------------------------------------------------...
9,559
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/drivers/nrf52/nrf-adc.adb
------------------------------------------------------------------------------ -- -- -- Copyright © AdaCore and other contributors, 2017-2020 -- -- See https://github.com/AdaCore/Ada_Drivers_Library/graphs/contributors -- -- f...
9,560
ada
5
docandrew/troodon
include/bits_types_struct_timespec_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_h; package bits_types_struct_timespec_h is -- NB: Include guard matches what <linux/time.h> uses. -- POSIX.1b structure for a time value. This is like a `struct timeval' but -- has nanoseconds instead of micr...
9,561
ada
0
SmashedSquirrel/AdaPrimes
PrimeTime.ada
with Interface_Pkg; procedure Main_Proc is begin Interface_Pkg.Find_Prime; end Main_Proc;
9,562
ada
0
reznikmm/webidl
source/lexer/generated/webidl-scanner_types.ads
package WebIDL.Scanner_Types is pragma Preelaborate; type State is mod +32; subtype Looping_State is State range 0 .. 23; subtype Final_State is State range 13 .. State'Last - 1; Error_State : constant State := State'Last; INITIAL : constant State := 0; In_Comment : constant State := 12; typ...
9,563
ada
0
frmr/power-station
power_station.ads
with SPARK.Text_IO; use SPARK.Text_IO; package power_station with SPARK_Mode is procedure Start_Reactor with Global => (In_Out => (Standard_Input, Standard_Output)), Depends => (Standard_Output => (Standard_Input, Standard_Output), Standard_Input => (Standard_Input)), Pre => St...
9,564
ada
1
LaudateCorpus1/RosettaCodeData
Task/Trigonometric-functions/Ada/trigonometric-functions.ada
with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; with Ada.Float_Text_Io; use Ada.Float_Text_Io; with Ada.Text_IO; use Ada.Text_IO; procedure Trig is Degrees_Cycle : constant Float := 360.0; Radians_Cycle : constant Float := 2.0 * Ada.Numerics.Pi; Angle_Degrees : constant Float :=...
9,565
ada
0
JCGobbi/Nucleo-STM32G474RE
src/errors/error_handling.adb
with STM_Board; use STM_Board; with Inverter_PWM; package body Error_Handling is procedure Make_Safe is begin if not STM_Board.Is_Initialized then STM_Board.Initialize_GPIO; end if; -- Force the gate driver into a safe state Inverter_PWM.Safe_State; -- Signal error t...
9,566
ada
2
charlie5/cBound
tier-1/gmp/source/thin/gmp_c-mpz_ptr.ads
<gh_stars>1-10 -- This file is generated by SWIG. Please do *not* modify by hand. -- with gmp_c.a_a_mpz_struct; with Interfaces.C; package gmp_c.mpz_ptr is -- Item -- subtype Item is gmp_c.a_a_mpz_struct.Pointer; -- Items -- type Items is array (Interfaces.C.size_t range <>) of aliased gmp_c.m...
9,567
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a24a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a24a.ada -- C54A24A.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...
9,568
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/g-traceb.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,569
ada
0
alire-project/sdlada
unit_tests/colour_test_cases.ads
<reponame>alire-project/sdlada<filename>unit_tests/colour_test_cases.ads<gh_stars>0 -------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2014-2015 <NAME> -- -- This software is provided 'as-is', without any express or implied -- warrant...
9,570
ada
0
gonma95/RealTimeSystem_CarDistrations
devices2.adb
<gh_stars>0 -- Error in samples has been corrcted with Kernel.Serial_Output; use Kernel.Serial_Output; with ada.strings.unbounded; use ada.strings.unbounded; with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io; with System; use System; with tools; use tools; package body devices is EY...
9,571
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-view.ads
with agar.core.event; with agar.core.object; with agar.core.tail_queue; with agar.core; with agar.gui.style; with agar.gui.surface; with agar.gui.widget; with agar.gui.window; with interfaces.c; with sdl.keysym; with sdl.video; package agar.gui.view is package c renames interfaces.c; package window_tail_queue is ...
9,572
ada
24
svn2github/matreshka
source/amf/uml/amf-standard_profile_l2-metaclasses-collections.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
9,573
ada
0
jhumphry/Ada_BinToAsc
src/bintoasc-base32.adb
-- BinToAsc.Base32 -- Binary data to ASCII codecs - Base64 codec as in RFC4648 -- Copyright (c) 2015, <NAME> - see LICENSE file for details with Ada.Characters.Handling; package body BinToAsc.Base32 is use Ada.Characters.Handling; function Make_Base32_Reverse_Alphabet return Reverse_Alphabet_Lookup is beg...
9,574
ada
2
skordal/ada-regex
src/regex-utilities.ads
-- Ada regular expression library -- (c) <NAME> 2020 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> package Regex.Utilities is pragma Pure; end Regex.Utilities;
9,575
ada
286
auzkok/libagar
ada/core/agar-object.adb
<filename>ada/core/agar-object.adb<gh_stars>100-1000 ------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . O B J E C T -- -- ...
9,576
ada
0
Letractively/ada-asf
src/asf-validators-texts.ads
----------------------------------------------------------------------- -- asf-validators-texts -- ASF Texts Validators -- Copyright (C) 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 the Licens...
9,577
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/g-io.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/g-io.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
9,578
ada
0
cliffano/jenkins-api-clients-generator
clients/ada/generated/src/model/-models.adb
-- <NAME> -- Jenkins API clients generated from Swagger / Open API specification -- -- The version of the OpenAPI document: 1.1.2_pre.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0. -- https://openapi-generator.tech -- Do not edit the class manually. package body .M...
9,579
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35703a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35703a.ada -- C35703A.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...
9,580
ada
20
charlie5/lace
3-mid/opengl/source/lean/model/opengl-model-capsule-lit_colored_textured.ads
<reponame>charlie5/lace with openGL.Geometry; package openGL.Model.capsule.lit_colored_textured -- -- Models a lit, colored and textured capsule. -- is type Item is new Model.capsule.item with record Radius : Real; Height : Real; Color : lucid_Color; Image : asset...
9,581
ada
10
astyl/AcrobatomaticBuildSystem
sampleprj/adalib/include/example.ads
Package Example is function Hello(i: in Integer) return Integer; end Example;
9,582
ada
1
danva994/ASFML-1.6
include/sf-system-thread.ads
<reponame>danva994/ASFML-1.6<gh_stars>1-10 -- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will t...
9,583
ada
0
reznikmm/gela
source/nodes/program-nodes-loop_parameter_specifications.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Discrete_Ranges; with Program.Elements.Loop_Parameter_Specifications; with...
9,584
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a24e.ada
-- CD2A24E.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...
9,585
ada
24
svn2github/matreshka
source/xml/sax/matreshka-internals-xml-entity_tables.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
9,586
ada
0
faelys/natools
src/natools-s_expressions-parsers.adb
------------------------------------------------------------------------------ -- Copyright (c) 2013-2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
9,587
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/fname-uf.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,588
ada
2
Infoss/conf-profile-4-android
ConfProfile/jni/strongswan/src/charon-tkm/src/ees/esa_event_service.adb
<reponame>Infoss/conf-profile-4-android<filename>ConfProfile/jni/strongswan/src/charon-tkm/src/ees/esa_event_service.adb -- -- Copyright (C) 2012 <NAME> -- Copyright (C) 2012 <NAME> -- Hochschule fuer Technik Rapperswil -- -- This program is free software; you can redistribute it and/or modify it -- under the term...
9,589
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/configurationPragma_tests/tests/with_dot_issue.sub.ads
package with_dot_issue.sub is --begin Bytes_In_Word : constant := 2; end with_dot_issue.sub;
9,590
ada
24
svn2github/matreshka
source/league/league-json-values.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
9,591
ada
25
thierr26/ada-keystore
src/keystore-passwords-keys.adb
<reponame>thierr26/ada-keystore<filename>src/keystore-passwords-keys.adb<gh_stars>10-100 ----------------------------------------------------------------------- -- keystore-passwords-keys -- Key provider -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0...
9,592
ada
0
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn12.adb
-- { dg-do compile } -- { dg-options "-O2" } with Text_IO; use Text_IO; with System.Storage_Elements; use System.Storage_Elements; with Warn12_Pkg; use Warn12_Pkg; procedure Warn12 (N : Natural) is Buffer_Size : constant Storage_Offset := Token_Groups'Size/System.Storage_Unit + 4096; Buffer ...
9,593
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_hello_world_with_use.adb
with SimpleAda.IO; use SimpleAda.IO; procedure Simple_Hello_World is begin Put_Line("Hello, world!"); end Simple_Hello_World;
9,594
ada
0
usainzg/EHU
PMOO/ADA/LAB2/PARTE_2/listas.adb
<gh_stars>0 with Ada.Text_IO, Ada.Integer_Text_IO; use Ada.Text_IO, Ada.Integer_Text_IO; package body Listas is procedure Crear_Vacia ( L : out Lista) is begin L := null; end Crear_Vacia; procedure Colocar ( L : in out Lista; E :...
9,595
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca2002a0.ada
<reponame>best08618/asylo -- CA2002A0M.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 cont...
9,596
ada
0
strenkml/EE368
memsim-master/src/parser-parse_option.adb
with Memory.Option; use Memory.Option; with Util; use Util; separate (Parser) procedure Parse_Option(parser : in out Parser_Type; result : out Memory_Pointer) is mem : Option_Pointer := Create_Option; begin while Get_Type(parser) = Open loop declare other : Memory_Pointe...
9,597
ada
12
jquorning/ada-asf
src/asf-components-utils-flush.ads
----------------------------------------------------------------------- -- components-utils-flush -- Flush javascript queue and response -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in com...
9,598
ada
24
svn2github/matreshka
tools/ayacc/src/stack_pack.ads
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were <NAME> and <NAME>. -- Enhancements were made by <NAME>. -- -- Send requests for ayacc information to <EMAIL> -- Send bug reports for ayacc to <EMAIL> -- -- Redistribution and use in...
9,599
ada
7,053
Elon143/Amass
resources/scripts/archive/ukwebarchive.ads
-- Copyright 2021 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "UKWebArchive" type = "archive" function start() set_rate_limit(3) end function vertical(ctx, domain) scrape(ctx, {['url']=build_url(domain)}) end function ...