id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
10,300
ada
30
jscparker/math_packages
linear_algebra/rectangular_test_matrices.adb
--------------------------------------------------------------------------- -- package body rectangular_test_matrices, test matrix generator -- Copyright (C) 2018 <NAME>. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the a...
10,301
ada
0
edgarsmdn/Aspen_Plus_Python
Simulation/connection.ads
<reponame>edgarsmdn/Aspen_Plus_Python<gh_stars>0 <AdbFile> <GuidDictionary count="121"> <Guid value="e1bdaa8f-05fd-43bb-903e-d87749440aa9" int="0"/> <Guid value="fb058446-e81c-4e84-a1c6-57d0a3202bbe" int="1"/> <Guid value="149049bb-db00-453c-9f0a-ce5f829dfa6a" int="2"/> <Guid value="6139ab55-36b8-4f11-b96...
10,302
ada
10
HeisenbugLtd/Saatana
rules/restrictions.ads
<reponame>HeisenbugLtd/Saatana<filename>rules/restrictions.ads -- Default is running in SPARK mode. pragma SPARK_Mode (On); -- Restricted run-time (safe tasking subset). This should cover most of the -- required restrictions from ARM D.7 (tasking restrictions) pragma Profile (Ravenscar); -- SPARK also requires se...
10,303
ada
2
charlie5/cBound
tier-1/gmp/source/gmp.ads
<reponame>charlie5/cBound<gh_stars>1-10 package GMP -- -- -- is end GMP;
10,304
ada
4
ddugovic/words
english_support_package.ads
with Text_IO; with Direct_IO; with Strings_Package; use Strings_Package; with LATIN_FILE_NAMES; use LATIN_FILE_NAMES; with Inflections_Package; use Inflections_Package; with Dictionary_Package; use Dictionary_Package; with WORD_SUPPORT_PACKAGE; use WORD_SUPPORT_PACKAGE; package ENGL...
10,305
ada
81
fuzzysloth/ada-awa
awa/src/awa-applications-factory.adb
----------------------------------------------------------------------- -- awa-applications-factory -- Factory for AWA Applications -- 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 complian...
10,306
ada
0
vdh-anssi/ewok-kernel
src/ewok-mpu-allocator.ads
<gh_stars>0 -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at --...
10,307
ada
0
AntonMeep/endianness
tests/src/tests.adb
pragma Ada_2012; with Ada.Streams; use Ada.Streams; with Interfaces; use Interfaces; with AUnit.Assertions; use AUnit.Assertions; with AUnit.Test_Caller; with Endianness; use Endianness; package body Tests is package Caller is new AUnit.Test_Caller (Fixture); Test_Suite : aliased AUnit.Test_Suites.Test_Suit...
10,308
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/thin_pointer2.adb
-- PR ada/42253 -- Testcase by <NAME> <<EMAIL>> -- { dg-do run } with Thin_Pointer2_Pkg; use Thin_Pointer2_Pkg; procedure Thin_Pointer2 is begin if F /= '*' then raise Program_Error; end if; end;
10,309
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3004a.ada
<gh_stars>1-10 -- CC3004A.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....
10,310
ada
33
ytomino/drake
source/streams/a-sequio.adb
with Ada.Exception_Identification.From_Here; package body Ada.Sequential_IO is use Exception_Identification.From_Here; use type Streams.Stream_Element_Offset; procedure Create ( File : in out File_Type; Mode : File_Mode := Out_File; Name : String := ""; Form : String := "") is begin...
10,311
ada
1
LaudateCorpus1/RosettaCodeData
Task/Command-line-arguments/Ada/command-line-arguments-1.ada
<filename>Task/Command-line-arguments/Ada/command-line-arguments-1.ada with Ada.Command_line; use Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; procedure Print_Commands is begin -- The number of command line arguments is retrieved from the function Argument_Count -- The actual arguments are retrieved from...
10,312
ada
33
ytomino/drake
source/image/required/s-imgwch.ads
pragma License (Unrestricted); -- implementation unit required by compiler package System.Img_WChar is pragma Pure; -- required for Wide_Character'Image by compiler (s-imgwch.ads) procedure Image_Wide_Character ( V : Wide_Character; S : in out String; P : out Natural; Ada_2005 : Bool...
10,313
ada
4
reznikmm/jupyter
sources/ada/magics-alr.adb
<gh_stars>1-10 -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Characters.Wide_Wide_Latin_1; with Ada.Exceptions; with Ada.Streams; with Ada.Wide_Wide_Text_IO; with League.JSON.Objects; with League.JSON.Val...
10,314
ada
3
mindviser/keepaSDK
ada/src/.ads
<reponame>mindviser/keepaSDK -- Keepa API -- The Keepa API offers numerous endpoints. Every request requires your API access key as a parameter. You can find and change your key in the keepa portal. All requests must be issued as a HTTPS GET and accept gzip encoding. If possible, use a Keep_Alive connection. Multip...
10,315
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/pixracer_v1/hil/hil-random.adb
-- Institution: Technische Universität München -- Department: Real-Time Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> with STM32.RNG.Polling; -- @summary -- Target-independent specification for HIL of Random number generator package body HIL.Random with SPARK_Mode => On is procedure i...
10,316
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-gui-element-form.ads
<gh_stars>10-100 -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- -- -- ...
10,317
ada
80
thindil/steamsky
src/help.ads
-- Copyright 2016-2020 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) a...
10,318
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-tables-ocl_attributes.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
10,319
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a35402a.ada
-- A35402A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
10,320
ada
204
spr93/whitakers-words
src/commands/words_main.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...
10,321
ada
0
gerr135/gnat_bugs
gb_01/src_alt1/root.ads
<filename>gb_01/src_alt1/root.ads package root is type Real is new Float; type Base_Interface is limited interface; procedure Primitive1 (B : in out Base_Interface) is abstract; -- builds procedure Primitive2 (B : in out Base_Interface) is null; -- causes bug type Derived_Interface is li...
10,322
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/modular4.adb
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-O" } with Modular4_Pkg; use Modular4_Pkg; procedure Modular4 is begin for I in Zero .. F mod 8 loop raise Program_Error; end loop; end;
10,323
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/g-diopit.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/g-diopit.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,324
ada
33
ytomino/drake
source/sjlj/c-unwind_pe.ads
-- unwind-pe.h is a part of gcc, not in runtime libraries. pragma License (GPL); -- and "GCC Runtime Library Exception" with C.stdlib; with C.unwind; package C.unwind_pe is pragma Preelaborate; procedure gxx_abort renames stdlib.C_abort; DW_EH_PE_absptr : constant := 16#00#; DW_EH_PE_omit : constan...
10,325
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/gl/gl-textures.ads
<reponame>ForYouEyesOnly/Space-Convoy ------------------------------------------------------------------------- -- GL.Textures - GL Texture model -- -- Copyright (c) <NAME> 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose, provided this copyright no...
10,326
ada
192
rocher/Ada_Drivers_Library
boards/native/src/native.ads
<reponame>rocher/Ada_Drivers_Library<gh_stars>100-1000 package Native is pragma Pure; end Native;
10,327
ada
0
reznikmm/webidl
source/lexer/webidl-string_sources.ads
<filename>source/lexer/webidl-string_sources.ads -- SPDX-FileCopyrightText: 2010-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with WebIDL.Abstract_Sources; with League.Strings; with League.String_Vectors; with League.Strings.Cursors.Characters...
10,328
ada
3
TheSledgeHammer/2.11BSD
contrib/gnu/gdb/dist/zlib/contrib/ada/zlib.adb
<reponame>TheSledgeHammer/2.11BSD ---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2004 <NAME> -- -- ...
10,329
ada
10
LionelDraghi/smk
src/smk-files-put.ads
<filename>src/smk-files-put.ads -- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ---------------------------------------------------------------------------...
10,330
ada
4
faelys/gela-asis
tools/xml2ayacc/nodes-database.adb
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
10,331
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/live.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,332
ada
3
pyjarrett/archaic_terminal
src/common/trendy_terminal-platform.ads
------------------------------------------------------------------------------- -- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file) -- 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 Lic...
10,333
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/oalign2.ads
<reponame>best08618/asylo package Oalign2 is Klunk2 : Integer := 12; for Klunk2'Alignment use Standard'Maximum_Alignment; end;
10,334
ada
0
jrcarter/Lined
lined-searching.adb
with Ada.Strings.Unbounded; with Lined.Buffer; package body Lined.Searching with SPARK_Mode, Refined_State => (State => (Cur_Pat, Processed) ) is use Ada.Strings.Unbounded; Cur_Pat : Unbounded_String := Null_Unbounded_String; Processed : PragmARC.Matching.Character_Regular_Expression.Processed_Pattern; ...
10,335
ada
412
tobireinhard/cbmc
regression/cbmc/link_json_symtabs/one.adb
procedure One (X : in out Integer) is begin X := X + 1; end One;
10,336
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect2.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect2.ads with Vect2_Pkg; package Vect2 is -- Unconstrained array types are vectorizable, possibly with special -- help for the programmer type Varray is array (Positive range <>) of Long_Float; for Varray'Alignment use 16; function "+" (X, Y : Var...
10,337
ada
0
Letractively/ada-asf
src/asf-lifecycles-restore.ads
----------------------------------------------------------------------- -- asf-lifecycles-restore -- Restore view phase -- Copyright (C) 2010 <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 Licens...
10,338
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/network/udp/dnscatcher-network-udp.ads
<gh_stars>1-10 -- Copyright 2019 <NAME> <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use, copy, modify, m...
10,339
ada
4
faelys/gela-asis
.build/ada/asis-gela-elements-expr.adb
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <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: -- -- * Redistributio...
10,340
ada
20
charlie5/lace
3-mid/impact/source/3d/dynamics/joints/impact-d3-joint-any.ads
<reponame>charlie5/lace -- #include "LinearMath/impact.d3.Vector.h" -- #include "impact.d3.jacobian_Entry.h" -- #include "impact.d3.Joint.h" -- -- class impact.d3.Object.rigid; with impact.d3.Object.rigid; with impact.d3.jacobian_Entry; package impact.d3.Joint.any -- -- impact.d3.Joint.any between tw...
10,341
ada
0
Roldak/OpenGLAda
src/gl/interface/gl-types.ads
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Interfaces.C.Pointers; with GL.Algebra; package GL.Types is pragma Preelaborate; -- These are the types you can and should use with OpenGL functions -- (particularly when dealing with buffer ...
10,342
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/exp_aggr.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,343
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-conca2.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
10,344
ada
3
Fabien-Chouteau/ada-lvlg
src/color_16/lv-color_types.ads
with Interfaces; use Interfaces; with Interfaces.C.Extensions; package Lv.Color_Types is type Color_T_Comp is record Blue : Extensions.Unsigned_5; Green : Extensions.Unsigned_6; Red : Extensions.Unsigned_5; end record with Pack, Object_Size => 16; pragma Convention (C_Pass_By_Copy, ...
10,345
ada
33
ytomino/drake
source/tasking/required/s-tassta.adb
<reponame>ytomino/drake with Ada.Unchecked_Conversion; with System.Address_To_Named_Access_Conversions; with System.Soft_Links; with System.Synchronous_Control; with System.Termination; package body System.Tasking.Stages is package Task_Id_Conv is new Address_To_Named_Access_Conversions ( Tasks.Task_...
10,346
ada
0
lumalisan/EspeblancaYLos7PPs
src/def_monitor.adb
with Ada.Text_IO; use Ada.Text_IO; package body def_monitor is protected body Monitor is entry cadiraLock when (contCadires < 4) is begin contCadires := contCadires + 1; end cadiraLock; procedure cadiraUnlock is begin contCadires := contCadires - 1; end cadira...
10,347
ada
5
docandrew/troodon
include/bits_types_time_t_h.ads
<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_h; package bits_types_time_t_h is -- Returned by `time'. subtype time_t is bits_types_h.uu_time_t; -- /usr/include/bits/types/time_t.h:7 end bits_types_time_t_h;
10,348
ada
0
jleopold28/snippets-and-notes
cmake-modules/ada/CMakeAdaCompilerABI.adb
<filename>cmake-modules/ada/CMakeAdaCompilerABI.adb --I am pretty sure that due to CMake and Ada's object compile destination incompatibility during configuration initialization, this method of determining ABI will never work with CMake 2.8.7 downward. with Text_Io; use Text_Io; procedure CMakeAdaCompilerABI is defa...
10,349
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-groups-windows.ads
<reponame>micahwelf/FLTK-Ada<gh_stars>1-10 with FLTK.Images.RGB; private with Interfaces.C; package FLTK.Widgets.Groups.Windows is type Window is new Group with private; type Window_Reference (Data : not null access Window'Class) is limited null record with Implicit_Dereference => Data...
10,350
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/wide_test.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/wide_test.adb -- { dg-do run } -- { dg-options "-gnatW8" } procedure wide_test is X : constant Wide_Character := 'Я'; begin declare S3 : constant Wide_String := (''', X, '''); X3 : Wide_Character; begin X3 := Wide_Character'Wi...
10,351
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch7.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch7.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,352
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/sal-gen_unbounded_definite_queues.ads
<filename>.emacs.d/elpa/wisi-3.1.3/sal-gen_unbounded_definite_queues.ads -- Abstract: -- -- An unbounded queue of definite non-limited elements. -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU G...
10,353
ada
17
jrmarino/ravensource
bucket_4C/AdaBrowse/patches/patch-util-pipes.adb
--- util-pipes.adb.orig 2021-09-04 15:38:31 UTC +++ util-pipes.adb @@ -132,16 +132,8 @@ package body Util.Pipes is -- <stdio.h>, the ISO C standard requires that they also be available -- as real functions. Hence we may import them directly. - pragma Linker_Options ("util-nl.o"); - - functio...
10,354
ada
24
svn2github/matreshka
source/web/soap/web_services-soap-messages.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
10,355
ada
0
btmalone/alog
aunit/aunit-memory.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,356
ada
0
reznikmm/cvsweb2git
source/cvsweb2git.adb
-- BSD 3-Clause License -- -- Copyright (c) 2017, <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, --...
10,357
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_06.ads
<reponame>Tim-Tom/project-euler package Problem_06 is procedure Solve; end Problem_06;
10,358
ada
0
twdroeger/ada-awa
awa/plugins/awa-mail/src/awa-mail-modules.adb
----------------------------------------------------------------------- -- awa-mail -- Mail module -- Copyright (C) 2011, 2012, 2015, 2017, 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 Lic...
10,359
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb
<filename>.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb -- Abstract : -- -- See spec -- -- Copyright (C) 2012, 2013, 2015, 2017 - 2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as --...
10,360
ada
4
reznikmm/adaside
sources/ada_pretty-units.ads
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- private package Ada_Pretty.Units is type Compilation_Unit is new Node with private; function New_Compilation_Unit (Root : not null Node...
10,361
ada
8,076
Gabrielarodrigues10/ga
a/Ada.adb
<filename>a/Ada.adb with Ada.Text_IO; procedure Hello_World is use Ada.Text_IO; begin Put_line ("Hello World"); end Hello_World;
10,362
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/spark/afrl-cmasi-automationrequest-spark_boundary.adb
<gh_stars>10-100 package body AFRL.CMASI.AutomationRequest.SPARK_Boundary with SPARK_Mode => Off is -------------------- -- Get_EntityList -- -------------------- function Get_EntityList (Request : AutomationRequest) return Int64_Vect is L : constant Vect_Int64_Acc := Request.getEntityList; ...
10,363
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-material.ads
<filename>3-mid/impact/source/3d/collision/shapes/impact-d3-material.ads package impact.d3.Material -- -- Material class to be used by btMultimaterialTriangleMeshShape to store triangle properties. -- -- Has public members so that materials can change due to world events. -- is type Item is record ...
10,364
ada
0
persan/advent-of-code-2020
src/day-20/adventofcode-day_20-main.adb
<reponame>persan/advent-of-code-2020 with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_20.Main is begin Put_Line ("Day-20"); end Adventofcode.Day_20.Main;
10,365
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-tasatt.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/a-tasatt.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,366
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/p12.adb
-- { dg-do run } with Init12; use Init12; with Text_IO; use Text_IO; with Dump; procedure P12 is Local_A1 : Arr1; Local_A11 : Arr11; Local_A2 : Arr2; Local_A22 : Arr22; begin Put ("My_A1 :"); Dump (My_A1'Address, Arr1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "My_A1 : 12 00 a...
10,367
ada
0
reznikmm/gela
source/lexer/program-lexical_handlers.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Wide_Wide_Characters.Handling; with Program.Source_Buffers; package body Program.Lexical_Handlers is use all type Program.Scanner_Destinations.Token_Kind; ...
10,368
ada
0
Letractively/ada-gen
src/gnat/makeutl.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,369
ada
0
annexi-strayline/ASAP-Simple_HTTP
simple_http-rfc_7230_7231.ads
------------------------------------------------------------------------------ -- -- -- Simple HTTP -- -- -- -- ...
10,370
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/driversL4x6/stm32-dfsdm.ads
<reponame>morbos/Ada_Drivers_Library with System; use System; private with STM32_SVD.DFSDM; package STM32.DFSDM is type DFSDM_Block is limited private; type DFSDM_Channel is (Channel_0, Channel_1, Channel_2, Channel_3,...
10,371
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile8.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile8.adb -- { dg-do compile } -- { dg-options "-O2 -fdump-tree-optimized" } function Volatile8 return Integer is type Vol is new Integer; pragma Volatile (Vol); type A is array (1..4) of Vol; V : A := (others => 0); begin for J in 1 .. 10 lo...
10,372
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/drivers/fe310.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, AdaCore and other contributors -- -- -- -- ...
10,373
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/par-ch10.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,374
ada
0
HeisenbugLtd/msg_passing
extra/msg_passing.ads
<filename>extra/msg_passing.ads ------------------------------------------------------------------------ -- Copyright (C) 2010-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, as pu...
10,375
ada
1
Fabien-Chouteau/tiled-code-gen
src/tcg-palette.ads
------------------------------------------------------------------------------ -- -- -- tiled-code-gen -- -- -- -- ...
10,376
ada
1
ytomino/vampire
source/vampire-main.adb
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Calendar; with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Environment_Variables; with Ada.Exceptions; with Ada.IO_Exceptions; with Ada.Hierarchical_File_Names; with Ada.Numerics.MT19937; with Ada.Streams.Stream_IO.Standard_Files; with Ada.Strings.Unb...
10,377
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_20/problem_20.ads
with Test_Solution; use Test_Solution; with Ada.Text_IO; use Ada.Text_IO; package problem_20 is type Int128 is range -2**127 .. 2**127 -1; function Solution_1 return Integer; procedure Test_Solution_1; function Get_Solutions return Solution_Case; end problem_20;
10,378
ada
0
fintatarta/protypo
src/API/protypo-api-field_names.ads
-- -- Utility package to convert IDs to enumarative values. -- private generic type Field_Enumerator is (<>); Prefix : String := ""; package Protypo.Api.Field_Names is function Is_Field (X : ID) return Boolean; function To_Field (X : ID) return Field_Enumerator; end Protypo.Api.Field_Names;
10,379
ada
0
Letractively/ada-asf
src/asf-responses-tools.ads
<gh_stars>0 ----------------------------------------------------------------------- -- asf.responses.tools -- ASF Responses Tools -- Copyright (C) 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 with ...
10,380
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_7/problem_7.adb
package body Problem_7 is function Solution_1( Num : Integer ) return Int64 is Primes : P.Vector; Prime_Count : Int64 := 1; Inc : Int64 := 3; Divisible : Boolean; begin if Num < 2 then return 0; end if; Primes.append(2); while Prime_...
10,381
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_union1.adb
-- { dg-do run } procedure Unchecked_Union1 is type Bit is (Zero, One); type U (X : Bit := Zero) is record case X is when Zero => I: Integer; when One => F : Float; end case; end record; for U use record I at 0 range 0 .. 31; F at 0 range 0 .. 31; end record; pragma Unchecke...
10,382
ada
5
Kidev/DemoAdaPhysics2D
src/renderer.adb
<filename>src/renderer.adb<gh_stars>1-10 with STM32.Board; use STM32.Board; with Circles; use Circles; with Rectangles; use Rectangles; package body Renderer is procedure Render(W : in out World; Cue : VisualCue) is begin RenderList(W.GetEnvironments); RenderList(W.GetEntities, Cue.Selected); ...
10,383
ada
114
weiss/original-bsd
old/sdb/instrs.adb
<reponame>weiss/original-bsd<filename>old/sdb/instrs.adb<gh_stars>100-1000 OP("bicpsw", CORE, 0xb9, 1, A_RW,0,0,0,0,0), OP("bispsw", CORE, 0xb8, 1, A_RW,0,0,0,0,0), OP("movpsl", CORE, 0xdc, 1, A_WL,0,0,0,0,0), OP("ldpctx", CORE, 0x06, 0,0,0,0,0,0,0), OP("svpctx", CORE, 0x07, 0,0,0,0,0,0,0), OP("mfpr", C...
10,384
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/gnatfind.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,385
ada
236
jquorning/septum
src/common/sp-memory.ads
<reponame>jquorning/septum<gh_stars>100-1000 with Ada.Finalization; with Ada.Unchecked_Deallocation; with Atomic.Signed; generic type T (<>) is private; type T_Access is access T; package SP.Memory with Preelaborate is -- Atomic reference counting pointer. type Arc is new Ada.Finalization.Controll...
10,386
ada
0
Vovanium/Encodings
source/encodings-line_endings-strip_cr.ads
<filename>source/encodings-line_endings-strip_cr.ads with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; with Encodings.Line_Endings.Generic_Strip_CR; package Encodings.Line_Endings.Strip_CR is new Generic_Strip_CR( Character_Type => Character, String_Type => String, Carriage_Return => CR, Line_Feed => LF, ...
10,387
ada
1
ytomino/vampire
source/vampire-villages-text.ads
<gh_stars>1-10 -- The Village of Vampire by YT, このソースコードはNYSLです package Vampire.Villages.Text is -- 配役 function Name (Person : Tabula.Villages.Person_Type'Class) return String; function Image (Role : Requested_Role) return String; function Image (Role : Person_Role) return String; function Short_Image (Rol...
10,388
ada
1
faelys/natools-web
generated/natools-static_maps-web-sites.adb
-- Generated at 2017-03-29 14:57:31 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-sites-maps.sx with Natools.Static_Maps.Web.Sites.Commands; package body Natools.Static_Maps.Web.Sites is function To_Command (Key : String) return Command is N : constant Natural := Natools.Static_Maps.We...
10,389
ada
24
svn2github/matreshka
tools/ayacc/src/lr0_machine.adb
<reponame>svn2github/matreshka<gh_stars>10-100 -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were <NAME> and <NAME>. -- Enhancements were made by <NAME>. -- -- Send requests for ayacc information to <EMAIL> -- Send bug reports for a...
10,390
ada
0
twdroeger/ada-awa
awa/src/awa-modules.ads
<filename>awa/src/awa-modules.ads ----------------------------------------------------------------------- -- awa-modules -- Application Module -- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2016, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
10,391
ada
1
LaudateCorpus1/RosettaCodeData
Task/Monty-Hall-problem/Ada/monty-hall-problem.ada
<filename>Task/Monty-Hall-problem/Ada/monty-hall-problem.ada -- Monty Hall Game with Ada.Text_Io; use Ada.Text_Io; with Ada.Float_Text_Io; use Ada.Float_Text_Io; with ada.Numerics.Discrete_Random; procedure Monty_Stats is Num_Iterations : Positive := 100000; type Action_Type is (Stay, Switch); type Prize_Typ...
10,392
ada
76
rod-chapman/SPARKNaCl
src/sparknacl-car.adb
package body SPARKNaCl.Car with SPARK_Mode => On is pragma Warnings (GNATProve, Off, "pragma * ignored (not yet supported)"); --=============================================== -- Functions supporting normalization -- of GF values following "+", "-" or "*" -- operations. -- -- The core algori...
10,393
ada
10
persan/gdnative_ada
examples/minimal/src/minimal.ads
<reponame>persan/gdnative_ada<filename>examples/minimal/src/minimal.ads with System; with GDNative.Thin; use GDNative.Thin; package Minimal is procedure GDNative_Intialize (p_options : access godot_gdnative_init_options) with Export => True, Convention => C, External_Name => "minimal_gdnative_init"; proced...
10,394
ada
0
thierr26/ada-keystore
src/keystore-repository.adb
----------------------------------------------------------------------- -- keystore-repository -- Repository management for the keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complianc...
10,395
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-votes/src/model/awa-votes-models.adb
----------------------------------------------------------------------- -- AWA.Votes.Models -- AWA.Votes.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen.go...
10,396
ada
0
csb6/libtcod-ada
src/generated/fov_types_h.ads
<reponame>csb6/libtcod-ada<gh_stars>0 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package fov_types_h is -- arg-macro: function FOV_PERMISSIVE (x) -- return (TCOD_fov_algorithm_t)(FOV_PERMISSIVE_0 + (x)); -- BSD 3-Clause License -- * ...
10,397
ada
1
e3l6/SSMDev
demo/adainclude/s-mufalo.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
10,398
ada
0
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/dispatch2_p.ads
<reponame>best08618/asylo package dispatch2_p is type Object is tagged null record; type Object_Ptr is access all Object'CLASS; -- function Impl_Of (Self : access Object) return Object_Ptr; function Get_Ptr (Self : access Object) return Object_Ptr renames Impl_Of; end;
10,399
ada
5
jhumphry/SPARK_SipHash
src/halfsiphash.ads
<filename>src/halfsiphash.ads -- HalfSipHash -- A 32-bit friendly version of SipHash, the algorithm described in -- "SipHash: a fast short-input PRF" -- by <NAME> and <NAME> -- Half Siphash was designed by <NAME> but is not yet documented -- in a paper. This implementation is based on the reference code. -- Copyright...