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
3,400
ada
1
io7m/coreland-openal-ada
openal-listener.ads
with OpenAL.Types; package OpenAL.Listener is -- -- API -- -- -- Position -- -- proc_map : alListener3f procedure Set_Position_Float (X : in Types.Float_t; Y : in Types.Float_t; Z : in Types.Float_t); -- proc_map : alListener3i procedure Set_Position_Discrete (X : in Types.Int...
3,401
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-pane.ads
<gh_stars>100-1000 with agar.gui.widget.box; package agar.gui.widget.pane is use type c.unsigned; type type_t is (PANE_HORIZ, PANE_VERT); for type_t use (PANE_HORIZ => 0, PANE_VERT => 1); for type_t'size use c.unsigned'size; pragma convention (c, type_t); type pane_t is limited private; type pane_ac...
3,402
ada
81
twdroeger/ada-awa
awa/plugins/awa-tags/src/awa-tags-components.ads
<filename>awa/plugins/awa-tags/src/awa-tags-components.ads ----------------------------------------------------------------------- -- awa-tags-components -- Tags component -- Copyright (C) 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
3,403
ada
3
charlie5/aIDE
attic/asis/find_all/adam-assist-query-find_all-unit_processing.ads
<filename>attic/asis/find_all/adam-assist-query-find_all-unit_processing.ads with Asis; package AdaM.Assist.Query.find_All.unit_Processing is procedure Process_Unit (The_Unit : in Asis.Compilation_Unit); end AdaM.Assist.Query.find_All.unit_Processing;
3,404
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/layout.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
3,405
ada
4
faelys/gela-asis
source/asis/spec/annex_d/ada-real_time-timing_events.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 -- -- ...
3,406
ada
0
mendoza/mini-ada95
Programas Ada95/funcionesAnidadasError.ada
<reponame>mendoza/mini-ada95 ------ FUNCIONES ANIDADAS - ERROR procedure Hello is a: Integer; -- Deberia tirar error por las declaraciones b; Float ; c, Boolean; -- Deberia tirar error por falta de return function uno(a,b:Integer) Integer is function dos(a,b:in Integer) return Integer ...
3,407
ada
5
onox/wayland-ada
wayland_egl_ada/src/wayland-egl.ads
<reponame>onox/wayland-ada -- 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...
3,408
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/svd/FE310/fe310_svd-spi.ads
<reponame>rocher/Ada_Drivers_Library<filename>arch/RISC-V/SiFive/svd/FE310/fe310_svd-spi.ads -- This spec has been automatically generated from FE310.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package FE310_SVD.SPI is pragma Preelaborate; ...
3,409
ada
0
Asier98/AdaCar
src/adacar-motores.adb
<filename>src/adacar-motores.adb with AdaCar.Parametros; use AdaCar.Parametros; with AdaCar.Entrada_Salida; with AdaCar.Alarmas; package body AdaCar.Motores is type Canal_Encendido is mod 4; -- 0 => Canal_A -- 1 => Canal_B -- 2 => Canal_C -- 3 => Canal_D ---------------- -- Motores_PO -- ---...
3,410
ada
20
charlie5/lace
3-mid/impact/source/3d/math/impact-d3-min_max.ads
package impact.d3.min_max -- -- -- is use Math; function btClamped (a : in Real; lower_Bound, upper_Bound : in Real) return Real; procedure btSetMin (a : in out Real; b : in Real); procedure btSetMax (a : in out Real; b : in Real); procedure btClamp (a : in out Real; lower_Bound, upper_Bound...
3,411
ada
1
LaudateCorpus1/RosettaCodeData
Task/Cholesky-decomposition/Ada/cholesky-decomposition-1.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with Ada.Numerics.Generic_Real_Arrays; generic with package Matrix is new Ada.Numerics.Generic_Real_Arrays (<>); package Decomposition is -- decompose a square matrix A by A = L * Transpose (L) procedure Decompose (A : Matrix.Real_Matrix; L : out Matrix.R...
3,412
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/gnatbind.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
3,413
ada
0
thomas070605/shoot-n-loot
src/player.adb
-- Shoot'n'loot -- Copyright (c) 2020 <NAME> with HAL; use HAL; with GESTE; with GESTE.Tile_Bank; with GESTE.Sprite.Animated; with GESTE_Config; with GESTE.Maths_Types; use GESTE.Maths_Types; with GESTE.Physics; with Game_Assets; with Game_Assets.Tileset; with Game_Assets.Misc_Objects; with PyGamer.Screen; with ...
3,414
ada
24
svn2github/matreshka
source/web/servlet/servlet-context_listeners.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
3,415
ada
33
ytomino/drake
source/s-unstal.ads
pragma License (Unrestricted); -- implementation unit with System.Storage_Elements; package System.Unbounded_Stack_Allocators is pragma Preelaborate; subtype Allocator_Type is Address; -- instead of Block_Access, for Runtime_Context and Secondary_Stack procedure Allocate ( Allocator : aliased i...
3,416
ada
12
TUM-EI-RCS/StratoX
runtime/ravenscar-sfp-stm32f427/gnarl-common/s-bcprmu.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
3,417
ada
5
mgrojo/qt5ada
src/unbounded_sequential_stacks.ads
<reponame>mgrojo/qt5ada<filename>src/unbounded_sequential_stacks.ads<gh_stars>1-10 -- -- This library is free software; you can redistribute it and/or modify -- it under the terms of the GNU Library General Public License as -- published by the Free Software Foundation; either version 3 of the -- License; or (a...
3,418
ada
1
LaudateCorpus1/RosettaCodeData
Task/Zebra-puzzle/Ada/zebra-puzzle.ada
with Ada.Text_IO; use Ada.Text_IO; procedure Zebra is type Content is (Beer, Coffee, Milk, Tea, Water, Danish, English, German, Norwegian, Swedish, Blue, Green, Red, White, Yellow, Blend, BlueMaster, Dunhill, PallMall, Prince, Bird, Cat, Dog, Horse, Zebra); type Test is (Drink, Person, Col...
3,419
ada
0
persan/advent-of-code-2020
src/day-5/adventofcode-day_5-main.adb
with Ada.Exceptions; with Ada.Text_IO; use Ada.Text_IO; with Ada.Assertions; with Adventofcode.File_Line_Readers; procedure Adventofcode.Day_5.Main is procedure Test (Pattern : String; Expected : Seat_Id_Type) is Actual : constant Seat_Id_Type := Get_Seat_Id (From => Pattern); begin Ada.Assertions.Ass...
3,420
ada
0
skill-lang/adaCommon
src/skill-field_declarations.ads
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ field handling in skill -- -- |___/_|\_\_|_|____| by: <NAME> -- -...
3,421
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstindexfactory_h.ads
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstindexfactory_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpluginfeature_h; with glib; limited wit...
3,422
ada
6
tsoding/ada-probe
src/aids-env.adb
<reponame>tsoding/ada-probe with Ada.Text_IO; use Ada.Text_IO; package body Aids.Env is function Index_Of(Line: in String; X: in Character; Result: out Integer) return Boolean is begin for Index in Line'Range loop if Line(Index) = X then Result := Index; retu...
3,423
ada
80
thindil/steamsky
tests/maps-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 Maps.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Maps.Test_Data .Test with null reco...
3,424
ada
20
charlie5/lace
3-mid/impact/source/3d/dynamics/joints/impact-d3-joint-hinge.adb
with impact.d3.Quaternions; with impact.d3.Vector; use impact.d3.Vector; with ada.unchecked_Conversion; with interfaces.C; with impact.d3.Containers; with impact.d3.Transform; package body impact.d3.Joint.hinge is use Interfaces; HINGE_USE_OBSOLETE_SOLVER : constant Boolean := False; HINGE_USE_FRAME_OFFSE...
3,425
ada
24
svn2github/matreshka
source/sql/matreshka-internals-sql_parameter_rewriters.adb
<filename>source/sql/matreshka-internals-sql_parameter_rewriters.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
3,426
ada
0
Letractively/ada-gen
src/model/gen-database-model.ads
<reponame>Letractively/ada-gen<gh_stars>0 ----------------------------------------------------------------------- -- Gen.Database.Model -- Gen.Database.Model ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-sp...
3,427
ada
1
danva994/ASFML-1.6
include/sf-graphics-rect.ads
<filename>include/sf-graphics-rect.ads -- //////////////////////////////////////////////////////////// -- // -- // 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 a...
3,428
ada
7,053
Elon143/Amass
resources/scripts/api/passivetotal.ads
-- Copyright 2020-2021 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "PassiveTotal" type = "api" function start() set_rate_limit(5) end function check() local c local cfg = datasrc_config...
3,429
ada
9
stcarrez/ada-search
regtests/search-tokenizers-tests.ads
----------------------------------------------------------------------- -- search-tokenizers-tests -- Tests for tokenizers -- 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 Lic...
3,430
ada
1
LaudateCorpus1/RosettaCodeData
Task/Loops-Foreach/Ada/loops-foreach-2.ada
for Item of A loop Put( Item ); end loop;
3,431
ada
60
RREE/ada-util
src/base/dates/util-dates.ads
----------------------------------------------------------------------- -- util-dates -- Date utilities -- Copyright (C) 2011, 2013, 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 compliance with the Lice...
3,432
ada
0
reznikmm/slimp
source/slim-menu_views.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Unchecked_Deallocation; with League.Strings; with Slim.Menu_Commands; with Slim.Players.Displays; package body Slim.Menu_Views is -----...
3,433
ada
2
omarafify1990/Amass
resources/scripts/scrape/rapiddns.ads
-- Copyright 2017 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "RapidDNS" type = "scrape" function start() setratelimit(5) end function vertical(ctx, domain) scrape(ctx, {url=buildurl(domain)}) end function buildurl(dom...
3,434
ada
0
pat-rogers/OpenUxAS
src/ada/src/afrl-impact-impactpointsearchtask-spark_boundary.adb
package body afrl.impact.ImpactPointSearchTask.SPARK_Boundary with SPARK_Mode => Off is function Get_SearchLocationID (X : ImpactPointSearchTask) return Int64 renames getSearchLocationID; end afrl.impact.ImpactPointSearchTask.SPARK_Boundary;
3,435
ada
0
optikos/oasis
tools/generator/meta-read.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with Ada.Containers.Vectors; with Meta.Classes; package Meta.Read is package Class_Vectors is new Ada.Containers.Vectors ...
3,436
ada
0
reznikmm/gela
source/oasis/program-elements.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- limited with Program.Elements.Pragmas; limited with Program.Elements.Defining_Names; limited with Program.Elements.Defining_Identifiers; limited with Program.E...
3,437
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-template_parser.adb
<filename>ada_gui-gnoga-server-template_parser.adb -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
3,438
ada
1
MatrixMike/AdaDemo1
demo1/xercise.adb
with Ada.Text_IO; use Ada.Text_IO; --with xample1; --use xample1; package body xample1 is procedure xercise is begin xample.SayWelcome(1); end xercise; end xample1;
3,439
ada
0
BeterMixMaster/ADABlackjack
tools.ads
<reponame>BeterMixMaster/ADABlackjack<filename>tools.ads<gh_stars>0 with ada.text_io; use ada.text_io; with ada.integer_text_io; with Ada.Unchecked_Deallocation; with ada.unchecked_conversion; --use ada.unchecked_conversion; package tools is type deck is private; type card is private; type cardPTR is private;--...
3,440
ada
7
98devin/ada-gba-dev
src/GBA.Interrupts.ads
<gh_stars>1-10 -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. package GBA.Interrupts is type Interrupt_ID is ( VBlank , HBlank , VCounter_Match , Timer_0_Overflow , Timer_1_Overflow , Timer_2_Overflow , Timer_3_Overflow , Serial_Communication , DMA_0 ...
3,441
ada
25
thierr26/ada-keystore
tools/akt-commands-list.ads
----------------------------------------------------------------------- -- akt-commands-list -- List content of keystore -- Copyright (C) 2019 <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 Licen...
3,442
ada
20
Roldak/OpenGLAda
deps/gid/gid-decoding_bmp.ads
<reponame>Roldak/OpenGLAda private package GID.Decoding_BMP is -------------------- -- Image decoding -- -------------------- generic type Primary_color_range is mod <>; with procedure Set_X_Y (x, y: Natural); with procedure Put_Pixel ( red, green, blue : Primary_color_range; ...
3,443
ada
0
reznikmm/markdown
sources/md/markdown-inline_parsers.adb
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Containers.Generic_Anonymous_Array_Sort; with Ada.Iterator_Interfaces; with League.Characters; with League.Regexps; with Markdown.Common_Patterns; with Markd...
3,444
ada
1
Vovanium/stm32-ada
source/stm32-f4-gpio-ports.adb
with Interfaces; use Interfaces; package body STM32.F4.GPIO.Ports is package body GPIO_Port_Boolean is procedure Set(Value: Boolean) is begin Register.BSRR := ( BR => 2**Bit, BS => 2**Bit * Boolean'Pos(Value) ); end; function Value return Boolean is begin return (Register.IDR and 2**Bit)...
3,445
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-imgwch.adb
<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-imgwch.adb<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- --...
3,446
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtspmessage_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h; with glib; with glib.Values; with System; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; -- limited with GStreamer.GST_Low_Level.glib_2...
3,447
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/86numaux.adb
<filename>tools-src/gnu/gcc/gcc/ada/86numaux.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
3,448
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c67002c.ada
-- C67002C.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...
3,449
ada
32
robdaemon/AdaYaml
src/interface/yaml-dom-dumping.ads
<filename>src/interface/yaml-dom-dumping.ads -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Yaml.Dom.Vectors; with Yaml.Events.Queue; with Yaml.Destination; package Yaml.Dom.Dumping is function To_Event_Queue (Document : Document_Reference) ...
3,450
ada
3
Fabien-Chouteau/AGATE
src/agate-syscalls.ads
<reponame>Fabien-Chouteau/AGATE ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, <NAME> -- -- ...
3,451
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-gloloc.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
3,452
ada
1
irion7/aflex-ayacc-mirror
aflex/src/alsys_dos/skelb.ada
<reponame>irion7/aflex-ayacc-mirror<gh_stars>1-10 -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by <NAME> of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted --...
3,453
ada
0
persan/AUnit-addons
src/reporters/aunit-reporter-stream_xml.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
3,454
ada
1
LaudateCorpus1/RosettaCodeData
Task/Compile-time-calculation/Ada/compile-time-calculation-4.ada
Ada.Text_IO.Put_Line -- would not compile ("Factorial(20) =" & Integer'Image(A_11_15 * A_16_20 * F_10));
3,455
ada
0
JeremyGrosser/the_grid
src/game.ads
-- -- Copyright (C) 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- with Graphics; with Bitmaps; package Game is procedure Initialize; procedure HBlank (Y : Graphics.Row); procedure VBlank (N : Graphics.Frame_Number); private type Screen_Coordinate is record Y : Graphics.Ro...
3,456
ada
33
ytomino/drake
source/directories/machine-apple-darwin/a-hifina.adb
with Ada.Exception_Identification.From_Here; package body Ada.Hierarchical_File_Names is use Exception_Identification.From_Here; function Parent_Directory_Name ( Level : Positive) return String; function Parent_Directory_Name ( Level : Positive) return String is begin return R...
3,457
ada
0
GLADORG/glad-cli
src/init_project.adb
with Ada.Text_IO; with Ada.Directories; with Ada.Command_Line; with Templates_Parser; with CLIC.TTY; with Filesystem; with Commands; with Blueprint; use Blueprint; package body Init_Project is package IO renames Ada.Text_IO; package TT renames CLIC.TTY; use Ada.Directories; Errors : Boolean := false; Filt...
3,458
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbufferlist_h.ads
<reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbufferlist_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_gstbuffer_h; with glib; with glib.Values; with System; w...
3,459
ada
0
shintakezou/adaplayground
src/convtest/measure_units.ads
with Converters; -- @summary -- Units used in aviation, operations among them and conversion -- factors. -- -- @description -- Measure_Units provides all you can need to play with -- units used in aviation, except that this is a lie because -- this is a test, so you won't find anything really useful -- here. ...
3,460
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_photography_enumtypes_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_photography_enumtypes_h is -- unsupported macro: GST_TYPE_PHOTOGRAPHY_NOISE_REDUCTION (gst_photography_noise_reduction_get_type()) --...
3,461
ada
20
charlie5/lace
2-low/neural/source/private/neural-privvy.adb
<reponame>charlie5/lace<filename>2-low/neural/source/private/neural-privvy.adb<gh_stars>10-100 package body Neural.Privvy is procedure dummy is begin null; end dummy; -- placeholder for future subprograms. end Neural.Privvy;
3,462
ada
1
charlie5/lace-alire
3-mid/opengl/source/opengl-conversions.ads
package openGL.Conversions is function to_Vector_4 (From : in rgba_Color) return Vector_4; function to_Vector_4 (From : in lucid_Color) return Vector_4; function to_Vector_3 (From : in rgb_Color) return Vector_3; function to_Vector_3 (From : in Color) return Vector_3; end openGL.Conversions;
3,463
ada
1
persan/A-gst
tests/src/gstreamer-rtsp-url-tests.ads
with AUnit.Test_Cases; package GStreamer.Rtsp.url.Tests is use AUnit; type Test_Case is new AUnit.Test_Cases.Test_Case with null record; function Name (Test : Test_Case) return Message_String; procedure Register_Tests (Test : in out Test_Case); end GStreamer.Rtsp.url.Tests;
3,464
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5006a.ada
<gh_stars>1-10 -- CA5006A.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....
3,465
ada
0
rtoal/enhanced-dining-philosophers
ada/meals.ads
<reponame>rtoal/enhanced-dining-philosophers ------------------------------------------------------------------------------ -- meals.ads -- -- A package containing the public data type Meal. A meal consists of an en- -- tree, an optional soup, and an optional dessert. Three meal operations are -- provided: -- ...
3,466
ada
13
annexi-strayline/AURA
registrar-protected_set.ads
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
3,467
ada
0
strenkml/EE368
memsim-master/src/test-cache.ads
package Test.Cache is procedure Run_Tests; end Test.Cache;
3,468
ada
0
Louis-Aime/Milesian_calendar_Ada
Cycle_computations.adb
-- Package body Cycle_computations ---------------------------------------------------------------------------- -- Copyright Miletus 2015 -- 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 wi...
3,469
ada
33
ytomino/drake
source/streams/a-nateio.ads
pragma License (Unrestricted); -- implementation unit with Ada.IO_Exceptions; with Ada.IO_Modes; with Ada.Streams.Naked_Stream_IO.Standard_Files; with System.Native_IO; with System.Native_Text_IO; package Ada.Naked_Text_IO is -- the parameter Form Default_Form : constant System.Native_Text_IO.Packed_Form := (...
3,470
ada
0
gerr135/gnat_bugs
gi_01/src/wa1.ads
with Ada.Containers.Vectors; package wa1 is type Repr(<>) is private; type Abstract_Base is interface; function ToRepr(AB : Abstract_Base) return Repr is abstract; procedure FromRepr(AB : in out Abstract_Base; rp : Repr) is abstract; procedure Set_Smth (AB : in out Abstract_Base'Class; smth : ...
3,471
ada
20
charlie5/lace
4-high/gel/applet/demo/sprite/drop_box_on_box/launch_drop_box_on_box.adb
<filename>4-high/gel/applet/demo/sprite/drop_box_on_box/launch_drop_box_on_box.adb with gel.Forge, gel.Window.lumen, gel.Applet.gui_world, gel.Camera, gel.Sprite, physics.Model, openGL.Model.box.colored, openGL.Palette, ada.Text_IO, ada.Exceptions; pragma unreference...
3,472
ada
3
charlie5/aIDE
attic/asis/find_entities/adam-assist-query-find_entities-metrics.adb
package body AdaM.Assist.Query.find_Entities.Metrics is procedure dummy is begin null; end dummy; end AdaM.Assist.Query.find_Entities.Metrics;
3,473
ada
1,511
s4-2/scancode-toolkit
tests/cluecode/data/ics/zlib-contrib-ada/buffer_demo.adb
<filename>tests/cluecode/data/ics/zlib-contrib-ada/buffer_demo.adb<gh_stars>1000+ ---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2004 <NAME> ...
3,474
ada
7
98devin/ada-gba-dev
src/GBA.Allocation.adb
<filename>src/GBA.Allocation.adb<gh_stars>1-10 -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. package body GBA.Allocation is package body Stack_Arena is begin Init_Arena (Storage); end Stack_Arena; end GBA.Allocation;
3,475
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/pack7.ads
-- { dg-do compile } package Pack7 is type R (D : Natural) is record S : String (1 .. D); N : Natural; B : Boolean; end record; for R'Alignment use 4; pragma Pack (R); end Pack7;
3,476
ada
33
ytomino/drake
source/containers/a-cconwr.adb
<filename>source/containers/a-cconwr.adb<gh_stars>10-100 pragma Check_Policy (Trace => Ignore); with System.Shared_Locking; package body Ada.Containers.Copy_On_Write is procedure Follow ( Target : not null Container_Access; Data : not null Data_Access); procedure Follow ( Target : not null Cont...
3,477
ada
24
svn2github/matreshka
tools/aflex/src/scanner-dfa.adb
<filename>tools/aflex/src/scanner-dfa.adb package body scanner.DFA is function YYText return Wide_Wide_String is Aux : constant Wide_Wide_String (1 .. YY_CP - YY_BP) := Wide_Wide_String (YY_Ch_Buf.Data (YY_BP .. YY_CP - 1)); begin return Aux; end YYText; -- returns the length of the ...
3,478
ada
1
alvaromb/Compilemon
lib/aflexnat/dfa.adb
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by <NAME> of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and this...
3,479
ada
0
AntonMeep/system_random
src/unix/system_random.adb
<filename>src/unix/system_random.adb<gh_stars>0 pragma Ada_2012; package body System_Random is -- Underlying libc function function getentropy (buffer : out Element_Array; length : size_t) return int with Import => True, Convention => C, External_Name => "getentropy"; proced...
3,480
ada
0
icefoxen/lang
ada/hello.adb
<reponame>icefoxen/lang<filename>ada/hello.adb -- hello.adb -- Ada program. Yay! -- -- <NAME> -- 19/07/2004 with Text_Io; use Text_Io; procedure Hello is begin Put_Line( "Hello world!" ); end Hello;
3,481
ada
32
robdaemon/AdaYaml
src/annotation_processor/implementation/yaml-transformator-annotation-identity.ads
<filename>src/annotation_processor/implementation/yaml-transformator-annotation-identity.ads -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package Yaml.Transformator.Annotation.Identity is type Instance is limited new Transformator.Instance with pri...
3,482
ada
4
davidkristola/vole
kv-avm-brokers.ads
with Ada.Containers.Indefinite_Ordered_Maps; with kv.avm.Capabilities; with kv.avm.Control; with kv.avm.Registers; with kv.avm.Actor_References; package kv.avm.Brokers is type Broker_Type is new kv.avm.Capabilities.Capability_Interface with private; overriding procedure Execute (Self : in out Broker_...
3,483
ada
0
ytomino/iconv-ada
source/iconv-streams.ads
<reponame>ytomino/iconv-ada with Ada.Streams; package iconv.Streams is pragma Preelaborate; -- only reading type In_Type is limited private; -- subtype Open_In_Type is In_Type -- with -- Dynamic_Predicate => Is_Open (Open_In_Type), -- Predicate_Failure => raise Status_Error; -- management function Ope...
3,484
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-group.ads
<reponame>Fabien-Chouteau/ada-lvlg with Lv.Objx; private with System; package Lv.Group is type Instance is private; function Create return Instance; procedure Del (Group : Instance); procedure Add_Obj (Group : Instance; Obj : Lv.Objx.Obj_T); procedure Remove_Obj (Obj : Lv.Objx.Obj_T); procedur...
3,485
ada
24
svn2github/matreshka
source/web/tools/a2js/engines-registry_all_actions.adb
<filename>source/web/tools/a2js/engines-registry_all_actions.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
3,486
ada
0
dpr1005/Tiempo-Real-Ejercicios
Practica 03/P03_Ejercicio1/src/ejercicio1.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Ejercicio1 is task Tarea1; task Tarea2; task Tarea3; task body Tarea1 is begin for I in 1..10 loop Put_Line("Soy T1"); --delay 1.0; end loop; end Tarea1; task body Tarea2 is begin for I in 1..15 loop ...
3,487
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/a-reatim.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
3,488
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sorting-algorithms-Gnome-sort/Ada/sorting-algorithms-gnome-sort-1.ada
generic type Element_Type is private; type Index is (<>); type Collection is array(Index) of Element_Type; with function "<=" (Left, Right : Element_Type) return Boolean is <>; procedure Gnome_Sort(Item : in out Collection);
3,489
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_000b.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
3,490
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_37.ads
<reponame>Tim-Tom/project-euler<gh_stars>0 package Problem_37 is procedure Solve; end Problem_37;
3,491
ada
24
svn2github/matreshka
source/amf/uml/amf-uml.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
3,492
ada
1
LaudateCorpus1/RosettaCodeData
Task/Rendezvous/Ada/rendezvous-1.ada
<reponame>LaudateCorpus1/RosettaCodeData select Server.Wake_Up (Parameters); or delay 5.0; -- No response, try something else ... end select;
3,493
ada
0
My-Colaborations/ada-asf
src/asf-components-html.ads
<gh_stars>0 ----------------------------------------------------------------------- -- html -- ASF HTML Components -- Copyright (C) 2009, 2010, 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...
3,494
ada
81
twdroeger/ada-awa
awa/plugins/awa-images/src/awa-images-beans.adb
----------------------------------------------------------------------- -- awa-images-beans -- Image Ada Beans -- Copyright (C) 2016, 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 compliance with the Lic...
3,495
ada
3
rogermc2/GA_Ada
example_1.1/src/points.ads
<filename>example_1.1/src/points.ads with GL.Types; use GL.Types; with C3GA; with E3GA; with Multivectors; package Points is use Multivectors; use C3GA; type Normalized_Points_Array is array (int range <>) of Normalized_Point; Num_Points : constant Int := 6; Point_Data : constant Vector_E3_Array (1 ...
3,496
ada
0
My-Colaborations/ada-ado
src/sqlite/ado-sqlite.adb
<reponame>My-Colaborations/ada-ado ----------------------------------------------------------------------- -- ado-sqlite -- SQLite Database Drivers -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
3,497
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/4zsytaco.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
3,498
ada
4
ddugovic/words
put_stat.adb
<reponame>ddugovic/words with TEXT_IO; with DEVELOPER_PARAMETERS; use DEVELOPER_PARAMETERS; procedure PUT_STAT(S : STRING) is begin if TEXT_IO.IS_OPEN(STATS) then TEXT_IO.PUT_LINE(STATS, S); end if; end PUT_STAT;
3,499
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/a-swunau.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...