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
30,300
ada
0
sebsgit/textproc
src/imageio.ads
<filename>src/imageio.ads with PixelArray; with StbiWrapper; package ImageIO is pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); function load(filename: String) return PixelArray.ImagePlane; function save(filename: String;...
30,301
ada
0
thomas070605/shoot-n-loot
src/menus.adb
-- Shoot'n'loot -- Copyright (c) 2020 <NAME> with HAL; use HAL; with GESTE; with GESTE.Tile_Bank; with GESTE.Grid; with GESTE.Sprite; with GESTE_Config; use GESTE_Config; with Render; with Game; with Sound; with PyGamer.Time; with PyGamer.Controls; use PyGamer; with Game_Assets.title_screen; with Game_Assets.Ti...
30,302
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/models/terrain-vbo.adb
<gh_stars>1-10 pragma Warnings (Off); pragma Style_Checks (Off); with GL, GL.Textures, GL.Skins; use GL, GL.Textures; with GL.Buffer.vertex, GL.Buffer.indices, GL.Buffer.texture_coords; with GL.Geometry.VBO; with GL.skinned_Geometry; with GL.IO; with GL...
30,303
ada
15
My-Colaborations/dynamo
src/asis/asis-clauses.adb
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
30,304
ada
0
Letractively/ada-asf
src/asf-security.ads
<reponame>Letractively/ada-asf ----------------------------------------------------------------------- -- asf-security -- ASF Security -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance ...
30,305
ada
13
annexi-strayline/AURA
specification_scanner.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
30,306
ada
15
My-Colaborations/dynamo
src/gen-commands-page.adb
----------------------------------------------------------------------- -- gen-commands-page -- Page creation command for dynamo -- Copyright (C) 2011, 2012, 2013, 2014, 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
30,307
ada
18
jquorning/ada-wiki
src/wiki-render-links.adb
----------------------------------------------------------------------- -- wiki-render-links -- Wiki links renderering -- Copyright (C) 2015, 2016 <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 L...
30,308
ada
33
ytomino/drake
source/streams/a-direio.adb
with Ada.Exception_Identification.From_Here; with Ada.Streams.Naked_Stream_IO; with Ada.Streams.Stream_IO.Naked; package body Ada.Direct_IO is use Exception_Identification.From_Here; use type Streams.Stream_Element_Offset; procedure Create ( File : in out File_Type; Mode : File_Mode := Inout_File;...
30,309
ada
1
Jellix/open_weather_map_api
src/open_weather_map-api-service-location.ads
<reponame>Jellix/open_weather_map_api -------------------------------------------------------------------------------- -- 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, ...
30,310
ada
2
thindil/tashy2
tests/tk-image-photo-test_data-tests.adb
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
30,311
ada
2
kevin-chalmers/cpa-lang-shootout
src/ada/commstime.adb
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Text_IO.Text_Streams; use Ada.Text_IO.Text_Streams; with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO; with Ada.Real_Time; use Ada.Real_Time; procedure CommsTime is -- Parameters for the experimenta...
30,312
ada
9
SALLYPEMDAS/DW1000
src/dw1000-types.ads
<filename>src/dw1000-types.ads ------------------------------------------------------------------------------- -- 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 So...
30,313
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_boolean.adb
<reponame>best08618/asylo<gh_stars>1-10 -- { dg-do run } -- { dg-options "-gnatVaM" } procedure Loop_Boolean is type R is record B : Boolean; end record; procedure proc (X : R) is B : Boolean; begin B := X.B; end; begin for I in reverse Boolean loop Proc ((B => I)); end loop; end;
30,314
ada
13
Fabien-Chouteau/GESTE
tests/src/sprites.adb
<filename>tests/src/sprites.adb with GESTE; with GESTE.Sprite; with GESTE.Tile_Bank; with Ada.Text_IO; with Console_Char_Screen; procedure Sprites is use type GESTE.Pix_Point; package Console_Screen is new Console_Char_Screen (Width => 16, Height => 16, Buffer_Size => 256, Ini...
30,315
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/deferred_const3.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/deferred_const3.adb -- { dg-do run } with System; use System; with Deferred_Const3_Pkg; use Deferred_Const3_Pkg; procedure Deferred_Const3 is begin if C1'Address /= C'Address then raise Program_Error; end if; if C2'Address /= C'Address then raise Pr...
30,316
ada
3
mosteo/uri-ada
src/uri.ads
<filename>src/uri.ads package URI with Preelaborate is -- Helper functions to identify URLs and their components. -- -- See https://tools.ietf.org/html/rfc3986 for full details. -- -- http://user:pass@www.here.com:80/dir1/dir2/xyz.html?p=8&x=doh#anchor -- | | | | ...
30,317
ada
0
stcarrez/hyperion
src/hyperion-agents-modules.ads
----------------------------------------------------------------------- -- hyperion-agents-modules -- Module agents -- Copyright (C) 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -...
30,318
ada
11
reznikmm/ada_lsp
source/server/ada_lsp-driver.adb
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with LSP.Servers; with LSP.Stdio_Streams; with Ada_LSP.Contexts; with Ada_LSP.Handlers; procedure Ada_LSP.Driver is Server : aliased LSP.Servers...
30,319
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/models/terrain-vbo.ads
pragma Warnings (Off); pragma Style_Checks (Off); with GLOBE_3D.tri_Mesh; with GLOBE_3D.Sprite; with GL.Textures; with ada.unchecked_Deallocation; package Terrain.vbo is use Globe_3d; -- sprite (uses vertex buffer objects) -- procedure Create (Object : in out sprite.p_Sprite; ...
30,320
ada
0
bkold/RISC-CPU-Assembler
Source/compiler.adb
with Ada.Text_IO; with Assemble_Functions; with Ada.Directories; with GNAT.Command_Line; with Ada.Strings.Bounded; use GNAT.Command_Line; use Ada.Text_IO; --main function controls reading and writing --assemble package handles each line procedure Compiler is package SB is new Ada.Strings.Bounded.Generic_Bounded_Leng...
30,321
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr45.adb
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-O2 -gnatws" } procedure Discr45 is function Ident_Int (I : Integer) return Integer is begin return I; end; procedure Proc (Signal : Boolean) is subtype Index is Integer range 1..10; type My_Arr is array (Index range <>) OF Integer...
30,322
ada
3
wiremoons/apass
src/password_manager.ads
------------------------------------------------------------------------------- -- BUILD FILE : apass -- -- Description : A CLI password generator written in Ada. -- -- Author : <NAME> <<EMAIL>> -- -- License :...
30,323
ada
1
LaudateCorpus1/RosettaCodeData
Task/Levenshtein-distance/Ada/levenshtein-distance.ada
<filename>Task/Levenshtein-distance/Ada/levenshtein-distance.ada with Ada.Text_IO; procedure Main is function Levenshtein_Distance (S, T : String) return Natural is D : array (0 .. S'Length, 0 .. T'Length) of Natural; begin for I in D'Range (1) loop D (I, 0) := I; end loop; for I...
30,324
ada
0
reznikmm/webidl
source/lexer/webidl-scanners.ads
-- SPDX-FileCopyrightText: 2010-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with WebIDL.Abstract_Sources; with League.Strings; with WebIDL.Scanner_Handlers; with WebIDL.Tokens; with WebIDL.Scanner_Types; use WebIDL.Scanner_Types; package We...
30,325
ada
0
Vovanium/Encodings
source/encodings-line_endings.ads
<filename>source/encodings-line_endings.ads package Encodings.Line_Endings is pragma Pure; end Encodings.Line_Endings;
30,326
ada
3
charlie5/aIDE
source/adam-parameter.adb
<gh_stars>1-10 with AdaM.Factory; package body AdaM.Parameter is -- Storage Pool -- record_Version : constant := 1; max_Parameters : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "parameters", ...
30,327
ada
1
LaudateCorpus1/RosettaCodeData
Task/Multiplicative-order/Ada/multiplicative-order-3.ada
<filename>Task/Multiplicative-order/Ada/multiplicative-order-3.ada with Ada.Text_IO, Multiplicative_Order; procedure Main is package IIO is new Ada.Text_IO.Integer_IO(Integer); use Multiplicative_Order; begin IIO.Put(Find_Order(3,10)); IIO.Put(Find_Order(37,1000)); IIO.Put(Find_Order(37,10_000)); IIO...
30,328
ada
1
ytomino/vampire
source/vampire-r3-preview_page.adb
<reponame>ytomino/vampire -- The Village of Vampire by YT, このソースコードはNYSLです procedure Vampire.R3.Preview_Page ( Output : not null access Ada.Streams.Root_Stream_Type'Class; Form : in Forms.Root_Form_Type'Class; Template : in String; Image_Directory : in String; Village_Id : in Tabula.Villages.Village_Id; Village :...
30,329
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/monitor/tms570ls31x/hdk.adb
<filename>bb-runtimes/examples/monitor/tms570ls31x/hdk.adb ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...
30,330
ada
0
ray2501/ada-adapcre
tests/my_tests.ads
with Ahven.Framework; package My_Tests is type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); procedure PCRE_MATCH; procedure PCRE_MATCH2; end My_Tests;
30,331
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-2.1.1/wisitoken-bnf-output_elisp.adb
-- Abstract : -- -- Output Elisp code implementing the grammar defined by the parameters. -- -- Copyright (C) 2012 - 2015, 2017 - 2019 Free Software Foundation, Inc. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under terms of the GNU General Public License as -- publis...
30,332
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-timsta.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
30,333
ada
1
charlie5/lace-alire
1-base/lace/source/events/mixin/xgc/lace-make_observer-deferred.ads
with lace.Event; private with ada.Containers.indefinite_Vectors, ada.Containers.indefinite_hashed_Maps, ada.Strings.Hash; generic type T is abstract new lace.make_Observer.item with private; package lace.make_Observer.deferred -- -- Makes a user class T into a deferred event Observer. -- is ...
30,334
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-storages/src/awa-storages-stores-databases.ads
<reponame>fuzzysloth/ada-awa ----------------------------------------------------------------------- -- awa-storages-stores-databases -- Database store -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
30,335
ada
15
AdaCore/training_material
extern/game_support/stm32f4/src/driver.adb
<filename>extern/game_support/stm32f4/src/driver.adb ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...
30,336
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/spark/afrl-cmasi-automationresponse-spark_boundary.ads
with Common_Formal_Containers; use Common_Formal_Containers; package AFRL.CMASI.AutomationResponse.SPARK_Boundary with SPARK_Mode is pragma Annotate (GNATprove, Terminating, SPARK_Boundary); function Get_WaypointEntity_Set (Response : AutomationResponse) return Int64_Set with Global => null; end AFRL...
30,337
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.0.1/recover_stats.adb
-- Abstract : -- -- Summarize error recover log. -- -- Copyright (C) 2019 <NAME> All Rights Reserved. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3, or (at -- your op...
30,338
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/a-coorma.ads
<filename>tools/scitools/conf/understand/ada/ada05/a-coorma.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
30,339
ada
1
Fabien-Chouteau/sdlada
src/sdl-log.ads
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the...
30,340
ada
0
faelys/natools
src/natools-s_expressions-file_writers.adb
------------------------------------------------------------------------------ -- Copyright (c) 2014-2017, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
30,341
ada
0
ventaquil/PW-Ada
src/pw.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Numerics.Discrete_Random; use Ada.Numerics; package body PW is task body Semaphore is Count: Natural; begin accept Initialize (N : in Natural) do Count := N; end Initialize; ...
30,342
ada
0
JCGobbi/Nucleo-STM32H743ZI
SVD2ada/svd/stm32_svd-swpmi.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.SWPMI is pragma Preelaborate; --------------- -- Registers -- --------------- -- SWPMI Configuration/Control register ...
30,343
ada
0
pat-rogers/OpenUxAS
src/ada/src/afrl-cmasi-automationrequest-spark_boundary.ads
<gh_stars>0 with Common_Formal_Containers; use Common_Formal_Containers; package afrl.cmasi.AutomationRequest.SPARK_Boundary with SPARK_Mode is pragma Annotate (GNATprove, Terminating, SPARK_Boundary); function Get_EntityList (Request : AutomationRequest) return Int64_Vect with Global => null; func...
30,344
ada
18
jquorning/ada-wiki
src/wiki-render-links.ads
----------------------------------------------------------------------- -- wiki-render-links -- Wiki links renderering -- Copyright (C) 2015, 2016 <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 L...
30,345
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/s-tasinf.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,346
ada
33
ytomino/drake
source/s-ucf1t3.ads
<filename>source/s-ucf1t3.ads<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit package System.UTF_Conversions.From_16_To_32 is pragma Pure; pragma Suppress (All_Checks); -- for instantiation procedure Convert is new Convert_Procedure ( Wide_Character, Wide_String...
30,347
ada
0
reznikmm/gela
source/nodes/program-nodes-ordinary_fixed_point_types.ads
<reponame>reznikmm/gela<filename>source/nodes/program-nodes-ordinary_fixed_point_types.ads<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; wit...
30,348
ada
0
reznikmm/lace
source/core/lace-contexts.ads
<reponame>reznikmm/lace<gh_stars>0 -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Containers; with Lace.Generic_Engines; package Lace.Contexts is pragma Preelaborate; type Context; subtype Dummy_V...
30,349
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-internals-tables-cmof_reflection.adb
<reponame>svn2github/matreshka<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
30,350
ada
7
letsbyteit/build-avr-ada-toolchain
rts/gcc-9/adainclude/a-cgcaso.ads
<filename>rts/gcc-9/adainclude/a-cgcaso.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
30,351
ada
0
luk9400/nsi
list3/task3/c/src/main.adb
<gh_stars>0 with Ada.Text_IO; with Bubble; procedure Main is A : Bubble.Arr := (2, 1, 3, 7); begin Bubble.Sort(A); for I in A'Range loop Ada.Text_IO.Put_Line(A(I)'Image); end loop; end Main;
30,352
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/i-c.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,353
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack16.adb
<reponame>best08618/asylo<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-gnatws" } with Pack16_Pkg; use Pack16_Pkg; procedure Pack16 is type Sample_Table_T is array (1 .. N) of Integer; type Clock_T is record N_Ticks : Integer := 0; end record; type Sampling_Descriptor_T is record Va...
30,354
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f0/stm32gd-gpio.ads
<filename>stm32f0/stm32gd-gpio.ads with STM32_SVD.GPIO; with STM32_SVD; use STM32_SVD; package STM32GD.GPIO is pragma Preelaborate; type GPIO_Port is (Port_A, Port_B, Port_C, Port_D, Port_F); for GPIO_Port use (Port_A => 0, Port_B => 1, Port_C => 2, Port_D => 3, Port_F => 5); type GPIO_Pin is (Pin_...
30,355
ada
0
ytomino/gnat4drake
g-tasloc.ads
<filename>g-tasloc.ads pragma License (Unrestricted); private with System.Shared_Locking; -- implementation unit package GNAT.Task_Lock is pragma Preelaborate; procedure Lock; procedure Unlock; pragma Inline (Lock); -- renamed pragma Inline (Unlock); -- renamed private procedure Lock renames...
30,356
ada
6
mosteo/yeison
src/yeison_multi.ads
package Yeison_Multi with Preelaborate is type Any is tagged private; type Scalar is tagged private with Integer_Literal => To_Int, String_Literal => To_Str; function To_Int (Img : String) return Scalar; function To_Str (Img : Wide_Wide_String) return Scalar; type Map is tagged private with...
30,357
ada
0
ray2501/ada-adapcre
examples/email.adb
<reponame>ray2501/ada-adapcre<filename>examples/email.adb -- -- Checks if a string is a valid email address. -- -- Strings for test are located in file <email.txt> -- with Ada.Text_IO; use Ada.Text_IO; with AdaPcre; use AdaPcre; procedure Email is Email_File : File_Type; Email_Pattern : constant String := ...
30,358
ada
13
Fabien-Chouteau/GESTE
src/geste-sprite-rotated.adb
------------------------------------------------------------------------------ -- -- -- GESTE -- -- -- -- ...
30,359
ada
0
luk9400/nsi
list1/task3/src/main.adb
with Selection; with Ada.Text_IO; procedure Main is Arr: Selection.Arr (0 .. 3) := (5, 8, 6, 2); begin for I in Arr'Range loop Ada.Text_IO.Put_Line(Arr (I)'Image); end loop; Selection.Sort(Arr); Ada.Text_IO.Put_Line("Sorted:"); for I in Arr'Range loop Ada.Text_IO.Put_Line(Arr (I)'Image); end l...
30,360
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/osint.ads
<reponame>vidkidz/crossbridge<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,361
ada
1
Fabien-Chouteau/samd51-hal
src/drivers/oscctrl_u2401/sam_svd-oscctrl.ads
-- ============================================================================ -- Atmel Microcontroller Software Support -- ============================================================================ -- Copyright (c) 2017 Atmel Corporation, -- a wholly owned subsidiary of Microchip Technology Inc. -- -- License...
30,362
ada
1
danva994/ASFML-1.6
include/sf-graphics-color.ads
<reponame>danva994/ASFML-1.6 -- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be ...
30,363
ada
1
LaudateCorpus1/RosettaCodeData
Task/Exponentiation-operator/Ada/exponentiation-operator-1.ada
<filename>Task/Exponentiation-operator/Ada/exponentiation-operator-1.ada package Integer_Exponentiation is -- int^int procedure Exponentiate (Argument : in Integer; Exponent : in Natural; Result : out Integer); function "**" (Left : Integer; ...
30,364
ada
0
rkoeninger/life
src/world.adb
package body World is --------------- -- New_World -- --------------- function New_World (Size : Positive) return World_Grid is begin return World_Grid'(Size => Size, Grid1 => (others => (others => False)), Grid2 => (others => (others => False)), ...
30,365
ada
0
fintatarta/eugen
src/Projects/eu_projects.adb
<filename>src/Projects/eu_projects.adb pragma Ada_2012; with Tokenize.Token_Vectors; with Ada.Text_IO; use Ada.Text_IO; package body EU_Projects is function Verbose_To_ID (X : String) return Dotted_Identifier is begin Put_Line ("TT(" & X & ")" & Is_Valid_ID (X)'Image); return To_Bounded_String (X)...
30,366
ada
0
JeremyGrosser/arm_cmsis_dsp
src/quaternion_math_functions_h.ads
pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with arm_math_types_h; with sys_ustdint_h; package quaternion_math_functions_h is procedure arm_quaternion_norm_f32 (pInputQuaternions : access arm_math_types_h.float32_t; pNorms : access arm_math_ty...
30,367
ada
4
davidkristola/vole
string_ops.ads
-- public domain with Ada.Calendar; with Ada.Strings.Maps; with Interfaces; package String_Ops is pragma Elaborate_Body; type String_Pointer_Type is access String; -- All the control characters plus space and non-breaking-space. -- function Is_White_Space (Char : in Character) return Boolea...
30,368
ada
12
jquorning/ada-asf
src/asf-applications-views.adb
----------------------------------------------------------------------- -- applications -- Ada Web Application -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2018, 2020, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exc...
30,369
ada
0
charlesdaniels/libagar
ada/gui/demo/agar_ada_demo.adb
<reponame>charlesdaniels/libagar ------------------------------------------ -- agar_ada_demo.adb: Agar-GUI Ada demo -- ------------------------------------------ with Agar.Init; with Agar.Init_GUI; with Agar.Error; with Agar.Surface; use Agar.Surface; with Agar.Text; with Interfaces; use Interfaces; --with Agar.Widget;...
30,370
ada
0
stcarrez/hyperion
src/model/hyperion-monitoring-models.ads
----------------------------------------------------------------------- -- Hyperion.Monitoring.Models -- Hyperion.Monitoring.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator...
30,371
ada
5
reznikmm/increment
source/base/incr-version_trees.adb
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Incr.Version_Trees is ---------------------- -- Versioned_Values -- ---------------------- package body Versioned_Value...
30,372
ada
6
yannickmoy/SPARKZumo
src/algos/line_finder/line_finder_types.ads
pragma SPARK_Mode; with Types; use Types; -- @summary -- Types used in the line finder algorithm package Line_Finder_Types is -- States detected by the IR sensors -- @value Lost no line found. Start panicking -- @value Online one line is found somewhere under the middle set of -- sensors -- ...
30,373
ada
79
Roldak/OpenGLAda
src/gl/interface/gl-rasterization.ads
<gh_stars>10-100 -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.Types; private with GL.Low_Level; package GL.Rasterization is pragma Preelaborate; use GL.Types; subtype Line_Width_Range is Singles.Vector2; type Polygon_Mode_Type i...
30,374
ada
4
faelys/gela-asis
source/asis/spec/ada-numerics-float_random.ads
<reponame>faelys/gela-asis<filename>source/asis/spec/ada-numerics-float_random.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- 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 com...
30,375
ada
30
jscparker/math_packages
disorderly/disorderly-random-clock_entropy.adb
<gh_stars>10-100 ------------------------------------------------------------------------------- -- package body Disorderly.Random.Clock_Entropy, Random Number Initialization -- Copyright (C) 1995-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee ...
30,376
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/namet-sp.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,377
ada
19
jquorning/ada-security
regtests/security-oauth-jwt-tests.adb
----------------------------------------------------------------------- -- Security-oayth-jwt-tests - Unit tests for JSON Web Token -- Copyright (C) 2013, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
30,378
ada
7,053
Elon143/Amass
resources/scripts/api/intelx.ads
-- Copyright 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 = "IntelX" type = "api" useragent = "OWASP Amass" host = "https://2.intelx.io/" max = 1000 function start() set_rate_limit(2) end fun...
30,379
ada
0
melwyncarlo/ProjectEuler
problems/029/a029.adb
with Ada.Text_IO; with Ada.Strings.Fixed; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A029 is use Ada.Text_IO; use Ada.Strings.Fixed; use Ada.Integer_Text_IO; N_Str, N_Str_Copy : String (1 .. 200); Temp_Product : String (1 .. 3); FT : File_Type; Last_Ind...
30,380
ada
1
charlie5/lace-alire
1-base/lace/source/events/interface/lace-subject.adb
with lace.Event.Logger; package body lace.Subject is the_Logger : Event.Logger.view; procedure Logger_is (Now : in Event.Logger.view) is begin the_Logger := Now; end Logger_is; function Logger return Event.Logger.view is begin return the_Logger; end Logger; end lace.Su...
30,381
ada
5
jhumphry/auto_counters
src/smart_ptrs/unique_ptrs.ads
<reponame>jhumphry/auto_counters<gh_stars>1-10 -- unique_ptrs.ads -- A "unique pointer" type similar to that in C++ -- 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 ...
30,382
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled_record.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled_record.ads with Ada.Finalization; package Controlled_Record is type Point_T is limited private; procedure Assert_Invariants (PA : Point_T); private type Coords_T is array (1 .. 2) of Natural; type Point_T is new Ada.Finalization.Controlle...
30,383
ada
2
zenharris/ada-bbs
src/display_warning.adb
<gh_stars>1-10 with Extools; use Extools; package body Display_Warning is procedure Warning (Message : String; Down :Integer := 0;D : Duration := 0.0) is Display_Window : Window; Width : Column_Position := 40; Length : Line_Position := 5; c : Key_Code; Lines : Line_Position; Co...
30,384
ada
1
danva994/ASFML-1.6
include/sf-graphics-image.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 authors be held liable for any damages a...
30,385
ada
1,167
CandyROM/external_libncurses
Ada95/samples/ncurses2-color_edit.adb
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
30,386
ada
1
alexbarker/Nuclear_Submarine_Control_System
Trident/src/trident.ads
-- SET10112 2018-9 TR2 001 - Formal Approaches to Software Engineering -- Trident - Submarine Coursework -- Version 0.3.1 -- <NAME> -- 40333139 -- Last Updated on 19th April 2019 -- trident.ads package Trident with SPARK_Mode is type Operational is (Yes, No); type WeaponsSystemAvailable is (Available, Unavailab...
30,387
ada
15
My-Colaborations/dynamo
src/gnat/prj-tree.ads
<filename>src/gnat/prj-tree.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,388
ada
20
charlie5/lace
3-mid/opengl/source/lean/light/opengl-light-directional.adb
<filename>3-mid/opengl/source/lean/light/opengl-light-directional.adb with openGL.conversions; package body openGL.Light.directional is procedure inverse_view_Transform_is (Self : in out Item; Now : in Matrix_3x3) is use linear_Algebra; begin Self.Direction := Now * Normalised (Self...
30,389
ada
1
io7m/coreland-openal-ada
openal-context-capture.ads
with OpenAL.Buffer; with OpenAL.Types; package OpenAL.Context.Capture is -- -- API -- type Buffer_Size_t is range 2 .. 65536; -- proc_map : alcCaptureOpenDevice function Open_Device (Name : in String; Frequency : in Types.Frequency_t; Format : in OpenAL.Context.Request_Format...
30,390
ada
0
Fabien-Chouteau/offmt-tool
src/offmt_lib-fmt_data-unsigned_generic.ads
<reponame>Fabien-Chouteau/offmt-tool generic type T is mod <>; package Offmt_Lib.Fmt_Data.Unsigned_Generic is subtype Parent is Fmt_Data.Instance; type Instance is new Parent with private; overriding procedure From_Frame (This : in out Instance; Frame : in out Data_Frame);...
30,391
ada
33
ytomino/drake
source/a-fixed.adb
<filename>source/a-fixed.adb with System.Long_Long_Float_Types; with System.Long_Long_Integer_Types; package body Ada.Fixed is subtype Long_Long_Unsigned is System.Long_Long_Integer_Types.Long_Long_Unsigned; pragma Compile_Time_Error ( Long_Long_Float'Size < 96, "Long_Long_Float is too short f...
30,392
ada
4
faelys/gela-asis
source/libgela/gela-source_buffers-portable.adb
------------------------------------------------------------------------------ -- <NAME> A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
30,393
ada
5
hulpke/smallgrp
id6/id1920.adb
<gh_stars>1-10 ############################################################################# ## #W id1920.adb GAP library of id's <NAME> ## ID_GROUP_TREE.next[1920].next[1].next[106]:= rec( fp:= [ 106, 606, 1106, 1606, 2106 ], next:= [ rec( fp:= [ 31719, 91192, 91483 ], next:= [ re...
30,394
ada
0
usainzg/EHU
MP/LAB_001/Ver_Potencia.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Ver_Potencia is -- entrada: 1 natural, Num (EE) -- salida: 4 naturales y 1 natural, Pot (SE) -- post: Los cuatro naturales corresponden a 4 de casos de prueba -- potencias de 2, y Pot es 2 ...
30,395
ada
4
ytomino/yaml-ada
examples/test_yaml.adb
with Ada.Command_Line; with Ada.Directories; with Ada.Environment_Variables; with Ada.Streams.Stream_IO; with Ada.Text_IO; with YAML.Streams; procedure test_yaml is Verbose : Boolean := False; procedure Put (Item : in String) is begin if Verbose then Ada.Text_IO.Put (Item); end if; end Put; procedure New_Li...
30,396
ada
0
AntonMeep/endianness
src/endianness.ads
<gh_stars>0 with Ada.Streams; use Ada.Streams; package Endianness with Pure, Preelaborate, SPARK_Mode => On is -- @summary -- Convenience subprograms to convert between Big- and Little-endianness -- -- @description -- This package contains a few convenient subprograms that allow you to -...
30,397
ada
0
sonneveld/adazmq
src/zmq_thin.ads
<reponame>sonneveld/adazmq with Interfaces.C; with Interfaces.C.Strings; with System; package ZMQ_Thin is -- Version procedure zmq_version (major : access Interfaces.C.int; minor : access Interfaces.C.int; patch : access Interfaces.C.int); pragma Import (C, zmq_version, "zmq_version"); -- Errors ...
30,398
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Swarm/swarm_control.ads
<filename>Sources/Swarm/swarm_control.ads -- -- Jan & <NAME>, Australia, 2013 -- with Ada.Task_Identification; use Ada.Task_Identification; with Barrier_Type; use Barrier_Type; with Real_Type; use Real_Type; with Swarm_Configuration; use Swarm_Configuration; with Swarm_Structures; ...
30,399
ada
192
rocher/Ada_Drivers_Library
arch/ARM/STM32/driver_demos/demo_timer_interrupts_basic/src/demo.adb
<gh_stars>100-1000 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- ...