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,300 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-pehage.ads | <reponame>orb-zhuchen/Orb<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-pehage.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
29,301 | ada | 0 | fuzzysloth/ada-awa | awa/plugins/awa-blogs/src/model/awa-blogs-models.adb | <reponame>fuzzysloth/ada-awa<gh_stars>0
-----------------------------------------------------------------------
-- AWA.Blogs.Models -- AWA.Blogs.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xht... |
29,302 | ada | 1 | charlie5/lace-alire | 3-mid/opengl/source/lean/model/opengl-model-box-colored.adb | with
openGL.Primitive.indexed,
openGL.Geometry.colored;
package body openGL.Model.box.colored
is
---------
--- Forge
--
function new_Box (Size : in Vector_3;
Faces : in colored.Faces) return View
is
Self : constant View := new Item;
begin
Self.Faces := Fa... |
29,303 | ada | 0 | jquorning/CELLE | source/report_parsers.adb | --
-- 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.Strings.Unbounded;
with Auxiliar... |
29,304 | ada | 0 | hgrodriguez/edc-client | src/edc_client.ads | <gh_stars>0
--===========================================================================
--
-- This package is the root package for the EDC Client
--
--===========================================================================
--
-- Copyright 2021 (C) <NAME>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
package E... |
29,305 | ada | 0 | reznikmm/gela | source/oasis/program-element_iterators.adb | -- SPDX-FileCopyrightText: 2019-2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
package body Program.Element_Iterators is
package Internal is
function Get
(Parent : Program.Elements.Element_Access... |
29,306 | ada | 0 | fintatarta/fakedsp | Ada/src/examples/notch/notch_example.ads | package Notch_Example is
-- This hierarchy provides an example of how to write a notch
-- filter using the library fakedsp. The main procedure is
-- Notch_Example.Main, the callback implementing the filter is in
-- Notch_Example.Filters.
end Notch_Example;
|
29,307 | ada | 30 | jscparker/math_packages | disorderly/chi_gaussian_cdf.ads | <gh_stars>10-100
-------------------------------------------------------------------------------
-- package Chi_Gaussian_CDF, CDF of Normal and Chi-square distributions
-- Copyright (C) 1995-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is her... |
29,308 | ada | 0 | Lucretia/old_nehe_ada95 | thirdparty/adasdl/thin/adasdl/AdaSDL_mixer/playmus.adb |
--
-- PLAYMUS: Port to the Ada programming language of a test application for the
-- the SDL mixer library.
--
-- The original code was written in C by <NAME> http://www.libsdl.org.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Publi... |
29,309 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto8_pkg.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto8_pkg.ads
with System;
with Unchecked_Conversion;
package Lto8_Pkg is
type Task_Priority_T is new Natural;
function Convert_To_System_Priority is
new Unchecked_Conversion (Task_Priority_T, System.Priority);
protected type Protected_Queue_T( PO_Pr... |
29,310 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack1.ads | package Pack1 is
package Nested is
type Rec_Typ is record
null;
end record;
end Nested;
end Pack1;
|
29,311 | ada | 0 | vasilev-dev/AdaCompiler | AdaCompiler/in/test3.adb | <gh_stars>0
procedure Hello is
begin
if min = max then
null;
elsif min < max then
null;
else
null;
end if;
for Iter in 1..5 loop
null;
end loop;
return;
end Hello; |
29,312 | ada | 0 | e3l6/SSMDev | demo/src/stm32f4-sysconfig_control.adb | <reponame>e3l6/SSMDev
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
29,313 | ada | 1 | Roldak/OpenGLAda | deps/FreeTypeAda/src/ft-faces.adb | -- part of FreeTypeAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with FT.Errors;
with FT.API;
package body FT.Faces is
use type Errors.Error_Code;
procedure Adjust (Object : in out Face_Reference) is
begin
if Object.Data /= null then
if API.FT_R... |
29,314 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/shapes/impact-d3-shape_hull.adb | <gh_stars>10-100
with ada.unchecked_Deallocation;
with impact.d3.convex_Hull;
package body impact.d3.shape_Hull
is
------------
--- Globals
--
NUM_UNITSPHERE_POINTS : constant := 42;
procedure free is new ada.unchecked_Deallocation (vector_3_array, access_Vector_3_Array);
procedure free ... |
29,315 | ada | 286 | auzkok/libagar | ada/core/agar-dso.ads | ------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . D S O --
-- S p e c --
----... |
29,316 | ada | 2 | thindil/tashy2 | tests/tcl-strings-test_data-tests.adb | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
29,317 | ada | 15 | My-Colaborations/dynamo | src/gnat/repinfo.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
29,318 | ada | 2 | morbos/Ada_Drivers_Library | boards/stm32f769_discovery/src/framebuffer_otm8009a.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
29,319 | ada | 3 | rogermc2/GA_Ada | ga_ref_impl/src/bits.ads | <filename>ga_ref_impl/src/bits.ads
with Interfaces; use Interfaces;
package Bits is
function Bit_Count (Bitmap : Unsigned_32) return Natural;
function Highest_One_Bit (Bitmap : Unsigned_32) return Natural;
function Lowest_One_Bit (Bitmap : Unsigned_32) return Natural;
function Number_Of_Leading_Zero_Bits ... |
29,320 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a13d.ada | <reponame>best08618/asylo
-- C54A13D.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 contai... |
29,321 | ada | 33 | ytomino/drake | examples/exception_save.adb | <filename>examples/exception_save.adb
with Ada.Exceptions;
procedure exception_save is
S : Ada.Exceptions.Exception_Occurrence;
begin
-- Save_Exception
Ada.Exceptions.Save_Exception (S, Constraint_Error'Identity, Message => "save!");
Ada.Debug.Put ("(1)");
begin
Ada.Exceptions.Reraise_Occurrence (S);
raise Pro... |
29,322 | ada | 4 | octonion/examples | languages/python-ada/unit.adb | -- Unit.adb
with Interfaces.C; use Interfaces;
package body Unit is
function Add (A, B : Integer) return Integer is
begin
return A + B;
end Add;
end Unit;
|
29,323 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/testsuite/ada/acats/tests/c3/c38202a.ada | <reponame>vidkidz/crossbridge
-- C38202A.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 co... |
29,324 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/geometry/colored_textured/opengl-program-colored_textured.adb | <reponame>charlie5/lace<gh_stars>10-100
package body openGL.Program.colored_textured
is
overriding
procedure set_Uniforms (Self : in Item)
is
the_scale_Uniform : constant openGL.Variable.uniform.vec3
:= Self.uniform_Variable ("uScale");
begin
Self.set_mvp_Uniform;
the_scale_Unifor... |
29,325 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline1_pkg.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline1_pkg.adb
with Ada.Unchecked_Conversion;
package body Inline1_Pkg is
type Ieee_Short_Real is
record
Mantisse_Sign : Integer range 0 .. 1;
Exponent : Integer range 0 .. 2 ** 8 - 1;
Mantisse : Integer range 0 .. 2... |
29,326 | ada | 1 | Fabien-Chouteau/tiled-code-gen | src/tcg-tile_layers.ads | <reponame>Fabien-Chouteau/tiled-code-gen
------------------------------------------------------------------------------
-- --
-- tiled-code-gen --
-- ... |
29,327 | ada | 1 | meowthsli/veriflight_boards | cc3df4revo/cfg/cc3d/config.ads | <filename>cc3df4revo/cfg/cc3d/config.ads
with STM32.GPIO; use STM32.GPIO;
with STM32.Device; use STM32.Device;
with STM32.SPI; use STM32.SPI;
package Config is
SIGNAL_LED : GPIO_Point renames PB5; -- blue led
SPI_Accel_Port : SPI_Port renames STM32.Device.SPI_1;
SCLK : GPIO_Point renames STM32.Device.PA5;
... |
29,328 | ada | 15 | AdaCore/training_material | extern/game_support/stm32f4/src/tracks_display.adb | with Drawing; use Drawing;
package body Tracks_Display is
Entry_Sign_Size : constant := 6;
Entry_Sign_Pixel : constant array (Entry_Sign_Color) of Color
:= (Green => Screen_Interface.Green,
Orange => Screen_Interface.Orange,
Red => Screen_Interface.Red);
Track_Color : constant Color :... |
29,329 | ada | 33 | ytomino/drake | source/hash/a-szbzha.adb | with Ada.Strings.Wide_Wide_Hash;
function Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash (
Key : Bounded.Bounded_Wide_Wide_String)
return Containers.Hash_Type is
begin
return Strings.Wide_Wide_Hash (Key.Element (1 .. Key.Length));
end Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash;
|
29,330 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/entry_body_declaration.adb | procedure Entry_Body_Declaration is
protected Obj is
entry Start;
private
Is_Set : Boolean := False;
end Obj;
protected body Obj is
entry Start when Is_Set is
begin
null;
end;
end Obj;
begin
null;
end Entry_Body_Declaration;
|
29,331 | ada | 0 | corentingay/ada_epita | project/src/timer_handler_hpp.ads | <reponame>corentingay/ada_epita
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
limited with memory_hpp;
with Interfaces.C.Extensions;
with word_operations_hpp;
with bitset_hpp;
package timer_handler_hpp is
-- Get clocks number associated with TAC
type TimerHandler_clocks_nbs_ar... |
29,332 | ada | 4 | DNSCatcher/DNSCatcher | src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-soa_parser.adb | -- Copyright 2019 <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 without limitation the
-- rights to use, copy, modify, merge, publish, ... |
29,333 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48004b.ada | -- C48004B.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... |
29,334 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_controller_gstinterpolationcontrolsource_h.ads | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_controller_gstinterpolationcontrolsource_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;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_controller_gstcon... |
29,335 | ada | 2 | SMerrony/dgemua | aosvs/aosvs-agent-tasking.ads | -- 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... |
29,336 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-dispat.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
29,337 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95087a.ada | -- C95087A.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... |
29,338 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-task_definitions.ads | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Task_Definitions;
with Progra... |
29,339 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/return4.adb | -- { dg-do run }
-- { dg-options "-O" }
with Return4_Pkg; use Return4_Pkg;
procedure Return4 is
type Local_Rec is record
C : Character;
R : Rec;
end record;
pragma Pack (Local_Rec);
L : Local_Rec;
for L'Alignment use 2;
begin
L.R := Get_Value (0);
if L.R.I1 /= 0 then
raise Program_Error;
... |
29,340 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-cbprqu.adb | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
29,341 | ada | 24 | svn2github/matreshka | source/xml/dom/matreshka-dom_processing_instructions.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
29,342 | ada | 0 | persan/AUnit-addons | src/framework/aunit-test_cases-simple_main_generic.adb |
with AUnit.Test_Suites;
with AUnit.Test_Suites.Simple_Main_Generic;
procedure AUnit.Test_Cases.Simple_Main_Generic is
use AUnit.Test_Suites;
function Suite return AUnit.Test_Suites.Access_Test_Suite is
Result : Access_Test_Suite;
pragma Warnings (Off);
begin
Result := new Test_Suite;
... |
29,343 | ada | 0 | ryanroth79/stm32general | adaProjects/first/program.adb | <reponame>ryanroth79/stm32general
package body Program is
procedure Run is
begin
loop
null;
end loop;
end Run;
end Program;
|
29,344 | ada | 1 | annexi-strayline/ASAP-JSON | json-parser_machine.ads | ------------------------------------------------------------------------------
-- --
-- JSON Parser/Constructor --
-- --
-- -... |
29,345 | ada | 52 | Watch-Later/NymphRPC | ada/src/nymph.ada | <gh_stars>10-100
-- nymph.ada - Main package file for the NymphRPC package.
--
-- Revision 0
--
-- 2018/09/24, <NAME>
package nymph is
-- public
private
--
end nymph;
|
29,346 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Strip-a-set-of-characters-from-a-string/Ada/strip-a-set-of-characters-from-a-string.ada | <filename>Task/Strip-a-set-of-characters-from-a-string/Ada/strip-a-set-of-characters-from-a-string.ada
with Ada.Text_IO;
procedure Strip_Characters_From_String is
function Strip(The_String: String; The_Characters: String)
return String is
Keep: array (Character) of Boolean := (others => T... |
29,347 | ada | 11 | charlie5/aShell | source/shell-commands.ads | <reponame>charlie5/aShell<gh_stars>10-100
private
with
Ada.Containers.Indefinite_Vectors,
Ada.Containers.Indefinite_Holders;
package Shell.Commands
--
-- Any open pipes attached to a command will be automatically closed when the command goes out of scope.
--
-- For task safe 'Run' commands, see the 'Safe' ch... |
29,348 | ada | 4 | faelys/gela-asis | contrib/ayacc/src/string_pkg.ads | <filename>contrib/ayacc/src/string_pkg.ads
-- Module : string_pkg_.ada
-- Component of : common_library
-- Version : 1.2
-- Date : 11/21/86 16:35:52
-- SCCS File : disk21~/rschm/hasee/sccs/common_library/sccs/sxstring_pkg_.ada
-- $Source: /nosc/work/abstractions/string/RCS/string.spc,v $
-- $Re... |
29,349 | ada | 15 | My-Colaborations/dynamo | src/asis/asis-data_decomposition-debug.adb | <filename>src/asis/asis-data_decomposition-debug.adb
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
29,350 | ada | 0 | ViGi-P/coinapi-sdk | oeml-sdk/ada/src/client/-clients.adb | <filename>oeml-sdk/ada/src/client/-clients.adb
-- OEML _ REST API
-- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> ... |
29,351 | ada | 0 | matzke1/rose | src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-unit.adb | with Asis.Compilation_Units;
with Asis.Elements;
with Asis.Iterator;
with Ada.Directories;
with Ada.Characters.Handling;
-- GNAT-specific:
with Asis.Set_Get;
with A4G.A_Types;
with Asis_Adapter.Element;
with Dot;
package body Asis_Adapter.Unit is
package ACU renames Asis.Compilation_Units;
------------------... |
29,352 | ada | 0 | jquorning/CELLE | source/action_lists.ads |
with Ada.Containers.Doubly_Linked_Lists;
with Actions;
limited with Symbols;
limited with States;
-- limited with Rules;
with Rule_Lists;
package Action_Lists is
subtype Rule_Access is Rule_Lists.Rule_Access;
package Action_DLLs is
new Ada.Containers.Doubly_Linked_Lists ("=" => Actions."=",
... |
29,353 | ada | 0 | Fabien-Chouteau/ASFML | include/sf-graphics-transform.ads | --//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2018 <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,354 | ada | 0 | JCGobbi/Nucleo-STM32H743ZI | SVD2ada/svd/stm32_svd-ethernet.ads | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.Ethernet is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype DMAMR_PR_Field is HAL.UInt3;
... |
29,355 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization1.ads | <reponame>best08618/asylo
package Loop_Optimization1 is
type Number is range 0 .. 127;
type Group_List is array (Positive range <>) of Number;
subtype Index is Natural range 1 .. 5;
function Groups (T : Integer) return Group_List;
pragma Import (Ada, Groups);
type Group_Chain (Length : Index := ... |
29,356 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Sorting-algorithms-Comb-sort/Ada/sorting-algorithms-comb-sort.ada | with Ada.Text_IO;
procedure Comb_Sort is
generic
type Element_Type is private;
type Index_Type is range <>;
type Array_Type is array (Index_Type range <>) of Element_Type;
with function ">" (Left, Right : Element_Type) return Boolean is <>;
with function "+" (Left : Index_Type; Right : ... |
29,357 | ada | 0 | theurt/PageRank | sources/conversion_type.adb | <filename>sources/conversion_type.adb
--with Ada.Text_IO; use Ada.Text_IO;
package body Conversion_Type is
type ultra_precis is digits 16; -- ce type va nous permettre d'avoir des réels avec une précision acceptable
-- package Real_IO is new Ada.Text_IO.Float_IO(T_Element); use Real_IO; utile pour ... |
29,358 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64106a.ada | -- C64106A.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... |
29,359 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgideb.adb | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgideb.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
29,360 | ada | 2 | Lucretia/lispy | src/edit_line.ads | <gh_stars>1-10
package Edit_Line is
function Read_Line (Prompt : in String) return String;
procedure Add_History (Input : in String);
end Edit_Line; |
29,361 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/prj-proc.ads | <filename>llvm-gcc-4.2-2.9/gcc/ada/prj-proc.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
29,362 | ada | 24 | svn2github/matreshka | source/xml/sax/xml-sax-simple_readers-parser-actions.adb | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
29,363 | ada | 10 | persan/gdnative_ada | examples/gdnative_c_example/src/simple.ads | <filename>examples/gdnative_c_example/src/simple.ads
with System;
with Interfaces.C;
with GDNative.Thin; use GDNative.Thin;
package Simple is
procedure godot_gdnative_init (p_options : access godot_gdnative_init_options)
with Export => True, Convention => C, External_Name => "godot_gdnative_init";
procedur... |
29,364 | ada | 0 | adammw/rtp_labs | week1/mod_ints.adb | with Ada.Text_Io;
use Ada.Text_Io;
procedure Mod_Ints is
begin
for I in Integer range 0 .. 100 loop
if I mod 3 = 0 then
Put_Line(I'img);
end if;
end loop;
end Mod_Ints;
|
29,365 | ada | 1 | Fabien-Chouteau/samd51-hal | src/drivers/gclk_u2122/sam_svd-gclk.ads | -- ============================================================================
-- Atmel Microcontroller Software Support
-- ============================================================================
-- Copyright (c) 2017 Atmel Corporation,
-- a wholly owned subsidiary of Microchip Technology Inc.
--
-- License... |
29,366 | ada | 2 | thindil/tashy2 | src/tcl-info.ads | <gh_stars>1-10
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applica... |
29,367 | ada | 0 | fintatarta/eugen | src/Parsers/Simple/project_processor-parsers-simple_format.adb | pragma Ada_2012;
with Line_Arrays;
with Node_List_Parsers;
with EU_Projects.Times.Time_Expressions; use EU_Projects.Times.Time_Expressions;
with EU_Projects.Nodes.Action_Nodes.WPs;
with EU_Projects.Nodes.Partners;
with EU_Projects.Nodes.Action_Nodes.Tasks;
with EU_Projects.Efforts;
with EU_Projects.Nodes.Timed_Nodes... |
29,368 | ada | 36 | rewriting/tom | examples/ada/sl/unit/testslmodes.ads | <reponame>rewriting/tom
with Ada.Assertions;
use Ada.Assertions;
package TestSLModes is
procedure run_test;
end TestSLModes;
|
29,369 | ada | 0 | Tim-Tom/project-euler | Ada/src/Problem_23.adb | <filename>Ada/src/Problem_23.adb
with Ada.Integer_Text_IO;
with Ada.Text_IO;
with PrimeUtilities;
package body Problem_23 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
procedure Solve is
Maximum_Value : constant Integer := 28123;
subtype Problem_Range is Integer range... |
29,370 | ada | 1 | Blady-Com/Gate3 | src/gate3_glib.adb | with Ada.Characters.Handling; use Ada.Characters.Handling;
with Glib.Object; use Glib.Object;
package body Gate3_Glib is
------------
-- To_Ada --
------------
function To_Ada (S : String; Separator : Character := '_') return String is
First : constant Positive := S'First;
K ... |
29,371 | ada | 33 | ytomino/drake | source/s-debug.adb | with System.Termination;
package body System.Debug is
pragma Suppress (All_Checks);
function Default_Put (
S : String;
Source_Location : String;
Enclosing_Entity : String)
return Boolean
is
L_Length : constant Natural := Source_Location'Length;
E_Length : constant Natural :... |
29,372 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48008a.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48008a.ada
-- C48008A.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,373 | ada | 0 | reznikmm/markdown | sources/md/markdown-atx_headings.adb | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Regexps;
with Markdown.Visitors;
package body Markdown.ATX_Headings is
Prefix : constant League.Regexps.Regexp_Pattern :=
League.Regexps.Compile
... |
29,374 | ada | 2 | stcarrez/hestia | src/hestia-display-main.ads | -----------------------------------------------------------------------
-- hestia-display-main -- Main display view manager
-- Copyright (C) 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 Li... |
29,375 | ada | 33 | ytomino/drake | source/s-llflty.adb | package body System.Long_Long_Float_Types is
pragma Suppress (All_Checks);
function truncl (X : Long_Long_Float) return Long_Long_Float
with Import,
Convention => Intrinsic, External_Name => "__builtin_truncl";
function fmodl (x, y : Long_Long_Float) return Long_Long_Float
with Import, C... |
29,376 | ada | 0 | evgenijaZ/PP-labs | lab07/src/lab1.adb | ---------------------------------------
--<NAME>.
--Labwork 1
--MA = MB * MC + a * ( MK + MT)
---------------------------------------
with Ada
.Text_IO, Ada
.Integer_Text_IO, DataOperations, Ada
.Synchronous_Task_Control, System
.Multiprocessors;
use
Ada.Text_IO,
Ada.Integer_Text_IO,
Ada.Synchronous_Task... |
29,377 | ada | 11 | charlie5/aShell | source/shell-commands.adb | <gh_stars>10-100
with
GNAT.OS_Lib,
Ada.Strings.Fixed,
Ada.Strings.Maps,
Ada.Characters.Handling,
Ada.Exceptions,
Ada.Unchecked_Deallocation,
Ada.Unchecked_Conversion;
package body Shell.Commands
is
--- Strings
--
function To_String_Vector (Strings : String_Array) return St... |
29,378 | ada | 0 | skill-lang/adaCommon | src/skill-types.ads | -- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ API types for skill types --
-- |___/_|\_\_|_|____| by: <NAME>, <NAME> --
-- ... |
29,379 | ada | 2 | thorstel/Advent-of-Code-2018 | day11/day11.adb | with Ada.Text_IO; use Ada.Text_IO;
-- https://en.wikipedia.org/wiki/Summed-area_table
procedure Day11 is
-- Puzzle Input
Serial_Number : constant Integer := 9445;
function Power_Level (X, Y : Integer) return Integer is
(((((((X + 10) * Y) + Serial_Number) * (X + 10)) / 100) mod 10) - 5);
Sums : arr... |
29,380 | ada | 0 | reznikmm/gela | source/resolver/program-interpretations-symbols.ads | <filename>source/resolver/program-interpretations-symbols.ads<gh_stars>0
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Iterator_Interfaces;
package Program.Interpretations.Symbols is
pragma Preelaborate;
... |
29,381 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | stm32f1/stm32gd-gpio-irq.adb | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<filename>stm32f1/stm32gd-gpio-irq.adb<gh_stars>1-10
with STM32_SVD.EXTI;
with STM32_SVD.GPIO; use STM32_SVD.GPIO;
with STM32_SVD.AFIO; use STM32_SVD.AFIO;
with STM32GD.EXTI;
with STM32GD.EXTI.IRQ;
with STM32GD.GPIO.Port;
package body STM32GD.GPIO.IRQ is
Index : constant... |
29,382 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | stm32f1/stm32gd-timeout.adb | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<gh_stars>1-10
with STM32GD.RTC;
package body STM32GD.Timeout is
Microseconds_Timeout : Microseconds;
Milliseconds_Timeout : Milliseconds;
Seconds_Timeout : Seconds;
procedure Set (T : Microseconds) is
begin
null;
end Set;
procedure Set (T : Mil... |
29,383 | ada | 30 | jrmarino/AdaBase | testcases/prep_stmt/prep_stmt.adb | <reponame>jrmarino/AdaBase<gh_stars>10-100
with AdaBase;
with Connect;
with Ada.Text_IO;
with CommonText;
with AdaBase.Results.Sets;
with AdaBase.Logger.Facility;
procedure Prep_Stmt is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package CT renames CommonText;
package AR renames AdaBas... |
29,384 | ada | 6 | jonashaggstrom/ada-canopen | examples/stm32f40x/src/aco-drivers-stm32f40x.ads | <filename>examples/stm32f40x/src/aco-drivers-stm32f40x.ads
with Ada.Interrupts;
with STM32.CAN;
with System;
package ACO.Drivers.Stm32f40x is
use STM32.CAN;
type CAN_Driver
(Device : not null access CAN_Controller)
is new Driver with private;
overriding
procedure Receive_Message_Blocking
(Th... |
29,385 | ada | 5 | docandrew/troodon | include/xcb_composite.ads | <gh_stars>1-10
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with xcb;
with bits_stdint_uintn_h;
with xproto;
with xcb_xfixes;
with System;
package xcb_composite is
CONST_XCB_COMPOSITE_MAJOR_VERSION : constant := 0; -- /usr/include/xcb/composite.h:23
CONST_XCB_COMPOSITE_MIN... |
29,386 | ada | 24 | svn2github/matreshka | source/league/ucd/matreshka-internals-unicode-ucd-core_000d.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
29,387 | ada | 52 | onox/orka | orka/src/gl/implementation/gl-errors.adb | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2013 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http:/... |
29,388 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-textio__p55.adb | <filename>bb-runtimes/src/s-textio__p55.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
29,389 | ada | 1 | annexi-strayline/ASAP-Unicode | unicode-utf8_stream_decoder-codec.adb | <filename>unicode-utf8_stream_decoder-codec.adb
------------------------------------------------------------------------------
-- --
-- Unicode Utilities --
-- UTF-8... |
29,390 | ada | 0 | reznikmm/gela | source/parser/program-nodes-proxy_associations.adb | -- SPDX-FileCopyrightText: 2020-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Discrete_Simple_Expression_Ranges;
package body Program.Nodes.Proxy_Associations is
----------------------
-- Actual_Parameter --
---... |
29,391 | ada | 0 | csb6/libtcod-ada | src/generated/i386_utypes_h.ads | <reponame>csb6/libtcod-ada<filename>src/generated/i386_utypes_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
with System;
package i386_utypes_h is
-- * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
-- *
-- * @APPLE_OSREFE... |
29,392 | ada | 2 | damaki/dw1000-rssi-tester | transmitter/configuration.ads | with DecaDriver;
package Configurations
is
procedure Get_Switches_Configuration
(Config : out DecaDriver.Core.Configuration_Type);
end Configurations;
|
29,393 | ada | 2 | stcarrez/bbox-ada-api | tools/druss-commands.adb | -----------------------------------------------------------------------
-- druss-commands -- Commands available for Druss
-- Copyright (C) 2017, 2019, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance w... |
29,394 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/renderer/opengl-culler-frustum.ads | <reponame>charlie5/lace<gh_stars>10-100
with
ada.unchecked_Conversion;
package openGL.Culler.frustum
--
-- Provides a frustrum culler.
--
is
type Item is new Culler.Item with private;
type View is access all Item'Class;
---------
--- Forge
--
procedure define (Self : in out Item);
------... |
29,395 | ada | 18 | jquorning/ada-wiki | samples/words.adb | -----------------------------------------------------------------------
-- words -- Extract words and links from a Wiki or HTML document
-- Copyright (C) 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complianc... |
29,396 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/a-intnam__mpc5200.ads | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
29,397 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-einuoc.adb | <filename>gcc-gcc-7_3_0-release/gcc/ada/a-einuoc.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
29,398 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-carun8.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY COMPONENTS --
-- --
-- ... |
29,399 | ada | 0 | ekoeppen/MSP430_Generic_Ada_Drivers | msp430x2/msp430g2553/startup.ads | <filename>msp430x2/msp430g2553/startup.ads
package Startup is
pragma Preelaborate;
procedure Reset_Handler with Export => True, External_Name => "_start_rom";
end Startup;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.