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
4,200
ada
1
LaudateCorpus1/RosettaCodeData
Task/Abundant,-deficient-and-perfect-number-classifications/Ada/abundant,-deficient-and-perfect-number-classifications.ada
<filename>Task/Abundant,-deficient-and-perfect-number-classifications/Ada/abundant,-deficient-and-perfect-number-classifications.ada with Ada.Text_IO, Generic_Divisors; procedure ADB_Classification is function Same(P: Positive) return Positive is (P); package Divisor_Sum is new Generic_Divisors (Result_Type...
4,201
ada
1
mulander/crawler
src/crawler.ads
<reponame>mulander/crawler package Crawler is end Crawler;
4,202
ada
0
persan/a-cups
src/gen/cups-xlocale_h.ads
<filename>src/gen/cups-xlocale_h.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with Interfaces.C.Strings; private package CUPS.xlocale_h is -- Definition of locale datatype. -- Copyright (C) 1997-2016 Free Software Foundation, Inc. -- This file is part of...
4,203
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-types.adb
package body SDL.Types is -- =================================================================== -- generic -- type Data_Type is private; -- type Amount_Type is private; -- function Shift_Left ( -- Data : Data_Type; -- Amount : Amount_Type) return Data_Type; -- function Sh...
4,204
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/config/dnscatcher-config.adb
-- Copyright 2019 <NAME> <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, copy, modify, merge, publish, ...
4,205
ada
89
treggit/sdlada
src/sdl-rwops-streams.ads
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the...
4,206
ada
36
rewriting/tom
src/tom/library/sl/ada/sequenceidstrategy.ads
<reponame>rewriting/tom with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; package SequenceIdStrategy is FIRST : constant Integer := 0; SECOND : constant Integer := 1; type SequenceId i...
4,207
ada
22
Melyodas/metalang
out/carre.adb
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure carre is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.Str...
4,208
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-interr.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,209
ada
0
jamalakhaligova/ADA
adahw4/market.adb
<filename>adahw4/market.adb with Ada.Text_IO,Ada.Numerics.Discrete_Random,Ada.Calendar; use Ada.Text_IO; procedure Market is subtype Index is Positive range 1..10; package randomPos is new Ada.Numerics.Discrete_Random(Index); infected_count : Natural := 0; type Position is record x: Natural; y:...
4,210
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47002a.ada
-- C47002A.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...
4,211
ada
3
jwarwick/aoc_2020
day18/tests/day-test.adb
<gh_stars>1-10 with AUnit.Assertions; use AUnit.Assertions; package body Day.Test is procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is pragma Unreferenced (T); t1 : constant Long_Integer := eval_string("1 + 2 * 3 + 4 * 5 + 6"); t2 : constant Long_Integer := eval_string("1 + (2 * 3) +...
4,212
ada
2
corentingay/ada_epita
project/adl/arch/RISC-V/SiFive/devices/FE310/fe310-device.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
4,213
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1221c.ada
<reponame>best08618/asylo -- CC1221C.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...
4,214
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline6.adb
-- { dg-do compile } -- { dg-options "-O -gnatn -Winline" } with Inline6_Pkg; use Inline6_Pkg; procedure Inline6 is begin Test (0); end;
4,215
ada
4
reznikmm/jupyter
sources/ada/processes.adb
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Streams; with Ada.Exceptions; with League.Stream_Element_Vectors; with League.Text_Codecs; with Spawn.Environments; with Spawn.Processes.Monitor_Loop; with S...
4,216
ada
0
xuedong/mini-ada
tests/typing/bad/testfile-for-2.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin for I in 'a' .. 10 loop New_Line; end loop; end;
4,217
ada
76
yannickmoy/SPARKNaCl
tests/onetimeauth7.adb
with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.Debug; use SPARKNaCl.Debug; with SPARKNaCl.MAC; use SPARKNaCl.MAC; with Random; with Interfaces; use Interfaces; with Ada.Numerics.Discrete_Random; procedure Onetimeauth7 is package RB is new Ada.Numerics.Discrete_Random (Byte); package RBI16 is new Ada....
4,218
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_main_h.ads
<reponame>AdaCore/training_material pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with Interfaces.C.Strings; with SDL_SDL_stdinc_h; package SDL_SDL_main_h is C_LINKAGE : aliased constant String := "C" & ASCII.NUL; -- ../include/SDL/SDL_main.h:38 -- unsupporte...
4,219
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect13.ads
package Vect13 is -- Constrained array types are vectorizable type Sarray is array (1 .. 4) of Float; for Sarray'Alignment use 16; function "+" (X, Y : Sarray) return Sarray; procedure Add (X, Y : Sarray; R : out Sarray); end Vect13;
4,220
ada
1
danva994/ASFML-1.6
include/sf-window-context.ads
<gh_stars>1-10 -- //////////////////////////////////////////////////////////// -- // -- // 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 fo...
4,221
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr14_pkg.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr14_pkg.ads package Aggr14_Pkg is type A is array (Integer range 1 .. 3) of Short_Short_Integer; X : A := (1, 2, 3); procedure Proc; end Aggr14_Pkg;
4,222
ada
0
reznikmm/gela
source/nodes/program-nodes-attribute_definition_clauses.adb
<reponame>reznikmm/gela<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Attribute_Definition_Clauses is function Create (For_Token : not null Program.Lexical_Elements ...
4,223
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/raise_statement.adb
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/raise_statement.adb procedure Raise_Statement is The_Exception : exception; begin raise The_Exception; end Raise_Statement;
4,224
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48004a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48004a.ada -- C48004A.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...
4,225
ada
24
svn2github/matreshka
tools/configure/configure-tests-operating_system.adb
<filename>tools/configure/configure-tests-operating_system.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,226
ada
0
My-Colaborations/ada-ado
regtests/ado-tests.ads
----------------------------------------------------------------------- -- ADO Tests -- Database sequence generator -- Copyright (C) 2009, 2010, 2011, 2012, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
4,227
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_20/problem_20.adb
package body problem_20 is function Solution_1 return Integer is Num : array( Natural range 0 .. 50 ) of Natural := ( 0 => 1, others => 0); Sum : Integer := 0; Carry : Integer := 1; Temp : Integer; begin for I in 2 .. 100 loop Carry := 0; ...
4,228
ada
15
My-Colaborations/dynamo
src/asis/a4g-encl_el.adb
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
4,229
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/sem_ch12.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,230
ada
26
damaki/libkeccak
src/common/keccak-generic_parallel_cshake.adb
<reponame>damaki/libkeccak ------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- ...
4,231
ada
4
jorge-real/Ball-On-Beam
src/bb-gui.adb
------------------------------------------------------------ -- B B . G U I -- -- -- -- Spec -- -- -- -- Graphical U...
4,232
ada
0
xuedong/mini-ada
tests/syntax/bad/testfile-for-4.adb
<filename>tests/syntax/bad/testfile-for-4.adb with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin for i in 1 .. 10 loop p; end loop end;
4,233
ada
1
selroc/Renaissance-Ada
src/tools/Dependency_Graph_Extractor/src/command_line.adb
with GNAT.Command_Line; use GNAT.Command_Line; with GNAT.Strings; use GNAT.Strings; package body Command_Line is function Parse_Command_Line (Input_Files : out Input_File_Vectors.Vector; Recurse_Projects : out Boolean; Directory_Prefix : out SU.Unbounded_String; Output_File : ...
4,234
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sinfo.ads
<filename>gcc-gcc-7_3_0-release/gcc/ada/sinfo.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
4,235
ada
2
stcarrez/hestia
src/hestia-display-scheduler.adb
<gh_stars>1-10 ----------------------------------------------------------------------- -- hestia-display-scheduler -- Display information about the system -- Copyright (C) 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
4,236
ada
0
My-Colaborations/ada-ado
src/mysql/mysql-perfect_hash.adb
<filename>src/mysql/mysql-perfect_hash.adb -- Generated by gperfhash with Util.Strings.Transforms; with Interfaces; use Interfaces; package body Mysql.Perfect_Hash is C : constant array (Character) of Unsigned_8 := (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
4,237
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/cstand.ads
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
4,238
ada
12
TUM-EI-RCS/StratoX
bug-reports/flowanalysis_const/src/main.adb
<filename>bug-reports/flowanalysis_const/src/main.adb with p2; use p2; procedure main with SPARK_Mode is begin -- trying to reprouce the problem StratoX has in hil.ads, but doesn't show up here p2.foo; end main;
4,239
ada
80
thindil/steamsky
tests/ships-test_data-tests-modules_container-test_data-tests.ads
-- 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 Ships.Test_Data.Tests.Modules_Container.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Ships.Te...
4,240
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-tables-ocl_types.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,241
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbbosu__ppc-openpic.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
4,242
ada
24
svn2github/matreshka
source/league/regexp/matreshka-internals-regexps-compiler.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
4,243
ada
263
Qrbaker/synth
src/display.adb
<reponame>Qrbaker/synth -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Text_IO; with JohnnyText; with Signals; with Unix; package body Display is package JT renames JohnnyText; package SIG renames Signals; package TIO renames Ada.Text_IO; ...
4,244
ada
192
rocher/Ada_Drivers_Library
boards/NRF52_DK/src/nrf52_dk-ios.adb
<filename>boards/NRF52_DK/src/nrf52_dk-ios.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, AdaCore -- -- ...
4,245
ada
15
AdaCore/training_material
extern/game_support/stm32f4/src/button.adb
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
4,246
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization16_pkg.adb
package body Loop_Optimization16_Pkg is function F return Natural is begin return Natural (Index_Base'Last); end; end Loop_Optimization16_Pkg;
4,247
ada
30
jscparker/math_packages
arbitrary/e_jacobi_eigen_demo_1.adb
<filename>arbitrary/e_jacobi_eigen_demo_1.adb ----------------------------------------------------------------------- -- procedure e_jacobi_eigen_tst_1, test of extended precision Jacobi -- Copyright (C) 2008-2009 <NAME>. -- -- This program is free software: you can redistribute it and/or modify -- it under the terms ...
4,248
ada
1
LaudateCorpus1/RosettaCodeData
Task/Delegates/Ada/delegates.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Delegation is package Things is -- We need a common root for our stuff type Object is tagged null record; type Object_Ptr is access all Object'Class; -- Objects that have operation thing type Substantial is new Object with null record; ...
4,249
ada
2
persan/gprTools
src/gpr_tools-gprinfo.adb
pragma Ada_2012; with Ada.Command_Line; with Ada.Containers.Vectors; with Ada.Directories; with Ada.Strings.Fixed.Equal_Case_Insensitive; with Ada.Strings.Unbounded; with GNAT.Command_Line; with GNAT.Exception_Traces; with GNAT.IO; use GNAT.IO; with GNAT.OS_Lib; with GNAT.Regexp; with GNAT.Regpat; with GNAT.Spitbol.T...
4,250
ada
76
yannickmoy/SPARKNaCl
src/sparknacl-pdebug.ads
private package SPARKNaCl.PDebug with SPARK_Mode => On is procedure DH16 (S : in String; D : in Normal_GF); procedure DH32 (S : in String; D : in GF32); procedure DH64 (S : in String; D : in GF64); end SPARKNaCl.PDebug;
4,251
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_rwops_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; limited with stdio_h; with SDL_SDL_stdinc_h; with Interfaces.C.Strings; package SDL_SDL_rwops_h is RW_SEEK_SET : constant := 0; -- ../include/SDL/SDL_rwops.h:115 RW_SEEK_CUR : constant := 1; -- ../include/SDL/SDL...
4,252
ada
0
Letractively/ada-asf
src/asf-models-selects.ads
<gh_stars>0 ----------------------------------------------------------------------- -- asf-models-selects -- Data model for UISelectOne and UISelectMany -- Copyright (C) 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
4,253
ada
6
jonashaggstrom/ada-canopen
tests/unit_tests.ads
with AUnit.Test_Suites; use AUnit.Test_Suites; package Unit_Tests is function Suite return Access_Test_Suite; end Unit_Tests;
4,254
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-valuators-dials.ads
package FLTK.Widgets.Valuators.Dials is type Dial is new Valuator with private; type Dial_Reference (Data : not null access Dial'Class) is limited null record with Implicit_Dereference => Data; type Dial_Kind is (Normal_Kind, Line_Kind, Fill_Kind); package Forge is function Cr...
4,255
ada
12
TUM-EI-RCS/StratoX
runtime/ravenscar-sfp-stm32f427/gnarl-common/s-bbtiev.adb
<filename>runtime/ravenscar-sfp-stm32f427/gnarl-common/s-bbtiev.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --...
4,256
ada
4
faelys/gela-asis
.build/ada/asis-gela-elements-defs-sub.ads
<reponame>faelys/gela-asis<filename>.build/ada/asis-gela-elements-defs-sub.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modifica...
4,257
ada
0
faelys/natools
generated/natools-s_expressions-printers-pretty-config-commands.adb
<reponame>faelys/natools<gh_stars>0 -- Generated at 2014-06-02 19:12:04 +0000 by Natools.Static_Hash_Maps -- from ../src/natools-s_expressions-printers-pretty-config-commands.sx with Natools.S_Expressions.Printers.Pretty.Config.Main_Cmd; with Natools.S_Expressions.Printers.Pretty.Config.Newline_Cmd; with Natools.S_E...
4,258
ada
0
thierr26/ada-apsepp
src/_for_debug_purposes/apsepp-debug_trace_class-stub.ads
<reponame>thierr26/ada-apsepp<gh_stars>0 -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. package Apsepp.Debug_Trace_Class.Stub is type Debug_Trace_Stub is limited new Debug_Trace_Interfa with private; overriding function Message_W_Entity (Obj : Debug_Trace_St...
4,259
ada
0
ekoeppen/MSP430_Generic_Ada_Drivers
examples/ntc/main.adb
<filename>examples/ntc/main.adb with MSP430_SVD; use MSP430_SVD; with MSPGD.Board; use MSPGD.Board; with MSPGD.Clock; use MSPGD.Clock; with MSPGD.Clock.Source; with MSPGD.GPIO; use MSPGD.GPIO; with MSPGD.GPIO.Pin; with Drivers.Text_IO; with Drivers.NTC; with Interfaces; use Interfaces; procedure Main is pragma Pre...
4,260
ada
33
ytomino/drake
source/streams/machine-w64-mingw32/s-nateio.ads
<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit specialized for Windows with Ada.IO_Exceptions; with Ada.IO_Modes; with Ada.Streams; with System.Native_IO; with C.wincon; with C.windef; package System.Native_Text_IO is pragma Preelaborate; subtype Handle_Type is Native_IO.Handle_Type; ...
4,261
ada
5
alkhimey/Ada_Curve
src/main-calculate_knot_h_pos.adb
-- The MIT License (MIT) -- -- Copyright (c) 2017 <EMAIL> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, c...
4,262
ada
4
davidkristola/vole
kv-avm-clients.ads
<reponame>davidkristola/vole<gh_stars>1-10 with Ada.Unchecked_Deallocation; with Interfaces; with kv.avm.Transactions; package kv.avm.Clients is type Client_Interface is interface; type Client_Access is access all Client_Interface'CLASS; type Status_Type is (Uninitialized, Closed, Running, Transacting, Fai...
4,263
ada
0
thierr26/ada-keystore
src/keystore-repository-data.ads
<filename>src/keystore-repository-data.ads ----------------------------------------------------------------------- -- keystore-repository-data -- Data access and management for the keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License...
4,264
ada
1
io7m/coreland-symbex
symbex-walk.ads
<filename>symbex-walk.ads with Symbex.Parse; package Symbex.Walk is type Walk_Status_t is (Walk_Continue, Walk_Finish_List, Walk_Finish_Tree, Walk_Error); generic with procedure Handle_List_Open (List_ID : in Parse.List_ID_t; Depth : in Parse.List_Depth_t; Sta...
4,265
ada
2
mgrojo/lsystem-editor
src/io/lse-io-drawing_area.ads
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and...
4,266
ada
24
svn2github/matreshka
source/league/matreshka-internals-locales.ads
<reponame>svn2github/matreshka<filename>source/league/matreshka-internals-locales.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
4,267
ada
0
My-Colaborations/ada-ado
src/postgresql/ado-statements-postgresql.adb
----------------------------------------------------------------------- -- ado-statements-postgresql -- Postgresql query statements -- Copyright (C) 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
4,268
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant3.adb
-- { dg-do compile } -- { dg-options "-O" } with System.Machine_code; use System.Machine_code; procedure Constant3 is c : Integer := -1; r : Integer; procedure Conv (res : out Integer; v : Integer) is v1 : constant Integer := v; begin Asm ("", Integer'Asm_output ("=m", res), Integer'Asm_input("m", v...
4,269
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-exctra.adb
<reponame>orb-zhuchen/Orb<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
4,270
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbsumu__8641d.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
4,271
ada
1
jquorning/WeDo
source/web_io.ads
<reponame>jquorning/WeDo -- -- 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 Types; pack...
4,272
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c2a001a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c2a001a.ada -- C2A001A.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...
4,273
ada
4
faelys/gela-asis
source/asis/spec/ada-strings-unbounded.ads
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
4,274
ada
1
LaudateCorpus1/RosettaCodeData
Task/Averages-Pythagorean-means/Ada/averages-pythagorean-means-1.ada
<filename>Task/Averages-Pythagorean-means/Ada/averages-pythagorean-means-1.ada package Pythagorean_Means is type Set is array (Positive range <>) of Float; function Arithmetic_Mean (Data : Set) return Float; function Geometric_Mean (Data : Set) return Float; function Harmonic_Mean (Data : Set) return Flo...
4,275
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-generate-lr1_items.adb
-- Abstract : -- -- See spec. -- -- Copyright (C) 2002, 2003, 2008, 2009, 2012 - 2015, 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under the terms of the GNU General Public Li...
4,276
ada
33
ytomino/drake
source/hash/a-stzhas.ads
pragma License (Unrestricted); with Ada.Characters.Conversions; with Ada.Strings.Generic_Hash; function Ada.Strings.Wide_Wide_Hash is new Generic_Hash ( Wide_Wide_Character, Wide_Wide_String, Characters.Conversions.Get); pragma Pure (Ada.Strings.Wide_Wide_Hash);
4,277
ada
0
morellam-dev/cs-4308-concepts-of-programming-languages
module-06/src/oedipus-elementary_functions.ads
-- FILE: oedipus-elementary_functions.ads LICENSE: MIT © 2021 <NAME> with Oedipus; use Oedipus; package Oedipus.Elementary_Functions is Div_By_Zero : exception; function "+" (C : in Complex) return Complex; -- PRECOND: none -- POSTCOND: positive C is returned function "-" (C : in Complex) return Comp...
4,278
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/prompts/110_private_types/colors.adb
<reponame>AdaCore/training_material package body Colors is procedure Add (Set : in out Color_Set_T; Color : Color_T) is begin null; end Add; procedure Remove (Set : in out Color_Set_T; Color : Color_T) is begin null; end Remove; function Image ...
4,279
ada
0
ViGi-P/coinapi-sdk
oeml-sdk/ada/src/client/-clients.ads
-- OEML _ REST API -- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0]...
4,280
ada
0
xuedong/mini-ada
tests/exec/for1.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin for I in 1 .. 10 loop Put('A'); end loop; New_Line; for I in 10 .. 1 loop Put('B'); end loop; New_Line; for I in reverse 1 .. 10 loop Put('C'); end loop; New_Line; for I in reverse 10 .. 1 loop Put('D'); end loop; New_Line; end; -- Local Variables...
4,281
ada
33
ytomino/drake
examples/subpool.adb
-- for MR_Pool with System.Storage_Pools.Subpools; with System.Storage_Elements; with Ada.Unchecked_Deallocate_Subpool; -- for dummy item type with Ada.Finalization; with System.Storage_Elements.Formatting; procedure subpool is -- RM 13-11-6 package MR_Pool is use System.Storage_Pools; -- For uses of Subpools. ...
4,282
ada
24
svn2github/matreshka
source/xml/dom/xml-dom.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,283
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93004f.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93004f.ada<gh_stars>1-10 -- C93004F.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 ...
4,284
ada
0
persan/advent-of-code-2020
src/day-8/adventofcode-day_8.adb
<gh_stars>0 pragma Ada_2012; with Adventofcode.File_Line_Readers; with Ada.Strings.Fixed; with Ada.Text_IO; use Ada.Text_IO; with GNAT.Source_Info; use GNAT.Source_Info; package body Adventofcode.Day_8 is ---------- -- Load -- ---------- procedure Load (Memory : in out Memory_Type; From_Path : String) is ...
4,285
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-elchha.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,286
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48005a.ada
-- C48005A.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...
4,287
ada
33
ytomino/drake
source/required/s-soflin.ads
pragma License (Unrestricted); -- implementation unit required by compiler with Ada.Exceptions; with System.Synchronous_Control; package System.Soft_Links is pragma Preelaborate; function Do_Get_Current_Excep return Ada.Exceptions.Exception_Occurrence_Access; type Get_Current_Excep_Handler is ac...
4,288
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-mudido.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
4,289
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/gl/gl-geometry-primitives.ads
pragma Warnings (Off); pragma Style_Checks (Off); ------------------------------------------------------------------------- -- GL.Geometry - GL geometry primitives -- -- Copyright (c) <NAME> 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose, prov...
4,290
ada
0
balintsoos/LearnAda
gyak/gyak6/reversal-A2/cserel.ads
<reponame>balintsoos/LearnAda<gh_stars>0 generic type T is private; procedure Cserel (A, B: in out T);
4,291
ada
33
ytomino/drake
examples/signal.adb
<filename>examples/signal.adb -- stack trace must be shown with gnatbind -E with Ada.Formatting; with Ada.Unchecked_Conversion; with Interfaces; with System.Machine_Code; with System.Storage_Elements; procedure signal is use type Interfaces.Unsigned_16; Bad : exception; CW : aliased Interfaces.Unsigned_16 := 0; typ...
4,292
ada
20
HeisenbugLtd/spat
src/util/gnatcoll-opt_parse-extension.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- G N A T C O L L -- -- -- -- Copyright (C) 2009-2019, AdaCore ...
4,293
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_util.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
4,294
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr9.ads
with Aggr9_Pkg; use Aggr9_Pkg; package Aggr9 is procedure Proc (X : R1); end Aggr9;
4,295
ada
0
cliffano/jenkins-api-clients-generator
clients/ada/generated/src/model/-models.ads
-- <NAME> -- Jenkins API clients generated from Swagger / Open API specification -- -- The version of the OpenAPI document: 1.1.2_pre.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0. -- https://openapi-generator.tech -- Do not edit the class manually. with Swagger.Str...
4,296
ada
24
svn2github/matreshka
source/xml/sax/xml-sax-entity_resolvers.ads
<filename>source/xml/sax/xml-sax-entity_resolvers.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
4,297
ada
20
charlie5/lace
3-mid/opengl/source/platform/glx/private/thin/glx-event.ads
<filename>3-mid/opengl/source/platform/glx/private/thin/glx-event.ads with glx.BufferSwapComplete, glx.PbufferClobberEvent; package glx.Event is type long_Array is array (C.size_t range <>) of aliased C.Long; type Kind is (pBufferClobber, BufferSwapComplete, Pad); ...
4,298
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_13/problem_13.ads
with Test_Solution; use Test_Solution; package problem_13 is type Int128 is range -2**127 .. 2**127 - 1; type Digit_50_Array is array( Natural range <> ) of String( 1 .. 50 ); function solution_1( arr : Digit_50_Array ) return Int128; procedure Test_Solution_1; function Get_Solutions return So...
4,299
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/elab4_proc.ads
<reponame>best08618/asylo -- { dg-excess-errors "no code generated" } generic procedure Elab4_Proc;