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
11,000
ada
0
cocolab8/cocktail
reuse/ada/strings.ads
-- $Id: Strings.md,v 1.3 1992/08/07 14:45:41 grosch rel $ -- $Log: Strings.md,v $ -- Ich, <NAME>, Informatiker, Sept. 1994 with Text_Io; use Text_Io; package strings is type tString is access String; NoString : tString := new String'(""); function Length (Source: tString) return Natural; procedure To_tStr...
11,001
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l4x2/stm32_svd-dfsdm.ads
<reponame>morbos/Ada_Drivers_Library -- This spec has been automatically generated from STM32L4x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DFSDM is pragma Preelaborate; --------------- -- Registers -- -----------...
11,002
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/binderr.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
11,003
ada
0
annexi-strayline/ASAP-Simple_HTTP
simple_http-rfc_3986-uri_parser.adb
<filename>simple_http-rfc_3986-uri_parser.adb ------------------------------------------------------------------------------ -- -- -- Simple HTTP -- -- ...
11,004
ada
2
onox/evdev-ada
src/event_device-force_feedbacks.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 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 -...
11,005
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/barrier_type.adb
<filename>Sources/Library/barrier_type.adb package body Barrier_Type is ------------- -- Barrier -- ------------- protected body Barrier is ---------- -- Wait -- ---------- entry Wait when Opened is begin Opened := Wait'Count > 0; end Wait; ----------...
11,006
ada
0
alexcamposruiz/dds-requestreply
src/dds-request_reply-requester-impl.ads
<gh_stars>0 with DDS.ReadCondition; with DDS.Request_Reply.impl; package DDS.Request_Reply.Requester.Impl is type Ref is abstract limited new DDS.Request_Reply.impl.ref and DDS.Request_Reply.Requester.Ref with private; type Ref_Access is access all Ref'Class; function Get_Request_Data_Writer (Self : not ...
11,007
ada
204
spr93/whitakers-words
src/support_utils/support_utils-word_support_package.ads
<filename>src/support_utils/support_utils-word_support_package.ads -- 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 cha...
11,008
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/exp_util.adb
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,009
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/hello_world.adb
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/hello_world.adb with Ada.Text_IO; procedure Hello_World is begin Ada.Text_IO.Put_Line ("Hello, world!"); end Hello_World;
11,010
ada
0
Tim-Tom/project-euler
Ada/src/Problem_57.adb
with Ada.Text_IO; with BigInteger; package body Problem_57 is package IO renames Ada.Text_IO; procedure Solve is use BigInteger; -- The numerator and denomonatoir of an infinite continued fraction -- is given by the recurrance relations -- h_n = a_n*h_n-1 + h_n-2 -- k_n = a_n*k_n-1 +...
11,011
ada
0
strenkml/EE368
memsim-master/src/memory-ram.adb
with Ada.Assertions; use Ada.Assertions; with Device; use Device; package body Memory.RAM is function Create_RAM(latency : Time_Type := 1; burst : Time_Type := 0; word_size : Positive := 8; word_count : Natural := 65536) retu...
11,012
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/sal-gen_unbounded_definite_vectors-gen_image_aux.adb
<gh_stars>0 -- Abstract : -- -- See spec. -- -- Copyright (C) 2018 - 2019 <NAME> All Rights Reserved. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (...
11,013
ada
1
LaudateCorpus1/RosettaCodeData
Task/Inverted-index/Ada/inverted-index-1.ada
with Ada.Text_IO, Generic_Inverted_Index, Ada.Strings.Hash, Parse_Lines; use Ada.Text_IO; procedure Inverted_Index is type Process_Word is access procedure (Word: String); package Inv_Idx is new Generic_Inverted_Index (Source_Type => String, Item_Type => String, Hash => Ada.Strings.Ha...
11,014
ada
1
Jellix/open_weather_map_api
src/types.ads
<reponame>Jellix/open_weather_map_api -------------------------------------------------------------------------------- -- 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, ...
11,015
ada
20
charlie5/lace
4-high/gel/source/gel-window.ads
<filename>4-high/gel/source/gel-window.ads with gel.Keyboard.local, gel.Mouse.local, openGL.Surface, lace.Subject_and_deferred_Observer; private with ada.Calendar; package gel.Window -- -- Models a UI Window. -- is type Item is limited new lace.Subject_and_deferred_Observer.item with priva...
11,016
ada
33
ytomino/drake
source/nls/a-envenc.ads
pragma License (Unrestricted); -- extended unit with Ada.IO_Exceptions; with Ada.Streams; private with Ada.Finalization; private with System.Native_Environment_Encoding; package Ada.Environment_Encoding is -- Platform-depended text encoding. pragma Preelaborate; -- encoding identifier type Encoding_Id ...
11,017
ada
45
alkalinin/raytracer
ada/src/cameras.ads
-- -- Raytracer implementation in Ada -- by <NAME> (github: johnperry-math) -- 2021 -- -- specification for Cameras, that view the scene -- -- local packages with Vectors; use Vectors; -- @summary Cameras that view the scene package Cameras is type Camera_Type is record Forward, Right, Up, Position: Vector...
11,018
ada
24
svn2github/matreshka
source/amf/dd/amf-dg-holders.adb
<filename>source/amf/dd/amf-dg-holders.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,019
ada
7
stcarrez/resource-embedder
src/are-generator-c.ads
----------------------------------------------------------------------- -- are-generator-c -- Generator for C/C++ -- Copyright (C) 2021 <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. -- ...
11,020
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-textio.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
11,021
ada
7
stcarrez/mat
mat/src/elf.ads
----------------------------------------------------------------------- -- elf -- ELF information -- Copyright (C) 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. -- You may obtain ...
11,022
ada
1
MatrixMike/AdaDemo1
greetings/gmain.adb
with Greetings; procedure Gmain is begin Greetings.Hello; Greetings.Middle; Greetings.Goodbye; end Gmain;
11,023
ada
0
PThierry/ewok-kernel
src/arch/cores/armv7-m/m4-cpu-instructions.ads
<gh_stars>0 -- -- 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 --...
11,024
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/components/MS5611/ms5611-driver.adb
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> (<EMAIL>) -- <NAME> (<EMAIL>) with Units; use Units; with Units.Operations; use Units.Operations; with MS5611.Register; use MS5611.Register; with Ada.R...
11,025
ada
0
Letractively/ada-util
src/util-encoders.adb
----------------------------------------------------------------------- -- util-encoders -- Encode/Decode streams and strings from one format to another -- Copyright (C) 2009, 2010, 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
11,026
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-taenca.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/s-taenca.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
11,027
ada
0
faelys/natools
tools/hmac-pinentry__posix.adb
<reponame>faelys/natools<filename>tools/hmac-pinentry__posix.adb<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission ...
11,028
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-inputs.adb
<reponame>micahwelf/FLTK-Ada<gh_stars>1-10 with Interfaces.C.Strings, System; use type Interfaces.C.int, Interfaces.C.Strings.chars_ptr, System.Address; package body FLTK.Widgets.Inputs is procedure input_set_draw_hook (W, D : in System.Address); pragma Import (C, input_s...
11,029
ada
1
LaudateCorpus1/RosettaCodeData
Task/Count-in-factors/Ada/count-in-factors.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with Ada.Command_Line, Ada.Text_IO, Prime_Numbers; procedure Count is package Prime_Nums is new Prime_Numbers (Number => Natural, Zero => 0, One => 1, Two => 2); use Prime_Nums; procedure Put (List : Number_List) is begin for Index in List'Ran...
11,030
ada
65
vdh-anssi/ewok-kernel
src/ewok-rng.adb
<filename>src/ewok-rng.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 th...
11,031
ada
24
svn2github/matreshka
source/xml/sax/xml-sax-input_sources-streams-files-naming_utilities__windows.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,032
ada
3
stcarrez/ada-stemmer
src/lang/stemmer-danish.adb
-- Generated by Snowball 2.2.0 - https://snowballstem.org/ package body Stemmer.Danish is pragma Style_Checks ("-mr"); pragma Warnings (Off, "*variable*is never read and never assigned*"); pragma Warnings (Off, "*mode could be*instead of*"); pragma Warnings (Off, "*formal parameter.*is not modified*"); ...
11,033
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/debug_a.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,034
ada
0
faelys/natools
src/natools-references-pools.adb
<filename>src/natools-references-pools.adb ------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distrib...
11,035
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization4_pkg.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization4_pkg.adb package body Loop_Optimization4_Pkg is procedure Add (Phrase : String) is begin if Debug_Buffer_Len = Max_Debug_Buffer_Len then return; end if; for I in Phrase'Range loop Debug_Buffer_Len := Debug...
11,036
ada
9
alire-project/clic
example/src/clic_ex-commands.adb
with AAA.Strings; with CLIC.TTY; with CLIC.User_Input; with CLIC.Config.Load; with CLIC_Ex.Commands.TTY; with CLIC_Ex.Commands.User_Input; with CLIC_Ex.Commands.Switches_And_Args; with CLIC_Ex.Commands.Double_Dash; with CLIC_Ex.Commands.Topics.Example; with CLIC_Ex.Commands.Config; with CLIC_Ex.Commands.Subsub; pack...
11,037
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/stm32f3/nested_generics/main.adb
<reponame>ekoeppen/STM32_Generic_Ada_Drivers<filename>examples/stm32f3/nested_generics/main.adb with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control; with STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.EXTI; with STM32_SVD.RCC; ...
11,038
ada
24
svn2github/matreshka
tools/ayacc/src/rule_table.adb
-- 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...
11,039
ada
1
Fabien-Chouteau/samd51-hal
src/drivers/qspi_u2008/sam_svd-qspi.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.QSPI is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control A type QSPI_CTRLA_Register is...
11,040
ada
20
charlie5/lace
1-base/lace/applet/demo/event/simple/lace_demo_keyboard.ads
<reponame>charlie5/lace<gh_stars>10-100 with lace.Subject.local; package lace_demo_Keyboard -- -- Provides a simulated keyboard which periodically emits 'key' events. -- is function as_event_Subject return lace.Subject.local.view; procedure start; procedure stop; end lace_demo_Keyboard;
11,041
ada
12
jquorning/ada-asf
src/asf-components-html.adb
----------------------------------------------------------------------- -- html -- ASF HTML Components -- Copyright (C) 2009, 2010, 2011, 2013 <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 Licen...
11,042
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/timing.ads
<reponame>ForYouEyesOnly/Space-Convoy -- -- Jan & <NAME>, Australia, July 2011 -- with Ada.Real_Time; use Ada.Real_Time; package Timing is function Timer return Time_Span; end Timing;
11,043
ada
1
LaudateCorpus1/RosettaCodeData
Task/Longest-string-challenge/Ada/longest-string-challenge-2.ada
<filename>Task/Longest-string-challenge/Ada/longest-string-challenge-2.ada with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO, Ada.Characters.Latin_1; procedure Longest_String_Challenge is function "+"(S: String) return Unbounded_String renames To_Unbounded_String; Separator: constant Charac...
11,044
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-text_io_trace.adb
-- Abstract : -- -- See spec. -- -- Copyright (C) 2017, 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) a...
11,045
ada
20
charlie5/lace
4-high/gel/applet/demo/distributed/dsa/launch_server.adb
<filename>4-high/gel/applet/demo/distributed/dsa/launch_server.adb with gel_demo_Server; procedure launch_Server -- -- Launches the remote server. -- is begin gel_demo_Server.item.start; end launch_Server;
11,046
ada
19
tsoding/ada-gol
gol.adb
with Ada.Text_IO; with Ada.Characters.Latin_1; -- There's also 'with ASCII;', but that's obsolete with Ada.Strings.Fixed; procedure Gol is use Ada.Text_IO; Width : constant Positive := 5; Height : constant Positive := 5; type Cell is (Dead, Alive); type Rows is mod Height; type Cols is mod W...
11,047
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/models/sierpinski.adb
pragma Warnings (Off); pragma Style_Checks (Off); with GL, GLOBE_3D.Math; -- with Ada.Text_IO; use Ada.Text_IO; -- with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed; package body Sierpinski is ----------------- -- Create_Cube -- ----------------- procedure Create_Cu...
11,048
ada
20
HeisenbugLtd/spat
src/core/spat-spark_info-heuristics.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 the...
11,049
ada
20
charlie5/lace
2-low/collada/source/collada-library-controllers.ads
<reponame>charlie5/lace package collada.Library.controllers -- -- Models a collada 'controllers' library, which is a collection of controllers. -- is type Inputs_view is access all Library.Inputs; type int_Array_view is access all int_Array; ---------- --- Joints -- type Joints is record ...
11,050
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-calend.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
11,051
ada
1
Kurinkitos/Twizy-Security
src/types.ads
package types is type FloatingNumber is digits 12; subtype Speed is FloatingNumber range -80.0 .. 80.0; -- unit is meters subtype Distance is FloatingNumber range -100000000000000000.0 .. 10000000000000000000000.0; subtype Cartesian_Coordinate is Distance; -- angle from lidar (0 is straight forwar...
11,052
ada
3
mindviser/keepaSDK
ada-server/src/-servers.ads
-- Keepa API -- The Keepa API offers numerous endpoints. Every request requires your API access key as a parameter. You can find and change your key in the keepa portal. All requests must be issued as a HTTPS GET and accept gzip encoding. If possible, use a Keep_Alive connection. Multiple requests can be made in pa...
11,053
ada
15
My-Colaborations/dynamo
src/asis/a4g-contt-tt.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
11,054
ada
20
charlie5/lace
3-mid/opengl/source/lean/shader/opengl-variable-uniform.adb
<reponame>charlie5/lace<filename>3-mid/opengl/source/lean/shader/opengl-variable-uniform.adb<gh_stars>10-100 with openGL.Program, openGL.Tasks, openGL.Errors, GL.lean, GL.Pointers, interfaces.C.Strings; package body openGL.Variable.uniform is use GL.lean, Interfaces; -------...
11,055
ada
33
ytomino/drake
source/strings/a-stbost.ads
<gh_stars>10-100 pragma License (Unrestricted); -- extended unit with Ada.References.Strings; with Ada.Streams.Block_Transmission.Strings; with Ada.Strings.Generic_Bounded; package Ada.Strings.Bounded_Strings is new Generic_Bounded ( Character, String, Streams.Block_Transmission.Strings.Read, ...
11,056
ada
16
stcarrez/ada-enet
demos/time/time_manager.adb
----------------------------------------------------------------------- -- time_manager -- NTP Client instance -- 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 compliance with the License. -- Yo...
11,057
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/tail_call.adb
-- { dg-do run } -- { dg-options "-O2 -fno-unit-at-a-time" } with Tail_Call_P; use Tail_Call_P; procedure Tail_Call is begin Insert (My_Array, 0, 0); end;
11,058
ada
36
seaneshbaugh/rosetta-euler
ada/004/euler.adb
with Ada.Text_IO; with Ada.Integer_Text_IO; with Ada.Containers.Vectors; use Ada.Text_IO; use Ada.Integer_Text_IO; use Ada.Containers; procedure Euler is package Long_Integer_Vectors is new Vectors(Natural, Long_Integer); package Long_IO is new Ada.Text_IO.Integer_IO(Long_Integer); use Long_IO; fun...
11,059
ada
5
jhumphry/auto_counters
src/flyweights/flyweights-protected_hashtables.ads
-- flyweights-protected_hashtables.ads -- A package of task-safe hash tables for the Flyweights packages -- 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 this pe...
11,060
ada
1
irion7/aflex-ayacc-mirror
aflex/src/vaxvms/ascan.ada
-- A lexical scanner generated by aflex with text_io; use text_io; with ascan_dfa; use ascan_dfa; with ascan_io; use ascan_io; --# line 1 "ascan.l" -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by <NAME> of the Arcadia project -- at the Univer...
11,061
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/finalized.adb
<reponame>best08618/asylo<gh_stars>1-10 -- { dg-do compile } with Ada.Finalization; use Ada.Finalization; procedure finalized is type Rec is new Controlled with null record; Obj : access Rec := new Rec'(Controlled with null record); begin null; end;
11,062
ada
33
kqr/qweyboard
src/logging.ads
<filename>src/logging.ads with Unicode_Strings; use Unicode_Strings; with Ada.Task_Termination; with Ada.Task_Identification; with Ada.Exceptions; package Logging is type Verbosity_Level is (Log_Error, Log_Warning, Log_Info, Log_Chatty); task Log is entry Set_Verbosity (User_Verbosity : Verbosi...
11,063
ada
2
egustafson/sandbox
Ada/DataStructures/Containers/generic_queue.adb
<gh_stars>1-10 with Ada.Unchecked_Deallocation; package body Generic_Queue is procedure Free is new Ada.Unchecked_Deallocation( Queue_Node, Queue_Node_Ptr ); ------------------------------------------------------------ procedure Enqueue( Queue: in out T;...
11,064
ada
2
thindil/tashy2
tests/tk-grid-test_data-tests.adb
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
11,065
ada
0
djgoku/RosettaCodeData
Task/Rosetta-Code-Rank-languages-by-popularity/Ada/rosetta-code-rank-languages-by-popularity.ada
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Ordered_Sets; with Ada.Strings.Less_Case_Insensitive; with AWS.Client; with AWS.Response; pro...
11,066
ada
3
rogermc2/GA_Ada
ga_lib/src/plane.ads
with GL.Objects.Programs; with C3GA; package Plane is procedure Draw_Plane (Render_Program : GL.Objects.Programs.Program; Point, X_Dir, Y_Dir, Normal : C3GA.Vector_E3; Weight : Float := 1.0); end Plane;
11,067
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l0x3/stm32_svd-scb.ads
<filename>arch/ARM/STM32/svd/stm32l0x3/stm32_svd-scb.ads -- This spec has been automatically generated from STM32L0x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.SCB is pragma Preelaborate; --------------- -- Registers...
11,068
ada
0
e3l6/SSMDev
demo/adainclude/memory_compare.ads
<filename>demo/adainclude/memory_compare.ads with System; use System; with Interfaces.C; use Interfaces.C; package Memory_Compare is pragma Preelaborate; function memcmp (S1 : Address; S2 : Address; N : size_t) return int; pragma Export (C, memcmp, "memcmp"); -- compares the first n bytes of the memory area...
11,069
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile10.adb
-- { dg-do compile } with Volatile10_Pkg; use Volatile10_Pkg; procedure Volatile10 is N : Num; begin N := F.N1; N := F.N2; end;
11,070
ada
0
reznikmm/gela
source/oasis/program-elements-package_instantiations.ads
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Names; with Program.Elements.Expressions; with Pr...
11,071
ada
1
faelys/natools-web
src/natools-web-tags.adb
<filename>src/natools-web-tags.adb ------------------------------------------------------------------------------ -- Copyright (c) 2014-2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this...
11,072
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-finimp.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
11,073
ada
20
HeisenbugLtd/spat
src/util/spat-gpr_support.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- 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...
11,074
ada
1
LaudateCorpus1/RosettaCodeData
Task/Middle-three-digits/Ada/middle-three-digits.ada
<gh_stars>1-10 with Ada.Text_IO; procedure Middle_Three_Digits is Impossible: exception; function Middle_String(I: Integer; Middle_Size: Positive) return String is S: constant String := Integer'Image(I); First: Natural := S'First; Full_Size, Border: Natural; begin while S(First) not ...
11,075
ada
0
VMika/Des_Ada
Des_Ada/src/concrete_handler/p_stephandler-outputhandler.adb
with P_StructuralTypes; use P_StructuralTypes; with Ada.Integer_Text_IO; with Ada.Sequential_IO; with Ada.Strings.Unbounded.Text_IO; with Ada.Text_IO; package body P_StepHandler.OutputHandler is ------------------------------------------------------------------------- ------------------------- CONSTRUCTOR -...
11,076
ada
0
MicroJoe/ada_console
console.ads
<gh_stars>0 package Console is type Color is (Black, Red, Green, Yellow, Blue, Magenta, Cyan, White); procedure Set_Foreground(Color_Value : in Color); procedure Set_Background(Color_Value : in Color); procedure Set_Bold; procedure Set_Italic; procedure Set_Underline; procedure Set_Blin...
11,077
ada
33
ytomino/drake
source/pools/machine-w64-mingw32/s-unball.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit specialized for Windows with System.Storage_Elements; private with C.winnt; package System.Unbounded_Allocators is -- Separated storage pool for local scope. pragma Preelaborate; type Unbounded_Allocator is limited private; pr...
11,078
ada
4
faelys/gela-asis
source/asis/asis-gela-resolver-polish.adb
<filename>source/asis/asis-gela-resolver-polish.adb ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- htt...
11,079
ada
0
likai3g/afmt
src/fmt-long_long_integer_argument.ads
<gh_stars>0 with Fmt.Generic_Signed_Int_Argument; package Fmt.Long_Long_Integer_Argument is new Generic_Signed_Int_Argument(Long_Long_Integer);
11,080
ada
0
sonneveld/adazmq
examples/src/syncsub.adb
<filename>examples/src/syncsub.adb -- Synchronized subscriber with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; procedure SyncSub is use type GNAT.Formatted_String.Formatted_String; Subscribers_Expected : constant := 10; -- We wait for 10 subscribers function Main return Ad...
11,081
ada
33
ytomino/drake
source/s-utfcon.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit package System.UTF_Conversions is pragma Pure; -- UCS-4 defined 31 bit. type UCS_4 is mod 16#80000000#; UTF_8_Max_Length : constant := 6; type From_Status_Type is (Success, Illegal_Sequence, Non_Shortest, Truncated);...
11,082
ada
52
onox/orka
orka/src/gl/interface/gl-fences.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
11,083
ada
0
My-Colaborations/ada-ado
src/postgresql/ado-connections-postgresql.adb
----------------------------------------------------------------------- -- ADO Postgresql Database -- Postgresql Database connections -- Copyright (C) 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
11,084
ada
52
onox/orka
orka/src/gl/implementation/gl-viewports.adb
<filename>orka/src/gl/implementation/gl-viewports.adb<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2013 <NAME> <<EMAIL>> -- Copyright (c) 2017 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with th...
11,085
ada
18
jquorning/ada-wiki
src/wiki-render-text.adb
----------------------------------------------------------------------- -- wiki-render-text -- Wiki Text renderer -- Copyright (C) 2011, 2012, 2013, 2015, 2016, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except...
11,086
ada
3
charlie5/aIDE
source/adam-subprogram.adb
<gh_stars>1-10 with AdaM.Factory; package body AdaM.Subprogram is -- Storage Pool -- record_Version : constant := 1; pool_Size : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "subprograms", ...
11,087
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libhwbase/debug/hw-debug.ads
<reponame>fabiojna02/OpenCellular -- -- Copyright (C) 2015 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your opti...
11,088
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35a05n.ada
-- C35A05N.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...
11,089
ada
12
TUM-EI-RCS/StratoX
software/unittest/estimator/src/fakedev/hil-devices.ads
package HIL.Devices is type Device_Type_SPI is (NONE); type Device_Type_GPIO is (NONE); type Device_Type_I2C is (NONE); type Device_Type_UART is (NONE); end HIL.Devices;
11,090
ada
20
charlie5/lace
3-mid/opengl/source/platform/osmesa/opengl-display.adb
<filename>3-mid/opengl/source/platform/osmesa/opengl-display.adb with interfaces.C.Strings; package body openGL.Display is function Default return Item is Self : Display.item; begin return Self; end Default; function screen_Id (Self : in Item) return interfaces.c.int is b...
11,091
ada
33
ytomino/drake
source/s-refcou.adb
with System.Storage_Barriers; package body System.Reference_Counting is pragma Suppress (All_Checks); use type Storage_Elements.Storage_Offset; function atomic_load ( ptr : not null access constant Counter; memorder : Integer := Storage_Barriers.ATOMIC_ACQUIRE) return Counter with Impo...
11,092
ada
3
onox/progress_indicators
src/progress_indicators-spinners.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 The progress_indicators authors -- -- 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...
11,093
ada
3
charlie5/aIDE
applet/aide/source/editors/aide-editor-of_exception_handler.ads
with AdaM.exception_Handler, gtk.Widget; private with gtk.Box, gtk.Frame, gtk.Alignment, gtk.Label, gtk.Button; limited with aIDE.Editor.of_block; package aIDE.Editor.of_exception_handler is type Item is new Editor.item with private; type View is access all Item'Class;...
11,094
ada
1
stcarrez/helios
src/helios-tools-files.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- helios-tools-files -- File parsing utilities for Helios -- 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 ...
11,095
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/slice9.adb
-- { dg-do compile } procedure Slice9 is function Ident (I : Integer) return Integer is begin return I; end; subtype S is String (Ident(5)..Ident(9)); Dest : S; Src : String (Ident(1)..Ident(5)) := "ABCDE"; begin Dest (Ident(5)..Ident(7)) := Src (Ident(1)..Ident(3)); end;
11,096
ada
80
thindil/steamsky
src/ui/errordialog.adb
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is...
11,097
ada
2
stcarrez/ada-mail
tools/mgrep-main.adb
<reponame>stcarrez/ada-mail<gh_stars>1-10 ----------------------------------------------------------------------- -- mgrep -- Mail grep command -- 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 co...
11,098
ada
4
Lucretia/raytracer_challenge
src/visuals/rtch-visuals-canvases.ads
<reponame>Lucretia/raytracer_challenge with RTCH.Colours; use RTCH.Colours; package RTCH.Visuals.Canvases with Preelaborate is -- type Pixel_Array is array (Positive range <>, Positive range <>) of Colour; type Canvas is array (Positive range <>, Positive range <>) of Colour; type Canvas_Access is access a...
11,099
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-ccm.ads
<filename>arch/ARM/Nordic/svd/nrf52/nrf_svd-ccm.ads -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of s...