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 |
|---|---|---|---|---|---|
1,200 | ada | 0 | xuedong/mini-ada | tests/syntax/bad/testfile-structure-4.adb | <reponame>xuedong/mini-ada<filename>tests/syntax/bad/testfile-structure-4.adb<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin Put('a'); end; put('a');
|
1,201 | ada | 286 | auzkok/libagar | ada/original_2008/ada-demos/winicon_callbacks.adb | with ada.text_io;
package body winicon_callbacks is
package io renames ada.text_io;
procedure quit (event : gui_event.event_access_t) is
begin
io.put_line ("winicon: exiting");
agar.core.quit;
end quit;
end winicon_callbacks;
|
1,202 | ada | 3 | FROL256/ada-ray-tracer | geometry.adb | with Interfaces;
with Ada.Streams.Stream_IO;
with Ada.Numerics.Float_Random;
with Ada.Numerics.Generic_Elementary_Functions;
with Vector_Math;
use Interfaces;
use Ada.Streams.Stream_IO;
use Vector_Math;
package body Geometry is
package Float_Functions is new Ada.Numerics.Generic_Elementary_Functions(float);
us... |
1,203 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/zfp-stm32g474/gnat/a-assert.ads | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
1,204 | ada | 2 | egustafson/sandbox | Ada/DataStructures/BinTree/int_binary_tree.adb | <reponame>egustafson/sandbox
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Unchecked_Deallocation;
use Ada.Text_IO, Ada.Integer_Text_IO;
package body Int_Binary_Tree is
type Compare_Result_Type is ( Less_Than, Equal, Greater_Than );
type Traced_Node_Type is
record
Node : Tree_Node_Ptr;
... |
1,205 | ada | 2 | landgraf/nanomsg-ada | tests/test_suite.adb | -- The MIT License (MIT)
-- Copyright (c) 2015 <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 u... |
1,206 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | SVD2ada/svd/stm32_svd-mpu.ads | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.MPU is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype TYPER_DREGION_Field is HAL.UInt8;
... |
1,207 | ada | 0 | fintatarta/eugen | src/Projects/eu_projects-nodes-partners.ads | with Ada.Containers.Vectors;
with Ada.Iterator_Interfaces;
with EU_Projects.Node_Tables;
--
-- A partner descriptor keeps some basic information about the
-- partner such as
--
-- * The name (a short version, too)
-- * A label
-- * An index
--
-- Moreover, every partner has
--
-- * One or more roles (name, descr... |
1,208 | ada | 0 | persan/advent-of-code-2020 | src/day-23/adventofcode-day_23.ads | package Adventofcode.Day_23 is
end Adventofcode.Day_23;
|
1,209 | ada | 2 | egustafson/sandbox | Ada/exception/error.adb | with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
procedure Error is
-- Note: If Constrained_Integer is constrained to 0
-- .. Integer'Last then Constraint_Error is raised when
-- Result1 is calculated. It appears to me that the
-- boundry check is occurring after the calculat... |
1,210 | ada | 2 | charlie5/cBound | tier-1/fann/source/thin/fann_c-pointer_pointers.ads | <filename>tier-1/fann/source/thin/fann_c-pointer_pointers.ads
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with fann_c.Pointers;
with interfaces.C;
package fann_c.pointer_Pointers is
-- FILE_Pointer_Pointer
--
type FILE_Pointer_Pointer is access all fann_c.Pointers.FILE_Pointer;... |
1,211 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr37.adb | -- { dg-do compile }
package body Discr37 is
procedure Proc (A : access Child) is
B : Derived renames Derived (A.F(1).all);
C : Derived renames Derived (B.S(1).all);
begin
null;
end;
end Discr37;
|
1,212 | ada | 20 | charlie5/lace | 2-low/collada/source/collada-library-geometries.adb | <filename>2-low/collada/source/collada-library-geometries.adb<gh_stars>10-100
package body collada.Library.geometries
is
-----------
--- Utility
--
function "+" (From : in ada.Strings.unbounded.unbounded_String) return String
renames ada.Strings.unbounded.to_String;
-------------
--- Primitiv... |
1,213 | ada | 2 | persan/gprTools | src/gpr_tools-pkg2gpr.ads | <filename>src/gpr_tools-pkg2gpr.ads<gh_stars>1-10
with Ada.Strings.Unbounded;
with Ada.Strings.Unbounded.Hash;
with Ada.Containers.Vectors;
with Ada.Containers.Hashed_Maps;
with Ada.Text_IO;
package GPR_Tools.Pkg2gpr is
use Ada.Strings.Unbounded;
package String_Vectors is new Ada.Containers.Vectors (Natural, Unb... |
1,214 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_penetration_depth_solver-gjk_epa.ads | with impact.d3.collision.convex_penetration_depth_Solver,
impact.d3.collision.simplex_Solver,
impact.d3.Shape.convex;
package impact.d3.collision.convex_penetration_depth_Solver.gjk_epa
--
-- EpaPenetrationDepthSolver uses the Expanding Polytope Algorithm to
-- calculate the penetration depth between two... |
1,215 | ada | 1 | kylelk/ada-examples | geometry.ads | <filename>geometry.ads<gh_stars>1-10
package Geometry is
type Point is record
x : Float;
y : Float;
z : Float;
end record;
type Angle is new Float range -360.0 .. 360.0;
type Axes is record
yaw : Angle;
pitch : Angle;
roll : Angle;
end record;
... |
1,216 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a35801f.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a35801f.ada
-- A35801F.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... |
1,217 | ada | 2 | rocher/TTS-Runtime-Ravenscar | utilities/tt_patterns.adb | with Ada.Real_Time; use Ada.Real_Time;
package body TT_Patterns is
--------------------
-- Simple_TT_Task --
--------------------
task body Simple_TT_Task is
begin
Task_State.Work_Id := Work_Id;
if Synced_Init then
TTS.Wait_For_Activation (Work_Id, Task_State.Release... |
1,218 | ada | 0 | bracke/Meaning | source/RASCAL-Heap.ads | <filename>source/RASCAL-Heap.ads<gh_stars>0
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
1,219 | ada | 0 | bracke/Meaning | source/RASCAL-TaskManager.adb | <reponame>bracke/Meaning<filename>source/RASCAL-TaskManager.adb
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
1,220 | ada | 9 | SALLYPEMDAS/DW1000 | examples/transmit/transmit_example.adb | <filename>examples/transmit/transmit_example.adb
-------------------------------------------------------------------------------
-- Copyright (c) 2016 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- ... |
1,221 | ada | 24 | svn2github/matreshka | source/league/matreshka-internals-stream_element_vectors.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,222 | ada | 24 | svn2github/matreshka | tools/gen_colls.adb | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
1,223 | ada | 0 | SKNZ/BoiteMaker | src/halfbox_panel.adb | <reponame>SKNZ/BoiteMaker
with ada.characters.latin_1;
with point_list;
use point_list;
with point;
use point;
with logger;
use logger;
-- ATTENTION: dans ce fichier, le terme "queue" est équivalent à "queue et encoche"
-- exemple: la fonction add_queues ajoue queues ET encoches.
package body halfbox_panel is
fun... |
1,224 | ada | 12 | TUM-EI-RCS/StratoX | software/lib/ulog/ulog-conversions.ads | <filename>software/lib/ulog/ulog-conversions.ads
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Author: <NAME> (<EMAIL>)
with Interfaces; use Interfaces;
with HIL; use HIL;
-- @summary convert various types to bytearrays
private pac... |
1,225 | ada | 1 | michalkonecny/polypaver | tools/SPARK2005/examples/erfRiemann/tutorial-steps/02-methodError/riemann.adb | <gh_stars>1-10
with PP_F_Elementary;
package body Riemann is
function erf_Riemann(x : Float; n : Integer) return Float
is
partitionSize : Integer;
stepSize : Float;
tLeft : Float;
valueLeft : Float;
result : Float;
step : Integer;
begin
partitionSize := 2 ** n;
... |
1,226 | ada | 13 | Fabien-Chouteau/GESTE | src/geste-grid.adb | ------------------------------------------------------------------------------
-- --
-- GESTE --
-- --
-- ... |
1,227 | ada | 0 | fintatarta/protypo | src/Internals/protypo-code_trees-interpreter-consumer_handlers.ads | with Protypo.Api.Engine_Values.Handlers;
with Protypo.Api.Engine_Values.Engine_Value_Vectors;
with Protypo.Api.Engine_Values.Parameter_Lists;
private package Protypo.Code_Trees.Interpreter.Consumer_Handlers is
type Consumer_Callback is
new Api.Engine_Values.Handlers.Function_Interface
with
private;
... |
1,228 | ada | 2 | sinkinben/pok | examples/arinc653-sampling/sample-ada/cpu/pr1/main.ads | <reponame>sinkinben/pok
pragma No_Run_Time;
with Interfaces.C;
with APEX;
use APEX;
with APEX.Processes;
use APEX.Processes;
with APEX.Partitions;
use APEX.Partitions;
with APEX.Timing;
use APEX.Timing;
with APEX.Sampling_Ports;
use APEX.Sampling_Ports;
package Main is
procedure Send;
procedure Main;
pragma ... |
1,229 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/svd/lpc55s6x/nxp_svd-powerquad.ads | <reponame>morbos/Ada_Drivers_Library<gh_stars>1-10
-- 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;
p... |
1,230 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/static_initializer3.ads | <gh_stars>1-10
-- { dg-do compile }
with Unchecked_Conversion;
package Static_Initializer3 is
type Byte is range 0 .. 16#FF#;
for Byte'Size use 8;
type Word is range 0 .. 16#FFFF# ;
for Word'Size use 16;
type R is record
b1 : Boolean;
b2 : Boolean;
end record;
for R use record
b1 at 0 ran... |
1,231 | ada | 13 | Fabien-Chouteau/GESTE | examples/racing/src/game.adb | <reponame>Fabien-Chouteau/GESTE
with Ada.Real_Time;
with Keyboard;
with Levels;
with Player;
with Render;
with GESTE;
with GESTE.Maths_Types; use GESTE.Maths_Types;
with GESTE.Text;
package body Game is
package RT renames Ada.Real_Time;
use type RT.Time;
use type RT.Time_Span;
Period : constant RT.Tim... |
1,232 | ada | 4 | FredPraca/distributed_cbsg | Ada/client/src/corbacbsg-cbsg-helper.ads | <gh_stars>1-10
pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);
---------------------------------------------------
-- This file has been generated automatically from
-- cbsg.idl
-- by IAC (IDL to Ada Compiler) 20.0w (rev. 90136cd4).
---------------------------------------------------
-- ... |
1,233 | ada | 7 | Fabien-Chouteau/Giza | src/giza-backend.ads | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
1,234 | ada | 0 | kenjiuno/D3MkEntityTree | zlib/contrib/ada/zlib-streams.adb | <filename>zlib/contrib/ada/zlib-streams.adb
----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 <NAME> --
-- ... |
1,235 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-coboho.ads | <reponame>orb-zhuchen/Orb
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
1,236 | ada | 24 | svn2github/matreshka | source/web/spikedog/aws/servlet-http_parameters-aws_parameters.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,237 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/sem_dist.ads | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
1,238 | ada | 263 | jfouquart/synth | synth.adb | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: License.txt
with Ada.Command_Line;
with Ada.Text_IO;
with Actions;
with PortScan.Pilot;
with Parameters;
with Unix;
procedure synth
is
type mandate_type is (unset, status, help, configure, version, up_system,
... |
1,239 | ada | 0 | ekoeppen/MSP430_Generic_Ada_Drivers | msp430x2/mspgd-gpio.ads | with MSPGD;
package MSPGD.GPIO is
pragma Preelaborate;
type Alt_Func_Type is (IO, Primary, Secondary, Device_Specific, Analog, Comparator);
type Direction_Type is (Input, Output);
type Resistor_Type is (None, Up, Down);
subtype Pin_Type is Integer range 0 .. 7;
subtype Port_Type is Unsigned_8 range... |
1,240 | ada | 9 | SALLYPEMDAS/DW1000 | src/decadriver.adb | -------------------------------------------------------------------------------
-- Copyright (c) 2019 <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, inc... |
1,241 | ada | 0 | BenHocking/OpenUxAS | src/ada/src/services/atbb/assignment_tree_branch_bound.adb | <reponame>BenHocking/OpenUxAS
with Ada.Containers; use Ada.Containers;
with Ada.Containers.Formal_Ordered_Maps;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings; use Ada.Strings... |
1,242 | ada | 0 | reznikmm/slimp | source/slim-messages-butn.ads | <filename>source/slim-messages-butn.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Slim.Messages.BUTN is
type BUTN_Message is new Message with private;
type Button_Kind is
(P... |
1,243 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with3_pkg1.ads | with Ada.Containers.Hashed_Maps;
generic
type Object_Type is tagged private;
package Limited_With3_Pkg1 is
type Key_Type is access all String;
type Element_Type is new Object_Type with null record;
type Element_Access is access all Element_Type;
function Equal (Left, Right : Element_Acce... |
1,244 | ada | 1 | Kurinkitos/Twizy-Security | src/mathutil.adb | with Ada.Numerics.Generic_Elementary_Functions;
package body Mathutil with SPARK_Mode => Off is
package FloatingMath is
new Ada.Numerics.Generic_Elementary_Functions(FloatingNumber);
function ArcTan(Y : FloatingNumber; X : FloatingNumber) return FloatingNumber
is
begin
return FloatingMath.ArcTan(Y / X, 1.0... |
1,245 | ada | 20 | charlie5/lace | 3-mid/opengl/source/platform/egl/opengl-context.adb | with
opengl.Display .privvy,
opengl.surface_Profile.privvy,
opengl.Surface .privvy,
egl.Binding,
System;
package body openGL.Context
is
use egl.Binding,
System;
procedure define (Self : in out Item; the_Display : access opengl.Display.item'Class;
... |
1,246 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/Nordic/svd/nrf53/nrf53_svd-gpio_p0.ads | -- This spec has been automatically generated from nrf53.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NRF53_SVD.GPIO_P0 is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- If pin satisfied sense cri... |
1,247 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/boards/pixracer_v1/hil/hil-buzzer.adb | -- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>>
with HIL.Config;
with HIL.Timers;
with HIL.Devices.Timers;
-- @summary
-- Target-independent specification for simple HIL of Piezo Buzzer
package body HIL.Buzzer is... |
1,248 | ada | 1 | TNO/Dependency_Graph_Extractor-Ada | tests/syntax_examples/src/forward_declaration.adb | <gh_stars>1-10
package body Forward_Declaration is
procedure P is null;
procedure Q;
procedure Q is null;
end Forward_Declaration;
|
1,249 | ada | 0 | fintatarta/eugen | src/Line_Array/src/prova_parser.adb | with Node_List_Parsers;
with Line_Arrays;
procedure Prova_Parser is
type Class is (Wp, Tsk, Deliv);
package My_Parser is new Node_List_Parsers (Class);
use My_Parser;
Eol : constant Character := Character'Val (10);
X : constant String := "" & Eol
& "" & Eol
& "" & Eol
... |
1,250 | ada | 16 | stcarrez/ada-enet | src/net-sockets-udp.adb | <reponame>stcarrez/ada-enet
-----------------------------------------------------------------------
-- net-sockets-udp -- UDP socket-like interface
-- 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 i... |
1,251 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/eval_fat.adb | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
1,252 | ada | 0 | fintatarta/fakedsp | Ada/src/fakelib/utilities-option_lists.ads | <gh_stars>0
with Ada.Containers.Indefinite_Ordered_Maps;
use Ada;
package Utilities.Option_Lists is
package Option_Maps is
new Ada.Containers.Indefinite_Ordered_Maps (Key_Type => String,
Element_Type => String);
subtype Option_List is Option_Maps.Map;
... |
1,253 | ada | 1 | faelys/natools-web | src/natools-web-filters-pass_through.ads | <reponame>faelys/natools-web
------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this softw... |
1,254 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-dyntab.ads | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
1,255 | ada | 65 | PThierry/ewok-kernel | src/arch/socs/stm32f429/soc-rng.ads | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http... |
1,256 | ada | 3 | jwarwick/aoc_2019_ada | day06/tests/day-test.ads | with AUnit;
with AUnit.Test_Cases;
package Day.Test is
type Test is new AUnit.Test_Cases.Test_Case with null record;
function Name (T : Test) return AUnit.Message_String;
procedure Register_Tests (T : in out Test);
-- Test routines
procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class);
... |
1,257 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/layout.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
1,258 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/slice2.adb | <reponame>best08618/asylo
-- { dg-do compile }
-- { dg-options "-O" }
package body Slice2 is
function F (I : R1) return R2 is
Val : R2;
begin
Val.Text (1 .. 8) := I.Text (1 .. 8);
return Val;
end F;
end Slice2;
|
1,259 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-dg-canvases.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,260 | ada | 0 | thieryw/snake_array_impl | snake_types.adb | with display,Ada.Containers.Hashed_Maps ;
with Ada.Strings.Hash;
with Ada.text_io; use Ada.text_io;
package body snake_types is
function Hash_Func(Key : character) return Ada.Containers.Hash_Type is
begin
return Ada.Strings.Hash(Key'Image);
end Hash_Func;
end snake_types ;
... |
1,261 | ada | 269 | ProtonAOSP-platina/android_external_libncurses | Ada95/samples/rain.adb | <reponame>ProtonAOSP-platina/android_external_libncurses<filename>Ada95/samples/rain.adb
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples ... |
1,262 | ada | 4 | faelys/gela-asis | source/asis/asis-compilation_units-relations.adb | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
1,263 | ada | 52 | onox/orka | orka/src/gl/interface/gl-context.ads | -- 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://www.apache.org/licenses/LICENSE-2.0... |
1,264 | ada | 7 | stcarrez/mat | mat/src/parser/mat-expressions-parser_io.adb | <gh_stars>1-10
-----------------------------------------------------------------------
-- mat-expressions-parser_io -- Input IO for Lex parser
-- Copyright (C) 2014, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
1,265 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Globe_3d/models/vehic002.adb | pragma Warnings (Off);
pragma Style_Checks (Off);
-- Space vehicle #002 3D model. Copyright (c) <NAME> 1999 - 2000
-- CH - 2000 Neuchatel
-- SWITZERLAND
-- Permission granted to use the herein contained 3D model for any purpose,
-- provided this copyright note remains attached and unmodified.
with G... |
1,266 | ada | 7 | TUDSSL/TICS | msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/disp2_pkg.adb | <reponame>TUDSSL/TICS<gh_stars>1-10
package body Disp2_Pkg is
function Impl_Of (Self : access Object) return Object_Ptr is
begin
return Object_Ptr (Self);
end Impl_Of;
end Disp2_Pkg;
|
1,267 | ada | 1 | reznikmm/network | source/network-addresses.ads | <reponame>reznikmm/network<filename>source/network-addresses.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Streams;
with League.Strings;
package Network.Addresses is
pragma Preelaborate;
type Add... |
1,268 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-stuten.ads | <reponame>best08618/asylo<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
1,269 | ada | 24 | svn2github/matreshka | source/web/tools/wsdl2ada/wsdl-name_resolvers.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,270 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_ch8.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
1,271 | ada | 1 | Fabien-Chouteau/samd51-hal | src/svd/sam_svd-mclk.ads | <gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.MCLK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Interrupt Enable Clear
... |
1,272 | ada | 24 | svn2github/matreshka | source/league/arch/x86_generic/matreshka-simd-intel-mmx.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,273 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95095c.ada | -- C95095C.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... |
1,274 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c62003a.ada | <gh_stars>1-10
-- C62003A.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.... |
1,275 | ada | 2 | morbos/Ada_Drivers_Library | components/src/range_sensor/VL53L0X/vl53l0x.ads | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
1,276 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imaged.adb | <filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imaged.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
1,277 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/s-tasini.adb | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
1,278 | ada | 0 | reznikmm/gela | source/contexts/plain/program-plain_lexical_elements.ads | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Source_Buffers;
with Program.Symbols;
private with Ada.Containers.Vectors;
package Program.Plain_Lexical_Elements... |
1,279 | ada | 1 | io7m/coreland-opengl-ada | opengl-state.adb | <reponame>io7m/coreland-opengl-ada
with OpenGL.Thin;
package body OpenGL.State is
function Capability_To_Constant (Capability : in Capability_t)
return Thin.Enumeration_t is
begin
case Capability is
when Alpha_Test => return Thin.GL_ALPHA_TEST;
when Auto_Normal ... |
1,280 | ada | 13 | annexi-strayline/AURA | configuration-generate_basic_config.adb | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
1,281 | ada | 0 | Letractively/ada-security | src/security-policies.adb | <gh_stars>0
-----------------------------------------------------------------------
-- security-policies -- Security Policies
-- Copyright (C) 2010, 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
1,282 | ada | 14 | Fabien-Chouteau/usb_embedded | tests/src/tests-device-hid.adb | with Interfaces; use Interfaces;
with AUnit.Assertions;
with AAA.Strings;
with HAL; use HAL;
with USB_Testing.Output;
with USB_Testing.UDC_Stub; use USB_Testing.UDC_Stub;
with USB_Testing.UDC_Scenarios;
with USB_Testing; use USB_Testing;
with USB.HAL.Device; use USB.HAL.Device;
with USB; use USB;
with USB.Device.H... |
1,283 | ada | 0 | AdaForge/Advent_of_Code_2020 | puzzle_24/src/puzzle_24.adb | procedure Puzzle_24 is
begin
null;
end Puzzle_24;
|
1,284 | ada | 0 | AntonMeep/pbkdf2 | tests/src/pbkdf2_tests.adb | with AUnit.Reporter.Text;
with AUnit.Run;
with PBKDF2.Tests;
procedure PBKDF2_Tests is
procedure Runner is new AUnit.Run.Test_Runner (PBKDF2.Tests.Suite);
Reporter : AUnit.Reporter.Text.Text_Reporter;
begin
Reporter.Set_Use_ANSI_Colors (True);
Runner (Reporter);
end PBKDF2_Tests;
|
1,285 | ada | 1 | jhumphry/Reqrep_Task_Pools | reqrep_task_pools.ads | -- reqrep_task_pool.ads
-- A task pool system for simple request-response activity
-- Copyright (c) 2015, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear... |
1,286 | ada | 1 | bracke/websitegenerator | src/commands-init.ads | <filename>src/commands-init.ads
with AAA.Strings;
private with GNAT.Strings;
package Commands.Init is
type Instance
is new CLIC.Subcommand.Command
with private;
overriding function Name (Cmd : Instance) return
CLIC.Subcommand.Identifier is ("init");
overriding procedure Execute
(Cmd : in out In... |
1,287 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-ref-man-2012.5/progs/arm_corr.adb | <reponame>caqg/linux-home
with --ARM_Output,
--ARM_Contents,
--Ada.Text_IO,
Ada.Exceptions,
Ada.Strings.Fixed,
Ada.Strings.Maps;
package body ARM_Corr is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package defines the text output object.
-- Outpu... |
1,288 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/RP/svd/rp2040/rp_svd-vreg_and_chip_reset.ads | <filename>arch/ARM/RP/svd/rp2040/rp_svd-vreg_and_chip_reset.ads
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HA... |
1,289 | ada | 24 | svn2github/matreshka | source/sql/postgresql/matreshka-internals-sql_drivers-postgresql.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,290 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/prepcomp.ads | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
1,291 | ada | 0 | btmalone/alog | aunit/aunit-run.adb | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
1,292 | ada | 0 | Fabien-Chouteau/fsmaker | src/fsmaker-source.ads | <reponame>Fabien-Chouteau/fsmaker<gh_stars>0
with System;
private with GNAT.OS_Lib;
package FSmaker.Source is
type Instance
is tagged private;
function Create (Src : String) return Instance;
function Read (This : in out Instance;
Addr : System.Address;
Len :... |
1,293 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/services/spark/lmcp_messages.ads | <filename>src/ada/src/services/spark/lmcp_messages.ads
with Ada.Containers.Functional_Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Common; use Common;
package LMCP_Messages with SPARK_Mode is
type Message_Root is abstract tagged null record;
-- Messages only contain func... |
1,294 | ada | 12 | TUM-EI-RCS/StratoX | software/modules/sensors/magnetometer.adb | <reponame>TUM-EI-RCS/StratoX
with Interfaces; use Interfaces;
with Bounded_Image; use Bounded_Image;
with HMC5883L; use HMC5883L;
with HMC5883L.Driver;
with Logger;
with Interfaces; use Interfaces;
package body Magnetometer with SPARK_Mode is
--overriding
procedure initialize (Self : in out Magnetometer_Ta... |
1,295 | ada | 0 | alire-project/sdlada | src/sdl-video-surfaces-makers.ads | <filename>src/sdl-video-surfaces-makers.ads
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2018 <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held ... |
1,296 | ada | 33 | ytomino/drake | source/s-forflo.adb | with System.Long_Long_Float_Types;
package body System.Formatting.Float is
pragma Suppress (All_Checks);
use type Long_Long_Integer_Types.Word_Unsigned;
subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned;
function modfl (value : Long_Long_Float; iptr : access Long_Long_Float)
return Long... |
1,297 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/aggr4_pkg.ads | -- { dg-excess-errors "cannot generate code" }
package Aggr4_Pkg is
function F return Integer;
type Rec1 is tagged record
I : Integer;
end record;
Zero : constant Rec1 := (I => F);
type Enum is (One, Two);
type Rec2 (D : Enum := One) is record
case D is
when One => Value : R... |
1,298 | ada | 24 | svn2github/matreshka | source/xml/sax/xml-sax-simple_readers-resolver.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
1,299 | ada | 0 | My-Colaborations/ada-el | src/el-beans.adb | <reponame>My-Colaborations/ada-el
-----------------------------------------------------------------------
-- EL.Beans -- Bean utilities
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in comp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.