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,800
ada
0
ystk/debian-ncurses
Ada95/samples/ncurses2-acs_and_scroll.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- ...
10,801
ada
15
mgrojo/adalib
ada-containers-indefinite_multiway_trees.ads
-- Standard Ada library specification -- 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-Identifier: BSD-3-Clause and LicenseRef-AdaRe...
10,802
ada
33
ytomino/drake
source/numerics/machine-apple-darwin/s-llelfu.ads
pragma License (Unrestricted); -- implementation unit specialized for Darwin (or Linux, or Windows) package System.Long_Long_Elementary_Functions is pragma Pure; function logl (x : Long_Long_Float) return Long_Long_Float with Import, Convention => Intrinsic, External_Name => "__builtin_logl"; function ...
10,803
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/modular1.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/modular1.adb<gh_stars>1-10 -- { dg-do run } with Ada.Text_IO; procedure Modular1 is type T1 is mod 9; package T1_IO is new Ada.Text_IO.Modular_IO(T1); X: T1 := 8; J1: constant := 5; begin ...
10,804
ada
0
Letractively/ada-util
src/http/util-http-rest.ads
----------------------------------------------------------------------- -- util-http-rest -- REST API support -- Copyright (C) 2012, 2013 <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 Lice...
10,805
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sem_disp.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,806
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-internal-hmac_ripemd160.adb
<gh_stars>10-100 ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, <NAME> -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or ...
10,807
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-images/src/awa-images-modules.adb
<gh_stars>0 ----------------------------------------------------------------------- -- awa-images-modules -- Image management module -- Copyright (C) 2012, 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complia...
10,808
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-activating-convex_convex.ads
<filename>3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-activating-convex_convex.ads -- #include "impact.d3.collision.Algorithm.activating.h" -- #include "BulletCollision/NarrowPhaseCollision/impact.d3.collision.Detector.discrete.gjk_pair.h" -- #include "BulletCollision/NarrowPhaseCollision...
10,809
ada
33
ytomino/drake
source/environment/machine-pc-freebsd/s-nacoli.ads
pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) package System.Native_Command_Line is pragma Preelaborate; function Argument_Count return Natural; pragma Pure_Function (Argument_Count); pragma Inline (Argument_Count); function Argument (Number : ...
10,810
ada
20
charlie5/lace
4-high/gel/source/joint/gel-hinge_joint.adb
<reponame>charlie5/lace with physics.Object, ada.unchecked_Deallocation; package body gel.hinge_Joint is use gel.Joint; procedure define (Self : access Item; in_Space : in std_physics.Space.view; Sprite_A, Sprite_B : access gel.Sprite.item'Clas...
10,811
ada
0
mstewartgallus/linted
src/ada-core/src/linted-update.adb
<reponame>mstewartgallus/linted -- Copyright 2015,2016,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 requir...
10,812
ada
0
jquorning/CELLE
source/builds.adb
<filename>source/builds.adb -- -- 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_...
10,813
ada
33
ytomino/drake
source/strings/a-strfun.ads
<gh_stars>10-100 pragma License (Unrestricted); -- extended unit with Ada.Strings.Generic_Functions; package Ada.Strings.Functions is new Generic_Functions ( Character_Type => Character, String_Type => String, Space => Space); pragma Preelaborate (Ada.Strings.Functions);
10,814
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/expander.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/expander.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER ...
10,815
ada
22
FardaleM/metalang
out/euler07.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 euler07 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.S...
10,816
ada
0
PThierry/ewok-kernel
src/arch/socs/stm32f439/soc-flash.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...
10,817
ada
80
thindil/steamsky
tests/combat-test_data-tests.ads
<gh_stars>10-100 -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Combat.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Combat.Test_Data .T...
10,818
ada
5
jhumphry/auto_counters
examples/flyweight_example.adb
-- flyweight_example.adb -- An example of using the Flyweight package -- Copyright (c) 2016, <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 and this permission notice appear in all copie...
10,819
ada
30
Componolit/libsparkcrypto
tests/lsc_test_aes_cbc.adb
<gh_stars>10-100 ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted...
10,820
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-ocl_expression_in_ocls.adb
<filename>source/amf/ocl/amf-internals-ocl_expression_in_ocls.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,821
ada
1
kylelk/ada-examples
ada-python-test/obj/b__ada_module.ads
<filename>ada-python-test/obj/b__ada_module.ads pragma Ada_95; with System; package ada_modulemain is pragma Warnings (Off); procedure ada_moduleinit; pragma Export (C, ada_moduleinit, "ada_moduleinit"); procedure ada_modulefinal; pragma Export (C, ada_modulefinal, "ada_modulefinal"); type Version_...
10,822
ada
0
iyan22/AprendeAda
ejercicios3/datos.ads
<reponame>iyan22/AprendeAda package datos is Max_Elem : constant Integer := 10; type Vector_De_Enteros is array (Integer range <>) of Integer; type Lista_Enteros is record Numeros : Vector_De_Enteros (1 .. Max_Elem); Cont : Integer; end record; type Vector_De...
10,823
ada
24
svn2github/matreshka
source/league/matreshka-internals-unicode-ucd.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
10,824
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/concat1.ads
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-gnatd.h" } with Concat1_Pkg; use Concat1_Pkg; package Concat1 is C : constant Natural := Id_For ("_" & Image_Of); end Concat1;
10,825
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/oconst1.adb
<reponame>best08618/asylo -- { dg-do compile } -- { dg-final { scan-assembler-not "elabs" } } package body OCONST1 is procedure check (arg : R) is begin if arg.u /= 1 or else arg.b.i1 /= 2 or else arg.b.i2 /= 3 or else arg.b.i3 /= 4 then raise Program_Error; end if; end; ...
10,826
ada
7
stcarrez/mat
mat/src/readline/readline.adb
<reponame>stcarrez/mat<filename>mat/src/readline/readline.adb ----------------------------------------------------------------------- -- readline -- A simple readline binding -- Copyright (C) 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may...
10,827
ada
0
mgrojo/smk
src/smk-makefiles.ads
<filename>src/smk-makefiles.ads -- ----------------------------------------------------------------------------- -- smk, the smart make -- © 2018 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache License, V...
10,828
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_5.adb
-- { dg-do compile } with Varsize3_Pkg1; use Varsize3_Pkg1; procedure Varsize3_5 is Filter : constant Arr := True.E; begin null; end;
10,829
ada
1
lholzi/emulator_8080
src/emulator_8080-vram_sender.adb
<reponame>lholzi/emulator_8080<gh_stars>1-10 with Ada.Text_IO; with Ada.Streams; with GNAT.Sockets; package body Emulator_8080.Vram_Sender is Address : GNAT.Sockets.Sock_Addr_Type; procedure Initialize(Port : in Natural; Ip_Address : in String) is begin Address := GNAT.Sockets.Sock_Addr_Type'(Family =>...
10,830
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-calari.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,831
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_convert4.adb
-- { dg-do compile } with Unchecked_Conversion; procedure Unchecked_Convert4 is type Uint32 is mod 2**32; type Rec is record I : Uint32; end record; for Rec'Size use 32; pragma Atomic (Rec); function Conv is new Unchecked_Conversion (Uint32, Rec); function F return Uint32; pragma Import (Ada, ...
10,832
ada
0
reznikmm/gela
source/nodes/program-nodes-enumeration_types.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Enumeration_Types is function Create (Left_Bracket_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Lit...
10,833
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization20.adb
-- { dg-do compile } -- { dg-options "-O -fdump-tree-optimized" } procedure Loop_Optimization20 is type Array_T is array (Positive range <>) of Integer; type Obj_T (Length : Natural) is record Elements : Array_T (1 .. Length); end record; type T is access Obj_T; function Is_Null (S1 : Obj_T) r...
10,834
ada
0
twdroeger/ada-awa
awa/plugins/awa-counters/src/awa-counters-components.ads
<gh_stars>0 ----------------------------------------------------------------------- -- awa-counters-components -- Counter UI component -- Copyright (C) 2015, 2018 <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,835
ada
1
LaudateCorpus1/RosettaCodeData
Task/Loops-N-plus-one-half/Ada/loops-n-plus-one-half.ada
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Loops-N-plus-one-half/Ada/loops-n-plus-one-half.ada<gh_stars>1-10 with Ada.Text_IO; procedure LoopsAndHalf is begin for i in 1 .. 10 loop Ada.Text_IO.put (i'Img); exit when i = 10; Ada.Text_IO.put (","); end loop; Ada.Text_IO.new_line; end LoopsA...
10,836
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-chtgop.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
10,837
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cusyqu.adb
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
10,838
ada
0
csb6/libtcod-ada
src/libtcod-maps-lines.ads
private with bresenham_h; package Libtcod.Maps.Lines is -- Represent line in a data structure type Line is limited private; function make_line(start_x : X_Pos; start_y : Y_Pos; end_x : X_Pos; end_y : Y_Pos) return Line; procedure copy_line(a : Line; b : out Line); function ste...
10,839
ada
0
My-Colaborations/ada-ado
src/ado-sessions.ads
<filename>src/ado-sessions.ads ----------------------------------------------------------------------- -- ADO Sessions -- Sessions Management -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License...
10,840
ada
0
SSOCsoft/Log_Reporter
src/nso-json-parameters_to_json.adb
<reponame>SSOCsoft/Log_Reporter Pragma Ada_2012; With Gnoga.Types, Ada.Strings.Fixed, Ada.Strings.Equal_Case_Insensitive, Ada.Containers.Indefinite_Multiway_Trees; Function NSO.JSON.Parameters_to_JSON( Input : in out Gnoga.Types.Data_Map_Type ) return NSO.JSON.Instance'Class is -- PT is a package for the con...
10,841
ada
33
ytomino/drake
examples/ucd_casefolding.adb
-- convert UCD/CaseFolding.txt -- bin/ucd_casefolding $UCD/CaseFolding.txt > ../source/strings/a-uccafo.ads with Ada.Command_Line; use Ada.Command_Line; with Ada.Containers.Ordered_Maps; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Strings; use Ada.Strings; with Ada.Strings.Fixed; use Ada.Strings.Fixed; ...
10,842
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c42007e.ada
-- C42007E.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...
10,843
ada
9
AntonMeep/parse_args
src/parse_args-split_csv.ads
<filename>src/parse_args-split_csv.ads -- parse_args-split_csv.ads -- A simple command line option parser -- Copyright (c) 2015, <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 and this p...
10,844
ada
81
twdroeger/ada-awa
awa/src/awa-events-services.ads
<reponame>twdroeger/ada-awa<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-events-services -- AWA Event Manager -- Copyright (C) 2012, 2016, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
10,845
ada
2
SMerrony/dgemua
virtual_memory/memory.adb
<filename>virtual_memory/memory.adb -- MIT License -- Copyright (c) 2021 <NAME> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the righ...
10,846
ada
81
twdroeger/ada-awa
awa/src/awa-events-services.adb
----------------------------------------------------------------------- -- awa-events-services -- AWA Event Manager -- Copyright (C) 2012, 2015, 2016, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in ...
10,847
ada
2
adnio/Ada_Drivers_Library
boards/MicroBit/src/microbit.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
10,848
ada
0
Letractively/ada-asf
src/asf-beans.adb
----------------------------------------------------------------------- -- asf.beans -- Bean Registration and Factory -- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in comp...
10,849
ada
20
charlie5/lace
2-low/collada/source/collada-library-visual_scenes.adb
with float_Math.Algebra.linear.D3, ada.unchecked_Deallocation; package body collada.Library.visual_scenes is ------------- --- Transform -- function to_Matrix (Self : in Transform) return collada.Matrix_4x4 is use Math, math.Algebra.linear, math.Algebra.linear.D3; ...
10,850
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c32107c.ada
-- C32107C.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...
10,851
ada
9
stcarrez/ada-search
src/search-tokens.ads
----------------------------------------------------------------------- -- search-tokens -- Search engine token representation -- 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...
10,852
ada
0
csb6/libtcod-ada
src/generated/event_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; limited with console_types_h; with sys_h; limited with mouse_types_h; package event_h is -- BSD 3-Clause License -- * -- * Copyright © 2008-2021, Jice and the libtcod contributors. -- * All rights reserved. -- * -- * Redistr...
10,853
ada
76
yannickmoy/SPARKNaCl
stress/car_stress.adb
with SPARKNaCl.Tests; procedure Car_Stress is begin SPARKNaCl.Tests.Car_Stress; end Car_Stress;
10,854
ada
1
assessorgeneral/ConQAT
org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.coverage.volume/case.adb
<gh_stars>1-10 with Ada.Text_IO; procedure Hello is package IO renames Ada.Text_IO; X: Integer := 4; begin case X is when 1 => Walk_The_Dog; when 5 => Launch_Nuke; when 8 | 10 => Sell_All_Stock; when others => Self_Destruct; end case; end Hello;
10,855
ada
1
stcarrez/helios
src/linux/helios-monitor-cpu.ads
<filename>src/linux/helios-monitor-cpu.ads ----------------------------------------------------------------------- -- helios-monitor-cpu -- Linux CPU monitor -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fil...
10,856
ada
18
kraileth/ravenadm
src/ini_file_manager.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt private with Ada.Containers.Hashed_Maps; private with Ada.Containers.Vectors; private with HelperText; package INI_File_Manager is ini_file_nonexistent : exception; file_operation_failed : exception; b...
10,857
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_2.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_2.adb<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-fdump-tree-gimple" } with Atomic6_Pkg; use Atomic6_Pkg; procedure Atomic6_2 is Temp : Integer; begin Counter1 := Counter1 + Counter2; Timer1 := Timer1 + Timer2; ...
10,858
ada
15
My-Colaborations/dynamo
src/asis/asis-statements.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
10,859
ada
4
Lucretia/ether
src/ether-responses.adb
-- -*- Mode: Ada -*- -- Filename : ether-response.adb -- Description : Body for the response objects. -- Author : <NAME> -- Created On : Sun Jul 4 19:22:48 2010 with Ada.Characters.Latin_1; --with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; pack...
10,860
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/stm32f0/rfm69_moter/sensor/peripherals.ads
<reponame>ekoeppen/STM32_Generic_Ada_Drivers with STM32GD.Board; with Drivers.Si7006; with Drivers.Text_IO; package Peripherals is subtype Millivolts is Natural range 0..4095; package Si7006 is new Drivers.Si7006 (I2C => STM32GD.Board.I2C); procedure Init; procedure Power_Down; procedure Power_Up; ...
10,861
ada
12
TUM-EI-RCS/StratoX
software/hal/hpl/STM32/drivers/i2c_stm32f7/stm32-i2c.ads
------------------------------------------------------------------------------ -- -- -- Standard Peripheral Library for STM32 Targets -- -- -- -- ...
10,862
ada
0
kochab/simulatedannealing-ada
ImgAnnealing/src/imageops.ads
with Bitmaps.RGB; package ImageOps is function Manhattan_Distance (A, B : in Bitmaps.RGB.Pixel) return Natural; function Adj_Distance_Sum (Source : in Bitmaps.RGB.Image) return Long_Integer; procedure Noise (Target : in out Bitmaps.RGB.Image); end ImageOps;
10,863
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-stcoed.ads
<filename>gcc-gcc-7_3_0-release/gcc/ada/a-stcoed.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,864
ada
0
mlurbe97/ABench2020
Factorial/factorial.adb
-- -- ABench2020 Benchmark Suite -- -- Factorial Program -- -- Licensed under the MIT License. See LICENSE file in the ABench root -- directory for license information. -- -- Uncomment the line below to print the result. -- with Ada.Text_IO; use Ada.Text_IO; with Ada.Command_Line; use Ada.Command_Line; procedur...
10,865
ada
1
io7m/coreland-openal-ada
UNIT_TESTS/init_002.adb
<filename>UNIT_TESTS/init_002.adb with Test; with OpenAL.Context; with OpenAL.Context.Error; procedure init_002 is package ALC renames OpenAL.Context; package ALC_Error renames OpenAL.Context.Error; Device : ALC.Device_t; Context : ALC.Context_t; OK : Boolean; TC : Test.Context_t; use ...
10,866
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-catizo.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
10,867
ada
9
Kidev/AdaPhysics2D
links.adb
<filename>links.adb with Ada.Unchecked_Deallocation; package body Links is function CreateLink(A, B : EntityClassAcc; LinkType : LinkTypes; Factor : Float := 0.0) return LinkAcc is UseFactor : constant Float := (if Factor = 0.0 then LinkTypesFactors(LinkType) else Factor); begin return new Lin...
10,868
ada
0
My-Colaborations/dynamo
src/gen-model-queries.adb
<reponame>My-Colaborations/dynamo ----------------------------------------------------------------------- -- gen-model-queries -- XML Mapped Database queries representation -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Versio...
10,869
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/incomplete4_pkg.ads
package Incomplete4_Pkg is type Circular_Type; type Ptr is access Circular_Type; type Circular_Type is array (1..100) of Ptr; A : Circular_Type; end Incomplete4_Pkg;
10,870
ada
0
SKNZ/BezierToSTL
src/courbes/courbes.ads
<reponame>SKNZ/BezierToSTL<gh_stars>0 with Vecteurs; use Vecteurs; with Liste_Generique; limited with Courbes.Visiteurs; package Courbes is type Courbe is abstract tagged private; type Courbe_Ptr is access all Courbe'Class; package Liste_Courbes is new Liste_Generique(Courbe_Ptr); subtype Coordonnee_No...
10,871
ada
0
samyvic/OS-Project
Read Only/gdb-6.8/gdb/testsuite/gdb.ada/complete/pck.ads
package Pck is My_Global_Variable : Integer := 1; Exported_Capitalized : Integer := 2; pragma Export (C, Exported_Capitalized, "Exported_Capitalized"); Local_Identical_One : Integer := 4; Local_Identical_Two : Integer := 8; External_Identical_One : Integer := 19; package Inner is Inside_...
10,872
ada
20
charlie5/lace
3-mid/opengl/source/platform/osmesa/private/thin/osmesa_c.ads
-- This file is generated by SWIG. Please do *not* modify by hand. -- with Interfaces.C; with Swig; with Interfaces.C; package osmesa_c is -- GLenum -- subtype GLenum is Interfaces.C.unsigned; type GLenum_array is array (Interfaces.C.size_t range <>) of aliased osmesa_c.GLenum; -- GLint -- ...
10,873
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-vallld.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,874
ada
0
djgoku/RosettaCodeData
Task/Read-a-file-line-by-line/Ada/read-a-file-line-by-line.ada
with Ada.Text_IO; procedure Line_By_Line is Filename : String := "line_by_line.adb"; File : Ada.Text_IO.File_Type; Line_Count : Natural := 0; begin Ada.Text_IO.Open (File => File, Mode => Ada.Text_IO.In_File, Name => Filename); while not Ada.Text_IO.End_O...
10,875
ada
0
iyan22/AprendeAda
ejercicios1/multiplosdetres.adb
with ada.text_io, ada.integer_text_io; use ada.text_io, ada.integer_text_io; procedure multiplosdetres (n1,n2: in Integer; resultado: out Integer) is auxiliar: Integer; begin resultado:=0; auxiliar:=n1; while auxiliar rem 3 /= 0 loop auxiliar:=auxiliar+1; end loop; while n2 >= auxiliar loop put(auxiliar);...
10,876
ada
4
faelys/gela-asis
source/asis/asis-elements.adb
<reponame>faelys/gela-asis<filename>source/asis/asis-elements.adb ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- ...
10,877
ada
0
sebsgit/textproc
src/imagefilters.adb
with PixelArray; with Ada.Numerics; with Ada.Numerics.Generic_Elementary_Functions; package body ImageFilters is package FloatFunc is new Ada.Numerics.Generic_Elementary_Functions(Float_Type => Float); function generateKernel(size: Positive; sigma: Float) return Kernel is k: Kernel (0 .. (2 * size + 1) * ...
10,878
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-events.ads
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- <NAME> ...
10,879
ada
0
clay-siefken/pe1
src/ada/pe1.adb
<reponame>clay-siefken/pe1<filename>src/ada/pe1.adb<gh_stars>0 with Ada.Text_IO; procedure PE1 is S : Integer; begin S := 0; for i in 1 .. 999 loop if (i mod 3) = 0 or (i mod 5) = 0 then S := S + i; end if; end loop; Ada.Text_IO.Put_Line(Item => Integer'Image(S)); end PE1;
10,880
ada
5
jhumphry/auto_counters
examples/unique_ptr_example.adb
-- unique_ptr_example.adb -- An example of using the Unique_Ptr types -- Copyright (c) 2016, <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 and this permission notice appear in all copie...
10,881
ada
3
charlie5/aIDE
source/types/adam-record_component.ads
with AdaM.Entity, AdaM.a_Type, AdaM.component_Definition, Ada.Containers.Vectors, Ada.Streams; package AdaM.record_Component is type Item is new Entity.item with private; -- View -- type View is access all Item'Class; procedure View_write (Stream : not null access Ada.Stre...
10,882
ada
0
fionahiklas/ada_unit_test_examples
test/alarm_tests.ads
<gh_stars>0 with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; package Alarm_Tests is type Alarm_Test is new AUnit.Test_Cases with null Record; end Alarm_Tests;
10,883
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/gpio/main.adb
<reponame>ekoeppen/STM32_Generic_Ada_Drivers with STM32GD.Board; use STM32GD.Board; with HAL; procedure Main is package Button_IRQ is new HAL.Pin_IRQ (Pin => BUTTON); begin Init; LED.Set; Text_IO.Put_Line ("Hello, World!"); STM32GD.Clear_Event; Button_IRQ.Configure_Trigger (Rising => True); loop...
10,884
ada
2
thindil/tashy2
tests/tk-labelframe-label_frame_create_options_test_data.ads
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Tk.Labelframe.Label_Frame_Options_Test...
10,885
ada
30
jscparker/math_packages
polynomial/clenshaw/chebychev_quadrature.ads
-- -- PACKAGE Chebychev_Quadrature -- -- The package provides tables and procedures for Gaussian quadrature -- based on Chebychev polynomials (Gaussian-Chebychev quadrature). -- The number of points used in the quadrature (callocation points) -- is the generic formal parameter: No_Of_Gauss_Points. -- -- Usually not the...
10,886
ada
1
LaudateCorpus1/RosettaCodeData
Task/Copy-a-string/Ada/copy-a-string-1.ada
Src : String := "Hello"; Dest : String := Src;
10,887
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto4.ads
with System.Storage_Elements; package Lto4 is package SSE renames System.Storage_Elements; type SS_Ptr is new SSE.Integer_Address; type Memory is array (SS_Ptr range <>) of SSE.Storage_Element; for Memory'Alignment use Standard'Maximum_Alignment; type Chunk_Id (First, Last : SS_Ptr) is record ...
10,888
ada
1
LaudateCorpus1/RosettaCodeData
Task/Read-entire-file/Ada/read-entire-file-2.ada
with Ada.Text_IO, POSIX.IO, POSIX.Memory_Mapping, System.Storage_Elements; procedure Read_Entire_File is use POSIX, POSIX.IO, POSIX.Memory_Mapping; use System.Storage_Elements; Text_File : File_Descriptor; Text_Size : System.Storage_Elements.Storage_Offset; Text_Address : System.A...
10,889
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_check_gstconsistencychecker_h.ads
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_check_gstconsistencychecker_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h; with System; package GStreamer.GST_Low_Level.gstreame...
10,890
ada
4
faelys/gela-asis
source/asis/asis-gela-overloads-attr.adb
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
10,891
ada
0
optikos/oasis
source/nodes/program-nodes-quantified_expressions.ads
<filename>source/nodes/program-nodes-quantified_expressions.ads<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Loop_Parameter_Specific...
10,892
ada
0
skill-lang/adaCommon
src/skill-internal-file_writers.ads
<filename>src/skill-internal-file_writers.ads<gh_stars>0 -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ file writer implementation -- -- |___/_|\_\_|_|___...
10,893
ada
6
gerr135/ada_gems
mixins/src/oop_mixin.ads
with base_iface; use base_iface; package oop_mixin is type Derived is limited new The_Interface with null record; overriding procedure simple (Self : Derived); overriding procedure compound (Self : Derived); overriding procedure redispatching(Self : Derived); end oop_mixin;
10,894
ada
80
thindil/steamsky
src/ships-repairs.ads
<filename>src/ships-repairs.ads<gh_stars>10-100 -- Copyright 2017-2021 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky 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 versi...
10,895
ada
1
Lyaaaaaaaaaaaaaaa/Lyaaaaa-s-Log-Filters
src/log_filter_main.adb
<filename>src/log_filter_main.adb ---------------------------------------------------------- -- Copyright (c), The MIT License (MIT) -- Author: Lyaaaaaaaaaaaaaaa -- -- Revision History: -- 18/09/2019 Lyaaaaaaaaaaaaaaa -- - Added file header ---------------------------------------------------------- with Log_Filte...
10,896
ada
14
Fabien-Chouteau/usb_embedded
tests/src/tests.ads
with AUnit.Test_Suites; with AUnit.Test_Fixtures; with AUnit.Test_Caller; package Tests is function Get_Suite return AUnit.Test_Suites.Access_Test_Suite; private type Null_Fixture is new AUnit.Test_Fixtures.Test_Fixture with null record; package Null_Caller is new AUnit.Test_Caller (Null_Fixture); Sui...
10,897
ada
33
ytomino/drake
source/textio/a-ztedit.ads
<filename>source/textio/a-ztedit.ads<gh_stars>10-100 pragma License (Unrestricted); with Ada.Text_IO.Editing; package Ada.Wide_Wide_Text_IO.Editing is -- modified -- type Picture is private; subtype Picture is Text_IO.Editing.Picture; function Valid ( Pic_String : String; Blank_When_Zero : Bool...
10,898
ada
192
rocher/Ada_Drivers_Library
middleware/src/command_line/command_line-filesystem.adb
<reponame>rocher/Ada_Drivers_Library<filename>middleware/src/command_line/command_line-filesystem.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore ...
10,899
ada
0
leomlr/sudoku_ada-jewl
src/JEWL/jewl.ads
<filename>src/JEWL/jewl.ads ------------------------------------------------------------------------------ -- -- -- <NAME> -- -- ...