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
11,100
ada
0
KLOC-Karsten/adaoled
src/oled_sh1106.adb
<filename>src/oled_sh1106.adb<gh_stars>0 with OLED_SH1106.Display; use OLED_SH1106.Display; with Bitmap_Buffer; with Bitmap_Graphics; use Bitmap_Graphics; with SPI; with GPIO; package body OLED_SH1106 is Display_Width : constant Natural := 128; Display_Height: constant Natural := 64; package Graphics is new B...
11,101
ada
0
thierr26/ada-apsepp
src/_for_debug_purposes/apsepp-debug_trace_class-stub.adb
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Strings.Fixed; package body Apsepp.Debug_Trace_Class.Stub is ---------------------------------------------------------------------------- overriding function Clock_String (Obj : Debug_Trace_Stub...
11,102
ada
24
svn2github/matreshka
source/sql/firebird/matreshka-internals-sql_drivers-firebird-queries.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
11,103
ada
0
daemonl/openapi-codegen
snapshot/Ada/gnat-project.ada
<filename>snapshot/Ada/gnat-project.ada -- Swagger Petstore -- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authori...
11,104
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c39007b.ada
-- C39007B.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...
11,105
ada
1
reinertk/cpros
src/cpros.ads
-------------------------------------------------------------------------------------- -- -- Copyright (c) 2016 <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 restrict...
11,106
ada
0
jrcarter/Gnoga_File_Selection
gnoga_file_selection.ads
<filename>gnoga_file_selection.ads with Ada.Strings.Unbounded; with Gnoga.Gui.Window; package Gnoga_File_Selection is type Result_Info (Picked : Boolean := False) is record case Picked is when False => null; when True => Value : Ada.Strings.Unbounded.Unbounded_String; end c...
11,107
ada
0
ESROCOS/control-mc_watchdog
TasteModel/logger/logger.adb
<filename>TasteModel/logger/logger.adb<gh_stars>0 -- This file was generated automatically: DO NOT MODIFY IT ! with System.IO; use System.IO; with Ada.Unchecked_Conversion; with Ada.Numerics.Generic_Elementary_Functions; with Base_Types; use Base_Types; with TASTE_ExtendedTypes; use TASTE_ExtendedTypes; with TASTE_B...
11,108
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f3/stm32gd-usart.ads
<filename>stm32f3/stm32gd-usart.ads with STM32_SVD; use STM32_SVD; with STM32_SVD.USART; package STM32GD.USART is pragma Preelaborate; USART_1 : STM32_SVD.USART.USART_Peripheral renames STM32_SVD.USART.USART1_Periph; USART_2 : STM32_SVD.USART.USART_Peripheral renames STM32_SVD.USART.USART2_Periph; USART_...
11,109
ada
52
onox/orka
orka_egl/src/egl-objects-surfaces.ads
<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 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...
11,110
ada
0
Statkus/json-ada
src/json-streams.adb
-- Copyright (c) 2016 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or ...
11,111
ada
5
onox/wayland-ada
wayland_ada_scanner/src/aida/aida.ads
<gh_stars>1-10 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 - 2019 <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 may obtain a copy of the License at -- -- http://www.apache.or...
11,112
ada
30
jscparker/math_packages
disorderly/disorderly-basic_rand.adb
<gh_stars>10-100 ------------------------------------------------------------------------------- -- package body Disorderly.Basic_Rand, Linear Random Number Generator -- Copyright (C) 1995-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereb...
11,113
ada
12
jquorning/ada-asf
src/asf-components-html-lists.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- html.lists -- List of items -- Copyright (C) 2009, 2010, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wit...
11,114
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45342a.ada
-- C45342A.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...
11,115
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-sct.ads
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.SCT is pragma Preelaborate; ...
11,116
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l151/stm32_svd.ads
-- This spec has been automatically generated from STM32L151.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- STM32L151 package STM32_SVD is pragma Preelaborate; -------------------- -- Base addresses -- -------------------- AES_Base : cons...
11,117
ada
0
fintatarta/eugen
src/Utilities/OLD/tokenize.ads
-- -*- Mode: Ada -*- -- Filename : tokenize.ads -- Description : Ruby-like split -- Author : <NAME> -- Created On : Tue Sep 11 22:05:53 2007 -- Last Modified By: <NAME> -- Last Modified On: November 14, 2007 -- Update Count : 1 -- Status : <TESTE...
11,118
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37213h.ada
-- C37213H.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...
11,119
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-except.ads
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-except.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,120
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/a-intnam.ads
<filename>bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/a-intnam.ads -- -- Copyright (C) 2021, AdaCore -- pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd -- This is a version for the STM32G474xx MCU package Ada.Interrupts.Names is -- All identifiers in this ...
11,121
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/exp_ch4.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,122
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-inmaop__vxworks.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
11,123
ada
80
thindil/steamsky
tests/combat-test_data-tests.adb
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
11,124
ada
2
tahamarzak20/Amass
resources/scripts/api/virustotal.ads
-- Copyright 2017 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "VirusTotal" type = "api" function start() setratelimit(15) end function vertical(ctx, domain) local c local cfg = datasrc_...
11,125
ada
1
greyblue9/binutils-gdb
gdb/testsuite/gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads
<filename>gdb/testsuite/gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads<gh_stars>1-10 -- Copyright 2018-2021 Free Software Foundation, Inc. -- -- 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; ...
11,126
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-request-ike-cc_reset-convert.ads
with Ada.Unchecked_Conversion; package Tkmrpc.Request.Ike.Cc_Reset.Convert is function To_Request is new Ada.Unchecked_Conversion ( Source => Cc_Reset.Request_Type, Target => Request.Data_Type); function From_Request is new Ada.Unchecked_Conversion ( Source => Request.Data_Type, Target ...
11,127
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_controlled.adb
-- PR ada/49732 -- Testcase by <NAME> -- { dg-do compile } -- { dg-options "-gnato" } with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; use Interfaces.C.Strings; with Interfaces.C.Pointers; procedure Pointer_Controlled is function Create (Name : String) return size_t is type Name_String is n...
11,128
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr10.adb
<gh_stars>1-10 package body Discr10 is function Get (X : R) return R is begin return R'(D1 => False, D2 => False, D3 => X.D3); end; end Discr10;
11,129
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-sequio.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
11,130
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/stm32f7_discovery/framebuffer_rk043fn48h.adb
<filename>software/hal/boards/stm32f7_discovery/framebuffer_rk043fn48h.adb with STM32.Device; use STM32.Device; with STM32.GPIO; use STM32.GPIO; package body Framebuffer_RK043FN48H is LCD_BL_CTRL : GPIO_Point renames PK3; LCD_ENABLE : GPIO_Point renames PI12; LCD_HSYNC : GPIO_Poin...
11,131
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64103d.ada
-- C64103D.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...
11,132
ada
20
charlie5/lace
3-mid/impact/source/3d/dynamics/joints/impact-d3-contact_solver_info.ads
<reponame>charlie5/lace package impact.d3.contact_solver_Info -- -- -- is --- btSolverMode -- SOLVER_RANDMIZE_ORDER : constant Flags; SOLVER_FRICTION_SEPARATE : constant Flags; SOLVER_USE_WARMSTARTING : constant Flags; SOLVER_USE_FRICTION_WARMSTARTING : constant Flags; ...
11,133
ada
24
svn2github/matreshka
source/xml/sax/xml-utilities-namespace_supports.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,134
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/9drpc.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/9drpc.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,135
ada
33
ytomino/drake
source/textio/machine-w64-mingw32/s-ntitco.ads
<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit specialized for Windows with Ada.Colors; package System.Native_Text_IO.Terminal_Colors is pragma Preelaborate; type Color is mod 16; -- Note: Color represents a combination of BLUE(1), GREEN(2), RED(4), -- and INTENSITY(8). fu...
11,136
ada
0
sciencylab/lagrangian-solver
AD_src/forward_ad-ad2d.ads
<reponame>sciencylab/lagrangian-solver<filename>AD_src/forward_ad-ad2d.ads with Numerics, Numerics.Sparse_Matrices; use Numerics, Numerics.Sparse_Matrices; package Forward_AD.AD2D is type AD2D is tagged private; type AD2D_Vector is array (Nat range <>) of AD2D; function "+" (A, B : in AD2D) return AD2D; ...
11,137
ada
0
Ingen-ear/Formica
src/ant_handler.adb
package body Ant_Handler with SPARK_Mode => On is function Do_Something (Text : String) return String is begin return Text; end Do_Something; end Ant_Handler;
11,138
ada
0
reznikmm/slimp
source/slim-messages.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with System.Storage_Elements; with Ada.Storage_IO; package body Slim.Messages is ----------------- -- Read_Fields -- ----------------- p...
11,139
ada
9
alire-project/clic
src/clic-config.adb
<gh_stars>1-10 with Ada.Strings.Unbounded; with Simple_Logging; package body CLIC.Config is use Ada.Strings.Unbounded; use TOML; package Trace renames Simple_Logging; function Image (F : TOML.Any_Float) return String; ---------------------- -- Import_Recursive -- ---------------------- pr...
11,140
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbcppr__old.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
11,141
ada
0
PThierry/ewok-kernel
src/ewok-perm.adb
<gh_stars>0 -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - Arnauld Michelizza -- - <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 ...
11,142
ada
0
twdroeger/ada-awa
awa/plugins/awa-counters/src/model/awa-counters-models.ads
<filename>awa/plugins/awa-counters/src/model/awa-counters-models.ads ----------------------------------------------------------------------- -- AWA.Counters.Models -- AWA.Counters.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template use...
11,143
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/s-conca7.ads
<filename>tools/scitools/conf/understand/ada/ada12/s-conca7.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
11,144
ada
0
bracke/Meaning
source/Controller_DataMenu.ads
<reponame>bracke/Meaning with RASCAL.ToolboxQuit; use RASCAL.ToolboxQuit; with RASCAL.Toolbox; use RASCAL.Toolbox; with RASCAL.OS; use RASCAL.OS; package Controller_DataMenu is type TEL_DataMenuOpen_Type is new Toolbox_UserEventListener(16#34#,-1,-1) with null reco...
11,145
ada
192
rocher/Ada_Drivers_Library
components/src/printer/adafruit_thermal_printer/adafruit-thermal_printer.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
11,146
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/gaming/actors.adb
<reponame>ForYouEyesOnly/Space-Convoy with GL; with GLOBE_3D.Math; package body Actors is use GLOBE_3D, GLOBE_3D.Math, GLOBE_3D.REF, Game_Control, GL; procedure Limited_Translation (actor : in out GLOBE_3D.Camera; gc : Game_Control.Command_s...
11,147
ada
0
AntonMeep/sha2
src/sha2_generic_64.ads
<reponame>AntonMeep/sha2 pragma Ada_2012; with Interfaces; use Interfaces; generic type Element is mod <>; type Index is range <>; type Element_Array is array (Index range <>) of Element; Length : Index; type State_Array is array (Natural range <>) of Unsigned_64; Initial_State : State_Array; pack...
11,148
ada
15
My-Colaborations/dynamo
src/gen-artifacts-docs-googlecode.ads
<reponame>My-Colaborations/dynamo<filename>src/gen-artifacts-docs-googlecode.ads ----------------------------------------------------------------------- -- gen-artifacts-docs-googlecode -- Artifact for Googlecode documentation format -- Copyright (C) 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under t...
11,149
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant2_pkg1.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant2_pkg1.ads with Constant2_Pkg2; use Constant2_Pkg2; package Constant2_Pkg1 is Val : constant Boolean := F1 and then F2; end Constant2_Pkg1;
11,150
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/double_record_extension3.ads
-- { dg-do compile } package Double_Record_Extension3 is type Rec1 is tagged record Id : Integer; end record; for Rec1 use record Id at 8 range 0 .. 31; end record; type Rec2 (Size : Integer) is new Rec1 with record Data : String (1 .. Size); end record; type Rec3 is new Rec2...
11,151
ada
0
balintsoos/LearnAda
bead/bead2/5/tools.ads
<reponame>balintsoos/LearnAda<gh_stars>0 package tools is protected Output is procedure Puts(str: String; num:Natural:=0); end Output; generic type T is (<>); package Random_Generator IS --package Gen is new Ada.Numerics.Discrete_Random(T); function GetRandom retu...
11,152
ada
1
OneWingedShark/Risi
src/risi_script-types-implementation-creators.ads
<reponame>OneWingedShark/Risi With Risi_Script.Types.Internals; Private With Risi_Script.Types.Implementation; Private Package Risi_Script.Types.Implementation.Creators is Package Internal renames Risi_Script.Types.Internals; Function Create ( Item : Internal.Integer_Type ) return Representation; -- Functi...
11,153
ada
1
lholzi/emulator_8080
src/emulator_8080-vram_sender.ads
with Emulator_8080.Processor; private with GNAT.Sockets; package Emulator_8080.Vram_Sender is procedure Initialize(Port : in Natural; Ip_Address : in String); procedure Close; procedure Send_Vram(Vram : in Emulator_8080.Processor.Vram_Type); private Sender_Socket : GNAT.Sockets.Socket_Type; end Emulator_80...
11,154
ada
1
ytomino/vampire
source/tabula-casts.ads
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Containers.Vectors; with Ada.Strings.Unbounded; package Tabula.Casts is type Group is record Name : aliased Ada.Strings.Unbounded.Unbounded_String; By : aliased Ada.Strings.Unbounded.Unbounded_String; Width : Integer; Height : Integer; Group : Integ...
11,155
ada
0
djgoku/RosettaCodeData
Task/Rosetta-Code-Count-examples/Ada/rosetta-code-count-examples.ada
with Aws.Client, Aws.Messages, Aws.Response, Aws.Resources, Aws.Url; with Dom.Readers, Dom.Core, Dom.Core.Documents, Dom.Core.Nodes, Dom.Core.Attrs; with Input_Sources.Strings, Unicode, Unicode.Ces.Utf8; with Ada.Strings.Unbounded, Ada.Strings.Fixed, Ada.Text_IO, Ada.Command_Line; with Ada.Containers.Vectors; use Aws...
11,156
ada
20
charlie5/lace
3-mid/impact/source/2d/orbs/dynamics/joints/impact-d2-orbs-joint.adb
<gh_stars>10-100 with impact.d2.orbs.Joint.distance, impact.d2.orbs.Joint.friction, impact.d2.orbs.Solid, ada.unchecked_Deallocation; package body impact.d2.orbs.Joint is function Create (def : in b2JointDef'Class) return Joint.view is use impact.d2.orbs.Joint.distance, impact.d2.orb...
11,157
ada
0
fintatarta/eugen
src/Line_Array/src/line_arrays.adb
<reponame>fintatarta/eugen<filename>src/Line_Array/src/line_arrays.adb<gh_stars>0 ------------------------------------------------------------------------------- -- DEpendency PLOtter for ada packages (DePlo) -- -- -...
11,158
ada
3
rogermc2/GA_Ada
example_2.2/src/glut_api.ads
with GL.Types; use GL.Types; package GLUT_API is procedure GLUT_Solid_Cube (Size : Double); pragma Import (StdCall, GLUT_Solid_Cube, "glutSolidCube"); procedure GLUT_Solid_Cone (Base, Height : Double; Slices, Stacks : Int); pragma Import (StdCall, GLUT_Solid_Cone, "glutSolidCone"); procedure GLUT_S...
11,159
ada
0
djgoku/RosettaCodeData
Task/Modular-inverse/Ada/modular-inverse-1.ada
package Mod_Inv is procedure X_GCD(A, B: in Natural; D, X, Y: out Integer); -- the Extended Euclidean Algorithm -- finds (D, X, Y) with D = GCD(A, B) = A*X + B*Y function Inverse(A, M: Integer) return Integer; -- computes the multiplicative inverse Inv_A of A mod M, using X_GCD -- raises...
11,160
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt61.adb
-- { dg-do run } -- { dg-options "-O2" } with Interfaces; with Opt61_Pkg; use Opt61_Pkg; procedure Opt61 is use type Interfaces.Integer_64; X : constant Int64 := 3125; Y : constant Int64 := 5; Z : constant Int64 := 10; Q, R: Int64; begin Double_Divide (X, Y, Z, Q, R, False); if R /= 25 then ...
11,161
ada
0
csb6/libtcod-ada
demo/tutorial/game_maps.adb
<filename>demo/tutorial/game_maps.adb with Libtcod.Color, Libtcod.Maps.FOV; package body Game_Maps is dark_wall : constant Color.RGB_Color := Color.make_RGB_color(0, 0, 100); dark_ground : constant Color.RGB_Color := Color.make_RGB_color(50, 50, 150); light_wall : constant Color.RGB_Color := Color.make_RGB_c...
11,162
ada
33
ytomino/drake
source/nls/a-eewist.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- extended unit with Ada.Environment_Encoding.Generic_Strings; package Ada.Environment_Encoding.Wide_Strings is new Generic_Strings ( Wide_Character, Wide_String); -- Encoding / decoding between Wide_String and various encodings. pragma Preelabora...
11,163
ada
7
stcarrez/mat
mat/src/events/mat-events-targets.ads
----------------------------------------------------------------------- -- mat-events-targets - Events received and collected from a target -- Copyright (C) 2014, 2015, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
11,164
ada
2
morbos/Ada_Drivers_Library
boards/stm32f469_discovery/src/framebuffer_otm8009a.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
11,165
ada
0
Fabien-Chouteau/offmt-tool
src/offmt_lib-fmt_data-unsigned_16.ads
<filename>src/offmt_lib-fmt_data-unsigned_16.ads with Interfaces; with Offmt_Lib.Fmt_Data.Unsigned_Generic; package Offmt_Lib.Fmt_Data.Unsigned_16 is new Offmt_Lib.Fmt_Data.Unsigned_Generic (Interfaces.Unsigned_16);
11,166
ada
20
charlie5/lace
3-mid/impact/source/3d/math/impact-d3-convex_hull_computer.adb
<reponame>charlie5/lace<gh_stars>10-100 with interfaces.c.Pointers, Swig.Pointers, ada.Unchecked_Deallocation, system.Address_to_Access_Conversions; with Ada.Unchecked_Conversion; with impact.d3.Vector; -- with math.algebra.linear.d3; with ada.containers.Generic_Array_Sort; with impact.d3.Scalar; p...
11,167
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-server-connection.adb
<filename>ada_gui-gnoga-server-connection.adb -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
11,168
ada
1
LaudateCorpus1/RosettaCodeData
Task/Percentage-difference-between-images/Ada/percentage-difference-between-images-1.ada
type Count is mod 2**64;
11,169
ada
20
charlie5/lace
3-mid/impact/source/3d/dynamics/impact-d3-space-dynamic-simple.ads
with impact.d3.Space.dynamic, impact.d3.Object.rigid, impact.d3.constraint_Solver; use impact.d3.Space.dynamic, impact.d3.Object.rigid, impact.d3.constraint_Solver; package impact.d3.Space.dynamic.simple is type Item is abstract new impact.d3.Space.dynamic.Item with private; type const...
11,170
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-reclassify_object_actions.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
11,171
ada
0
reznikmm/gela
source/nodes/program-nodes-enumeration_representation_clauses.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Enumeration_Representation_Clauses is function Create (For_Token : not null Program.Lexical_Elements .Lexical_Element_Acc...
11,172
ada
6
jonashaggstrom/ada-canopen
src/aco-protocols-service_data.adb
with Ada.Exceptions; with ACO.States; package body ACO.Protocols.Service_Data is procedure Indicate_Status (This : in out SDO'Class; Session : in ACO.SDO_Sessions.SDO_Session; Status : in ACO.SDO_Sessions.SDO_Status) is begin This.Sessions.Put (Session); if Status in...
11,173
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-ngcoty.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
11,174
ada
1
fabiojna02/OpenCellular
firmware/coreboot/src/drivers/intel/gma/hires_fb/gma.adb
with HW.GFX; with HW.GFX.Framebuffer_Filler; with HW.GFX.GMA; with HW.GFX.GMA.Display_Probing; use HW.GFX; use HW.GFX.GMA; use HW.GFX.GMA.Display_Probing; with GMA.Mainboard; package body GMA is fb_valid : boolean := false; linear_fb_addr : word64; fb : Framebuffer_Type; function fill_lb_framebuffer ...
11,175
ada
0
balintsoos/LearnAda
gyak/gyak6/reversal-A2/reversal.adb
procedure Reversal (T: in out Tomb) is I : Index := T'First; J : Index := T'Last; begin for S in 1 .. (T'Length / 2) loop Swap(T(I), T(J)); I := Index'Succ(I); J := Index'Pred(J); end loop; end Reversal; -- http://zsv.web.elte.hu/ada_regizhk/ -- http://zsv.web.elte.hu/ada_regizhk/regizh...
11,176
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/output.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,177
ada
0
Letractively/ada-ado
src/ado-drivers-connections.ads
<filename>src/ado-drivers-connections.ads ----------------------------------------------------------------------- -- ADO Drivers -- Database Drivers -- Copyright (C) 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this ...
11,178
ada
0
thieryw/sorting_algo
sorting_exercise.adb
with ada.text_io,ada.integer_text_io,ada.numerics.discrete_random ; use ada.text_io ; procedure sorting_exercise is type t_tableau is array(integer range <>) of integer ; t : t_tableau(1..50) ; function init_tab return t_tableau is subtype intervall is integer range 1..100 ;...
11,179
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t2.adb
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t2.adb<gh_stars>1-10 -- { dg-do run } with Init2; use Init2; with Text_IO; use Text_IO; with Dump; procedure T2 is Local_R1 : R1; Local_R2 : R2; begin Local_R1.S1 := My_R1.S1 - 1; Local_R1.I := My_R1.I + 1; Local_R1.S2 := M...
11,180
ada
0
reznikmm/slimp
source/slim-messages-visu.adb
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Message_Visiters; package body Slim.Messages.visu is List : constant Field_Description_Array := ((Uint_8_Field, 1), --...
11,181
ada
3
pyjarrett/archaic_terminal
src/common/trendy_terminal-io-line_editors.ads
with Trendy_Terminal.Histories; with Trendy_Terminal.IO; with Trendy_Terminal.Lines; -- Things which can affect editing of lines within Trendy Terminal. -- -- Line editing involves formatting, completion and handling of command history. -- package Trendy_Terminal.IO.Line_Editors is -- Updates a line to be a forma...
11,182
ada
18
jquorning/ada-wiki
src/wiki-streams-html-stream.adb
<reponame>jquorning/ada-wiki ----------------------------------------------------------------------- -- wiki-streams-html-stream -- Generic Wiki HTML output stream -- Copyright (C) 2016, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
11,183
ada
0
skill-lang/adaCommon
src/skill-equals.ads
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ equals used in skill -- -- |___/_|\_\_|_|____| by: <NAME> -- -...
11,184
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/i-cpoerr.ads
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
11,185
ada
0
alexcamposruiz/dds-requestreply
src/dds-request_reply-typed_requester_generic.adb
<filename>src/dds-request_reply-typed_requester_generic.adb<gh_stars>0 pragma Ada_2012; package body DDS.Request_Reply.Typed_Requester_Generic is ----------------------------- -- Get_Request_Data_Writer -- ----------------------------- function Get_Request_Data_Writer (Self : not null access Ref) ret...
11,186
ada
0
VitalijBondarenko/adagettext
src/adagettext.adb
------------------------------------------------------------------------------ -- -- -- Copyright (c) 2014-2015 <NAME> <<EMAIL>> -- -- -- ----------------------------...
11,187
ada
3
LionelDraghi/List_Image
src/list_image.ads
<filename>src/list_image.ads -- ----------------------------------------------------------------------------- -- Copyright 2018 <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 -- -...
11,188
ada
33
ytomino/drake
source/strings/a-snmgca.adb
pragma Check_Policy (Validate => Disable); -- with Ada.Strings.Naked_Maps.Debug; with Ada.UCD.General_Category; with System.Once; with System.Reference_Counting; package body Ada.Strings.Naked_Maps.General_Category is use type UCD.Difference_Base; procedure Fill ( To : out Character_Ranges; Table : ...
11,189
ada
0
JeremyGrosser/usb_embedded
tests/tests/device/device_descriptor/main.adb
<filename>tests/tests/device/device_descriptor/main.adb with USB_Testing; use USB_Testing; with USB_Testing.UDC_Stub; with USB_Testing.UDC_Scenarios; with HAL; use HAL; with USB; procedure Main is Scenario : aliased constant UDC_Stub.Stub_Scenario := UDC_Scenarios.Enumeration (Verbose => True)...
11,190
ada
0
Fabien-Chouteau/offmt-tool
src/offmt_lib-decoding.adb
<reponame>Fabien-Chouteau/offmt-tool with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Exceptions; with System.Storage_Elements; use System.Storage_Elements; with COBS.Stream.Decoder; with Offmt_Lib.Storage; with Offmt_Lib.Fmt_Data; package body Offmt_Lib.Decoding i...
11,191
ada
4
reznikmm/jupyter
sources/jupyter/jupyter-kernels.ads
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with League.Strings; with League.JSON.Arrays; with League.JSON.Objects; with League.JSON.Values; with League.String_Vectors; package Jupyter.Kernels is Version : c...
11,192
ada
0
JeremyGrosser/epoll-ada
example/src/app.ads
<reponame>JeremyGrosser/epoll-ada<gh_stars>0 -- -- Copyright (C) 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- with Ada.Streams; with GNAT.Sockets; with Server; package App is function On_Connect (Socket : GNAT.Sockets.Socket_Type) return Server.Socket_Action; function On_Re...
11,193
ada
1
Fabien-Chouteau/samd51-hal
src/devices/SAMD51/ATSAMD51G18A/sam-clock_generator-ids.ads
-- Generated by a script from an "avr tools device file" (atdf) package SAM.Clock_Generator.IDs is TRACE : constant Peripheral_Id := 47; AC : constant Peripheral_Id := 32; ADC0 : constant Peripheral_Id := 40; ADC1 : constant Peripheral_Id := ...
11,194
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a32c.ada
-- CD2A32C.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...
11,195
ada
24
svn2github/matreshka
examples/sql/simple_sql.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
11,196
ada
1
stcarrez/helios
src/helios-monitor-agent.adb
----------------------------------------------------------------------- -- helios-monitor-agent -- Helios monitor agent -- Copyright (C) 2017, 2019 <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 ...
11,197
ada
0
GambuzX/Pixy-SIW
pixy/src/host/pantilt_in_ada/pan_tilt.adb
-- -- Copyright (c) 2015, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above copyright -- notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT...
11,198
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtspextension_h.ads
<reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtspextension_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 glib; with System; limited with GStreamer.GST_Low_Level.g...
11,199
ada
80
thindil/steamsky
src/mobs.adb
-- 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...