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
500
ada
0
Letractively/ada-asf
asfunit/asf-tests.adb
<reponame>Letractively/ada-asf ----------------------------------------------------------------------- -- ASF tests - ASF Tests Framework -- Copyright (C) 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except...
501
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/signed_integer_type_definition.ads
<reponame>ouankou/rose<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/signed_integer_type_definition.ads package Signed_Integer_Type_Definition is type Type_1 is range 0..10; end Signed_Integer_Type_Definition;
502
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn11.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn11.adb -- { dg-do compile } with Ada.Text_IO; use Ada.Text_IO; procedure Warn11 is type My_Integer is new Integer range 1 .. 10; for My_Integer'Size use 65; -- { dg-warning "unused" } type My_Integer2 is new Integer range 1 .. 10; for My_Integer...
503
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/cond_expr1.ads
-- { dg-do compile } -- { dg-options "-gnat12 -gnato" } package Cond_Expr1 is function Tail (S : String) return String is (if S'Last <= S'First then "" else S (S'First + 1 .. S'Last)); end Cond_Expr1;
504
ada
0
optikos/oasis
source/oasis/program-elements-discrete_range_attribute_references.ads
<reponame>optikos/oasis<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Discrete_Ranges; with Program.Elements.Attribute_References; package Program.Elements.Discret...
505
ada
15
jquorning/dynamo
src/gen-artifacts-mappings.adb
<reponame>jquorning/dynamo ----------------------------------------------------------------------- -- gen-artifacts-mappings -- Type mapping artifact for Code Generator -- Copyright (C) 2011, 2012, 2015, 2018, 2019, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the...
506
ada
0
csb6/libtcod-ada
src/libtcod-maps-lines.adb
with Interfaces.C, Interfaces.C.Extensions, Ada.Unchecked_Conversion; package body Libtcod.Maps.Lines is use bresenham_h, Interfaces.C, Interfaces.C.Extensions; type Int_Ptr is access all int; type X_Pos_Ptr is access all X_Pos; type Y_Pos_Ptr is access all Y_Pos; function X_Ptr_To_Int_Ptr is new...
507
ada
4
ddugovic/words
sorter.adb
with TEXT_IO; with DIRECT_IO; with STRINGS_PACKAGE; use STRINGS_PACKAGE; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; procedure SORTER is -- This program sorts a file of lines (strings) on 5 substrings Mx..Nx -- Sort by stringwis...
508
ada
7
Fabien-Chouteau/coffee-clock
src/gui.adb
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
509
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0007.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
510
ada
6
jquorning/ada-el
samples/functions.adb
<reponame>jquorning/ada-el<filename>samples/functions.adb<gh_stars>1-10 ----------------------------------------------------------------------- -- functions -- Show how to plug and use functions -- Copyright (C) 2009, 2010 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2...
511
ada
0
OneWingedShark/ada-probe
src/aids-utilities.ads
with Ada.Streams; Package Aids.Utilities is Use Ada.Streams; function Chunk_Image(Chunk: Stream_Element_Array) return String; function Chunk_To_String(C: in Stream_Element_Array) return String; function String_To_Chunk(S: in String) return Stream_Element_Array; -- Returns the stream as a hex-str...
512
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbbosu__armv7m.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
513
ada
1
JeremyGrosser/sensors
src/sgp30.adb
-- -- Copyright (C) 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- with CRC; package body SGP30 is package CRC_8 is new CRC (Word => HAL.UInt8, Word_Array => HAL.UInt8_Array); function Verify_Checksum (Data : UInt8_Array) return Boolean is -- Ever...
514
ada
0
Roldak/OpenGLAda
deps/gid/test/to_bmp.adb
<filename>deps/gid/test/to_bmp.adb -- -- Convert any image or animation file to BMP file(s). -- -- Middle-size test/demo for the GID (Generic Image Decoder) package. -- -- Supports: -- - Transparency (blends transparent or partially opaque areas with a -- background image, gid.gif, or a fixed, predefine...
515
ada
1
psyomn/agen
src/actions-init.adb
<reponame>psyomn/agen -- Copyright 2014-2019 <NAME> (psyomn) -- -- 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 ap...
516
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile4.adb
-- { dg-do run } procedure Volatile4 is type My_Int is new Integer; pragma Volatile (My_Int); type Rec is record I : My_Int; end record; function F (R : Rec) return Rec is begin return R; end; R : Rec := (I => 0); begin R := F (R); if R.I /= 0 then raise Program_Error; end if; en...
517
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/mdll.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
518
ada
204
spr93/whitakers-words
src/latin_utils/latin_utils-inflections_package-decn_record_io.adb
<filename>src/latin_utils/latin_utils-inflections_package-decn_record_io.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...
519
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/050_array_types/src/main.adb
<reponame>AdaCore/training_material<gh_stars>10-100 ----------------------------------------------------------------------- -- Ada Labs -- -- -- -- Copyright (C) 2008-2009, AdaCore ...
520
ada
0
Arles96/PCompiladores
Pruebas/factorial.adb
<filename>Pruebas/factorial.adb procedure factorial is i, x: Integer; y: Integer; begin put("Ingrese un numero "); get(x); y := 1; i := 1; while i <= x loop y := y * i; i := i + 1; end loop; put("\nEl resultado es "); put(y); end factorial;
521
ada
0
python36/d0xfa
src/address.ads
with numbers; use numbers; with strings; use strings; package address is type pos_addr_t is tagged private; null_pos_addr : constant pos_addr_t; error_address_odd : exception; function create (value : word) return pos_addr_t; procedure set (pos_addr : in out pos_addr_t; value : word); function get (pos_a...
522
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/named_block.adb
procedure Named_Block is begin TheBlock: declare type IntArray is array(1..2) of Integer; ia : IntArray := (others => 0); begin null; end TheBlock; end Named_Block;
523
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_time_stamp.adb
-- { dg-do run } with GNAT.Time_Stamp; use GNAT.Time_Stamp; procedure test_time_stamp is S : constant String := Current_Time; function NN (S : String) return Boolean is begin for J in S'Range loop if S (J) not in '0' .. '9' then return True; end if; end loop; ...
524
ada
0
faelys/natools
generated/natools-static_maps-s_expressions-templates-integers.ads
-- Generated at 2014-10-01 17:18:35 +0000 by Natools.Static_Hash_Maps -- from src/natools-s_expressions-templates-generic_integers-maps.sx package Natools.Static_Maps.S_Expressions.Templates.Integers is pragma Pure; type Main_Command is (Error, Align, Align_Center, Align_Left, Ali...
525
ada
7
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-stwifi.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
526
ada
0
notdb/LC-Practice
136/ada/greet_5b.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Greet_5b is I : Integer := 1; -- Variable declaration -- ^ Type -- ^ Initial value begin loop Put_Line ("Hello, World!" & Integer'Image (I)); exit when I = 5; -- Exit statement -- ^ Boolean condition -- Assig...
527
ada
5
reznikmm/increment
source/base/incr-version_trees.ads
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- -- @summary -- Version Trees -- -- @description -- The package provides Version and Version_Tree types. -- Nested generic package Versioned_V...
528
ada
1
charlie5/lace-alire
3-mid/physics/implement/c_math/source/thin/c_math_c-binding.ads
-- This file is generated by SWIG. Please do *not* modify by hand. -- package c_math_c.Binding is end c_math_c.Binding;
529
ada
0
gerr135/gnat_bugs
gb_02/src_bug/run_gb_02.adb
<gh_stars>0 -- -- a test unit. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- with Ada.Text_IO; use Ada.Text_IO; ...
530
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_fixd.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_fixd.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
531
ada
24
svn2github/matreshka
testsuite/xml/sax_events_writers.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
532
ada
0
ytomino/gnat4drake
g-io.ads
<reponame>ytomino/gnat4drake<filename>g-io.ads<gh_stars>0 pragma License (Unrestricted); with Ada.Text_IO; package GNAT.IO is procedure Put (Item : String) renames Ada.Text_IO.Put; procedure Put (Item : Integer); procedure Put_Line (Item : String) renames Ada.Text_IO.Put_Line; procedure New_Line...
533
ada
10
persan/gdnative_ada
examples/adventure_game/src/engine_hooks.adb
<gh_stars>1-10 with GDNative.Context; with GDNative.Console; with GDNative.Exceptions; with Adventure; package body Engine_Hooks is procedure On_GDNative_Init (p_options : access Thin.godot_gdnative_init_options) is begin Context.GDNative_Initialize (p_options); Console.Put ("GDNative Initialized!"); en...
534
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/self_class.ads
-- { dg-do compile } package Self_Class is type P6 is private; private type P6 is tagged record Self : access P6'Class; end record; end Self_Class;
535
ada
4
ddugovic/words
word_package.ads
<reponame>ddugovic/words with TEXT_IO; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; with ADDONS_PACKAGE; use ADDONS_PACKAGE; with WORD_SUPPORT_PACKAGE; use WORD_SUPPORT_PACKAGE; package WORD_PACKAGE is LINE_NUMBER, WORD_NUMBER : INTEGER := 0; typ...
536
ada
0
persan/a-cups
src/gen/cups-stdint_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; private package CUPS.stdint_h is INT8_MIN : constant := (-128); -- stdint.h:155 INT16_MIN : constant := (-32767-1); -- stdint.h:156 INT32_MIN : constant := (-2147483647-1); -- stdint.h:157 -- unsupported macro: INT64_...
537
ada
1
LaudateCorpus1/RosettaCodeData
Task/Apply-a-callback-to-an-array/Ada/apply-a-callback-to-an-array.ada
with Ada.Text_Io; with Ada.Integer_text_IO; procedure Call_Back_Example is -- Purpose: Apply a callback to an array -- Output: Prints the squares of an integer array to the console -- Define the callback procedure procedure Display(Location : Positive; Value : Integer) is begin Ada.Text_I...
538
ada
0
jhumphry/Ada_BinToAsc
src/utils/storage_array_to_string.adb
<filename>src/utils/storage_array_to_string.adb<gh_stars>0 -- Storage_Array_To_String -- This is a simple conversion routine to help implement test vectors -- Copyright (c) 2015, <NAME> - see LICENSE file for details with System.Storage_Elements; function Storage_Array_To_String(X : System.Storage_Elements.Storage_A...
539
ada
192
rocher/Ada_Drivers_Library
components/src/screen/is31fl3731.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
540
ada
24
reznikmm/matreshka
source/xml/dom/matreshka-dom_nodes.adb
<filename>source/xml/dom/matreshka-dom_nodes.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
541
ada
0
MorganPeterson/avi-editor
src/buffer_package.adb
package body Buffer_Package is procedure Enable_Undo (B : in out Buffer) is begin B.Can_Undo := True; end Enable_Undo; procedure Clear_Tag (B : in out Buffer; T : Tag_Type) is begin if T < TAG_MAX then declare Val : constant Integer := Tag_Type'Pos (T); begin ...
542
ada
60
Letractively/ada-util
testutil/ahven/ahven-slist.adb
<filename>testutil/ahven/ahven-slist.adb -- -- Copyright (c) 2008-2009 <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and 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 SOF...
543
ada
60
Letractively/ada-util
src/util-beans-objects-pairs.ads
<reponame>Letractively/ada-util ----------------------------------------------------------------------- -- Util.Beans.Objects.Pairs -- Pairs of objects -- Copyright (C) 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
544
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/model/opengl-model-sphere.adb
package body openGL.Model.sphere is --------- --- Forge -- procedure define (Self : out Item; Radius : Real) is begin Self.Radius := Radius; end define; -------------- --- Attributes -- overriding function Bounds (Self : in Item) return openGL.Bounds is begin ...
545
ada
80
thindil/steamsky
tests/ships-upgrade-test_data-tests.adb
<reponame>thindil/steamsky<gh_stars>10-100 -- 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 -- ...
546
ada
19
jrcarter/Ada_GUI
parsers-multiline_source.ads
-- -- -- package Copyright (c) <NAME> -- -- Parsers.Multiline_Source Luebeck -- -- Interface Winter, 2004 -- -- ...
547
ada
2
SMerrony/dgemua
simh_tapes.ads
-- MIT License -- 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, including without limitation the rights -- to use, copy, modify, merge, p...
548
ada
33
ytomino/drake
source/hash/a-swfwha.ads
pragma License (Unrestricted); with Ada.Containers; with Ada.Strings.Wide_Hash; function Ada.Strings.Wide_Fixed.Wide_Hash (Key : Wide_String) return Containers.Hash_Type renames Strings.Wide_Hash; pragma Pure (Ada.Strings.Wide_Fixed.Wide_Hash);
549
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_raycast-gjk.adb
with impact.d3.Transform; with impact.d3.collision.point_Collector; with impact.d3.collision.Detector.discrete.gjk_pair; with impact.d3.collision.Detector.discrete; with impact.d3.Vector; -- #include "impact.d3.collision.convex_Raycast.gjk.h" -- #include "BulletCollision/CollisionShapes/impact.d3.Shape.convex.interna...
550
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/osint-b.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
551
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0006.ads
<reponame>svn2github/matreshka<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_0006.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
552
ada
6
gerr135/ada_gems
mixins/src/generic_mixin_compositor.adb
with Ada.Text_IO; use Ada.Text_IO; package body generic_mixin_compositor is overriding procedure simple (Self : Mixin_Child) is begin Put_Line(" MC:simple"); end; -- overriding -- procedure compound (Self : Mixin_Child) is -- begin -- Put_Line(" MC:comp...
553
ada
0
JCGobbi/Nucleo-STM32G474RE
ADL/devices/stm32-device.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
554
ada
2
mgrojo/lsystem-editor
src/model/l_system/lse-model-l_system-factory.ads
<reponame>mgrojo/lsystem-editor<filename>src/model/l_system/lse-model-l_system-factory.ads<gh_stars>1-10 ------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>> -- ...
555
ada
12
jquorning/ada-asf
src/asf-parts.ads
----------------------------------------------------------------------- -- asf-parts -- ASF Parts -- 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 in compliance with the License. -- You...
556
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/scopequal.adb
with System, Ada.Text_IO; with Interfaces; procedure ScopeQual is x : Interfaces.Unsigned_64 := 1; begin x := Interfaces.Shift_Left(x, 2); Ada.Text_IO.Put_Line (System.Address'Size'Img); end ScopeQual;
557
ada
30
jscparker/math_packages
linear_algebra/hessenberg.adb
<gh_stars>10-100 --------------------------------------------------------------------------- -- package body Hessenberg -- Copyright (C) 2011-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 above -- copyrigh...
558
ada
1
faelys/natools-web
generated/natools-static_maps-web-error_pages-t.adb
<reponame>faelys/natools-web -- Generated at 2015-02-03 21:39:53 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-error_pages-maps.sx with Natools.Static_Maps.Web.Error_Pages.Commands; with Natools.Static_Maps.Web.Error_Pages.Messages; function Natools.Static_Maps.Web.Error_Pages.T return Boolean is begin...
559
ada
0
acornagl/Control_flow_graph-wcet
src/main.adb
with Ada.Text_IO; use Ada.Text_IO; procedure main is begin Put_Line("Hello world"); end main;
560
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libhwbase/ada/clock_gettime/hw-time-timer.adb
-- -- Copyright (C) 2016 secunet Security Networks AG -- -- 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 2 of the License, or -- (at your option) any later version. -- -- This ...
561
ada
0
optikos/oasis
source/nodes/program-nodes-formal_package_associations.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Formal_Package_Associations; with Program.Element_Visitors; pa...
562
ada
0
Tim-Tom/project-euler
Ada/src/Problem_49.adb
with Ada.Text_IO; with PrimeInstances; package body Problem_49 is package IO renames Ada.Text_IO; type Four_Digit is new Integer range 1_000 .. 9_999; package Positive_Primes renames PrimeInstances.Positive_Primes; procedure Solve is Is_Prime : Array (Four_Digit) of Boolean := (others => False); ...
563
ada
0
reznikmm/gela
source/resolver/program-resolve_standard.ads
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with System.Storage_Pools.Subpools; with Program.Compilation_Units; with Program.Cross_Reference_Updaters; with Program.Library_Environments; with Program.Visibility...
564
ada
488
ouankou/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/main.adb
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/main.adb with Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with GNATCOLL.Projects; with GNATCOLL.VFS; with Langkit_Support.Slocs; with Libadalang.Analysis; with Libadalang.Common; with Libadalang.Project_Provider; procedure Main...
565
ada
0
bracke/Meaning
source/RASCAL-Mode.ads
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
566
ada
20
charlie5/lace
3-mid/opengl/source/lean/model/opengl-model-arrow.ads
<filename>3-mid/opengl/source/lean/model/opengl-model-arrow.ads<gh_stars>10-100 package openGL.Model.arrow -- -- Models an arrow. -- is type Item is abstract new openGL.Model.item with private; private type Item is abstract new openGL.Model.item with null record; end openGL.Model.arrow;
567
ada
33
ytomino/drake
source/containers/a-cbtrsi.ads
<filename>source/containers/a-cbtrsi.ads<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit package Ada.Containers.Binary_Trees.Simple is pragma Preelaborate; Node_Size : constant := Standard'Address_Size * 3; type Node is new Binary_Trees.Node; for Node'Size use Node_Size; proced...
568
ada
24
svn2github/matreshka
tools/configure/configure-abstract_tests.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
569
ada
3
vasil-sd/ada-tlsf
tlsf/src/tlsf-block-types.adb
<filename>tlsf/src/tlsf-block-types.adb<gh_stars>1-10 pragma Ada_2012; with Bits; with BitOperations.Search.Axiom; with BitOperations.Search.Axiom.Most_Significant_Bit; package body TLSF.Block.Types with SPARK_Mode, Pure, Preelaborate is package Bits_Size is new Bits(Size_Bits); use Bits_Size; function To_Size...
570
ada
1
Hathoute/ENSEEIHT
PIM/TP6_Modules/stocks_materiel.ads
<filename>PIM/TP6_Modules/stocks_materiel.ads -- Auteur: -- Gérer un stock de matériel informatique. package Stocks_Materiel is CAPACITE : constant Integer := 10; -- nombre maximum de matériels dans un stock type T_Nature is (UNITE_CENTRALE, DISQUE, ECRAN, CLAVIER, IMPRIMANTE); type T_Materiel i...
571
ada
32
robdaemon/AdaYaml
test/src/yaml-loading_tests-suite.adb
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Yaml.Lexer.Buffering_Test; with Yaml.Lexer.Tokenization_Test; with Yaml.Parser.Event_Test; package body Yaml.Loading_Tests.Suite is Result : aliased AUnit.Test_Suites.Test_Suite; Buffering_TC : ...
572
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-internals-factories-cmof_factories.adb
<filename>source/amf/mof/cmof/amf-internals-factories-cmof_factories.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
573
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-vxwork__x86.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-vxwork__x86.ads ------------------------------------------------------------------------------ -- -- -- GNAT RU...
574
ada
0
My-Colaborations/ada-el
src/el-contexts-tls.ads
<filename>src/el-contexts-tls.ads ----------------------------------------------------------------------- -- EL.Contexts.TLS -- EL context and Thread Local Support -- Copyright (C) 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use th...
575
ada
0
jhumphry/Ada_BinToAsc
src/tests/bintoasc_suite.ads
-- BinToAsc_Suite -- Unit tests for BinToAsc -- Copyright (c) 2015, <NAME> - see LICENSE file for details with Ada.Strings, Ada.Strings.Bounded; with AUnit.Test_Suites; package BinToAsc_Suite is package Test_Vector_Strings is new Ada.Strings.Bounded.Generic_Bounded_Length(Max => 16); use all type Test_V...
576
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/stm32f1/usb/main.adb
<reponame>ekoeppen/STM32_Generic_Ada_Drivers with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with Ada.Real_Time; use Ada.Real_Time; with Ada.Text_IO; use Ada.Text_IO; with STM32GD.Board; use STM32GD.Board; with STM32GD.GPIO; use STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.EXTI; with STM32...
577
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-namespaces.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
578
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/3wsocthi.ads
<filename>tools-src/gnu/gcc/gcc/ada/3wsocthi.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
579
ada
0
caqg/linux-home
.emacs.d/elpa/ada-mode-5.3.1/gps_source/utf8_utils.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- G P S -- -- -- -- Copyright (C) 2007-2016, AdaCore ...
580
ada
7
Fabien-Chouteau/coffee-clock
src/GUI/date_widget.adb
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
581
ada
0
bracke/Meaning
source/main.ads
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with AcronymList; use AcronymList; with RASCAL.WimpTask; use RASCAL.WimpTask; with RASCAL.Utility; use RASCAL.Utility; with RASCAL.Variable; use RASCAL.Variable; with RASCAL.OS; use RASCAL.OS; packa...
582
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnatcmd.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
583
ada
1
annexi-strayline/ASAP-JSON
json-parser_machine-transitions.adb
<reponame>annexi-strayline/ASAP-JSON<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- JSON Parser/Constructor -- -- ...
584
ada
4
jorge-real/Ball-On-Beam
src/bb-gui-view.ads
<gh_stars>1-10 ------------------------------------------------------------ -- B B . G U I . V I E W -- -- -- -- Spec -- -- -- ...
585
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-internals-tables-cmof_metamodel-objects.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
586
ada
0
Roldak/OpenGLAda
src/glfw/v2/glfw-events.ads
<gh_stars>0 -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Interfaces.C; package Glfw.Events is type Button_State is (Release, Press); type Button_States is array (Positive range <>) of Button_State; procedure Poll_Events; procedure W...
587
ada
0
My-Colaborations/ada-util
src/sys/streams/util-streams-pipes.adb
----------------------------------------------------------------------- -- util-streams-raw -- Raw streams for Unix based systems -- Copyright (C) 2011, 2013, 2016, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ex...
588
ada
11
reznikmm/ada_lsp
source/protocol/lsp-stdio_streams.ads
<filename>source/protocol/lsp-stdio_streams.ads -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Streams; package LSP.Stdio_Streams is type Stdio_Stream is new Ada.Streams.Root_Stream_Ty...
589
ada
6
MayaPosch/ByteBauble
src/ada/test/api_test.adb
<reponame>MayaPosch/ByteBauble -- api_test.adb - Test for the ByteBauble API. -- -- Revision 0 -- Features: -- - -- Notes: -- - -- -- 2019/06/10, <NAME> with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Interfaces; with ByteBauble; use ByteBauble; procedure api_test ...
590
ada
4
faelys/gela-asis
source/asis/asis-elements.ads
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
591
ada
0
faelys/natools
src/natools-smaz-original.ads
<reponame>faelys/natools ------------------------------------------------------------------------------ -- Copyright (c) 2016, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software ...
592
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/sal-generic_decimal_image.ads
-- Abstract: -- -- Generic leading zero unsigned decimal image -- -- Copyright (C) 2004, 2009, 2019 Free Software Foundation. All Rights Reserved. -- -- 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 Fo...
593
ada
0
hergin/ada2fuml
test-resources/ExamplesFromRoy/globals_example1.ads
package Globals_Example1 is type Itype is new Integer; type Ftype is new Float; type Record_With_Integer_Rtype is record Attribute : Itype; end record; type Record_With_Float_Rtype is record Attribute : Ftype; end record; end Globals_Example1;
594
ada
15
mgrojo/adalib
ada-environment_variables.ads
-- 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) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-...
595
ada
0
reznikmm/gela
examples/dump_tree/dump_elements.ads
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements; package Dump_Elements is procedure Print (Element : Program.Elements.Element_Access); end Dump_Elements;
596
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-video.ads
<filename>thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-video.ads -- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 20...
597
ada
33
ytomino/drake
source/streams/a-ssisfi.adb
with Ada.Streams.Naked_Stream_IO.Standard_Files; package body Ada.Streams.Stream_IO.Standard_Files is Standard_Input_Object : aliased File_Type; Standard_Output_Object : aliased File_Type; Standard_Error_Object : aliased File_Type; -- implementation function Standard_Input return not null access cons...
598
ada
0
xuedong/mini-ada
tests/syntax/bad/testfile-end-2.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure P is begin x := 0; end Q; begin P(0); end;
599
ada
204
spr93/whitakers-words
src/commands/weed.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...