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
6,600
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtp_gstrtppayloads_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; with glib; with glib.Values; with System; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtp_gstrtppayloads_h is GST_RTP_PAYLOAD_G723_63 : constant ...
6,601
ada
3
FROL256/ada-ray-tracer
materials.ads
<gh_stars>1-10 with Interfaces; with Ada.Numerics.Float_Random; with Vector_Math; with Ada.Unchecked_Deallocation; with Ada.Text_IO; with Lights; use Interfaces; use Vector_Math; use Ada.Text_IO; use Lights; package Materials is ----------------------------- ---- Moderm Material API ---- ----------------------...
6,602
ada
0
AdamSzerszen/Concurrency_v.2.0
src/main.adb
<gh_stars>0 with Infrastructure; use Infrastructure; procedure Main is test_steering: Steering; begin test_steering.SetNumber(5); test_steering.CheckStatus; test_steering.Incoming(12); test_steering.CheckStatus; test_steering.Leaving; test_steering.CheckStatus; end Main;
6,603
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41404a.ada
<gh_stars>1-10 -- C41404A.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....
6,604
ada
0
cortlandstarrett/mcada
example_relationships/src/one_to_many_associative.adb
-- ************************************************************************************* -- -- The recipient is warned that this code should be handled in accordance -- with the HM Government Security Classification indicated throughout. -- -- This code and its contents shall not be used for other than UK Governme...
6,605
ada
3
rohitsaraf17/NYU-ProgrammingLanguages
AdaProgrammingAssignment/matrixmult.ads
package MatrixMult is SIZE : constant Integer := 10; type Matrix is array(1..SIZE,1..SIZE) of Integer; procedure MatMult(A, B : Matrix; C : out Matrix); end MatrixMult;
6,606
ada
1
meowthsli/veriflight_boards
cc3df4revo/src/cc3df4revo-board.adb
-- with STM32.SPI; use STM32.SPI; -- with HAL.SPI; with usb_handler; pragma Unreferenced (usb_handler); with Ada.Interrupts.Names; with Cortex_M.NVIC; use Cortex_M.NVIC; with STM32_SVD.RCC; use STM32_SVD.RCC; with Config; with spi_accel; with Ada.Real_Time; use Ada.Real_Time; with sbus_commander; pragma Unreferenced...
6,607
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-etm.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.ETM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype ETM_CR_PORTSIZE_Field is HAL.UInt3; ...
6,608
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-storages/src/awa-storages-beans.adb
----------------------------------------------------------------------- -- awa-storages-beans -- Storage Ada Beans -- Copyright (C) 2012, 2013, 2016 <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...
6,609
ada
0
kkirstein/proglang-playground
Ada/Benchmark/src/aux_image.adb
<filename>Ada/Benchmark/src/aux_image.adb with Ada.Numerics.Big_Numbers.Big_Integers; use Ada.Numerics.Big_Numbers.Big_Integers; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Perfect_Number; use Perfect_Number; with Primes; use Primes; package body Aux_Image is function Generic_Image (X : T) return ...
6,610
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/size_clause1.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/size_clause1.ads -- { dg-do compile } -- { dg-options "-gnatws" } package Size_Clause1 is -- The record inherits the alignment of Integer, which is 4, so -- the real size is 64 instead of 40. That's OK, as long as the -- size of a component of type R1...
6,611
ada
0
reznikmm/slimp
source/slim-messages-setd.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; package Slim.Messages.SETD is type SETD_Message is new Message with private; -- Setting reply type Setting...
6,612
ada
0
Tim-Tom/project-euler
Ada/src/Problem_32.adb
<gh_stars>0 with Ada.Text_IO; with Ada.Integer_Text_IO; package body Problem_32 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; subtype Digit is Integer range 1 .. 9; remaining : Array(Digit) of Boolean; type Part_Name is (Multiplicand_Tens_Digit, Multiplicand_Units_Digit, ...
6,613
ada
20
charlie5/lace
1-base/math/source/generic/pure/geometry/any_math-any_geometry.ads
generic package any_Math.any_Geometry -- -- Provides a namespace and core types for geometry. -- is pragma Pure; subtype Vertex_Id is Index; type Vertex_Ids is array (Index range <>) of Vertex_Id; subtype Triangle is Vertex_Ids (1 .. 3); type Triangles is array (Index range <>) of Triangle; ...
6,614
ada
4
docandrew/YOTROC
src/assembler.ads
-- Recursive Descent parser for YOTROC instruction set -- -- Registers: 64 general purpose registers -- 64 floating-point registers -- 64-bit FLAGS register -- 64-bit program counter -- -- label: keep a separate "label table" with addresses of the instruction -- immediately after. Anyt...
6,615
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/stm32f0/rfm69_moter/modem/modem.ads
<filename>examples/stm32f0/rfm69_moter/modem/modem.ads<gh_stars>1-10 with Peripherals; use Peripherals; package Modem is protected TX is procedure Send (Data : in Radio.Packet_Type); procedure Get_Data (Data_Available : out Boolean; Data : out Radio.Packet_Type); private Data_Available : ...
6,616
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/stack_check3.ads
package Stack_Check3 is procedure Reset; end Stack_Check3;
6,617
ada
19
jquorning/ada-security
src/security-contexts.ads
----------------------------------------------------------------------- -- security-contexts -- Context to provide security information and verify permissions -- Copyright (C) 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
6,618
ada
1
TNO/Rejuvenation-Ada
tests/src/make_ada.ads
<gh_stars>1-10 with String_Vectors; use String_Vectors; with String_Vectors_Utils; use String_Vectors_Utils; with Ada.Containers; use Ada.Containers; -- TODO: -- asked Ada expert how to get operators of String_Vectors -- without also including Ada.Containers -- See https://gt3-prod-1.adacore.com/#/ticke...
6,619
ada
3
daveshields/AdaEd
bugs/bug16.ada
<gh_stars>1-10 -- gen_.ada with TEXT_IO; use TEXT_IO; generic MAX_STRING_LENGTH: in POSITIVE; package DYNAMIC_STRING is subtype STRING_LENGTHS is INTEGER range 0 .. MAX_STRING_LENGTH; subtype STRING_INDICES is STRING_LENGTHS; type DYNAMIC_STRINGS(LENGTH: STRING_LENGTHS := 0) is private; function LENGTH (PAS...
6,620
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/narrowphase/impact-d3-triangle_callback-raycast.ads
<filename>3-mid/impact/source/3d/collision/narrowphase/impact-d3-triangle_callback-raycast.ads with impact.d3.triangle_Callback; with impact.d3.Shape.convex; package impact.d3.triangle_Callback.raycast -- -- -- is -- @BP Mod - allow backface filtering and unflipped normals use Math; -- enum EFlags ...
6,621
ada
16
stcarrez/ada-enet
src/stm32/stm32-eth.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
6,622
ada
1
lholzi/emulator_8080
src/emulator_8080-processor.adb
<reponame>lholzi/emulator_8080 with Ada.Text_IO; with GNAT.Source_Info; with GNAT.Current_Exception; with Ada.Text_IO; with Ada.Unchecked_Conversion; with GNAT.OS_Lib; package body Emulator_8080.Processor is procedure Print_Exception(Throwing_Function, Exception_Cause : in String) is begin Ada.Text_IO.Put...
6,623
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/monitor/net/netproto.ads
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...
6,624
ada
204
spr93/whitakers-words
src/tools/dups.adb
<filename>src/tools/dups.adb -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Cop...
6,625
ada
1
LaudateCorpus1/RosettaCodeData
Task/Catalan-numbers/Ada/catalan-numbers.ada
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; procedure Test_Catalan is function Catalan (N : Natural) return Natural is Result : Positive := 1; begin for I in 1..N loop Result := Result * 2 * (2 * I - 1) / (I + 1); end loop; return Result; end Catalan; begin for N in ...
6,626
ada
20
charlie5/lace
1-base/xml/source/xml-writer.ads
<reponame>charlie5/lace<filename>1-base/xml/source/xml-writer.ads with ada.Strings.unbounded, ada.Text_IO; package XML.Writer is use ada.Strings.unbounded; procedure Start_Document (F : in ada.Text_IO.File_Type); procedure End_Document (F : in ada.Text_IO.File_Type); procedure Start (F ...
6,627
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/tfren.adb
-- { dg-do run } -- { dg-options "-gnatws" } procedure Tfren is type R; type Ar is access all R; type R is record F1: Integer; F2: Ar; end record; for R use record F1 at 1 range 0..31; F2 at 5 range 0..63; end record; procedure Foo (RR...
6,628
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/object_renaming_declaration.adb
PROCEDURE object_renaming_declaration IS soureVal : Integer; renamedVal : Integer renames soureVal; BEGIN NULL; END;
6,629
ada
0
reznikmm/markdown
sources/md/markdown-link_registers.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.Strings; with League.String_Vectors; package Markdown.Link_Registers is type Link_Register is limited interface; not overriding procedu...
6,630
ada
0
fintatarta/eugen
src/Processors/LaTeX/latex_writer.adb
pragma Ada_2012; with Ada.Strings.Fixed; package body Latex_Writer is -- The result of function 'Image associated to discrete types has -- a space at the beginning. That space is quite annoying and needs -- to be trimmed. This function is here so that everyone can use it function Chop (X : String) return...
6,631
ada
0
strenkml/EE368
memsim-master/src/memory-split.adb
<gh_stars>0 with Ada.Assertions; use Ada.Assertions; with Device; use Device; with Memory.Join; use Memory.Join; with Memory.Container; use Memory.Container; package body Memory.Split is function Create_Split return Split_Pointer is result : constant Split_Pointer := new Split_Type; ...
6,632
ada
12
TUM-EI-RCS/StratoX
runtime/ravenscar-sfp-stm32f427/common/i-bit_types.ads
<filename>runtime/ravenscar-sfp-stm32f427/common/i-bit_types.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,633
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507e.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507e.ada -- C35507E.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...
6,634
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1c04d.ada
<reponame>best08618/asylo -- CD1C04D.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 contai...
6,635
ada
1
danva994/ASFML-1.6
include/sf-audio-listener.ads
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implied -- // warranty. -- // In no event will the authors be held liable for any dam...
6,636
ada
1
ytomino/vampire
source/vampire-r3.adb
<reponame>ytomino/vampire -- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Calendar.Formatting; with Ada.Directories; with Ada.Exception_Identification.From_Here; with Ada.Hierarchical_File_Names; with Ada.Streams.Stream_IO; with Tabula.Calendar; with Tabula.Users; with Vampire.Villages.Text; package body Vamp...
6,637
ada
1
sahil-rawat/Amass
resources/scripts/api/recondev.ads
<reponame>sahil-rawat/Amass -- Copyright 2017 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "ReconDev" type = "api" function start() setratelimit(5) end function check() local c local cfg...
6,638
ada
0
faelys/natools
generated/natools-s_expressions-printers-pretty-config-atom_enc.ads
<reponame>faelys/natools<filename>generated/natools-s_expressions-printers-pretty-config-atom_enc.ads package Natools.S_Expressions.Printers.Pretty.Config.Atom_Enc is pragma Preelaborate; function Hash (S : String) return Natural; end Natools.S_Expressions.Printers.Pretty.Config.Atom_Enc;
6,639
ada
11
psyomn/ash
src/transaction_handlers.adb
<filename>src/transaction_handlers.adb -- Copyright 2019-2021 <NAME> (psyomn) -- -- 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 -- --...
6,640
ada
6
jonashaggstrom/ada-canopen
src/aco-protocols-error_control.ads
with ACO.Messages; with ACO.OD; with ACO.States; private with ACO.Log; private with Interfaces; package ACO.Protocols.Error_Control is EC_Id : constant ACO.Messages.Function_Code := 16#E#; type EC (Id : ACO.Messages.Node_Nr; Od : not null access ACO.OD.Object_Dictionary'Class) is abstract new ...
6,641
ada
80
thindil/steamsky
tests/basestypes-test_data-tests.ads
<reponame>thindil/steamsky<gh_stars>10-100 -- 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 BasesTypes.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Sta...
6,642
ada
0
iyan22/AprendeAda
ejercicios6/prueba_posicion.adb
<reponame>iyan22/AprendeAda with Ada.Text_Io, Ada.Integer_Text_Io, Datos; with Crear_Lista_Vacia, Ins, Esc, Posicion; use Datos; use Ada.Text_Io, Ada.Integer_Text_Io; procedure Prueba_Posicion is Lis : Lista; -- variable del programa principal procedure Pedir_Return is begin Put_Line("pulsa retur...
6,643
ada
4
onox/xoshiro
src/xoshiro256.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2022 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 -...
6,644
ada
0
sciencylab/lagrangian-solver
AD_src/forward_ad-ad2d.adb
package body Forward_AD.AD2D is function "+" (A, B : in AD2D) return AD2D is begin return (X => A.X + B.X, Y => A.Y + B.Y); end "+"; function "-" (A, B : in AD2D) return AD2D is begin return (X => A.X - B.X, Y => A.Y - B.Y); end "-"; function "*" (A : in AD2D; ...
6,645
ada
18
kraileth/ravenadm
src/unix.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Interfaces.C; with Interfaces.C_Streams; with Interfaces.C.Strings; with HelperText; package Unix is package HT renames HelperText; package IC renames Interfaces.C; package ICS renames Interfaces....
6,646
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_ch2.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,647
ada
1
faelys/natools-web
src/natools-web-fallback_render.adb
<reponame>faelys/natools-web<filename>src/natools-web-fallback_render.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (c) 2015-2017, <NAME> -- -- -- --...
6,648
ada
30
Componolit/libsparkcrypto
tests/lsc_internal_test_aes_cbc.adb
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, <NAME> -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- ...
6,649
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/exp_dbug.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
6,650
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_dataprotocol_dataprotocol_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with glib; with glib.Values; with System; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h; limited with ...
6,651
ada
2
Stykk-Gruppen/rts-project
testing/ultrasonic_sensor/src/main.adb
<filename>testing/ultrasonic_sensor/src/main.adb with Arduino_Nano_33_Ble_Sense.IOs; with HCSR04; procedure Main is Testing_Sensor_Echo : constant Arduino_Nano_33_Ble_Sense.IOs.Pin_Id := 44; Testing_Sensor_Trig : constant Arduino_Nano_33_Ble_Sense.IOs.Pin_Id := 43; Distance_Value : Float; begin loop ...
6,652
ada
79
Roldak/OpenGLAda
src/gl/mac/gl-api-mac_os_x.adb
<reponame>Roldak/OpenGLAda -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" package body GL.API.Mac_OS_X is OpenGLFramework_Cached : CFBundleRef; function OpenGLFramework return CFBundleRef is use type System.Address; begin if OpenGLFr...
6,653
ada
21
smithros/kpi-stuff
ParallelProgramming-2/rgr/part2/main.adb
-- Parallel and Distributed Computing -- RGR. Ada Rendezvous -- Task: Z = X*(MA*MS) + min(Q)*(R*MF) -- <NAME> IO-71 with Ada.Text_IO, Ada.Integer_text_iO, Ada.Synchronous_Task_Control, Data; use Ada.Text_IO, Ada.Integer_text_iO, Ada.Synchronous_Task_Control; with Ada.Real_Time; use Ada.Real_Time; proce...
6,654
ada
12
jquorning/ada-asf
src/asf-components-core.ads
----------------------------------------------------------------------- -- asf-components-core -- ASF Core Components -- Copyright (C) 2009 - 2021 <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 L...
6,655
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94001e.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94001e.ada -- C94001E.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 -- unlimit...
6,656
ada
2
morbos/Ada_Drivers_Library
boards/stm32l151_Heltec/src/stm32-board.adb
<reponame>morbos/Ada_Drivers_Library<gh_stars>1-10 with STM32.Setup; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.DBGMCU; use STM32_SVD.DBGMCU; package body STM32.Board is --------------------- -- Initialize_LEDs -- --------------------- procedure Initialize_LEDs is Configuration : GPI...
6,657
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/spark/afrl-cmasi-missioncommand-spark_boundary.ads
<filename>src/ada/src/services/spark/afrl-cmasi-missioncommand-spark_boundary.ads package AFRL.CMASI.MissionCommand.SPARK_Boundary with SPARK_Mode is pragma Annotate (GNATprove, Terminating, SPARK_Boundary); function Get_VehicleID (Command : MissionCommand) return Int64 with Global => null; end AFRL.C...
6,658
ada
192
rocher/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-dma.ads
-- This spec has been automatically generated from STM32F7x9.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DMA is pragma Preelaborate; --------------- -- Registers -- --------------- -- low interrupt status regis...
6,659
ada
1
bracke/websitegenerator
src/commands.adb
with Commands.Generate; with Commands.Create; with Commands.Init; with Commands.Destroy; with Commands.Publish; with Commands.Import; with Commands.Deploy; with Commands.Announce; with CLIC.User_Input; with Commands.Topics.Issues; with Commands.Topics.Contribute; package body Commands is ------------------------- ...
6,660
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-musplo.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
6,661
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-umldi_uml_activity_diagrams.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
6,662
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/elim1.ads
pragma Eliminate (p, d); package elim1 is type t is tagged null record; procedure d (a : t); end;
6,663
ada
3
rogermc2/GA_Ada
ga_lib/src/c3ga_draw.ads
with GL.Objects.Programs; with Multivector_Analyze; with Multivectors; with Palet; package C3GA_Draw is procedure Draw (Render_Program : GL.Objects.Programs.Program; MV : Multivectors.Multivector; Palet_Type : Palet.Colour_Palet := Palet.Is_Null); -- ...
6,664
ada
20
charlie5/lace
3-mid/impact/source/3d/math/impact-d3-matrix.ads
package impact.d3.Matrix -- -- The impact.d3.Matrix provides a 3x3 rotation matrix, to perform linear algebra in combination with impact.d3.Quaternion, impact.d3.Transform and impact.d3.Vector. -- Make sure to only include a pure orthogonal matrix without scaling. is use Math; -- function to_Matrix (Q : i...
6,665
ada
7
98devin/ada-gba-dev
src/GBA.Refs.ads
-- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with GBA.Display.Backgrounds.Refs; package GBA.Refs is subtype BG_Ref is GBA.Display.Backgrounds.Refs.BG_Ref; subtype Reg_BG_Ref is GBA.Display.Backgrounds.Refs.Reg_BG_Ref; subtype Aff_BG_Ref is GBA.Display.Backgrounds.Refs...
6,666
ada
1
LaudateCorpus1/RosettaCodeData
Task/Parsing-RPN-calculator-algorithm/Ada/parsing-rpn-calculator-algorithm.ada
<gh_stars>1-10 with Ada.Text_IO, Ada.Containers.Vectors; procedure RPN_Calculator is package IIO is new Ada.Text_IO.Float_IO(Float); package Float_Vec is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Float); Stack: Float_Vec.Vector; Input: String := Ada.Text_IO.Get_Line; Cur...
6,667
ada
4
jfuica/bingada
src/q_bingo_help.ads
<filename>src/q_bingo_help.ads --***************************************************************************** --* --* PROJECT: BingAda --* --* FILE: q_bingo_help.ads --* --* AUTHOR: <NAME> --* --***************************************************************************** with Gtk...
6,668
ada
33
ytomino/drake
source/streams/machine-w64-mingw32/s-naioso.ads
pragma License (Unrestricted); -- implementation unit specialized for Windows with C.psdk_inc.qip_types; with C.psdk_inc.qsocket_types; with C.ws2tcpip; package System.Native_IO.Sockets is pragma Preelaborate; pragma Linker_Options ("-lws2_32"); type Port_Number is range 0 .. 16#ffff#; subtype Socket_Add...
6,669
ada
0
usainzg/EHU
PMOO/ADA/Lab_1_2_Ada/salas.ads
<reponame>usainzg/EHU<filename>PMOO/ADA/Lab_1_2_Ada/salas.ads<gh_stars>0 PACKAGE Salas IS TYPE Sala IS PRIVATE; --Constructor para crear la sala e inicializarla FUNCTION Crear_Sala ( Nombre_Sala : String; Numero_Filas : Positive; Numero_Localidades_Fi...
6,670
ada
1
LaudateCorpus1/RosettaCodeData
Task/Hello-world-Line-printer/Ada/hello-world-line-printer.ada
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; procedure Print_Line is Printer : File_Type; begin begin Open (Printer, Mode => Out_File, Name => "/dev/lp0"); exception when others => Put_Line ("Unable to open printer."); return; end; Set_Output (Printer); Put_Line ("...
6,671
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sinput-d.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
6,672
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3403f.ada
<reponame>best08618/asylo -- CE3403F.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 contai...
6,673
ada
24
svn2github/matreshka
source/league/matreshka-cldr-allkeys_reader.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
6,674
ada
81
fuzzysloth/ada-awa
awa/src/awa-applications-factory.ads
----------------------------------------------------------------------- -- awa-applications-factory -- Factory for AWA Applications -- 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 complian...
6,675
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-pooemp.ads
<filename>tools/scitools/conf/understand/ada/ada95/s-pooemp.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,676
ada
20
charlie5/lace
1-base/math/source/generic/pure/geometry/trigonometry/any_math-any_fast_trigonometry.ads
with cached_Trigonometry; generic package any_math.any_fast_Trigonometry is package Default is new cached_Trigonometry (Float_type => any_Math.Real, slot_Count => 10_000); end any_math.any_fast_Trigonometry;
6,677
ada
0
reznikmm/gela
source/oasis/program-elements-statements.ads
<filename>source/oasis/program-elements-statements.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Program.Elements.Statements is pragma Pure (Program.Elements.Statements); type Statement is limited ...
6,678
ada
2
SMerrony/dgemua
aosvs/aosvs-agent.adb
-- 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 -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, p...
6,679
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_propertyprobe_h.ads
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_propertyprobe_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with glib; with System; -- limited -- with GStreamer.GST_Low_Level.glib_2_0_gob...
6,680
ada
33
ytomino/drake
source/image/required/s-widboo.adb
<reponame>ytomino/drake package body System.Wid_Bool is function Width_Boolean (Lo, Hi : Boolean) return Natural is begin if Lo > Hi then return 0; elsif Lo then return 4; -- "TRUE" else return 5; -- "FALSE" end if; end Width_Boolean; end System.Wid_Bool;
6,681
ada
3
charlie5/aIDE
applet/aide/source/palettes/aide-palette-of_exceptions.ads
with gtk.Widget; with Gtk.Button; with Gtk.Window; with Adam.exception_Handler, AdaM.Declaration.of_exception; with Gtk.Notebook; with Gtk.Table; package aIDE.Palette.of_exceptions is type Item is new Palette.item with private; type View is access all Item'Class; -- Forge -- function to_...
6,682
ada
0
reznikmm/slimp
source/slim-messages-strm.ads
<reponame>reznikmm/slimp<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with GNAT.Sockets; with League.Strings; with League.String_Vectors; package Slim.Messages.strm is type Strm_Me...
6,683
ada
30
jscparker/math_packages
linear_algebra/golub_svd.ads
--------------------------------------------------------------------------- -- package Golub_SVD, Singular Value Decomposition -- Copyright (C) 2018 <NAME>. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyri...
6,684
ada
0
reznikmm/webidl
source/context/webidl-simple_factories.adb
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body WebIDL.Simple_Factories is package body Nodes is type Argument_Vector_C_Access is access constant Argument_Vector; overriding function Argum...
6,685
ada
3
stcarrez/ada-css
tools/parser/css-analysis-parser-parser.adb
pragma Style_Checks (Off); with Interfaces; with Ada.Text_IO; with CSS.Analysis.Parser.Parser_Goto; with CSS.Analysis.Parser.Parser_Tokens; with CSS.Analysis.Parser.Parser_Shift_Reduce; with CSS.Analysis.Parser.Lexer_IO; with CSS.Analysis.Parser.Lexer; with CSS.Analysis.Parser.Lexer_Dfa; package body CSS.Analysis.Par...
6,686
ada
0
Feqzz/film-parser
json.ads
with Ada.Text_IO; with Ada.Calendar; with Ada.Real_Time; with Ada.Integer_Text_IO; package Json is procedure AppendFilm (title, year, score, imdb : String); procedure Init; procedure Close; end Json;
6,687
ada
1
LaudateCorpus1/RosettaCodeData
Task/Topological-sort/Ada/topological-sort-2.ada
package body Digraphs is function Node_Count(Graph: Graph_Type) return Node_Idx_With_Null is begin return Node_Idx_With_Null(Graph.Length); end Node_Count; procedure Add_Node(Graph: in out Graph_Type'Class; Node: Node_Index) is begin for I in Node_Index range Graph.Node_Count+1 .. Node loop...
6,688
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-template_parser-simple.adb
<reponame>jrcarter/Ada_GUI<filename>ada_gui-gnoga-server-template_parser-simple.adb -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
6,689
ada
192
rocher/Ada_Drivers_Library
middleware/src/filesystem/filesystem-mbr.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
6,690
ada
0
kisom/rover-mk1
src/rosa/rosa-tasks.ads
with Interfaces; use Interfaces; package ROSA.Tasks is type States is (Running, Suspended, Waiting, Ready); type Task_Status is (OK, Not_Ready, Not_Running); type Tasking is private; -- Initialise a new tasking structure. procedure Create (Task_ID, Priority : in Unsigned_8; t : out Taski...
6,691
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr21.ads
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr21.ads<gh_stars>1-10 package Discr21 is procedure Test; end Discr21;
6,692
ada
80
thindil/steamsky
tests/mobs-protomobrecord_test_data.adb
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. package body Mobs.ProtoMobRecord_Test_Data ...
6,693
ada
0
kkirstein/proglang-playground
Ada/Benchmark/src/primes.adb
with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; with Ada.Numerics.Big_Numbers.Big_Integers; use Ada.Numerics.Big_Numbers.Big_Integers; package body Primes is function Is_Prime (N : Natural) return Boolean is Limit : constant Natural := Natural (Sqrt (Float (N))); begin ...
6,694
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_000e.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
6,695
ada
0
alexcamposruiz/dds-requestreply
src/dds-patches/dds-domainparticipant.ads
<reponame>alexcamposruiz/dds-requestreply -- (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$ -- All rights reserved. -- -- No duplications, whole or partial, manual or electronic, may be made -- without express written permission. Any such copies, or -- revisions thereof, must display this notice unal...
6,696
ada
32
robdaemon/AdaYaml
src/interface/yaml-destination.ads
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Finalization; package Yaml.Destination is type Instance is abstract new Ada.Finalization.Limited_Controlled with null record; type Pointer is access all Instance'Class; procedu...
6,697
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-response-cfg.ads
package Tkmrpc.Response.Cfg is end Tkmrpc.Response.Cfg;
6,698
ada
12
TUM-EI-RCS/StratoX
bug-reports/codepeer-units/src/unav.ads
with Units; use Units; package unav with SPARK_Mode is EARTH_RADIUS : constant Length_Type := 6378.137 * Kilo * Meter; function Get_Distance return Length_Type with Post => Get_Distance'Result in 0.0 * Meter .. 2.0*EARTH_RADIUS*180.0*Degree; end unav;
6,699
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/in_out_parameter2.adb
-- { dg-do run } -- { dg-options "-gnat12" } procedure In_Out_Parameter2 is function F (I : In Out Integer) return Boolean is A : Integer := I; begin I := I + 1; return (A > 0); end; I : Integer := 0; B : Boolean; begin B := F (I); if B then raise Program_Error; end if; if I /= 1 t...