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
10,400
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_penetration_depth_solver-minkowski.ads
with impact.d3.collision.convex_penetration_depth_Solver; with impact.d3.collision.simplex_Solver; with impact.d3.Shape.convex; package impact.d3.collision.convex_penetration_depth_Solver.minkowski -- -- MinkowskiPenetrationDepthSolver implements bruteforce penetration depth estimation. -- -- Implementation is bas...
10,401
ada
0
djgoku/RosettaCodeData
Task/Read-a-configuration-file/Ada/read-a-configuration-file-2.ada
<filename>Task/Read-a-configuration-file/Ada/read-a-configuration-file-2.ada with Ada.Text_IO; with Config; use Config; procedure Read_Config is use Ada.Text_IO; use Rosetta_Config; begin New_Line; Put_Line ("Reading Configuration File."); Put_Line ("Fullname := " & Get (Key => ...
10,402
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/private1-sub.ads
-- { dg-do compile } -- { dg-options "-gnatct" } package Private1.Sub is package Nested is type T is limited private; function "=" (X, Y : T) return Boolean; private type T is new Private1.T; end Nested; end Private1.Sub;
10,403
ada
0
ytomino/zlib-ada
examples/test_strings.adb
with Ada.Command_Line; with Ada.Streams; with Ada.Text_IO; with Ada.Integer_Text_IO; with zlib.Strings; procedure test_strings is use type Ada.Streams.Stream_Element_Offset; Verbose : Boolean := False; Text : constant String := "Hello, zlib!"; Buffer : Ada.Streams.Stream_Element_Array (0 .. 1023); Buffer_Last : Ad...
10,404
ada
33
ytomino/drake
source/hash/a-szbzha.ads
pragma License (Unrestricted); with Ada.Containers; generic with package Bounded is new Generic_Bounded_Length (<>); function Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash ( Key : Bounded.Bounded_Wide_Wide_String) return Containers.Hash_Type; pragma Preelaborate (Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash);
10,405
ada
8
Lucretia/so
src/oberon-files.ads
<reponame>Lucretia/so ------------------------------------------------------------------------------------------------------------------------ -- See COPYING for licence information. ------------------------------------------------------------------------------------------------------------------------ -- Oberon.File...
10,406
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-elaall.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
10,407
ada
0
TNO/Rejuvenation-Ada
workshop/tests/src/test_examples.adb
with Ada.Containers; use Ada.Containers; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with AUnit.Assertions; use AUnit.Assertions; with GNAT.Source_Info; use GNAT.Source_Info; with Langkit_Support.Text; use Lang...
10,408
ada
33
ytomino/drake
source/nls/machine-pc-linux-gnu/s-naenen.adb
with Ada.Exception_Identification.From_Here; with System.Address_To_Constant_Access_Conversions; with System.Address_To_Named_Access_Conversions; with System.Zero_Terminated_Strings; with System.Debug; -- assertions with C.errno; package body System.Native_Environment_Encoding is use Ada.Exception_Identification.Fro...
10,409
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-polyhedral-hull.ads
<gh_stars>10-100 with impact.d3.Shape.convex.internal.polyhedral; -- #include "impact.d3.Shape.convex.internal.polyhedral.h" -- #include "BulletCollision/BroadphaseCollision/impact.d3.collision.Proxy.h" // for the types -- #include "LinearMath/btAlignedObjectArray.h" package impact.d3.Shape.convex.internal.polyhe...
10,410
ada
0
mgrojo/ASnip
doc/hello.ada
<reponame>mgrojo/ASnip<filename>doc/hello.ada<gh_stars>0 with Ada.Text_IO; use Ada; procedure Hello is begin Text_IO.Put_Line("procedure Hello is"); -- notice that "procedure" and "is" aren't highlighted here end Hello;
10,411
ada
1
hgrodriguez/sh1107
src/sh1107.adb
<gh_stars>1-10 --=========================================================================== -- -- This package is the implementation of the SH1107 package -- --=========================================================================== -- -- Copyright 2022 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- ...
10,412
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/switch.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,413
ada
1
LaudateCorpus1/RosettaCodeData
Task/Self-referential-sequence/Ada/self-referential-sequence.ada
with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Vectors; procedure SelfRef is subtype Seed is Natural range 0 .. 1_000_000; subtype Num is Natural range 0 .. 10; type NumList is array (0 .. 10) of Num; package IO is new Ada.Text_IO.Integer_IO (Natural); package DVect is new Ada.Containers.Vectors ...
10,414
ada
33
ytomino/drake
source/numerics/machine-w64-mingw32/s-ranini.adb
with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with C.winbase; with C.wincrypt; with C.windef; with C.winerror; package body System.Random_Initiators is use Ada.Exception_Identification.From_Here; use type C.windef.WINBOOL; use type C.windef.DWORD; -- error code ...
10,415
ada
0
Letractively/ada-util
src/http/aws/util-http-clients-web.ads
----------------------------------------------------------------------- -- util-http-clients-web -- HTTP Clients with AWS implementation -- Copyright (C) 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 com...
10,416
ada
1
LaudateCorpus1/RosettaCodeData
Task/LZW-compression/Ada/lzw-compression-3.ada
with LZW; with Ada.Text_IO; procedure Test is package Text_IO renames Ada.Text_IO; package Code_IO is new Ada.Text_IO.Integer_IO (LZW.Codes); Test_Data : constant LZW.Compressed_Data := LZW.Compress ("TOBEORNOTTOBEORTOBEORNOT"); begin for Index in Test_Data'Range loop Code_IO.Put (Test_Data (I...
10,417
ada
1
Scottx86-64/dotfiles-1
source/pkgsrc/lang/gcc34/files/5netbsd64osinte.ads
<reponame>Scottx86-64/dotfiles-1<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
10,418
ada
4
faelys/gela-asis
source/asis/asis-clauses.ads
<filename>source/asis/asis-clauses.ads ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-...
10,419
ada
52
onox/orka
orka/src/orka/implementation/orka-rendering-fences.adb
<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://www.apache.org/licen...
10,420
ada
0
jquorning/CELLE
source/auxiliary.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.Strings.Fixed; with Ada.Character...
10,421
ada
1
Fabien-Chouteau/samd51-hal
src/drivers/sercom_u2201/sam-sercom-usart.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
10,422
ada
3
stcarrez/ada-css
tools/css-analysis-parser.adb
----------------------------------------------------------------------- -- css-analysis-parser -- Rule parser for CSS Analysis -- Copyright (C) 2017 <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...
10,423
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3409c.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3409c.ada -- CE3409C.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...
10,424
ada
19
jrcarter/Ada_GUI
parsers-multiline_source-text_io.adb
<filename>parsers-multiline_source-text_io.adb -- -- -- package Copyright (c) <NAME> -- -- Parsers.Multiline_Source.Text_IO Luebeck -- -- Implementation Winter, 200...
10,425
ada
65
mfkiwl/ewok-kernel-security-OS
src/ewok-alarm.ads
-- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http...
10,426
ada
15
mgrojo/adalib
system-storage_pools-subpools.ads
<reponame>mgrojo/adalib -- Standard Ada library specification -- 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-Identifier: BSD-3-Cla...
10,427
ada
3
jwarwick/aoc_2020
day_template/src/main.adb
<filename>day_template/src/main.adb -- AOC 2020, Day X with Ada.Text_IO; use Ada.Text_IO; with Day; use Day; procedure main is begin -- put_line("Part 1: " & Orbit_Checksum'Image(Day.orbit_count_checksum(ol))); -- put_line("Part 2: " & Day1.Mass'Image(Day1.total_fuel)); end main;
10,428
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/rotations.adb
-- -- Jan & <NAME>, Australia, July 2011 -- with Ada.Numerics; use Ada.Numerics; package body Rotations is use Real_Elementary_Functions; function To_Radiants (A : Degrees) return Radiants is ((A / 180.0) * Pi); -- function To_Degrees (A : Radiants) return Degrees is ((A / Pi) * 180.0); -- fun...
10,429
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-internal-convert.ads
<gh_stars>10-100 ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- @author <NAME> -- @date 2019-01-21 -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or ...
10,430
ada
0
reznikmm/slimp
source/slim-players-idle_state_visiters.adb
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Wide_Wide_Text_IO; with Slim.Players.Displays; package body Slim.Players.Idle_State_Visiters is procedure Update_Display (S...
10,431
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/nordic/nrf51/s-bbbopa__microbit.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
10,432
ada
12
yannickmoy/protobuf
source/compiler/compiler-context.adb
<gh_stars>10-100 -- MIT License -- -- Copyright (c) 2020 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, including without limitation -- the rights to ...
10,433
ada
1
zrmyers/VulkanAda
test/mat/vulkan-math-mat4x3-test.adb
<reponame>zrmyers/VulkanAda -------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2021 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal ...
10,434
ada
1
alvaromb/Compilemon
src/compiprueba.adb
<filename>src/compiprueba.adb -- ------------------------------------------------ -- Programa de prova -- ------------------------------------------------ -- Versio : 0.1 -- Autors : <NAME> -- <NAME> -- <NAME> -- ------------------------------------------------ -- Programa per co...
10,435
ada
30
jscparker/math_packages
fourier/chirped.ads
<gh_stars>10-100 -- PACKAGE Chirped -- -- The Chirped FFT performs a true Discrete Fourier Transform (DFT). -- Unlike standard FFT's, the Chirped FFT performs a Discrete Fourier -- Transform on data sets of any length. Data set lengths are not restricted -- to powers of 2 or any other special number. -- Like the FFT...
10,436
ada
3
liujiamingustc/phd
awesome/c_cpp/cpp-cheat/gcc/ada/main.adb
<filename>awesome/c_cpp/cpp-cheat/gcc/ada/main.adb with Ada.Text_IO; use Ada.Text_IO; procedure Main is begin Put_Line ("hello world"); end Main;
10,437
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/include.adb
<reponame>best08618/asylo -- { dg-do compile } */ -- { dg-options "-cargs -I -gnatws" } -- { dg-error "search directory missing" "" { target *-*-* } 0 }
10,438
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cb/cb1005a.ada
-- CB1005A.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...
10,439
ada
33
ytomino/drake
source/image/required/s-imgrea.adb
with System.Formatting.Fixed; with System.Formatting.Float; package body System.Img_Real is procedure Image_Ordinary_Fixed_Point ( V : Long_Long_Float; S : in out String; P : out Natural; Aft : Natural) is Fore_Last : Natural; begin Formatting.Fixed.Image ( V, ...
10,440
ada
20
charlie5/lace
1-base/lace/applet/demo/event/distributed/launch_simple_chat_client.adb
<filename>1-base/lace/applet/demo/event/distributed/launch_simple_chat_client.adb<gh_stars>10-100 with chat.Client.local, lace.Event.utility, ada.Characters.latin_1, ada.command_Line, ada.Text_IO, ada.Exceptions; procedure launch_simple_chat_Client -- -- Starts a chat client. -- is u...
10,441
ada
1
LaudateCorpus1/RosettaCodeData
Task/Arrays/Ada/arrays.ada
procedure Array_Test is A, B : array (1..20) of Integer; -- Ada array indices may begin at any value, not just 0 or 1 C : array (-37..20) of integer -- Ada arrays may be indexed by enumerated types, which are -- discrete non-numeric types type Days is (Mon, Tue, Wed, Thu, Fri, Sat, Sun); type Ac...
10,442
ada
2
AdaCore/style_checker
testsuite/tests/T618-047__Ada_2020/f2020.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (C) 2003-2006, AdaCore -- function F2020 (I : Integer) return String is type R is record I : Integer; end record; X : R := (I => I); Y : String := X'Image...
10,443
ada
4
reznikmm/jupyter
sources/ada/ada_kernels.adb
<reponame>reznikmm/jupyter -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Characters.Wide_Wide_Latin_1; with Ada.Directories; with Ada.Streams; with GNAT.OS_Lib; with League.JSON.Values; with League.Text_...
10,444
ada
52
onox/orka
orka/src/gl/interface/gl-objects-pipelines.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2015 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 -...
10,445
ada
5
JeremyGrosser/notcursesada
src/notcurses-direct.ads
-- -- Copyright 2021 (C) <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: Apache-2.0 -- with Notcurses.Channel; use Notcurses.Channel; with Notcurses_Direct_Thin; package Notcurses.Direct is type Notcurses_Direct is private; procedure Initialize (This : out Notcurses_Direct; Terminal_Type...
10,446
ada
0
btmalone/alog
aunit/aunit-run.ads
<filename>aunit/aunit-run.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,447
ada
0
JCGobbi/Nucleo-STM32G474RE
SVD2ada/svd/stm32_svd-fdcan.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.FDCAN is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CREL_DAY_Field is HAL.UInt8; su...
10,448
ada
1
jquorning/WeDo
source/command_line.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.Command_Line; with Setup; packa...
10,449
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt28_pkg.ads
package Opt28_Pkg is type Posix_String is array (Positive range <>) of aliased Character; function To_Posix (Str : String) return Posix_String; function To_String (Str : Posix_String) return String; function Is_File (Str : Posix_String) return Boolean; function Value_Of (Name : Posix_String) return Posix_St...
10,450
ada
0
luk9400/nsi
list1/task2/src/main.adb
<gh_stars>0 with Poly; use Poly; with Ada.Text_IO; procedure Main is Arr: Vector (0 .. 1) := (7, 4); X: Integer; begin X := 2; Ada.Text_IO.Put_Line ("Value of poly: " & Horner(X, Arr)'Image); end Main;
10,451
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/common/hil/hil-nvram.ads
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> (<EMAIL>) with HIL.Devices.NVRAM; -- @summary -- Target-independent specification for HIL of NVRAM package HIL.NVRAM with Spark_Mode => On is subtype Address is HI...
10,452
ada
0
sebsgit/textproc
src/tests/histogramdescriptortests.adb
with AUnit.Assertions; use AUnit.Assertions; with Interfaces.C.Strings; with Ada.Text_IO; with Ada.Containers; use Ada.Containers; with ImageIO; with PixelArray; with ImageRegions; with Histogram; with HistogramDescriptor; with ShapeDatabase; use PixelArray; use ImageRegions; use HistogramDescriptor; package body Hi...
10,453
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/gl/gl-math.adb
<reponame>ForYouEyesOnly/Space-Convoy<gh_stars>1-10 package body GL.Math is use Ada.Numerics; use GL, REF; ------------- -- Vectors -- ------------- function "*" (l : Double; v : Double_Vector_3D) return Double_Vector_3D is (l * v (0), l * v (1), l * v (2)); function "*" (v : Double_Vector_3D; ...
10,454
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/radar/040_statements/util/radar_internals.adb
<reponame>AdaCore/training_material with Ada.Text_IO; use Ada.Text_IO; package body Radar_Internals is T : Natural := 0; type Angle_Degrees_T is mod 360; Antenna_Angle : Angle_Degrees_T := 120; type Object_Type_T is (Sarah_Connor, Peon, John_Connor); Active_Object_Type : Object_Type_T := Sarah...
10,455
ada
24
svn2github/matreshka
source/xml/sax/matreshka-internals-xml-attribute_tables.ads
<filename>source/xml/sax/matreshka-internals-xml-attribute_tables.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,456
ada
3
Heziode/aoc-ada-2021
utils/src/utils.ads
<filename>utils/src/utils.ads<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; package Utils is subtype Long_Long_Natural is Long_Long_Integer range 0 .. Long_Long_Integer'Last; -- The parameter "wcem=8" indicates that we want to open a file in -- UTF-8 format (which can therefore contain accents) DEF...
10,457
ada
60
RREE/ada-util
src/base/events/util-events-timers.adb
----------------------------------------------------------------------- -- util-events-timers -- Timer list management -- Copyright (C) 2017 <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...
10,458
ada
0
kraileth/ravenadm
src/pilot.adb
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt -- To enable ncurses support, use sed to change Options_Dialog_Console => Options_Dialog with Ada.Characters.Latin_1; with Ada.Strings.Fixed; with Ada.Command_Line; with Ada.Directories; with Ada.Calendar; with A...
10,459
ada
1
faelys/lithium3
src/lithium-spoiler_filters.ads
<filename>src/lithium-spoiler_filters.ads ------------------------------------------------------------------------------ -- Copyright (c) 2017-2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribu...
10,460
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-i2c.ads
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.I2C is pragma Preelaborate; ...
10,461
ada
0
fintatarta/eugen
src/Utilities/tokenize.adb
with Tokenize.Private_Token_Lists; package body Tokenize with SPARK_Mode => On is use Private_Token_Lists; function To_Array (List : Token_List) return Token_Array; function Basic_Split (To_Be_Splitted : String; Separator : Ada.Strings.Maps.Character_Set; ...
10,462
ada
0
oysteinlondal/Inverted-Pendulum
shared_data.ads
<filename>shared_data.ads with Type_Lib; use Type_Lib; package Shared_Data is protected type Sensor_Reading is procedure Set (Meassured_Value : in Float); entry Get (Value : out Float); private Updated : Boolean := False; Current_Value : Float; end Sensor_Readin...
10,463
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_00a7.ads
<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_00a7.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
10,464
ada
15
My-Colaborations/dynamo
src/gen-artifacts-docs-markdown.adb
<filename>src/gen-artifacts-docs-markdown.adb ----------------------------------------------------------------------- -- gen-artifacts-docs-markdown -- Artifact for GitHub Markdown documentation format -- Copyright (C) 2015, 2017, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apach...
10,465
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/example_spark_service/uxas-comms-lmcp_net_client-service-example_spark_service.adb
<gh_stars>10-100 with AFRL.CMASI.AutomationResponse.SPARK_Boundary; use AFRL.CMASI.AutomationResponse.SPARK_Boundary; with AFRL.CMASI.MissionCommand; use AFRL.CMASI.MissionCommand; with AVTAS.LMCP.Object.SPARK_Boundary; use AVTAS.LMCP.Object.SPARK_Boundary; with UxAS.Comms.LMCP_Net_Clien...
10,466
ada
1
LaudateCorpus1/RosettaCodeData
Task/Comma-quibbling/Ada/comma-quibbling.ada
with Ada.Text_IO, Ada.Command_Line; use Ada.Command_Line; procedure Comma_Quibble is begin case Argument_Count is when 0 => Ada.Text_IO.Put_Line("{}"); when 1 => Ada.Text_IO.Put_Line("{" & Argument(1) & "}"); when others => Ada.Text_IO.Put("{"); for I in 1 .. Argument_Count-2 loop Ada.Te...
10,467
ada
0
dpr1005/Tiempo-Real-Ejercicios
Practica 03/P03_Tarea_Dinamica_Declare/src/tipos_tarea.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; package body Tipos_Tarea is task body Tarea_Repetitiva is begin loop Put_Line("Id = " & IdTarea'Img); delay 1.0; end loop; end Tarea_Repetitiva; end Tipos_Tarea;
10,468
ada
0
reznikmm/webidl
source/lexer/webidl-abstract_sources.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2010-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Matreshka.Internals.Unicode; package WebIDL.Abstract_Sources is pragma Preelaborate; subtype Code_Unit_32 is Matreshka.Internals.Unicode.Code...
10,469
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/tests/malloc/tmalloc.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- T M A L L O C -- -- -- -- Copyright (C) 2011, AdaCore ...
10,470
ada
20
charlie5/lace
1-base/math/source/precision/long/long_math.ads
with any_Math; package long_Math is new any_Math (Real_t => long_Float); pragma Pure (long_Math);
10,471
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/a-intnam__8321e.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
10,472
ada
1
io7m/coreland-symbex
symbex-parse.adb
with Interfaces; use type Interfaces.Unsigned_32; package body Symbex.Parse is package body Internal is function Get_Data (Node : in Node_t) return UBW_Strings.Unbounded_Wide_String is begin case Node.Kind is when Node_Symbol => return Node.Name; when Node_String => return Node...
10,473
ada
20
charlie5/lace
1-base/lace/source/text/lace-text-cursor.adb
with ada.Characters.latin_1, ada.Strings.fixed, ada.strings.Maps; package body lace.text.Cursor is use ada.Strings; Integer_Numerals : constant maps.character_Set := maps.to_Set ("+-0123456789"); Float_Numerals : constant maps.character_Set := maps.to_Set ("+-0123456789."); -- Forge ...
10,474
ada
0
thierr26/ada-apsepp
src/apsepp-generic_shared_instance.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Scope_Bound_Locks; use Apsepp.Scope_Bound_Locks; generic type Instance_Ancestor_Type (<>) is abstract tagged limited private; Lock_CB, Unlock_CB : SB_Lock_CB := null; package Apsepp.Generic_Shared_Instance is ...
10,475
ada
1
persan/A-gst
src/gstreamer-rtsp-url.ads
<filename>src/gstreamer-rtsp-url.ads private with GStreamer.GST_Low_Level.Gstreamer_0_10_Gst_Rtsp_Gstrtspurl_H; with Glib; with System; with Ada.Finalization; with GNAT.Sockets; package GStreamer.Rtsp.url is DEFAULT_PORT : constant := 554; type GstRTSPUrl (<>)is tagged private; function Get_Type return GLIB...
10,476
ada
2
charlie5/cBound
tier-1/xcb/source/thin/xcb-xcb_poly_segment_request_t.ads
<filename>tier-1/xcb/source/thin/xcb-xcb_poly_segment_request_t.ads -- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_poly_segment_request_t is -- Item -- type Item is record major_opcode : aliased Interf...
10,477
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cfhama.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
10,478
ada
2
egustafson/sandbox
Ada/gnat/int_in.adb
<gh_stars>1-10 -- int_in.ada -- -- -- Title: Integer Input -- Created: Wed Apr 14 12:53:06 1993 -- Author: <NAME> -- <<EMAIL>> -- with TEXT_IO; procedure INT_IN is package INT_IO is new TEXT_IO.INTEGER_IO( INTEGER ); use TEXT_IO; use INT_IO; I : INTEGER; VALID_INPUT : BOOLEAN; begin -- INT_IN ...
10,479
ada
0
zdimension/tdinfo302
src/tri_sel.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure tri_sel is N : constant Integer := 8; tab : array (1..N) of Integer := (7, 8, 6, 5, 4, 3, 2, 1); tmp, minI : Integer; begin for i in 1..N-1 loop for k in 1..N loop Put(tab(k)); en...
10,480
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cbprqu.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
10,481
ada
3
FROL256/ada-ray-tracer
ray_tracer.ads
<filename>ray_tracer.ads<gh_stars>1-10 with Interfaces; with Ada.Numerics.Float_Random; with Ada.Assertions; with Vector_Math; with Materials; with Lights; with Geometry; with Scene; with Ada.Unchecked_Deallocation; use Interfaces; use Vector_Math; use Materials; use Lights; use Ada.Assertions; use Geometry; package ...
10,482
ada
15
My-Colaborations/dynamo
src/asis/asis-text-set_get.ads
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
10,483
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn9.adb
-- { dg-do compile } -- { dg-options "-Wuninitialized" } pragma Warnings (Off); function Warn9 return Integer is I : Integer; begin return I; end;
10,484
ada
0
twdroeger/ada-awa
awa/plugins/awa-changelogs/src/model/awa-changelogs-models.ads
<gh_stars>0 ----------------------------------------------------------------------- -- AWA.Changelogs.Models -- AWA.Changelogs.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generat...
10,485
ada
65
vdh-anssi/ewok-kernel
src/ewok-tasks-debug.adb
<gh_stars>10-100 -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License ...
10,486
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sem_attr.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/sem_attr.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,487
ada
1
LaudateCorpus1/RosettaCodeData
Task/Knuths-algorithm-S/Ada/knuths-algorithm-s-1.ada
generic Sample_Size: Positive; type Item_Type is private; package S_Of_N_Creator is subtype Index_Type is Positive range 1 .. Sample_Size; type Item_Array is array (Index_Type) of Item_Type; procedure Update(New_Item: Item_Type); function Result return Item_Array; end S_Of_N_Creator;
10,488
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_4/src/solar_system.ads
<reponame>AdaCore/training_material ----------------------------------------------------------------------- -- Ada Labs -- -- -- -- Copyright (C) 2008-2009, AdaCore ...
10,489
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-striding_mesh-triangle_index_vertex_array.adb
<reponame>charlie5/lace -- #include "impact.d3.striding_Mesh.triangle_index_vertex_array.h" package body impact.d3.striding_Mesh.triangle_index_vertex_array -- -- -- is procedure addIndexedMesh (Self : in out Item; mesh : in btIndexedMesh) is begin Self.m_indexedMeshes.append (mesh); -- ...
10,490
ada
20
HeisenbugLtd/spat
src/util/spat-spark_files.adb
<filename>src/util/spat-spark_files.adb ------------------------------------------------------------------------------ -- 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, ...
10,491
ada
15
mgrojo/adalib
ada-task_termination.ads
<gh_stars>10-100 -- 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. ...
10,492
ada
8
flyx/OpenCLAda
src/implementation/cl-queueing-memory_objects.adb
<reponame>flyx/OpenCLAda<filename>src/implementation/cl-queueing-memory_objects.adb -------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is he...
10,493
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sem_prag.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,494
ada
0
twdroeger/ada-awa
awa/plugins/awa-jobs/src/awa-jobs-modules.ads
----------------------------------------------------------------------- -- awa-jobs-modules -- Job module -- Copyright (C) 2012, 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...
10,495
ada
0
optikos/oasis
source/nodes/program-nodes-requeue_statements.adb
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Requeue_Statements is function Create (Requeue_Token : not null Program.Lexical_Elements .Lex...
10,496
ada
33
ytomino/drake
source/environment/machine-w64-mingw32/s-prdyli.ads
pragma License (Unrestricted); -- extended unit specialized for Windows with Ada.IO_Exceptions; private with Ada.Finalization; private with C.windef; package System.Program.Dynamic_Linking is -- Loading dynamic-link library. pragma Preelaborate; type Library is limited private; -- subtype Open_Library is ...
10,497
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-textio.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,498
ada
0
fintatarta/fakedsp
Ada/src/fakelib/fakedsp-data_streams-wave.ads
<filename>Ada/src/fakelib/fakedsp-data_streams-wave.ads with Ada.Streams.Stream_IO; use Ada; package Fakedsp.Data_Streams.Wave is type Wave_Source is limited new Data_Source with private; type Wave_Source_Access is access Wave_Source; function Open (Filename : String) return Wave_Source_Access; procedu...
10,499
ada
0
hannesb0/rtpl18
src/lab-code/car-blinker/car-blinker-rav-ql/src/blinker.ads
<filename>src/lab-code/car-blinker/car-blinker-rav-ql/src/blinker.ads with System;use System; package Blinker is -- type Cmd_Type is (START, STOP, QUIT); type Cmd_Type is (STOP, START); type Id_Type is ( R, L, E); type Command_To_Type is record Cmd : Cmd_Type; Receiver : Id_Type; end record; ...