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
6,300
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/corr_discr.ads
<reponame>best08618/asylo package Corr_Discr is type Base (T1 : Boolean := True; T2 : Boolean := False) is null record; for Base use record T1 at 0 range 0 .. 0; T2 at 0 range 1 .. 1; end record; type Deriv (D : Boolean := False) is new Base (T1 => True, T2 => D); end Corr_Discr;
6,301
ada
0
Tim-Tom/project-euler
Ada/src/Problem_18.adb
<filename>Ada/src/Problem_18.adb with Ada.Integer_Text_IO; with Ada.Text_IO; package body Problem_18 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; procedure Solve is num_rows : constant Positive := 15; cache : Array (1 .. num_rows) of Natural; input : IO.File_Ty...
6,302
ada
0
reznikmm/gela
source/nodes/program-nodes-choice_parameter_specifications.adb
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Choice_Parameter_Specifications is function Create (Name : not null Program.Elements.Defining_Identifiers .D...
6,303
ada
0
hbarrientosg/cs-mp
02_programs/practica2-producto.adb
<reponame>hbarrientosg/cs-mp<filename>02_programs/practica2-producto.adb separate(Practica2) procedure Producto(X:in integer;Y:out Integer) is begin--El factorial en los bucles lo calcula bien pero si entran numeros mayores que el 12 --puede haber un fallo de overflow y:=1; if X > 0 then for i in 1..x loop y:...
6,304
ada
24
svn2github/matreshka
source/web/wsse/web_services-soap-security-constants.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
6,305
ada
3
rogermc2/GA_Ada
ga_lib/src/geosphere.ads
with Ada.Containers.Vectors; with GL.Objects.Programs; with GL.Types; with GA_Maths; with Multivectors; package Geosphere is -- some very ancient code to compute a triangulated sphere use Multivectors; type Geosphere is private; type Indices is array (1 .. 3) of integer; Geosphere_Exception : Exce...
6,306
ada
0
csb6/libtcod-ada
src/libtcod-maps-fov.adb
<gh_stars>0 with fov_h, Interfaces.C.Strings, Interfaces.C.Extensions, Ada.Unchecked_Conversion, error_h; package body Libtcod.Maps.FOV is use fov_types_h, fov_h, Interfaces.C, Interfaces.C.Extensions; function Algorithm_Type_To_TCOD_Algorithm is new Ada.Unchecked_Conversion (Source => Algorithm_Type,...
6,307
ada
0
reznikmm/ada-skynet
sources/skynet.ads
-- Copyright (c) 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; package Skynet is function "+" (Text : Wide_Wide_String) return League.Strings.Universal_String renames League.S...
6,308
ada
1
skill-lang/skillAdaTestSuite
benchmark/byte_writer.ads
<gh_stars>1-10 -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Your SKilL Ada Binding -- -- \__ \ ' <| | | |__ <<debug>> -- -- |___/_|\_\_|_|____| by: <<some developer>> ...
6,309
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/geometry/opengl-geometry-colored.ads
<filename>3-mid/opengl/source/lean/geometry/opengl-geometry-colored.ads package openGL.Geometry.colored -- -- Supports per-vertex site and color. -- is type Item is new Geometry.item with private; type View is access Item'Class; function new_Geometry return Geometry.colored.view; ------------ -- V...
6,310
ada
12
jquorning/ada-asf
src/asf-views-nodes-factory.adb
<filename>src/asf-views-nodes-factory.adb ----------------------------------------------------------------------- -- nodes-core -- Tag Factory -- Copyright (C) 2009, 2010 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except ...
6,311
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack4.adb
<reponame>best08618/asylo -- { dg-do run } procedure Pack4 is type Time_T is record Hour : Integer; end record; type Date_And_Time_T is record Date : Integer; Time : Time_T; end record; pragma Pack(Date_And_Time_T); procedure Assign_Hour_Of (T : out Time_T) is begin ...
6,312
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/size_attribute1_pkg1.ads
-- { dg-excess-errors "no code generated" } with Size_Attribute1_Pkg2; generic type T is private; package Size_Attribute1_Pkg1 is package My_R is new Size_Attribute1_Pkg2 (T); procedure Dummy; end Size_Attribute1_Pkg1;
6,313
ada
0
reznikmm/markdown
sources/md/markdown-indented_code_blocks.adb
<reponame>reznikmm/markdown -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.Regexps; with League.Strings; with Markdown.Visitors; package body Markdown.Indented_Code_Blocks is Blank_Pattern : consta...
6,314
ada
1
LaudateCorpus1/RosettaCodeData
Task/Host-introspection/Ada/host-introspection.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO; use Ada.Text_IO; with System; use System; procedure Host_Introspection is begin Put_Line ("Word size" & Integer'Image (Word_Size)); Put_Line ("Endianness " & Bit_Order'Image (Default_Bit_Order)); end Host_Introspection;
6,315
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_001f.ads
<reponame>svn2github/matreshka<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_001f.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
6,316
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/a-intnam__ppc.ads
<filename>bb-runtimes/src/a-intnam__ppc.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
6,317
ada
33
kqr/qweyboard
src/configuration.ads
-- Using non-wide strings for file names only with Ada.Strings.Unbounded; with Ada.Real_Time; with Logging; private with Ada.Command_Line; private with Qweyboard.Languages.Parser; package Configuration is use Ada.Strings.Unbounded; ARGUMENTS_ERROR : exception; type Settings is record Timeout : ...
6,318
ada
32
robdaemon/AdaYaml
src/implementation/yaml.adb
<reponame>robdaemon/AdaYaml<gh_stars>10-100 -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Unchecked_Deallocation; with Yaml.Tags; package body Yaml is function Version_Major return Natural is (1); function Version_Minor return Natural i...
6,319
ada
0
jhumphry/Ada_BinToAsc
src/bintoasc-base85.ads
<reponame>jhumphry/Ada_BinToAsc -- BinToAsc.Base85 -- Various binary data to ASCII codecs known as Base85, ASCII85 etc -- Copyright (c) 2015, <NAME> - see LICENSE file for details generic Alphabet : Alphabet_85; package BinToAsc.Base85 is type Base85_To_String is new Codec_To_String with private; overridin...
6,320
ada
0
Fabien-Chouteau/bb_pico_bsp
src/bb_pico_bsp-lcd.adb
with HAL; use HAL; with ILI9341; with ILI9341.Hack; with RP.GPIO; with RP.Device; with Pico; with BB_Pico_Bsp.SPI; package body BB_Pico_Bsp.LCD is LCD_CS : RP.GPIO.GPIO_Point renames Pico.GP8; LCD_WRX : RP.GPIO.GPIO_Point renames Pico.GP9; LCD_Reset : RP.GPIO.GPIO_Point renames Pico.GP11; -- LC...
6,321
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/increment.adb
-- We define the Increment function function Increment (I : Integer) return Integer is begin return I + 1; end Increment;
6,322
ada
1
jhumphry/Reqrep_Task_Pools
reqrep_task_pools.adb
-- reqrep_task_pool.adb -- A task pool system for simple request-response activity -- Copyright (c) 2015, <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 permission notice appear...
6,323
ada
13
Fabien-Chouteau/GESTE
examples/utils/keyboard.adb
<gh_stars>10-100 with Interfaces.C; use Interfaces.C; with SDL_SDL_events_h; use SDL_SDL_events_h; with SDL_SDL_keysym_h; use SDL_SDL_keysym_h; package body Keyboard is Is_Pressed : array (Key_Kind) of Boolean := (others => False); ------------ -- Update -- ------------ procedure Update is ...
6,324
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack11.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack11.adb<gh_stars>1-10 -- { dg-do run } -- { dg-options "-gnatws" } with System; procedure Pack11 is type R1 is record A1, A2, A3 : System.Address; end record; type R2 is record C : Character; R : R1; end record; ...
6,325
ada
1
LaudateCorpus1/RosettaCodeData
Task/Reduced-row-echelon-form/Ada/reduced-row-echelon-form-3.ada
with Matrices; with Ada.Text_IO; procedure Main is package Float_IO is new Ada.Text_IO.Float_IO (Float); package Float_Matrices is new Matrices ( Element_Type => Float, Zero => 0.0); procedure Print_Matrix (Matrix : in Float_Matrices.Matrix) is begin for Row in Matrix'Range (1) loop ...
6,326
ada
5
DependableSystemsLab/Trident
llvm-2.9/test/FrontendAda/emit_var.ads
-- RUN: %llvmgcc -S %s with Ada.Finalization; package Emit_Var is type Search_Type is new Ada.Finalization.Controlled with null record; end;
6,327
ada
2
drm343/Space-War-3000
src/planet.ads
with Ada.Containers.Vectors; with Ada.Strings.Unbounded; with Rule; use Rule; package Planet is package SU renames Ada.Strings.Unbounded; package Origin_Define is type Object is tagged private; function Build (name : String; colony : Integer; stars...
6,328
ada
2
glencornell/ada-socketcan
src/sockets-can-broadcast_manager.ads
<filename>src/sockets-can-broadcast_manager.ads -- MIT License -- -- Copyright (c) 2021 <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, including w...
6,329
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/s5.adb
<reponame>best08618/asylo -- { dg-do run } with Init5; use Init5; with Text_IO; use Text_IO; with Dump; procedure S5 is A1 : R1 := My_R1; A2 : R2 := My_R2; AA1 : Arr1; AA2 : Arr2; C1 : Integer; C2 : Integer; C3 : Integer; begin Put ("A1 :"); Dump (A1'Address, R1'Max_Size_In_Storage_Elements); ...
6,330
ada
0
Roldak/OpenGLAda
src/glfw/v2/glfw.adb
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Glfw.API; with Glfw.Enums; with GL; with Interfaces.C.Strings; package body Glfw is procedure Init is begin if API.Init = 0 then raise Initialization_Exception; end if; ...
6,331
ada
14
JeremyGrosser/usb_embedded
src/usb-device-serial.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...
6,332
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/dec-io.adb
<filename>tools-src/gnu/gcc/gcc/ada/dec-io.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
6,333
ada
0
persan/dds-requestreply
src/dds-request_reply-impl.ads
<reponame>persan/dds-requestreply<gh_stars>0 with DDS.DataReader_Impl; with DDS.DataWriter_Impl; with DDS.DomainParticipant; with DDS.Publisher; with DDS.Subscriber; with DDS.Topic; with DDS.TopicDescription; with DDS.WaitSet; with DDS.ReadCondition; private package DDS.Request_Reply.Impl is type Ref is new Ada.Fi...
6,334
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/s-wchwts.ads
<filename>tools-src/gnu/gcc/gcc/ada/s-wchwts.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
6,335
ada
1
stcarrez/helios
src/helios-monitor-agent.ads
----------------------------------------------------------------------- -- helios-monitor-agent -- Helios monitor agent -- 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 Licens...
6,336
ada
3
charlie5/aIDE
source/adam-block.ads
with AdaM.Entity, AdaM.exception_Handler, Ada.Streams; package AdaM.Block is type Item is new Entity.Item with private; type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : in V...
6,337
ada
0
gonma95/RealTimeSystem_CarDistrations
driver.adb
-- <NAME> -- <NAME> with Kernel.Serial_Output; use Kernel.Serial_Output; with Ada.Real_Time; use Ada.Real_Time; 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; with devices; use devices; pack...
6,338
ada
0
reznikmm/slimp
source/slim-players-displays.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Streams; package Slim.Players.Displays is type Display (Size : Ada.Streams.Stream_Element_Offset) is private; procedure Clear (Self :...
6,339
ada
1
zrmyers/VulkanAda
test/mat/vulkan-math-mat3x2-test.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 r...
6,340
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
boards/host/stm32gd-board.ads
with STM32GD.USART.Peripheral; with Drivers.Text_IO; package STM32GD.Board is pragma Preelaborate; package USART is new STM32GD.USART.Peripheral (Filename => "Test"); package Text_IO is new Drivers.Text_IO (USART => STM32GD.Board.USART); procedure Init; end STM32GD.Board;
6,341
ada
0
hannesb0/rtpl18
src/lab-code/car-blinker/src/main.adb
with Text_IO; procedure Main is task type Blinker_Type is entry Start(S : String); entry Stop; end Blinker_Type; task Blinker_Control is entry Blink_Left; entry Blink_Right; entry Blink_Emergency; entry Blink_Stop; end Blinker_Control; Left_Blinker, Right_Blinker: B...
6,342
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/g-sercom.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
6,343
ada
12
jquorning/ada-asf
src/asf-beans-globals.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- asf-beans-globals -- Bean giving access to the global init parameters -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this...
6,344
ada
1
michalkonecny/polypaver
tools/SPARK2005/examples/erfRiemann/riemann.ads
<filename>tools/SPARK2005/examples/erfRiemann/riemann.ads --# inherit PP_Integer, PP_F_Exact, PP_F_Rounded, PP_F_Elementary, PP_LF_Exact, PP_LF_Rounded, PP_LF_Elementary; package Riemann is -- This constant is a bound for the overall rounding errors introduced -- in each segment of the Riemann sum. c : const...
6,345
ada
36
rewriting/tom
src/tom/library/sl/ada/visitablepackage.ads
with ObjectPack; use ObjectPack; package VisitablePackage is type Visitable is interface and Object; type VisitablePtr is access all Visitable'Class; function getChildCount(v: access Visitable) return Integer is abstract; function setChildren(v: access Visitable ; children : ObjectPtrArrayPtr) return Visitabl...
6,346
ada
0
faelys/natools
tests/natools-s_expressions-templates-tests.adb
<reponame>faelys/natools<filename>tests/natools-s_expressions-templates-tests.adb<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- ...
6,347
ada
33
ytomino/drake
source/s-folifl.ads
<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit package System.Formatting.Literals.Float is pragma Pure; -- parsing Ada-form literals of real types procedure Get_Literal ( Item : String; Last : out Natural; Result : out Long_Long_Float; Error : out Boolean); ...
6,348
ada
0
kndtime/ada-spaceship
spaceship/src/ennmie.adb
package body Ennmie is procedure appear_enn(s : in out Ennmie; X : Integer; Y : Integer; Max_X : Integer; Max_Y : Integer) is begin if s.State /= DEAD then return; end if; s.X := X; s.Y := Y; s.Max_X := Max_X; s.Max_Y := Max_Y; s.State := ALIVE; end appear_enn; procedure mov...
6,349
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-tasks.ads
<reponame>Fabien-Chouteau/ada-lvlg with System; package Lv.Tasks is type Instance is private; type Prio_T is (Prio_Off, Prio_Lowest, Prio_Low, Prio_Mid, Prio_High, Prio_Highest, Prio_Num); -- ...
6,350
ada
0
Hamster-Furtif/JeremyPlusPlus
src/bot.adb
with ada.text_io, ada.Float_Text_IO, ada.Integer_Text_IO, utils, ada.Strings.Unbounded, montecarlo, botIO, opstrat, Mastermind, Ada.Characters.Handling; use ada.text_io, ada.Float_Text_IO, ada.Integer_Text_IO, utils, ada.Strings.Unbounded, montecarlo, botIO, opstrat, Mastermind, Ada.Characters.Handling; procedure bot ...
6,351
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt22.adb
-- { dg-do run } -- { dg-options "-O" } with Opt22_Pkg; use Opt22_Pkg; procedure Opt22 is procedure Go (S : String) is begin begin Fail; exception when Constraint_Error => Put ("the " & S); end; Put ("the " & S); end; begin Go ("message"); end;
6,352
ada
0
dpr1005/Tiempo-Real-Ejercicios
Practica 02/P02_Lista_Alumnos/src/alumnos.ads
<filename>Practica 02/P02_Lista_Alumnos/src/alumnos.ads<gh_stars>0 package Alumnos is Tamano_Nombre : constant Integer := 20; type Tipo_Escuela is (Teleco, Caminos, Fisicas, Medicina); type Alumno is private; procedure Lee (Alu : out Alumno); procedure Escribe (Alu : in Alumno); private type Alumno ...
6,353
ada
12
jquorning/ada-asf
src/asf-components-widgets-selects.ads
----------------------------------------------------------------------- -- components-widgets-selects -- Select component with jQuery Chosen -- 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 compl...
6,354
ada
20
charlie5/lace
3-mid/physics/implement/bullet/source/thin/bullet_c.ads
<filename>3-mid/physics/implement/bullet/source/thin/bullet_c.ads -- This file is generated by SWIG. Please do *not* modify by hand. -- with Swig; with Interfaces.C; package bullet_c is -- Shape -- subtype Shape is Swig.opaque_structure; type Shape_array is array (Interfaces.C.size_t range <>) of al...
6,355
ada
2
thindil/tashy2
tests/tk-labelframe-test_data-tests.ads
package Tk.Labelframe.Test_Data.Tests is end Tk.Labelframe.Test_Data.Tests;
6,356
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt40.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt40.adb -- { dg-do compile } -- { dg-options "-O2 -fdump-tree-optimized" } pragma Suppress (Overflow_Check); function Opt40 (X : Integer; Y : Integer) return Positive is Z : Integer; begin if X >= Y then return 1; end if; Z := Y - X; return ...
6,357
ada
22
FardaleM/metalang
out/plus_petit.adb
<reponame>FardaleM/metalang with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure plus_petit is type stringptr is access all char_array; procedure PInt(i : in Integer) is begin ...
6,358
ada
0
faicaltoubali/ENSEEIHT
Projects/Arbre_Genealogique/livrables/programme_principale.adb
with Ada.text_IO ; use Ada.text_IO ; with Ada.integer_text_IO ; use Ada.integer_text_IO ; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Unbounded.Text_IO ; use Ada.Strings.Unbounded.Text_IO; with arbre_genealogique; procedure programme_principale is taillearbre : integer; procedure program...
6,359
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_convert5b.adb
<reponame>best08618/asylo<gh_stars>1-10 -- { dg-do run { target i?86-*-* x86_64-*-* alpha*-*-* ia64-*-* } } with Unchecked_Conversion; procedure Unchecked_Convert5b is subtype c_1 is string(1..1); function int2c1 is -- { dg-warning "different sizes" } new unchecked_conversion (source => integer, target => ...
6,360
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507b.ada
-- C35507B.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...
6,361
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/layered_abstraction.adb
package body Layered_Abstraction is Z : P1.T := P2.Obj; -- Both P1.T and P2.Obj are visible because -- they were not specified in the formal package. -- Note that P2.T is not visible since it -- is required to match P1.T use P1; ...
6,362
ada
7
Fabien-Chouteau/coffee-clock
src/GUI/clock_window.adb
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
6,363
ada
1
faelys/natools-web
generated/natools-static_maps-web-fallback_render-t.ads
-- Generated at 2017-04-01 17:51:32 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-fallback_render-maps.sx function Natools.Static_Maps.Web.Fallback_Render.T return Boolean; pragma Pure (Natools.Static_Maps.Web.Fallback_Render.T);
6,364
ada
0
xuedong/mini-ada
tests/typing/good/testfile-record-2.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is type R; type P is access R; type R is record Foo: P; end record; begin New_Line; end;
6,365
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_gstpluginsbaseversion_h.ads
<reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_gstpluginsbaseversion_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_pb...
6,366
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-twim.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 source code must retain the above copyright notice, t...
6,367
ada
1
io7m/coreland-openal-ada
openal-types.ads
with Interfaces.C; with System; package OpenAL.Types is package C renames Interfaces.C; -- ALfloat type Float_t is new C.C_float; -- ALdouble type Double_t is new C.double; -- ALsizeiptr type Size_Pointer_t is mod 2 ** System.Word_Size; for Size_Pointer_t'Size use System.Word_Size; pragma Conventi...
6,368
ada
7
98devin/ada-gba-dev
src/GBA.Numerics.Vectors.adb
<reponame>98devin/ada-gba-dev<filename>src/GBA.Numerics.Vectors.adb<gh_stars>1-10 -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. package body GBA.Numerics.Vectors is function Pointwise (V, W : Vec) return Vec is begin return ( 0 => Operator (V (0), W (0)) , 1 => Operator...
6,369
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/access3.ads
-- { dg-do compile } package access3 is type TF is access function return access procedure (P1 : Integer); type TAF is access protected function return access procedure (P1 : Integer); type TAF2 is access function return access protected procedure (P1 : Integer); type TAF3 is access ...
6,370
ada
0
reznikmm/gela
source/nodes/program-nodes-package_body_declarations.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Package_Body_Declarations is function Create (Package_Token : not null Program.Lexical_Elements .Lexical_Element_Access; ...
6,371
ada
0
python36/d0xfa
src/numbers.ads
<gh_stars>0 with interfaces; with ada.unchecked_conversion; with ada.numerics.generic_elementary_functions; with ada.text_io; with ada.strings.fixed; package numbers is function uint32_to_integer is new ada.unchecked_conversion(source => interfaces.unsigned_32, target => integer); subtype byte is interfaces.u...
6,372
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-artifacts.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
6,373
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sem_elim.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
6,374
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-geveop.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
6,375
ada
0
Letractively/ada-awa
awa/regtests/awa-wikis-parsers-tests.adb
----------------------------------------------------------------------- -- awa-wikis-parsers-tests -- Unit tests for wiki parsing -- Copyright (C) 2011, 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 comp...
6,376
ada
60
RREE/ada-util
regtests/util-beans-objects-discretes.adb
----------------------------------------------------------------------- -- Util.Beans.Objects.Discretes -- Unit tests for concurrency package -- Copyright (C) 2009, 2010, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ex...
6,377
ada
1
Distrotech/ncurses
Ada95/samples/ncurses2-demo_forms.adb
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
6,378
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-tassta.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/s-tassta.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
6,379
ada
0
optikos/oasis
source/nodes/program-nodes-record_types.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Definitions; with Program.Elements.Record_Types; with Program.Element_Visitors; package Program.N...
6,380
ada
10
LionelDraghi/smk
src/smk-runs-strace_analyzer.ads
<filename>src/smk-runs-strace_analyzer.ads<gh_stars>1-10 -- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- --------------------------------------------------...
6,381
ada
0
reznikmm/gela
source/oasis/program-elements-formal_constrained_array_types.ads
<filename>source/oasis/program-elements-formal_constrained_array_types.ads<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Formal_Type_Definitions; with Program.Lexical_Elements; with Pr...
6,382
ada
13
annexi-strayline/AURA
workers.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
6,383
ada
1
mullikine/RosettaCodeData
Task/Unicode-variable-names/Ada/unicode-variable-names.ada
<filename>Task/Unicode-variable-names/Ada/unicode-variable-names.ada<gh_stars>1-10 with Ada.Text_IO; procedure main is Δ : Integer; begin Δ := 41; Δ := Δ + 1; Ada.Text_IO.Put_Line (Δ'Img); end main;
6,384
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/pack10.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/pack10.ads -- { dg-do compile } with Pack10_Pkg; use Pack10_Pkg; package Pack10 is type Boolean_Vector is array (Positive range <>) of Boolean; type Packed_Boolean_Vector is new Boolean_Vector; pragma Pack (Packed_Boolean_Vector); procedure My...
6,385
ada
1
Jellix/open_weather_map_api
src/util/gnatcoll-json-conversions.ads
-------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See t...
6,386
ada
1
stcarrez/helios
src/client/helios-rest-clients.adb
<filename>src/client/helios-rest-clients.adb<gh_stars>1-10 -- Hyperion API -- Hyperion Monitoring API The monitoring agent is first registered so that the server knows it as well as its security key. Each host are then registered by a monitoring agent. -- -- The version of the OpenAPI document: 1.0.0 -- Contact: ...
6,387
ada
15
My-Colaborations/dynamo
src/asis/a4g-itests.adb
<reponame>My-Colaborations/dynamo<filename>src/asis/a4g-itests.adb ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
6,388
ada
33
ytomino/drake
source/required/s-bitops.ads
<filename>source/required/s-bitops.ads pragma License (Unrestricted); -- implementation unit required by compiler package System.Bit_Ops is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). -- required for "=" packed boolean array by compiler (s-bitop.ads) f...
6,389
ada
4
jerry-sky/academic-notebook
electives/pw/lab/lista-3/ada/node.ads
with RandInt; with Logger; use Logger; with External; use External; package Node is package RAD renames RandInt; type NodeObj; type pNodeObj is access NodeObj; type Array_pNodeObj is array (Natural range <>) of pNodeObj; type pArray_pNodeObj is access Array_pNodeObj; type Offer is record ...
6,390
ada
13
jrmarino/zstd-ada
Binding_Zstandard/zstandard-functions.ads
<reponame>jrmarino/zstd-ada -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Zstandard.Thin_Binding; package Zstandard.Functions is package Thin renames Zstandard.Thin_Binding; ------------------ -- Data Types -- ------------------ type ...
6,391
ada
6
jonashaggstrom/ada-canopen
src/aco-protocols-error_control-masters.adb
<reponame>jonashaggstrom/ada-canopen package body ACO.Protocols.Error_Control.Masters is procedure Periodic_Actions (This : in out Master; T_Now : in Ada.Real_Time.Time) is begin This.Timers.Process (T_Now); This.Monitor.Update_Alarms (T_Now); end Periodic_Actions; functio...
6,392
ada
1
skill-lang/skillAdaTestSuite
test/container/test_container-read.ads
<filename>test/container/test_container-read.ads with Ahven.Framework; with Container.Api; package Test_Container.Read is package Skill renames Container.Api; use Container; use Container.Api; type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); pro...
6,393
ada
0
Ekrekr/Adamazing
maze.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Containers.Vectors; with Ada.Numerics.Discrete_Random; procedure Maze (Size : Integer) is -- A grid is a 2d array of cells. A cell can either be Fresh (not -- inspected), Front (Inspected but not set), C...
6,394
ada
7
letsbyteit/build-avr-ada-toolchain
rts/gcc-9/adainclude/s-memory.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
6,395
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/a-strbou.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
6,396
ada
1
ScottWLoyd/ada_dynamic_libs
my_lib.ads
<reponame>ScottWLoyd/ada_dynamic_libs -- @TODO: do we need to create a seperate spec file which imports these as stated here: -- https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gnat_ugn_unw/Creating-a-Spec-for-Ada-DLLs.html#Creating-a-Spec-for-Ada-DLLs package my_lib is procedure Do_Stuff; -- procedure Initialize_API; --...
6,397
ada
0
optikos/oasis
source/nodes/program-nodes-anonymous_access_to_procedures.ads
<reponame>optikos/oasis<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Parameter_Specifications; with Program.Elements.Anonymous_Acces...
6,398
ada
1
danva994/ASFML-1.6
tests/music/main.adb
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; with Sf.Config; use Sf.Config; with Sf.System.Sleep; use Sf.System.Sleep; with Sf.Audio.Types; use Sf.Audio.Types; with Sf.Audio.Music; ...
6,399
ada
0
jquorning/CELLE
source/options.adb
<reponame>jquorning/CELLE -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Charact...