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 |
|---|---|---|---|---|---|
100 | ada | 12 | TUM-EI-RCS/StratoX | software/lib/kalman.adb | <reponame>TUM-EI-RCS/StratoX
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Numerics.Generic_Real_Arrays;
with Units.Vectors; use Units.Vectors.Unit_Arrays_Pack;
with Logger;
with Profiler;
package body Kalman with SPARK_Mode,
Refined_State => (State => (G, KM_Profiler))
is
k : constant := State_Vector_Index... |
101 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/init11.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/init11.ads
with System;
package Init11 is
type My_Integer is new Integer;
for My_Integer'Alignment use 1;
type Arr1 is array (1 .. 3) of My_Integer;
for Arr1'Scalar_Storage_Order use System.Low_Order_First;
type R1 is record
I : My_Integer;
... |
102 | ada | 2 | charlie5/cBound | tier-1/gmp/source/thin/gmp_c-mpf_srcptr.ads | -- This file is generated by SWIG. Please do *not* modify by hand.
--
with gmp_c.a_a_mpf_struct;
with Interfaces.C;
package gmp_c.mpf_srcptr is
-- Item
--
subtype Item is gmp_c.a_a_mpf_struct.Pointer;
-- Items
--
type Items is
array (Interfaces.C.size_t range <>) of aliased gmp_c.mpf_srcptr.It... |
103 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/exp_dist.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
104 | ada | 0 | Tim-Tom/project-euler | Ada/src/BigInteger.adb | <gh_stars>0
-- with Ada.Containers.Vectors;
-- with Ada.Text_IO;
with Ada.Long_Long_Integer_Text_IO;
with Ada.Strings;
with Ada.Strings.Bounded;
with Ada.Containers; use Ada.Containers;
-- Note that this package currently only handles positive numbers.
package body BigInteger is
use BigInteger.Int_Vector;
-- Sadl... |
105 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr28_pkg.ads | package Discr28_Pkg is
function N return Natural;
end Discr28_Pkg;
|
106 | ada | 2 | zenharris/ada-bbs | src/dbase-scroller.ads | <gh_stars>1-10
with gnatcoll.SQL.Postgres; use gnatcoll.SQL.Postgres;
with gnatcoll.SQL.Exec; use gnatcoll.SQL.Exec;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers.Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO.Unbounded_IO;
with Formatter;
with Ada.Container... |
107 | ada | 0 | persan/a-cups | src/gen/cups-bits_stat_h.ads | <reponame>persan/a-cups
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with CUPS.bits_types_h;
with CUPS.time_h;
private package CUPS.bits_stat_h is
-- unsupported macro: st_atime st_atim.tv_sec
-- unsupported macro: st_mtime st_mtim.tv_sec
-- unsupported macro: st_ctime... |
108 | ada | 7 | stcarrez/resource-embedder | src/are-utils.ads | <filename>src/are-utils.ads
-----------------------------------------------------------------------
-- are-utils -- Utilities for model generator
-- Copyright (C) 2010, 2011, 2012, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
109 | ada | 24 | svn2github/matreshka | source/league/ucd/matreshka-internals-unicode-ucd-core_001c.ads | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
110 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Hamming-numbers/Ada/hamming-numbers-1.ada | <filename>Task/Hamming-numbers/Ada/hamming-numbers-1.ada
with Ada.Text_IO;
procedure Hamming is
generic
type Int_Type is private;
Zero : Int_Type;
One : Int_Type;
Two : Int_Type;
Three : Int_Type;
Five : Int_Type;
with function "mod" (Left, Right : Int_Type) return Int... |
111 | ada | 2 | persan/AWS-producer-experiments | dowload_manager/src/aws-resources-streams-pipes.adb | <reponame>persan/AWS-producer-experiments
package body AWS.Resources.Streams.Pipes is
------------
-- Append --
------------
procedure Append
(Resource : in out Stream_Type;
Buffer : Stream_Element_Array;
Trim : Boolean := False)
is
Lock : Lock_Type (Resource.Guard'Access) ... |
112 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-dg-holders.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
113 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Binary-strings/Ada/binary-strings-2.ada | type Octet is mod 2**8;
for Octet'Size use 8;
type Octet_String is array (Positive range <>) of Octet;
|
114 | ada | 0 | fintatarta/protypo | src/API/protypo-api-engine_values-constant_wrappers.adb | <filename>src/API/protypo-api-engine_values-constant_wrappers.adb<gh_stars>0
pragma Ada_2012;
-- with Ada.Text_Io; use Ada.Text_Io;
package body Protypo.Api.Engine_Values.Constant_Wrappers is
----------------
-- To_Handler --
----------------
function To_Handler_Value (Value : Engine_Value) return Handl... |
115 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Library/generic_realtime_buffer.ads | --
-- <NAME>, Australia, July 2011
--
generic
type Element is private;
type Buffer_Index is mod <>;
package Generic_Realtime_Buffer is
pragma Elaborate_Body;
type Realtime_Buffer is private;
procedure Put (B : in out Realtime_Buffer; Item : Element);
procedure Get (B : in out Realtime_Buffer... |
116 | ada | 0 | jwarwick/starterkit-ada | app/src/main.adb | <gh_stars>0
with Text_IO;
with Ada.Command_Line;
with AWS.Client;
with AWS.Headers;
with AWS.Response;
with AWS.Messages;
use AWS.Messages;
procedure main is
hdrs : AWS.Headers.List := AWS.Headers.Empty_List;
server_url : constant String := Ada.Command_Line.Argument(1);
player_key : constant String := Ada.Comman... |
117 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83032a.ada | <reponame>best08618/asylo
-- C83032A.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... |
118 | ada | 1 | Fabien-Chouteau/samd51-hal | src/drivers/sercom_u2201/sam-sercom-spi.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore --
-- --
-- ... |
119 | ada | 12 | TUM-EI-RCS/StratoX | software/driver/ublox8.ads | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: Driver for the GPS Module Ublox LEA-6H
--
-- ToDo:
-- [ ] Implementation
package ublox8 with SPARK_Mode is
end ublox8;
|
120 | ada | 3 | onox/progress_indicators | src/progress_indicators-work_trackers.ads | <filename>src/progress_indicators-work_trackers.ads
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 The progress_indicators authors
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of t... |
121 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Sequence-of-non-squares/Ada/sequence-of-non-squares.ada | with Ada.Numerics.Long_Elementary_Functions;
with Ada.Text_IO; use Ada.Text_IO;
procedure Sequence_Of_Non_Squares_Test is
use Ada.Numerics.Long_Elementary_Functions;
function Non_Square (N : Positive) return Positive is
begin
return N + Positive (Long_Float'Rounding (Sqrt (Long_Float (N))));
end No... |
122 | ada | 0 | fintatarta/protypo | test/table-test/user_records.adb | pragma Ada_2012;
with Protypo.Api.Engine_Values.Parameter_Lists; use Protypo.Api.Engine_Values.Parameter_Lists;
package body User_Records is
---------------
-- Split_Bit --
---------------
function Split_Bit
(Params : Protypo.Api.Engine_Values.Engine_Value_Vectors.Vector)
return Protypo.Api.Eng... |
123 | ada | 1 | OneWingedShark/Risi | src/risi_script-types-patterns-conversions.adb | With
EPL.Types,
EPL.Bracket,
Ada.Strings.Fixed;
Separate (Risi_Script.Types.Patterns)
Package Body Conversions is
Function Trimmed_Image( Input : Integer ) return String is
Use Ada.Strings.Fixed, Ada.Strings;
Begin
return Trim(Side => Left, Source => Integer'Image(Input));
End Trimmed_Image;
... |
124 | ada | 0 | Jellix/elan520 | elan520-sdram_controller_registers.ads | <gh_stars>0
------------------------------------------------------------------------
-- Copyright (C) 2004-2020 by <<EMAIL>> --
-- --
-- This work is free. You can redistribute it and/or modify it under --
-- the terms of the Do Wha... |
125 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/for_loop.adb | function SumRange(x, y: IN Integer) return Integer is
Result : Integer;
begin
Result := 0;
for I in x .. y loop
Result := Result + I;
end loop;
return Result;
end SumRange;
|
126 | ada | 0 | e3l6/SSMDev | demo/adainclude/s-bbcppr.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
127 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-exctab.adb | <reponame>vidkidz/crossbridge<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
128 | ada | 8 | flyx/OpenCLAda | src/implementation/cl-events.adb | <reponame>flyx/OpenCLAda
--------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- 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 a... |
129 | ada | 2 | skordal/cupcake | src/cupcake-backends.adb | <filename>src/cupcake-backends.adb
-- The Cupcake GUI Toolkit
-- (c) <NAME> 2012 <<EMAIL>>
-- Report bugs and issues on <http://github.com/skordal/cupcake/issues>
-- vim:ts=3:sw=3:et:si:sta
package body Cupcake.Backends is
-- Gets the backend class to be used:
function Get_Backend return Backend_Access is
... |
130 | ada | 5 | amvb/GUCEF | dependencies/agar/ada-core/agar-core-dso.ads | <filename>dependencies/agar/ada-core/agar-core-dso.ads<gh_stars>1-10
with Agar.Core.Thin;
package Agar.Core.DSO is
subtype DSO_Access_t is Thin.DSO.DSO_Access_t;
subtype DSO_Not_Null_Access_t is Thin.DSO.DSO_Not_Null_Access_t;
function Load
(Name : in String;
Path : in String) return DSO_Acce... |
131 | ada | 2 | stcarrez/ada-libsecret | src/secret.ads | -----------------------------------------------------------------------
-- Secret -- Ada wrapper for Secret Service
-- Copyright (C) 2017, 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 with the Lice... |
132 | ada | 7 | 98devin/ada-gba-dev | src/GBA.Numerics.ads | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with Interfaces;
use Interfaces;
package GBA.Numerics is
pragma Preelaborate;
Pi : constant :=
3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
e : constant :=
2.71828_18284_59045_23536_02874_71352_66249_77572_47... |
133 | ada | 0 | persan/AUnit-addons | src/reporters/aunit-reporter-stream_xml.adb | <filename>src/reporters/aunit-reporter-stream_xml.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
134 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/warnsw.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
135 | ada | 1 | TNO/Rejuvenation-Ada | examples/src/examples-finder.ads | package Examples.Finder is
procedure Demo (File_Name : String);
end Examples.Finder;
|
136 | ada | 2 | zenharris/ada-bbs | src/formatter-get-format_string.adb | <filename>src/formatter-get-format_string.adb
separate(Formatter.Get)
procedure Format_string (Data : in Contents;
In_The_String : in out String;
Location : in out Natural;
Width : in Natural := 0;
... |
137 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-internals-dg_radial_gradients.ads | <filename>source/amf/dd/amf-internals-dg_radial_gradients.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
138 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2b11f.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2b11f.ada
-- CD2B11F.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... |
139 | ada | 1 | GambuzX/Pixy-SIW | pixy/src/host/pantilt_in_ada/specs/time_h.ads | <gh_stars>1-10
--
-- Copyright (c) 2015, <NAME> <<EMAIL>>
--
-- 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 in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS ... |
140 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/opengl-frustum.ads | package openGL.Frustum
--
-- Provide frustum operations.
--
is
type Plane_Id is (Left, Right, High, Low, Near, Far);
type Plane_array is array (Plane_Id) of openGL.Geometry_3d.Plane;
procedure normalise (Planes : in out Plane_array);
end openGL.Frustum;
|
141 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Longest-common-subsequence/Ada/longest-common-subsequence-2.ada | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_LCS is
function LCS (A, B : String) return String is
L : array (A'First..A'Last + 1, B'First..B'Last + 1) of Natural;
begin
for I in L'Range (1) loop
L (I, B'First) := 0;
end loop;
for J in L'Range (2) loop
... |
142 | ada | 2 | sinkinben/pok | examples/ada-runtime/compute.adb | <gh_stars>1-10
package body Compute is
procedure Printf (String : in Interfaces.C.char_array);
pragma Import (C, Printf, "printf");
procedure Compute is
begin
Printf ("beep ");
end Compute;
end Compute;
|
143 | ada | 5 | reznikmm/increment | source/base/incr-nodes.adb | <gh_stars>1-10
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Nodes.Tokens;
package body Incr.Nodes is
To_Diff : constant array (Boolean) of Integer :=
(False => -1, True =... |
144 | ada | 24 | svn2github/matreshka | tools/aflex/src/scanner-dfa.ads | package scanner.DFA is
Aflex_Debug : Boolean := False;
YYText_Ptr : Integer; -- points to start of yytext in buffer
-- yy_ch_buf has to be 2 characters longer than YY_BUF_SIZE because we
-- need to put in 2 end-of-buffer characters (this is explained where
-- it is done) at the end of yy_ch_buf
YY_R... |
145 | ada | 0 | bhayward93/Ada-Traffic-Light-Sim | icasrc/emergencyvehicleoverride.adb | with trafficlightswitcher;
with HWIF; use HWIF;
with HWIF_Types; use HWIF_Types;
procedure EmergencyVehicleOverride (dir : in Direction) is
begin
for DirectionElement in Direction'Range loop --Itterate through Directions
if Traffic_Light(DirectionElement) /= Traffic_Light(dir) and
Traffic_Light... |
146 | ada | 0 | cborao/Ada-P4-chat | ordered_maps_g.adb |
--PRÁCTICA 4: <NAME> (Ordered_Maps_G.adb)
package body Ordered_Maps_G is
function Binary_Search (M: Map; Key: Key_Type;
Left: Integer; Right: Integer) return Integer is
Middle: Integer;
begin
if Right < Left then
return Left;
else
... |
147 | ada | 2 | SMerrony/dgemua | simh_tapes.adb | -- MIT License
-- Copyright (c) 2021 <NAME>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, p... |
148 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-internals-tables-dg_metamodel.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
149 | ada | 18 | kraileth/ravenadm | src/parameters.ads | <filename>src/parameters.ads
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Definitions; use Definitions;
with HelperText;
private with Utilities;
package Parameters is
package HT renames HelperText;
no_ccache : constant String := "none";
... |
150 | ada | 24 | svn2github/matreshka | testsuite/xml/xmlconf-canonical_writers.adb | <filename>testsuite/xml/xmlconf-canonical_writers.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
151 | ada | 0 | charlie5/playAda | gasp/source/gasp-world.ads | <gh_stars>0
with
openGL.Renderer.lean,
mmi.World,
mmi.Sprite,
ada.Containers.Vectors,
ada.Containers.Hashed_Sets,
ada.Unchecked_Conversion;
package gasp.World
is
type Item is limited new mmi.World.item with private;
type View is access all item'Class;
package Forge
... |
152 | ada | 20 | charlie5/lace | 3-mid/physics/implement/box2d/source/thin/box2d_c-binding.ads | <gh_stars>10-100
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with box2d_c.Pointers;
with box2d_c.b2d_Contact;
with box2d_c.b2d_ray_Collision;
with box2d_c.joint_Cursor;
with c_math_c;
with c_math_c.Matrix_3x3;
with c_math_c.Matrix_4x4;
with c_math_c.Pointers;
with c_math_c.Vector_2;
with c_mat... |
153 | ada | 0 | shintakezou/adaplayground | src/task_queue.adb | --
-- In this example two different tasks exchange values
-- through a third task. Delays are used to assure the
-- get isn't executed by the same task that did the put.
--
with Ada.Text_IO; use Ada.Text_IO;
procedure Task_Queue is
-- cf. <NAME>., "Programming in Ada 2012" (Chapter 20)
task Buffer is
en... |
154 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Huffman-coding/Ada/huffman-coding-1.ada | with Ada.Containers.Indefinite_Ordered_Maps;
with Ada.Containers.Ordered_Maps;
with Ada.Finalization;
generic
type Symbol_Type is private;
with function "<" (Left, Right : Symbol_Type) return Boolean is <>;
with procedure Put (Item : Symbol_Type);
type Symbol_Sequence is array (Positive range <>) of Symbol_... |
155 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/geometry/opengl-primitive-short_indexed.ads | <filename>3-mid/opengl/source/lean/geometry/opengl-primitive-short_indexed.ads<gh_stars>10-100
private
with
openGL.Buffer.short_indices;
package openGL.Primitive.short_indexed
--
-- Provides a class for short indexed openGL primitives.
--
is
type Item is limited new Primitive.item with private;
subtype... |
156 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-nscefu.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
157 | ada | 18 | jquorning/ada-wiki | src/wiki-render-wiki.ads | -----------------------------------------------------------------------
-- wiki-render-wiki -- Wiki to Wiki renderer
-- Copyright (C) 2015, 2016, 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 t... |
158 | ada | 89 | treggit/sdlada | src/sdl-cpus.adb | <gh_stars>10-100
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- ... |
159 | ada | 0 | optikos/oasis | source/oasis/program-elements-derived_record_extensions.ads | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Type_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Definitions... |
160 | ada | 81 | fuzzysloth/ada-awa | awa/plugins/awa-jobs/src/awa-jobs-beans.adb | <filename>awa/plugins/awa-jobs/src/awa-jobs-beans.adb
-----------------------------------------------------------------------
-- awa-jobs-beans -- AWA Jobs Ada Beans
-- Copyright (C) 2012, 2013, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ... |
161 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libgfxinit/common/haswell_shared/hw-gfx-gma-power_and_clocks_haswell.adb | --
-- Copyright (C) 2014-2018 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- ... |
162 | ada | 25 | My-Colaborations/ada-keystore | src/keystore-repository-data.adb | <reponame>My-Colaborations/ada-keystore
-----------------------------------------------------------------------
-- keystore-repository-data -- Data access and management for the keystore
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Lice... |
163 | ada | 1 | alvaromb/Compilemon | lib/ayacc/lr0_machine.ads | <reponame>alvaromb/Compilemon
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements were made by <NAME>.
--
-- Send requests for ayacc information to <EMAIL>
-- Send bug reports for ayacc to <EMAIL>
-... |
164 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-defining_expanded_names.ads | <filename>source/nodes/program-nodes-defining_expanded_names.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Defining_Identifie... |
165 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/5ninmaop.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
166 | ada | 1 | charlie5/lace-alire | 3-mid/opengl/source/lean/opengl-palette.ads | <reponame>charlie5/lace-alire<filename>3-mid/opengl/source/lean/opengl-palette.ads
package openGL.Palette
--
-- Provides a pallete of named colors.
--
-- Color values are sourced from WikiPaedia:
--
-- - http://en.wikipedia.org/wiki/Primary_color
-- - http://en.wikipedia.org/wiki/Secondary_color
-- - http://... |
167 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-strunb-shared.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
168 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/comms/uxas-comms-data.adb | with GNAT.String_Split;
with UxAS.Comms.Data.Addressed; use UxAS.Comms.Data.Addressed;
package body UxAS.Comms.Data is
--------------------
-- Set_Attributes --
--------------------
procedure Set_Attributes
(This : in out Message_Attributes;
Content_Type : String;
Desc... |
169 | ada | 15 | jquorning/dynamo | src/gen-model-operations.ads | <gh_stars>10-100
-----------------------------------------------------------------------
-- gen-model-operations -- Operation declarations
-- Copyright (C) 2012, 2016, 2017, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... |
170 | ada | 21 | smithros/kpi-stuff | ParallelProgramming-2/rgr/part2/data.ads | with Ada.Text_IO;
use Ada.Text_IO;
generic
N, H : in Natural;
package Data is
type Vector is array(Integer range <>) of Integer;
Subtype VectorN is Vector(1..N);
Subtype Vector4H is Vector(1..4 * H);
Subtype Vector3H is Vector(1..3 * H);
Subtype Vector2H is... |
171 | ada | 30 | jrmarino/AdaBase | src/statements/adabase-statement-base-sqlite.ads | <gh_stars>10-100
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Connection.Base.SQLite;
with AdaBase.Bindings.SQLite;
with Ada.Containers.Vectors;
package AdaBase.Statement.Base.SQLite is
package ACS renames AdaBase.Connection.Base.SQLite;
... |
172 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/i-csycon.ads | <filename>tools/scitools/conf/understand/ada/ada95/i-csycon.ads
-----------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- ... |
173 | ada | 3 | TheSledgeHammer/2.11BSD | contrib/gnu/gdb/dist/gdb/testsuite/gdb.ada/variant/pck.ads | <filename>contrib/gnu/gdb/dist/gdb/testsuite/gdb.ada/variant/pck.ads
-- Copyright 2020 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 o... |
174 | ada | 2 | stcarrez/bbox-ada-api | tools/upnp-ssdp.ads | <reponame>stcarrez/bbox-ada-api
-----------------------------------------------------------------------
-- upnp-ssdp -- UPnP SSDP operations
-- 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 compl... |
175 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/stack_check2.adb | -- { dg-do run }
-- { dg-options "-fstack-check" }
-- This test requires architecture- and OS-specific support code for unwinding
-- through signal frames (typically located in *-unwind.h) to pass. Feel free
-- to disable it if this code hasn't been implemented yet.
procedure Stack_Check2 is
function UB return In... |
176 | ada | 33 | ytomino/drake | source/image/required/s-widboo.ads | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Wid_Bool is
pragma Pure;
-- required for Boolean'Width by compiler (s-widboo.ads)
function Width_Boolean (Lo, Hi : Boolean) return Natural;
end System.Wid_Bool;
|
177 | ada | 0 | Tim-Tom/project-euler | Ada/inc/Problem_44.ads | <reponame>Tim-Tom/project-euler
package Problem_44 is
procedure Solve;
end Problem_44;
|
178 | ada | 204 | spr93/whitakers-words | src/tools/uniqpage.adb | <reponame>spr93/whitakers-words<filename>src/tools/uniqpage.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge... |
179 | ada | 33 | persan/zeromq-Ada | src/zmq-pollsets.adb | <filename>src/zmq-pollsets.adb
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- ... |
180 | ada | 0 | kraileth/ravenadm | src/specification_parser.adb | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Unix;
with Utilities;
with Parameters;
with File_Operations.Heap;
with Package_Manifests;
with Ada.Directories;
with Ada.Characters.Latin_1;
with Ada.Strings.Fixed;
with Ada.Exceptions;
package body Specifica... |
181 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3809a.ada | <reponame>best08618/asylo<gh_stars>1-10
-- CE3809A.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 docume... |
182 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/drivers/nxp-gpio.adb | <reponame>morbos/Ada_Drivers_Library
with NXP.Device; use NXP.Device;
with System; use System;
with NXP_SVD; use NXP_SVD;
with NXP_SVD.GPIO; use NXP_SVD.GPIO;
with NXP_SVD.IOCON; use NXP_SVD.IOCON;
with NXP_SVD.INPUTMUX; use NXP_SVD.INPUTMUX;
with NXP_SVD.PINT; use NXP_... |
183 | ada | 0 | AsyncMC/Mojang-API-Libs | generated-sources/ada/mojang-sessions/src/model/com-github-asyncmc-mojang-sessions-ada-model-models.ads | -- Mojang Session API
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
--
-- OpenAPI spec version: 2020_06_05
--
--
-- NOTE: This package is auto generated by the swagger code generator 3.3.4.
-- https://openapi-generator.tech
-- Do not edit the class... |
184 | ada | 0 | faelys/natools | src/natools-string_slices-slice_sets.adb | ------------------------------------------------------------------------------
-- Copyright (c) 2013-2016, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
185 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-digemk.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
186 | ada | 0 | xuedong/mini-ada | tests/syntax/bad/testfile-params-3.adb | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure P(x:integer;) is begin x := 0; end;
begin P(0); end;
|
187 | ada | 1 | charlie5/lace-alire | 1-base/lace/source/events/utility/lace-event-logger.ads | <reponame>charlie5/lace-alire<filename>1-base/lace/source/events/utility/lace-event-logger.ads<gh_stars>1-10
with
lace.Event,
lace.Observer,
lace.Subject,
lace.Response;
package lace.Event.Logger
--
-- Provides an event logging interface.
--
is
type Item is limited interface;
type View is a... |
188 | ada | 65 | vdh-anssi/ewok-kernel | src/arch/Ada/types.adb |
package body types
with spark_mode => on
is
function to_bit
(u : unsigned_8) return types.bit
is
pragma warnings (off);
function conv is new ada.unchecked_conversion
(unsigned_8, bit);
pragma warnings (on);
begin
if u > 1 then
raise program_error;
end if... |
189 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bbbosu__nrf51.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
190 | ada | 20 | charlie5/lace | 3-mid/impact/source/2d/collision/impact-d2-colliders.ads | with impact.d2.Shape.circle,
impact.d2.Shape.polygon,
impact.d2.Collision,
impact.d2.Math;
package impact.d2.Colliders
--
--
--
is
use impact.d2.Shape.circle,
impact.d2.Shape.polygon,
impact.d2.Math;
-- Compute the collision manifold between two circles.
--
procedure b2Col... |
191 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a74106c.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a74106c.ada
-- A74106C.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
-- unlimit... |
192 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/set_targ.adb | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
193 | ada | 33 | ytomino/drake | source/numerics/machine-w64-mingw32/s-llcoty.ads | pragma License (Unrestricted);
-- implementation unit specialized for Darwin (or Linux, or Windows)
package System.Long_Long_Complex_Types is
pragma Pure;
-- Complex
type Imaginary is new Float;
type Complex is record
Re, Im : Float;
end record;
pragma Complex_Representation (Complex);
... |
194 | ada | 12 | jquorning/ada-asf | src/asf-helpers-beans.adb | -----------------------------------------------------------------------
-- asf-helpers-beans -- Helper packages to write ASF applications
-- Copyright (C) 2012, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
195 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-calend-mingw.adb | <filename>llvm-gcc-4.2-2.9/gcc/ada/a-calend-mingw.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
196 | ada | 7 | Fabien-Chouteau/Giza | gtkada_backend/src/timer_callback.ads | <reponame>Fabien-Chouteau/Giza<gh_stars>1-10
with Giza.Context;
with Giza.Events; use Giza.Events;
with Giza.Widget.Text;
with Giza.Widget.Button;
use Giza.Widget;
with Screen_Interface; use Screen_Interface;
with Test_Main_Window;
package Timer_Callback is
Main_W : aliased Test_Main_Window.Main_Window;
... |
197 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-screen.adb | <filename>src/fltk-screen.adb
with
Interfaces.C;
use type
Interfaces.C.int;
package body FLTK.Screen is
function fl_screen_x
return Interfaces.C.int;
pragma Import (C, fl_screen_x, "fl_screen_x");
pragma Inline (fl_screen_x);
function fl_screen_y
return Interfaces.C.int... |
198 | ada | 9 | Kidev/AdaPhysics2D | worlds.ads | with Entities; use Entities;
with Vectors2D; use Vectors2D;
with Ada.Containers.Doubly_Linked_Lists;
with Links; use Links;
with Collisions; use Collisions;
package Worlds is
package EntsList is new Ada.Containers.Doubly_Linked_Lists(EntityClassAcc);
type EntsListAcc is access EntsList.List;
package LinksLi... |
199 | ada | 0 | gusthoff/fixed_types | src/fixed_types-short.adb | -------------------------------------------------------------------------------
--
-- FIXED TYPES
--
-- Fixed_Short & Fixed_Sat_Short definitions
--
-- The MIT License (MIT)
--
-- Copyright (c) 2015 <NAME>
--
-- Permission is hereby granted, free of charge, to any person ob... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.