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
27,900
ada
2
SMerrony/dgemua
debug_logs.ads
<gh_stars>1-10 -- 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, m...
27,901
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr_slice.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr_slice.adb<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-gnatws" } procedure Addr_Slice is type Item_Type is record I : Integer; end record; type Index_Type is (A, B); for Index_Type use (A => 1, B => 10); ...
27,902
ada
6
yannickmoy/SPARKZumo
src/drivers/zumo_led.ads
pragma SPARK_Mode; -- @summary -- Controls the little yellow LED on the robot labeled LED 13 -- -- @description -- Use this interface to turn on and off the LED 13 located near the back -- of the robot on the right side package Zumo_LED is Initd : Boolean := False; -- Initialization sequence. Muxes pin...
27,903
ada
1
mullikine/RosettaCodeData
Task/Loops-Do-while/Ada/loops-do-while-1.ada
loop Value := Value + 1; Put (Value); exit when Value mod 6 = 0; end loop;
27,904
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-internals-cmof_multiplicity_elements.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,905
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/stm32_common/sdram/stm32-sdram.adb
<filename>software/hal/boards/stm32_common/sdram/stm32-sdram.adb with Ada.Real_Time; use Ada.Real_Time; with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with STM32.FMC; use STM32.FMC; with STM32.GPIO; use STM32.GPIO; with STM32_SVD.RCC; use STM32_SVD.RCC; package body STM...
27,906
ada
4
Lucretia/raytracer_challenge
src/maths/rtch-maths-vectors.ads
<reponame>Lucretia/raytracer_challenge with RTCH.Maths.Tuples; with RTCH.Maths.Points; package RTCH.Maths.Vectors with Preelaborate is subtype Vector is Tuples.Tuple; -- TODO - Make this a type? function Make_Vector (X, Y, Z : Float) return Vector is (Vector'(X => X, Y => Y, ...
27,907
ada
1
Okasu/Byron
src/core/irc.adb
package body IRC is Client : Socket_Type; Channel : Stream_Access; Current_Line : Unbounded_String; procedure Connect_To (Server : Sock_Addr_Type) is begin Create_Socket (Client); Connect_Socket (Client, Server); Channel := Stream (Client); end Connect_To; function Get_Lin...
27,908
ada
0
TNO/Rejuvenation-Ada
workshop/src/newlineexamples.ads
package NewLineExamples is function Text_New_Lines (Text : String) return String; function Twice_Text_New_Line (Text : String) return String; function Text_Duplicate (Text : String) return String; function Text_Dupl (Text : String) return String; function Text_Twice (Text : String) return String; ...
27,909
ada
0
optikos/oasis
source/nodes/program-nodes-indexed_components.adb
<filename>source/nodes/program-nodes-indexed_components.adb -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Indexed_Components is function Create (Prefix ...
27,910
ada
30
jrmarino/AdaBase
src/statements/adabase-statement.ads
<reponame>jrmarino/AdaBase<gh_stars>10-100 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt private with Ada.Finalization; package AdaBase.Statement is pragma Pure; type Base_Pure is abstract tagged private; private package FIN renames Ada.Finaliz...
27,911
ada
1
samueltardieu/pok
libpok/ada/arinc653/apex-queuing_ports.ads
<filename>libpok/ada/arinc653/apex-queuing_ports.ads -- POK header -- -- The following file is a part of the POK project. Any modification should -- be made according to the POK licence. You CANNOT use this file or a part -- of a file for your own project. -- -- For more information on the...
27,912
ada
8
flyx/OpenCLAda
tests/cl_test-vectors.adb
-------------------------------------------------------------------------------- -- 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...
27,913
ada
0
fintatarta/eugen
src/Processors/LaTeX/latex_writer-picture.ads
with Ada.Strings.Fixed; package Latex_Writer.Picture is subtype Latex_Slope is Integer range -6 .. 6; type Picture_Length is delta 0.01 range -10_000.0 .. 10_000.0; function "*" (X : Integer; Y : Picture_Length) return Picture_Length is (Picture_Length (X) * Y); function Pos (X, Y : Picture_Length) r...
27,914
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83031a.ada
-- C83031A.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...
27,915
ada
1
LaudateCorpus1/RosettaCodeData
Task/Continued-fraction/Ada/continued-fraction-3.ada
with Ada.Text_IO; with Continued_Fraction; procedure Test_Continued_Fractions is type Scalar is digits 15; package Square_Root_Of_2 is function A (N : in Natural) return Natural is (if N = 0 then 1 else 2); function B (N : in Positive) return Natural is (1); function Estimate is new Continu...
27,916
ada
0
csb6/libtcod-ada
src/generated/portability_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with sys_utypes_usize_t_h; package portability_h is -- BSD 3-Clause License -- * -- * Copyright © 2008-2021, Jice and the libtcod contributors. -- * All rights reserved. -- * -- * Redistribution an...
27,917
ada
0
Louis-Aime/Milesian_calendar_Ada
Milesian_calendar.adb
-- Package body Milesian_calendar ---------------------------------------------------------------------------- -- Copyright Miletus 2016-2019 -- 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 Softwar...
27,918
ada
0
fintatarta/eugen
src/Projects/eu_projects-nodes-action_nodes-tasks.ads
with EU_Projects.Nodes.Action_Nodes; with EU_Projects.Nodes.Partners; with EU_Projects.Node_Tables; package EU_Projects.Nodes.Action_Nodes.Tasks is subtype Task_Index is Node_Index; No_Task : constant Extended_Node_Index := No_Index; type Task_Label is new Node_Label; type Project_Task is new No...
27,919
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-tables-uml_metamodel.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,920
ada
4
reznikmm/torrent
source/torrent-udp_tracker_protocol.ads
<gh_stars>1-10 -- Copyright (c) 2019-2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Unchecked_Conversion; with Interfaces; with System; with Torrent.Trackers; package Torrent.UDP_Tracker_Protocol is t...
27,921
ada
32
My-Colaborations/dynamo
src/yaml/lexer.ads
<filename>src/yaml/lexer.ads -- part of ParserTools, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package Lexer is pragma Pure; Lexer_Error : exception; end Lexer;
27,922
ada
1
LaudateCorpus1/RosettaCodeData
Task/Jensens-Device/Ada/jensens-device.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Jensen_Device is function Sum ( I : not null access Float; Lo, Hi : Float; F : access function return Float ) return Float is Temp : Float := 0.0; begin I.all := Lo; while I.all <= Hi loop ...
27,923
ada
24
svn2github/matreshka
source/amf/mof/xmi/amf-internals-xmi_handlers.ads
<reponame>svn2github/matreshka<filename>source/amf/mof/xmi/amf-internals-xmi_handlers.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
27,924
ada
33
ytomino/drake
source/tasking/machine-apple-darwin/s-synobj.ads
<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) private with C.pthread; package System.Synchronous_Objects is pragma Preelaborate; -- mutex type Mutex is limited private; procedure Initialize (Object : in out Mutex); procedure ...
27,925
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_video_gstvideosink_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_base_gstbasesink_h; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with GStreamer.GST_Low_...
27,926
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-tables-ocl_attributes.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,927
ada
4
MOUDDENEHamza/ENSEEIHT
1A/S5/PIM/projet/src/ensemble.adb
-------------------------------------------------------------------------------- -- Fichier : foret.ads -- Auteur : <NAME> & <NAME> -- Objectif : Implantation du module Ensemble -- Crée : Dimanche Nov 10 2019 -------------------------------------------------------------------------------- with Ada.Text_IO;...
27,928
ada
0
AntonioRamosNieto/TFG-STM32F429
STM32F4/ToyOBDH/ground_station/shared/src/hk_data-tmp36.adb
package body HK_Data.TMP36 is V_Ref : constant := 2.930; -- V (measured value) V_25C : constant := 0.750; -- V Scale : constant := 0.010; -- V/C Calibration : constant := -1.0; -- C (experimental calibration) Min_Temp : constant := Temperature_Range'First; Max_Temp : constant :=...
27,929
ada
1
LaudateCorpus1/RosettaCodeData
Task/Find-common-directory-path/Ada/find-common-directory-path.ada
<filename>Task/Find-common-directory-path/Ada/find-common-directory-path.ada<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; procedure Test_Common_Path is function "rem" (A, B : String) return String is Slash : Integer := A'First; -- At the last slash seen in A At_A : Integer := A'first; At_B ...
27,930
ada
0
KamilKrol5/concurrent-programming
task1/ada/src/main.adb
with Ada.Text_IO; with Ada.Numerics.Float_Random; with Ada.Numerics.Discrete_Random; with Ada.Command_Line; with constants; -- with Ada.Strings.Unbounded; -- use Ada.Strings.unbounded; use Ada.Text_IO; use constants; procedure Main is package FRand renames Ada.Numerics.Float_Random; type Mode is (CALM,TALKAT...
27,931
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34002a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34002a.ada -- C34002A.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...
27,932
ada
4
albinjal/Ada_Project
Klient/klient_assets_package.adb
with TJa.Sockets; use TJa.Sockets; with Ada.Exceptions; use Ada.Exceptions; with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Yatzy_graphics_package; use Yatzy_graphics_package; with TJa.Window.Text; use TJa.Window.Text; with TJa.Window.Elementary; use ...
27,933
ada
60
RREE/ada-util
src/sys/http/util-http-clients.adb
<filename>src/sys/http/util-http-clients.adb ----------------------------------------------------------------------- -- util-http-clients -- HTTP Clients -- Copyright (C) 2011, 2012, 2013, 2017, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ...
27,934
ada
20
charlie5/lace
1-base/math/source/precision/float/pure/float_math-geometry-d3-modeller.ads
<reponame>charlie5/lace with any_Math.any_Geometry.any_d3.any_Modeller; package float_math.Geometry.d3.Modeller is new float_Math.Geometry.d3.any_Modeller;
27,935
ada
2
ficorax/PortAudioAda
examples/paex_sine/src/paex_sine_types.ads
with Ada.Numerics; with Interfaces.C; with PortAudioAda; use PortAudioAda; package PaEx_Sine_Types is Num_Seconds : constant := 5.0; Sample_Rate : constant := 44_100.0; Frames_Per_Buffer : constant := 64; Pi : constant := Ada.Numerics.Pi; Table_Size : constant := 2...
27,936
ada
5
jhumphry/SPARK_SipHash
src/general-provable/integer_storage_io.ads
<reponame>jhumphry/SPARK_SipHash<gh_stars>1-10 -- Integer_Storage_IO -- A re-implementation of Storage_IO for Integers with SPARK_Mode turned on in -- the specification and off in the body. -- Copyright (c) 2015, <NAME> - see LICENSE file for details with System.Storage_Elements; pragma Warnings (Off, "no procedure ...
27,937
ada
0
AdaBrain/MusicDB-TOT-2
hacked.ada
## CALL ME NOW ## Your server was hacked!!! by Adonymous
27,938
ada
0
btmalone/alog
tests/alog-tests.adb
------------------------------------------------------------------------ -- -- Copyright (c) 2018, <NAME> All Rights Reserved. -- -- 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 -- -- ...
27,939
ada
2
persan/gprTools
src/gpr_tools-gprslaves-nameserver-main.adb
with AWS.Server; with Gprslaves.Nameserver.Server; with AWS.Config; procedure GPR_Tools.Gprslaves.Nameserver.Main is Web_Server : AWS.Server.HTTP; Config : AWS.Config.Object; begin AWS.Server.Start (Web_Server => Web_Server, Callback => Server.Request'Access, Confi...
27,940
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/configurationPragma_tests/tests/with_dot_issue.ads
package with_dot_issue is end with_dot_issue;
27,941
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization22.ads
package Loop_Optimization22 is type Discrim_Type (Count : Positive) is null record; procedure Foo (X : Discrim_Type); end Loop_Optimization22;
27,942
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-template_parser.ads
<reponame>jrcarter/Ada_GUI<filename>ada_gui-gnoga-server-template_parser.ads -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
27,943
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt2.adb
-- { dg-do run } -- { dg-options "-O2 -fno-inline" } procedure Opt2 is function Get return String is begin return "[]"; end Get; Message : String := Get; F, L : Integer; begin for J in Message'Range loop if Message (J) = '[' then F := J; elsif Message (J) = ']' then ...
27,944
ada
2
thindil/tashy2
tests/tk-ttklabel-test_data.ads
package Tk.TtkLabel.Test_Data is end Tk.TtkLabel.Test_Data;
27,945
ada
20
charlie5/lace
3-mid/opengl/source/lean/model/opengl-model-box.adb
<reponame>charlie5/lace<filename>3-mid/opengl/source/lean/model/opengl-model-box.adb<gh_stars>10-100 package body openGL.Model.box is -------------- --- Attributes -- function vertex_Sites (Self : in Item'Class) return Sites is left_Offset : constant Real := -0.5; right_Offset : constant Re...
27,946
ada
0
reznikmm/gps-tracker
source/receiver/main/ints.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Interrupts.Names; package Ints is protected Signal is entry Wait (RX_Done : out Boolean; RX_Timeout : out Boolean); private ...
27,947
ada
0
JeremyGrosser/usb_embedded
tests/support/usb_testing-udc_scenarios.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- ...
27,948
ada
0
jrcarter/Gnoga_File_Selection
gnoga_file_selection.adb
<gh_stars>0 with Ada.Containers.Indefinite_Ordered_Sets; with Ada.Directories; with Gnoga.Gui.Base; with Gnoga.Gui.Modal_Dialog; with Gnoga.Gui.Element.Common; with Gnoga.Gui.Element.Form; with Gnoga.Gui.View; package body Gnoga_File_Selection is function Select_File (Window : in out Gnoga.Gui.Window.Window_Type'Cl...
27,949
ada
12
TUM-EI-RCS/StratoX
prototyping/pixracer/src/driver/fs/fat_filesystem.ads
<reponame>TUM-EI-RCS/StratoX -- XXX! Nothing here is thread-safe! with Interfaces; use Interfaces; with Media_Reader; use Media_Reader; with MyStrings; use MyStrings; package FAT_Filesystem with SPARK_Mode => Off is MAX_VOLUMES : constant := 1; -- Maximum number of mounted volumes -- FIXME...
27,950
ada
1
XMoose25X/Advanced-Dungeon-Assault
Source/spritemaker.adb
with Ada.Text_IO, Ada.Integer_Text_IO, display; use Ada.Text_IO, Ada.Integer_Text_IO, display; procedure spritemaker is procedure showFile(Filename : String) is File : File_Type; begin Open(File, In_File, Filename); while(not End_Of_File(File)) loop Put(Get_Line(File => File)); new_line; end loop; C...
27,951
ada
2
landgraf/nanomsg-ada
src/nanomsg-messages.ads
-- The MIT License (MIT) -- Copyright (c) 2015 <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 u...
27,952
ada
11
reznikmm/ada_lsp
source/protocol/lsp-types.ads
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.JSON.Streams; with League.JSON.Values; with League.String_Vectors; with League.Strings; with LSP.Generic_Optional; package LSP.Types is ...
27,953
ada
76
yannickmoy/SPARKNaCl
tests/scalarmult5.adb
with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.Debug; use SPARKNaCl.Debug; with SPARKNaCl.Scalar; use SPARKNaCl.Scalar; procedure Scalarmult5 is AliceSK : constant Bytes_32 := (16#77#, 16#07#, 16#6d#, 16#0a#, 16#73#, 16#18#, 16#a5#, 16#7d#, 16#3c#, 16#16#, 16#c1#, 16#72#, 16#51#, 16#b2#, 16#66#, 16...
27,954
ada
0
Letractively/ada-gen
src/gen-artifacts-docs.adb
----------------------------------------------------------------------- -- gen-artifacts-docs -- Artifact for documentation -- Copyright (C) 2012, 2013, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance...
27,955
ada
0
fionahiklas/ada_unit_test_examples
src/alarm.adb
<filename>src/alarm.adb package body Alarm is end Alarm;
27,956
ada
0
mstewartgallus/linted
src/ada-core/src/linted-lock_free_stack.adb
-- Copyright 2017 <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://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writi...
27,957
ada
24
svn2github/matreshka
source/sql/firebird/matreshka-internals-sql_drivers-firebird.ads
<filename>source/sql/firebird/matreshka-internals-sql_drivers-firebird.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
27,958
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Swarm/swarm_configuration.ads
<filename>Sources/Swarm/swarm_configuration.ads<gh_stars>1-10 -- -- Jan & <NAME>, Australia, July 2011 -- with Ada.Numerics; use Ada.Numerics; with Ada.Real_Time; use Ada.Real_Time; with Graphics_Configuration; use Graphics_Configuration; with Real_Type; use Real_Type; with Swarm_Config...
27,959
ada
8
flyx/OpenCLAda
tests/cl_test-cl_gl.adb
-------------------------------------------------------------------------------- -- 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...
27,960
ada
80
thindil/steamsky
src/ui/ships-ui-crew-inventory.adb
<filename>src/ui/ships-ui-crew-inventory.adb<gh_stars>10-100 -- Copyright (c) 2020-2021 <NAME> <<EMAIL>> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or...
27,961
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbbosu__x86_64.adb
<filename>bb-runtimes/src/s-bbbosu__x86_64.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
27,962
ada
3
RajaSrinivasan/srctrace
revisions.ads
package revisions -- Ada spec generator -- File: revisions.ads BUILD_TIME : constant String := "Thu Nov 7 2019 04:10:14" ; VERSION_MAJOR : constant := 0 ; VERSION_MINOR : constant := 0 ; VERSION_BUILD : constant := 999 ; REPO_URL : constant String := "<EMAIL>:privatetutor/projectlets/go.git" ; S...
27,963
ada
0
wooky/aoc.kt
src/main/ada/2019/aoc-aoc_2019-day07.adb
<filename>src/main/ada/2019/aoc-aoc_2019-day07.adb<gh_stars>0 package body AOC.AOC_2019.Day07 is use Intcode; type Phases is array (0 .. 4) of Element; type Power_Func is access function (Phase_Permutations : Phases) return Element; -- Uses Heap's algorithm function Get_Max_Power (K : Natural...
27,964
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array8.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array8.adb -- { dg-do compile } -- { dg-options "-O2" } PROCEDURE Array8 IS function ID (I : Integer) return Integer is begin return I; end; SUBTYPE STB IS INTEGER RANGE ID(-8) .. -5; TYPE TB IS ARRAY (STB RANGE <>) OF INTE...
27,965
ada
8
Lucretia/so
src/soc.adb
<filename>src/soc.adb ------------------------------------------------------------------------------------------------------------------------ -- See COPYING for licence information. ------------------------------------------------------------------------------------------------------------------------ -- Simple Ober...
27,966
ada
0
twinbee/djikstrasStabilizing
main.adb
----------------------------csc410/prog4/as4.adb---------------------------- -- Author: <NAME> -- Class: CSC410 Burgess -- Date: 10-05-04 Modified: 10-17-04 -- Due: 10-12-04 -- Desc: Assignment 4: DJIKSTRA'S STABILIZING ALGORITHM -- -- a nonproduction implementation of -- DJIKSTRA's algorithm which describ...
27,967
ada
33
ytomino/drake
source/environment/a-locale.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- Ada 2012 package Ada.Locales is pragma Preelaborate; pragma Remote_Types; -- extended from here -- These are language code defined by ISO 639-1/2. -- Ada RM requires alpha-3 in spite of that -- almost all the operating systems use alpha...
27,968
ada
1
Hathoute/ENSEEIHT
PIM/Projet/src/google_naive.adb
<reponame>Hathoute/ENSEEIHT with Ada.Unchecked_Deallocation; package body Google_Naive is procedure Initialiser(Google: out T_Google) is begin for I in 0..Taille-1 loop for J in 0..Taille-1 loop Google.G(I,J) := 0.0; end loop; end loop; end Initialiser; ...
27,969
ada
0
balintsoos/LearnAda
gyak/gyak1-2/powerof.adb
<filename>gyak/gyak1-2/powerof.adb with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Mat; -- use Mat; procedure powerof is X : Integer; N : Integer; begin Get( X ); Get( N ); Put( Mat.powerof(X,N) ); end powerof;
27,970
ada
12
jquorning/ada-asf
src/asf-events-exceptions.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- asf-events-exceptions -- Exceptions Events -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance ...
27,971
ada
79
Roldak/OpenGLAda
src/gl/implementation/gl-enums-getter.adb
-- part of OpenGLAda, (c) 2018 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.API; package body GL.Enums.Getter is use Types; function Get_Max (Getter_Param : Parameter) return Types.Int is Max : aliased Int; begin API.Get_Integer (Getter_Param, Max'Acces...
27,972
ada
24
svn2github/matreshka
source/sql/oci/matreshka-internals-sql_drivers-oracle-queries.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,973
ada
79
Roldak/OpenGLAda
tests/glfw3/glfw_test.ads
<reponame>Roldak/OpenGLAda -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" package Glfw_Test is procedure Enable_Print_Errors; end Glfw_Test;
27,974
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-template_parser-simple.ads
<reponame>jrcarter/Ada_GUI<gh_stars>10-100 -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
27,975
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-plls-dpll.adb
<gh_stars>1-10 -- -- Copyright (C) 2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later versi...
27,976
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b07c.ada
<reponame>best08618/asylo -- C87B07C.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...
27,977
ada
0
ne-oss/urban-os
to_lower_1.adb
<gh_stars>0 -- {{Ada/Sourceforge|to_lower_1.adb}} pragma License (Gpl); pragma Ada_95; with Ada.Text_IO; with Ada.Command_Line; with Ada.Characters.Handling; procedure To_Lower_1 is package CL renames Ada.Command_Line; package T_IO renames Ada.Text_IO; function To_Lower (Str : String) return String; ...
27,978
ada
0
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/dispatch1_p.ads
package dispatch1_p is type I1 is interface; type DT_I1 is new I1 with null record; end;
27,979
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c92003a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c92003a.ada -- C92003A.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...
27,980
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-response-ike-dh_get_shared_secret-convert.ads
<reponame>DrenfongWong/tkm-rpc with Ada.Unchecked_Conversion; package Tkmrpc.Response.Ike.Dh_Get_Shared_Secret.Convert is function To_Response is new Ada.Unchecked_Conversion ( Source => Dh_Get_Shared_Secret.Response_Type, Target => Response.Data_Type); function From_Response is new Ada.Unchecked_C...
27,981
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/stylesw.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,982
ada
0
skill-lang/adaCommon
src/skill-iterators-type_order.ads
<reponame>skill-lang/adaCommon -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ iterator over all instances -- -- |___/_|\_\_|_|____| by: <NAME> ...
27,983
ada
24
svn2github/matreshka
source/xml/sax/matreshka-internals-xml-attribute_tables.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,984
ada
20
charlie5/lace
1-base/math/source/generic/pure/geometry/any_math-any_geometry-any_d2.ads
with any_Math.any_Algebra.any_linear; generic with package linear_Algebra_2D is new any_Math.any_Algebra.any_linear; package any_Math.any_Geometry.any_d2 -- -- Provides a namespace and core types for 2D geometry. -- is pragma Pure; --------- -- Sites -- -- Cartesian -- subtype Site...
27,985
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/svd/FE310/fe310_svd-pric.ads
-- This spec has been automatically generated from FE310.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package FE310_SVD.PRIC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype HFROSCCFG_DIV_Field is HA...
27,986
ada
0
thierr26/ada-keystore
src/keystore-random.ads
<reponame>thierr26/ada-keystore ----------------------------------------------------------------------- -- security-random -- Random numbers for nonce, secret keys, token generation -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
27,987
ada
0
ray2501/ada-adapcre
src/adapcre.adb
<filename>src/adapcre.adb -- -- -- package Copyright (c) <NAME> -- -- AdaPcre -- -- Body -- -- ...
27,988
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-interr-sigaction.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
27,989
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/memroot.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,990
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-libm.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,991
ada
0
reznikmm/gela
source/nodes/program-nodes-unknown_discriminant_parts.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Unknown_Discriminant_Parts is function Create (Left_Bracket_Token : not null Program.Lexical_Elements .Lexical_Element_Access;...
27,992
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-setup/src/awa-setup.ads
----------------------------------------------------------------------- -- awa-setup -- Setup and installation -- Copyright (C) 2016, 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. ...
27,993
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-tiboio.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
27,994
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-uml_classifiers.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
27,995
ada
20
charlie5/lace
3-mid/opengl/source/lean/renderer/opengl-impostor.ads
<reponame>charlie5/lace with openGL.Texture, openGL.Visual; limited with openGL.Camera; package openGL.Impostor -- -- Contains a 2D image of another openGL visual. -- is type Counter is mod 2**32; type pixel_Region is record X, Y : gl.glInt; Width, Height : gl.gl...
27,996
ada
0
reznikmm/gela
source/nodes/program-nodes-case_statements.adb
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Case_Statements is function Create (Case_Token : not null Program.Lexical_Elements .Lexical_E...
27,997
ada
32
robdaemon/AdaYaml
src/implementation/yaml-presenter-analysis.ads
<gh_stars>10-100 -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" private package Yaml.Presenter.Analysis is -- this package analyzes scalars to check how they can be represented type Necessary_Quoting is (None, Only_In_Flow, Single, Double); ...
27,998
ada
33
ytomino/drake
source/pools/machine-pc-linux-gnu/s-unball.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit specialized for FreeBSD (or Linux) with System.Storage_Elements; package System.Unbounded_Allocators is -- Separated storage pool for local scope. pragma Preelaborate; type Unbounded_Allocator is limited private; procedure Ini...
27,999
ada
60
Letractively/ada-util
src/util-serialize-mappers-record_mapper.ads
<reponame>Letractively/ada-util ----------------------------------------------------------------------- -- Util.Serialize.Mappers.Record_Mapper -- Mapper for record types -- Copyright (C) 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...