id int64 0 30.9k | extension stringclasses 1
value | max_stars_count int64 0 17k | max_stars_repo_name stringlengths 7 106 | max_stars_repo_path stringlengths 5 136 | text stringlengths 9 1M |
|---|---|---|---|---|---|
29,100 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-stzunb__shared.ads | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-stzunb__shared.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS ... |
29,101 | ada | 0 | iyan22/AprendeAda | ejercicios3/escribir_lista.adb | with Ada.Text_Io, Ada.Integer_Text_Io; use Ada.Text_Io, Ada.Integer_Text_Io;
with datos; use datos;
procedure escribir_lista (L : in Lista_Enteros ) is
--Pre:
--Post: se han escrito en pantalla los valores de L
-- desde 1 hasta L.Cont
begin
for pos in 1 .. L.Cont loop
Put(L.Numeros(pos... |
29,102 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/s-hibaen.ads | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
29,103 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/services/spark/afrl-cmasi-lmcptask-spark_boundary.ads | <filename>src/ada/src/services/spark/afrl-cmasi-lmcptask-spark_boundary.ads
with AFRL.impact.AngledAreaSearchTask;
with AFRL.impact.ImpactLineSearchTask;
with AFRL.impact.ImpactPointSearchTask;
package AFRL.CMASI.lmcptask.SPARK_Boundary with SPARK_Mode is
pragma Annotate (GNATprove, Terminating, SPARK_Boundary);
... |
29,104 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/svd/lpc55s6x/nxp_svd-usbphy.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.USBPHY is
pragma Preelaborate;
... |
29,105 | ada | 1 | Scottx86-64/dotfiles-1 | source/pkgsrc/lang/gcc34/files/7netbsdtpopsp.adb | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
29,106 | ada | 0 | shelld3v/Amass | resources/scripts/api/hackertarget.ads | <gh_stars>0
-- Copyright 2017 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "HackerTarget"
type = "api"
function start()
setratelimit(1)
end
function vertical(ctx, domain)
scrape(ctx, {url=bu... |
29,107 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-ststop.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
29,108 | ada | 0 | TNO/Dependency_Graph_Extractor-Ada | src/extraction-project_files.adb | <gh_stars>0
with Extraction.Node_Edge_Types;
package body Extraction.Project_Files is
use type GPR.Project_Type;
procedure Extract_Nodes
(Project : GPR.Project_Type; Graph : Graph_Operations.Graph_Context)
is
begin
Graph.Write_Node (Project);
Graph.Write_Node (Project.Project_Path);
e... |
29,109 | ada | 0 | DrenfongWong/tkm-rpc | specs/ada/common/tkmrpc-response.ads | <reponame>DrenfongWong/tkm-rpc
with Tkmrpc.Types;
with Tkmrpc.Results;
with Tkmrpc.Operations;
package Tkmrpc.Response is
Response_Size : constant := 1024;
Header_Size : constant := 24;
Body_Size : constant := Response_Size - Header_Size;
type Header_Type is record
Operation : Operations.Oper... |
29,110 | ada | 0 | fintatarta/eugen | src/Processors/LaTeX/latex_writer-picture.adb | <filename>src/Processors/LaTeX/latex_writer-picture.adb
pragma Ada_2012;
package body Latex_Writer.Picture is
--------------------
-- Within_Picture --
--------------------
procedure Within_Picture
(Output : File_Access;
Width : Picture_Length;
Heigth : Picture_Length;
Ca... |
29,111 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/impact-d3-space.ads | <gh_stars>10-100
with impact.d3.Shape.convex;
with impact.d3.Dispatcher;
with impact.d3.collision.Broadphase;
with impact.d3.collision.Configuration;
with impact.d3.Object;
with ada.containers.Vectors;
with impact.d3.collision.overlapped_pair_Callback.cached;
with impact.d3.collision.Proxy;
with impact.d3.manifold_Poin... |
29,112 | ada | 0 | DrenfongWong/tkm-rpc | specs/ada/common/tkmrpc-request-cfg.ads | <filename>specs/ada/common/tkmrpc-request-cfg.ads
package Tkmrpc.Request.Cfg is
end Tkmrpc.Request.Cfg;
|
29,113 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/opengl-frame_buffer.ads | <reponame>charlie5/lace
with
openGL.Texture;
package openGL.Frame_Buffer
is
type Item is tagged private;
null_Buffer : constant Item;
---------
--- Forge
--
package Forge
is
function to_Frame_Buffer return Item;
function to_Frame_Buffer (Width,
... |
29,114 | ada | 0 | reznikmm/clic | example/src/clic_ex-commands-tty.adb | with CLIC.TTY; use CLIC.TTY;
with Ada.Text_IO; use Ada.Text_IO;
package body CLIC_Ex.Commands.TTY is
package TTY renames CLIC.TTY;
-------------
-- Execute --
-------------
overriding
procedure Execute (Cmd : in out Instance; Args : AAA.Strings.Vector)
is
begin
Put_Line (TTY.Bold ("CLI... |
29,115 | ada | 3 | ytomino/boehmgc-ada | examples/version.adb | with Ada.Text_IO;
with GC;
procedure version is
begin
Ada.Text_IO.Put_Line (GC.Version);
end version;
|
29,116 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_3.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_3.adb<gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
with Atomic6_Pkg; use Atomic6_Pkg;
procedure Atomic6_3 is
function F (I : Integer) return Integer is
begin
return I;
end;
function F2 return Integer is
begin
... |
29,117 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-strops.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
29,118 | ada | 7 | stcarrez/mat | mat/src/mat-formats.ads | <gh_stars>1-10
-----------------------------------------------------------------------
-- mat-formats - Format various types for the console or GUI interface
-- Copyright (C) 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fil... |
29,119 | ada | 80 | thindil/steamsky | tests/bases-test_data-tests.adb | <reponame>thindil/steamsky
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to... |
29,120 | ada | 6 | Heziode/ada-dotenv | example/src/example_3.adb | with Ada.Environment_Variables;
with Print_Variable;
with Load_Environment_Variables;
with Ada.Text_IO;
procedure Example_3 is
begin
Ada.Text_IO.Put_Line ("Start main");
Ada.Environment_Variables.Iterate (Print_Variable'Access);
end Example_3;
|
29,121 | ada | 1 | selroc/Renaissance-Ada | src/tools/Dependency_Graph_Extractor/src/extraction-utilities.adb | with Ada.Characters.Handling;
with GNAT.OS_Lib;
with GNATCOLL.VFS_Utils;
with Libadalang.Project_Provider;
package body Extraction.Utilities is
package LALPP renames Libadalang.Project_Provider;
use type GPR.Project_Type;
use type GPR.Unit_Parts;
use type LALCO.Ada_Node_Kind_Type;
use type VFS.Filesys... |
29,122 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-internals-tables-umldi_metamodel-objects.ads | <filename>source/amf/uml/amf-internals-tables-umldi_metamodel-objects.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
29,123 | ada | 60 | RREE/ada-util | regtests/util-serialize-io-form-tests.adb | -----------------------------------------------------------------------
-- util-serialize-io-form-tests -- Unit tests for form parser
-- Copyright (C) 2018, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compli... |
29,124 | ada | 0 | optikos/oasis | source/oasis/program-elements-explicit_dereferences.ads | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
package Program.Elements.Explicit_Dereferences is
pragma Pure (Program.Elements.... |
29,125 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/string_slice.adb | -- { dg-do run }
-- { dg-options "-O" }
procedure string_slice is
subtype Key_T is String (1 .. 3);
function One_Xkey return Key_T is
Key : Key_T := "XXX";
begin
Key (1 .. 2) := "__";
return Key;
end;
Key : Key_T := One_Xkey;
begin
if Key (3) /= 'X' then
raise Program_Erro... |
29,126 | ada | 13 | Fabien-Chouteau/GESTE | examples/utils/sdl/sdl_sdl_video_h.ads | <gh_stars>10-100
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_SDL_stdinc_h;
with System;
with Interfaces.C.Extensions;
with Interfaces.C.Strings;
limited with SDL_SDL_rwops_h;
package SDL_SDL_video_h is
SDL_ALPHA_OPAQUE : constant := 255; -- ../include/SDL/SDL_video.h:44... |
29,127 | ada | 15 | My-Colaborations/dynamo | src/asis/asis-compilation_units-times.adb | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
29,128 | ada | 60 | RREE/ada-util | src/base/beans/util-beans-objects-time.ads | -----------------------------------------------------------------------
-- util-beans-objects-time -- Helper conversion for Ada Calendar Time
-- Copyright (C) 2010, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
29,129 | ada | 1 | LagOussama/enseeiht | 2IMA/SystemesConcurrents/tp6/gtk-builder.ads | <reponame>LagOussama/enseeiht<gh_stars>1-10
-----------------------------------------------------------------------
-- GtkAda - Ada95 binding for Gtk+/Gnome --
-- --
-- Copyright (C) 2010-2011, AdaCore ... |
29,130 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/4zintnam.ads | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
29,131 | ada | 2 | thindil/tashy2 | tests/tk-test_data-tests.adb | <filename>tests/tk-test_data-tests.adb
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code... |
29,132 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a74205e.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a74205e.ada<gh_stars>1-10
-- A74205E.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
... |
29,133 | ada | 516 | r00ster91/completely-unscientific-benchmarks | ada/tree_naive_pointers.ads | with Ada.Numerics.Discrete_Random;
package Tree_Naive_Pointers is
type Node is private;
type NodePtr is access Node;
type Tree is private;
procedure initialize;
function hasValue(t: in out Tree; x: Integer) return Boolean;
procedure insert(t: in out Tree; x: Integer);
procedure erase(t: in out Tree; x: Integer)... |
29,134 | ada | 6 | jonashaggstrom/ada-canopen | src/aco-protocols.ads | with Ada.Finalization;
with ACO.Messages;
with ACO.OD;
package ACO.Protocols is
type Protocol
(Od : not null access ACO.OD.Object_Dictionary'Class)
is abstract new Ada.Finalization.Limited_Controlled with private;
type Protocol_Access is access all Protocol'Class;
function Is_Valid
(This : i... |
29,135 | ada | 3 | Heziode/aoc-ada-2021 | 05/1/src/main.adb | <filename>05/1/src/main.adb
with Ada.Containers.Vectors,
Ada.Execution_Time,
Ada.Exceptions,
Ada.Integer_Text_IO,
Ada.Real_Time,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Containers,
Ada.Execution_Time,
Ada.Real_Time,
Ada.Text_IO;
use Utils;
type Coordi... |
29,136 | ada | 3 | charlie5/aIDE | attic/asis/find_entities/adam-assist-query-find_entities-unit_processing.ads | with
Asis;
package AdaM.Assist.Query.find_Entities.unit_Processing
is
procedure Process_Unit (The_Unit : in Asis.Compilation_Unit);
end AdaM.Assist.Query.find_Entities.unit_Processing;
|
29,137 | ada | 0 | persan/advent-of-code-2020 | src/day-3/adventofcode-day_3.ads | with Ada.Containers.Indefinite_Vectors;
-- https://adventofcode.com/2020/day/3
--
--- Day 3: Toboggan Trajectory ---
--
-- With the toboggan login problems resolved, you set off toward the airport.
-- While travel by toboggan might be easy, it's certainly not safe:
-- there's very minimal steering and the area is c... |
29,138 | ada | 0 | JCGobbi/Nucleo-STM32H743ZI | ADL/drivers/stm32h743/stm32-adc.ads | <filename>ADL/drivers/stm32h743/stm32-adc.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
29,139 | ada | 2 | thindil/tashy2 | tests/tk-frame-frame_options_test_data.adb | <filename>tests/tk-frame-frame_options_test_data.adb<gh_stars>1-10
-- This package is intended to set up and tear down the test environment.
-- Once created by GNATtest, this package will never be overwritten
-- automatically. Contents of this package can be modified in any way
-- except for sections surrounded by... |
29,140 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/switch-c.adb | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/switch-c.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
29,141 | ada | 5 | onox/wayland-ada | wayland_egl_ada/src/wayland-egl_api.ads | <gh_stars>1-10
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 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/license... |
29,142 | ada | 24 | svn2github/matreshka | source/league/ucd/matreshka-internals-unicode-ucd-core_0110.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
29,143 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cfdlli.adb | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
29,144 | ada | 0 | VMika/Des_Ada | Des_Ada/src/concrete_handler/p_stephandler-iphandler.adb | <gh_stars>0
with P_StructuralTypes;
use P_StructuralTypes;
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Ada.Sequential_IO;
with Ada.Strings.Unbounded;
package body P_StepHandler.IPHandler is
function Make (Handler : in out IPHandler) return IPHandler is
begin
... |
29,145 | ada | 204 | spr93/whitakers-words | src/latin_utils/latin_utils-inflections_package-preposition_record_io.adb | <gh_stars>100-1000
-- 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. However, just for form, it is Copyrighted
-... |
29,146 | ada | 30 | jscparker/math_packages | linear_algebra/bidiagonal.adb |
-----------------------------------------------------------------------
-- package body Bidiagonal; bidiagonalizes real valued matrices.
-- Copyright (C) 2015-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the a... |
29,147 | ada | 18 | jquorning/ada-wiki | src/wiki-filters-autolink.ads | -----------------------------------------------------------------------
-- wiki-filters-autolink -- Autolink filter to identify links in wiki
-- Copyright (C) 2016, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
29,148 | ada | 0 | e3l6/SSMDev | demo/adainclude/s-taprop.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
29,149 | ada | 5 | jhumphry/auto_counters | src/kvflyweights/kvflyweights-refcounted_ptrs.ads | -- kvflyweights-refcounted_ptrs.ads
-- A package of reference-counting generalised references which point to
-- resources inside a KVFlyweight. Resources are associated with a key that can
-- be used to create them if they have not already been created.
-- Copyright (c) 2016, <NAME>
--
-- Permission to use, copy, modi... |
29,150 | ada | 1 | zrmyers/VulkanAda | src/vulkan-math/numerics/vulkan-math-numerics.adb | --------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <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 r... |
29,151 | ada | 2 | Fabien-Chouteau/motherlode | src/motherload.ads | <filename>src/motherload.ads
-- Motherlode
-- Copyright (c) 2020 <NAME>
package Motherload is
procedure Run;
end Motherload;
|
29,152 | ada | 33 | ytomino/drake | source/hash/a-swbwha.adb | <filename>source/hash/a-swbwha.adb
with Ada.Strings.Wide_Hash;
function Ada.Strings.Wide_Bounded.Wide_Hash (
Key : Bounded.Bounded_Wide_String)
return Containers.Hash_Type is
begin
return Strings.Wide_Hash (Key.Element (1 .. Key.Length));
end Ada.Strings.Wide_Bounded.Wide_Hash;
|
29,153 | ada | 33 | ytomino/drake | source/a-eifrhe.ads | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Exception_Identification.From_Here is
-- For shorthand.
pragma Pure;
procedure Raise_Exception (
E : Exception_Id;
File : String := Debug.File;
Line : Integer := Debug.Line)
renames Raise_Exception_From_Here... |
29,154 | ada | 0 | Letractively/ada-security | regtests/security-testsuite.adb | <gh_stars>0
-----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 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... |
29,155 | ada | 1 | TNO/Rejuvenation-Ada | src/rejuvenation-placeholders.adb | with GNAT.Regpat; use GNAT.Regpat;
with Rejuvenation.Finder; use Rejuvenation.Finder;
with Rejuvenation.Utils; use Rejuvenation.Utils;
package body Rejuvenation.Placeholders is
Placeholder_Matcher : constant GNAT.Regpat.Pattern_Matcher :=
Compile ("\$[SM]_[a-zA-Z0-9_]+");
function Is_Placeholder_... |
29,156 | ada | 0 | My-Colaborations/ada-ado | src/sqlite/sqlite3_h.ads | pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
-- with Interfaces.C.Extensions;
with System;
package Sqlite3_H is
pragma Preelaborate;
-- unsupported macro: SQLITE_EXTERN extern
SQLITE_VERSION : aliased constant String := "3.11.0" & ASCII.NUL; -- /usr/include... |
29,157 | ada | 81 | My-Colaborations/ada-awa | awa/plugins/awa-mail/src/awa-mail-beans.ads | <filename>awa/plugins/awa-mail/src/awa-mail-beans.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- awa-mail-beans -- Beans for mail module
-- Copyright (C) 2012, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Licens... |
29,158 | ada | 0 | AdaForge/Advent_of_Code_2020 | puzzle_15/src/puzzle_15.adb | procedure Puzzle_15 is
begin
null;
end Puzzle_15;
|
29,159 | ada | 30 | jrmarino/AdaBase | testcases/memcheck/memcheck.adb | with AdaBase.Results.Sets;
with Connect;
with CommonText;
with Ada.Text_IO;
with Ada.Command_Line;
procedure Memcheck is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package CLI renames Ada.Command_Line;
package AR renames AdaBase.Results;
package CT renames CommonText;
procedure... |
29,160 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46052a.ada | <gh_stars>1-10
-- C46052A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.... |
29,161 | ada | 0 | alexcamposruiz/dds-requestreply | examples/hello_world_request_reply2/src/primes-primenumberrequester.ads | <gh_stars>0
with Primes_IDL_File.PrimeNumberRequest_DataWriter;
with Primes_IDL_File.PrimeNumberReply_DataReader;
with DDS.Typed_Requester_Generic;
package Primes.PrimeNumberRequester is new DDS.Typed_Requester_Generic
(Request_DataWriters => Primes_IDL_File.PrimeNumberRequest_DataWriter,
Reply_DataReaders => Pr... |
29,162 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-chtgop.ads | <filename>llvm-gcc-4.2-2.9/gcc/ada/a-chtgop.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
29,163 | ada | 4 | davidkristola/vole | kv.ads | package kv is
pragma Pure;
end kv;
|
29,164 | ada | 33 | persan/zeromq-Ada | src/zmq-contexts.adb | <reponame>persan/zeromq-Ada
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- ... |
29,165 | ada | 4 | Lucretia/raytracer_challenge | src/ray_tracer.adb | <reponame>Lucretia/raytracer_challenge
procedure Ray_Tracer is
begin
null;
end Ray_Tracer;
|
29,166 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstaudioencoder_h.ads | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstaudioencoder_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h;
with GStreamer.GST_Low... |
29,167 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug9.adb | <gh_stars>1-10
-- The aim of this test is to check that Ada types appear in the proper
-- context in the debug info.
--
-- Checking this directly would be really tedious just scanning for assembly
-- lines, so instead we rely on DWARFv4's .debug_types sections, which must be
-- created only for global-scope types.... |
29,168 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-i2c.adb | <reponame>fabiojna02/OpenCellular<filename>firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-i2c.adb
--
-- Copyright (C) 2015 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 ... |
29,169 | ada | 6 | gerr135/ada_gems | ada_lists/src/lists-vectors.adb | -- with Ada.Text_IO; use Ada.Text_IO;
package body Lists.Vectors is
overriding
function Element_Constant_Reference (Container : aliased in List; Index : Index_Type) return Constant_Reference_Type is
VCR : ACV.Constant_Reference_Type := ACV.Vector(Container).Constant_Reference(Index);
CR : Cons... |
29,170 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array27_pkg.adb | package body Array27_Pkg is
function F return Inner_Type is
begin
return "123";
end;
end Array27_Pkg;
|
29,171 | ada | 4 | davidkristola/vole | kv-avm-test-runners.adb | <gh_stars>1-10
with Ada.Unchecked_Deallocation;
with kv.avm.Log; use kv.avm.Log;
with kv.avm.Actor_Pool;
package body kv.avm.Test.Runners is
use Interfaces;
-----------------------------------------------------------------------------
procedure Execute
(Self : in out Base_Behavior_Type;
Runn... |
29,172 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/drivers/nxp-pint.adb | with HAL; use HAL;
with NXP.Device; use NXP.Device;
with NXP_SVD; use NXP_SVD;
with NXP_SVD.SYSCON; use NXP_SVD.SYSCON;
with NXP_SVD.PINT; use NXP_SVD.PINT;
with System; use System;
package body NXP.Pint is
PINT : aliased PINT_Peripheral
with Import, Address =... |
29,173 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/5gtaprop.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
29,174 | ada | 3 | vasil-sd/ada-tlsf | tlsf/src/proof/model/block/tlsf-proof-model-block.ads | <filename>tlsf/src/proof/model/block/tlsf-proof-model-block.ads
with Ada.Containers;
with Ada.Containers.Functional_Vectors;
with TLSF.Block.Types;
with TLSF.Config; use TLSF.Config;
package TLSF.Proof.Model.Block with SPARK_Mode, Ghost is
package BT renames TLSF.Block.Types;
type Block is record
Add... |
29,175 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/loop_optimization1.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/loop_optimization1.ads
-- { dg-do compile }
-- { dg-options "-O3" }
with Loop_Optimization1_Pkg;
package Loop_Optimization1 is
type Kind_Type is (One, Two, Three, Four);
type Array_Type is array (Kind_Type) of Boolean;
pragma Pack (Array_Type);
pac... |
29,176 | ada | 36 | rewriting/tom | src/tom/library/sl/ada/choicestrategy.ads | <reponame>rewriting/tom
with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
package ChoiceStrategy is
FIRST : constant Integer := 0;
SECOND : constant Integer := 1;
type Choice is new A... |
29,177 | ada | 12 | mgrojo/protobuf | source/runtime/generated/google-protobuf-duration.ads | with Ada.Finalization;
with Ada.Streams;
with Interfaces;
package Google.Protobuf.Duration is
type Duration_Vector is tagged private
with Variable_Indexing => Get_Duration_Variable_Reference,
Constant_Indexing => Get_Duration_Constant_Reference;
type Duration is
record
Seconds : Interfac... |
29,178 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | examples/stm32f0/rfm69_moter/modem/last_chance_handler.adb | <reponame>ekoeppen/STM32_Generic_Ada_Drivers
with STM32GD.Board;
with STM32_SVD; use STM32_SVD;
with STM32_SVD.USART; use STM32_SVD.USART;
package body Last_Chance_Handler is
procedure Put_Char (Char : Byte) is
begin
while USART1_Periph.ISR.TXE = 0 loop
null;
end loop;
USART1_Periph.T... |
29,179 | ada | 33 | persan/zeromq-Ada | src/zmq-utilities-memory_streams.ads | <reponame>persan/zeromq-Ada
-------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020-2030, <EMAIL> --
-- ... |
29,180 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-convex_plane.ads | <reponame>charlie5/lace<filename>3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-convex_plane.ads
with
impact.d3.Dispatcher,
impact.d3.collision.manifold_Result,
impact.d3.collision.create_Func;
with impact.d3.Manifold;
with impact.d3.collision.Algorithm;
with impact.d3.Object;
... |
29,181 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86004c1.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86004c1.ada
-- C86004C1.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
-- unli... |
29,182 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/prompts/110_private_types/input.adb | with Ada.Text_IO; use Ada.Text_IO;
package body Input is
function Get return Colors.Color_Set_T is
Ret_Val : Colors.Color_Set_T;
begin
-- Query user to determine what colors to add to the set
return Ret_Val;
end Get;
end Input;
|
29,183 | ada | 1 | Fabien-Chouteau/pygamer-simulator | src/pygamer-audio.adb | <reponame>Fabien-Chouteau/pygamer-simulator<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with GNAT.OS_Lib;
with System;
with Interfaces; use Interfaces;
with Interfaces.C; use Interfaces.C;
with Sf.Audio; use Sf.Audio;
with Sf.Audio.SoundStream; use Sf.Audio.SoundStream;
with Sf; use Sf;
package body PyGamer.A... |
29,184 | ada | 0 | optikos/oasis | source/nodes/program-nodes-discrete_subtype_indications.adb | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Discrete_Subtype_Indications is
function Create
(Subtype_Mark : not null P... |
29,185 | ada | 0 | faelys/natools | tests/natools-chunked_strings-tests-bugfixes.adb | ------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
29,186 | ada | 33 | ytomino/drake | source/nls/machine-apple-darwin/c-icucore.ads | pragma License (Unrestricted); -- ICU License
-- translated unit from icu4c of http://site.icu-project.org/
--
-- **********************************************************************
-- * Copyright (C) 1996-2010, International Business Machines
-- * Corporation and others. All Rights Reserved.
-- **********... |
29,187 | ada | 0 | Roldak/OpenGLAda | src/gl/implementation/gl-helpers.adb | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package body GL.Helpers is
function Float_Array (Value : Colors.Color) return Low_Level.Single_Array is
use GL.Types.Colors;
begin
return Low_Level.Single_Array'(1 => Value (R),
... |
29,188 | ada | 8 | mhatzl/spark_unbound | tests/src/Safe_Alloc/safe_alloc_suite.ads | <gh_stars>1-10
with AUnit.Test_Suites; use AUnit.Test_Suites;
package Safe_Alloc_Suite is
function Suite return Access_Test_Suite;
end Safe_Alloc_Suite;
|
29,189 | ada | 0 | 0xA1/pi-spi | spec/spi.ads | <reponame>0xA1/pi-spi<filename>spec/spi.ads<gh_stars>0
-- --
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy... |
29,190 | ada | 1 | Fabien-Chouteau/samd51-hal | src/svd/sam_svd-dsu.ads | 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.DSU is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Control
type DSU_CTRL_Register is reco... |
29,191 | ada | 30 | jscparker/math_packages | disorderly/rank_distr.adb |
with text_io;
procedure rank_distr is
type Real is digits 15;
L : constant Integer := 61; -- length of vector in bits
k : constant Integer := L; -- no of vectors in matrix whose rank is to be calculated.
Sum, Product : Real;
Prob : array(1..k) of Real := (others => 0.0);
begin
for x in k-7 .. k loop
... |
29,192 | ada | 1 | reznikmm/mount_photos | src/photo_files.ads | -- Copyright (c) 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Streams;
with Ada.Containers.Hashed_Maps;
with Fuse.Main;
with League.Stream_Element_Vectors;
with League.Strings.Hash;
package Photo_Files... |
29,193 | ada | 0 | joewing/arbitrary | arbitrary.adb | <filename>arbitrary.adb
--------------------------------------------------------------------------
-- Arbitrary Precision Math Library
-- <NAME> 20020320 <> 20020327
--------------------------------------------------------------------------
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package b... |
29,194 | ada | 0 | mstewartgallus/linted | src/ada-core/src/linted-wait_lists.adb | <reponame>mstewartgallus/linted
-- Copyright 2016,2017 <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... |
29,195 | ada | 3 | charlie5/aIDE | source/declarations/adam-declaration-of_package.adb | with
AdaM.Factory,
AdaM.Entity;
with Ada.Text_IO; use Ada.Text_IO;
package body AdaM.Declaration.of_package
is
-- Storage Pool
--
record_Version : constant := 1;
max_Packages : constant := 5_000;
package Pool is new AdaM.Factory.Pools (".adam-store",
... |
29,196 | ada | 4 | faelys/gela-asis | tools/xml2ayacc/encoding/encodings-maps.ads | --------------------------------------------------------
-- E n c o d i n g s --
-- --
-- Tools for convertion strings between Unicode and --
-- national/vendor character sets. --
-- - - - - - - - - -... |
29,197 | ada | 81 | My-Colaborations/ada-awa | awa/plugins/awa-images/src/awa-images-modules.ads | <filename>awa/plugins/awa-images/src/awa-images-modules.ads
-----------------------------------------------------------------------
-- awa-images-modules -- Image management module
-- Copyright (C) 2012, 2016, 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the... |
29,198 | ada | 1 | skill-lang/skillAdaTestSuite | test/constants/test_constants-write.ads | <reponame>skill-lang/skillAdaTestSuite<gh_stars>1-10
with Ada.Directories;
with Ahven.Framework;
with Constants.Api;
with Ada.Text_IO;
package Test_Constants.Write is
package Skill renames Constants.Api;
use Constants;
use Constants.Api;
type Test is new Ahven.Framework.Test_Case with null record;
p... |
29,199 | ada | 0 | csb6/libtcod-ada | src/generated/bsp_h.ads | <filename>src/generated/bsp_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with tree_h;
with Interfaces.C.Extensions;
with System;
with mersenne_types_h;
package bsp_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.