id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
9,000
ada
1
LaudateCorpus1/RosettaCodeData
Task/CRC-32/Ada/crc-32.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO; use Ada.Text_IO; with GNAT.CRC32; use GNAT.CRC32; with Interfaces; use Interfaces; procedure TestCRC is package IIO is new Ada.Text_IO.Modular_IO (Unsigned_32); crc : CRC32; num : Unsigned_32; str : String := "The quick brown fox jumps over the lazy...
9,001
ada
80
thindil/steamsky
tests/bases-cargo-test_data-tests.ads
<reponame>thindil/steamsky -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Bases.Cargo.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Bases.Car...
9,002
ada
33
ytomino/drake
source/numerics/a-ngcefu.adb
with Ada.Unchecked_Conversion; with System.Long_Long_Complex_Elementary_Functions; with System.Long_Long_Complex_Types; package body Ada.Numerics.Generic_Complex_Elementary_Functions is pragma Warnings (Off); function To_Complex is new Unchecked_Conversion ( Complex, System.Long_Long_Comp...
9,003
ada
0
ekoeppen/MSP430_Generic_Ada_Drivers
boards/rfm69_sensor/mspgd-board.adb
with MSP430_SVD; use MSP430_SVD; with MSP430_SVD.ADC10; use MSP430_SVD.ADC10; with MSP430_SVD.PORT_1_2; use MSP430_SVD.PORT_1_2; with System; with Startup; package body MSPGD.Board is P1DIR : Byte; P1SEL : Byte; P1SEL2 : Byte; P1OUT : Byte; P1REN : Byte; procedure Init is begin Clock.Init;...
9,004
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-osinte-dummy.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
9,005
ada
15
AdaCore/training_material
extern/game_support/stm32f4/src/tracks_display.ads
<reponame>AdaCore/training_material with Screen_Interface; use Screen_Interface; with Trains; package Tracks_Display is type Track_Points is array (Positive range <>) of Point; type Track_T; type Track_Access is access all Track_T; type Switch_States is (S1, S2); type Switch is array (Switch_States) o...
9,006
ada
1
LaudateCorpus1/RosettaCodeData
Task/Digital-root-Multiplicative-digital-root/Ada/digital-root-multiplicative-digital-root.ada
with Ada.Text_IO, Generic_Root; use Generic_Root; procedure Multiplicative_Root is procedure Compute is new Compute_Root("*"); -- "*" for multiplicative roots package TIO renames Ada.Text_IO; package NIO is new TIO.Integer_IO(Number); procedure Print_Numbers(Target_Root: Number; How_Many: Natural) is ...
9,007
ada
0
KHYehor/Parallel-Programming
Lab1/src/data.ads
generic n: Integer; package Data is ---Declaration of private types type Vector is private; type Matrix is private; --Calculation function 1 function Func1 (A, B, C: in Vector; MA, ME : in Matrix) return Integer; --Calculation function 2 function Func2 (MF, MG, MH, ML: in Matrix) return Integ...
9,008
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-stsifd__sockets.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-stsifd__sockets.adb ------------------------------------------------------------------------------ -- -- -- ...
9,009
ada
3
wiremoons/apass
src/password_manager.adb
------------------------------------------------------------------------------- -- BUILD FILE : apass -- -- Description : A CLI password generator written in Ada. -- -- Author : <NAME> <<EMAIL>> -- -- License :...
9,010
ada
0
AsyncMC/Mojang-API-Libs
generated-sources/ada/mojang-sessions/src/client/com-github-asyncmc-mojang-sessions-ada-model-clients.ads
-- Mojang Session API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do not edit the class...
9,011
ada
18
kraileth/ravenadm
src/ravenports.adb
<gh_stars>10-100 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Parameters; with HelperText; with Unix; with File_Operations; with Ada.Directories; with Ada.Text_IO; package body Ravenports is package PM renames Parameters; package HT renames Hel...
9,012
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-umldi_uml_styles.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
9,013
ada
5
jhumphry/auto_counters
src/c_resources/smart_c_resources.ads
<reponame>jhumphry/auto_counters<gh_stars>1-10 -- smart_c_resources.ads -- A reference counting package to wrap a C type that requires initialization -- and finalization. -- Copyright (c) 2016, <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereb...
9,014
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/haswell_shared/hw-gfx-gma-connectors-ddi.adb
<reponame>fabiojna02/OpenCellular<filename>firmware/coreboot/3rdparty/libgfxinit/common/haswell_shared/hw-gfx-gma-connectors-ddi.adb -- -- Copyright (C) 2015-2017 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 Licen...
9,015
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-sphere.ads
<reponame>charlie5/lace<gh_stars>10-100 with impact.d3.Shape.convex.internal; package impact.d3.Shape.convex.internal.sphere -- -- The impact.d3.Shape.convex.internal.sphere implements an implicit sphere, centered around a local origin with radius. -- is type Item is new impact.d3.Shape.convex.internal.Item ...
9,016
ada
33
ytomino/drake
source/image/required/s-widllu.adb
with System.Formatting; with System.Long_Long_Integer_Types; package body System.Wid_LLU is use type Unsigned_Types.Long_Long_Unsigned; subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned; -- implementation function ...
9,017
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-envvar.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,018
ada
0
iyan22/AprendeAda
ejercicios6/ins.adb
<gh_stars>0 with Datos; use Datos; procedure ins ( L : in out Lista; Num : in Integer ) is -- pre: -- post: se ha insertado el nuevo valor al comienzo de L Nuevo : Lista; begin Nuevo := new Nodo; -- Creamos un nuevo nodo Nuevo.Info := Num; -- Asignamos el valor de Num al nuevo nodo Nuevo.Sig := L; -- ...
9,019
ada
80
thindil/steamsky
tests/ships-test_data-tests.ads
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Ships.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Ships.Test_Data .Test with null re...
9,020
ada
24
svn2github/matreshka
source/amf/uml/amf-umldi-uml_association_or_connector_or_link_shapes-collections.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
9,021
ada
3
daveshields/AdaEd
demos/maze.ada
<gh_stars>1-10 ---------------------------------------------------------------------- -- -- Maze Package -- -- written by -- -- <NAME> -- -- Ada Project -- Courant Institute -- New York University -- ...
9,022
ada
4
faelys/gela-asis
.build/ada/asis-gela-elements-defs-const.adb
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributio...
9,023
ada
1
LaudateCorpus1/RosettaCodeData
Task/Pascals-triangle/Ada/pascals-triangle-3.ada
<filename>Task/Pascals-triangle/Ada/pascals-triangle-3.ada with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Command_Line, Pascal; use Pascal; procedure Triangle is Number_Of_Rows: Positive := Integer'Value(Ada.Command_Line.Argument(1)); Row: Pascal.Row := First_Row(Number_Of_Rows); begin loop -- print one r...
9,024
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48004d.ada
-- C48004D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
9,025
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-stzhas.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
9,026
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_pkg3.ads
<reponame>best08618/asylo generic type T is private; package Varsize3_Pkg3 is type Object is record E : T; end record; function True return Object; end Varsize3_Pkg3;
9,027
ada
7
onox/emojis
src/emojis.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
9,028
ada
2
Lucretia/aplug
ladspa/examples/amp-stereo.adb
<gh_stars>1-10 -- with Ada.Text_IO; use Ada.Text_IO; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with Interfaces.C.Pointers; with System; package body Amp.Stereo is use type LADSPA.Data_Ptr; use type LADSPA.Handles; type Amplifiers is record Gain_Value : LADSPA.Data_Pt...
9,029
ada
1
procrastiraptor/euler
ada/euler4.adb
with Ada.Integer_Text_IO; with Is_Palindrome; procedure Euler4 is function String_Palindrome is new Is_Palindrome(Character, Positive, String); Prod, Max: Integer := 0; begin for I in Integer range 100 .. 999 loop for J in Integer range I .. 999 loop Prod := I * J; if Prod > Max and S...
9,030
ada
0
fintatarta/protypo
src/API/protypo-api-symbols.ads
with Ada.Strings.Hash_Case_Insensitive; with Ada.Containers; with Symbol_Tables.Generic_Symbol_Table; with Protypo.API.Engine_Values; -- -- This package defines the symbol tables used by the engine. They -- are basically structures that map symbol names into Engine_Value's -- package Protypo.API.Symbols is subtyp...
9,031
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/bcheck.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,032
ada
1
jklmnn/esp32c3-ada
examples/empty/app-main.adb
separate (App) procedure Main is begin null; end Main;
9,033
ada
1
michalkonecny/polypaver
examples/SPARK2005/peak/src/peak.adb
<filename>examples/SPARK2005/peak/src/peak.adb package body Peak is function Max (X,Y : Float) return Float is R : Float; begin if X >= Y then R := X; else R := Y; end if; return R; end Max; procedure Coeffs (Y1,Y2,Y3 : in Float; A,B,C : out Float) is begin A := -- 0.5*(Y1-2*Y2+Y3) PolyP...
9,034
ada
30
jrmarino/AdaBase
src/miscellaneous/spatial_data.ads
<reponame>jrmarino/AdaBase -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with CommonText; package Spatial_Data is package CT renames CommonText; type Collection_Type is (unset, single_point, s...
9,035
ada
0
fintatarta/eugen
src/Projects/Backup/project_processor-projects-identifiers.adb
<filename>src/Projects/Backup/project_processor-projects-identifiers.adb with Ada.Characters; with Ada.Characters.Handling; package body Project_Processor.Projects.Identifiers is ------------------------- -- Is_Valid_Identifier -- ------------------------- function Is_Valid_Identifier (X : String) return ...
9,036
ada
0
reznikmm/gela
source/contexts/plain/program-library_environments.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Library_Environments is ----------------- -- Public_View -- ----------------- function Public_View (Self : Library_Environment'Clas...
9,037
ada
1
reinertk/cpros
src/split_string.adb
<reponame>reinertk/cpros with Ada.Strings.Fixed; with Ada.Strings.Maps; with Text_IO; use Text_IO; package body split_string is function collect1 (fs : String; from_word_number : Natural; ws : String := command_white_space1) return String is begin if from_wo...
9,038
ada
52
onox/orka
orka/src/orka/implementation/orka-rendering-programs-uniforms.adb
<reponame>onox/orka<gh_stars>10-100 -- 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://w...
9,039
ada
2
onox/opus-ada
test/unit/src/test_encoders.adb
<filename>test/unit/src/test_encoders.adb -- Copyright (c) 2014 onox <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- THE SOFT...
9,040
ada
1
Hathoute/ENSEEIHT
PIM/TP1_Algorithmique/permuter_caracteres.adb
<reponame>Hathoute/ENSEEIHT with Ada.Text_IO; use Ada.Text_IO; -- Permuter deux caractères lus au clavier procedure Permuter_Caracteres is C1, C2: Character; -- Entier lu au clavier dont on veut connaître le signe Temp: Character; -- Charactere utilisé pour la permutation begin -- Demander l...
9,041
ada
25
thierr26/ada-keystore
tools/akt-commands-info.adb
<filename>tools/akt-commands-info.adb ----------------------------------------------------------------------- -- akt-commands-info -- Info command of keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
9,042
ada
3
pyjarrett/archaic_terminal
src/windows/trendy_terminal-platform.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...
9,043
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/sdl_blendmode_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package SDL_blendmode_h is -- Simple DirectMedia Layer -- Copyright (C) 1997-2018 <NAME> <<EMAIL>> -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liabl...
9,044
ada
0
Tim-Tom/project-euler
Ada/src/Problem_58.adb
with Ada.Text_IO; with PrimeInstances; package body Problem_58 is -- 1 3 5 7 9 13 17 21 25 31 37 43 49 ... -- 2 2 2 2 4 4 4 4 6 6 6 6 8... package IO renames Ada.Text_IO; package Positive_Primes renames PrimeInstances.Positive_Primes; procedure Solve is increment : Positive := 2; l...
9,045
ada
52
onox/orka
orka_simd/src/x86/generic/orka-simd-sse2-integers-logical.adb
<reponame>onox/orka -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/li...
9,046
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-internal-bignum.adb
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2011, <NAME> -- Copyright (C) 2011, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modif...
9,047
ada
60
Letractively/ada-util
regtests/util-serialize-mappers-tests.ads
----------------------------------------------------------------------- -- serialize-mappers-tests -- Unit tests for serialization -- 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 compliance with...
9,048
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-vdb.ads
<filename>src/lv-vdb.ads with Lv.Area; with Lv.Color; with System; package Lv.Vdb is type Vdb_T is record Area : aliased Lv.Area.Area_T; Buf : access Lv.Color.Color_T; end record; pragma Convention (C_Pass_By_Copy, Vdb_T); -- Get the 'vdb' variable or allocate one in LV_VDB_DOUBLE mode -...
9,049
ada
0
melwyncarlo/ProjectEuler
problems/034/a034.adb
with Ada.Strings.Fixed; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A034 is use Ada.Strings.Fixed; use Ada.Integer_Text_IO; Factorials : constant array (Integer range 1 .. 10) of Integer := (1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880); Sum : Integer := 0; I_Len, Digits_Sum...
9,050
ada
0
iyan22/AprendeAda
ejercicios2/eliminar_tercer_elemento_ordenada.adb
<gh_stars>0 with vectores; use vectores; procedure eliminar_tercer_elemento_ordenada (V: in out Vector_de_enteros) is -- pre: los elementos de la lista estan ordenados -- post: si hay tres o mas elementos, el tercer elemento quedara eliminado -- y la lista mantendra el orden Inicio: Integer; begin ...
9,051
ada
24
svn2github/matreshka
source/league/league-base_codecs.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
9,052
ada
0
strenkml/EE368
memsim-master/src/benchmark_runner.ads
<reponame>strenkml/EE368 with Ada.Containers.Vectors; use Ada.Containers; with Ada.Finalization; use Ada.Finalization; with Benchmark; use Benchmark; with Memory; use Memory; package Benchmark_Runner is type Runner_Type is new Limited_Controlled with private; procedure R...
9,053
ada
0
optikos/oasis
source/nodes/program-nodes-select_statements.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Select_Statements is function Create (Select_Token : not null Program.Lexical_Elements .Lexical_El...
9,054
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/frunaligned.adb
-- { dg-do compile } -- { dg-options "-gnatws" } with FRUnaligned1; use FRUnaligned1; function FRUnaligned return r is ss : s; begin return ss.y; end;
9,055
ada
0
iyan22/AprendeAda
ejercicios6/esc.adb
with Ada.Text_IO, Ada.Integer_Text_IO, Datos; use Datos; procedure Esc ( L : in Lista ) is -- pre: -- post: Escribir el contenido de una lista Actual : Lista; begin Ada.Text_Io.New_Line; Ada.Text_Io.New_Line; Ada.Text_Io.Put("el contenido de la lista es: "); Ada.Text_Io.New_Line; Ad...
9,056
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cofuba.adb
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
9,057
ada
0
Chester-Gillon/ibv_message_parsing
ibv_message_passing_ada_project/source/ibv_controller_process/ibv_controller_process_main.adb
<reponame>Chester-Gillon/ibv_message_parsing -- @file ibv_controller_process_main.adb -- @date 11 Feb 2018 -- @author <NAME> -- @details The main for the controller process written in Ada with communicates with -- worker processing written in C via the ibv_message_transport library. pragma Restrictions (No_Ex...
9,058
ada
2
sinkinben/pok
examples/arinc653-threads/hello1.adb
with Ada.Text_IO; use Ada.Text_IO; package User is procedure Hello_Part1 is begin Put_Line ("Hello from part1"); end Hello_Part1; end User;
9,059
ada
1
LaudateCorpus1/RosettaCodeData
Task/Fast-Fourier-transform/Ada/fast-fourier-transform-3.ada
<gh_stars>1-10 with Ada.Numerics.Complex_Arrays; use Ada.Numerics.Complex_Arrays; with Ada.Complex_Text_IO; use Ada.Complex_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Complex_Elementary_Functions; with Generic_FFT; procedure Example is function FFT is new Generic_FFT (...
9,060
ada
3
FROL256/ada-ray-tracer
generic_vector_math.adb
<filename>generic_vector_math.adb with Ada.Numerics.Generic_Elementary_Functions; with Ada.Unchecked_Conversion; use Ada.Numerics; --use Ada.Numerics.Aux; package body Generic_Vector_Math is package Float_Functions is new Generic_Elementary_Functions (float); use Float_Functions; function BitCopyToTypeT is ne...
9,061
ada
20
charlie5/lace
3-mid/opengl/source/platform/glx/private/thin/glx-bufferswapcomplete.ads
<reponame>charlie5/lace<gh_stars>10-100 package glx.BufferSwapComplete is type Item is record the_Type : aliased C.int; Serial : aliased C.unsigned_long; send_Event : aliased Bool; Display : System.Address; Drawable : aliased glx.Drawable; ...
9,062
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35a05a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35a05a.ada -- C35A05A.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...
9,063
ada
0
gerr135/gnat_bugs
gb_01/src_alt1/run_alt1.adb
<filename>gb_01/src_alt1/run_alt1.adb -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- with root.child; procedure r...
9,064
ada
0
Lucretia/old_nehe_ada95
bounding_volume/example.adb
<filename>bounding_volume/example.adb --------------------------------------------------------------------------------- -- Copyright 2004-2005 © <NAME> -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. -----------------------------...
9,065
ada
0
JCGobbi/Nucleo-STM32F334R8
src/demo_inverter.adb
with Ada.Real_Time; use Ada.Real_Time; with STM_Board; use STM_Board; with Inverter_ADC; use Inverter_ADC; with Inverter_PWM; use Inverter_PWM; with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); -- The "last chance handler" is the user-defined routine that is called when -- an exception is p...
9,066
ada
0
glencornell/ada-object-framework
src/aof-core-objects.adb
-- Copyright (C) 2020 <NAME> <<EMAIL>> -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU General Public License as -- published by the Free Software Foundation, either version 3 of the -- License, or (at your option) any later version. -- -- This program...
9,067
ada
1
faelys/lithium3
src/lithium-photo_process.ads
------------------------------------------------------------------------------ -- Copyright (c) 2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
9,068
ada
4
octonion/examples
languages/python-ada/unit.ads
-- Unit.ads with Interfaces.C; use Interfaces; package Unit is function Add (A, B : Integer) return Integer; pragma Export (C, Add, "add"); end Unit;
9,069
ada
0
AntonMeep/hmac
tests/src/hmac_tests.adb
<reponame>AntonMeep/hmac with AUnit.Reporter.Text; with AUnit.Run; with AUnit.Test_Suites; with HMAC_SHA1_Streams_Tests; with HMAC_SHA2_Streams_Tests; procedure HMAC_Tests is function Suite return AUnit.Test_Suites.Access_Test_Suite; procedure Runner is new AUnit.Run.Test_Runner (Suite); Reporter : AUnit.R...
9,070
ada
4
faelys/gela-asis
source/asis/asis-gela-contexts.ads
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
9,071
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/s-crc32.ads
<filename>tools/scitools/conf/understand/ada/ada05/s-crc32.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
9,072
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34001f.ada
-- C34001F.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
9,073
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-tasuti.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-tasuti.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
9,074
ada
12
TUM-EI-RCS/StratoX
software/lib/profiler.ads
<gh_stars>10-100 -- General Profiler -- Author: <NAME> (<EMAIL>) -- -- Description: measures execution time between 'start' and 'stop'. -- Stores maximum execution time. -- -- Usage: enter loop, call 'start', execute code, call 'stop'. -- call 'get_Max' outside of loop to retrieve longes...
9,075
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-connector_ends.ads
<filename>source/amf/uml/amf-uml-connector_ends.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
9,076
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/exp_ch3.adb
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
9,077
ada
0
optikos/oasis
source/oasis/program-elements-record_aggregates.ads
<filename>source/oasis/program-elements-record_aggregates.ads -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.R...
9,078
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l4x2/stm32_svd-usb.ads
-- This spec has been automatically generated from STM32L4x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.USB is pragma Preelaborate; --------------- -- Registers -- --------------- subtype EP0R_EA_Field is HAL.U...
9,079
ada
0
Fabien-Chouteau/Renaissance-Ada
src/misc/Rejuvenation_Lib_Generator/src/generator-match_pattern_specific.adb
with Ada.Strings; use Ada.Strings; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Text_IO; use Ada.Text_IO; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation.Finder; with Rejuvenat...
9,080
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cgaaso.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
9,081
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbcppr__riscv.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
9,082
ada
18
jquorning/ada-wiki
src/wiki-plugins-templates.ads
<reponame>jquorning/ada-wiki ----------------------------------------------------------------------- -- wiki-plugins-template -- Template Plugin -- 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 excep...
9,083
ada
4
davidkristola/vole
kv-avm-assemblers.ads
<filename>kv-avm-assemblers.ads with Ada.Streams.Stream_IO; with String_Ops; with kv.avm.References; with kv.avm.Instructions; with kv.avm.Registers; with kv.avm.Memories; with kv.avm.Actors; with kv.avm.Line_Parser; package kv.avm.Assemblers is Word_Code_Identifier_Number : constant Integer := -1348; Word_Co...
9,084
ada
0
thieryw/game_of_life
game_functions.adb
with ada.text_io,ada.integer_text_io,display,game_types ; use ada.text_io,game_types ; package body game_functions is function initialize_cells return game_types.array_of_cell is cells : game_types.array_of_cell := (others => (others => game_types.DEAD)) ; initial_coordona...
9,085
ada
15
mgrojo/adalib
ada-strings-wide_wide_fixed.ads
-- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-...
9,086
ada
20
charlie5/lace
3-mid/opengl/private/gl/source/gl.ads
<filename>3-mid/opengl/private/gl/source/gl.ads with GL_Types, Interfaces.C; package GL -- -- Provides types and constants common to all openGL profiles. -- is pragma Pure; use Interfaces; --------- -- Types -- -- GLvoid -- subtype GLvoid is GL_Types.GLvoid; type GLvo...
9,087
ada
33
ytomino/drake
source/calendar/machine-pc-linux-gnu/s-nareti.adb
package body System.Native_Real_Time is use type C.signed_int; function Clock return Native_Time is Result : aliased C.time.struct_timespec; begin if C.time.clock_gettime (C.time.CLOCK_MONOTONIC, Result'Access) < 0 then raise Program_Error; -- ??? end if; return Result; end...
9,088
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/gnatvsn.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,089
ada
0
wildeee/safADA
Exemplos ADA/Determinante/Determinante.adb
With Ada.Text_IO; Use Ada.Text_IO; Procedure Determinante is type Real_Matrix is array (Integer range <>, Integer range <>) of Integer'Base; matriz: Real_Matrix(1..3, 1..3); diagonalPrincipal1: Integer; diagonalPrincipal2: Integer; diagonalPrincipal3: Integer; diagonalPrincipalSoma: Integer; diagonalSecundaria1...
9,090
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-wwdenu.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,091
ada
0
faelys/natools
tests/test_all.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (c) 2011, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any --...
9,092
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c55b03a.ada
-- C55B03A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
9,093
ada
81
My-Colaborations/ada-awa
awa/src/awa-events.adb
----------------------------------------------------------------------- -- awa-events -- AWA Events -- Copyright (C) 2012, 2015, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- Y...
9,094
ada
8
darkestkhan/lumen
src/lumen-program.adb
<filename>src/lumen-program.adb<gh_stars>1-10 -- Lumen.Program -- Helper routines fr working with shader programs. -- -- darkestkhan, Winter 2014 -- This code is covered by the ISC License: -- -- Copyright © 2014, darkestkhan -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose wi...
9,095
ada
1
LaudateCorpus1/RosettaCodeData
Task/File-modification-time/Ada/file-modification-time.ada
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/File-modification-time/Ada/file-modification-time.ada<gh_stars>1-10 with Ada.Directories; use Ada.Directories; with Ada.Text_IO; use Ada.Text_IO; with Ada.Calendar.Formatting; use Ada.Calendar.Formatting; procedure File_Time_Test is begin ...
9,096
ada
15
stcarrez/dynamo
src/gen-model-projects.adb
<reponame>stcarrez/dynamo<gh_stars>10-100 ----------------------------------------------------------------------- -- gen-model-projects -- Projects meta data -- Copyright (C) 2011 - 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
9,097
ada
6
gerr135/ada_gems
mixins/src/run_mixins.adb
<reponame>gerr135/ada_gems<gh_stars>1-10 -- -- Main routines testing/illustrating the mixins. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public Li...
9,098
ada
0
SGDavid2719/ED-Empresa_de_Trenes
src/dcola.ads
<filename>src/dcola.ads generic type elem is private; package dcola is type cola is limited private; mal_uso: exception; espacio_desbordado: exception; procedure cvacia(qu: out cola); procedure poner (qu: in out cola; x: in elem); procedure borrar_primero (qu: in out cola); function coger_prim...
9,099
ada
1
stcarrez/helios
src/helios-schemas.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- helios-schemas -- Helios schemas -- Copyright (C) 2017, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with t...