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
700
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/exp_strm.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
701
ada
1
LaudateCorpus1/RosettaCodeData
Task/Long-multiplication/Ada/long-multiplication-6.ada
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with Interfaces; use Interfaces; procedure Long_Multiplication is -- Insert definitions above here procedure Put (Value : Long_Number) is X : Long_Number := Value; Last : Natural ...
702
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-interaction_fragments.ads
<filename>source/amf/uml/amf-uml-interaction_fragments.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
703
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c39006f2.ada
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c39006f2.ada<gh_stars>1-10 -- C39006F2.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, th...
704
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/g-table.adb
<reponame>best08618/asylo<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
705
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sprint.ads
<reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
706
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-objx-slider.ads
<filename>src/lv-objx-slider.ads with Lv.Style; package Lv.Objx.Slider is subtype Instance is Obj_T; type Style_T is (Style_Bg, Style_Indic, Style_Knob); -- Create a slider objects -- @param par pointer to an object, it will be the parent of the new slider --...
707
ada
16
stcarrez/ada-enet
src/net-protos-arp.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- net-protos-arp -- ARP Network protocol -- Copyright (C) 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with...
708
ada
80
thindil/steamsky
src/halloffame.ads
-- Copyright 2017-2021 <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...
709
ada
0
Fabien-Chouteau/libriscv
examples/embedded_simulator/src/main.adb
<reponame>Fabien-Chouteau/libriscv<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, <NAME> -- -- ...
710
ada
0
My-Colaborations/ada-ado
regtests/ado-queries-tests.adb
<filename>regtests/ado-queries-tests.adb ----------------------------------------------------------------------- -- ado-queries-tests -- Test loading of database queries -- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache Licens...
711
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/narrowphase/impact-d3-manifold.adb
<filename>3-mid/impact/source/3d/collision/narrowphase/impact-d3-manifold.adb with impact.d3.Vector; package body impact.d3.Manifold is -- --- Containers -- -- -- -- function Length (Self : in Vector) return ada.Containers.Count_Type -- is -- begin -- return vectors.Vector (Self).Leng...
712
ada
15
AdaCore/training_material
extern/game_support/stm32f4/src/fonts.ads
with Screen_Interface; use Screen_Interface; package Fonts is type BMP_Font is (Font8x8, Font12x12, Font16x24); procedure Draw_Char (X, Y : Integer; Char : Character; Font : BMP_Font; FG, BG : Color); procedure Draw_Char (X, Y : Integer; Char : Character; F...
713
ada
8
flyx/OpenCLAda
src/interface/cl-events.ads
<reponame>flyx/OpenCLAda<filename>src/interface/cl-events.ads -------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided...
714
ada
0
Letractively/ada-asf
regtests/asf-servlets-tests.adb
----------------------------------------------------------------------- -- Sessions Tests - Unit tests for ASF.Sessions -- Copyright (C) 2010, 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 in complian...
715
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr40.ads
pragma Assertion_Policy(Check); package Discr40 is subtype Element is Integer; type Vector is array (Positive range <>) of Element; type Stack (Max_Length : Natural) is record Length : Natural; Data : Vector (1 .. Max_Length); end record; function Not_Full (S : Stack) return Boolean i...
716
ada
24
svn2github/matreshka
source/amf/mof/amf-uri_extents.ads
<reponame>svn2github/matreshka<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
717
ada
45
alkalinin/raytracer
ada/src/bitmap.ads
-- -- Raytracer implementation in Ada -- by <NAME> (github: johnperry-math) -- 2021 -- -- specification for Bitmap, a Bitmap of Color_With_Transparency_Type, -- along with a procedure to save the Bitmap to a BMP file -- -- local packages with Colors; use Colors; with RayTracing_Constants; use RayTracing_Constants; ...
718
ada
0
thomas070605/shoot-n-loot
src/assets/game_assets-misc_objects.ads
<reponame>thomas070605/shoot-n-loot with GESTE; with GESTE.Grid; pragma Style_Checks (Off); package Game_Assets.Misc_Objects is -- Misc_Objects Width : constant := 20; Height : constant := 16; Tile_Width : constant := 8; Tile_Height : constant := 8; -- Tile Layer 1 package Tile_Laye...
719
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0002.ads
<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_0002.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
720
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-nfct.ads
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notice, t...
721
ada
9
Kidev/AdaPhysics2D
rectangles.adb
<filename>rectangles.adb with Ada.Unchecked_Deallocation; package body Rectangles is -- Initialization of a Rectangle procedure Initialize(This : in RectangleAcc; Pos, Vel, Grav, Dim : in Vec2D; Mat : in Material) is begin Entities.Initialize(Entities.Entity(This.all), ...
722
ada
1
LaudateCorpus1/RosettaCodeData
Task/Averages-Mean-angle/Ada/averages-mean-angle.ada
with Ada.Text_IO, Ada.Numerics.Generic_Elementary_Functions; procedure Mean_Angles is type X_Real is digits 4; -- or more digits for improved precision subtype Real is X_Real range 0.0 .. 360.0; -- the range of interest type Angles is array(Positive range <>) of Real; procedure Put(R: Real) is ...
723
ada
0
AntonioRamosNieto/TFG-STM32F429
STM32F4/ToyOBDH/host_app/hk_data.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, Universidad Politécnica de Madrid -- -- -- -- ...
724
ada
0
fintatarta/eugen
src/Parsers/XML/project_processor-parsers-xml_parsers-basic_parsers.adb
with XML_Utilities; package body Project_Processor.Parsers.XML_Parsers.Basic_Parsers is --------------- -- Expect_ID -- --------------- function Expect_ID (N : DOM.Core.Node; Name : String := "label") return EU_Projects.Dotted_Identifier is use XML_Ut...
725
ada
60
RREE/ada-util
src/core/strings/util-strings-formats.adb
<reponame>RREE/ada-util ----------------------------------------------------------------------- -- util-strings-formats -- String formatting helper -- 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 ...
726
ada
60
RREE/ada-util
samples/encodes.adb
----------------------------------------------------------------------- -- encodes -- Encodes strings -- Copyright (C) 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 with the License. -- You m...
727
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/assign_from_packed.adb
-- { dg-do run } with assign_from_packed_pixels; use assign_from_packed_pixels; procedure assign_from_packed is A : Integer := Minus_One; Pos : Position; begin Pos := Pix.Pos; if A /= Minus_One then raise Program_Error; end if; end;
728
ada
0
hbarrientosg/cs-mp
03_types/practica_3-suma_filas.adb
separate(practica_3) --Esta es la funcion que suma los elementos de la columna de una matriz y los guarda en un vector function Suma_Filas(M:Matriz) return Vector is v:vector(M'range(2)); begin for i in M'Range(2) loop v(I):=m(1,i);--en el vector guardo el primer elemento de la columna la matriz for j in 2..M'last l...
729
ada
52
onox/orka
orka/src/orka/interface/orka-frame_graphs.ads
<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2019 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/licen...
730
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_multichannel_h.ads
<reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_multichannel_h.ads<gh_stars>1-10 pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h; with glib; with glib....
731
ada
1
anajmedd/ENSEEIHT-Projects
1A/PIM/projet/sda_exceptions.ads
<gh_stars>1-10 -- Définition d'une exception commune à toutes les SDA. package SDA_Exceptions is Cle_Absente_Exception : Exception; -- une clé est absente d'un SDA end SDA_Exceptions;
732
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-interr.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
733
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/limited_with4_pkg.ads
-- { dg-do compile } -- { dg-options "-gnat12 -gnatct" } limited with Limited_With4; package Limited_With4_Pkg is type Object is tagged null record; type Object_Ref is access all Object; type Class_Ref is access all Object'Class; function Func return Limited_With4.Class_Ref; procedure Proc (Arg : Lim...
734
ada
1
Stykk-Gruppen/math-tools
bezout/main.adb
with Ada.Text_IO; use ADA.Text_IO; with Ada.Command_Line; use Ada.Command_Line; procedure main is procedure extended_gcd(a : Integer; b : Integer) is old_r : Integer := a; r : Integer := b; old_s : Integer := 1; s : Integer := 0; old_t : Integer := 0; t : Integer := 1; quotient : Integer; temp : Integer; be...
735
ada
0
faelys/natools
generated/natools-static_hash_maps-s_expressions-command_maps.adb
-- Generated at 2014-11-09 20:46:38 +0000 by Natools.Static_Hash_Maps -- from src/natools-static_hash_maps-s_expressions-hash_maps.sx with Natools.Static_Hash_Maps.S_Expressions.Command_Pkg; with Natools.Static_Hash_Maps.S_Expressions.Command_Map; package body Natools.Static_Hash_Maps.S_Expressions.Command_Maps is ...
736
ada
0
faelys/natools
tests/natools-s_expressions-templates-tests-dates.adb
------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
737
ada
1
BaderKashkash/Ada_Drivers_Library
examples/MicroBit_v2/WorkInProgress/ravenscar_tasking/src/main.adb
<reponame>BaderKashkash/Ada_Drivers_Library<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; procedure Main is begin loop Put_Line ("Hello"); delay until Clock + Milliseconds (10); end loop; end Main;
738
ada
1
LaudateCorpus1/RosettaCodeData
Task/Multiple-regression/Ada/multiple-regression-2.ada
<filename>Task/Multiple-regression/Ada/multiple-regression-2.ada package body Matrices is function "*" (Left, Right : Matrix) return Matrix is Result : Matrix (Left'Range (1), Right'Range (2)) := (others => (others => Zero)); begin if Left'Length (2) /= Right'Length (1) then raise Siz...
739
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testgl.adb
<gh_stars>0 -- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as publi...
740
ada
20
charlie5/lace
1-base/lace/applet/test/environ/compression/test_environ_compression.adb
with lace.Environ, ada.Text_IO; procedure test_Environ_compression is use lace.Environ, ada.Text_IO; test_Error : exception; digits_Text : constant String := "0123456789"; begin put_Line ("Begin"); verify_Folder ("tmp"); goto_Folder ("tmp"); --- Compress single files. --...
741
ada
0
strenkml/EE368
memsim-master/src/memory-super_time.ads
with Memory.Super; package Memory.Super_Time is new Memory.Super(Time_Type, Get_Time);
742
ada
13
Fabien-Chouteau/GESTE
src/geste-physics.ads
------------------------------------------------------------------------------ -- -- -- GESTE -- -- -- -- ...
743
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/ai_116.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/ai_116.ads -- { dg-do compile } with Ada.Finalization; use Ada; package ai_116 is pragma Preelaborate; type Buffer_Type is limited interface; type Handle is new Finalization.Limited_Controlled and Buffer_Type with private; pragma Preelabora...
744
ada
0
97kovacspeter/ADA
aircraft.ads
<filename>aircraft.ads with Card_Dir; use Card_Dir; with Coords; use Coords; generic type Id is (<>); with function "<"(I,J: in Id) return Boolean is <>; package Aircraft is type Aircraft_Type (Temp:Id) is private; function GetName (A: Aircraft_Type) return Id; procedure Ascend(A: in out Aircraft_Type); pro...
745
ada
18
jquorning/ada-wiki
src/wiki-filters-variables.ads
----------------------------------------------------------------------- -- wiki-filters-variables -- Expand variables in text and links -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance...
746
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45232b.ada
<reponame>best08618/asylo -- C45232B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contai...
747
ada
0
optikos/oasis
source/oasis/program-elements-goto_statements.ads
<filename>source/oasis/program-elements-goto_statements.ads -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Statements; with Program.Lexical_Elements; with Program.Elements.Expr...
748
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/sem_cat.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
749
ada
4
ddugovic/words
word_support_package.ads
<gh_stars>1-10 with TEXT_IO; with DIRECT_IO; with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE; with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; package WORD_SUPPORT_PACKAGE is FOLLOWED_BY_PERIOD, FOLLOWS_PERIOD, CAPITALIZED, ALL_CAPS : BOOLEAN := FALSE; ...
750
ada
0
reznikmm/slimp
source/slim-messages.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Streams; with League.Stream_Element_Vectors; private with Interfaces; limited with Slim.Message_Visiters; package Slim.Messages i...
751
ada
0
persan/a-cups
src.tests/cups-tests.ads
private package Cups.Tests is end Cups.Tests;
752
ada
1
faelys/natools-web
generated/natools-static_maps-web-sites-t.ads
<gh_stars>1-10 -- Generated at 2017-03-29 14:57:31 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-sites-maps.sx function Natools.Static_Maps.Web.Sites.T return Boolean; pragma Pure (Natools.Static_Maps.Web.Sites.T);
753
ada
19
jrcarter/Ada_GUI
gnat-sockets-connection_state_machine-http_server.adb
<reponame>jrcarter/Ada_GUI -- -- -- package Copyright (c) <NAME> -- -- GNAT.Sockets.Connection_State_Machine. Luebeck -- -- HTTP_Server Winter, 2013 -- -- Impl...
754
ada
0
mstewartgallus/linted
src/ada-libc/src/libc-signal-gnu.ads
<filename>src/ada-libc/src/libc-signal-gnu.ads -- Copyright 2015 <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 r...
755
ada
0
oysteinlondal/Inverted-Pendulum
task_scheduling.ads
<gh_stars>0 with Ada.Real_Time; use Ada.Real_Time; package Task_Scheduling is protected Epoch with Priority => 25 is procedure Get_Start_Time(Start_Time : out Ada.Real_Time.Time); private Start : Ada.Real_Time.Time; First : Boolean := True; end Epoch; end Task_Scheduling;
756
ada
0
csb6/libtcod-ada
demo/tutorial/engines.ads
<filename>demo/tutorial/engines.ads with Actors, Game_Maps, GUIs; with Libtcod, Libtcod.Console, Libtcod.Maps, Libtcod.Input; use Actors, Game_Maps, Libtcod; package Engines is type Game_Status is (Status_Idle, Status_New_Turn, Status_Victory, Status_Defeat); subtype Endgame_Status is Game_Status range St...
757
ada
0
jwarwick/aoc_2019_ada
day04/src/password.ads
<reponame>jwarwick/aoc_2019_ada -- Elf Password class package Password is function part1_count(first : in Natural; last : in Natural) return Natural; function part2_count(first : in Natural; last : in Natural) return Natural; end Password;
758
ada
0
My-Colaborations/ada-ado
src/ado-objects.adb
----------------------------------------------------------------------- -- ADO Objects -- Database objects -- Copyright (C) 2009 - 2020 <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. -- ...
759
ada
0
xuedong/mini-ada
tests/typing/bad/testfile-inout-4.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F(X: in out Integer) return integer is begin return 0; end; begin if F(42) = 0 then new_line; end if; end;
760
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/exception_rename.ads
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/exception_rename.ads<gh_stars>100-1000 package Exception_Rename is MyException : exception; MyOtherException : exception renames MyException; end Exception_Rename;
761
ada
12
TUM-EI-RCS/StratoX
software/modules/actuators/servo.adb
with Interfaces; use Interfaces; with PX4IO.Driver; use PX4IO; with NVRAM; with Types; with Logger; package body Servo with SPARK_Mode is ------------ -- Types ------------ type Servo_Setting_Type is record left : Servo_Angle_Type := Servo_Angle_Type (0.0); right : Servo_Angle_Type := Serv...
762
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/network/udp/dnscatcher-network-udp-receiver.adb
<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...
763
ada
0
pheonixo/file_info
test_files/ada.adb
<reponame>pheonixo/file_info with Interfaces; package body STM32F4xx is use type Interfaces.Unsigned_32; PLL_M : constant := 25; PLL_N : constant := 226; PLL_P : constant := 2; PLL_Q : constant := 7; procedure Initialise is begin -- FPU settings -- Reset the RCC clock configuration...
764
ada
80
thindil/steamsky
tests/crafts-test_data-tests.ads
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Crafts.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Crafts.Test_Data .Test with null ...
765
ada
2
egustafson/sandbox
Ada/DataStructures/AVLTree/generic_avl_tree.ads
with Ada.Text_IO; use Ada.Text_IO; generic type Element_Type is private; with function Less_Than( Left, Right : in Element_Type ) return Boolean; with function Greater_Than( Left, Right : in Element_Type ) return Boolean; with procedure Put( Item: in Element_Type ); package Generic_AVL_Tree is typ...
766
ada
20
charlie5/lace
1-base/lace/applet/demo/event/distributed/source/chat.ads
<filename>1-base/lace/applet/demo/event/distributed/source/chat.ads package Chat -- -- Provides a namespace for the chat family. -- is pragma Pure; end Chat;
767
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.0.1/sal-gen_unbounded_definite_vectors.adb
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your ...
768
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt9_pkg.ads
package Opt9_Pkg is N : integer := 15; end Opt9_Pkg;
769
ada
20
charlie5/lace
3-mid/impact/source/2d/impact-d2.ads
with float_Math, Interfaces; package Impact.d2 -- -- A port of the Box2D physics engine by <NAME> (http://www.box2d.org). -- is pragma Pure; subtype int8 is interfaces.Integer_8; subtype int16 is interfaces.Integer_16; subtype int32 is interfaces.Integer_32; subtype uint8 is interfaces.Unsig...
770
ada
2
Fabien-Chouteau/motherlode
src/motherload.adb
<gh_stars>1-10 -- Motherlode -- Copyright (c) 2020 <NAME> with PyGamer; use PyGamer; with HAL; use HAL; with Sound; with PyGamer.Controls; with PyGamer.Time; with Parameters; with World; use World; with Player; with Cargo_Menu; with Equipment_Menu; with Render; package body Motherload is ----------------- -...
771
ada
1
io7m/coreland-symbex
symbex-lex.ads
with Ada.Strings.Wide_Unbounded; package Symbex.Lex is type Lexer_t is private; -- -- Token type. -- type Token_Kind_t is (Token_Quoted_String, Token_Symbol, Token_List_Open, Token_List_Close, Token_EOF); type Line_Number_t is new Positive; type Token_t is record Is_Valid...
772
ada
32
robdaemon/AdaYaml
dropin/src/yaml-destination-c_handler.ads
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with System; with Yaml.C; package Yaml.Destination.C_Handler is type Instance is new Destination.Instance with private; function As_Destination (Handler : Yaml.C.Write_Handler; ...
773
ada
5
Kidev/DemoAdaPhysics2D
src/mainmenu.adb
<reponame>Kidev/DemoAdaPhysics2D<gh_stars>1-10 with HAL.Touch_Panel; use HAL.Touch_Panel; with HAL.Bitmap; use HAL.Bitmap; with STM32.Board; use STM32.Board; with AdaPhysics2DDemo; with STM32.User_Button; use STM32; with BMP_Fonts; with LCD_Std_Out; with Utils; package body MainMenu is procedure ShowMainMenu is ...
774
ada
4
Fabien-Chouteau/ada-voxel-space
src/keyboard.ads
<reponame>Fabien-Chouteau/ada-voxel-space package Keyboard is type Key_Kind is (Up, Down, Left, Right, Forward, Backward, Esc); procedure Update; function Pressed (Key : Key_Kind) return Boolean; end Keyboard;
775
ada
3
charlie5/aIDE
source/adam-exception_handler.ads
<filename>source/adam-exception_handler.ads with AdaM.Entity, AdaM.Declaration.of_exception, ada.Streams, ada.Containers.Vectors; limited with adam.Block; package AdaM.exception_Handler is type Item is new Entity.item with private; -- View -- type View is access all Item'Cla...
776
ada
17
WinterAlexander/Ada-IntelliJ
src/test/resources/ada-sources/bad-syntax.adb
<filename>src/test/resources/ada-sources/bad-syntax.adb<gh_stars>10-100 -- Numeric Literals 123__456 12345678_ 123. 123.456.789 1E+ 1234e56.7 16# 12#14 10#5. 8#2.3 6## 4#123.1.2# 2#101.# 16#123G#2 -- Textual Literals ' '' ' ' 'ab' " """ -- Non-Alphabet Characters Put_Line["oops"]
777
ada
9
Kidev/AdaPhysics2D
materials.ads
package Materials is -- To add materials, keep ETVacuum as the first env type, -- Or IsSolidMaterial will be messed up type MaterialType is (MTConcrete, MTWood, MTSteel, MTRubber, MTIce, MTBalloon, MTStatic, ETVacuum, ETAir, ETWater); type Material is tagged record MType ...
778
ada
3
stcarrez/ada-css
tools/css-tools-messages.ads
----------------------------------------------------------------------- -- css-tools-messages -- CSS tools messages -- 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. -...
779
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbus_h.ads
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbus_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h; with GStreamer.GST_Low_Level.gstreame...
780
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/stm32_common/dma2d/stm32-dma2d_bitmap.adb
with Ada.Unchecked_Conversion; with Cortex_M.Cache; use Cortex_M.Cache; with STM32.DMA2D; use STM32.DMA2D; package body STM32.DMA2D_Bitmap is function To_DMA2D_Buffer (Buffer : HAL.Bitmap.Bitmap_Buffer'Class) return DMA2D_Buffer with Inline; function To_DMA2D_CM is new Ada.Unchecked_Conversion ...
781
ada
7
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-suenst.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
782
ada
2
Stykk-Gruppen/rts-project
project/src/vehicle_controller.adb
<filename>project/src/vehicle_controller.adb with Distance_Sensor_Controller; with Ada.Real_Time; use Ada.Real_Time; --with Ada.Execution_Time; with Arduino_Nano_33_Ble_Sense.IOs; with Servo_Controller; package body Vehicle_Controller is ------------- -- Compute -- ------------- task body Compute is ...
783
ada
0
mgrojo/smk
src/smk-settings.adb
<filename>src/smk-settings.adb<gh_stars>0 -- ----------------------------------------------------------------------------- -- smk, the smart make -- © 2018 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache ...
784
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sem_ch5.ads
<filename>tools-src/gnu/gcc/gcc/ada/sem_ch5.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
785
ada
24
svn2github/matreshka
source/league/matreshka-internals-strings-operations.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
786
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-objx-roller.ads
with Lv.Style; package Lv.Objx.Roller is subtype Instance is Obj_T; type Style_T is (Style_Bg, Style_Sel); -- Create a roller object -- @param par pointer to an object, it will be the parent of the new roller -- @param copy pointer to a roller object, if not NULL then the new object will be copied...
787
ada
19
jrcarter/Ada_GUI
Test/luhn_gen.adb
<gh_stars>10-100 -- A program for generating Luhn checksums with an Ada_GUI UI -- An Ada_GUI demo program -- -- Copyright (C) 2021 by <NAME> Ebgineering -- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses -- with Ada.Exceptions; with Ada.Text_IO; with Ada_GUI; procedure Luhn_G...
788
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindo-units.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
789
ada
30
jrmarino/AdaBase
testcases/spatial2/spatial2.adb
<gh_stars>10-100 with AdaBase; with Connect; with CommonText; with Ada.Text_IO; with AdaBase.Results.Sets; procedure Spatial2 is package CON renames Connect; package TIO renames Ada.Text_IO; package ARS renames AdaBase.Results.Sets; package CT renames CommonText; begin CON.connect_database; decl...
790
ada
0
jquorning/CELLE
source/reports.ads
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Text_IO; with Sessions; package...
791
ada
2
darkestkhan/xdg
tests/src/xdg_vars.adb
pragma License (GPL); ------------------------------------------------------------------------------ -- EMAIL: <<EMAIL>> -- -- License: GNU GPLv3 or any later as published by Free Software Foundation -- -- (see README file) ...
792
ada
10
LionelDraghi/smk
src/smk-files.ads
-- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache ...
793
ada
3
stcarrez/ada-css
tools/css-analysis-parser.ads
----------------------------------------------------------------------- -- css-analysis-parser -- Rule parser for CSS Analysis -- 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...
794
ada
24
svn2github/matreshka
source/sql/oci/matreshka-internals-sql_drivers-oracle-plug_in.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
795
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/rotations.ads
<filename>Sources/Library/rotations.ads -- -- Jan & <NAME>, Australia, July 2011 -- with Real_Type; use Real_Type; with Quaternions; use Quaternions; with Vectors_3D; use Vectors_3D; with Matrices; pragma Elaborate_All (Matrices); package Rotations is pragma Elaborate_Body; package Matrices_3D is n...
796
ada
10
sveljko/goertzel
ada/src/goertzel.ads
<filename>ada/src/goertzel.ads -- @summary -- Goertzel filter in pure Ada/Spark -- -- @description -- An implementation of the Goertzel filter. -- It is designed with speed and portability in mind. package Goertzel with SPARK_Mode => On is -- The type for (most of the) values used. That is, samples, values ...
797
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/array2.ads
<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-gnatws" } pragma Restrictions (No_Elaboration_Code); package Array2 is type Arr is array (Positive range <>) of Boolean; A : Arr (1 .. 2 ** 2); for A'Size use 16#1000_0000_0#; end Array2;
798
ada
0
My-Colaborations/ada-el
src/el-methods-func_1.ads
<gh_stars>0 ----------------------------------------------------------------------- -- EL.Methods.Func_1 -- Function Bindings with 1 argument -- Copyright (C) 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this f...
799
ada
0
mstewartgallus/linted
src/ada-core/src/linted-tagged_accessors.ads
-- Copyright 2017 <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 applicable law or agreed to in writi...