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,200
ada
0
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/uninit_array.ads
<reponame>best08618/asylo<gh_stars>0 package Uninit_Array is function F2 return Integer; end Uninit_Array;
10,201
ada
0
My-Colaborations/ada-ado
regtests/ado-tests.adb
<filename>regtests/ado-tests.adb ----------------------------------------------------------------------- -- ADO Sequences -- Database sequence generator -- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "Li...
10,202
ada
33
ytomino/drake
source/strings/a-snmcco.ads
pragma License (Unrestricted); -- implementation unit package Ada.Strings.Naked_Maps.Canonical_Composites is pragma Preelaborate; -- not-decomposable characters. function Base_Set return not null Character_Set_Access; -- decomposes and extracts the base character. function Basic_Map return not null ...
10,203
ada
0
Letractively/ada-security
src/security-contexts.adb
----------------------------------------------------------------------- -- 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...
10,204
ada
3
JackShen1/parallel-programming
PP-Lab1/src/data.adb
with Ada.Numerics.Discrete_Random; with Ada.Integer_Text_IO, Ada.Text_IO; use Ada.Integer_Text_IO, Ada.Text_IO; package body Data is -- Create All-Ones Matrix And Vector procedure All_Ones_Matrix (MA: out Matrix) is begin for i in 1..N loop for j in 1..N loop MA(i,j) := 1; ...
10,205
ada
1
skill-lang/skillAdaTestSuite
test/date/test_date.ads
package Test_Date is end Test_Date;
10,206
ada
0
sciencylab/lagrangian-solver
drivers/dense_ad-integrator.ads
with Numerics, Numerics.Sparse_Matrices, Chebyshev, Ada.Text_IO; use Numerics, Numerics.Sparse_Matrices, Chebyshev, Ada.Text_IO; generic K : in Nat; N_Constraints : in Pos := 0; package Dense_AD.Integrator is N : constant Nat := (Num - N_Constraints) / 2; type Dense_Or_Sparse is (Dense, Sparse); ty...
10,207
ada
0
SSOCsoft/Log_Reporter
src/config.ads
-- The Config package provides configuration parameters via GNAT's ability to -- see Shared_Passive objects as a persistant value; unfortunately, this is not -- usable for variable-length/unconstrained types (eg String). In order to use -- the ability anyway we implement Pascal-style strings, which are 256-bytes and --...
10,208
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt19.adb
-- { dg-do compile } -- { dg-options "-O" } procedure Opt19 is type Enum is (One, Two); type Vector_T is array (Enum) of Integer; Zero_Vector : constant Vector_T := (Enum => 0); type T is record Vector : Vector_T; end record; procedure Nested (Value : in out T; E : Enum; B : out Boolean) is I ...
10,209
ada
2
morbos/Ada_Drivers_Library
testsuite/tests/virtual_file_system/src/helpers.adb
with Ada.Command_Line; with Ada.Directories; with Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; package body Helpers is Program_Abspath : constant Pathname := Native.Filesystem.Join (Ada.Directories.Current_Directory, Ada.Command_Line.Command_Name, False); Test_Dir : constant Pathname := Ada.Di...
10,210
ada
0
cocolab8/cocktail
reuse/ada/sourcedr.adb
<gh_stars>0 -- $Id: SourceDrv.mi,v 1.1 1991/11/21 14:33:17 grosch rel $ -- $Log: SourceDrv.mi,v $ -- Ich, <NAME>, Informatiker, Aug. 1994 with Source, Text_Io; use Source, Text_Io; procedure SourceDr is f : Integer; l : Integer; s : String (1..256); begin f := BeginSource ("source.adb"); GetLine (f, s, 256,...
10,211
ada
33
ytomino/drake
source/s-stoele.adb
<filename>source/s-stoele.adb package body System.Storage_Elements is pragma Suppress (All_Checks); function "+" (Left : Address; Right : Storage_Offset) return Address is begin return System'To_Address ( Integer_Address (Left) + Integer_Address'Mod (Right)); end "+"; function "+" (Left ...
10,212
ada
52
onox/orka
tests/src/test_transforms_singles_vectors.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
10,213
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37005a.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37005a.ada<gh_stars>1-10 -- C37005A.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 ...
10,214
ada
1
procrastiraptor/euler
ada/primes.adb
<gh_stars>1-10 package body Primes is function Next(Ps: List) return Positive is begin case Ps'Length is when 0 => return 2; when 1 => return 3; when others => declare N: Positive := Ps(Ps'Last) + 2; begin while (for some P of...
10,215
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/tree_in.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,216
ada
33
ytomino/drake
source/required/s-casi64.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit required by compiler with System.Packed_Arrays; package System.Compare_Array_Signed_64 is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). type Integer_64 is range -(2 ** 63) .. 2 ** ...
10,217
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/sam/samv71/svd/i-sam-pio.ads
-- -- Copyright (C) 2019, AdaCore -- -- This spec has been automatically generated from ATSAMV71Q21.svd pragma Ada_2012; pragma Style_Checks (Off); with System; package Interfaces.SAM.PIO is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- --...
10,218
ada
20
charlie5/lace
3-mid/opengl/source/platform/osmesa/private/opengl-surface_profile-privvy.ads
package openGL.surface_Profile.privvy is -- function to_glx (Self : in Item'Class) return glx.GLXFBConfig; procedure dummy; end openGL.surface_Profile.privvy;
10,219
ada
2
OneWingedShark/EVIL
src/evil-util.ads
<filename>src/evil-util.ads<gh_stars>1-10 Pragma Ada_2012; Pragma Assertion_Policy( Check ); Package EVIL.Util with Pure, SPARK_Mode => On is End EVIL.Util;
10,220
ada
33
ytomino/drake
source/tasking/a-synbar.ads
pragma License (Unrestricted); -- Ada 2012 private with Ada.Finalization; private with System.Synchronous_Objects; package Ada.Synchronous_Barriers is pragma Preelaborate; subtype Barrier_Limit is Positive range 1 .. Natural'Last; -- implementation-defined type Synchronous_Barrier ( Release_Thre...
10,221
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/xref_lib.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/xref_lib.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,222
ada
30
jscparker/math_packages
disorderly/disorderly-random-deviates.adb
------------------------------------------------------------------------------- -- package body Disorderly.Random.Deviates, Floating point random deviates. -- Copyright (C) 1995-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, ...
10,223
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libhwbase/common/hw-time-timer.ads
<filename>firmware/coreboot/3rdparty/libhwbase/common/hw-time-timer.ads -- -- Copyright (C) 2015-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 ve...
10,224
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-gma-pch-vga.adb
<reponame>fabiojna02/OpenCellular -- -- Copyright (C) 2015-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...
10,225
ada
1
io7m/coreland-openal-ada
openal_info.ads
package OpenAL_Info is procedure Run; end OpenAL_Info;
10,226
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch2.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,227
ada
13
annexi-strayline/AURA
build-linking.ads
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
10,228
ada
0
xuedong/mini-ada
tests/exec/for2.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F(X: Integer) return Integer is begin Put('F'); return X; end; begin for I in F(1) .. F(10) loop Put('A'); end loop; New_Line; for I in F(10) .. F(1) loop Put('B'); end loop; New_Line; for I in reverse F(1) .. F(10) loop Put('C'...
10,229
ada
0
VitalijBondarenko/notifyada
demo/src/demo_action_callbacks.adb
------------------------------------------------------------------------------ -- -- -- Copyright (c) 2014-2021 <NAME> <<EMAIL>> -- -- -- ----------------------------...
10,230
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-rng.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.RNG is pragma Preelaborate; ...
10,231
ada
15
mgrojo/adalib
ada-calendar-arithmetic.ads
-- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-...
10,232
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/stm32f0/rfm69/peripherals.adb
<reponame>ekoeppen/STM32_Generic_Ada_Drivers<filename>examples/stm32f0/rfm69/peripherals.adb with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; with STM32GD.EXTI; package body Peripherals is procedure Init is begin STM32_SVD.RCC.RCC_Periph.APB2ENR.SPI1EN := 1; -- IRQ.Configure_Trigger (STM32GD.EXTI...
10,233
ada
20
charlie5/lace
3-mid/opengl/source/lean/geometry/opengl-primitive-non_indexed.adb
with openGL.Errors, openGL.Tasks, GL.Binding; package body openGL.Primitive.non_indexed is --------- -- Forge -- overriding procedure define (Self : in out Item; Kind : in facet_Kind) is begin Self.facet_Kind := Kind; end define; function new_Primitive (Kind ...
10,234
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled5_pkg.adb
with Ada.Tags; package body Controlled5_Pkg is type Child is new Root with null record; function Dummy (I : Integer) return Root'Class is A1 : T_Root_Class := new Child; My_Var : Root'Class := A1.all; begin if I = 0 then return My_Var; else return Dummy (I - 1); ...
10,235
ada
4
faelys/gela-asis
source/asis/asis-declarations.adb
<reponame>faelys/gela-asis<filename>source/asis/asis-declarations.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- <NAME> A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- ...
10,236
ada
0
e3l6/SSMDev
gps.adb
------------------------------------------------------------------------------- -- GPS -- -- Copyright © 2016 <NAME> -- -- This code is available under the "MIT License". -- Please see the file COPYING in this distribution for license terms. -- -- Purpose: -- This package interfaces to the Adafruit Ultimate GPS Break...
10,237
ada
7
98devin/ada-gba-dev
demo/src/Sprites.adb
-- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with GBA.BIOS; with GBA.BIOS.Arm; with GBA.BIOS.Thumb; with GBA.Display; with GBA.Display.Backgrounds; with GBA.Display.Objects; with GBA.Display.Palettes; with GBA.Display.Tiles; with GBA.Memory; with GBA.Numerics; with GBA.Input; with GBA....
10,238
ada
6
Heziode/ada-dotenv
example/src/print_variable.ads
<gh_stars>1-10 procedure Print_Variable (Name, Value : String);
10,239
ada
0
cortlandstarrett/mcada
model/mcada/templates/package/t.domain_types_package_end.ada
<reponame>cortlandstarrett/mcada end ${self.name};
10,240
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindo-validators.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,241
ada
3
daveshields/AdaEd
demos/factr.ada
-- DEMONSTRATION PROGRAM: -- Features: -- Recursive functions, separate compilation units, -- dynamic exception handling. with TEXT_IO; package SHORT_IO is new TEXT_IO.INTEGER_IO(integer); with TEXT_IO; use TEXT_IO; with SHORT_IO; use SHORT_IO; procedure factr is subtype short_int is integer range 0..99...
10,242
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-colors.adb
with interfaces.c.strings; package body agar.gui.colors is package cs renames interfaces.c.strings; use type c.int; package cbinds is function load (path : cs.chars_ptr) return c.int; pragma import (c, load, "AG_ColorsLoad"); function save (path : cs.chars_ptr) return c.int; pragma import (c, ...
10,243
ada
80
thindil/steamsky
src/ui/missions-ui.adb
-- 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 -- (at your option) any later version. -- -- This program is...
10,244
ada
2
houey/Amass
resources/scripts/api/whoisxmlapi.ads
-- Copyright 2017-2021 <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 = "WhoisXMLAPI" type = "api" function start() setratelimit(2) end function check() local c local cfg = datasrc_config() ...
10,245
ada
32
robdaemon/AdaYaml
Parser_Tools/src/implementation/text-pool.adb
<filename>Parser_Tools/src/implementation/text-pool.adb -- part of ParserTools, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package body Text.Pool is procedure Create (P : in out Reference'Class; Initial_Size : Pool_Offset := Default_Size) is ...
10,246
ada
13
Fabien-Chouteau/GESTE
examples/RPG/src/game_assets-character.ads
with GESTE; with GESTE.Grid; pragma Style_Checks (Off); package Game_Assets.character is -- character Width : constant := 2; Height : constant := 4; Tile_Width : constant := 16; Tile_Height : constant := 16; -- Down1 package Down1 is Width : constant := 2; Height : con...
10,247
ada
20
charlie5/lace
4-high/gel/source/dolly/gel-dolly.ads
<filename>4-high/gel/source/dolly/gel-dolly.ads<gh_stars>10-100 with gel.Camera, ada.Containers.Vectors; package gel.Dolly -- -- Models a camera dolly. -- is type Item is abstract tagged private; type View is access all Item'Class; --------- --- Forge -- procedure define (Self : in out...
10,248
ada
4
faelys/gela-asis
source/libgela/gela-containers-lists.ads
<filename>source/libgela/gela-containers-lists.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- ...
10,249
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-osprim-posix.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
10,250
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47003a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47003a.ada<gh_stars>1-10 -- C47003A.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 ...
10,251
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/drivers/fe310-performance_monitor.adb
<filename>arch/RISC-V/SiFive/drivers/fe310-performance_monitor.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- ...
10,252
ada
0
ytomino/gnat4drake
g-trasym.ads
pragma License (Unrestricted); with Ada.Exceptions; package GNAT.Traceback.Symbolic is pragma Preelaborate; function Symbolic_Traceback (E : Ada.Exceptions.Exception_Occurrence) return String renames Ada.Exceptions.Exception_Information; end GNAT.Traceback.Symbolic;
10,253
ada
0
Fabien-Chouteau/minisamd51_bsp
src/minisamd51.ads
<filename>src/minisamd51.ads<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- ...
10,254
ada
0
adnio/Ada_Drivers_Library
boards/stm32_common/ltdc/framebuffer_ltdc.adb
<reponame>adnio/Ada_Drivers_Library<filename>boards/stm32_common/ltdc/framebuffer_ltdc.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore ...
10,255
ada
3
herrBez/MOS6502-Emulator
Ada/src/main_loop.adb
<filename>Ada/src/main_loop.adb package body Main_Loop is procedure Main_Loop_f (This : in out MOS_T; Instruction : in Fun_Array) is -- Frequency is expressed in MHz -- 1 MHz = 10**(-6) seconds = 1 microsecond = 1000 nanoseconds -- 3 MHz = 3*10**(-6) seconds = 0.333333.. microseconds = 333 nanosceonds ...
10,256
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbbosu__prep.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
10,257
ada
24
svn2github/matreshka
source/web/servlet/http/servlet-http_requests.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,258
ada
2
omarafify1990/Amass
resources/scripts/archive/archiveit.ads
<reponame>omarafify1990/Amass -- Copyright 2017-2021 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "ArchiveIt" type = "archive" function start() setratelimit(1) end function vertical(ctx, domain) scrape(ctx, {['url']=firs...
10,259
ada
0
JCGobbi/Nucleo-STM32H743ZI
SVD2ada/svd/stm32_svd-dlyb.ads
<filename>SVD2ada/svd/stm32_svd-dlyb.ads pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.DLYB is pragma Preelaborate; --------------- -- Registers -- --------------- -- ...
10,260
ada
4
davidkristola/vole
kv-avm-references.ads
<gh_stars>1-10 with Interfaces; package kv.avm.References is pragma preelaborate; Invalid_Reference_Designator_Error : exception; -- This enumerates the four different types of register banks. -- Note that "Constant" can't be used because it is an Ada -- reserved word. Therefore "Fixed" is used inst...
10,261
ada
7
98devin/ada-gba-dev
demo/src/Timer_Test.adb
-- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with GBA.BIOS; with GBA.BIOS.Arm; with GBA.Display; with GBA.Display.Backgrounds; with GBA.Display.Palettes; with GBA.Display.Tiles; with GBA.Interrupts; with GBA.Memory; with GBA.Timers; with Interfaces; use Interfaces; procedure Timer_Test i...
10,262
ada
4
jerry-sky/academic-notebook
electives/pw/lab/lista-2/ada/receiver.adb
package body Receiver is task body ReceiverTask is receivedMessagesCount: Natural := 0; begin loop accept ReceiveMessage do receivedMessagesCount := Natural'Succ(receivedMessagesCount); end ReceiveMessage; if k = receivedMessagesCount then ...
10,263
ada
3
reznikmm/acme-ada
sources/acme.ads
<reponame>reznikmm/acme-ada -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.JSON.Objects; with League.Strings; with League.String_Vectors; with League.Stream_Element_Vectors; with League.Calendars; packa...
10,264
ada
2
thindil/tashy2
tests/tk-ttklabelframe-ttk_label_frame_options_test_data-ttk_label_frame_options_tests.adb
<reponame>thindil/tashy2<gh_stars>1-10 -- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code...
10,265
ada
0
strenkml/EE368
memsim-master/src/test-offset.adb
<gh_stars>0 with Memory.Transform.Offset; use Memory.Transform.Offset; with Memory.Join; use Memory.Join; package body Test.Offset is procedure Run_Tests is mem : constant Monitor_Pointer := Create_Monitor(0, True); bank : constant Monitor_Pointer := Create_Monitor(0, False); ...
10,266
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-dhfina.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,267
ada
0
sourceryinstitute/rose-sourcery-institute
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/research/ada_code.ads
<gh_stars>0 package Ada_Code is procedure Ada_Proc; pragma Export (C, Ada_Proc); procedure Ada_C_Caller; pragma Export (C, Ada_C_Caller); end Ada_Code;
10,268
ada
0
alire-project/sdlada
src/sdl-video-gl.adb
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the ...
10,269
ada
60
Letractively/ada-util
testutil/aunit/util-test_caller.adb
<filename>testutil/aunit/util-test_caller.adb ----------------------------------------------------------------------- -- AUnit utils - Helper for writing unit tests -- Copyright (C) 2009, 2010, 2011, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
10,270
ada
15
My-Colaborations/dynamo
src/asis/asis-ids.adb
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
10,271
ada
18
kraileth/ravenadm
src/repository.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Definitions; use Definitions; package Repository is -- returns True if CONSERVATIVE_UPGRADE option on host pkg(8) is enabled function host_pkg8_conservative_upgrade_set return Boolean; -- Create ...
10,272
ada
20
charlie5/lace
3-mid/opengl/private/freetype/source/freetype-face.adb
<reponame>charlie5/lace with freeType_C.Binding, freeType_C.FT_Library, freeType_C.FT_Vector, freeType_C.Pointers, interfaces.C.Strings, ada.unchecked_Conversion, ada.unchecked_Deallocation, ada.Finalization; package body freetype.Face is ----------- --- Globals -- ...
10,273
ada
20
charlie5/lace
3-mid/physics/interface/source/motor/physics-motor-spring-angular.adb
with physics.Conversion, math.Algebra.linear.d3; with physics.Vector_3; with Ada.Text_IO; use Ada.Text_IO; package body physics.Motor.spring.angular is -- nb: based on PAL physics abstraction layer -- procedure update (Self : in out Item) is use math.Algebra.linear.d3, physics.Conversion...
10,274
ada
4
ddugovic/words
parse.adb
with TEXT_IO; with STRINGS_PACKAGE; use STRINGS_PACKAGE; with LATIN_FILE_NAMES; use LATIN_FILE_NAMES; with WORD_PARAMETERS; use WORD_PARAMETERS; with DEVELOPER_PARAMETERS; use DEVELOPER_PARAMETERS; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; with ADDONS_PAC...
10,275
ada
1
stcarrez/helios
src/helios-monitor-sysfile.ads
----------------------------------------------------------------------- -- helios-monitor-sysfile -- Generic system file monitor -- 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 t...
10,276
ada
9
SALLYPEMDAS/DW1000
examples/echo/echo_example.adb
<reponame>SALLYPEMDAS/DW1000 ------------------------------------------------------------------------------- -- Copyright (c) 2016 <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 Soft...
10,277
ada
3
jwarwick/aoc_2020
day19/src/day.ads
<filename>day19/src/day.ads -- AOC 2020, Day 19 package Day is function count_valid(filename : in String) return Natural; function count_valid_updated(filename : in String) return Natural; end Day;
10,278
ada
0
luk9400/nsi
list2/task2/src/max2.ads
package Max2 with SPARK_Mode is type Vector is array (Integer range <>) of Positive; function FindMax2 (V : Vector) return Integer with Pre => V'First < Integer'Last and V'Length > 0, Post => FindMax2'Result >= 0 and (FindMax2'Result = 0 or (for some I in V'Range => FindMax2'Result = ...
10,279
ada
12
jquorning/ada-asf
src/asf-security.adb
----------------------------------------------------------------------- -- asf-security -- ASF Security -- Copyright (C) 2012 <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. -- You may o...
10,280
ada
0
Intelligente-sanntidssystemer/Ada-prosjekt
ADA_RC_Car/src/steeringcontrol.adb
with NRF52_DK.Time; with NRF52_DK.IOs; with NRF52_DK.Buttons; use NRF52_DK.Buttons; package body SteeringControl is procedure Servocontrol(ServoPin : NRF52_DK.IOs.Pin_Id; Value : NRF52_DK.IOs.Analog_Value) is --Servo -- begin --Writing values to the servo motor. NRF52_DK.IOs.Write(Servo...
10,281
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-tables-uml_metamodel.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
10,282
ada
2
zenharris/ada-bbs
src/dbase.ads
with gnatcoll.SQL.Postgres; use gnatcoll.SQL.Postgres; with gnatcoll.SQL.Exec; use gnatcoll.SQL.Exec; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Dbase is -- pragma Pure (Message); Version : constant String := "0.0.1"; DB : Database_Connection; DB_Background : Databas...
10,283
ada
1
mosteo/ada-toml
tests/clone/main.adb
<gh_stars>1-10 with Ada.Text_IO; with TOML; procedure Main is Value : constant TOML.TOML_Value := TOML.Load_File ("example.toml").Value; Clone : constant TOML.TOML_Value := Value.Clone; begin -- Mutate Value: the Clone is supposed to be unaffected Value.Set ("hello", TOML.Create_Boolean (true)); Valu...
10,284
ada
13
annexi-strayline/AURA
repositories-cache.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- ...
10,285
ada
24
svn2github/matreshka
source/web/soap/web_services-soap-payloads-faults-simple.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,286
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36204d.ada
<reponame>best08618/asylo -- C36204D.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...
10,287
ada
81
stcarrez/ada-awa
awa/plugins/awa-jobs/src/awa-jobs-modules.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-jobs-modules -- Job module -- Copyright (C) 2012, 2013, 2020, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compl...
10,288
ada
24
fjudith/sql-benchmark
ado/src/sqlbench.ads
<reponame>fjudith/sql-benchmark ----------------------------------------------------------------------- -- sqlbench -- SQL Benchmark -- Copyright (C) 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wi...
10,289
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/globe_3d-collision_detection.adb
<reponame>ForYouEyesOnly/Space-Convoy pragma Style_Checks (Off); pragma Warnings (Off); ------------------------------------------------------------------------- -- GLOBE_3D.Collision_detection -- -- Copyright (c) <NAME> 1999 .. 2008 -- SWITZERLAND -- -- Permission is hereby granted, free of charge,...
10,290
ada
0
fintatarta/protypo
src/lib/Generic_Symbol_Table/symbol_tables-generic_symbol_table.ads
with Ada.Containers.Indefinite_Hashed_Maps; -- with Ada.Containers.Indefinite_Holders; with Ada.Containers.Indefinite_Vectors; with Ada.Containers.Vectors; with Ada.Finalization; use Ada; -- -- ## What is this? -- -- This package implements a generic "symbol table," that is a structure that -- maps symbol "names" (a...
10,291
ada
2
sinkinben/pok
examples/ada-runtime/compute.ads
pragma No_Run_Time; with Interfaces.C; package Compute is procedure Compute; pragma Export (C, Compute, "compute"); end Compute;
10,292
ada
0
jquorning/CELLE
source/templates.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.Text_IO; with Types; package Te...
10,293
ada
0
fintatarta/fakedsp
Ada/src/fakelib/fakedsp-data_streams-files.adb
<reponame>fintatarta/fakedsp pragma Ada_2012; with Ada.Strings.Fixed; with Fakedsp.Data_Streams.Wave; with Fakedsp.Data_Streams.Text; with Utilities.Option_Lists; use Ada; use Utilities; with Ada.Text_IO; with Ada.Directories; package body Fakedsp.Data_Streams.Files is subtype Known_Types is File_Type ra...
10,294
ada
5
onox/wayland-ada
wayland_ada_scanner/src/wayland_xml.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 - 2019 <NAME> <<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/LICE...
10,295
ada
1
faelys/natools-web
src/natools-web-render_default.adb
-- Copyright (c) 2015, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyrig...
10,296
ada
1
danva994/ASFML-1.6
include/sf-audio-soundbufferrecorder.ads
<reponame>danva994/ASFML-1.6<filename>include/sf-audio-soundbufferrecorder.ads -- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implie...
10,297
ada
0
cborao/Ada-P4-chat
hash_maps_g_chaining/hash_maps_test.adb
-- Práctica 4: <NAME> (Hash_Maps_G_Chaining, Test Program) with Ada.Text_IO; With Ada.Strings.Unbounded; with Ada.Numerics.Discrete_Random; with Hash_Maps_G; procedure Hash_Maps_Test is package ASU renames Ada.Strings.Unbounded; package ATIO renames Ada.Text_IO; HASH_SIZE: constant :...
10,298
ada
1
Hathoute/ENSEEIHT
PIM/TP1_Algorithmique/somme_entier_reel.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; procedure Somme_Entier_Reel is Entier : Integer; -- l'entier lu au clavier Reel : Float; -- le réel lu au clavier Somme : Float; -- la somme de l'entier par le...
10,299
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gsterror_h.ads
<gh_stars>1-10 pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; -- with GStreamer.GST_Low_Level.glib_2_0_glib_gquark_h; with glib; with glib.Values; with System; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsterror_h is -- unsupported macr...