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 |
|---|---|---|---|---|---|
9,200 | ada | 0 | kndtime/ada-spaceship | spaceship/src/spaceship.adb | <reponame>kndtime/ada-spaceship
package body Spaceship is
procedure set_dmg(s : in out Spaceship; dmg: Integer) is
begin
s.Life := s.Life - dmg;
end set_dmg;
procedure shoot (s : in out Spaceship) is
begin
s.Life := s.Life + 20;
end shoot;
procedure move (s : in out Spaceship; X: Integer;... |
9,201 | ada | 3 | charlie5/aIDE | source/types/adam-a_type-derived_type.adb | <reponame>charlie5/aIDE
with
AdaM.Factory;
package body AdaM.a_Type.derived_type
is
-- Storage Pool
--
record_Version : constant := 1;
pool_Size : constant := 5_000;
package Pool is new AdaM.Factory.Pools (storage_Folder => ".adam-store",
pool_Nam... |
9,202 | ada | 1 | jhumphry/Ascon_SPARK | src/tests/ascon128_demo.adb | <filename>src/tests/ascon128_demo.adb
-- Ascon_Demo
-- Copyright (c) 2016-2018, <NAME> - see LICENSE file for details
with Ada.Text_IO;
use Ada.Text_IO;
with System.Storage_Elements;
use System.Storage_Elements;
with Ascon.Utils;
with Ascon128v12;
use Ascon128v12;
procedure Ascon128_Demo is
package Ascon128v12... |
9,203 | ada | 20 | charlie5/lace | 3-mid/physics/interface/source/physics-object.ads | <gh_stars>10-100
with
physics.Shape,
physics.Model,
lace.Any;
package physics.Object
--
-- Provide an interface for physics objects.
--
is
use Math;
type Item is limited interface
and lace.Any.limited_item;
type View is access all Item'Class;
type Views is array (Positive ra... |
9,204 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/ghost.adb | <reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/ghost.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COM... |
9,205 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/a-tasini.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
9,206 | ada | 7 | stcarrez/mat | mat/src/parser/mat-expressions-parser.ads | package MAT.Expressions.Parser is
error_count : Natural := 0;
function Parse (Content : in String) return MAT.Expressions.Expression_Type;
end MAT.Expressions.Parser;
|
9,207 | ada | 488 | ouankou/rose | src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/lal_adapter-tool.ads | <gh_stars>100-1000
-- This is the main Lal_Adapter class.
private with Lal_Adapter.Context;
with a_nodes_h;
package Lal_Adapter.Tool is
type Class is tagged limited private; -- Initialized
Use_Current_Dir : constant String := "";
-- Runs in the current directory.
-- Creates .dot file in Output_Dir_Name... |
9,208 | ada | 2 | thindil/tashy2 | tests/tk-widget-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 Tk.Widget.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Tk.Widget.Test_Data
.Test with
... |
9,209 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/utils/bounded_dynamic_arrays.adb | <gh_stars>10-100
package body Bounded_Dynamic_Arrays is
-----------
-- Clear --
-----------
procedure Clear (This : out Sequence) is
begin
This.Current_Length := 0;
This.Content := (others => Default_Value);
end Clear;
-------------------
-- Null_Sequence --
-------------------... |
9,210 | ada | 0 | micahwelf/Password_Encode | password_encode.ads | <filename>password_encode.ads
with Ada.Strings.UTF_Encoding,
Ada.Sequential_IO,
Interfaces.C_Streams,
Ada.Text_IO.Text_Streams,
Ada.Streams.Stream_IO;
use Ada.Strings.UTF_Encoding;
-- Library to Encrypt raw data with variable length UTF8 Passwords, making
-- it possible to simply memorize the Passw... |
9,211 | ada | 25 | thierr26/ada-keystore | tools/akt-commands-remove.adb | <filename>tools/akt-commands-remove.adb
-----------------------------------------------------------------------
-- akt-commands-remove -- Remove content from keystore
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... |
9,212 | ada | 0 | Fabien-Chouteau/COBS | tests/src/testsuite-encode_decode-random.adb | <reponame>Fabien-Chouteau/COBS
with System.Storage_Elements; use System.Storage_Elements;
with Ada.Containers.Indefinite_Vectors;
with Ada.Numerics.Discrete_Random;
with AUnit.Assertions; use AUnit.Assertions;
with Test_Utils; use Test_Utils;
with AAA.Strings;
package body Testsuite.Encode_Decode.Random is
prag... |
9,213 | ada | 6 | jonashaggstrom/ada-canopen | tests/test_main.adb | with AUnit.Reporter.Text;
with AUnit.Run;
with Unit_Tests;
with Ada.Text_IO;
procedure Test_Main is
procedure Runner is new AUnit.Run.Test_Runner (Unit_Tests.Suite);
Reporter : AUnit.Reporter.Text.Text_Reporter;
begin
Ada.Text_IO.Put_Line ("Running...");
Runner (Reporter);
end Test_Main;
|
9,214 | ada | 1 | lkujaw/ada-blake2 | b2stest/b2stest.adb | <reponame>lkujaw/ada-blake2
-----------------------------------------------------------------------
-- Copyright 2021 <NAME> --
-- --
-- This file is part of B2STEST. --
-- ... |
9,215 | ada | 4 | albinjal/Ada_Project | Klient/klient.adb | <reponame>albinjal/Ada_Project
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with TJa.Sockets; use TJa.Sockets;
with Klient_Assets_Package; use Klient_Assets_Package;
wit... |
9,216 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtsp_enumtypes_h.ads | <reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtsp_enumtypes_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtsp_enumtypes_h is
-- unsu... |
9,217 | ada | 24 | svn2github/matreshka | source/amf/mof/amf-objects.ads | <filename>source/amf/mof/amf-objects.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
9,218 | ada | 1 | TNO/Rejuvenation-Ada | workshop/tests/src/test_exercises_rewrite.adb | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers; use Ada.Containers;
with AUnit.Assertions; use AUnit.Assertions;
with GNAT.Source_Info; use GNAT.Source_Info;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libada... |
9,219 | ada | 0 | reznikmm/gela | source/contexts/plain/program-node_symbols.ads | <reponame>reznikmm/gela<gh_stars>0
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Compilation_Units;
with Program.Elements.Defining_Names;
with Program.Elements.Expressions;
with Program.Elements;
with Pro... |
9,220 | ada | 0 | sebsgit/textproc | src/opencl/cl_objects.ads | <reponame>sebsgit/textproc
with Ada.Finalization;
with System;
with opencl; use opencl;
package cl_objects is
pragma Elaborate_Body;
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
type Context is tagged limited private;... |
9,221 | ada | 6 | godunko/adagl | sources/wasm/opengl-contexts.adb | ------------------------------------------------------------------------------
-- --
-- Ada binding for OpenGL/WebGL --
-- --
-- ... |
9,222 | ada | 33 | ytomino/drake | source/tasking/a-stcoed.ads | pragma License (Unrestricted);
-- Ada 2012
with Ada.Real_Time;
package Ada.Synchronous_Task_Control.EDF is
procedure Suspend_Until_True_And_Set_Deadline (
S : in out Suspension_Object;
TS : Real_Time.Time_Span);
-- extended
-- If State is True, Set_True is called, otherwise it's timeout.
pro... |
9,223 | ada | 79 | Roldak/OpenGLAda | src/gl/implementation/gl-fixed-matrix.adb | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.API;
package body GL.Fixed.Matrix is
procedure Apply_Frustum (Stack : Matrix_Stack;
Left, Right, Bottom, Top, Near, Far : Double) is
begin
API.Matrix_Mode (St... |
9,224 | ada | 0 | AdamSzerszen/Concurrency_v.2.0 | src/infrastructure/infrastructure.ads | <gh_stars>0
with Units; use Units;
package Infrastructure is
type Steering;
type Steering_ptr is access Steering;
protected type Steering is
entry SetNumber(CorrectNumber: in SteeringNumber);
entry Incoming(CurrentTram: in TramNumber);
entry Leaving;
entry CheckStatus;
private
... |
9,225 | ada | 0 | SKNZ/BoiteMaker | src/halfbox.adb | <reponame>SKNZ/BoiteMaker<filename>src/halfbox.adb<gh_stars>0
with ada.characters.latin_1;
with logger;
use logger;
package body halfbox is
function get_halfbox(width, length, height, thickness, queue_length : integer) return halfbox_t is
-- On stock les informations relatives à la demi boîte avec celles-c... |
9,226 | ada | 0 | Lucretia/net_time | src/net_times.adb | ------------------------------------------------------------------------------------------------------------------------
-- Copyright © 2019, <NAME>
--
-- See LICENCE file.
------------------------------------------------------------------------------------------------------------------------
with Ada.Strings;
with A... |
9,227 | ada | 33 | kqr/qweyboard | src/backends/dummy_platform/output_backend.adb | with Ada.Wide_Wide_Text_IO;
package body Output_Backend is
package IO renames Ada.Wide_Wide_Text_IO;
task body Output is
begin
accept Ready_Wait;
loop
select
accept Enter (Text : Wide_Wide_String; Continues_Word : Boolean) do
IO.Put (if Continues_Word then "" e... |
9,228 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-chtgbk.ads | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
9,229 | ada | 1 | ytomino/vampire | source/tabula-users.ads | <filename>source/tabula-users.ads
-- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Calendar;
with Ada.Strings.Unbounded;
with Tabula.Calendar;
private with Ada.Streams;
package Tabula.Users is
-- Id
Administrator : constant String := "administrator";
function Valid_Id_String (Id : String) return Boole... |
9,230 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/buffer/opengl-buffer-indices.ads | <reponame>charlie5/lace
with
openGL.Buffer.general;
package openGL.Buffer.indices is new openGL.Buffer.general (base_Object => Buffer.element_array_Object,
Index => long_Index_t,
Eleme... |
9,231 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Character-codes/Ada/character-codes.ada | with Ada.Text_IO; use Ada.Text_IO;
procedure Char_Code is
begin
Put_Line (Character'Val (97) & " =" & Integer'Image (Character'Pos ('a')));
end Char_Code;
|
9,232 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/svd/lpc55s6x/nxp_svd-adc.ads | -- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.ADC is
pragma Preelaborate;
... |
9,233 | ada | 25 | My-Colaborations/ada-keystore | src/keystore-files.adb | <filename>src/keystore-files.adb
-----------------------------------------------------------------------
-- keystore-files -- Ada keystore files
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file excep... |
9,234 | ada | 4 | jquorning/Gauss | source/web_server.adb | <reponame>jquorning/Gauss<gh_stars>1-10
--
-- 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.
--
wi... |
9,235 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-strmap.ads | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-strmap.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
9,236 | ada | 33 | ytomino/drake | source/required/s-stratt.ads | pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.IO_Exceptions;
with Ada.Streams;
with System.Unsigned_Types;
package System.Stream_Attributes is
pragma Preelaborate;
-- required for 'Read/'Write attributes by compiler (s-stratt.ads)
type Thin_Pointer is record
P1 :... |
9,237 | ada | 0 | leomlr/sudoku_ada-jewl | src/JEWL/jewl-canvas_implementation.ads | ------------------------------------------------------------------------------
-- --
-- J E W L . C A N V A S _ I M P L E M E N T A T I O N --
-- --
... |
9,238 | ada | 0 | adnio/Ada_Drivers_Library | testsuite/tests/fat_driver/src/tc_fat_write.adb | with Ada.Text_IO; use Ada.Text_IO;
with Test_Directories; use Test_Directories;
with File_Block_Drivers; use File_Block_Drivers;
with File_IO; use File_IO;
with Filesystem.FAT; use Filesystem.FAT;
with HAL.Filesystem;
with GNAT.MD5; use GNAT.MD5;
with Ada.Streams;
with Compare_Files;... |
9,239 | ada | 1 | simonjwright/Quaternions | test/test-main.adb | with AUnit.Reporter.Text;
with AUnit.Run;
with Test.Test_Suite;
procedure Test.Main is
procedure Run is new AUnit.Run.Test_Runner (Test_Suite.Suite);
Reporter : AUnit.Reporter.Text.Text_Reporter;
begin
Run (Reporter);
end Test.Main;
|
9,240 | ada | 1 | charlie5/lace-alire | 3-mid/opengl/source/lean/renderer/opengl-impostor-simple.adb | with
openGL.Camera,
openGL.Texture,
ada.unchecked_Deallocation;
package body openGL.Impostor.simple
is
procedure free (Self : in out View)
is
procedure deallocate is new ada.unchecked_Deallocation (Item'Class, View);
begin
if Self /= null
then
destroy (Self.all);... |
9,241 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/svd/nrf52/nrf_svd-radio.ads | -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without modification,
-- are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice, t... |
9,242 | ada | 1 | annexi-strayline/ASAP-Unicode | unicode-ucd.ads | ------------------------------------------------------------------------------
-- --
-- Unicode Utilities --
-- --
-- ... |
9,243 | ada | 24 | svn2github/matreshka | source/amf/ocl/amf-internals-tables-ocl_metamodel-objects.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
9,244 | ada | 4 | faelys/gela-asis | source/asis/spec/ada-strings-wide_wide_unbounded.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
9,245 | ada | 1 | Roldak/OpenGLAda | deps/FreeTypeAda/src/ft-api-glyphs.ads | <filename>deps/FreeTypeAda/src/ft-api-glyphs.ads
-- part of FreeTypeAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with FT.Errors;
with FT.Faces;
package FT.API.Glyphs is
pragma Preelaborate;
procedure FT_Done_Glyph (Glyph : Glyph_Ptr);
pragma Import (C, FT_Don... |
9,246 | ada | 0 | balintsoos/LearnAda | gyak/gyak3/bubbleSort.adb | with Ada.Text_IO;
use Ada.Text_IO;
procedure BubbleSort is
type Index is new Integer;
type Elem is new Integer;
type Arr is array (Index range <>) of Elem;
function Max_Hely ( T: Arr ) return Index is
Mh: Index := T'First;
begin
for I in T'Range loop
if T(... |
9,247 | ada | 1 | Okasu/Byron | src/plugins/plugin-base.adb | <reponame>Okasu/Byron<filename>src/plugins/plugin-base.adb<gh_stars>1-10
package body Plugin.Base
is
procedure Say (Message : IRC.Message)
is
Arguments : Vector := Words (Message.Content);
Answer : IRC.Message := Message;
begin
Answer.Channel := Arguments (2);
Delete (Arguments, 1);
... |
9,248 | ada | 12 | TUM-EI-RCS/StratoX | runtime/ravenscar-sfp-stm32f427/gnarl-arch/s-bbpara.ads | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
9,249 | ada | 0 | ALPHA-60/ada-keystore | src/keystore-passwords.ads | -----------------------------------------------------------------------
-- keystore-passwords -- Password provider
-- 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 with the License.
--... |
9,250 | ada | 24 | svn2github/matreshka | source/xml/sax/xml-sax-simple_readers-parser-actions.ads | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
9,251 | ada | 1 | mwebber3/CodingChallengeSites | Kattis/Ada/HelloWorld.adb | with Ada.Text_IO;
procedure Hello is
begin
Ada.Text_IO.Put_Line("Hello, world!");
end Hello;
|
9,252 | ada | 2 | AdaCore/style_checker | testsuite/tests/NA17-007__Ada_units/hang-ok-1.ads | ------------------------------------------------------------------------------
-- --
-- ATRE COMPONENTS --
-- --
-- ... |
9,253 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-widgets-clocks-updated-round.adb | <filename>src/fltk-widgets-clocks-updated-round.adb<gh_stars>1-10
with
Interfaces.C.Strings,
System;
use type
System.Address;
package body FLTK.Widgets.Clocks.Updated.Round is
procedure round_clock_set_draw_hook
(W, D : in System.Address);
pragma Import (C, round_clock_set_draw_h... |
9,254 | ada | 2 | onox/opus-ada | src/opus.ads | -- Copyright (c) 2010-2011 Xiph.Org Foundation, Skype Limited
--
-- Most of the documentation has been copied from opus.h and opus_defines.h
-- and is licensed under the license of those files; the Simplified BSD License.
--
-- Copyright (c) 2014 onox <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distrib... |
9,255 | ada | 6 | My-Colaborations/ada-servlet | src/aws/servlet-responses-web.adb | <filename>src/aws/servlet-responses-web.adb
-----------------------------------------------------------------------
-- servlet-responses.web -- Servlet Responses with AWS server
-- Copyright (C) 2009, 2010, 2011, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (... |
9,256 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-internals-uml_ports.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
9,257 | ada | 0 | optikos/oasis | source/nodes/program-nodes-pragmas.adb | <filename>source/nodes/program-nodes-pragmas.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Pragmas is
function Create
(Pragma_Token : not null Program.... |
9,258 | ada | 79 | Roldak/OpenGLAda | src/gl/implementation/gl-fixed-lighting.adb | <reponame>Roldak/OpenGLAda
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Enums.Getter;
with GL.API;
package body GL.Fixed.Lighting is
use type Toggles.Toggle_State;
Light_Model_Enabled : aliased constant Int := 1;
Light_Model_Disabled... |
9,259 | ada | 5 | ianloic/unladen-swallow | Util/llvm/bindings/ada/transforms/llvm_transforms-binding.ads | -- This file is generated by SWIG. Do *not* modify by hand.
--
with llvm;
package LLVM_Transforms.Binding is
procedure LLVMAddArgumentPromotionPass (PM : in llvm.LLVMPassManagerRef);
procedure LLVMAddConstantMergePass (PM : in llvm.LLVMPassManagerRef);
procedure LLVMAddDeadArgEliminationPass
(PM : i... |
9,260 | ada | 12 | jquorning/ada-asf | src/asf-lifecycles-validation.adb | <reponame>jquorning/ada-asf<gh_stars>10-100
-----------------------------------------------------------------------
-- asf-lifecycles-validation -- Validation phase
-- Copyright (C) 2010, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
9,261 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83024e1.ada | -- C83024E1M.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.
-- Unlim... |
9,262 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a03a.ada | -- C54A03A.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... |
9,263 | ada | 0 | mstewartgallus/linted | src/ada-core/src/linted-results.ads | -- Copyright 2015,2016 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in ... |
9,264 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/ac3207a.ada | -- AC3207A.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... |
9,265 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-internals-uml_interaction_operands.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
9,266 | ada | 5 | reznikmm/increment | source/base/incr-lexers.ads | <reponame>reznikmm/increment<filename>source/base/incr-lexers.ads
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
-- @summary
-- Lexical Analysis Stuff
--
-- @description
-- This package pro... |
9,267 | ada | 20 | charlie5/lace | 4-high/gel/applet/demo/mouse/mouse_motion/launch_mouse_motion.adb | procedure launch_mouse_Motion
--
-- Todo
--
is
begin
null;
end launch_mouse_Motion;
|
9,268 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/init2.ads | with System;
package Init2 is
type Small is mod 2**2;
for Small'Size use 2;
type Count is mod 2**9;
for Count'Size use 9;
type Arr1 is array (1 .. 3) of Count;
pragma Pack (Arr1);
for Arr1'Size use 27;
for Arr1'Scalar_Storage_Order use System.Low_Order_First;
type R1 is record
S1 : Small;
... |
9,269 | ada | 0 | JCGobbi/Nucleo-STM32F334R8 | ADL/drivers/stm32f334/stm32-dma.adb | <reponame>JCGobbi/Nucleo-STM32F334R8<filename>ADL/drivers/stm32f334/stm32-dma.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore ... |
9,270 | ada | 192 | rocher/Ada_Drivers_Library | components/src/audio/CS43L22/cs43l22.ads | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
9,271 | ada | 0 | ytomino/gnat4drake | g-heasor.ads | pragma License (Unrestricted);
package GNAT.Heap_Sort is
pragma Pure;
type Xchg_Procedure is access procedure (Op1, Op2 : Natural);
type Lt_Function is access function (Op1, Op2 : Natural) return Boolean;
procedure Sort (N : Natural; Xchg : Xchg_Procedure; Lt : Lt_Function);
end GNAT.Heap_Sort;
|
9,272 | ada | 80 | thindil/steamsky | src/bases-ship.adb | <gh_stars>10-100
-- Copyright 2017-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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 of the License, or
-- (... |
9,273 | ada | 0 | btmalone/alog | aunit/aunit.ads | <reponame>btmalone/alog
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
9,274 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.0.1/wisitoken-syntax_trees-lr_utils.ads | -- Abstract :
--
-- Utilities for navigating syntax trees produced by an LR parser.
--
-- Copyright (C) 2019 <NAME> All Rights Reserved.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundatio... |
9,275 | ada | 24 | svn2github/matreshka | source/league/ucd/matreshka-internals-unicode-ucd-core_00fb.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
9,276 | ada | 24 | svn2github/matreshka | source/amf/mof/cmof/amf-internals-tables-cmof_attribute_mappings.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
9,277 | ada | 0 | My-Colaborations/ada-ado | src/ado-sessions-sources.ads | -----------------------------------------------------------------------
-- ado-sessions-sources -- Database Sources
-- 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... |
9,278 | ada | 33 | ytomino/drake | source/s-syncon.adb | package body System.Synchronous_Control is
pragma Suppress (All_Checks);
procedure Yield is
begin
Yield_Hook.all;
end Yield;
procedure Unlock_Abort is
begin
Unlock_Abort_Hook.all;
end Unlock_Abort;
procedure Lock_Abort is
begin
Lock_Abort_Hook.all;
end Lock_Abort;
end... |
9,279 | ada | 8 | darkestkhan/lumen | src/lumen-events.adb | <filename>src/lumen-events.adb
-- <NAME>, NiEstu, Phoenix AZ, Spring 2010
-- Lumen would not be possible without the support and contributions of a cast
-- of thousands, including and primarily Rod Kay.
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, ... |
9,280 | ada | 8 | darkestkhan/lumen | src/lumen-events-animate.ads |
-- Lumen.Events.Animate -- Event loop with frame-animation callback
--
-- <NAME>, NiEstu, Phoenix AZ, Spring 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, ... |
9,281 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/comms/uxas-comms-data-addressed-attributed.adb | <filename>src/ada/src/comms/uxas-comms-data-addressed-attributed.adb<gh_stars>10-100
with Ada.Strings.Fixed;
package body UxAS.Comms.Data.Addressed.Attributed is
----------------------------------------
-- Set_Address_Attributes_And_Payload --
----------------------------------------
procedure Set_Addres... |
9,282 | ada | 0 | optikos/oasis | source/nodes/program-nodes-interface_types.ads | <filename>source/nodes/program-nodes-interface_types.ads<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elem... |
9,283 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_dbug.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
9,284 | ada | 0 | sciencylab/lagrangian-solver | drivers/bubble.adb | <filename>drivers/bubble.adb<gh_stars>0
with Numerics, Ada.Text_IO, Molecular_Dynamics;
use Numerics, Ada.Text_IO, Molecular_Dynamics;
procedure Bubble is
use Real_Functions, Real_IO, Int_IO;
N : constant Nat := 4;
M : constant Nat := 10;
Dt : constant Real := 5.0e-5;
U : constant Pos2D := (1.0, 0.0... |
9,285 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-uml-dependencies.ads | <filename>source/amf/uml/amf-uml-dependencies.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
9,286 | ada | 20 | charlie5/lace | 4-high/gel/applet/demo/distributed/dsa/launch_client.adb | with
gel_demo_Client;
procedure launch_Client
--
-- Launches the remote client.
--
is
begin
gel_demo_Client.item.start;
end launch_Client;
|
9,287 | ada | 12 | TUM-EI-RCS/StratoX | prototyping/pixracer/src/driver/fs/fat_filesystem-directories-files.ads | <filename>prototyping/pixracer/src/driver/fs/fat_filesystem-directories-files.ads<gh_stars>10-100
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- XXX! Nothing here is thread-safe!
--
-- Authors: <NAME> (<EMAIL>)
with FAT_Filesystem;
with F... |
9,288 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-binenv.adb | <reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-binenv.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME... |
9,289 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Stem-and-leaf-plot/Ada/stem-and-leaf-plot.ada | <filename>Task/Stem-and-leaf-plot/Ada/stem-and-leaf-plot.ada
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Gnat.Heap_Sort_G;
procedure stemleaf is
data : array(Natural Range <>) of Integer := (
0,12,127,28,42,39,113, 42,18,44,118,44,37,113,124,37,48,127,36,29,31,
125,139,... |
9,290 | ada | 0 | mendoza/mini-ada95 | Programas Ada95/funcionesAnidadas.ada | ------ FUNCIONES ANIDADAS/ RECURSIVA/ IF / LOOP
procedure Hello is
a: Integer;
b: Float ;
c: Boolean;
function dos(a,b:in Integer) return Integer is
function uno(a,b:in Integer) return Integer is
begin
Put(one);
return uno(x, y);
end uno;
begin
... |
9,291 | ada | 0 | Tim-Tom/project-euler | Ada/inc/Problem_45.ads | <reponame>Tim-Tom/project-euler
package Problem_45 is
procedure Solve;
end Problem_45;
|
9,292 | ada | 80 | thindil/steamsky | tests/basestypes-test_data-tests-basestrade_container.ads | <reponame>thindil/steamsky
package BasesTypes.Test_Data.Tests.BasesTrade_Container is
end BasesTypes.Test_Data.Tests.BasesTrade_Container;
|
9,293 | ada | 33 | ytomino/drake | source/streams/machine-pc-linux-gnu/s-naiona.adb | <filename>source/streams/machine-pc-linux-gnu/s-naiona.adb
with Ada.Exception_Identification.From_Here;
with Ada.Exceptions.Finally;
with System.Address_To_Named_Access_Conversions;
with System.Formatting;
with System.Growth;
with System.Long_Long_Integer_Types;
with System.Zero_Terminated_Strings;
with C.stdlib;
with ... |
9,294 | ada | 2 | morbos/Ada_Drivers_Library | components/eth/stm32-eth.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
9,295 | ada | 2 | onox/evdev-ada | src/event_device-force_feedbacks.adb | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
-... |
9,296 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/hal/src/hal-dsi.ads | -- Display Serial Interface
package HAL.DSI is
subtype DSI_Virtual_Channel_ID is UInt2;
type DSI_Data is array (Positive range <>) of Byte;
type DSI_Pkt_Data_Type is
(DCS_Short_Pkt_Write_P0, -- DCS Short write, no parameter
DCS_Short_Pkt_Write_P1, -- DCS Short write, one parameter
Gen_S... |
9,297 | ada | 2 | darkestkhan/xdg | tests/src/xdg_home_paths.adb | <reponame>darkestkhan/xdg
pragma License (GPL);
------------------------------------------------------------------------------
-- EMAIL: <<EMAIL>> --
-- License: GNU GPLv3 or any later as published by Free Software Foundation --
-- (see README file) ... |
9,298 | ada | 0 | ray2501/AdaBaseXClient | examples/queryexample.adb | <reponame>ray2501/AdaBaseXClient<gh_stars>0
with Ada.Text_IO;
with Ada.Exceptions;
with AdaBaseXClient;
use Ada.Text_IO;
use Ada.Exceptions;
use AdaBaseXClient;
procedure QueryExample is
V: String_Vectors.Vector;
begin
if (Connect ("localhost", 1_984) = False) then
Ada.Text_IO.Put_Line ("Connect failed.... |
9,299 | ada | 7 | stcarrez/mat | mat/src/memory/mat-memory-tools.adb | <gh_stars>1-10
-----------------------------------------------------------------------
-- mat-memory-tools - Tools for memory maps
-- Copyright (C) 2014 <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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.