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
5,300
ada
2
Lucretia/aplug
ladspa/examples/amp.ads
-- Amp -- -- Amplifier LADSPA plugin. ------------------------------------------------------------------------------------------------------------------------ -- with Ada.Finalization; with Interfaces.C; with LADSPA; package Amp is type Port_Numbers is (Gain, Input_1, Output_1, Input_2, Output_2) with Conve...
5,301
ada
25
My-Colaborations/ada-keystore
src/keystore-buffers.ads
<filename>src/keystore-buffers.ads ----------------------------------------------------------------------- -- keystore-buffers -- Buffer management for the keystore -- Copyright (C) 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
5,302
ada
0
mstewartgallus/linted
src/ada-core/src/linted-atomics.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...
5,303
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-reply_actions.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
5,304
ada
4
faelys/gela-asis
source/asis/spec/annex_d/ada-asynchronous_task_control.ads
<filename>source/asis/spec/annex_d/ada-asynchronous_task_control.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 -- -- ...
5,305
ada
2
skordal/ada-regex
src/regex-matchers.adb
<filename>src/regex-matchers.adb<gh_stars>1-10 -- Ada regular expression library -- (c) <NAME> 2020 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> with Ada.Strings.Unbounded; with Regex.State_Machines; use Regex.State_Machines; package body Regex.Matchers is function Matches (Inp...
5,306
ada
0
Louis-Aime/Milesian_calendar_Ada
Lunar_phase_computations.ads
<filename>Lunar_phase_computations.ads -- Mean lunar phase computations -- Given a date expressed as a decimal Julian day, -- compute the mean lunar phase (and later the next mean new moon). -- The algorithm is in the public domain ---------------------------------------------------------------------------- -- Copyrigh...
5,307
ada
0
melwyncarlo/ProjectEuler
problems/040/a040.adb
<gh_stars>0 with Ada.Strings.Fixed; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A040 is use Ada.Strings.Fixed; use Ada.Integer_Text_IO; Max_E : constant Integer := 7; -- 1E+x N : constant array (Integer range 1 .. Max_E) of Integer := (1, 10, 100, 1000...
5,308
ada
1
MatrixMike/AdaDemo1
greetings/greetings.ads
package Greetings is procedure Hello; procedure Middle; procedure Goodbye; end Greetings;
5,309
ada
2
morbos/Ada_Drivers_Library
components/eth/stm32-eth.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- ...
5,310
ada
0
Lucretia/old_nehe_ada95
nehe_base_ada/example.ads
<gh_stars>0 --------------------------------------------------------------------------------- -- Copyright 2004-2005 © <NAME> -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. -------------------------------------------------------...
5,311
ada
0
jfitz/code-stat
extra/Ada/nameres.adb
<gh_stars>0 with Ada.Calendar; use Ada.Calendar; with Ada.Containers.Generic_Array_Sort; with Ada.Containers.Vectors; with Ada.Exceptions; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Wide_Wide_Unbounded; use Ada.Strings.Wide_Wide_Unbounded; with Ada.Text_IO; with...
5,312
ada
8
darkestkhan/lumen
src/lumen-program.ads
-- Lumen.Program -- Helper routines fr working with shader programs. -- -- darkestkhan, Winter 2014 -- This code is covered by the ISC License: -- -- Copyright © 2014, darkestkhan -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided ...
5,313
ada
0
fintatarta/protypo
src/lib/Utilities/string_sets.ads
-- A string set is just a weaker form of regular expression. A string -- set is a finite set of strings where each character belongs to a set. -- -- A string set can be represented by a regex of the form -- -- [...][...][...] -- -- that is, as a concatenation of character sets. -- -- This is convenient choice when yo...
5,314
ada
0
fintatarta/protypo
src/Internals/protypo-code_trees-interpreter-statements.adb
pragma Ada_2012; with Protypo.Code_Trees.Interpreter.Compiled_Functions; with Protypo.Code_Trees.Interpreter.Names; with Protypo.Code_Trees.Interpreter.Expressions; with Protypo.Api.Engine_Values.Handlers; with Ada.Exceptions; pragma Warnings (Off, "no entities of ""Ada.Text_IO"" are referenced"); with Ada.Text_Io;...
5,315
ada
3
stcarrez/ada-stemmer
regtests/stemmer-tests.ads
----------------------------------------------------------------------- -- stemmer-tests -- Tests for stemmer -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You...
5,316
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-soflin.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,317
ada
0
fintatarta/eugen
src/Line_Array/src/node_list_parsers.ads
<filename>src/Line_Array/src/node_list_parsers.ads with Ada.Containers.Indefinite_Ordered_Maps; with Ada.Containers.Vectors; with Ada.Strings.Bounded; with Line_Arrays; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; -- -- This package parses a file as a list of "nodes." Basically, -- a "node" has the followin...
5,318
ada
2
thindil/tashy2
src/tk/tk-toplevel.adb
<filename>src/tk/tk-toplevel.adb -- Copyright (c) 2020 <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/LICENSE-2.0 -- -- Unless r...
5,319
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/text/private/opengl-glyphimpl-texture.ads
<gh_stars>1-10 with openGL.Texture, freetype_c.FT_GlyphSlot; private with openGL.Geometry.lit_textured, openGL.Primitive.indexed, GL; package openGL.GlyphImpl.texture -- -- Implements a texture-based glyph. -- is type Item is new GlyphImpl.item with private; type View is access all Ite...
5,320
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testwm.adb
<gh_stars>0 -- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as publi...
5,321
ada
4
davidkristola/vole
kv-avm-log.ads
package kv.avm.Log is Verbose : Boolean := False; procedure Put(Str : String); procedure Put_Line(Str : String); procedure Log_If(Callback : access function return String); procedure Put_Error(Str : String); procedure New_Line(Count : Positive := 1); function Get_Last_Log_Line return String; ...
5,322
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-memcop.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
5,323
ada
5
reznikmm/increment
source/base/incr-parsers.ads
<filename>source/base/incr-parsers.ads<gh_stars>1-10 -- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package Incr.Parsers is pragma Pure; end Incr.Parsers;
5,324
ada
2
ytomino/web-ada
examples/test_encode.adb
with Ada.Command_Line; with Ada.Strings.Unbounded; with Ada.Text_IO; with Web.HTML; procedure test_encode is use type Ada.Strings.Unbounded.Unbounded_String; Verbose : Boolean := False; Buffer : Ada.Strings.Unbounded.Unbounded_String; procedure Append (S : in String) is begin Ada.Strings.Unbounded.Append (Buffer...
5,325
ada
33
ytomino/drake
source/calendar/a-calfor.ads
pragma License (Unrestricted); with Ada.Calendar.Time_Zones; package Ada.Calendar.Formatting is -- Day of the week: type Day_Name is ( Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday); -- modified -- function Day_of_Week (Date : Time) return Day_Na...
5,326
ada
0
AsyncMC/Mojang-API-Libs
generated-sources/ada-server/mojang-authentication/src/server/com-github-asyncmc-mojang-authentication-ada-server-model-skeletons.ads
<gh_stars>0 -- Mojang Authentication API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do...
5,327
ada
6
bosepchuk/Ada_Drivers_Library
arch/ARM/Nordic/drivers/nrf51-rtc.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
5,328
ada
0
reznikmm/gela
source/oasis/program-elements-record_representation_clauses.ads
<filename>source/oasis/program-elements-record_representation_clauses.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Representation_Clauses; with Program.Lexical_Elements; with Program.Element...
5,329
ada
1
stcarrez/babel
src/babel-files-queues.adb
----------------------------------------------------------------------- -- babel-files-queues -- File and directory queues -- Copyright (C) 2014 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compl...
5,330
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-traent.ads
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
5,331
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/stm32/stm32f0xx/setup_pll.adb
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
5,332
ada
89
treggit/sdlada
test/libraries.adb
<filename>test/libraries.adb with SDL; with SDL.Libraries; with SDL.Log; -- Run with: LD_LIBRARY_PATH=./gen/debug/test:$LD_LIBRARY_PATH ./gen/debug/test/libraries procedure Libraries is Lib : SDL.Libraries.Handles; begin SDL.Libraries.Load (Lib, "libtestmaths.so"); SDL.Log.Set (Category => SDL.Log.Applicat...
5,333
ada
0
jwarwick/aoc_2019_ada
day06/src/day.ads
<gh_stars>0 -- AOC, Day 6 with Ada.Containers.Vectors; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Day is type Orbit_Entry is record Left : Unbounded_String := Null_Unbounded_String; Right : Unbounded_String := Null_Unbounded_String; end record; package Orbit_List is new Ada.Containe...
5,334
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507o.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507o.ada -- C35507O.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. Governmen...
5,335
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/sem_cat.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,336
ada
0
persan/a-cups
src/gen/cups-cups_transcode_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with CUPS.cups_language_h; private package CUPS.cups_transcode_h is CUPS_MAX_USTRING : constant := 8192; -- cups/transcode.h:36 -- * "$Id: transcode.h 10996 2013-05-29 11:51:34Z msweet $" -- * -- *...
5,337
ada
15
My-Colaborations/dynamo
src/gen-artifacts-distribs-exec.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- gen-artifacts-distribs-exec -- External command based distribution artifact -- Copyright (C) 2012, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may ...
5,338
ada
1
stcarrez/helios
src/helios-monitor.adb
----------------------------------------------------------------------- -- helios-monitor -- Helios 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 the License. -- You m...
5,339
ada
0
persan/advent-of-code-2020
src/day-8/adventofcode-day_8-main.adb
<gh_stars>0 procedure Adventofcode.Day_8.Main is C : Computer_Type; begin C.Load ("src/day-8/input.test"); for I of C.Storage loop C.Reset; C.Trace := True; if I.Code in Nop | Jmp then if I.Code = Nop then I.Code := Jmp; C.Run; I.Code := Nop; ...
5,340
ada
3
stcarrez/ada-css
tools/parser/css-analysis-parser-lexer.ads
<filename>tools/parser/css-analysis-parser-lexer.ads -- Warning: This lexical scanner is automatically generated by AFLEX. -- It is useless to modify it. Change the ".Y" & ".L" files instead. with CSS.Analysis.Parser.Parser_Tokens; package CSS.Analysis.Parser.Lexer is use CSS.Analysis.Parser.Parser_Tok...
5,341
ada
0
alexcamposruiz/dds-requestreply
src/dds-patches/dds.adb
<filename>src/dds-patches/dds.adb -- (c) Copyright, Real-Time Innovations, $Date: 2012-10-23 16:55:08 -0700 (Tue, 23 Oct 2012) $ -- All rights reserved. -- -- No duplications, whole or partial, manual or electronic, may be made -- without express written permission. Any such copies, or -- revisions thereof, must ...
5,342
ada
30
Componolit/libsparkcrypto
tests/util_tests.adb
<reponame>Componolit/libsparkcrypto ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- @author <NAME> -- @date 2019-01-16 -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and b...
5,343
ada
30
jscparker/math_packages
linear_algebra/givens_qr_method.adb
--------------------------------------------------------------------------- -- package body Givens_QR_Method -- Copyright (C) 2011-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice an...
5,344
ada
15
My-Colaborations/dynamo
src/asis/a4g-a_types.ads
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
5,345
ada
3
daveshields/AdaEd
bugs/bug25.ada
<reponame>daveshields/AdaEd procedure main IS package pack is function func return integer; end pack; package body pack is function func return integer is begin return 1; end func; end pack; begin null; exception when pack.func.error => null; end main;
5,346
ada
52
onox/orka
orka_simd/src/x86/gnat/orka-simd-avx-singles-arithmetic.ads
<reponame>onox/orka<filename>orka_simd/src/x86/gnat/orka-simd-avx-singles-arithmetic.ads -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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 ma...
5,347
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f1/stm32gd-clock-tree.adb
<filename>stm32f1/stm32gd-clock-tree.adb with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.PWR; use STM32_SVD.PWR; package body STM32GD.Clock.Tree is function Frequency (Clock : Clock_Type) return Integer is begin case Clock is when STM32GD.Clock.RTCCLK => retur...
5,348
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-excach.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,349
ada
0
balintsoos/LearnAda
bead/bead1/J_String_Pkg.ads
<reponame>balintsoos/LearnAda<gh_stars>0 package J_String_Pkg is subtype J_Length is Natural range 0 .. 1024; type J_String(size : J_Length := 20) is private; -- functions function Create(Str : String) return J_String; function Value_Of(S : J_String) return String; function Char_At(S : J_String; P : Posi...
5,350
ada
4
davidkristola/vole
kv-avm-memories.adb
<reponame>davidkristola/vole with Ada.Unchecked_Deallocation; with kv.avm.Tuples; package body kv.avm.Memories is use Interfaces; use kv.avm.Registers; Last_Used_ID : Natural := 0; type Register_Array_Reference_Counter_Type is record ID : Positive; Count : Natural := 0; ...
5,351
ada
80
thindil/steamsky
tests/events-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 Events.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Events.Test_Data .Test with null ...
5,352
ada
7
Fabien-Chouteau/Giza
src/giza-widget-number_selection.adb
with Giza.Timers; package body Giza.Widget.Number_Selection is --------------- -- Triggered -- --------------- overriding function Triggered (This : Repeat_Event) return Boolean is Reset : Boolean := False; begin if This.Nbr = null then return False; end if; if Thi...
5,353
ada
9
ajnavarro/language-dataset
data/github.com/cubesatlab/cubedos/4300107f39f7af539499c9f678abe668d8b2bb54/src/cubedos-file_server-messages.adb
-------------------------------------------------------------------------------- -- FILE : cubedos-file_server-messages.adb -- SUBJECT: Body of a package that implements the main part of the file server. -- AUTHOR : (C) Copyright 2017 by Vermont Technical College -- ---------------------------------------------------...
5,354
ada
80
thindil/steamsky
tests/factions-test_data-tests-relations_container.ads
<gh_stars>10-100 package Factions.Test_Data.Tests.Relations_Container is end Factions.Test_Data.Tests.Relations_Container;
5,355
ada
322
weirongw23/fork-bomb
forkbomb.adb
<reponame>weirongw23/fork-bomb<filename>forkbomb.adb<gh_stars>100-1000 with POSIX.Process_Identification, POSIX.Unsafe_Process_Primitives; procedure Forkbomb is unused : POSIX.Process_Identification.Process_ID; begin unused := POSIX.Unsafe_Process_Primitives.Fork; Forkbomb; end Forkbomb;
5,356
ada
0
persan/advent-of-code-2020
src/day-16/adventofcode-day_16.ads
package Adventofcode.Day_16 is end Adventofcode.Day_16;
5,357
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt57.ads
-- { dg-do compile } -- { dg-options "-O3" } with Ada.Finalization; use Ada.Finalization; with Opt57_Pkg; use Opt57_Pkg; package Opt57 is procedure Update; procedure Init; type Module_Factory is abstract new Limited_Controlled with private; type Root_Module_Rec (Language : access Module_Factory'Class)...
5,358
ada
30
jscparker/math_packages
polynomial/clenshaw/chebychev.ads
-- package Chebychev -- -- Data structure for generating Chebychev polynomials of the 2nd kind, -- using Clenshaw's method: -- Q_0(X) = 1 -- Q_1(X) = 2*X -- Q_k(X) = 2*X*Q_k-1(X) - Q_k-2(X) -- Alpha(k,X) = 2*X -- Beta(k,X) = -1 -- They are orthogonal on the interval (-1,1) with ...
5,359
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/drivers/fe310-uart.adb
<filename>arch/RISC-V/SiFive/drivers/fe310-uart.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- ...
5,360
ada
0
Rassol/AdaSem
src/data.adb
<reponame>Rassol/AdaSem -- Implementation of class called data with Text_IO, Ada.Integer_Text_IO; use Text_IO, Ada.Integer_Text_IO; package body Data is procedure Find_Borders (s: out integer; f: out integer; num: in integer) is begin s:= 1+num*n/p; f:= (num+1)*n/p; end Find_Borders; -...
5,361
ada
20
charlie5/lace
1-base/math/source/generic/any_math-any_random.ads
generic package any_Math.any_Random is function random_Real (Lower : in Real := Real'First; Upper : in Real := Real'Last) return Real; function random_Integer (Lower : in Integer := Integer'First; Upper : in Integer := Integer'Last) return Inte...
5,362
ada
0
zyron92/banana_tree_generator
geometry_helpers.adb
with Ada.Numerics.Generic_Elementary_Functions; package body Geometry_Helpers is package Math is new Ada.Numerics.Generic_Elementary_Functions(Float); --Retourne la racine carrée de (A carré plus B carré) function Racine_Pythagore(A,B: Float) return Float is begin return Math.Sqrt(A * A + B * B)...
5,363
ada
8
pvrego/adaino
project/tools/gnat-lib/atmega2560.ads
<filename>project/tools/gnat-lib/atmega2560.ads with Interfaces; use Interfaces; with System; package ATmega2560 is -- ADC Control and Status Register B ADCSRB : Unsigned_8; for ADCSRB'Address use System'To_Address (16#7B#); ADCSRB_ACME: constant := 64; -- Analog Comparator Multiplexer Enable -- Analo...
5,364
ada
1
Roldak/OpenGLAda
deps/FreeTypeAda/src/ft.adb
<reponame>Roldak/OpenGLAda<gh_stars>1-10 -- part of FreeTypeAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with FT.Errors; with FT.API; package body FT is use type Errors.Error_Code; use type Library_Ptr; procedure Init (Object : in out Library_Reference) is ...
5,365
ada
0
TNO/Dependency_Graph_Extractor-Ada
src/extraction-decl_types.adb
<filename>src/extraction-decl_types.adb with Extraction.Node_Edge_Types; with Extraction.Utilities; package body Extraction.Decl_Types is use type LALCO.Ada_Node_Kind_Type; function Get_Subp_Spec (Basic_Decl : LAL.Basic_Decl) return LAL.Base_Subp_Spec; function Get_Subp_Spec (Basic_Decl : LAL.Basi...
5,366
ada
0
iyan22/AprendeAda
ejercicios1/prueba_factorial.adb
with ada.text_io, ada.integer_text_io; use ada.text_io, ada.integer_text_io; with factorial; procedure prueba_factorial is n1:integer:=0; begin -- Caso de prueba 1: n1:=4; put("El resultado deberia de ser: 24"); new_line; put("Y tu programa dice que:"); put(factorial(n1)); new_line; -- ...
5,367
ada
33
ytomino/drake
source/interfaces/i-cchpoi.ads
pragma License (Unrestricted); -- extended unit with Interfaces.C.Pointers; package Interfaces.C.Char_Pointers is new Pointers ( Index => size_t, Element => char, Element_Array => char_array, Default_Terminator => char'Val (0)); -- The instance of Interfaces.C.Pointers for char. pragma Pure...
5,368
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/g45/hw-gfx-gma-gmch-vga.adb
-- -- 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 option) any later version. -- -- ...
5,369
ada
204
spr93/whitakers-words
src/words_engine/words_engine-pearse_code.ads
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
5,370
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/elim2.adb
-- { dg-do run } with elim1; procedure elim2 is begin null; end;
5,371
ada
0
Letractively/ada-ado
src/ado-sessions-factory.ads
----------------------------------------------------------------------- -- factory -- Session Factory -- Copyright (C) 2009, 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the Licens...
5,372
ada
18
kraileth/ravenadm
src/portscan.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt -- GCC 6.0 only -- pragma Suppress (Tampering_Check); with Definitions; use Definitions; with HelperText; with Ada.Text_IO; private with Ada.Containers.Hashed_Maps; private with Ada.Containers.Ordered_Sets; pri...
5,373
ada
60
RREE/ada-util
src/sys/http/curl/util-http-clients-curl-constants.ads
-- Generated by utildgen.c from system includes private package Util.Http.Clients.Curl.Constants is CURLOPT_URL : constant Curl_Option := 10002; CURLOPT_HTTPGET : constant Curl_Option := 80; CURLOPT_POST : constant Curl_Option := 47; CURLOPT_CUSTOMREQUEST : constant Curl_Optio...
5,374
ada
24
svn2github/matreshka
source/web/tools/a2js/properties-expressions-selected_components.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
5,375
ada
76
yannickmoy/SPARKNaCl
src/sparknacl-hashing.ads
<filename>src/sparknacl-hashing.ads package SPARKNaCl.Hashing with Pure, SPARK_Mode => On is subtype Digest is Bytes_64; -- 512 bits -- Use IV to initialize a Digest before first call -- to Hashblocks IV : constant Digest; procedure Hashblocks (X : in out Digest; M : in Byte_S...
5,376
ada
52
onox/orka
orka_egl/src/egl.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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 -...
5,377
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/avxintrin_h.ads
<reponame>AdaCore/training_material<filename>extern/gnat_sdl/gnat_sdl2/src/avxintrin_h.ads<gh_stars>10-100 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package avxintrin_h is -- Copyright (C) 2008-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is...
5,378
ada
5
HeisenbugLtd/flac-ada
test/simple_test.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam H...
5,379
ada
7
stcarrez/mat
mat/src/frames/mat-frames-print.adb
----------------------------------------------------------------------- -- Frames - Representation of stack frames -- Copyright (C) 2014, 2019, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
5,380
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-excmac-arm.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
5,381
ada
1
faelys/natools-web
generated/natools-static_maps-web-comments-item_commands.ads
package Natools.Static_Maps.Web.Comments.Item_Commands is pragma Pure; function Hash (S : String) return Natural; end Natools.Static_Maps.Web.Comments.Item_Commands;
5,382
ada
1
reinertk/cpros
src/cpros.adb
-------------------------------------------------------------------------------------- -- -- 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 Software without restrict...
5,383
ada
13
Fabien-Chouteau/GESTE
examples/RPG/src/game.adb
<filename>examples/RPG/src/game.adb<gh_stars>10-100 with Ada.Real_Time; with Render; with Keyboard; with Levels; with Player; with GESTE.Text; with GESTE_Config; with GESTE_Fonts.FreeMono5pt7b; package body Game is package RT renames Ada.Real_Time; use type RT.Time; use type RT.Time_Span; Text : alias...
5,384
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74305b.ada
-- C74305B.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...
5,385
ada
12
TUM-EI-RCS/StratoX
software/unittest/units/src/main.adb
<filename>software/unittest/units/src/main.adb with Units; use Units; with Units.Navigation; use Units.Navigation; with Ada.Text_IO; use Ada.Text_IO; procedure main is generic type T is digits <>; procedure Test_Wrap (STEP : T); -- adds all combinations of type T and prints the result to stdout pr...
5,386
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile11.adb
-- { dg-do run } -- { dg-options "-O -gnatp" } with Volatile11_Pkg; use Volatile11_Pkg; procedure Volatile11 is Value : Integer := 1; Bit1 : Boolean := false; pragma Volatile (Bit1); Bit2 : Boolean := false; pragma Volatile (Bit2); Bit3 : Boolean := false; pragma Volatile (B...
5,387
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape.adb
<filename>3-mid/impact/source/3d/collision/shapes/impact-d3-shape.adb with impact.d3.Transform, impact.d3.Vector; package body impact.d3.Shape is function isConvex (Self : in Item'Class) return Boolean is begin return impact.d3.collision.Proxy.isConvex (Self.getShapeType); end isConvex;...
5,388
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/s-valenu.ads
<reponame>brucegua/moocos ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
5,389
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3603a.ada
-- CC3603A.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...
5,390
ada
1
mokafiht/u2f_key_SDCC
lib/efm8_assert/assert.adb
<reponame>mokafiht/u2f_key_SDCC<gh_stars>1-10 M:assert F:G$slab_Assert$0$0({2}DF,SV:S),C,0,0,0,0,0 S:G$slab_Assert$0$0({2}DF,SV:S),C,0,0
5,391
ada
30
jscparker/math_packages
disorderly/gamma_tst_1.adb
-- gamma(1+x) = x! for x=0,1,2 ... -- gamma(0.5) = sqrt(pi) -- ln (sqrt(pi)) = 0.57236494292470008707171367567652935582354993281988 -- sqrt(pi) = 1.77245385090551602729816748334114518279737668859774 with Gamma; with text_io; use text_io; with ada.numerics.generic_elementary_functions; procedure gamma_tst_1 is ...
5,392
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83022g0.ada
-- C83022G0M.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. -- Unlim...
5,393
ada
0
PThierry/ewok-kernel
src/ewok-dma.ads
-- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http...
5,394
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_67.ads
package Problem_67 is procedure Solve; end Problem_67;
5,395
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/noinline1.ads
-- { dg-do compile } package Noinline1 is procedure Proc1; pragma Inline (Proc1); pragma No_Inline (Proc1); -- { dg-warning "both specified" } procedure Proc2; pragma No_Inline (Proc2); pragma Inline (Proc2); -- { dg-warning "both specified" } procedure Proc3; pragma Inline_Always (Proc3); pragma ...
5,396
ada
1
LaudateCorpus1/RosettaCodeData
Task/Bitmap-Histogram/Ada/bitmap-histogram-3.ada
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Bitmap-Histogram/Ada/bitmap-histogram-3.ada F1, F2 : File_Type; begin Open (F1, In_File, "city.ppm"); declare X : Image := Get_PPM (F1); Y : Grayscale_Image := Grayscale (X); T : Luminance := Median (Get_Histogram (Y)); begin Clo...
5,397
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37402a.ada
-- C37402A.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...
5,398
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/switch.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
5,399
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/inherited_primitive_operation.adb
<reponame>ouankou/rose<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/inherited_primitive_operation.adb<gh_stars>100-1000 PROCEDURE Inherited_Primitive_Operation IS PACKAGE Inner IS TYPE PARENT IS ARRAY (INTEGER RANGE <>) OF float; FUNCTION CREATE ( F, L : INTE...