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
27,400
ada
60
RREE/ada-util
src/base/beans/util-beans-objects-datasets.ads
----------------------------------------------------------------------- -- Util.Beans.Objects.Datasets -- Datasets -- Copyright (C) 2013, 2018 <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...
27,401
ada
0
luk9400/nsi
list4/task1/src/main.adb
with Ada.Text_IO; use Ada.Text_IO; with Railway; use Railway; procedure Main is Result : Boolean; begin --[Leave|Left|Middle|Right|Leave] --[ --> | | | | <-- ] -- 1 Open_Route (Route_Enter_Left, Result); Open_Route (Route_Enter_Right, Result); Move_Train (Route_Enter_Left, Result); ...
27,402
ada
5
erik/ada-irc
src/irc-commands.ads
<filename>src/irc-commands.ads -- This package implements several base commands that are useful to -- almost all IRC bots, such as PING, outputting lines from the -- server, etc. with Irc.Bot; with Irc.Message; private with Ada.Strings.Unbounded; private with GNAT.Regpat; package Irc.Commands is subtype Connec...
27,403
ada
0
reznikmm/declarative-regions
source/regions/regions-contexts-environments-factories.ads
-- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Regions.Entities.Packages; with Regions.Environments; with Regions.Factories; package Regions.Contexts.Environments.Factories is pragma Preelaborate; type Fac...
27,404
ada
0
My-Colaborations/ada-el
src/el-contexts.ads
<gh_stars>0 ----------------------------------------------------------------------- -- EL.Contexts -- Contexts for evaluating an expression -- Copyright (C) 2009, 2010, 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
27,405
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/prj-makr.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,406
ada
0
corentingay/ada_epita
project/adl/arch/ARM/STM32/driver_demos/demo_timer_pwm/src/demo_pwm_adt.adb
<reponame>corentingay/ada_epita ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- ...
27,407
ada
4
f110/wing
third_party/universal-ctags/ctags/Units/parser-ada.r/ada-partial-bug.d/input.adb
procedure Altivec is V
27,408
ada
9
damaki/EVB1000
src/stm32-gpio.ads
-- This spec has been automatically generated from STM32F105xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with System; package STM32.GPIO is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------ -- CRL_Register -- ------------------ s...
27,409
ada
32
robdaemon/AdaYaml
src/interface/yaml-dom-mapping_data.ads
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" private with Ada.Containers.Indefinite_Hashed_Maps; package Yaml.Dom.Mapping_Data is type Instance is tagged limited private with Constant_Indexing => Element; type Cursor is private; funct...
27,410
ada
0
AdamSzerszen/Concurrency_v.2.0
src/units/units.ads
package Units is type TramNumber is new Integer range -1 .. 100; type SteeringNumber is new Integer range -1 .. 100; procedure Dummy; end Units;
27,411
ada
0
mstewartgallus/linted
src/ada-core/src/linted-update.ads
<reponame>mstewartgallus/linted -- Copyright 2015,2016 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by...
27,412
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-elchha__vxworks-ppc-full.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
27,413
ada
0
fintatarta/eugen
src/Utilities/finite_state_scanners.adb
<gh_stars>0 pragma Ada_2012; package body Finite_State_Scanners is ---------------- -- Add_Branch -- ---------------- procedure Add_Branch (Table : in out Automata_Table; From : State_Type; On : Ada.Strings.Maps.Character_Set; To : State_Type) is use ...
27,414
ada
0
optikos/oasis
source/nodes/program-storage_pools.ads
<filename>source/nodes/program-storage_pools.ads -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Dummy_Subpools; package Program.Storage_Pools is pragma Preelaborate; subtype Sto...
27,415
ada
6
jonashaggstrom/ada-canopen
src/aco-utils-ds-generic_queue.adb
<reponame>jonashaggstrom/ada-canopen<gh_stars>1-10 package body ACO.Utils.DS.Generic_Queue is function Is_Full (This : Queue) return Boolean is (This.Count >= This.Max_Nof_Items); function Is_Empty (This : Queue) return Boolean is (This.Count = 0); function Length (This : Queue) return Natural i...
27,416
ada
24
svn2github/matreshka
source/web/fastcgi/fastcgi-requests.adb
<filename>source/web/fastcgi/fastcgi-requests.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,417
ada
1
LaudateCorpus1/RosettaCodeData
Task/Averages-Simple-moving-average/Ada/averages-simple-moving-average-3.ada
<filename>Task/Averages-Simple-moving-average/Ada/averages-simple-moving-average-3.ada with Ada.Text_IO; with Moving; procedure Main is package Three_Average is new Moving (Max_Elements => 3, Number => Float); package Five_Average is new Moving (Max_Elements => 5, Number => Float); begin for I in 1 .. 5 loop ...
27,418
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
drivers/drivers-text_io.adb
<filename>drivers/drivers-text_io.adb with STM32_SVD; use STM32_SVD; package body Drivers.Text_IO is procedure Put (C : Character) is begin USART.Transmit (Character'Pos (C)); end Put; procedure Put (S : String) is begin for C of S loop Put (C); end loop; end Put; pro...
27,419
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45201a.ada
-- C45201A.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...
27,420
ada
1
LaudateCorpus1/RosettaCodeData
Task/Array-concatenation/Ada/array-concatenation.ada
type T is array (Positive range <>) of Integer; X : T := (1, 2, 3); Y : T := X & (4, 5, 6); -- Concatenate X and (4, 5, 6)
27,421
ada
0
bracke/Meaning
source/RASCAL-InteractiveHelp.ads
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
27,422
ada
1
simonjwright/Quaternions
src/generic_quaternions.adb
with Ada.Numerics.Generic_Elementary_Functions; package body Generic_Quaternions is package Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Real); use Elementary_Functions; function "-" (Q : Quaternion) return Quaternion is (-Q.W, -Q.X, -Q.Y, -Q.Z); function "+" (L, R : Quat...
27,423
ada
1
hgrodriguez/sh1107
src/sh1107-spi.ads
<reponame>hgrodriguez/sh1107 --=========================================================================== -- -- This package is the interface to the SPI connection implementation -- THIS IS NOT IMPLEMENTED YET, IT IS WIP!!! -- --=========================================================================== -- -- Copyr...
27,424
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/par-ch12.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,425
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35904b.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35904b.ada -- C35904B.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...
27,426
ada
1
psyomn/agen
src/argument_stack.adb
-- Copyright 2019 <NAME> (entomy) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to i...
27,427
ada
3
charlie5/aIDE
source/adam-context.ads
<filename>source/adam-context.ads with AdaM.Any, AdaM.context_Line; private with ada.Streams; package AdaM.Context is type Item is new Any.Item with private; type View is access all Item'Class; -- Forge -- function new_Context (Name : in String := "") return Context.view; ...
27,428
ada
52
onox/orka
orka/src/gl/implementation/gl-debug.adb
<gh_stars>10-100 -- 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/licen...
27,429
ada
76
yannickmoy/SPARKNaCl
src/sparknacl-mac.ads
<filename>src/sparknacl-mac.ads package SPARKNaCl.MAC with Pure, SPARK_Mode => On is -- Limited, so no assignment or comparison, and always -- pass-by-reference. type Poly_1305_Key is limited private; function Construct (K : in Bytes_32) return Poly_1305_Key with Global => null; procedu...
27,430
ada
0
balintsoos/LearnAda
gyak/gyak1-2/mat.ads
<reponame>balintsoos/LearnAda package Mat is function Lnko ( A, B : Positive ) return Positive; function Faktorialis( N: Natural ) return Positive; function Max2( A, B : Natural ) return Natural; function Max3( A, B, C : Natural ) return Natural; function isEven( N : Natural ) return Boolean; functio...
27,431
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_001b.ads
<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_001b.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,432
ada
4
Lucretia/raytracer_challenge
src/visuals/rtch-visuals-canvases.adb
package body RTCH.Visuals.Canvases with Preelaborate is function Make_Canvas (Width, Height : in Positive) return Canvas_Access is begin return new Canvas (1 .. Width, 1 .. Height); end Make_Canvas; procedure Set_Pixel (C : in out Canvas; X, Y : in Positive; Colour : in Colours.Colour) is begin...
27,433
ada
2
morbos/Ada_Drivers_Library
arch/ARM/RP/svd/rp2040/rp_svd-spi1.ads
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd. -- -- SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from rp2040.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package RP_SVD.SPI1 is pragma Preelaborate; ...
27,434
ada
0
reznikmm/gela
source/nodes/program-nodes-attribute_definition_clauses.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Attribute_Definition_Clauses; with Program.Element_Visitors; package P...
27,435
ada
33
ytomino/drake
source/required/s-exnlli.ads
pragma License (Unrestricted); -- implementation unit required by compiler with System.Exponentiations; package System.Exn_LLI is pragma Pure; -- required for "**" without checking by compiler (s-exnlli.ads) function Exn_Long_Long_Integer is new Exponentiations.Generic_Exp_Integer_No_Check (Long_Long_...
27,436
ada
1
LaudateCorpus1/RosettaCodeData
Task/Date-manipulation/Ada/date-manipulation.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Calendar; with Ada.Calendar.Formatting; with Ada.Calendar.Time_Zones; with Ada.Integer_Text_IO; with Ada.Text_IO; procedure Date_Manipulation is type Month_Name_T is (January, February, March, April, May, June, July, August, September, October, November,...
27,437
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/glut-devices.ads
<filename>Sources/Globe_3d/glut-devices.ads ------------------------------------------------------------------------------ -- File : Game_control.ads -- Description : Command set for games, based on GLUT -- Copyright (c) <NAME>/<NAME> 2007 ------------------------------------------------------...
27,438
ada
0
optikos/oasis
source/nodes/program-nodes-elsif_expression_paths.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Elsif_Expression_Paths is function Create (Elsif_Token : not null Program.Lexical_Elements.Lexical_Element_Access; ...
27,439
ada
5
docandrew/troodon
include/xcb_atom.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with bits_stdint_uintn_h; package xcb_atom is function xcb_atom_name_by_screen (base : Interfaces.C.Strings.chars_ptr; screen : bits_stdint_uintn_h.uint8_t) return Interfaces.C.Strings.chars_ptr -- /usr/in...
27,440
ada
0
reznikmm/lace
source/core/lace-generic_engines.ads
<filename>source/core/lace-generic_engines.ads -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Containers.Hashed_Maps; with Program.Elements; with Program.Element_Vectors; with Lace.Element_Flat_Kinds; generi...
27,441
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-interactions.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,442
ada
0
gitter-badger/Ada-tools
AdaToolsTests/krunchpa.ads
package KrunchPackage is --@description Tests the krunch behavior end KrunchPackage;
27,443
ada
18
jrmarino/ravenadm
src/port_specification-buildsheet.adb
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Definitions; use Definitions; with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Text_IO; with Ada.Exceptions; with Package_Manifests; with File_Operations; with Utilities; package body Port_Specifi...
27,444
ada
5
JeremyGrosser/notcursesada
tests/notcurses_test.adb
-- -- Copyright 2021 (C) <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: Apache-2.0 -- with Ada.Exceptions; with Ada.Text_IO; with Tests; use Tests; with Notcurses.Context; with Notcurses; procedure Notcurses_Test is begin begin Notcurses.Context.Initialize; Test_Version; Test_Hello_World; ...
27,445
ada
0
stcarrez/hyperion
src/model/hyperion-monitoring-models.adb
<gh_stars>0 ----------------------------------------------------------------------- -- Hyperion.Monitoring.Models -- Hyperion.Monitoring.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- A...
27,446
ada
3
jwarwick/aoc_2020
day07/src/day.adb
-- AoC 2020, Day 7 -- with Ada.Text_IO; with Bag; use Bag; with Ada.Containers; with Ada.Containers.Ordered_Sets; with Ada.Containers.Indefinite_Ordered_Maps; package body Day is -- package TIO renames Ada.Text_IO; use Bag.Bag_Maps; package Color_Sets is new Ada.Containers.Ordered_Sets (Element_Type => Bag_...
27,447
ada
0
fuzzysloth/ada-awa
awa/src/awa-events-configs.adb
----------------------------------------------------------------------- -- awa-events-configs -- Event configuration -- Copyright (C) 2012, 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 Lic...
27,448
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sem_res.adb
<filename>tools-src/gnu/gcc/gcc/ada/sem_res.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
27,449
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/treepr.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/treepr.ads<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT ...
27,450
ada
1
doug16rogers/solitaire
solitaire_operations.adb
<reponame>doug16rogers/solitaire<gh_stars>1-10 with Ada.Characters.Handling; with Ada.Numerics.Discrete_Random; use Ada; use Ada.Characters; package body Solitaire_Operations is function Value (Card : Card_Value) return Card_Value is begin -- Value if Card >= Card_Value'Last then return Card_Valu...
27,451
ada
0
reznikmm/gela
source/oasis/program-elements-variant_parts.ads
<reponame>reznikmm/gela<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Definitions; with Program.Lexical_Elements; with Program.Elements.Identifiers; with Program.Elements.Variants; pa...
27,452
ada
1
GauBen/Arbre-Genealogique
src/test_graphe.adb
<filename>src/test_graphe.adb with Ada.Text_IO; use Ada.Text_IO; with Graphe; procedure Test_Graphe is package Graphe_Test is new Graphe (Integer, Integer); use Graphe_Test; procedure Test_Initialiser is Graphe1 : T_Graphe; begin Initialiser (Graphe1); pragma Assert (Est_Vide (Graphe1))...
27,453
ada
12
TUM-EI-RCS/StratoX
software/hal/hpl/STM32/svd/stm32f429x/stm32_svd-dma.ads
<gh_stars>10-100 -- This spec has been automatically generated from STM32F429x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with HAL; with System; package STM32_SVD.DMA is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------- -- LISR_Register...
27,454
ada
4
laurentzh/CHIP-8
src/gfx.adb
with BMP_Fonts; with HAL.Bitmap; use HAL.Bitmap; with HAL.Framebuffer; use HAL.Framebuffer; with Inputs; use Inputs; with LCD_Std_Out; with STM32.Board; use STM32.Board; with Interfaces; use Interfaces; package body Gfx is procedure Init_Draw is begin -- Initialize LCD Display.Initialize; D...
27,455
ada
2
landgraf/nanomsg-ada
src/nanomsg-errors.adb
<reponame>landgraf/nanomsg-ada<gh_stars>1-10 -- The MIT License (MIT) -- Copyright (c) 2015 <NAME> <<EMAIL>> -- 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, inc...
27,456
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-bbbopa.ads
<filename>bb-runtimes/runtimes/zfp-stm32g474/gnat/s-bbbopa.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
27,457
ada
4
davidkristola/vole
kv-avm-processors.ads
<filename>kv-avm-processors.ads with Interfaces; with kv.avm.references; use kv.avm.references; with kv.avm.Instructions; with kv.avm.Registers; with kv.avm.Frames; with kv.avm.Control; package kv.avm.Processors is Unimplemented_Error : exception; Frame_Stopped_Error : exception; type Processor_Type is tag...
27,458
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85005g.ada
-- C85005G.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...
27,459
ada
2
egustafson/sandbox
Ada/print_argv/argv.adb
<reponame>egustafson/sandbox<filename>Ada/print_argv/argv.adb with Ada.Command_Line, Ada.Text_IO; use Ada.Command_Line, Ada.Text_IO; procedure Argv is begin Put_Line( "Command : " & Command_Name ); Put( "Args(" & Integer'Image(Argument_Count) & " ) : " ); Put( "[ " ); for I in 1 .. Argument_Count loop...
27,460
ada
52
onox/orka
tests/src/test_transforms_singles_matrices.ads
-- 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 -...
27,461
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr4.adb
-- { dg-do compile } -- { dg-options "-g" } procedure Addr4 is function F return String is begin return ""; end F; S1 : String renames F; subtype ST is String (1 .. S1'Length); S2 : ST; for S2'Address use S1'Address; begin null; end;
27,462
ada
1
charlie5/lace-alire
4-high/gel/source/gel-window.adb
<reponame>charlie5/lace-alire<gh_stars>1-10 with gel.Events, ada.unchecked_Deallocation; package body gel.Window is ----------- --- Utility -- procedure free is new ada.unchecked_Deallocation (String, String_view); pragma Unreferenced (free); ---------- --- Forge -- procedure d...
27,463
ada
1
leo-brewin/adm-bssn-numerical
adm/code/src/metric.ads
package Metric is -- empty body, do not delete end Metric;
27,464
ada
0
optikos/oasis
source/contexts/plain/program-plain_lexical_elements.ads
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Source_Buffers; with Program.Symbols; private with Ada.Containers.Vectors; packag...
27,465
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_elab.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_elab.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
27,466
ada
1
procrastiraptor/euler
ada/euler1.adb
with Ada.Integer_Text_IO; procedure Euler1 is Sum: Integer := 0; begin for I in Integer range 1 .. 999 loop if I mod 3 = 0 or I mod 5 = 0 then Sum := Sum + I; end if; end loop; Ada.Integer_Text_IO.Put(Sum); end Euler1;
27,467
ada
79
Roldak/OpenGLAda
src/gl/mac/gl-api-subprogram_reference.adb
<filename>src/gl/mac/gl-api-subprogram_reference.adb -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" private with GL.API.Mac_OS_X; function GL.API.Subprogram_Reference (Function_Name : String) return System.Address is -- OSX-specific implementation ...
27,468
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/prj-part.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,469
ada
0
Fabien-Chouteau/ASFML
include/sf-system-inputstream.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...
27,470
ada
1
mimo/Tracker
tracker-exec.adb
with tracker.presentation; procedure tracker.exec is app : tracker.presentation.instance; begin app.Run; end tracker.exec;
27,471
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32wb55x/stm32_svd-i2c.ads
<reponame>morbos/Ada_Drivers_Library -- This spec has been automatically generated from STM32WB55x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.I2C is pragma Preelaborate; --------------- -- Registers -- ------------...
27,472
ada
1
jnguyen1098/legacy-software
russian-peasant-multiplication/src/peasant.adb
----------------------------------------------------------------------------- -- Russian Peasant Multiplication -- -- By: <NAME> (XXXXXXXX) -- -- XXXXXXXX -- -------------...
27,473
ada
0
fintatarta/protypo
test/interpreter-test/integer_arrays.ads
with Protypo.Api.Engine_Values.Array_Wrappers; package Integer_Arrays is type Int_Array is array (Positive range <>) of Integer; package Wrappers is new Protypo.Api.Engine_Values.Array_Wrappers (Element_Type => Integer, Array_Type => Int_Array, Create => Protypo.Api.Engine_Va...
27,474
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-osinte-darwin.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
27,475
ada
1
LaudateCorpus1/RosettaCodeData
Task/Rename-a-file/Ada/rename-a-file.ada
<gh_stars>1-10 with Ada.Directories; use Ada.Directories; ... Rename ("input.txt", "output.txt"); Rename ("docs", "mydocs"); Rename ("/input.txt", "/output.txt"); Rename ("/docs", "/mydocs");
27,476
ada
15
My-Colaborations/dynamo
src/asis/a4g-skip_tb.ads
<reponame>My-Colaborations/dynamo<filename>src/asis/a4g-skip_tb.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --...
27,477
ada
2
thindil/tashy2
tests/tk-ttkframe-ttk_frame_options_test_data-ttk_frame_options_tests.adb
<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 intended to set up and ...
27,478
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-gui-element-form.adb
-- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- -- -- G N O G A ...
27,479
ada
24
svn2github/matreshka
source/web/spikedog/core/matreshka-spikedog_deployment_descriptors-parsers.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,480
ada
24
svn2github/matreshka
source/league/matreshka-internals-unicode-normalization.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,481
ada
6
godunko/adagl
sources/webgl/opengl-contexts.adb
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- ...
27,482
ada
0
97kovacspeter/ADA
coords.ads
with card_dir; use card_dir; package Coords is --variable(s) type Coord is Private; --1, function Get_X(C: Coord) return Integer; function Get_Y(C: Coord) return Integer; --2, procedure Set_X(C: in out Coord;I:Integer); procedure Set_Y(C: in out Coord;I:Integer); --3, function Get_Distance(C:Coord;C2:Coord)...
27,483
ada
0
Vovanium/libusb1-ada
source/library/usb-libusb1.ads
<reponame>Vovanium/libusb1-ada<gh_stars>0 with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; with Interfaces.C.Strings; with System; with USB.Protocol; use Interfaces; use Interfaces.C; use USB.Protocol; package USB.LibUSB1 is ---- Library initialisation and finalisation type Status is ( Err...
27,484
ada
0
reznikmm/gela
source/contexts/plain/program-node_symbols.adb
<filename>source/contexts/plain/program-node_symbols.adb -- SPDX-FileCopyrightText: 2020-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Character_Literals; with Program.Elements.Defining_Character_Literals; with Program.Ele...
27,485
ada
0
kndtime/ada-spaceship
spaceship/src/spaceship.ads
<gh_stars>0 package Spaceship is type Dmg_range is new Integer range 1 .. 100; type Spaceship_State is (ALIVE, SHOOTING, DMG_DEALT, RECOVER, INVISIBLE, DEAD); type Spaceship is record State : Spaceship_State := ALIVE; Life : Integer := 100; Damage : Positive := 100; Boost : Inte...
27,486
ada
5
jhumphry/auto_counters
src/kvflyweights/kvflyweights_hashtables_spec.ads
-- kvflyweights_hashtables_spec.ads -- A specification package that summarises the requirements for hashtables -- used in the KVFlyweights -- 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 abo...
27,487
ada
0
fintatarta/fakedsp
Ada/src/fakelib/utilities-hybrid_files.ads
-- -- It is not always easy to mix standard input/output and traditional files -- This package provides a type that can work transparently with both. -- The interface is very similar to the interface of Text_IO. -- with Ada.Text_IO; use Ada; package Utilities.Hybrid_Files is use type Text_IO.File_Mode; type Hybr...
27,488
ada
15
AdaCore/training_material
courses/spark_for_ada_programmers/labs/answers/060_contracts/longest_common_prefix.ads
package Longest_Common_Prefix with SPARK_Mode => On, Initializes => A is type Text is array (Positive range <>) of Integer; A : Text (1 .. 1000) := (others => 0); function LCP (X, Y : Positive) return Natural with Pre => X in A'Range and Y in A'Range, Contract_Cases => (A (X) /= ...
27,489
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-internal-sha512.ads
<filename>src/shared/generic/lsc-internal-sha512.ads ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, <NAME> -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in so...
27,490
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48007a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48007a.ada -- C48007A.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...
27,491
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-inputs-file.ads
package FLTK.Widgets.Inputs.File is type File_Input is new Input with private; type File_Input_Reference (Data : not null access File_Input'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create (X, Y, W, H : in Integer; ...
27,492
ada
1
egilhh/Futures-in-Ada
src/executor_service.adb
<reponame>egilhh/Futures-in-Ada with Ada.Exceptions; with Ada.Text_IO; with Ada.Unchecked_Deallocation; package body Executor_Service is procedure Execute (Self : in out Object; Callback : Callable_Ptr) is begin Self.Executor.Run(Callback); -- should probably be put on a queue end Execute; task...
27,493
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-request-cfg-tkm_limits-convert.ads
<filename>specs/ada/common/tkmrpc-request-cfg-tkm_limits-convert.ads with Ada.Unchecked_Conversion; package Tkmrpc.Request.Cfg.Tkm_Limits.Convert is function To_Request is new Ada.Unchecked_Conversion ( Source => Tkm_Limits.Request_Type, Target => Request.Data_Type); function From_Request is new Ad...
27,494
ada
79
Roldak/OpenGLAda
src/gl/implementation/gl-objects-textures-targets.adb
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.API; with GL.Enums.Textures; package body GL.Objects.Textures.Targets is function Buffer_Offset (Object : Texture_Buffer_Target; Level : Mipmap_Level) return Size is ...
27,495
ada
7
stcarrez/mat
mat/src/parser/mat-expressions-lexer.ads
<gh_stars>1-10 -- Warning: This lexical scanner is automatically generated by AFLEX. -- It is useless to modify it. Change the ".Y" & ".L" files instead. --# line 1 "mat-expressions-lexer.l" --# line 2 "mat-expressions-lexer.l" with MAT.Expressions.Parser_Tokens; package MAT.Expressions.Lexer is use MA...
27,496
ada
12
TUM-EI-RCS/StratoX
prototyping/pixracer/src/driver/fs/fat_filesystem-directories.ads
<gh_stars>10-100 -- Project: StratoX -- System: Stratosphere Balloon Flight Controller -- Author: <NAME> (<EMAIL>) -- based on AdaCore's Ada_Driver_Library -- XXX! Nothing here is thread-safe! -- @summary Directory (end directory entries) handling for FAT FS package FAT_Filesystem.Directories with SPARK_Mode =>...
27,497
ada
2
SMerrony/dgemua
processor/processor-eagle_decimal_p.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...
27,498
ada
0
xuedong/mini-ada
tests/exec/bst.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; -- arbres binaires de recherche procedure BST is type Node; type BST is access Node; type Node is record Value: Integer; Left, Right: BST; end record; -- insertion utilisant le passage par référence procedure Add(X: Integer; B: in out BST) i...
27,499
ada
80
thindil/steamsky
tests/shipmodules-test_data-tests-basemodules_container-test_data-tests.ads
<reponame>thindil/steamsky -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package ShipModules.Test_Data.Tests.BaseModules_Container.Test_Data.Tests is type Test is new GNATtest...