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,500
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41303i.ada
<gh_stars>1-10 -- C41303I.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....
30,501
ada
0
Lucretia/interview-questions
ada/src/reg_exp.adb
-- From https://youtu.be/tj_sBZw9nS0 -- This took way too long to do, far too many different edge cases, also as it is -- it doesn't handle the second to last example. with Ada.Text_IO; use Ada.Text_IO; with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; -- p is a sequence of any of the following: -- 1. a-...
30,502
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-countries/src/model/awa-countries-models.adb
<reponame>fuzzysloth/ada-awa ----------------------------------------------------------------------- -- AWA.Countries.Models -- AWA.Countries.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml ...
30,503
ada
0
Tim-Tom/project-euler
Ada/src/Problem_61.adb
with Ada.Text_IO; with Ada.Containers.Ordered_Maps; package body Problem_61 is package IO renames Ada.Text_IO; package Map is new Ada.Containers.Ordered_Maps(Element_Type => Integer, Key_Type => Integer); procedure Solve is -- Triangle: n(n+1)/2 => n + 1 -- Square: n(n) => 2n + 1 ...
30,504
ada
60
RREE/ada-util
samples/popen.adb
----------------------------------------------------------------------- -- popen -- Print the GNAT version by using a pipe -- Copyright (C) 2011, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with t...
30,505
ada
33
ytomino/drake
source/s-unwind.ads
<filename>source/s-unwind.ads<gh_stars>10-100 pragma License (Unrestricted); -- runtime unit package System.Unwind is pragma Pure; -- exception data type (s-stalib.ads) type Raise_Action is access procedure; type Exception_Data; type Exception_Data_Access is access constant Exception_Data; for Exce...
30,506
ada
0
lkujaw/felix
src/win32/csioopnu.adb
------------------------------------------------------------------------------ -- 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, inc...
30,507
ada
0
Fabien-Chouteau/Renaissance-Ada
src/misc/Rejuvenation_Lib_Generator/src/generator.ads
<filename>src/misc/Rejuvenation_Lib_Generator/src/generator.ads with Libadalang.Analysis; with Libadalang.Common; with Rejuvenation.Factory; use Rejuvenation.Factory; package Generator is package LAL renames Libadalang.Analysis; package LALCO renames Libadalang.Common; Filename_LAL_Ads : constant String := ...
30,508
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-ocl_state_exps.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
30,509
ada
15
jquorning/dynamo
src/gen-model-enums.adb
<filename>src/gen-model-enums.adb ----------------------------------------------------------------------- -- gen-model-enums -- Enum definitions -- Copyright (C) 2011, 2012, 2018, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
30,510
ada
0
Letractively/ada-gen
src/gnat/namet.adb
<reponame>Letractively/ada-gen ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,511
ada
1
mullikine/RosettaCodeData
Task/Permutation-test/Ada/permutation-test-2.ada
generic Subset_Size, More_Elements: Positive; package Iterate_Subsets is All_Elements: Positive := Subset_Size + More_Elements; subtype Index is Integer range 1 .. All_Elements; type Subset is array (1..Subset_Size) of Index; -- iterate over all subsets of size Subset_Size -- from the set {1, 2, ......
30,512
ada
0
erwinchang/minicom
src/ncurses-5.5/Ada95/src/terminal_interface-curses-forms-field_types-user.adb
<reponame>erwinchang/minicom<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- ...
30,513
ada
8
skade/bbqueue-spark
src/bbqueue.adb
-- with Ada.Text_IO; use Ada.Text_IO; with Atomic; use Atomic; package body BBqueue with SPARK_Mode => On is ----------- -- Grant -- ----------- procedure Grant (This : in out Offsets_Only; G : in out Write_Grant; Size : Count) is Read, Write, Start :...
30,514
ada
0
mgrojo/swagger-ada
regtests/server/src/model/testapi-models.adb
-- REST API Validation -- API to validate -- -- The version of the OpenAPI document: 1.0.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. package body TestAPI.Models is pragma Style_Chec...
30,515
ada
30
jscparker/math_packages
linear_algebra/crout_lu_tst_2.adb
-- Test LU decomposition on a real valued square matrix. with Ada.Numerics.Generic_elementary_functions; with Crout_LU; with Text_IO; use Text_IO; with Test_Matrices; procedure crout_lu_tst_2 is type Real is digits 15; subtype Index is Integer range 0..50; Starting_Index : constant Index := Index'First +...
30,516
ada
15
My-Colaborations/dynamo
src/asis/a4g-contt.adb
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
30,517
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/exp_aggr.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,518
ada
0
sourceryinstitute/rose-sourcery-institute
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/research/ada_main.adb
<reponame>sourceryinstitute/rose-sourcery-institute<filename>src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/research/ada_main.adb with Ada.Text_IO; procedure Ada_Main is procedure C_Func; pragma Import (C, C_Func); package ATI renames Ada.Text_Io; begin ATI.Put_Line ("Ada_Main: Calling C_Func"); ...
30,519
ada
0
Letractively/ada-util
src/http/util-http-cookies.adb
----------------------------------------------------------------------- -- util-http-cookies -- HTTP Cookies -- Copyright (C) 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. --...
30,520
ada
1
skill-lang/skillAdaTestSuite
test/node/test_colored_nodes-read.adb
package body Test_Colored_Nodes.Read is procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Colored_Nodes.Read"); Ahven.Framework.Add_Test_Routine (T, Node_1'Access, "1. node: id = 23"); Ahven.Framework.Add_Test_Routine (T, Node_2'Access, "2. node: id = 42"); end Initialize; ...
30,521
ada
0
Fabien-Chouteau/ASFML
include/sf-network-ftp.ads
<reponame>Fabien-Chouteau/ASFML<filename>include/sf-network-ftp.ads<gh_stars>0 --////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- This software is provided 'as-is', without any express or implied warranty. -- In no eve...
30,522
ada
33
ytomino/drake
source/tasking/required/s-tasinf.ads
pragma License (Unrestricted); -- implementation unit required by compiler package System.Task_Info is pragma Preelaborate; -- required for task and pragma Task_Info by compiler (s-parame.ads) type Scope_Type is (Process_Scope, System_Scope, Default_Scope); pragma Discard_Names (Scope_Type); type Task...
30,523
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto5.adb
-- { dg-do run } -- { dg-options "-flto" { target lto } } with Lto5_Pkg; procedure Lto5 is begin null; end;
30,524
ada
80
thindil/steamsky
tests/stories-test_data-tests-finishedstories_container.ads
<gh_stars>10-100 package Stories.Test_Data.Tests.FinishedStories_Container is end Stories.Test_Data.Tests.FinishedStories_Container;
30,525
ada
0
Letractively/ada-awa
awa/src/awa-wikis-parsers.adb
<reponame>Letractively/ada-awa ----------------------------------------------------------------------- -- awa-wikis-parsers -- Wiki parser -- Copyright (C) 2011, 2012, 2013, 2014, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
30,526
ada
2
morbos/Ada_Drivers_Library
components/src/gas_sensor/t67xx/t67xx_i2c_io.ads
with HAL.I2C; use HAL.I2C; use HAL; package T67XX_I2C_IO is type Delay_Procedure_Type is access procedure; type IO_Port is tagged record Port : Any_I2C_Port; Device : I2C_Address; Ptr : Delay_Procedure_Type; end record; type Any_IO_Port is access all IO_Port'Class; procedu...
30,527
ada
80
thindil/steamsky
src/ui/dialogs.ads
-- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is dist...
30,528
ada
0
twdroeger/ada-awa
awa/src/awa-permissions.ads
----------------------------------------------------------------------- -- awa-permissions -- Permissions module -- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
30,529
ada
192
rocher/Ada_Drivers_Library
testsuite/tests/command_line/src/tc_cmd_filesystem.adb
with Ada.Text_IO; use Ada.Text_IO; with Command_Line; with Command_Line.Filesystem; with Test_Directories; procedure TC_CMD_Filesystem is Cmd_1 : aliased constant String := "help"; Cmd_2 : aliased constant String := "help ls"; Cmd_3 : aliased constant String := "ls /test_dir/test_material"; Cmd_4 : alias...
30,530
ada
6
My-Colaborations/ada-servlet
src/aws/servlet-parts-web.adb
----------------------------------------------------------------------- -- servlet-parts-web -- Servlet Parts on top of AWS attachments -- Copyright (C) 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
30,531
ada
59
ivanhawkes/Chrysalis
assets/chrysalis/objects/desk/workdesk/workdesk.adb
<filename>assets/chrysalis/objects/desk/workdesk/workdesk.adb <AnimDB FragDef="chrysalis/objects/desk/workdesk/fragment_ids.xml" TagDef="chrysalis/objects/desk/workdesk/tags.xml"> <FragmentList> <Interact> <Fragment BlendOutDuration="0.2" Tags="ScopeSlave"> <AnimLayer> <Blend ExitTime="0" StartTime="0" D...
30,532
ada
2
charlie5/cBound
tier-1/gmp/source/thin/gmp_c-binding.ads
-- This file is generated by SWIG. Please do *not* modify by hand. -- with gmp_c.Pointers; with gmp_c.a_a_gmp_randstate_struct; with gmp_c.gmp_randstate_t; with gmp_c.mp_ptr; with gmp_c.mp_srcptr; with gmp_c.mpf_ptr; with gmp_c.mpf_srcptr; with gmp_c.mpf_t; with gmp_c.mpq_ptr; with gmp_c.mpq_srcptr; with gmp_c.mpz_ptr;...
30,533
ada
2
charlie5/cBound
tier-1/xcb/source/thin/xcb-pointers.ads
<filename>tier-1/xcb/source/thin/xcb-pointers.ads<gh_stars>1-10 -- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C.Pointers; package xcb.Pointers is -- xcb_connection_t_Pointer -- package C_xcb_connection_t_Pointers is new interfaces.c.Pointers (Inde...
30,534
ada
0
My-Colaborations/dynamo
src/gen-model.adb
<filename>src/gen-model.adb<gh_stars>0 ----------------------------------------------------------------------- -- gen-model -- Model for Code Generator -- Copyright (C) 2009, 2010, 2011, 2012, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "Lice...
30,535
ada
0
wooky/aoc.kt
src/main/ada/2019/aoc-aoc_2019-day03.ads
package AOC.AOC_2019.Day03 is type Day_03 is new Day.Day with null record; overriding procedure Init (D : in out Day_03; Root : String); overriding function Part_1 (D : Day_03) return String; overriding function Part_2 (D : Day_03) return String; end AOC.AOC_2019.Day03;
30,536
ada
2
skordal/ada-regex
src/regex-debug.ads
<filename>src/regex-debug.ads<gh_stars>1-10 -- Ada regular expression library -- (c) <NAME> 2020 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> with Regex.State_Machines; with Regex.Syntax_Trees; package Regex.Debug is -- Prints the parse tree for the regular expression: proc...
30,537
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/par-ch4.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/par-ch4.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,538
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt23_pkg.adb
package body Opt23_Pkg is function Get (R : Rec; I : Positive; M : Natural) return Path is begin return R.Val (I) (M); end; end Opt23_Pkg;
30,539
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/makeutl.ads
<filename>gcc-gcc-7_3_0-release/gcc/ada/makeutl.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,540
ada
0
bracke/Meaning
source/RASCAL-ToolboxWindow.ads
<reponame>bracke/Meaning<filename>source/RASCAL-ToolboxWindow.ads -------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
30,541
ada
65
PThierry/ewok-kernel
src/ewok-exti.ads
<filename>src/ewok-exti.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 t...
30,542
ada
6
mosteo/yeison
src/yeison.ads
with Yeison_Classwide; package Yeison renames Yeison_Classwide;
30,543
ada
1
guillengap/digital-blood-pressure-monitor
src/digital_blood_pressure_monitor.adb
<reponame>guillengap/digital-blood-pressure-monitor -- AUTHOR: <NAME> with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with STM32.Device; use STM32.Device; with HAL; use HAL; with STM32.ADC; use STM32.ADC; with STM32.GPIO; use STM32.GPIO; with Ada.Real_Time; use Ada.Real_Time; ...
30,544
ada
0
dpr1005/Tiempo-Real-Ejercicios
Practica 03/P03_Crea_Tarea_De_Tipo/src/tipos_tarea.ads
<reponame>dpr1005/Tiempo-Real-Ejercicios package Tipos_Tarea is type Id is new Integer; task type Tarea_Repetitiva(IdTarea : Id); --type T1 is access Tarea_Repetitiva; end Tipos_Tarea;
30,545
ada
80
LoyaltyGamer72/Programmers-Playing-Cards
♠ Spades/8 - Ada.ada
<filename>♠ Spades/8 - Ada.ada type Card is record Rank : Integer; Suit : String (1 .. 8); end record; This_Card : Card := (8, "spades ");
30,546
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/model/opengl-model-sphere-lit_textured.ads
<gh_stars>1-10 with openGL.Font, openGL.Geometry; package openGL.Model.sphere.lit_textured -- -- Models a lit and textured sphere. -- -- The texture is often a mercator projection to be mapped onto the sphere. -- is type Item is new Model.sphere.item with private; type View is access all Item'Class;...
30,547
ada
80
thindil/steamsky
tests/missions-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,548
ada
0
cliffano/pokeapi-clients
clients/ada/generated/src/client/-clients.adb
-- -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- The version of the OpenAPI document: 20220523 -- -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0. -- https://openapi-generator.tech -- Do not edit the class manually. prag...
30,549
ada
0
faelys/natools
src/natools-s_expressions-enumeration_io.ads
<reponame>faelys/natools ------------------------------------------------------------------------------ -- Copyright (c) 2015-2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software ...
30,550
ada
33
ytomino/drake
source/strings/a-stzfix.ads
<reponame>ytomino/drake<gh_stars>10-100 pragma License (Unrestricted); with Ada.Strings.Wide_Wide_Functions.Maps; with Ada.Strings.Wide_Wide_Maps; package Ada.Strings.Wide_Wide_Fixed is pragma Preelaborate; -- "Copy" procedure for strings of possibly different lengths procedure Move ( Source : Wide_Wi...
30,551
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/ike/tkmrpc-operation_handlers-ike-ae_reset.ads
<gh_stars>0 with Tkmrpc.Request; with Tkmrpc.Response; package Tkmrpc.Operation_Handlers.Ike.Ae_Reset is procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type); -- Handler for the ae_reset operation. end Tkmrpc.Operation_Handlers.Ike.Ae_Reset;
30,552
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-2.1.1/wisitoken_grammar_main.ads
<reponame>caqg/linux-home -- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LALR Ada re2c PROCESS wisitoken_grammar.wy -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- Author: <NAME> <<EMAIL>> -- -- This file is part of GNU Emacs. -- -- GNU Emacs is fre...
30,553
ada
0
btmalone/alog
aunit/aunit-reporter-xml.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,554
ada
3
rogermc2/GA_Ada
example_1.1/src/main_loop.adb
-- with Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with GL.Culling; with GL.Objects.Programs; -- with GL.Text; with GL.Toggles; with GL.Types; use GL.Types; with GL.Types.Colors; with GL.Window; with Glfw; with Glfw.Input; with Glfw.Input.Keys; with Glfw.Windows.Context; with Maths; with Utilities;...
30,555
ada
0
Letractively/ada-gen
src/gnat/prj-ext.ads
<filename>src/gnat/prj-ext.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,556
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/empty_vector_length.adb
<reponame>best08618/asylo -- { dg-do run } -- { dg-options "-gnatp" } procedure Empty_Vector_Length is type Vector is array (Integer range <>) of Integer; function Empty_Vector return Vector is begin return (2 .. Integer'First => 0); end; My_Vector : Vector := Empty_Vector; My_Length : Int...
30,557
ada
33
ytomino/drake
source/tasking/s-tasks.ads
pragma License (Unrestricted); -- implementation unit with Ada.Exceptions; with System.Native_Tasks; with System.Storage_Elements; with System.Synchronous_Objects; private with System.Unwind.Mapping; package System.Tasks is pragma Preelaborate; -- same as somethings of Tasking subtype Master_Level is Integ...
30,558
ada
30
jrmarino/AdaBase
src/results/adabase-results.ads
<reponame>jrmarino/AdaBase -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with CommonText; with Spatial_Data.Well_Known_Binary; with Ada.Calendar.Formatting; with Ada.Strings.Wide_Unbounded; with Ada.Strings.Wide_Wide_Unbounded; with Ada.Strings.UTF_Encoding...
30,559
ada
33
ytomino/drake
source/nls/a-enenst.ads
pragma License (Unrestricted); -- extended unit with Ada.Environment_Encoding.Generic_Strings; package Ada.Environment_Encoding.Strings is new Generic_Strings ( Character, String); -- Encoding / decoding between String and various encodings. pragma Preelaborate (Ada.Environment_Encoding.Strings);
30,560
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/globe_3d-math.adb
package body GLOBE_3D.Math is use Ada.Numerics; use REF; ------------- -- Vectors -- ------------- function "*" (l : Real; v : Vector_3D) return Vector_3D is (l * v (0), l * v (1), l * v (2)); function "*" (v : Vector_3D; l : Real) return Vector_3D is (l * v (0), l * v (1), l * v (2)...
30,561
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3403b.ada
-- CE3403B.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...
30,562
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/a-dynpri.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
30,563
ada
0
alexcamposruiz/dds-requestreply
src/dds-patches/dds.ads
<filename>src/dds-patches/dds.ads -- (c) Copyright, Real-Time Innovations, $Date;: 2012-10-31 #$ -- All rights reserved. -- -- No duplications, whole or partial, manual or electronic, may be made -- without express written permission. Any such copies, or -- revisions thereof, must display this notice unaltered. -...
30,564
ada
24
svn2github/matreshka
source/amf/ocl/amf-visitors-ocl_iterators.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
30,565
ada
12
jquorning/ada-asf
src/asf-components-utils-scrollers.ads
----------------------------------------------------------------------- -- components-utils-scrollers -- Data scrollers -- 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 compliance with the ...
30,566
ada
20
charlie5/lace
3-mid/impact/source/3d/math/impact-d3-transform_util.adb
with impact.d3.Vector, impact.d3.Transform; with impact.d3.Quaternions; package body impact.d3.transform_Util is function to_btConvexSeparatingDistanceUtil (boundingRadiusA, boundingRadiusB : in math.Real) return btConvexSeparatingDistanceUtil is Se...
30,567
ada
0
iyan22/AprendeAda
ejercicios6/prueba_eliminar_todas_las_apariciones.adb
with Ada.Text_Io, Datos; with Crear_Lista_Vacia, Ins, Esc, Eliminar_Todas_Las_Apariciones; use Datos; use Ada.Text_Io; procedure Prueba_Eliminar_Todas_Las_Apariciones is Lis : Lista; -- variable del programa principal procedure Pedir_Return is begin Put_Line("pulsa return para continuar "...
30,568
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-triangle_info_map.ads
with ada.Containers.Hashed_Maps; with Ada.Unchecked_Conversion; -- #include "LinearMath/btHashMap.h" -- #include "LinearMath/btSerializer.h" package impact.d3.triangle_info_Map -- -- The impact.d3.triangle_info_Map stores edge angle information for some triangles. -- You can compute this information yourself or...
30,569
ada
0
reznikmm/gela
source/oasis/program-elements-at_clauses.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Representation_Clauses; with Program.Lexical_Elements; with Program.Elements.Identifiers; with Program.Elements.Expressions; package Pro...
30,570
ada
6
jonashaggstrom/ada-canopen
src/aco-utils-generic_pubsub.ads
private with System; private with ACO.Utils.DS.Generic_Collection; private with ACO.Utils.Scope_Locks; generic type Item_Type is private; Max_Nof_Subscribers : Positive; package ACO.Utils.Generic_Pubsub is pragma Preelaborate; type Sub is abstract tagged null record; type Sub_Access is access all Su...
30,571
ada
1
Fabien-Chouteau/littlefs-ada
tests/src/ram_bd.ads
<reponame>Fabien-Chouteau/littlefs-ada with Littlefs; package RAM_BD is function Create (Size : Littlefs.LFS_Size) return access constant Littlefs.LFS_Config; end RAM_BD;
30,572
ada
24
svn2github/matreshka
source/xml/sax/xml-sax-writers.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
30,573
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c23006d.ada
<gh_stars>1-10 -- C23006D.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....
30,574
ada
52
onox/orka
orka/src/gl/interface/gl-compute.ads
<reponame>onox/orka -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/li...
30,575
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45262a.ada
<reponame>best08618/asylo -- C45262A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contai...
30,576
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnatfind.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,577
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-text_io_trace.ads
-- Abstract : -- -- Trace output to Ada.Text_IO -- -- Copyright (C) 2017, 2019, 2020 Free Software Foundation, Inc. -- -- This library 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,...
30,578
ada
81
twdroeger/ada-awa
awa/plugins/awa-changelogs/src/awa-changelogs.ads
----------------------------------------------------------------------- -- awa-changelogs -- Changelog module -- Copyright (C) 2014, 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,579
ada
0
wildeee/safADA
Exemplos ADA/BubbleSort/BubbleSort.adb
<reponame>wildeee/safADA With Ada.Text_IO; Use Ada.Text_IO; Procedure BubbleSort is numeros: array(1..15) of Integer; I : Integer; buffer: Integer; -- Leitura String function Get_String return String is Line : String (1 .. 1_000); Last : Natural; begin Get_Line (Line, Last); return Line (1 .. Last); en...
30,580
ada
0
sciencylab/lagrangian-solver
src/numerics-sparse_matrices.ads
with Numerics; use Numerics; package Numerics.Sparse_Matrices is -------- Define Enumeration types -------------------------------- type Permute_By_Type is (Row, Column); type Sparse_Matrix_Format is (CSR, CSC, Triplet); package Sparse_Matrix_Format_IO is new Ada.Text_IO.Enumeration_IO (Sparse_Ma...
30,581
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/uintn_ptrops.ads
with Interfaces.C.Pointers; generic type The_Element is mod <>; type The_Element_Array is array (Interfaces.C.size_t range <>) of aliased The_Element; package UintN_PtrOps is package C renames Interfaces.C; package Operations is new Interfaces.C.Pointers ( Index => Interfa...
30,582
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/light/opengl-light.adb
<reponame>charlie5/lace-alire<filename>3-mid/opengl/source/lean/light/opengl-light.adb package body openGL.Light is function Id (Self : in Item) return light.Id_t is begin return Self.Id; end Id; procedure Id_is (Self : in out Item; Now : in light.Id_t) is begin Self.Id := Now; ...
30,583
ada
0
fintatarta/eugen
src/Utilities/test_config_string_parsers.adb
with Config_String_Parsers; with Ada.Text_IO; use Ada.Text_IO; procedure Test_Config_String_Parsers is function Identity (X : String) return String is (X); package Test_Parsers is new Config_String_Parsers (Name_Type => string, Value_Type => String, ...
30,584
ada
1
charlie5/lace-alire
4-high/gel/source/world/gel-world-server.ads
with gel.World, lace.Observer, ada.unchecked_Conversion, ada.Containers.Vectors; limited with openGL.Renderer.lean; package gel.World.server -- -- Provides a gel world server. -- is type Item is limited new gel.World.item with private; type View is access all Item'Class; type...
30,585
ada
0
sonneveld/adazmq
examples/src/lbbroker.adb
<gh_stars>0 -- Load-balancing broker -- Clients and workers are shown here in-process with Ada.Command_Line; with Ada.Containers.Indefinite_Doubly_Linked_Lists; with Ada.Real_Time; with Ada.Strings.Unbounded; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; with ZHelper; use type GNAT.Formatted_String.Forma...
30,586
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-stwiun.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
30,587
ada
0
greifentor/archimedes-legacy
legacy-core/src/test/resources/dm/TestModel2.ads
<reponame>greifentor/archimedes-legacy<gh_stars>0 <Diagramm> <AdditionalSQLCode> <SQLCode> <AdditionalSQLCodePostChanging></AdditionalSQLCodePostChanging> <AdditionalSQLCodePostReducing></AdditionalSQLCodePostReducing> <AdditionalSQLCodePreChanging></AdditionalSQLCod...
30,588
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_aggr.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_aggr.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER ...
30,589
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/cstand.adb
<reponame>vidkidz/crossbridge<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
30,590
ada
0
persan/advent-of-code-2020
src/day-25/adventofcode-day_25.ads
package Adventofcode.Day_25 is end Adventofcode.Day_25;
30,591
ada
24
svn2github/matreshka
tools/parser_transformer/parser_generator.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
30,592
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/incomplete3.adb
<gh_stars>1-10 -- { dg-do compile } package body Incomplete3 is function Get_Tracer (This : access Output_T'Class) return Tracer_T'class is begin return Tracer_T'Class (Tracer_T'(Output => This)); end ; function Get_Output (This : in Tracer_T) return access Output_T'Class is begin return T...
30,593
ada
60
RREE/ada-util
src/sys/os-windows/util-streams-raw.ads
----------------------------------------------------------------------- -- util-streams-raw -- Raw streams for Windows based systems -- Copyright (C) 2011, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complia...
30,594
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/ali-util.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
30,595
ada
0
optikos/oasis
source/contexts/plain/program-plain_compilations.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with System.Storage_Pools.Subpools; with Program.Compilation_Units; with Program.Compilations; with Program.Contexts; with Program.Lexical...
30,596
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_ada_common.ads
-- Abstract : -- -- Types and operations shared by Ada and Ada_Emacs outputs. -- -- Copyright (C) 2017, 2018 Free Software Foundation, Inc. -- -- This library 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 Founda...
30,597
ada
1
LaudateCorpus1/RosettaCodeData
Task/XML-DOM-serialization/Ada/xml-dom-serialization.ada
<filename>Task/XML-DOM-serialization/Ada/xml-dom-serialization.ada with Ada.Text_IO.Text_Streams; with DOM.Core.Documents; with DOM.Core.Nodes; procedure Serialization is My_Implementation : DOM.Core.DOM_Implementation; My_Document : DOM.Core.Document; My_Root_Node : DOM.Core.Element; My_Element...
30,598
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt17.ads
package Opt17 is subtype S is String (1 .. 5); function Func return S; end Opt17;
30,599
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization22.adb
<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-O -fdump-tree-optimized" } pragma Overflow_Mode (Minimized); package body Loop_Optimization22 is procedure Foo (X : Discrim_Type) is H : array (1 .. Integer (X.Count) + 1) of Float; begin for I in 1 .. X.Count loop H (Integer(I) + 1):= 0...