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 |
|---|---|---|---|---|---|
29,800 | ada | 1 | danva994/ASFML-1.6 | include/sf-system-randomizer.ads | -- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held liable for any damages a... |
29,801 | ada | 81 | fuzzysloth/ada-awa | awa/src/awa-events-queues-fifos.adb | <filename>awa/src/awa-events-queues-fifos.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- awa-events-queues-fifos -- Fifo event queues (memory based)
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "... |
29,802 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/nested_proc1.adb | -- { dg-do run }
-- Test that a static link is correctly passed to a subprogram which is
-- indirectly called through an aggregate.
procedure Nested_Proc1 is
I : Integer := 0;
procedure P1 (X : Integer) is
begin
I := X;
end;
type Func_Ptr is access procedure (X : Integer);
type Arr is array (1..64)... |
29,803 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-trafor-default.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
29,804 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array25_pkg.ads | <gh_stars>1-10
generic
UB1 : Natural;
UB2 : Natural;
package Array25_Pkg is
type Arr1 is array (1 .. UB1) of Integer;
type Rec is record
Data : Arr1;
end record;
type Arr2 is array (1 .. UB2) of Rec;
procedure Get (A : out Arr2);
end Array25_Pkg;
|
29,805 | ada | 192 | rocher/Ada_Drivers_Library | examples/stm32_h405/lcd_test/src/lcd_test.adb | <gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- ... |
29,806 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Prime-decomposition/Ada/prime-decomposition-1.ada | <filename>Task/Prime-decomposition/Ada/prime-decomposition-1.ada
generic
type Number is private;
Zero : Number;
One : Number;
Two : Number;
with function "+" (X, Y : Number) return Number is <>;
with function "*" (X, Y : Number) return Number is <>;
with function "/" (X, Y : Number) return ... |
29,807 | ada | 0 | Brawdunoir/administrative-family-tree-manager | arbre_genealogique.adb | with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Text_IO;
use Ada.Text_IO;
package body Arbre_Genealogique is
--package arbre2 is -- On instancie un arbre binaire
-- new Arbre_Binaire (T_Cle => Integer);
--use arbre2;
-- Afficher des entiers (pour les clés).
procedure Affich... |
29,808 | ada | 1 | ytomino/vampire | source/tabula-villages.adb | <reponame>ytomino/vampire
-- The Village of Vampire by YT, このソースコードはNYSLです
package body Tabula.Villages is
use type Ada.Strings.Unbounded.Unbounded_String;
use type Casts.Person_Sex;
function Same_Id_And_Figure (Left, Right : Person_Type'Class) return Boolean is
begin
return Left.Id = Right.Id and then Left.Ima... |
29,809 | ada | 0 | xuedong/mini-ada | tests/typing/good/testfile-rec-1.adb | <reponame>xuedong/mini-ada
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure R is begin R; end;
begin
R;
end;
|
29,810 | ada | 33 | ytomino/drake | source/directories/a-dhfina.ads | <filename>source/directories/a-dhfina.ads
pragma License (Unrestricted);
-- Ada 2012
package Ada.Directories.Hierarchical_File_Names is
function Is_Simple_Name (Name : String) return Boolean
renames Ada.Hierarchical_File_Names.Is_Simple_Name;
function Is_Root_Directory_Name (Name : String) return Boolean... |
29,811 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95067a.ada | <gh_stars>1-10
-- C95067A.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.... |
29,812 | ada | 13 | Fabien-Chouteau/GESTE | src/geste-physics.adb | <reponame>Fabien-Chouteau/GESTE<filename>src/geste-physics.adb
------------------------------------------------------------------------------
-- --
-- GESTE --
-- ... |
29,813 | ada | 0 | pat-rogers/OpenUxAS | src/ada/src/uxas-messages-lmcptask-uniqueautomationrequest-spark_boundary.adb | package body UxAS.Messages.LmcpTask.UniqueAutomationRequest.SPARK_Boundary with SPARK_Mode => Off is
---------------------------------------------------
-- Copy_PlanningState_From_TaskAutomationRequest --
---------------------------------------------------
procedure Copy_PlanningState_From_TaskAutomationR... |
29,814 | ada | 4 | davidkristola/vole | kv-avm-executable_lists.ads |
with kv.avm.Control;
with kv.avm.Executables;
with kv.avm.Actor_References;
package kv.avm.Executable_Lists is
type Cursor_Type is new Natural;
subtype Index_Type is Cursor_Type range 1 .. Cursor_Type'LAST;
type Executable_Handle_Type is tagged private;
type Executable_Handle_Access is access Executable... |
29,815 | ada | 1 | annexi-strayline/ASAP-JSON | json-parser_machine.adb | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- JSON Parser/Constructor --
-- ... |
29,816 | ada | 0 | Fabien-Chouteau/ASFML | include/sf-graphics-blendmode.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... |
29,817 | ada | 0 | passlab/rexompiler | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.ads | <gh_stars>0
package Complex is
type Complex is
record
Re : Float := 0.0;
Im : Float := 0.0;
end record;
I : constant Complex := (0.0, 1.0);
function II return Complex;
end Complex;
|
29,818 | ada | 488 | ouankou/rose | src/frontend/Experimental_Ada_ROSE_Connection/parser/support/source/generic_logging.adb | <filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/support/source/generic_logging.adb
with Ada.Characters.Handling;
with Ada.Text_IO;
with Ada.Wide_Text_IO;
with GNAT.Traceback.Symbolic;
package body Generic_Logging is
Wide_Module_Name : constant Wide_String :=
Ada.Characters.Handling.To_Wide_... |
29,819 | ada | 0 | AdaForge/Advent_of_Code_2020 | puzzle_25/src/puzzle_25.adb | <filename>puzzle_25/src/puzzle_25.adb
procedure Puzzle_25 is
begin
null;
end Puzzle_25;
|
29,820 | ada | 0 | Asier98/AdaCar | src/adacar-alarmas.adb | <reponame>Asier98/AdaCar
with Ada.Real_Time; use type Ada.Real_Time.Time; use Ada;
with AdaCar.Parametros;
package body AdaCar.Alarmas is
type Lista_Alarmas is array(Tipo_Alarmas) of Estado_Alarma;
protected Alarmas_PO
with Priority => Parametros.Techo_Alarmas_PO
is
procedure Notificar_Alarma(Ala... |
29,821 | ada | 20 | charlie5/lace | 3-mid/physics/interface/source/private/box2d/box2d_physics.ads | with
float_Math;
package box2d_Physics
--
-- Provides an implementation of the physics interface using a binding to the Box2D C library.
--
is
pragma Pure;
package Math renames float_Math;
Error : exception;
end box2d_Physics;
|
29,822 | ada | 0 | My-Colaborations/ada-ado | src/ado-utils-serialize.adb | <reponame>My-Colaborations/ada-ado
-----------------------------------------------------------------------
-- ado-utils-serialize -- Utility operations for JSON/XML serialization
-- Copyright (C) 2016, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... |
29,823 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada05/a-rttiev.ads | <reponame>brucegua/moocos
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
29,824 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/boards/stm32f7_discovery/hal-audio.ads | <reponame>TUM-EI-RCS/StratoX<filename>software/hal/boards/stm32f7_discovery/hal-audio.ads
-- Generic spec for Audio drivers
-- /!\ This is work in progress and not at a real Hardware Abstraction Layer
with Ada.Interrupts.Names;
with Interfaces; use Interfaces;
with STM32.DMA;
package HAL.Audio is
Audio_Out_DM... |
29,825 | ada | 18 | jquorning/ada-wiki | src/wiki-plugins-variables.adb | <filename>src/wiki-plugins-variables.adb
-----------------------------------------------------------------------
-- wiki-plugins-variables -- Variables plugin
-- Copyright (C) 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
29,826 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-mode-5.3.1/gps_source/string_utils.ads | ------------------------------------------------------------------------------
-- G P S --
-- --
-- Copyright (C) 2001-2016, AdaCore --
-- ... |
29,827 | ada | 30 | jrmarino/AdaBase | testcases/traits/traits.adb | <reponame>jrmarino/AdaBase<gh_stars>10-100
with Ada.Text_IO;
with Ada.Exceptions;
with AdaBase;
with Connect;
with GNAT.Traceback.Symbolic;
procedure Traits is
package SYM renames GNAT.Traceback.Symbolic;
package TIO renames Ada.Text_IO;
package CON renames Connect;
package EX renames Ada.Exceptions;
... |
29,828 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Factorial/Ada/factorial-3.ada | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Text_IO.Complex_Io;
with Ada.Text_Io; use Ada.Text_Io;
procedure Factorial_Numeric_Approximation is
type Real is digits 1... |
29,829 | ada | 0 | csb6/libtcod-ada | src/libtcod-maps.ads | private with Ada.Finalization, fov_types_h;
package Libtcod.Maps is
Error : exception;
type X_Pos is new Interfaces.C.int range 0 .. Interfaces.C.int'Last;
type Y_Pos is new Interfaces.C.int range 0 .. Interfaces.C.int'Last;
type X_Diff is new Interfaces.C.int;
type Y_Diff is new Interfaces.C.Int;
... |
29,830 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Percentage-difference-between-images/Ada/percentage-difference-between-images-5.ada | F1, F2 : File_Type;
begin
Open (F1, In_File, "city.ppm");
Open (F2, In_File, "city_emboss.ppm");
Ada.Text_IO.Put_Line ("Diff" & Float'Image (Diff (Get_PPM (F1), Get_PPM (F2))));
Close (F1);
Close (F2);
|
29,831 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/support/impbit.adb | with System;
with Ada.Text_IO;
procedure Impbit is
begin
Ada.Text_IO.Put_Line (System.Address'Size'Img);
end Impbit;
|
29,832 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array29.adb | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-O" }
package body Array29 is
procedure Copy (Src : in Matrix; Dst : out Matrix) is
begin
for I in Src'Range (1) loop
for J in Src'Range (2) loop
Dst (I, J) := Src (I, J);
end loop;
end loop;
end;
procedure Proc is
N : const... |
29,833 | ada | 32 | robdaemon/AdaYaml | test/src/yaml-lexer-tokenization_test.ads | <reponame>robdaemon/AdaYaml<filename>test/src/yaml-lexer-tokenization_test.ads<gh_stars>10-100
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package Yaml.Lexer.Tokenization_Test is
... |
29,834 | ada | 33 | persan/zeromq-Ada | eBindings/dl/tests/dl-test_all_suit.ads | with AUnit.Test_Suites;
package Dl.Test_All_Suit is
function Suite return AUnit.Test_Suites.Access_Test_Suite;
-- Return the test suite
end Dl.Test_All_Suit; |
29,835 | ada | 2 | adithyap/coursework | ProgrammingLanguages/Ada/MergeSort/progmain.adb | with Text_Io;
with sort;
-- ------------------
procedure progmain is
-- Package usage declarations
use Text_Io;
use sort;
package Int_Io is new Integer_Io(Integer);
use Int_Io;
-- Variable declarations
A : m_array;
input_var : Integer;
array_sum : Integer;
-- Task declarations
task Reader is
entry sta... |
29,836 | ada | 24 | svn2github/matreshka | tools/documentation_generator/documentation_generator.ads |
package Documentation_Generator is
pragma Pure;
end Documentation_Generator;
|
29,837 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37210a.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37210a.ada
-- C37210A.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... |
29,838 | ada | 9 | stcarrez/ada-search | regtests/search-tokens-tests.adb | <reponame>stcarrez/ada-search
-----------------------------------------------------------------------
-- search-tokens-tests -- Tests for tokens
-- 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 c... |
29,839 | ada | 33 | ytomino/drake | examples/socket_client.adb | with Ada.Streams.Stream_IO.Sockets;
with Ada.Text_IO;
procedure socket_client is
begin
declare
End_Point : constant Ada.Streams.Stream_IO.Sockets.End_Point :=
Ada.Streams.Stream_IO.Sockets.Resolve ("google.com", 80);
File : Ada.Streams.Stream_IO.File_Type :=
Ada.Streams.Stream_IO.Sockets.Connect (End_Point);... |
29,840 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-stchop.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
29,841 | ada | 60 | jquorning/ada-util | src/sys/serialize/xml/util-serialize-io-xml.adb | <filename>src/sys/serialize/xml/util-serialize-io-xml.adb
-----------------------------------------------------------------------
-- util-serialize-io-xml -- XML Serialization Driver
-- Copyright (C) 2011, 2012, 2013, 2016, 2017, 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache Licen... |
29,842 | ada | 1 | jorge-real/TTS | examples/tts_example2.adb | <reponame>jorge-real/TTS<gh_stars>1-10
with System;
with Ada.Real_Time; use Ada.Real_Time;
with Time_Triggered_Scheduling; -- use Time_Triggered_Scheduling;
-- The following packages are for tracing and timing support
with Ada.Exceptions; use Ada.Exceptions;
with Logging_Support; use Logging_Support;
with Use_CPU... |
29,843 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | ADL/drivers/stm32g474/stm32-spi.ads | <filename>ADL/drivers/stm32g474/stm32-spi.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
29,844 | ada | 7 | Fabien-Chouteau/coffee-clock | src/GUI/settings_window.adb | -------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
29,845 | ada | 15 | mgrojo/adalib | ada-containers-generic_sort.ads | -- Standard Ada library specification
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaRe... |
29,846 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Globe_3d/objects/globe_3d-impostor.adb | pragma Warnings (Off);
pragma Style_Checks (Off);
with GLOBE_3D.Textures,
GLOBE_3D.Math;
with glut.Windows; use glut.Windows;
with GL.Errors;
with GLU;
with ada.Text_IO; use ada.Text_IO;
package body GLOBE_3D.Impostor is
package G3DT renames GLOBE_3D.Textures;
package G3DM renames GLOBE_... |
29,847 | ada | 0 | optikos/oasis | source/nodes/program-nodes-extended_return_statements.ads | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Return_Object_Specifications;
with Program.Element_Vectors;
with Program.Elements.Exception_Handle... |
29,848 | ada | 0 | optikos/oasis | source/oasis/program-elements-indexed_components.ads | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
package Program.Elements.Indexed_Components is
pragma Pure (Program.Elements.Ind... |
29,849 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/g-trasym-vms-ia64.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
29,850 | ada | 0 | PThierry/ewok-kernel | src/ewok-debug.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 the License at
--
-- http... |
29,851 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/driversL0/stm32-gpio.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
29,852 | ada | 0 | kisom/rover-mk1 | src/rosa/rosa-tasks.adb | <gh_stars>0
package body ROSA.Tasks is
procedure Create (Task_ID, Priority : in Unsigned_8; t : out Tasking) is
begin
t.Task_ID := Task_ID;
t.Priority := Priority;
t.State := Waiting;
end Create;
function Run (t : in Tasking) return Task_Status is
begin
if t.State /= Ready then
... |
29,853 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstelement_h.ads | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstelement_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstrea... |
29,854 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/renaming2_pkg4.ads | -- { dg-excess-errors "no code generated" }
generic
type Length_T is range <>;
with function Next return Length_T is <>;
type Value_T is private;
with function Value (L : Length_T) return Value_T is <>;
package Renaming2_Pkg4 is
generic
type T is private;
package Inner is
type Slave_T is tag... |
29,855 | ada | 0 | python36/0xfa | src/numbers.adb | <reponame>python36/0xfa<filename>src/numbers.adb<gh_stars>0
package body numbers is
procedure inc (p_i : in out integer) is begin p_i := p_i + 1; end inc;
procedure dec (p_i : in out integer) is begin p_i := p_i - 1; end dec;
procedure inc (p_i : in out word) is begin p_i := p_i + 1; end inc;
procedure dec (p_... |
29,856 | ada | 0 | zorodc/true-libs | stack/stack.adb | <gh_stars>0
pragma SPARK_Mode(On);
package body Stack is
function Top (S : in Stack) return Thing is (S.Elements (S.Quantity));
procedure Pop (S : in out Stack) is
begin S.Quantity := S.Quantity - 1; end Pop;
procedure Put (S : in out Stack; E : Thing) is
begin
S.Quantity := S.Quantity + 1;
... |
29,857 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect16.ads | package Vect16 is
type Sarray is array (1 .. 4) of Long_Float;
for Sarray'Alignment use 16;
procedure Add_Sub (X, Y : Sarray; R,S : out Sarray);
end Vect16;
|
29,858 | ada | 0 | Tim-Tom/project-euler | Ada/src/Problem_01.adb | <reponame>Tim-Tom/project-euler
with Ada.Integer_Text_IO;
with Ada.Text_IO;
package body Problem_01 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
procedure Solve is
sum : Integer := 0;
begin
for i in 1 .. 999 loop
if i mod 3 = 0 or i mod 5 = 0 then
... |
29,859 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/examples/monitor/common/srec.adb | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
29,860 | ada | 192 | rocher/Ada_Drivers_Library | components/src/screen/pcd8544/pcd8544.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
29,861 | ada | 1 | io7m/coreland-openal-ada | openal-extension-efx.ads | <filename>openal-extension-efx.ads<gh_stars>1-10
with OpenAL.Context;
with OpenAL.Types;
with OpenAL.Source;
private with OpenAL.Extension.EFX_Thin;
package OpenAL.Extension.EFX is
type Extension_t is private;
function Is_Present (Device : in Context.Device_t) return Boolean;
function Load_Extension return E... |
29,862 | ada | 36 | rewriting/tom | src/tom/library/sl/ada/muvarstrategy.adb | with VisitFailurePackage, VisitablePackage, EnvironmentPackage;
use VisitFailurePackage, VisitablePackage, EnvironmentPackage;
with Ada.Text_IO; use Ada.Text_IO;
package body MuVarStrategy is
----------------------------------------------------------------------------
-- Object implementation
--------------------... |
29,863 | ada | 2 | glencornell/ada-socketcan | examples/bcm_simple_writer/bcm_simple_writer.adb | <filename>examples/bcm_simple_writer/bcm_simple_writer.adb
-- 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, ... |
29,864 | ada | 24 | svn2github/matreshka | source/xml/templates/xml-templates-processors.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
29,865 | ada | 0 | VitalijBondarenko/notifyada | src/notify.ads | <filename>src/notify.ads
------------------------------------------------------------------------------
-- --
-- Copyright (c) 2014-2021 <NAME> <<EMAIL>> --
-- --
---... |
29,866 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-cogeso.ads | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
29,867 | ada | 0 | vfinotti/cortex-m0-blinky-ada | main.ads | -------------------------------------------------------------------------------
-- Title : Blinky example status file
--
-- File : main.ads
-- Author : <NAME>
-- Created on : 2019-04-25 14:53:55
-- Description :
--
--
--
---------------------------------------------------------------------... |
29,868 | ada | 2 | thindil/tashy2 | tests/tk-ttklabelframe-test_data.ads | <reponame>thindil/tashy2<gh_stars>1-10
package Tk.TtkLabelFrame.Test_Data is
end Tk.TtkLabelFrame.Test_Data;
|
29,869 | ada | 65 | PThierry/ewok-kernel | src/arch/socs/stm32f429/soc-dwt.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 the License at
--
-- http... |
29,870 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-widgets-menus-menu_buttons.ads |
with
FLTK.Menu_Items;
package FLTK.Widgets.Menus.Menu_Buttons is
type Menu_Button is new Menu with private;
type Menu_Button_Reference (Data : access Menu_Button'Class) is limited null record
with Implicit_Dereference => Data;
-- signifies which mouse buttons cause the menu to appear
... |
29,871 | ada | 1 | ytomino/vampire | source/tabula.ads | -- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Formatting;
package Tabula is
pragma Pure;
type Static_String_Access is access constant String;
for Static_String_Access'Storage_Size use 0;
-- string of Natural without spacing
function Image is
new Ada.Formatting.Integer_Image (
Natural,
Signs... |
29,872 | ada | 3 | daveshields/AdaEd | demos/list.ada | generic
type ELEMENT is private;
package LIST_PACKAGE is
type LIST is private;
EMPTY_LIST : constant LIST;
procedure APPEND(L : in out LIST; E : in ELEMENT);
procedure REMOVE(L : in out LIST; E : out ELEMENT);
procedure CONS(E : in ELEMENT; L : in out LIST);
function FIRST(L : in LIST... |
29,873 | ada | 0 | reznikmm/cvsweb2git | source/cvsweb-pushers.ads | -- BSD 3-Clause License
--
-- Copyright (c) 2017, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
--... |
29,874 | ada | 20 | charlie5/lace | 4-high/gel/applet/demo/sprite/chains_2d/launch_chains_2d.adb | <reponame>charlie5/lace<filename>4-high/gel/applet/demo/sprite/chains_2d/launch_chains_2d.adb
with
gel.Window.lumen,
gel.Applet.gui_world,
gel.Forge,
gel.Sprite,
gel.Joint,
Physics,
openGL.Palette;
pragma unreferenced (gel.Window.lumen);
procedure launch_Chains_2d
--
-- Creates a... |
29,875 | ada | 0 | jonashaggstrom/ada-canopen | src/aco-canopen.ads | with ACO.Configuration;
with ACO.Drivers;
with ACO.Events;
with ACO.Messages;
with Ada.Finalization;
with Ada.Real_Time; use Ada.Real_Time;
private with ACO.Messages.Buffer;
private with Ada.Synchronous_Task_Control;
package ACO.CANopen is
type Handler_Base
is abstract new Ada.Finalization.Limited_Controlled w... |
29,876 | ada | 1 | persan/A-gst | tests/src/gstreamer-rtsp-transport-tests.ads | with AUnit.Test_Cases;
package GStreamer.Rtsp.transport.Tests is
use AUnit;
type Test_Case is new AUnit.Test_Cases.Test_Case with null record;
function Name (Test : Test_Case) return Message_String;
procedure Register_Tests (Test : in out Test_Case);
end GStreamer.Rtsp.transport.Tests;
|
29,877 | ada | 9 | reznikmm/clic | src/clic.ads | <reponame>reznikmm/clic<filename>src/clic.ads<gh_stars>1-10
package CLIC
with Preelaborate
is
end CLIC;
|
29,878 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-stzfix.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
29,879 | ada | 80 | thindil/steamsky | tests/bases-test_data-tests.ads | -- 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 Bases.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Bases.Test_Data
.Test with
null re... |
29,880 | ada | 30 | jrmarino/AdaBase | testcases/bad_select/bad_select.adb | <gh_stars>10-100
with AdaBase;
with Connect;
with CommonText;
with Ada.Text_IO;
with AdaBase.Results.Sets;
procedure Bad_Select is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package ARS renames AdaBase.Results.Sets;
package CT renames CommonText;
row : ARS.Datarow;
sql : String ... |
29,881 | ada | 6 | Heziode/ada-dotenv | example/src/load_environment_variables.ads | <reponame>Heziode/ada-dotenv
package Load_Environment_Variables is
pragma Elaborate_Body;
end Load_Environment_Variables;
|
29,882 | ada | 24 | svn2github/matreshka | source/league/matreshka-internals-settings-ini_files.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
29,883 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-cylinder.ads | with impact.d3.Shape.convex.internal;
-- #include "impact.d3.Shape.convex.internal.polyhedral.box.h"
-- #include "BulletCollision/BroadphaseCollision/impact.d3.collision.Proxy.h" // for the types
-- #include "LinearMath/impact.d3.Vector.h"
package impact.d3.Shape.convex.internal.cylinder
--
-- The impact.d3.Sha... |
29,884 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/exp_tss.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
29,885 | ada | 2 | rocher/TTS-Runtime-Ravenscar | runtime/s-ttssup.ads | with System.BB.Threads;
package System.TTS_Support is
pragma Preelaborate (TTS_Support);
procedure Hold (T : System.BB.Threads.Thread_Id;
Check_Protected_Action : Boolean := False);
procedure Continue (T : System.BB.Threads.Thread_Id);
function Is_Held (T : System.BB.Threads.Thread_Id)... |
29,886 | ada | 81 | My-Colaborations/ada-awa | awa/src/awa-users.ads | -----------------------------------------------------------------------
-- awa-users -- Users module
-- Copyright (C) 2009, 2010, 2011, 2015, 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with... |
29,887 | ada | 20 | charlie5/lace | 1-base/lace/applet/demo/event/distributed/source/chat-client-local.adb | <filename>1-base/lace/applet/demo/event/distributed/source/chat-client-local.adb
with
chat.Registrar,
lace.Response,
lace.Observer,
lace.Event.utility,
system.RPC,
ada.Exceptions,
ada.Text_IO;
package body chat.Client.local
is
-- Utility
--
function "+" (From : in unbounde... |
29,888 | ada | 9 | alire-project/clic | example/src/clic_ex-commands-config.adb | with GNAT.OS_Lib;
with Simple_Logging;
with CLIC.Config.Info;
with CLIC.Config.Edit;
with CLIC.Config.Load;
package body CLIC_Ex.Commands.Config is
package Trace renames Simple_Logging;
-------------
-- Execute --
-------------
overriding
procedure Execute (Cmd : in out Instance;
... |
29,889 | ada | 0 | ekoeppen/MSP430_Generic_Ada_Drivers | msp430x2/msp430g2553/svd/msp430_svd-usci_b0_i2c_mode.ads | <filename>msp430x2/msp430g2553/svd/msp430_svd-usci_b0_i2c_mode.ads<gh_stars>0
-- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- USCI_B0 I2C Mode
package MSP430_SVD.USCI_B0_I2C_MODE is
pragma ... |
29,890 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a83a02b.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a83a02b.ada<gh_stars>1-10
-- A83A02B.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
... |
29,891 | ada | 25 | thierr26/ada-keystore | src/keystore-gpg.adb | -----------------------------------------------------------------------
-- keystore-gpg -- helpers to open keystores protected with GPG
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
29,892 | ada | 52 | onox/orka | orka/src/orka/interface/orka-logging.ads | <filename>orka/src/orka/interface/orka-logging.ads<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 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... |
29,893 | ada | 15 | mgrojo/adalib | ada-directories-hierarchical_file_names.ads | <filename>ada-directories-hierarchical_file_names.ads
-- Standard Ada library specification
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX... |
29,894 | ada | 0 | hgrodriguez/spi_two_devices | src/main_master_itsybitsy.adb | --===========================================================================
--
-- This is the main master program for the ItsyBitsy for the
-- use cases:
-- 3: Master ItsyBitsy -> Slave Pico
-- 4: Master ItsyBitsy -> Slave ItsyBitsy
--
--=============================================================... |
29,895 | ada | 488 | ouankou/rose | src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/c_code_h.ads | <filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/c_code_h.ads<gh_stars>100-1000
package c_code_h is
procedure c_func;
pragma Import (C, c_func);
procedure c_ada_caller;
pragma Import (C, c_ada_caller);
end c_code_h;
|
29,896 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_3/src/solar_system-graphics.ads | <reponame>AdaCore/training_material<filename>courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_3/src/solar_system-graphics.ads
package Solar_System.Graphics is
protected Graphic_Context is
procedure Set_Window(W: Window_ID);
entry Get_Window(W: out Window_ID; C :... |
29,897 | ada | 1 | stcarrez/helios | src/helios-commands-register.adb | <filename>src/helios-commands-register.adb
-----------------------------------------------------------------------
-- helios-commands-register -- Command to register the agent in hyperion
-- Copyright (C) 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Lic... |
29,898 | ada | 0 | wooky/aoc.kt | src/main/ada/aoc.ads | package AOC is
package Day is
type Day is abstract tagged limited null record;
type Access_Day is access Day'Class;
procedure Init (D : in out Day; Root : String) is abstract;
function Part_1 (D : Day) return String is abstract;
function Part_2 (D : Day) return String is abstract;
e... |
29,899 | ada | 0 | AntonioRamosNieto/TFG-STM32F429 | STM32F4/ToyOBDH/src/sensor.adb | <reponame>AntonioRamosNieto/TFG-STM32F429
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, Universidad Politécnica de Madrid --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.