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
2,900
ada
1
stcarrez/babel
src/babel-files.ads
----------------------------------------------------------------------- -- bkp-files -- File and directories -- Copyright (C) 2014 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
2,901
ada
30
jscparker/math_packages
arbitrary/e_jacobi_eigen_tst_1.adb
<filename>arbitrary/e_jacobi_eigen_tst_1.adb -- Demonstrate Jacobi Eigendecomposition of real valued square matrices. with Ada.Numerics.Generic_Elementary_Functions; with extended_real; with extended_real.elementary_functions; with extended_real.io; with e_jacobi_eigen; with text_io; use text_io; procedure e_jacobi_...
2,902
ada
1
LaudateCorpus1/RosettaCodeData
Task/Universal-Turing-machine/Ada/universal-turing-machine-4.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO, Turing; procedure Busy_Beaver_3 is type States is (A, B, C, Stop); type Symbols is range 0 .. 1; package UTM is new Turing(States, Symbols); use UTM; Map: Symbol_Map := (1 => '1', 0 => '0'); Rules: Rules_Type := (A => (0 => (New_State =>...
2,903
ada
33
ytomino/drake
source/tasking/machine-w64-mingw32/s-nattas.ads
<filename>source/tasking/machine-w64-mingw32/s-nattas.ads pragma License (Unrestricted); -- implementation unit specialized for Windows with System.Synchronous_Objects; with C.winbase; with C.windef; with C.winnt; package System.Native_Tasks is pragma Preelaborate; -- thread subtype Handle_Type is C.winnt....
2,904
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-proxy.adb
with impact.d3.collision.Algorithm, ada.Unchecked_Conversion, System; package body impact.d3.collision.Proxy is package body Forge is function to_Proxy (aabbMin, aabbMax : in math.Vector_3; userPtr : access Any'Class; co...
2,905
ada
7
letsbyteit/build-avr-ada-toolchain
rts/gcc-9/adainclude/s-gccbui.ads
<reponame>letsbyteit/build-avr-ada-toolchain -- see http://gcc.gnu.org/onlinedocs/gcc/AVR-Built_002din-Functions.html with Interfaces; package System.GCC_Builtins is pragma Pure; subtype U8 is Interfaces.Unsigned_8; subtype I8 is Interfaces.Integer_8; subtype U16 is Interfaces.Unsigned_16; subtype I1...
2,906
ada
0
iyan22/AprendeAda
ejercicios5/suma_impar_montana.adb
<gh_stars>0 with Ada.Text_IO, Ada.Integer_Text_IO, es_impar_montana; use Ada.Text_IO, Ada.Integer_Text_IO; procedure Suma_Impar_Montana is n_entrante, acumulador : Integer; begin put("Tu programa dice:"); new_line; acumulador := 0; get(n_entrante); while n_entrante /= 0 loop -- 0 es el valor final de la entrada...
2,907
ada
0
leo-brewin/Regge
check.adb
<reponame>leo-brewin/Regge<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with regge; with regge.io; procedure check is type Real is digits 18; package regge_lib is new regge (Real); use regge_lib; package regge_lib_io is new regge_lib.io; use regge_lib_io; package Real_IO is new Ada.Text_IO.Fl...
2,908
ada
52
onox/orka
orka/src/orka/implementation/orka-cameras-rotate_around_cameras.adb
<filename>orka/src/orka/implementation/orka-cameras-rotate_around_cameras.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 ...
2,909
ada
0
DerickEddington/tarmi
tarmi-combiners.ads
<reponame>DerickEddington/tarmi with Tarmi.Environments; use Tarmi.Environments; package Tarmi.Combiners is type Combiner_R is abstract new Datum_R with null record; type Combiner is not null access constant Combiner_R'Class; type Operative_R is new Combiner_R with record Param_Tree_Formals :...
2,910
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline7_pkg1.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline7_pkg1.adb with Inline7_Pkg2; package body Inline7_Pkg1 is procedure Test (I : Integer) is function F is new Inline7_Pkg2.Calc (I); begin if I /= F (I) then raise Program_Error; end if; end; end Inline7_Pkg1;
2,911
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a53e.ada
-- CD2A53E.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...
2,912
ada
7
Fabien-Chouteau/Giza
src/giza-widget-button.adb
------------------------------------------------------------------------------ -- -- -- Giza -- -- -- -- ...
2,913
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr8_pkg3.ads
package Discr8_Pkg3 is function Value return Natural; end Discr8_Pkg3;
2,914
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3019b2.ada
<reponame>best08618/asylo -- CC3019B2M.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 cont...
2,915
ada
5
docandrew/troodon
include/sched_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_h; limited with bits_types_struct_sched_param_h; limited with bits_types_struct_timespec_h; with stddef_h; limited with bits_cpu_set_h; package sched_h is -- unsupported macro: sched_priority sched_priority -- un...
2,916
ada
7
98devin/ada-gba-dev
src/GBA.Display.Backgrounds.ads
-- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with GBA.Memory; use GBA.Memory; with GBA.Numerics; use GBA.Numerics; with GBA.Display.Tiles; use GBA.Display.Tiles; with GBA.Display.Palettes; use GBA.Display.Palettes; with Interfaces; use Interfaces; package GBA.Display.Backgrounds...
2,917
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/gl/gl-errors.adb
<filename>Sources/Globe_3d/gl/gl-errors.adb ------------------------------------------------------------------------- -- GL.Errors - GL error support -- -- Copyright (c) <NAME> 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose, provided this copyrigh...
2,918
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/dns/transaction_manager/dnscatcher-dns-transaction_manager.ads
-- Copyright 2019 <NAME> <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, copy, modify, merge, publish, ...
2,919
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-mailbox.ads
<gh_stars>1-10 -- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.MAILBOX is pragma...
2,920
ada
1
LaudateCorpus1/RosettaCodeData
Task/Test-a-function/Ada/test-a-function-2.ada
function Palindrome (Text : String) return Boolean with Post => Palindrome'Result = (Text'Length < 2 or else ((Text(Text'First) = Text(Text'Last)) and then Palindrome(Text(Text'First+1 .. Text'Last-1))));
2,921
ada
0
Feqzz/film-parser
parser.adb
<reponame>Feqzz/film-parser package body Parser is -------------------- -- GetImdbMovieId -- -------------------- function GetImdbMovieId (Var : Ada.Strings.Unbounded.Unbounded_String) return Ada.Strings.Unbounded.Unbounded_String is tmpString : Ada.Strings.Unbounded.Unbounded_String; begin ...
2,922
ada
24
svn2github/matreshka
source/web/tools/a2js/engines-contexts.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
2,923
ada
0
jhumphry/aLua
examples/userdata_example.adb
-- Userdata_Example -- A example of using the Ada values in Lua via UserData values -- Copyright (c) 2015, <NAME> - see LICENSE for terms with Ada.Text_IO; use Ada.Text_IO; with Ada.Long_Float_Text_IO; use Ada.Long_Float_Text_IO; with Lua; use Lua; with Lua.Util; use Lua.Util; with Example_Userdata; use Example_Use...
2,924
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-overlapped_pair_callback-cached.ads
with impact.d3.Containers; with ada.Containers.Vectors; with impact.d3.collision.Proxy; with Interfaces; with impact.d3.Dispatcher; package impact.d3.collision.overlapped_pair_Callback.cached -- -- The 'impact.d3.collision.overlapped_pair_Callback.cached' provides an interface for overlapping pair management (add,...
2,925
ada
0
My-Colaborations/ada-util
samples/launch.adb
----------------------------------------------------------------------- -- launch -- Launch an external process redirecting the input and output -- 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 c...
2,926
ada
2
charlie5/cBound
tier-2/festival/source/thin/festival-binding.ads
<reponame>charlie5/cBound -- This file is generated by SWIG. Please do *not* modify by hand. -- with festival.FT_ff_pref_func; with festival.Pointers; with interfaces.c; with interfaces.c.strings; with speech_tools_c; with speech_tools_c.Pointers; with interfaces.C; package festival.Binding is function fes...
2,927
ada
0
adammw/rtp_labs
week1/two_tasks.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Two_Tasks is T1 : constant := 1.1; T2 : constant := 2.67; task Thread1; task Thread2; task body Thread1 is begin loop Put_Line("Thread 1 calling!"); delay T1; end loop; end Thread1; task body Thread2 is begin loop Put_Line("Thread 2 calling...
2,928
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/a-stzmap.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
2,929
ada
1
GambuzX/Pixy-SIW
pixy/src/host/pantilt_in_ada/specs/xlocale_h.ads
<filename>pixy/src/host/pantilt_in_ada/specs/xlocale_h.ads -- -- Copyright (c) 2015, <NAME> <<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 ...
2,930
ada
0
iyan22/AprendeAda
ejercicios1/factorial.adb
<reponame>iyan22/AprendeAda<gh_stars>0 with ada.text_io, ada.integer_text_io; use ada.text_io, ada.integer_text_io; function factorial (n1: in Integer) return Integer is resultado : Integer := 1; n1c := Integer; begin n1c := n1; if n1c > 0 then loop exit when n1c = 0; resultado:=resultado*n1c; n1c :=...
2,931
ada
22
FardaleM/metalang
out/summax_souslist.adb
<filename>out/summax_souslist.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 summax_souslist is type stringptr is access all char_array; procedure PInt(i : in Integer)...
2,932
ada
0
NicoPy/Ada_RP2040_ELF2UF2
rp2040_elf2uf2/src/rp2040_elf2uf2.adb
<filename>rp2040_elf2uf2/src/rp2040_elf2uf2.adb -- -- Copyright 2022 (C) <NAME> (aka DrPi) -- -- SPDX-License-Identifier: BSD-3-Clause -- -- -- Converts an ELF file to a UF2 formated file. -- -- UF2 files are accepted by RP2040 micro_controllers -- in BOOTSEL mode for FLASH programming. -- with Ada.Text_IO; use ...
2,933
ada
1
annexi-strayline/ASAP-HEX
hex-unsigned_64.ads
<filename>hex-unsigned_64.ads ------------------------------------------------------------------------------ -- -- -- Generic HEX String Handling Package -- -- ...
2,934
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sum-and-product-of-an-array/Ada/sum-and-product-of-an-array-1.ada
type Int_Array is array(Integer range <>) of Integer; array : Int_Array := (1,2,3,4,5,6,7,8,9,10); Sum : Integer := 0; for I in array'range loop Sum := Sum + array(I); end loop;
2,935
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/formal_procedure_declaration.ads
package formal_procedure_declaration is generic with procedure Put_Line; procedure SS_Info; end formal_procedure_declaration;
2,936
ada
0
AdaForge/Advent_of_Code_2020
puzzle_13/src/puzzle_13.adb
procedure Puzzle_13 is begin null; end Puzzle_13;
2,937
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl/src/umingw_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package umingw_h is USE_u_u_UUIDOF : constant := 0; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-mingw32/include/_mingw.h:83 WINVER : constant := 16#0502#; -- c:\home\ochem\install\bin\.....
2,938
ada
24
svn2github/matreshka
source/amf/dd/amf-internals-tables-dd_attributes.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
2,939
ada
4
FrankBuss/Ada_Synth
ada/linux/ada_synth.adb
-- This sample program receives MIDI events from a keyboard and from -- rotary encoders and outputs audio, like a synthesizer. -- Call it like this from Linux: -- -- amidi -p "hw:1,0,0" -r >(./obj/ada_synth | \ -- aplay -f S16_LE -c1 -r44100 --buffer-size=4096) -- -- The BASH syntax ">(program)" creates a tempo...
2,940
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-direio.ads
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-direio.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
2,941
ada
0
optikos/oasis
source/oasis/program-compilation_units.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- limited with Program.Compilations; limited with Program.Library_Items; limited with Program.Library_Unit_Bodies; limited with Program.Library_Unit_Decl...
2,942
ada
0
ebolar/Unbounded
src/lambda_reducer.ads
<filename>src/lambda_reducer.ads -- Lambda Calculus interpreter -- --------------------------- -- Parses and reduces Lamdba Calculus statements. -- -- What is the strategy for reducing an expression? -- - Strict evaluation is bottom up (C, Fortran, Java, Ada, etc) -- - Lazy evaluation is top down - left to right (Haske...
2,943
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/a-reatim.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
2,944
ada
0
Fabien-Chouteau/ASFML
include/sf-system-clock.ads
<filename>include/sf-system-clock.ads --////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for an...
2,945
ada
20
charlie5/lace
3-mid/impact/source/3d/math/impact-d3-graham_scan_2d_convex_hull.adb
<reponame>charlie5/lace with impact.d3.Vector; package body impact.d3.graham_scan_2d_convex_Hull is function to_GrahamVector2 (org : in math.Vector_3; orgIndex : in Integer) return GrahamVector2 is Self : GrahamVector2; begin Self.Vector := org; Sel...
2,946
ada
0
balintsoos/LearnAda
gyak/gyak9/cipopor.adb
<filename>gyak/gyak9/cipopor.adb with Ada.Text_IO; use Ada.Text_IO; procedure CipoPor is -- task Por task Por is entry labnyom; end Por; task body Por is begin for I in 1..10 loop accept labnyom do Put_Line("Labnyom a homokban"); ...
2,947
ada
60
Letractively/ada-util
testutil/ahven/ahven-temporary_output.ads
-- -- Copyright (c) 2007, 2008, 2010 <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 PROVIDED "AS IS" AND THE ...
2,948
ada
8
flyx/OpenCLAda
src/interface/cl-kernels.ads
-------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<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...
2,949
ada
0
e3l6/SSMDev
demo/adainclude/s-tarest.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
2,950
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sem_elab.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
2,951
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-tasdeb.adb
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
2,952
ada
15
AdaCore/training_material
courses/spark_for_ada_programmers/labs/source/120_depends_contract_and_information_flow_analysis/depends_exercise.ads
<filename>courses/spark_for_ada_programmers/labs/source/120_depends_contract_and_information_flow_analysis/depends_exercise.ads package Depends_Exercise is Stack_Size : constant := 100; type Pointer_Range is range 0 .. Stack_Size; subtype Stack_Range is Pointer_Range range 1 .. Stack_Size; Stack : array (S...
2,953
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sem_type.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
2,954
ada
26
damaki/libkeccak
src/common/ketje.ads
------------------------------------------------------------------------------- -- Copyright (c) 2019, <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: -- * Redistributions of s...
2,955
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-atacco.ads
<filename>tools/scitools/conf/understand/ada/ada95/s-atacco.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
2,956
ada
192
rocher/Ada_Drivers_Library
arch/ARM/STM32/drivers/i2c_stm32f4/stm32-i2c.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
2,957
ada
0
Letractively/ada-ado
src/sqlite/ado-drivers-connections-sqlite.adb
----------------------------------------------------------------------- -- ADO Sqlite Database -- SQLite Database connections -- Copyright (C) 2009, 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in co...
2,958
ada
0
reznikmm/gela
source/oasis/program-elements-simple_expression_ranges.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Constraints; with Program.Elements.Expressions; with Program.Lexical_Elements; package Program.Elements.Simple_Expression_Ranges is pragma Pure ...
2,959
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l4x6/stm32_svd-hash.ads
-- This spec has been automatically generated from STM32L4x6.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.HASH is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_DATATYPE_Field is ...
2,960
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/smartfusion2/svd/i-sf2-system_registers.ads
<gh_stars>0 -- -- Copyright (C) 2017, AdaCore -- -- This spec has been automatically generated from M2Sxxx.svd pragma Ada_2012; pragma Style_Checks (Off); with System; -- No description provided for this peripheral package Interfaces.SF2.System_Registers is pragma Preelaborate; pragma No_Elaboration_Code_A...
2,961
ada
2
thindil/tashy2
tests/tk-ttkentry-ttk_entry_options_test_data-ttk_entry_options_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 intended to set up and tear down the t...
2,962
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/rpi2-mandel/mandel.adb
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
2,963
ada
1
micahwelf/FLTK-Ada
src/fltk-static.ads
<filename>src/fltk-static.ads<gh_stars>1-10 with FLTK.Widgets.Groups.Windows; private with Interfaces.C; package FLTK.Static is type Awake_Handler is access procedure; type Timeout_Handler is access procedure; type Idle_Handler is access procedure; type Buffer_Kind is (Selection, ...
2,964
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/impact-d3-triangle_callback.ads
<reponame>charlie5/lace<filename>3-mid/impact/source/3d/collision/impact-d3-triangle_callback.ads<gh_stars>10-100 package impact.d3.triangle_Callback -- -- Provides a callback for each overlapping triangle when calling processAllTriangles. -- -- This callback is called by processAllTriangles for all 'impact.d3.Shape...
2,965
ada
1
leo-brewin/adm-bssn-numerical
bssn/code/bssnevolve.adb
<reponame>leo-brewin/adm-bssn-numerical<gh_stars>1-10 -- for the Real type with Support; use Support; -- for text io with Ada.Text_IO; use Ada.Text_IO; with Support.Strings; use Support.Strings; -- for data io with BSSNBase.Data_IO; -- for parsing of the command line arguments with S...
2,966
ada
0
strenkml/EE368
memsim-master/src/benchmark-tree.adb
<reponame>strenkml/EE368<gh_stars>0 package body Benchmark.Tree is function Create_Tree return Benchmark_Pointer is begin return new Tree_Type; end Create_Tree; procedure Set_Argument(benchmark : in out Tree_Type; arg : in String) is value : constant String := ...
2,967
ada
20
charlie5/lace
3-mid/opengl/source/lean/model/opengl-model-capsule.ads
<filename>3-mid/opengl/source/lean/model/opengl-model-capsule.ads package openGL.Model.capsule -- -- Provides an abstract base class for capsule models. -- is type Item is abstract new openGL.Model.item with null record; end openGL.Model.capsule;
2,968
ada
1
faelys/simple-webapps
src/simple_webapps-upload_servers-backend.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any ...
2,969
ada
20
charlie5/lace
1-base/lace/source/strings/lace-strings-search.adb
with System; package body lace.Strings.Search is use Ada.Strings.Maps, System; ----------------------- -- Local Subprograms -- ----------------------- function Belongs (Element : Character; Set : Maps.Character_Set; Test : Membership) return Boolean; pragma In...
2,970
ada
0
sciencylab/lagrangian-solver
drivers/auto_differentiation-lagrangian.adb
<reponame>sciencylab/lagrangian-solver<gh_stars>0 with Numerics, Ada.Text_IO, Auto_Differentiation.Integrator, Chebyshev; use Numerics, Ada.Text_IO, Auto_Differentiation.Integrator, Chebyshev; procedure Auto_Differentiation.Lagrangian is -- Set Up Parameters ----------------- Control : Control_Type := (N...
2,971
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unc_memops.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unc_memops.ads with System; package Unc_Memops is pragma Elaborate_Body; type size_t is mod 2 ** Standard'Address_Size; subtype addr_t is System.Address; function Alloc (Size : size_t) return addr_t; procedure Free (Ptr : addr_t); function Rea...
2,972
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/g-semaph.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/g-semaph.adb ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
2,973
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45672a.ada
-- C45672A.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...
2,974
ada
20
charlie5/lace
3-mid/opengl/source/lean/buffer/opengl-buffer-texture_coords.ads
<reponame>charlie5/lace<filename>3-mid/opengl/source/lean/buffer/opengl-buffer-texture_coords.ads with openGL.Buffer.general; package openGL.Buffer.texture_coords is new openGL.Buffer.general (base_Object => Buffer.array_Object, Index =>...
2,975
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-fixed.adb
package body agar.gui.widget.fixed is package cbinds is procedure put (fixed : fixed_access_t; child : child_access_t; x : c.int; y : c.int); pragma import (c, put, "AG_FixedPut"); procedure size (fixed : fixed_access_t; child : child_access_t; ...
2,976
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-valuators-counters-simple.ads
package FLTK.Widgets.Valuators.Counters.Simple is type Simple_Counter is new Counter with private; type Simple_Counter_Reference (Data : not null access Simple_Counter'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create (...
2,977
ada
0
twdroeger/ada-awa
awa/plugins/awa-sysadmin/src/awa-sysadmin-filters.adb
<reponame>twdroeger/ada-awa<gh_stars>0 ----------------------------------------------------------------------- -- awa-users-filters -- Specific filters for authentication and key verification -- Copyright (C) 2011, 2012, 2015, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Versi...
2,978
ada
10
LionelDraghi/smk
src/smk-main.adb
-- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache ...
2,979
ada
4
faelys/gela-asis
source/libgela/gela-containers-vectors.ads
<reponame>faelys/gela-asis ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
2,980
ada
12
TUM-EI-RCS/StratoX
software/kernel/main.adb
<filename>software/kernel/main.adb -- Description: -- Main System File -- the main loop (TM) with Ada.Real_Time; use Ada.Real_Time; with CPU; with Units; use Units; -- with Units.Navigation; use Units.Navigation; with HIL; with Interfaces; use Interfaces; with MPU6000.Driver; use MPU6000.Driver...
2,981
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-shshco.adb
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
2,982
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr17.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr17.adb -- { dg-do compile } -- { dg-options "-gnatws" } procedure Aggr17 is type Enum is (A, B); type Rec (D : Enum := Enum'First) is record case D is when A => X : Integer; when B => null; end case; end record; for R...
2,983
ada
488
ouankou/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/a_nodes/include/a_nodes_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with Interfaces.C.Extensions; package a_nodes_h is type Program_Text is new Interfaces.C.Strings.chars_ptr; -- a_nodes.h:11 subtype ASIS_Integer is int; -- a_nodes.h:12 subtype Element_ID is int; ...
2,984
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52009a.ada
-- C52009A.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...
2,985
ada
3
onox/orka-demo
src/physics/integrators-rk4.adb
with Orka; package body Integrators.RK4 is use Vectors; use GL.Types; use type Orka.Float_64; package Linear_Integrator is procedure Integrate (Current : in out Linear_State; Force : not null access function (State : Linear_State; Time : Double) return Vectors.Vector4;...
2,986
ada
3
stcarrez/ada-css
tools/parser/css-analysis-parser-lexer_io.ads
<reponame>stcarrez/ada-css pragma Style_Checks (Off); with CSS.Analysis.Parser.Lexer_dfa; use CSS.Analysis.Parser.Lexer_dfa; -- Warning: This file is automatically generated by AFLEX. -- It is useless to modify it. Change the ".Y" & ".L" files instead. with Text_IO; use Text_IO; package CSS.Analysis.Parse...
2,987
ada
60
RREE/ada-util
regtests/util-dates-formats-tests.ads
----------------------------------------------------------------------- -- util-dates-formats-tests - Test for date formats -- Copyright (C) 2011, 2013, 2014, 2015, 2016, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this f...
2,988
ada
0
Fabien-Chouteau/sdlada
src/sdl-video-windows.adb
-------------------------------------------------------------------------------------------------------------------- -- 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 any damages -- arising from the...
2,989
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/tests/bsp_verification/src/basic_tasking.adb
------------------------------------------------------------------------------ -- -- -- GNAT BSP Test -- -- -- -- ...
2,990
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-internals-cmof_named_elements.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
2,991
ada
0
gusthoff/fixed_types
src/fixed_types-long.adb
<reponame>gusthoff/fixed_types<filename>src/fixed_types-long.adb<gh_stars>0 ------------------------------------------------------------------------------- -- -- FIXED TYPES -- -- Fixed_Long & Fixed_Sat_Long definitions -- -- The MIT License (MIT) -- -- Copyright (c) 2015 ...
2,992
ada
52
onox/orka
orka/src/gl/implementation/gl-objects-queries.adb
<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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/licen...
2,993
ada
24
svn2github/matreshka
source/uaflex/generated/parser-shift_reduce.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
2,994
ada
1
io7m/coreland-opengl-ada
opengl-vertex_array.adb
package body OpenGL.Vertex_Array is procedure Enable_Attribute_Array (Index : in Attribute_Index_t) is begin Thin.Enable_Vertex_Attrib_Array (Thin.Unsigned_Integer_t (Index)); end Enable_Attribute_Array; procedure Disable_Attribute_Array (Index : in Attribute_Index_t) is begin Thin.Disable_V...
2,995
ada
0
ytomino/gnat4drake
g-expect.ads
pragma License (Unrestricted); with GNAT.OS_Lib; with GNAT.Regpat; private with Ada.Processes; private with Ada.Streams.Stream_IO; package GNAT.Expect is type Process_Descriptor is tagged limited private; type Process_Descriptor_Access is access Process_Descriptor'Class; -- Spawning a process procedure...
2,996
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b38a.ada
-- C87B38A.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...
2,997
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-valuators-dials.adb
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Valuators.Dials is procedure dial_set_draw_hook (W, D : in System.Address); pragma Import (C, dial_set_draw_hook, "dial_set_draw_hook"); pragma Inline (dial_set_draw_hook); procedure di...
2,998
ada
1
Fabien-Chouteau/sdlada
src/sdl-events-joysticks.adb
<reponame>Fabien-Chouteau/sdlada<gh_stars>1-10 -------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be h...
2,999
ada
33
ytomino/drake
source/tasking/machine-apple-darwin/s-nattas.ads
<filename>source/tasking/machine-apple-darwin/s-nattas.ads pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) with System.Synchronous_Objects; with C.pthread; package System.Native_Tasks is pragma Preelaborate; -- thread subtype Handle_Type is C.pthread....