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 |
|---|---|---|---|---|---|
8,900 | ada | 30 | jscparker/math_packages | arbitrary/e_function_demo_1.adb | with Extended_Real;
with Extended_Real.Elementary_Functions;
with Extended_Real.IO;
with Ada.Numerics.Generic_Elementary_Functions;
with Text_IO; use Text_IO;
procedure e_function_demo_1 is
type Real is digits 15;
package mth is new Ada.Numerics.Generic_Elementary_Functions (Real);
use mth;
package ext ... |
8,901 | ada | 0 | alexcamposruiz/dds-requestreply | src/dds-request_reply-replier2.adb | with DDS.DataReader;
with Dds;
with DDS.Request_Reply.Connext_C_Replier;
with DDS.Request_Reply.Connext_C_Entity_Params;
with Ada.Unchecked_Deallocation;
with DDS.Request_Reply.Connext_C_Untyped_Impl;
with DDS.Request_Reply.Untypedcommon;
package body DDS.Request_Reply.Replier is
use DDS.Request_Reply;
use Conn... |
8,902 | ada | 33 | ytomino/drake | source/textio/machine-pc-freebsd/a-titcna.ads | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit specialized for POSIX (Darwin, FreeBSD, or Linux)
package Ada.Text_IO.Terminal.Colors.Names is
-- Constants for system-specific system colors.
Black : constant Color; -- (R => 0.0, G => 0.0, B => 0.0)
Dark_Red : constant Color; -- (R => 0.75, ... |
8,903 | ada | 1 | lholzi/emulator_8080 | src/emulator_8080.ads | <reponame>lholzi/emulator_8080<filename>src/emulator_8080.ads<gh_stars>1-10
package Emulator_8080 is
type Byte_Type is mod 256;
for Byte_Type'Size use 8;
type Byte_Array_Type is array(Natural range <>) of Byte_Type;
end Emulator_8080;
|
8,904 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/dump.ads | with System.Storage_Elements; use System.Storage_Elements;
procedure Dump (A : System.Address; Len : Storage_Offset);
|
8,905 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95009a.ada | -- C95009A.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... |
8,906 | ada | 4 | FrankBuss/Ada_Synth | ada/common/midi_synthesizer.adb | package body MIDI_Synthesizer is
function Create_Synthesizer return access Synthesizer is
Ret : constant access Synthesizer := new Synthesizer;
Base : Float := 8.1757989156; -- MIDI note C1 0
begin
Ret.MIDI_Parser := Create_Parser (Ret);
for I in Ret.MIDI_Notes'... |
8,907 | ada | 0 | Letractively/ada-awa | awa/plugins/awa-questions/src/awa-questions-beans.adb | <filename>awa/plugins/awa-questions/src/awa-questions-beans.adb
-----------------------------------------------------------------------
-- awa-questions-beans -- Beans for module questions
-- Copyright (C) 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Li... |
8,908 | ada | 0 | balintsoos/LearnAda | gyak/gyak1-2/faktor.adb | <reponame>balintsoos/LearnAda
with Ada.Integer_Text_IO;
procedure Faktor is
N : Integer;
Fakt : Integer := 1;
begin
Ada.Integer_Text_IO.Get( N );
for I in 1..N loop
Fakt := Fakt * I;
end loop;
Ada.Integer_Text_IO.Put( Fakt );
end Faktor;
|
8,909 | ada | 79 | Roldak/OpenGLAda | src/gl/implementation/gl-vectors.adb | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package body GL.Vectors is
function "+" (Left, Right : Vector) return Vector is
Ret : Vector;
begin
for I in Index_Type'Range loop
Ret (I) := Left (I) + Right (I);
end loop;
... |
8,910 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/stack_usage3.adb | -- { dg-do compile }
-- { dg-options "-O -fstack-usage" }
with Ada.Text_IO; use Ada.Text_IO;
with Stack_Usage3_Pkg; use Stack_Usage3_Pkg;
procedure Stack_Usage3 is
begin
Put_Line (Diag ("Diag line 1"));
Put_Line (Diag ("Diag line 2"));
Put_Line (Diag ("Diag line 3"));
Put_Line (Diag ("Diag line 4"));
P... |
8,911 | ada | 4 | faelys/gela-asis | source/asis/asis-gela-implicit-limited_view.adb | <filename>source/asis/asis-gela-implicit-limited_view.adb
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- ... |
8,912 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/box1.ads | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
package box1 is
type Root is tagged null record;
type Der1 is new Root with record
B : Boolean;
end record;
type Der2 is new Der1 with null record;
type Der3 is new Der2 with null record;
Obj : Der3 := (Der2 with others => <>);
end;
|
8,913 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34008a.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34008a.ada
-- C34008A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
8,914 | ada | 3 | pyjarrett/archaic_terminal | src/common/trendy_terminal-environments.adb | -------------------------------------------------------------------------------
-- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file)
-- 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 Lic... |
8,915 | ada | 5 | argvsc47/Lists_Ada_Package | src/lists.ads |
generic
type T_Data is private;
with function Data_Image(Data:T_Data) return String;
with function "="(L,R: T_Data) return Boolean;
with procedure Delete_Object(Object: T_Data);
package lists is
Element_not_in_the_list : exception;
Get_Index_Value_Outside_the_list : exc... |
8,916 | ada | 5 | docandrew/troodon | include/bits_types_u_file_h.ads | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_struct_FILE_h;
package bits_types_u_FILE_h is
subtype uu_FILE is bits_types_struct_FILE_h.u_IO_FILE; -- /usr/include/bits/types/__FILE.h:5
end bits_types_u_FILE_h;
|
8,917 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_encoding_profile_h.ads | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h;
with glib;
with System;
with glib;
with glib.Values;
with System;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h;
-- limited with ... |
8,918 | ada | 5 | HeisenbugLtd/flac-ada | sources/flac-reader.ads | ------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the... |
8,919 | ada | 5 | alkhimey/Ada_Curve | src/main.adb | -- The MIT License (MIT)
--
-- Copyright (c) 2016 <EMAIL>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, c... |
8,920 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/hpl/STM32/svd/stm32f40x/stm32_svd-i2c.ads | -- This spec has been automatically generated from STM32F40x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with HAL;
with System;
package STM32_SVD.I2C is
pragma Preelaborate;
---------------
-- Registers --
---------------
------------------
-- CR1_Register --
-------------... |
8,921 | ada | 0 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt45.adb | -- { dg-do compile }
-- { dg-options "-O3" }
procedure Opt45 is
type Index_T is mod 2 ** 32;
for Index_T'Size use 32;
for Index_T'Alignment use 1;
type Array_T is array (Index_T range <>) of Natural;
type Array_Ptr_T is access all Array_T;
My_Array_1 : aliased Array_T := (1, 2);
My_Array_... |
8,922 | ada | 0 | Adept-Space/pn | pnwtl/tests/schemesamples/ada.ada | <gh_stars>0
WITH Spider;
PROCEDURE Draw_Box_with_1_Loop IS
------------------------------------------------------------------
--| draw 4 x 4 box with spider - use loop
--| Author: <NAME>, The George Washington University
--| Last Modified: July 1995
------------------------------------------------------------------
B... |
8,923 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/i-cpoint.ads | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/i-cpoint.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
8,924 | ada | 7 | fabiojna02/OpenCellular | firmware/coreboot/src/lib/gnat/s-stoele.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
8,925 | ada | 1 | TNO/Rejuvenation-Ada | src/rejuvenation-finder.adb | <reponame>TNO/Rejuvenation-Ada<filename>src/rejuvenation-finder.adb<gh_stars>1-10
package body Rejuvenation.Finder is
-- Public: Find Node_Kind --------
function Find
(Node : Ada_Node'Class;
Predicate : not null access function
(Node : Ada_Node'Class) return Boolean)
return Node_Li... |
8,926 | ada | 33 | ytomino/drake | source/tasking/machine-apple-darwin/s-intnum.adb | <gh_stars>10-100
package body System.Interrupt_Numbers is
function Is_Reserved (Interrupt : C.signed_int) return Boolean is
begin
return Interrupt not in First_Interrupt_Id .. Last_Interrupt_Id
or else Interrupt = C.signal.SIGKILL
or else Interrupt = C.signal.SIGSTOP;
end Is_Reserved;
... |
8,927 | ada | 269 | ProtonAOSP-platina/android_external_libncurses | Ada95/src/terminal_interface-curses-forms-field_types-user-choice.adb | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... |
8,928 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/dispatch/impact-d3-dispatcher-collision.adb | <reponame>charlie5/lace
with ada.Unchecked_Deallocation;
with impact.d3.Containers;
with impact.d3.collision.Proxy;
package body impact.d3.Dispatcher.collision
is
--- Globals
--
gNumManifold : Integer := 0;
type Object_view is access all impact.d3.Object.item'Class;
--- Forge
--
functi... |
8,929 | ada | 0 | reznikmm/gela | source/oasis/program-elements-record_component_associations.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Associations;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Elements.Record_Compon... |
8,930 | ada | 0 | My-Colaborations/ada-util | regtests/util-streams-tests.adb | -----------------------------------------------------------------------
-- util-streams-tests -- Unit tests for encoding buffered streams
-- Copyright (C) 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
8,931 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | examples/stm32f0/interrupts/peripherals.ads | <filename>examples/stm32f0/interrupts/peripherals.ads<gh_stars>1-10
with Ada.Interrupts.Names;
with STM32GD.Timer;
with STM32GD.Timer.Peripheral;
package Peripherals is
package Timer is new STM32GD.Timer.Peripheral (Timer => STM32GD.Timer.Timer_14, IRQ => Ada.Interrupts.Names.TIM14);
end Peripherals;
|
8,932 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/a-exetim__default.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
8,933 | ada | 0 | TNO/Rejuvenation-Ada | workshop/src/count_subprogram.adb | <filename>workshop/src/count_subprogram.adb
package body Count_Subprogram is
procedure P2A (x, y : Integer) is null;
procedure P2B (x : Integer; y : Integer) is null;
procedure P4A (k, l, m, n : Integer) is null;
procedure P4B (k : Integer; l : Integer; m : Integer; n : Integer) is null;
procedure P3A... |
8,934 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/casing.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
8,935 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Number-names/Ada/number-names.ada | <filename>Task/Number-names/Ada/number-names.ada
with Ada.Text_IO;
procedure Integers_In_English is
type Spellable is range -999_999_999_999_999_999..999_999_999_999_999_999;
function Spell (N : Spellable) return String is
function Twenty (N : Spellable) return String is
begin
case N mod 20... |
8,936 | ada | 1 | Fabien-Chouteau/sdlada | src/sdl-c_pointers.ads | <reponame>Fabien-Chouteau/sdlada
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for... |
8,937 | ada | 1 | jquorning/WeDo | source/web_callbacks.adb | --
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Ada.Text_IO;
with Ada.Strings.Unbound... |
8,938 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/text/private/opengl-fontimpl.ads | <reponame>charlie5/lace<gh_stars>10-100
with
openGL.Glyph.Container,
freetype.Face,
freetype.charMap,
Freetype_C,
interfaces.C.Pointers;
limited
with
openGL.Font;
private
with
freetype.face_Size;
package openGL.FontImpl
--
-- Implements an openGL font.
--
is
type Item is tagged... |
8,939 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85007a.ada | -- C85007A.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... |
8,940 | ada | 0 | wookey-project/ewok-legacy | src/arch/socs/stm32f439/Ada/soc-dma-interfaces.ads | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - Mathieu Renard
-- - <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
--
--... |
8,941 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cz/cz1101a.ada | -- CZ1101A.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... |
8,942 | ada | 0 | faelys/natools | src/natools-s_expressions-templates-dates.adb | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
8,943 | ada | 33 | ytomino/drake | source/textio/machine-apple-darwin/s-ntitco.adb | -- reference:
-- http://www.mudpedia.org/mediawiki/index.php/Xterm_256_colors
with System.Address_To_Named_Access_Conversions;
with System.Formatting;
with System.Long_Long_Integer_Types;
with System.Once;
with C.stdlib;
package body System.Native_Text_IO.Terminal_Colors is
use type C.char_array;
use type C.cha... |
8,944 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104o.ada | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104o.ada
-- C64104O.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. Governmen... |
8,945 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-cgaaso.adb | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
8,946 | ada | 0 | fuzzysloth/ada-awa | awa/regtests/awa-wikis-writers-tests.ads | -----------------------------------------------------------------------
-- Render Tests - Unit tests for AWA Wiki rendering
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Li... |
8,947 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a55b14a.ada | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a55b14a.ada<gh_stars>1-10
-- A55B14A.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... |
8,948 | ada | 2 | thindil/tashy2 | src/tk/tk-widget.adb | -- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or... |
8,949 | ada | 0 | My-Colaborations/ada-ado | src/ado-sessions-sources.adb | -----------------------------------------------------------------------
-- ADO Databases -- Database Connections
-- Copyright (C) 2010, 2011, 2012, 2013, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in com... |
8,950 | ada | 1 | ProtonAOSP-platina/android_external_libncurses | Ada95/samples/ncurses2-overlap_test.adb | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- ... |
8,951 | ada | 7 | Letractively/ada-awa | awa/samples/src/atlas-reviews-modules.ads | <reponame>Letractively/ada-awa
-----------------------------------------------------------------------
-- atlas-reviews-modules -- Module reviews
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
8,952 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/services/atbb/algebra.ads | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Common; use Common;
with Ada.Unchecked_Deallocation;
package Algebra with SPARK_Mode is
Max_Children : constant := 50;
type Node_Kind_Type is (Action, Operator, Undefined);
-- Nodes can be either Action nodes or Operator nodes
ty... |
8,953 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-storio.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
8,954 | ada | 30 | Componolit/libsparkcrypto | src/shared/generic/lsc-ops_generic.ads | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- @author <NAME>
-- @date 2019-01-22
--
-- Copyright (C) 2018 Componolit GmbH
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modifi... |
8,955 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_tunernorm_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.glib_2_0_gobject_gobject_h;
with glib;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_tunernorm_h is
-- unsupported mac... |
8,956 | ada | 0 | hannesb0/rtpl18 | src/lab-code/cpu-affinity/src/main.adb | with Dispatch;
with System.Multiprocessors.Dispatching_Domains;
use System.Multiprocessors.Dispatching_Domains;
procedure Main is
begin
Set_CPU(1);
for i in 1 .. 100 loop
delay 1.0;
end loop;
end Main;
|
8,957 | ada | 22 | Melyodas/metalang | out/aaa_00hello.adb | <filename>out/aaa_00hello.adb
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure aaa_00hello is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
be... |
8,958 | ada | 0 | Fabien-Chouteau/Renaissance-Ada | src/libraries/Rewriters_Lib/tests/rewriters_lib_suite.adb | with AUnit.Simple_Test_Cases; use AUnit.Simple_Test_Cases;
with Test_Minimal_Parenthesis; use Test_Minimal_Parenthesis;
package body Rewriters_Lib_Suite is
function Suite return Access_Test_Suite is
Ret : constant Access_Test_Suite := new Test_Suite;
Minimal_Parenthesis : constant Test... |
8,959 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/g-expect.adb | <filename>gcc-gcc-7_3_0-release/gcc/ada/g-expect.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
8,960 | ada | 20 | charlie5/lace | 3-mid/physics/interface/source/physics-engine.adb | <filename>3-mid/physics/interface/source/physics-engine.adb<gh_stars>10-100
with
ada.unchecked_Deallocation,
ada.Containers,
ada.Calendar,
ada.Text_IO,
ada.Exceptions;
package body physics.Engine
is
use ada.Text_IO;
protected body safe_command_Set
is
function is_Empty return B... |
8,961 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/s-io.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
8,962 | ada | 0 | cliffano/pokeapi-clients | clients/ada/generated/src/model/-models.adb | <filename>clients/ada/generated/src/model/-models.adb<gh_stars>0
--
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
--
-- The version of the OpenAPI document: 20220523
--
--
-- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0.
-- https:/... |
8,963 | ada | 8 | darkestkhan/lumen | src/lumen-binary.ads | <filename>src/lumen-binary.ads
-- <NAME>, Phoenix AZ, April 2007
-- Lumen would not be possible without the support and contributions of a cast
-- of thousands, including and primarily <NAME>.
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or dis... |
8,964 | ada | 1 | faelys/natools-web | src/natools-web-acl-sx_backends.ads | ------------------------------------------------------------------------------
-- Copyright (c) 2017-2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
8,965 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-formal_unconstrained_array_types.ads | <filename>source/nodes/program-nodes-formal_unconstrained_array_types.ads<gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Element... |
8,966 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35502h.ada | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35502h.ada
-- C35502H.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. Governmen... |
8,967 | ada | 0 | Letractively/ada-gen | src/gnat/targparm.ads | <filename>src/gnat/targparm.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
8,968 | ada | 13 | annexi-strayline/AURA | repositories-cache.ads | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- Reference Implementation --
-- ... |
8,969 | ada | 33 | ytomino/drake | source/directories/machine-pc-freebsd/s-nadico.ads | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit specialized for FreeBSD
package System.Native_Directories.Copying is
pragma Preelaborate;
procedure Copy_File (
Source_Name : String;
Target_Name : String;
Overwrite : Boolean := True);
procedure Replace_File (
... |
8,970 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-dp_defs.ads | <reponame>fabiojna02/OpenCellular
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your... |
8,971 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-configuration-default.ads | <filename>3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-configuration-default.ads
with -- impact.d3.collision.Configuration,
impact.d3.Collision.create_Func,
impact.d3.collision.simplex_Solver.voronoi,
impact.d3.collision.convex_penetration_depth_Solver;
with impact.d3.collision.Proxy;
... |
8,972 | ada | 0 | reznikmm/gela | source/oasis/program-elements-formal_interface_types.ads | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Formal_Type_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Elements.Formal_Interface_Typ... |
8,973 | ada | 1 | lkujaw/ada-blake2 | common/blake2s.adb | -----------------------------------------------------------------------
-- Copyright 2021 <NAME> --
-- --
-- Permission is hereby granted, free of charge, to any person --
-- obtaining a copy of this software ... |
8,974 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-gloloc.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
8,975 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | examples/tasking/main.adb | <reponame>ekoeppen/STM32_Generic_Ada_Drivers
with Ada.Real_Time; use Ada.Real_Time;
with STM32GD.Board; use STM32GD.Board;
with Tasks;
procedure Main is
Next_Release : Time := Clock;
Period : constant Time_Span := Milliseconds (500);
begin
Init;
LED.Set;
STM32GD.Board.Text_IO.Put_Line ("Main task s... |
8,976 | ada | 80 | thindil/steamsky | src/crew.adb | <reponame>thindil/steamsky<gh_stars>10-100
-- Copyright 2016-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 ... |
8,977 | ada | 0 | AntonMeep/base64 | src/base64_generic.adb | <gh_stars>0
pragma Ada_2012;
with Interfaces; use Interfaces;
package body Base64_Generic is
function Encode (Input : Element_Array) return String is
Result : String (1 .. Input'Length * 4); -- Worst case scenario
Current : Natural := 0;
Step : Natural := 0;
Last : Unsigned_8 :... |
8,978 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug2.ads | <reponame>best08618/asylo
package Debug2 is
procedure Proc;
end Debug2;
|
8,979 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37207a.ada | <gh_stars>1-10
-- C37207A.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.... |
8,980 | ada | 0 | bracke/Meaning | source/RASCAL-ToolboxQuit.adb | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
8,981 | ada | 0 | jquorning/CELLE | source/errors.ads | <filename>source/errors.ads
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Ada.Strin... |
8,982 | ada | 60 | Letractively/ada-util | testutil/ahven/ahven.adb | <reponame>Letractively/ada-util
--
-- Copyright (c) 2007-2009 <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS ... |
8,983 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cforse.ads | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
8,984 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/size_attribute.adb | <reponame>best08618/asylo
-- PR middle-end/35823
-- { dg-do compile ]
procedure Size_Attribute (Arg : in String) is
Size : constant Natural := Arg'Size;
begin
null;
end;
|
8,985 | ada | 5 | docandrew/troodon | include/x11.ads | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
-- Troodon: renamed this to X11 to deconflict with the use of 'x' as coordinate
package X11 is
X_PROTOCOL : constant := 11; -- /usr/include/X11/X.h:53
X_PROTOCOL_REVISION : constant := 0; -- /usr/include/X11/X.h:54
None : ... |
8,986 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | ADL/drivers/stm32g474/stm32-fmac.adb | package body STM32.FMAC is
----------------
-- Reset_FMAC --
----------------
procedure Reset_FMAC (This : in out FMAC_Accelerator) is
begin
This.CR.RESET := True;
end Reset_FMAC;
-----------------------------
-- Set_FMAC_Buffer_Address --
-----------------------------
procedure ... |
8,987 | ada | 52 | onox/orka | orka/src/gl/implementation/gl-fences.adb | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 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
-... |
8,988 | ada | 32 | robdaemon/AdaYaml | Parser_Tools/src/interface/text-builder.ads | <reponame>robdaemon/AdaYaml
-- part of ParserTools, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Text.Pool;
package Text.Builder is
type Reference is new Ada.Finalization.Controlled with private;
procedure Init (Object : in out Reference; Pool : Text.Pool.Re... |
8,989 | ada | 12 | jquorning/ada-asf | src/asf-servlets-ajax.ads | <filename>src/asf-servlets-ajax.ads
-----------------------------------------------------------------------
-- asf.servlets.ajax -- AJAX servlet
-- Copyright (C) 2011, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file excep... |
8,990 | ada | 236 | jquorning/septum | tests/src/septum_tests.adb | with SP.Memory_Tests;
with SP.Strings.Tests;
with Trendy_Test.Reports;
procedure Septum_Tests is
begin
Trendy_Test.Register (SP.Memory_Tests.All_Tests);
Trendy_Test.Register (SP.Strings.Tests.All_Tests);
Trendy_Test.Reports.Print_Basic_Report (Trendy_Test.Run);
end Septum_Tests;
|
8,991 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bbcpsp__riscv.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
8,992 | ada | 12 | TUM-EI-RCS/StratoX | runtime/ravenscar-sfp-stm32f427/bsp/i-stm32-syscfg.ads | --
-- Copyright (C) 2016, AdaCore
--
-- This spec has been automatically generated from STM32F429x.svd
pragma Ada_2012;
with Interfaces.Bit_Types;
with System;
package Interfaces.STM32.SYSCFG is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
... |
8,993 | ada | 1 | jquorning/WeDo | source/web_callbacks.ads | --
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with AWS.Response;
with AWS.Status;
packa... |
8,994 | ada | 33 | ytomino/drake | source/a-rezstr.ads | pragma License (Unrestricted);
-- extended unit
package Ada.References.Wide_Wide_Strings is
-- Returning access values to sliced Wide_Wide_String from functions.
pragma Pure;
type Constant_Reference_Type (
Element : not null access constant Wide_Wide_String) is null record
with Implicit_Derefere... |
8,995 | ada | 0 | VMika/Des_Ada | Des_Ada/src/concrete_handler/p_stephandler-reverseiphandler.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.ReverseIPHandler is
function Make (Handler : in out ReverseIPHandler) return ReverseI... |
8,996 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/s-std.ads | -----------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
8,997 | ada | 0 | thierr26/ada-apsepp | src/_demo/output_sink_as_shared_instance/apsepp_demo_osasi_business.ads | <reponame>thierr26/ada-apsepp
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
package Apsepp_Demo_OSASI_Business is
procedure Run_Business;
end Apsepp_Demo_OSASI_Business;
|
8,998 | ada | 0 | Lucretia/old_nehe_ada95 | thirdparty/adasdl/thin/adasdl/AdaSDL/binding/AdaTest/eventrecsize.adb | <reponame>Lucretia/old_nehe_ada95
with Text_IO; use Text_IO;
with Interfaces.C;
with SDL.Events;
with SDL.Types;
with SDL.Keysym;
with SDL.Keyboard;
procedure eventrecsize is
package C renames Interfaces.C;
begin
Put (" The size of SDL.Events.ActiveEvent: ");
Put_Line (Integer'Image (SDL.Events.ActiveE... |
8,999 | ada | 0 | skill-lang/adaCommon | src/skill-containers-maps.ads | <gh_stars>0
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ skills vector container implementation --
-- |___/_|\_\_|_|____| by: <NAME>, <NAME> --
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.