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
9,100
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/concat1.adb
-- { dg-do run } -- { dg-options "-O2" } with Concat1_Pkg; use Concat1_Pkg; procedure Concat1 is Ident_1 : Integer := Ident (1); Ident_2 : Integer := Ident (2); Ident_5 : Integer := Ident (5); type Arr is array (Integer range <>) of Integer; A : Arr (1..10); begin A := (1, 2, 3, 4, 5, 6, 7, 8, 9, 10); ...
9,101
ada
1
Fabien-Chouteau/GESTE-examples
utils/sdl_display.ads
<reponame>Fabien-Chouteau/GESTE-examples<gh_stars>1-10 with GESTE; with Interfaces; use Interfaces; generic Width : Natural; Height : Natural; Pixel_Scale : Natural; Buffer_Size : Positive; package SDL_Display is Screen_Rect : constant GESTE.Pix_Rect := ((0, 0), (Width - 1, Height - 1)); Buff...
9,102
ada
0
reznikmm/gela
source/oasis/program-lexical_elements.ads
<filename>source/oasis/program-lexical_elements.ads -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Program.Lexical_Elements is pragma Pure; type Lexical_Element is limited interface; type Lexic...
9,103
ada
0
djgoku/RosettaCodeData
Task/Luhn-test-of-credit-card-numbers/Ada/luhn-test-of-credit-card-numbers.ada
<filename>Task/Luhn-test-of-credit-card-numbers/Ada/luhn-test-of-credit-card-numbers.ada with Ada.Text_IO; use Ada.Text_IO; procedure luhn is function luhn_test(num : String) return Boolean is sum : Integer := 0; odd : Boolean := True; int : Integer; begin for p in reverse num'Range loop int := Integer'Value(nu...
9,104
ada
4
ddugovic/words
meanings.adb
with Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with STRINGS_PACKAGE; use STRINGS_PACKAGE; with CONFIG; use CONFIG; with WORD_PARAMETERS; use WORD_PARAMETERS; with DEVELOPER_PARAMETERS; use DEVELOPER_PARAMETERS; with WORD_PACKAGE; use WORD_PACKAGE; with PARSE; procedure MEAN...
9,105
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/5vtpopde.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<filename>tools-src/gnu/gcc/gcc/ada/5vtpopde.adb ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS ...
9,106
ada
192
rocher/Ada_Drivers_Library
components/src/motion/lis3dsh/lis3dsh-spi.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
9,107
ada
6
jonashaggstrom/ada-canopen
src/aco-utils-ds-generic_table.ads
with Ada.Finalization; generic type Key_Type is private; with function "=" (L : Key_Type; R : Key_Type) return Boolean; with function Hash (Key : Key_Type) return Natural; type Value_Type is private; package ACO.Utils.DS.Generic_Table is pragma Preelaborate; type Table (Number_Of_Buckets :...
9,108
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto10.adb
<reponame>best08618/asylo<gh_stars>1-10 -- { dg-do run } -- { dg-options "-flto" { target lto } } with Lto10_Pkg; use Lto10_Pkg; procedure Lto10 is A : Integer := Minus_One; Pos : Position; begin Pos := Pix.Pos; if A /= Minus_One then raise Program_Error; end if; end;
9,109
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/debug.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,110
ada
0
mstewartgallus/linted
src/ada-pulse/src/pulse-mainloop-api.ads
<reponame>mstewartgallus/linted -- Copyright 2016 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by appl...
9,111
ada
18
jquorning/ada-wiki
src/wiki-streams-html.adb
<filename>src/wiki-streams-html.adb ----------------------------------------------------------------------- -- wiki-streams-html -- Wiki HTML output stream -- Copyright (C) 2011, 2012, 2013, 2015, 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
9,112
ada
0
Fabien-Chouteau/ASFML
include/sf-window-cursor.ads
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2018 <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 arising from the use of this...
9,113
ada
0
reznikmm/gela
source/lexer/program-scanners.adb
<filename>source/lexer/program-scanners.adb -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Scanner_Destinations; package body Program.Scanners is type First_Stage_Index is mod 16#1100#; type Second...
9,114
ada
0
faelys/natools
generated/natools-smaz_test_base_64_hash.adb
with Interfaces; use Interfaces; package body Natools.Smaz_Test_Base_64_Hash is P : constant array (0 .. 3) of Natural := (1, 2, 3, 4); T1 : constant array (0 .. 3) of Unsigned_8 := (97, 46, 76, 56); T2 : constant array (0 .. 3) of Unsigned_8 := (81, 17, 92, 120); G : constant array (0 ....
9,115
ada
79
Roldak/OpenGLAda
src/gl/windows/gl-wgl.ads
-- -- Copyright (c) 2002-2003, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are -- met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list...
9,116
ada
192
rocher/Ada_Drivers_Library
middleware/src/utils/logging_with_categories.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
9,117
ada
6
My-Colaborations/ada-servlet
src/servlet-requests-tools.adb
<reponame>My-Colaborations/ada-servlet ----------------------------------------------------------------------- -- servlet-requests.tools -- Servlet Requests Tools -- Copyright (C) 2010, 2015, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may...
9,118
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-vxwext.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
9,119
ada
1
LaudateCorpus1/RosettaCodeData
Task/Partial-function-application/Ada/partial-function-application.ada
with Ada.Text_IO; procedure Partial_Function_Application is type Sequence is array(Positive range <>) of Integer; -- declare a function FS with a generic parameter F and a normal parameter S generic with function F(I: Integer) return Integer; -- generic parameter function FS (S: Sequence) return Se...
9,120
ada
0
bracke/Meaning
source/list.ads
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
9,121
ada
1
OneWingedShark/Risi
src/risi_script-types-patterns.adb
<gh_stars>1-10 Package Body Risi_Script.Types.Patterns is Function To_Indicators( Working: Half_Pattern ) return Indicator_String is begin Return Result : Indicator_String(Working'Range) do for Index in Result'Range loop Result(Index) := +Working(Index); end loop; End re...
9,122
ada
0
xuedong/mini-ada
tests/typing/bad/testfile-inout-9.adb
<reponame>xuedong/mini-ada<filename>tests/typing/bad/testfile-inout-9.adb<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure F(X: in out Integer) is begin X := 0; end; procedure G(X: in Integer) is begin F(X); end; X: Integer; begin G(X); end Test;
9,123
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/g-ctrl_c.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
9,124
ada
204
spr93/whitakers-words
src/commands/weed_all.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
9,125
ada
0
xeenta/learning-ada
src/005/oriented.ads
package Oriented is type Object is tagged limited private; type Object_Access is access Object; procedure Initialize (Ob : in out Object; P_Id : in Positive); function Get_Item_Id (Ob : in Object) return Positive; function NewObj return Object_Access; procedure Free (Obj : in out Objec...
9,126
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/a-direct.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,127
ada
33
ytomino/drake
source/tasking/a-taster.ads
pragma License (Unrestricted); with Ada.Exceptions; with Ada.Task_Identification; package Ada.Task_Termination is pragma Preelaborate; type Cause_Of_Termination is (Normal, Abnormal, Unhandled_Exception); type Termination_Handler is access protected procedure ( Cause : Cause_Of_Termination; T : T...
9,128
ada
1
ForYouEyesOnly/Space-Convoy
Sources/swarm.adb
-- -- Jan & <NAME>, Australia, July 2011 -- with Callback_Procedures; use Callback_Procedures; with Graphics_Setup; use Graphics_Setup; with Exceptions; use Exceptions; with GLUT; procedure Swarm is begin Initialize_Graphics (Main_Operations'Access); GLUT.MainLoop; exception when E : others =>...
9,129
ada
1
LaudateCorpus1/RosettaCodeData
Task/Repeat-a-string/Ada/repeat-a-string.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Text_IO; use Ada.Text_IO; procedure String_Multiplication is begin Put_Line (5 * "ha"); end String_Multiplication;
9,130
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/extension_aggregate.adb
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/extension_aggregate.adb procedure Extension_Aggregate is type Parent is tagged record C1 : Float; C2 : Float; end record; type Extension is new Parent with record C3 : Float; C4 : Fl...
9,131
ada
0
Tim-Tom/project-euler
Ada/src/Problem_52.adb
<gh_stars>0 with Ada.Text_IO; package body Problem_52 is package IO renames Ada.Text_IO; procedure Solve is type Digit is new Natural range 0 .. 9; type Digit_Count is Array (Digit'Range) of Natural; function Verify(num : Positive) return Boolean is base : Digit_Count := (others => 0); ...
9,132
ada
0
oysteinlondal/Inverted-Pendulum
exception_declarations.ads
with Ada.Exceptions; package Exception_Declarations is Value_Exceed_Max : Exception; Value_Exceed_Min : Exception; Excecution_Time_Overun : Exception; -- Gyro_Not_Available : Exception; --Acc_Not_Available : Exception; -- Like an object. *NOT* a type ! end Exception_Declarat...
9,133
ada
1
micahwelf/FLTK-Ada
src/fltk-images-rgb-bmp.adb
with Interfaces.C, System; use type System.Address; package body FLTK.Images.RGB.BMP is function new_fl_bmp_image (F : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_bmp_image, "new_fl_bmp_image"); pragma Inline (new_fl_bmp_image); pr...
9,134
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-colire.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,135
ada
20
charlie5/lace
1-base/lace/source/environ/lace-environ.adb
<filename>1-base/lace/source/environ/lace-environ.adb package body lace.Environ is function to_octal_Mode (Permissions : in permission_Set) return String is function octal_Permissions (Bit_3, Bit_2, Bit_1 : in Boolean) return String is begin if Bit_3 then if Bit_2 then ...
9,136
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1104c.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1104c.ada -- CC1104C.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 -- unlimi...
9,137
ada
0
reznikmm/gela
source/resolver/program-resolvers-basic.ads
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- -- -- Common type for Standard and full resolver with Program.Element_Visitors; with Program.Elements.Defining_Names; with Program.Elements.Definitions; with Program...
9,138
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-parse-lr-parser.adb
<reponame>caqg/linux-home -- Abstract : -- -- See spec. -- -- Copyright (C) 2002 - 2005, 2008 - 2015, 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under the terms of the GNU Ge...
9,139
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/stm32f4-discovery/leds-po/leds.adb
<filename>bb-runtimes/examples/stm32f4-discovery/leds-po/leds.adb ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...
9,140
ada
15
My-Colaborations/dynamo
src/asis/a4g-a_types.adb
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
9,141
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbbosu__leon3.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
9,142
ada
1
GambuzX/Pixy-SIW
pixy/src/host/pantilt_in_ada/specs/x86_64_linux_gnu_sys_types_h.ads
<gh_stars>1-10 -- -- Copyright (c) 2015, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above copyright -- notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS ...
9,143
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1011a6.ada
-- CA1011A6M.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlim...
9,144
ada
7
jquorning/trendy_test
src/trendy_test-reports.ads
<gh_stars>1-10 with Trendy_Test; package Trendy_Test.Reports is -- Prints the results of a given test and sets a failure exit code. procedure Print_Basic_Report (Results : Trendy_Test.Test_Report_Vectors.Vector); end Trendy_Test.Reports;
9,145
ada
33
ytomino/drake
source/strings/a-snmsco.adb
<reponame>ytomino/drake pragma Check_Policy (Validate => Disable); -- with Ada.Strings.Naked_Maps.Debug; with Ada.Strings.Naked_Maps.General_Category; with System.Once; with System.Reference_Counting; package body Ada.Strings.Naked_Maps.Set_Constants is function Total_Length (Source : Character_Set_Array) return N...
9,146
ada
2
stcarrez/bbox-ada-api
tools/druss-commands-status.adb
<filename>tools/druss-commands-status.adb ----------------------------------------------------------------------- -- druss-commands-status -- Druss status commands -- Copyright (C) 2017, 2018, 2019, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
9,147
ada
0
ytomino/gnat4drake
g-debpoo.adb
<gh_stars>0 with Ada; with System.System_Allocators.Allocated_Size; -- implementation unit package body GNAT.Debug_Pools is procedure Dump ( Pool : Debug_Pool; Size : Positive; Report : Report_Type := All_Reports) is pragma Unreferenced (Put_Line); pragma Unreferenced (Put); p...
9,148
ada
1
io7m/coreland-openal-ada
UNIT_TESTS/test.ads
<filename>UNIT_TESTS/test.ads private with Ada.Strings.Unbounded; private with Ada.Text_IO; package Test is type Test_t is range 1 .. 1_000_000; type Context_t is limited private; type Result_t is (Not_Executed, Pass, Fail, Unsupported); subtype Valid_Result_t is Result_t range Pass .. Unsupported; proce...
9,149
ada
0
sciencylab/lagrangian-solver
src/numerics-sparse_matrices-csparse.adb
<reponame>sciencylab/lagrangian-solver package body Numerics.Sparse_Matrices.CSparse is function LU_Decomposition (Mat : in Sparse_Matrix; Tol : in Real := 1.0e-20) return LU_Type is Sparse : Sparse_Ptr := To_Sparse (Mat); LU : LU_Type; begin LU.Symbolic := CS_Sqr (Prob =>...
9,150
ada
0
Tim-Tom/project-euler
Ada/src/Problem_56.adb
with Ada.Text_IO; with BigInteger; package body Problem_56 is package IO renames Ada.Text_IO; procedure Solve is function Digit_Sum(bi : BigInteger.BigInt) return Positive is str : constant String := BigInteger.ToString(bi); sum : Natural := 0; begin for index in str'Range l...
9,151
ada
0
Letractively/ada-security
src/security-auth-oauth.adb
----------------------------------------------------------------------- -- security-auth-oauth -- OAuth based authentication -- Copyright (C) 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 L...
9,152
ada
0
fintatarta/eugen
src/Command_Line/line_parsers-receivers-multi_receivers.adb
<filename>src/Command_Line/line_parsers-receivers-multi_receivers.adb<gh_stars>0 pragma Ada_2012; package body Line_Parsers.Receivers.Multi_Receivers is ------------- -- Receive -- ------------- overriding procedure Receive (Handler : in out Multi_Receiver; Name : String; Value : ...
9,153
ada
60
Letractively/ada-util
regtests/util-events-channels-tests.adb
----------------------------------------------------------------------- -- events.tests -- Unit tests for event channels -- Copyright (C) 2009, 2010, 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wi...
9,154
ada
9
alire-project/clic
src/clic-subcommand.adb
<gh_stars>1-10 with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package body CLIC.Subcommand is ------------------- -- Define_Switch -- ------------------- procedure Define_Switch (Config : in out Switches_Configuration; Switch : String := ""; Long_Switch : String := ""; ...
9,155
ada
1
TNO/Dependency_Graph_Extractor-Ada
src/extraction-renamings.ads
<reponame>TNO/Dependency_Graph_Extractor-Ada with Extraction.Graph_Operations; private package Extraction.Renamings is procedure Extract_Edges (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context); end Extraction.Renamings;
9,156
ada
1
mullikine/RosettaCodeData
Task/Floyds-triangle/Ada/floyds-triangle.ada
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Command_Line; procedure Floyd_Triangle is rows : constant Natural := Natural'Value(Ada.Command_Line.Argument(1)); begin for r in 1..rows loop for i in 1..r loop Ada.Integer_Text_IO.put (r*(r-1)/2+i, Width=> Natural'Image(rows*(rows-1)/2+i)'Length); end loop;...
9,157
ada
19
jrcarter/Ada_GUI
gnat-sockets-connection_state_machine-big_endian-unsigneds.adb
-- -- -- package Copyright (c) <NAME> -- -- GNAT.Sockets.Connection_State_Machine. Luebeck -- -- Big_Endian.Unsigneds Winter, 2012 -- -- Implementation ...
9,158
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-solita.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/s-solita.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
9,159
ada
52
onox/orka
orka_simd/src/x86/gnat/orka-simd-sse2-doubles-compare.ads
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
9,160
ada
0
PeterYHChen/nyu-pl-assignments
ada-assignment/adaptive_quad.adb
with Text_Io; -- always need these two lines for printing use Text_Io; with Ada.Float_Text_IO; use Ada.Float_Text_IO; package body Adaptive_Quad is function SimpsonsRule(a, b:float) return float is c, h3:float; begin c := (a+b) / 2.0; h3 := abs(b-a) / 6.0; return h3*(f(a) + 4.0...
9,161
ada
7
stcarrez/resource-embedder
src/are-generator-ada2012.adb
----------------------------------------------------------------------- -- are-generator-ada2012 -- Generator for Ada -- Copyright (C) 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License....
9,162
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cz/cz1102a.ada
<gh_stars>1-10 -- CZ1102A.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...
9,163
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/lto12_pkg.ads
-- { dg-excess-errors "cannot generate code" } package Lto12_Pkg is type R (Kind : Boolean := False) is record case Kind is when True => I : Integer; when others => null; end case; end record; function F return R; end Lto12_Pkg;
9,164
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-fore_d.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
9,165
ada
24
svn2github/matreshka
tools/aflex/src/template_manager.adb
<reponame>svn2github/matreshka<gh_stars>10-100 -- 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 -- pr...
9,166
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-memcop.ads
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
9,167
ada
0
caqg/linux-home
Examples/Ada/gmain.adb
<filename>Examples/Ada/gmain.adb with Greetings; procedure Gmain is begin Greetings.Hello; Greetings.Goodbye; end Gmain;
9,168
ada
20
charlie5/lace
3-mid/physics/interface/source/physics-engine.ads
<filename>3-mid/physics/interface/source/physics-engine.ads<gh_stars>10-100 with physics.Space, physics.Joint, physics.Object, lace.Observer, lace.Any, ada.Tags; package physics.Engine -- -- Provides a task which evolves a physical space. -- is type Item is tagged limited private; ...
9,169
ada
33
ytomino/drake
source/strings/a-snmcma.ads
pragma License (Unrestricted); -- implementation unit package Ada.Strings.Naked_Maps.Case_Mapping is pragma Preelaborate; function Lower_Case_Map return not null Character_Mapping_Access; function Upper_Case_Map return not null Character_Mapping_Access; end Ada.Strings.Naked_Maps.Case_Mapping;
9,170
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd5003b.ada
-- CD5003B.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...
9,171
ada
33
ytomino/drake
source/zcx/s-unbase.adb
<filename>source/zcx/s-unbase.adb -- for ZCX pragma Check_Policy (Trace => Ignore); with C.unwind; separate (System.Unwind.Backtrace) package body Separated is pragma Suppress (All_Checks); type Data is record Item : not null access Tracebacks_Array; Last : Natural; Exclude_Min : Address; ...
9,172
ada
24
svn2github/matreshka
source/web/soap/web_services-soap-dispatcher.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
9,173
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/matrices.adb
-- -- Jan & <NAME>, Australia, July 2011 -- package body Matrices is function "*" (A, B : Matrix) return Matrix is AB : Matrix; begin for Row in Matrix'Range (1) loop for Col in Matrix'Range (2) loop declare Sum : Real := 0.0; begin fo...
9,174
ada
33
ytomino/drake
examples/locale.adb
<filename>examples/locale.adb with Ada.Locales; procedure locale is use type Ada.Locales.ISO_639_Alpha_2; use type Ada.Locales.ISO_639_Alpha_3; begin Ada.Debug.Put (String (Ada.Locales.ISO_639_Alpha_2'(Ada.Locales.Language))); Ada.Debug.Put (String (Ada.Locales.ISO_639_Alpha_3'(Ada.Locales.Language))); Ada.Debug.P...
9,175
ada
15
mgrojo/adalib
ada-real_time-timing_events.ads
<filename>ada-real_time-timing_events.ads<gh_stars>10-100 -- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1...
9,176
ada
20
charlie5/lace
3-mid/physics/implement/c_math/source/thin/c_math_c-triangle.ads
<filename>3-mid/physics/implement/c_math/source/thin/c_math_c-triangle.ads -- This file is generated by SWIG. Please do *not* modify by hand. -- with Interfaces.C; package c_math_c.Triangle is -- Item -- type Item is record a : aliased c_math_c.Index; b : aliased c_math_c.Index; c : aliase...
9,177
ada
24
svn2github/matreshka
source/league/league-strings-cursors-grapheme_clusters.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
9,178
ada
33
ytomino/drake
source/strings/a-seaswi.adb
with Ada.UCD.East_Asian_Width; package body Ada.Strings.East_Asian_Width is use type UCD.UCS_4; pragma Compile_Time_Error ( UCD.East_Asian_Width_Type'Pos (UCD.N) /= Width_Kind'Pos (Neutral) or else UCD.East_Asian_Width_Type'Pos (UCD.Na) /= Width_Kind'Pos (Narrow) or else UCD.E...
9,179
ada
6
bosepchuk/Ada_Drivers_Library
arch/ARM/Nordic/drivers/nrf51-ppi.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
9,180
ada
3
stcarrez/ada-css
src/css-parser.ads
<gh_stars>1-10 ----------------------------------------------------------------------- -- css-parser -- Ada CSS Parser -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License...
9,181
ada
0
Letractively/ada-ado
regtests/ado-queries-tests.adb
<gh_stars>0 ----------------------------------------------------------------------- -- ado-queries-tests -- Test loading of database queries -- Copyright (C) 2011, 2012, 2013, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
9,182
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-tataat.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
9,183
ada
0
reznikmm/gela
source/library/program-directory_unit_schemas.adb
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Characters.Conversions; with Ada.Characters.Latin_1; with Interfaces.C_Streams; package body Program.Directory_Unit_Schemas is function Find_File (Self ...
9,184
ada
0
jhumphry/aLua
lua.adb
-- Lua -- an Ada 2012 interface to Lua -- Copyright (c) 2015-2021, <NAME> - see LICENSE for terms with Ada.Unchecked_Conversion, Ada.Unchecked_Deallocation; with System.Address_To_Access_Conversions; with Ada.Streams; with Interfaces; use Interfaces; with Interfaces.C; use type Interfaces.C.int, Interfaces.C.size_t,...
9,185
ada
0
GLADORG/template-compiler
src/templatecompiler.adb
with Ada.Wide_Wide_Text_IO, Ada.Wide_Wide_Text_IO.Text_Streams, Ada.Command_Line, Ada.Exceptions, Ada.Calendar, GNATCOLL.Mmap; use Ada.Exceptions, GNATCOLL.Mmap; with Compiler.Lexer, Compiler.Parser, Compiler.Print, Encoding; procedure TemplateCompiler is use Compiler.Node_List; use Ada.Calendar; use Ada.Wide_...
9,186
ada
33
persan/zeromq-Ada
src/zmq-sockets.adb
------------------------------------------------------------------------------- -- -- -- 0MQ Ada-binding -- -- -- ...
9,187
ada
1
LagOussama/enseeiht
2IMA/SystemesConcurrents/tp6/lr-affic.adb
<filename>2IMA/SystemesConcurrents/tp6/lr-affic.adb -- Time-stamp: <23 oct 2012 10:41 <EMAIL>> with Ada.Text_IO; use Ada.Text_IO; with Ada.Tags; with Ada.Numerics.Discrete_Random; with Glib; use Glib; with Gtkada.Builder; use Gtkada.Builder; with Gtkada.Handlers; with Gdk.Threads; with Gdk.GC; with Gdk.Color; with Gdk...
9,188
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_002c.ads
<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_002c.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
9,189
ada
1
TNO/Rejuvenation-Ada
examples/src/examples-text_rewrites.adb
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation; use Rejuvenation; with Rejuvenation.Factory; use Rejuvenation.Factory; with Rejuvenation.Finder; ...
9,190
ada
3
Fabien-Chouteau/AGATE
src/riscv32/agate-arch.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, <NAME> -- -- -...
9,191
ada
26
damaki/libkeccak
src/common/parallel_hash.ads
------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of s...
9,192
ada
5
amvb/GUCEF
dependencies/agar/ada-core/agar-core-config.adb
with Agar.Core.Thin; with Interfaces.C; package body Agar.Core.Config is package C renames Interfaces.C; use type C.int; function Load return Boolean is begin return Thin.Config.Load = 0; end Load; function Save return Boolean is begin return Thin.Config.Save = 0; end Save; end Agar.Core.Co...
9,193
ada
1
alvaromb/Compilemon
src/decls-d_arbre.adb
<filename>src/decls-d_arbre.adb<gh_stars>1-10 package body Decls.D_Arbre is procedure Abuit (P : out Pnode) is begin P := Null; end Abuit; procedure Creanode_Programa (P : out Atribut; A : in Atribut) is begin P := A; Arbre := P.A; end Creanode_Programa; proc...
9,194
ada
0
optikos/oasis
source/oasis/program-elements-generic_function_declarations.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Element_Vectors; with Program.Elements.Defining_Names; with Program.Ele...
9,195
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/expect1.adb
-- { dg-do run } with GNAT.Expect; use GNAT.Expect; with Ada.Text_IO; use Ada.Text_IO; procedure expect1 is Process : Process_Descriptor; begin begin Close (Process); raise Program_Error; exception when Invalid_Process => null; -- expected end; end expect1;
9,196
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/restrict.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
9,197
ada
4
ddugovic/words
latin_file_names.ads
<gh_stars>1-10 package LATIN_FILE_NAMES is -- In order to port the program LATIN to another system, the file names -- must be made consistent with that system. -- This package is withed into all units that declare external file names -- and its modification should take care of the system dependence of n...
9,198
ada
0
mgrojo/swagger-ada
src/server/openapi-servers-applications.adb
<filename>src/server/openapi-servers-applications.adb ----------------------------------------------------------------------- -- openapi-server-applications -- REST application -- Copyright (C) 2017, 2019, 2022 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"...
9,199
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr35.ads
package Discr35 is type Rec1 is tagged null record; type Enum is (One, Two); type Rec2 (D : Enum := One) is record case D is when One => null; when Two => R : Rec1; end case; end record; Null_Rec2 : Constant Rec2; procedure Proc1; procedure Proc2; private Null_Rec2 : Co...