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
2,200
ada
0
charlesdaniels/libagar
ada/core/agar-init.ads
<reponame>charlesdaniels/libagar ------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . I N I T -- -- S p e c ...
2,201
ada
0
fintatarta/fakedsp
Ada/src/fakelib/utilities-task_reaper.adb
<gh_stars>0 pragma Ada_2012; with Ada.Text_IO; with Ada.Exceptions; with Ada.Task_Identification; with Ada.Task_Termination; use Ada; package body Utilities.Task_Reaper is Verbosity : Verbosity_Level; ----------------- -- Grim_Reaper -- ----------------- protected Reaper is procedure Handler ...
2,202
ada
12
TUM-EI-RCS/StratoX
bug-reports/codepeer-units/src/units.ads
with Ada.Real_Time; use Ada.Real_Time; with Ada.Numerics; package Units with Spark_Mode is --------------------- -- The unit system --------------------- type Unit_Type is new Float with -- As tagged Type? -> Generics with Unit_Type'Class Dimension_System => ((Unit_Name => Meter, U...
2,203
ada
5
ianloic/unladen-swallow
Util/llvm/test/FrontendAda/Support/unc_constructor.ads
<filename>Util/llvm/test/FrontendAda/Support/unc_constructor.ads package Unc_Constructor is type C is null record; type A is array (Positive range <>) of C; A0 : constant A; procedure P (X : A); private A0 : aliased constant A := (1 .. 0 => (null record)); end;
2,204
ada
12
jquorning/ada-asf
src/asf-beans-flash.adb
<reponame>jquorning/ada-asf ----------------------------------------------------------------------- -- asf-beans-flash -- Bean giving access to the flash context -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this...
2,205
ada
2
Heziode/lsystem-editor
src/presenter/lse-presenter-presenter.adb
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and...
2,206
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-iteint.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
2,207
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/a-cgcaso.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
2,208
ada
5
onox/dcf-ada
dcf/src/dcf-zip-compress-deflate.ads
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 2011 - 2018 <NAME> -- SWITZERLAND -- -- 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 limita...
2,209
ada
33
ytomino/drake
source/calendar/machine-pc-freebsd/s-nattim.ads
pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) with C.sys.time; -- struct timeval with C.sys.types; -- time_t with C.time; -- struct timespec package System.Native_Time is pragma Preelaborate; -- representation type Nanosecond_Number is range -...
2,210
ada
15
AdaCore/training_material
courses/spark_for_ada_programmers/labs/source/150_crossing_the_spark_boundary/crypto.ads
<reponame>AdaCore/training_material with Interfaces.C; package Crypto with SPARK_Mode is subtype Byte is Interfaces.C.unsigned_char; subtype Key_Slot is Interfaces.C.int range 0 .. 3; type Key_Index is range 1 .. 128; type Key is array (Key_Index) of Byte; type Data_Index is range 1 .. 1024; type ...
2,211
ada
24
svn2github/matreshka
config.tests/firebird/main.adb
<filename>config.tests/firebird/main.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
2,212
ada
1
reznikmm/mount_photos
src/main.adb
-- Copyright (c) 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Text_IO; with Ada.Wide_Wide_Text_IO; with AWS.Client; with AWS.Messages; with AWS.Response; with AWS.URL; with AWS.Headers; with League.Appl...
2,213
ada
3
charlie5/aIDE
source/adam-block.adb
with AdaM.Factory; package body AdaM.Block is -- Storage Pool -- record_Version : constant := 1; max_Blocks : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "blocks", ...
2,214
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic8.adb
-- { dg-do run } procedure Atomic8 is V : array (1 .. 2) of Natural := (0,0) with Atomic_Components; task type TT1; task body TT1 is begin while V (1) + V (2) < 1_000_000 loop V (1) := V (1) + 1; end loop; end TT1; task type TT2; task body TT2 is begin while V (1) ...
2,215
ada
0
alire-project/sdlada
src/sdl-video-pixel_formats.adb
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the ...
2,216
ada
0
jrcarter/Lined
lined-searching.ads
with Lined.Buffer; with PragmARC.Matching.Character_Regular_Expression; package Lined.Searching with SPARK_Mode, Abstract_State => State is --, Initializes => State is function Terminator (Pattern : String; Delimiter : Character; Classes : Boolean := True) return Positive; -- Returns the index in Pattern of the ...
2,217
ada
24
svn2github/matreshka
source/league/arch/arm/matreshka-simd-arm.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
2,218
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45112b.ada
-- C45112B.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...
2,219
ada
1
Fabien-Chouteau/samd51-hal
src/devices/SAMD51/ATSAMD51P20A/sam-main_clock.ads
<reponame>Fabien-Chouteau/samd51-hal -- Generated by a script from an "avr tools device file" (atdf) package SAM.Main_Clock is -- HPB0 -- procedure HPB0_On with Inline; procedure HPB0_Off with Inline; -- HPB1 -- procedure HPB1_On with Inline; procedure HPB1_Off with Inline; -- HPB2 -- proced...
2,220
ada
1
LaudateCorpus1/RosettaCodeData
Task/Constrained-genericity/Ada/constrained-genericity-2.ada
<reponame>LaudateCorpus1/RosettaCodeData type Banana is new Food with null record; overriding procedure Eat (Object : in out Banana) is null; package Banana_Box is new Food_Boxes (Banana); type Tomato is new Food with null record; overriding procedure Eat (Object : in out Tomato) is null; package Tomato_Box is new Foo...
2,221
ada
0
annexi-strayline/ASAP-INET
tls/inet-internal-tls.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Internet Protocol Suite Package -- -- ...
2,222
ada
4
faelys/gela-asis
source/asis/spec/ada-unchecked_deallocation.ads
<reponame>faelys/gela-asis ------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
2,223
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-textio__prep.adb
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
2,224
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-internal-ec_signature.ads
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2012, <NAME> -- Copyright (C) 2012, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modif...
2,225
ada
0
Jellix/virtual_clocks
src/clocks-virtual_clocks.adb
------------------------------------------------------------------------ -- Copyright (C) 2010-2020 by <<EMAIL>> -- -- -- -- This work is free. You can redistribute it and/or modify it under -- -- the terms of the Do What The Fuck You W...
2,226
ada
0
reznikmm/gela
source/nodes/program-nodes-others_choices.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Others_Choices; with Program.Element_Visitors; package Program.Nodes.Others_Choices is pragma Preelaborate; t...
2,227
ada
0
antholuo/Blob_Traffic
Blob_Lib/assimp-5.2.3/assimp/contrib/zlib/contrib/ada/zlib.ads
<reponame>antholuo/Blob_Traffic version https://git-lfs.github.com/spec/v1 oid sha256:02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2 size 13594
2,228
ada
4
davidkristola/vole
kv-avm-actors.ads
with Ada.Containers.Indefinite_Ordered_Maps; with kv.avm.Instructions; with kv.avm.Registers; with kv.avm.Memories; with kv.avm.Methods; use kv.avm.Methods; package kv.avm.Actors is use kv.avm.Instructions; package Subroutines is new Ada.Containers.Indefinite_Ordered_Maps (Key_Type => String, ...
2,229
ada
33
ytomino/drake
source/numerics/a-nselfu.ads
pragma License (Unrestricted); with Ada.Numerics.Generic_Elementary_Functions; package Ada.Numerics.Short_Elementary_Functions is new Generic_Elementary_Functions (Short_Float); pragma Pure (Ada.Numerics.Short_Elementary_Functions);
2,230
ada
0
My-Colaborations/ada-ado
regtests/model/regtests-simple-model.ads
<reponame>My-Colaborations/ada-ado<filename>regtests/model/regtests-simple-model.ads ----------------------------------------------------------------------- -- Regtests.Simple.Model -- Regtests.Simple.Model ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MOD...
2,231
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/tasks-sfp/test.adb
------------------------------------------------------------------------------ -- -- -- OPEN RAVENSCAR VALIDATION TEST SUITE -- -- -- -- ...
2,232
ada
12
TUM-EI-RCS/StratoX
software/unittest/estimator/src/tools/csv.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Ordered_Maps; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package body CSV is package Associative_Str is new Ada.Containers.Ordered_Maps(Integer, Unbounded_String); package Associative_Data is new Ada.Containers.Ordered_Maps(Unbounded_String, Flo...
2,233
ada
0
Letractively/ada-ado
src/ado-queries-loaders.adb
<gh_stars>0 ----------------------------------------------------------------------- -- ado-queries-loaders -- Loader for Database Queries -- Copyright (C) 2011, 2012, 2013, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ...
2,234
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization13.ads
with Ada.Numerics.Complex_Types; use Ada.Numerics.Complex_Types; package Loop_Optimization13 is type Complex_Vector is array (Integer range <>) of Complex; type Complex_Vector_Ptr is access Complex_Vector; type Rec (Kind : Boolean := False) is record case Kind is when True => V : Complex_Vect...
2,235
ada
1
LaudateCorpus1/RosettaCodeData
Task/Pointers-and-references/Ada/pointers-and-references-8.ada
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 type Container is array (Positive range <>) of Element; for Item of Container loop Do_Something(Item); end loop;
2,236
ada
9
SALLYPEMDAS/DW1000
bsp-examples/dwm1001/tx_power.ads
<reponame>SALLYPEMDAS/DW1000<filename>bsp-examples/dwm1001/tx_power.ads ------------------------------------------------------------------------------- -- Copyright (c) 2016 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation file...
2,237
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/culler/globe_3d-culler.adb
<reponame>ForYouEyesOnly/Space-Convoy<gh_stars>1-10 pragma Warnings (Off); pragma Style_Checks (Off); package body GLOBE_3D.Culler is procedure Viewer_is (Self : in out Culler'Class; Now : p_Window) is begin self.Viewer := Now.all'Access; end; function Viewer (Self : in Culler'Class) re...
2,238
ada
0
faelys/natools
src/natools-references__protected.ads
------------------------------------------------------------------------------ -- Copyright (c) 2013-2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
2,239
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/i-os2lib.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
2,240
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_42.ads
<gh_stars>0 package Problem_42 is procedure Solve; end Problem_42;
2,241
ada
5
docandrew/troodon
include/bits_floatn_h.ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package bits_floatn_h is -- Macros to control TS 18661-3 glibc features on x86. -- Copyright (C) 2017-2021 Free Software Foundation, Inc. -- This file is part of the GNU C Library. -- The GNU ...
2,242
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/ttypes.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
2,243
ada
15
mgrojo/adalib
ada-command_line.ads
<gh_stars>10-100 -- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. ...
2,244
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/procedure_declaration.adb
procedure Procedure_Declaration is begin null; end Procedure_Declaration;
2,245
ada
76
rod-chapman/SPARKNaCl
src/sparknacl-debug.adb
<filename>src/sparknacl-debug.adb with Ada.Text_IO; use Ada.Text_IO; package body SPARKNaCl.Debug with SPARK_Mode => Off is On : constant Boolean := True; package I64IO is new Ada.Text_IO.Integer_IO (Integer_64); type BToCT is array (Byte range 0 .. 15) of Character; BToC : constant BToCT := ('0', ...
2,246
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/switch.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
2,247
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f1/stm32gd-i2c-peripheral.adb
<gh_stars>1-10 package body STM32GD.I2C.Peripheral is procedure Init is begin null; end Init; function Master_Transmit (Address : I2C_Address; Data : Byte; Restart : Boolean := False) return Boolean is begin return False; end Master_Transmit; function Master_Receive (Address : ...
2,248
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/160_genericity_text/src/main.adb
<reponame>AdaCore/training_material with Swaps; use Swaps; with Ada.Text_IO; with Sorts; use Sorts; procedure Main is V1 : Integer := 42; V2 : Integer := 43; T : Integer_List := (2, 7, 1, 9, 40, -1); begin Display_List (T); Sort(T); Display_List (T); Ada.Text_IO.Put_Line ("V1 :=" & Integer'Imag...
2,249
ada
7
TUDSSL/TICS
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/prot3_pkg.ads
package Prot3_Pkg is type Rec is record V1 : Short_Integer; V2 : Short_Integer; end record with Volatile_Full_Access; protected type Prot is procedure Foo (J : Short_Integer); private Val : Rec; end Prot; P : Prot; end Prot3_Pkg;
2,250
ada
20
charlie5/lace
3-mid/impact/source/2d/impact-d2.adb
<gh_stars>10-100 package body Impact.d2 -- -- A port of the Box2D physics engine. -- is function b2MixFriction (Friction1, Friction2 : float32) return float32 is use float_math.Functions; begin return SqRt (friction1 * friction2); end b2MixFriction; function b2MixRestitution (restituti...
2,251
ada
23
SMerrony/dashera
Src/redirector.ads
-- Copyright (C)2021,2022 <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, publish, dist...
2,252
ada
17
WinterAlexander/Ada-IntelliJ
src/main/resources/project-templates/aws_web_server_blocks/src/@_project_name_@-web_blocks.adb
with WBlocks.Widget_Counter; package body @_Project_Name_@.Web_Blocks is -------------------- -- Widget_Counter -- -------------------- procedure Widget_Counter (Request : in Status.Data; Context : not null access Web_Block.Context.Object; Translations : in out ...
2,253
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/examples/leon4-video/i2cm.ads
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- ...
2,254
ada
30
jrmarino/AdaBase
src/bindings/adabase-bindings.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Bindings is pragma Pure; end AdaBase.Bindings;
2,255
ada
0
GLADORG/template-compiler
src/compiler-lexer.ads
<filename>src/compiler-lexer.ads package Compiler.Lexer is use Node_List; subtype Uppercase is Wide_Wide_Character with Static_Predicate => Uppercase in 'A' .. 'Z'; Lexer_Error : exception; function Lex(input : Wide_Wide_String) return List; end Compiler.Lexer;
2,256
ada
9
Kidev/AdaPhysics2D
entities.ads
<reponame>Kidev/AdaPhysics2D with Vectors2D; use Vectors2D; with Materials; use Materials; with Interfaces; use Interfaces; package Entities is -- Lists all the entity types type EntityTypes is (EntCircle, EntRectangle); -- Required for layering subtype Byte is Unsigned_8; -- Abstract superclass of a...
2,257
ada
0
ytomino/gnat4drake
g-catiio.adb
<filename>g-catiio.adb package body GNAT.Calendar.Time_IO is function Image (Date : Ada.Calendar.Time; Picture : Picture_String) return String is begin raise Program_Error; -- unimplemented return Image (Date, Picture); end Image; function Value (Date : String) return Ada.Calendar.Time i...
2,258
ada
76
yannickmoy/SPARKNaCl
tests/onetimeauth2.adb
with SPARKNaCl; use SPARKNaCl; with SPARKNaCl.MAC; use SPARKNaCl.MAC; with SPARKNaCl.Debug; use SPARKNaCl.Debug; procedure Onetimeauth2 is RS : constant Poly_1305_Key := Construct ((16#ee#, 16#a6#, 16#a7#, 16#25#, 16#1c#, 16#1e#, 16#72#, 16#91#, 16#6d#, 16#11#, 16#c2#, ...
2,259
ada
0
kraileth/ravenadm
src/configure.ads
<reponame>kraileth/ravenadm -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Definitions; use Definitions; private with Ada.Characters.Latin_1; private with Parameters; package Configure is menu_error : exception; -- Interactive configuration menu ...
2,260
ada
0
Fabien-Chouteau/libriscv
src/libriscv-sim-memory_bus.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, <NAME> -- -- -- -...
2,261
ada
0
fintatarta/protypo
test/table-test/test_tabelle.adb
<reponame>fintatarta/protypo<gh_stars>0 with Protypo.Api.Interpreters; with Protypo.Api.Consumers.File_Writer; with Protypo.Api.Engine_Values.Basic_Array_Wrappers; -- with User_Records; with Integer_Arrays; with Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with Ada.Exceptions; with Protypo.Api.Engine_Values.T...
2,262
ada
1
danva994/ASFML-1.6
include/sf-network-types.ads
<filename>include/sf-network-types.ads -- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 <NAME> (<EMAIL>) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the a...
2,263
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libhwbase/common/hw-time.ads
<reponame>fabiojna02/OpenCellular -- -- Copyright (C) 2015-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...
2,264
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-inputs-multiline.adb
<filename>src/fltk-widgets-inputs-multiline.adb with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Inputs.Multiline is procedure multiline_input_set_draw_hook (W, D : in System.Address); pragma Import (C, multiline_input_set_draw_hook, "multilin...
2,265
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-tables-standard_profile_l3_metamodel-properties.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
2,266
ada
1
Fabien-Chouteau/samd51-hal
src/drivers/sercom_u2201/sam-sercom-spi.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
2,267
ada
15
My-Colaborations/dynamo
src/asis/a4g-a_debug.adb
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
2,268
ada
65
PThierry/ewok-kernel
src/arch/socs/stm32f429/soc-system.adb
<reponame>PThierry/ewok-kernel -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy o...
2,269
ada
0
ytomino/iconv-ada
examples/version.adb
with Ada.Text_IO; with iconv; procedure version is begin Ada.Text_IO.Put_Line (iconv.Version); end version;
2,270
ada
24
svn2github/matreshka
testsuite/xml/pretty_writer/simple_test/simple_test.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
2,271
ada
33
ytomino/drake
source/strings/a-strfix.ads
<filename>source/strings/a-strfix.ads pragma License (Unrestricted); with Ada.Strings.Functions.Maps; with Ada.Strings.Maps; package Ada.Strings.Fixed is pragma Preelaborate; -- "Copy" procedure for strings of possibly different lengths procedure Move ( Source : String; Target : out String; ...
2,272
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-toolbar.ads
with agar.gui.widget.box; with agar.gui.widget.button; package agar.gui.widget.toolbar is type type_t is (TOOLBAR_HORIZ, TOOLBAR_VERT); for type_t use (TOOLBAR_HORIZ => 0, TOOLBAR_VERT => 1); for type_t'size use c.unsigned'size; pragma convention (c, type_t); type flags_t is new c.unsigned; TOOLBAR_HOM...
2,273
ada
3
jwarwick/aoc_2020
day03/src/day.ads
<gh_stars>1-10 -- AOC 2020, Day 3 with Ada.Containers.Ordered_Sets; package Day is type Forest is private; function load_map(filename : in String) return Forest; function trees_hit(f : in Forest; slope : in Natural) return Natural; function many_trees_hit(f : in Forest) return Natural; private type Posit...
2,274
ada
1
XMoose25X/Advanced-Dungeon-Assault
Source/player_test.adb
with Ada.Integer_Text_IO; Use Ada.Integer_Text_IO; with Ada.Text_IO; Use Ada.Text_IO; with inventory_list; Use inventory_list; with player; Use player; with save_load_game; Use save_load_game; with stats; Use stats; Procedure player_test is response : Integer := -1; response2 : Integer := -...
2,275
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-uml_connector_ends.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
2,276
ada
24
svn2github/matreshka
source/amf/mof/cmof/amf-cmof-elements.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
2,277
ada
1
faelys/natools-web
src/natools-web-containers.ads
------------------------------------------------------------------------------ -- Copyright (c) 2014-2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
2,278
ada
0
reznikmm/gps-tracker
source/receiver/main/lora.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Interfaces; with Ada.Streams; generic with procedure Raw_Read (Address : Interfaces.Unsigned_8; Value : out Interfaces.Unsigned_8); with procedur...
2,279
ada
33
persan/zeromq-Ada
examples/zmq-examples-sparse.ads
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, <EMAIL> -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this s...
2,280
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/sinput-l.ads
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
2,281
ada
52
onox/orka
orka/src/orka/implementation/orka-contexts.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 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 -...
2,282
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/comms/uxas-comms-lmcp_object_message_receiver_pipes.adb
<gh_stars>10-100 with ZMQ.Sockets; with AVTAS.LMCP.Factory; with UxAS.Comms.Transport.ZeroMQ_Socket_Configurations; use UxAS.Comms.Transport.ZeroMQ_Socket_Configurations; with UxAS.Comms.Transport.Network_Name; with UxAS.Common.String_Constant.Lmcp_Network_Socket_Address; use UxAS.Common.String_Constant.Lmcp_Netwo...
2,283
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/opt.adb
<filename>tools-src/gnu/gcc/gcc/ada/opt.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
2,284
ada
0
theurt/PageRank
sources/b~pagerank.adb
<reponame>theurt/PageRank<gh_stars>0 pragma Warnings (Off); pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b~pagerank.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b~pagerank.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body ada_main is E075 : Short_Int...
2,285
ada
0
persan/advent-of-code-2020
src/day-9/adventofcode-day_9-main.adb
<filename>src/day-9/adventofcode-day_9-main.adb with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_9.Main is D : Decoder (1024); Key : Long_Integer := 0; Answer : Long_Integer := 0; begin D.Read ("src/day-9/input.test"); D.Scan (5, Key); Put_Line (Key'Img); D.Read ("src/day-9/input.te...
2,286
ada
18
kraileth/ravenadm
src/information.ads
<filename>src/information.ads -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt private with Ada.Characters.Latin_1; private with Definitions; package Information is procedure display_usage; procedure display_unknown_command (first_word : String); proce...
2,287
ada
5
MLH/mlh-localhost-adacore
src/example.adb
<filename>src/example.adb with Ada.Text_IO; use Ada.Text_IO; with Stack; use Stack; procedure Example is Done : Boolean := False; -------------------- -- Get_User_Input -- -------------------- function Get_User_Input return Character is begin loop declare User_Input...
2,288
ada
1
LaudateCorpus1/RosettaCodeData
Task/Function-definition/Ada/function-definition-1.ada
function Multiply (A, B : Float) return Float;
2,289
ada
60
Letractively/ada-util
src/util-beans-basic-ranges.ads
----------------------------------------------------------------------- -- util-beans-basic-ranges -- Range of values with helper for list iteration -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except ...
2,290
ada
0
caqg/linux-home
.emacs.d/elpa/wisi-3.1.3/wisitoken-generate-lr-lr1_generate.ads
-- Abstract : -- -- LR1 (Left-to-right scanning 1 look-ahead) parser table generator. -- -- References: -- -- [dragon] "Compilers Principles, Techniques, and Tools" by Aho, -- Sethi, and Ullman (aka: "The [Red] Dragon Book"). -- -- Copyright (C) 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part ...
2,291
ada
12
reznikmm/protobuf
source/compiler/compiler-file_descriptors.adb
-- MIT License -- -- Copyright (c) 2020 <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...
2,292
ada
0
faelys/natools
src/natools-smaz_generic.adb
<reponame>faelys/natools ------------------------------------------------------------------------------ -- Copyright (c) 2016, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software ...
2,293
ada
1
stcarrez/babel
src/babel-files-buffers.ads
----------------------------------------------------------------------- -- babel-files-buffers -- File buffer management -- Copyright (C) 2014, 2015 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file excep...
2,294
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt21.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt21.adb -- { dg-do run } -- { dg-options "-O2" } with System; with Opt21_Pkg; use Opt21_Pkg; procedure Opt21 is V : System.Address := Convert (null); begin null; end;
2,295
ada
30
jscparker/math_packages
linear_algebra/peters_eigen.ads
---------------------------------------------------------------------- -- package Peters_Eigen, eigendecomposition -- Copyright (C) 2008-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 -- copyright not...
2,296
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/sdl_h.ads
<filename>extern/gnat_sdl/gnat_sdl2/src/sdl_h.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_stdinc_h; package SDL_h is SDL_INIT_TIMER : constant := 16#00000001#; -- ..\SDL2_tmp\SDL.h:77 SDL_INIT_AUDIO : constant := 16#00000010#; -- ..\SDL2_tmp\SDL.h:78 SDL...
2,297
ada
8
flyx/OpenCLAda
src/implementation/cl-contexts.adb
<gh_stars>1-10 -------------------------------------------------------------------------------- -- 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 that the above -- copyright notice and this pe...
2,298
ada
0
JCGobbi/Nucleo-STM32H743ZI
SVD2ada/svd/stm32_svd-rtc.ads
<filename>SVD2ada/svd/stm32_svd-rtc.ads pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.RTC is pragma Preelaborate; --------------- -- Registers -- --------------- subty...
2,299
ada
5
docandrew/troodon
src/render.ads
<reponame>docandrew/troodon with Interfaces.C; with GLX; with xcb; with xproto; with Xlib; -- with setup; package Render is OpenGLException : Exception; -- function getVisualID return Interfaces.C.int; -- procedure setVisualID(id : Interfaces.C.int); type RenderBackend is (SOFTWARE, OPENGL); -- ...