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
1,900
ada
24
svn2github/matreshka
source/xml/dom/xml-dom-elements.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
1,901
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/adaracer_v1/hil/hil-clock.adb
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> (<EMAIL>) with STM32.Device; -- @summary -- Target-specific mapping for HIL of Clock package body HIL.Clock with SPARK_Mode => Off is procedure configure is begi...
1,902
ada
1
LaudateCorpus1/RosettaCodeData
Task/Handle-a-signal/Ada/handle-a-signal-1.ada
with Ada.Interrupts; use Ada.Interrupts; with Ada.Interrupts.Names; use Ada.Interrupts.Names; package Sigint_Handler is protected Handler is entry Wait; procedure Handle; pragma Interrupt_Handler(Handle); pragma Attach_Handler(Handle, Sigint); private Call_Count : Natural := 0...
1,903
ada
1
irion7/aflex-ayacc-mirror
ayacc/src/alsys_dos/prstempb.ada
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/parse_template_file.a,v 1.1 88/08/08 14:20:23 arcadia Exp $ --*************************************************************************** -- This file is subject to the Arcadia License Agreement. -- -- (see notice in ayacc.a) -- --****...
1,904
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/s-imgenu.ads
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
1,905
ada
0
jquorning/CELLE
source/generate_c.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 Backend; with Sessions; package Gene...
1,906
ada
1
faelys/lithium3
src/lithium-access_log.adb
------------------------------------------------------------------------------ -- Copyright (c) 2015, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
1,907
ada
19
jrcarter/Ada_GUI
ada_gui-gnoga-gui.ads
<reponame>jrcarter/Ada_GUI<filename>ada_gui-gnoga-gui.ads -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- ...
1,908
ada
1
LaudateCorpus1/RosettaCodeData
Task/Generator-Exponential/Ada/generator-exponential-3.ada
package body Generator is -------------- -- Identity -- -------------- function Identity (X : Natural) return Natural is begin return X; end Identity; ---------- -- Skip -- ---------- procedure Skip (Gen : access Generator'Class; Count : Positive := 1) is Val : Natural; ...
1,909
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-types.ads
with Interfaces; package Tkmrpc.Types is subtype Byte is Interfaces.Unsigned_8; subtype Byte_Sequence_Range is Natural range 0 .. 2 ** 31 - 2; type Byte_Sequence is array (Byte_Sequence_Range range <>) of Byte; type Request_Id_Type is new Interfaces.Unsigned_64; type Version_Type is new Interfaces.Un...
1,910
ada
0
sebsgit/textproc
src/timer.adb
<gh_stars>0 with Ada.Calendar; with Ada.Text_IO; use Ada.Calendar; package body Timer is function start return T is result: T; begin result.clock := Ada.Calendar.Clock; return result; end start; procedure reset(tm: in out T) is begin tm.clock := Ada.Calendar.Clock; end reset...
1,911
ada
13
annexi-strayline/AURA
registrar-source_files-allocation.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
1,912
ada
33
ytomino/drake
source/tasking/machine-w64-mingw32/s-synobj.adb
<reponame>ytomino/drake<gh_stars>10-100 with Ada.Exception_Identification.From_Here; with System.Debug; -- assertions with C.winbase; with C.windef; with C.winerror; package body System.Synchronous_Objects is use Ada.Exception_Identification.From_Here; use type C.windef.DWORD; use type C.windef.WINBOOL; fu...
1,913
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-strings.adb
<reponame>Fabien-Chouteau/ada-lvlg<filename>src/lv-strings.adb with Lv.Mem; package body Lv.Strings is ---------------- -- New_String -- ---------------- function New_String (Str : String) return Lv.C_String_Ptr is use System; use Interfaces; Addr : constant System.Address := Lv.Mem.Al...
1,914
ada
4
davidkristola/vole
avm_suite.ads
<reponame>davidkristola/vole<gh_stars>1-10 with AUnit.Test_Suites; use AUnit.Test_Suites; package avm_suite is function Suite return Access_Test_Suite; end avm_suite;
1,915
ada
8
pvrego/adaino
project/src/avr-timers.ads
with Unchecked_Conversion; with System; -- ============================================================================= -- Package AVR.TIMERS -- -- Implements timers configurations for the MCU micro-controller. -- ============================================================================= package AVR.TIMERS is ...
1,916
ada
1
Hathoute/ENSEEIHT
PIM/TP10/th_sujet.adb
with TH; with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; procedure TH_Sujet is package TH_str_int is new TH (Capacite => 11, T_Cle => Unbounded_String, T_Donnee => Integer, Hachage => Length); use TH_str_int...
1,917
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_12/problem_12.ads
<gh_stars>0 with Test_Solution; use Test_Solution; package Problem_12 is type Int64 is range -2**63 .. 2**63 - 1; function Solution_1 return Int64; procedure Test_Solution_1; function Get_Solutions return Solution_Case; end Problem_12;
1,918
ada
15
mgrojo/adalib
ada-dispatching-edf.ads
-- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-...
1,919
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/prot2_pkg2.ads
generic type T is private; package Prot2_Pkg2 is type Id is private; procedure Create (B : out Id); procedure Delete (B : in out Id); private type Rec; type Id is access Rec; end Prot2_Pkg2;
1,920
ada
0
djgoku/RosettaCodeData
Task/Read-a-configuration-file/Ada/read-a-configuration-file-1.ada
<gh_stars>0 with Ada.Strings.Unbounded; with Config_File_Parser; pragma Elaborate_All (Config_File_Parser); package Config is function TUS (S : String) return Ada.Strings.Unbounded.Unbounded_String renames Ada.Strings.Unbounded.To_Unbounded_String; -- Convenience rename. TUS is much shorter than To_Unbou...
1,921
ada
52
onox/orka
orka/src/orka/implementation/orka-containers-bounded_vectors.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 -...
1,922
ada
15
My-Colaborations/dynamo
src/asis/a4g-cu_info2.ads
<filename>src/asis/a4g-cu_info2.ads ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
1,923
ada
33
ytomino/drake
source/machine-w64-mingw32/s-zetews.ads
pragma License (Unrestricted); -- implementation unit specialized for Windows with C.winnt; package System.Zero_Terminated_WStrings is pragma Preelaborate; -- This package targets at not Wide_String in Ada, not wchar_t in C -- but LPWSTR in Windows. -- convert from zero-terminated LPWSTR to UTF-8 Str...
1,924
ada
15
AdaCore/training_material
extern/game_support/stm32f4/src/stm32f429_discovery.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Hardware Abstraction Layer for STM32 Targets -- -- ...
1,925
ada
0
Letractively/ada-util
src/util-serialize-mappers-vector_mapper.adb
<reponame>Letractively/ada-util ----------------------------------------------------------------------- -- Util.Serialize.Mappers.Vector_Mapper -- Mapper for vector types -- Copyright (C) 2010, 2011, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
1,926
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_01f1.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
1,927
ada
0
xuedong/mini-ada
tests/typing/bad/testfile-type-5.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure P is type t is record x: integer; end record; type t is record y: integer; end record; begin new_line; end;
1,928
ada
24
fjudith/sql-benchmark
tools/src/excel_writer/ieee_754-generic_double_precision.adb
-- -- -- package Copyright (c) <NAME> -- -- IEEE_754.Generic_Double_Precision Luebeck -- -- Implementation Summer, 2008 -- -- ...
1,929
ada
286
auzkok/libagar
ada/original_2008/ada-gui/agar-gui-widget-titlebar.ads
with agar.gui.types; package agar.gui.widget.titlebar is subtype titlebar_t is agar.gui.types.widget_titlebar_t; subtype titlebar_access_t is agar.gui.types.widget_titlebar_access_t; subtype flags_t is agar.gui.types.widget_titlebar_flags_t; TITLEBAR_NO_CLOSE : constant flags_t := 16#01#; TITLEBAR_NO_MI...
1,930
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/return1.adb
-- { dg-do compile } -- { dg-options "-gnatwa" } package body return1 is function X_Func (O : access Child) return access Base'Class is begin return X_Local : access Base'Class do X_Local := O; end return; end X_Func; end return1;
1,931
ada
3
albinjal/ada_basic
private/tetris.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; with Ada.Real_Time; use Ada.Real_Time; with Ada.Calendar; use Ada.Calendar; procedure Tetris is Rows: Integer := 38; Cols: Integer := 22; FPS: Integer := 240; -- Höjd: Integer ...
1,932
ada
10
persan/gdnative_ada
src/exceptions/gdnative-exceptions.adb
<filename>src/exceptions/gdnative-exceptions.adb with Interfaces.C; with Interfaces.C.Strings; with Ada.Exceptions; with Ada.Exceptions.Traceback; with Ada.Finalization; with GNAT.Traceback; with GNAT.Traceback.Symbolic; with GDNative.Tokenizer; with GDNative.Context; package body GDNative.Exceptions is package ...
1,933
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85018b.ada
<reponame>best08618/asylo -- C85018B.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...
1,934
ada
1
persan/A-gst
src/gstreamer-rtsp-transport.adb
<filename>src/gstreamer-rtsp-transport.adb pragma Ada_2012; package body GStreamer.Rtsp.Transport is -------------- -- Get_Type -- -------------- function Get_Type return GLIB.GType is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Get_Type un...
1,935
ada
3
pyjarrett/archaic_terminal
tests/src/trendy_terminal-lines-tests.ads
with Trendy_Test; package Trendy_Terminal.Lines.Tests is function All_Tests return Trendy_Test.Test_Group; end Trendy_Terminal.Lines.Tests;
1,936
ada
0
sciencylab/lagrangian-solver
src/numerics-sparse_matrices-permute_by_col.adb
<reponame>sciencylab/lagrangian-solver separate (Numerics.Sparse_Matrices) function Permute_By_Col (Mat : in Sparse_Matrix; P : in Int_Array) return Sparse_Matrix is Result : Sparse_Matrix; Tmp : Nat := 1; use Ada.Text_IO; begin pragma Assert (Mat.Format = CSC); pragma Assert (P'Length = Intege...
1,937
ada
0
rtoal/enhanced-dining-philosophers
ada/reporter.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- reporter.adb -- -- Implementation of the Reporter package. ------------------------------------------------------------------------------ with Ada.Text_IO; use Ada.Text_IO; package body Reporter is protected Ou...
1,938
ada
5
onox/wayland-ada
wayland_ada_info/src/wayland_ada_info_events.adb
<reponame>onox/wayland-ada<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 -- --...
1,939
ada
0
rtoal/enhanced-dining-philosophers
ada/edp.adb
<filename>ada/edp.adb ------------------------------------------------------------------------------ -- edp.adb -- -- A compact Ada 95 simulation of the Enhanced Dining Philosophers Problem. -- By "compact" it is meant that tasks representing simulation objects are -- actually made visible to the simulation progra...
1,940
ada
0
reznikmm/slimp
source/slim-players-idle_state_visiters.ads
<reponame>reznikmm/slimp -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Message_Visiters; with Slim.Messages.BUTN; with Slim.Messages.SETD; with Slim.Messages.STAT; package Slim.Players.I...
1,941
ada
0
btmalone/alog
aunit/aunit-reporter.ads
<filename>aunit/aunit-reporter.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
1,942
ada
33
ytomino/drake
examples/random_dist.adb
with Ada.Float; with Ada.Numerics.Distributions; with Ada.Numerics.SFMT_216091; with Ada.Text_IO; procedure random_dist is package R renames Ada.Numerics.SFMT_216091; package D renames Ada.Numerics.Distributions; generic type Target is range <>; with procedure Process (X : out Target); procedure Generic_Check; ...
1,943
ada
1
alvaromb/Compilemon
src/decls.ads
-- DECLS.ads -- Paquet de declaracions package decls is pragma pure; end decls;
1,944
ada
1
LaudateCorpus1/RosettaCodeData
Task/Magic-squares-of-odd-order/Ada/magic-squares-of-odd-order.ada
with Ada.Text_IO, Ada.Command_Line; procedure Magic_Square is N: constant Positive := Positive'Value(Ada.Command_Line.Argument(1)); subtype Constants is Natural range 1 .. N*N; package CIO is new Ada.Text_IO.Integer_IO(Constants); Undef: constant Natural := 0; subtype Index is Natural range 0 .. N-1; ...
1,945
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/a-stunau.ads
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
1,946
ada
4
faelys/gela-asis
source/libgela/gela-hash-sha-b256.ads
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
1,947
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_24.ads
package Problem_24 is procedure Solve; end Problem_24;
1,948
ada
0
optikos/oasis
source/oasis/program-elements-defining_operator_symbols.ads
<filename>source/oasis/program-elements-defining_operator_symbols.ads -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Defining_Names; with Program.Lexical_Elements; package Pro...
1,949
ada
0
python36/d0xfa
src/labels.adb
package body labels is function last_label return label_t is begin return last; end last_label; function get_by_name (str : string) return label_t is cur : labels_t.cursor := labels_t.find(labels, str); begin if cur = labels_t.no_element then return null_label; end if; return (curso...
1,950
ada
0
Fabien-Chouteau/ASFML
include/sf-graphics-renderwindow.ads
<gh_stars>0 --////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2018 <NAME> (<EMAIL>) -- 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...
1,951
ada
19
jrcarter/Ada_GUI
tables.adb
-- -- -- package Tables Copyright (c) <NAME> -- -- Implementation Luebeck -- -- Spring, 2000 -- -- ...
1,952
ada
0
Statkus/json-ada
test/unit/src/test_tokenizers.ads
<reponame>Statkus/json-ada -- 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 req...
1,953
ada
1
egilhh/Futures-in-Ada
src/ada_containers_indefinite_holders.ads
with Ada.Finalization; generic type Element_Type(<>) is private; with function "=" (Left, Right : Element_Type) return Boolean is <>; package Ada_Containers_Indefinite_Holders is pragma Preelaborate(Ada_Containers_Indefinite_Holders); type Holder is tagged private; pragma Preelaborable_Initialization (...
1,954
ada
60
Letractively/ada-util
src/http/util-http-mockups.adb
----------------------------------------------------------------------- -- util-http-clients-curl -- HTTP Clients with CURL -- Copyright (C) 2012 <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 Li...
1,955
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/g-comlin.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,956
ada
0
M1nified/Ada-Samples
MergeSort/main.adb
with Ada.Text_Io; use Ada.Text_Io; procedure main is type vector is array (Integer range <>) of Integer; type vector_ptr is access vector; task type sort_split is entry PutArrayRange(vec_ptr: in vector_ptr; l, r : in Integer); entry GetResult(ok_ret : out boolean); end sort_split; type sor...
1,957
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-inputs-outputs-multiline.ads
<reponame>micahwelf/FLTK-Ada package FLTK.Widgets.Inputs.Outputs.Multiline is type Multiline_Output is new Output with private; type Multiline_Output_Reference (Data : not null access Multiline_Output'Class) is limited null record with Implicit_Dereference => Data; package Forge is ...
1,958
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35502b.ada
-- C35502B.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...
1,959
ada
7,053
Elon143/Amass
resources/scripts/cert/facebookct.ads
<gh_stars>1000+ -- Copyright 2017-2021 <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 = "FacebookCT" type = "cert" api_version = "v11.0" function start() set_rate_limit(5) end function check() l...
1,960
ada
6
godunko/adagl
sources/glew/opengl-textures-load_tga.adb
<filename>sources/glew/opengl-textures-load_tga.adb ------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- ...
1,961
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/4vcaldel.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
1,962
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/procedure_body_stub.ads
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/procedure_body_stub.ads package procedure_body_stub is procedure Inner ; end procedure_body_stub;
1,963
ada
52
onox/orka
orka_plugin_gltf/src/orka-gltf-buffers.adb
<filename>orka_plugin_gltf/src/orka-gltf-buffers.adb -- SPDX-License-Identifier: Apache-2.0 -- -- 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 --...
1,964
ada
0
fionahiklas/ada_unit_test_examples
src/alarm.ads
<filename>src/alarm.ads package Alarm is end Alarm;
1,965
ada
81
fuzzysloth/ada-awa
awa/src/awa-components-redirect.ads
----------------------------------------------------------------------- -- awa-components-redirect -- ASF Core Components -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the Lice...
1,966
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstvalue_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib; with glib.Values; with System; with System; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h; limited with GStreamer.G...
1,967
ada
5
reznikmm/GNAT-FSF-builds
sanity-checking/tests/0007-tagged/src/plop.adb
with Ada.Text_IO; package body Plop is procedure Print (This : A'Class) is begin Ada.Text_IO.Put_Line (This.Img); end Print; end Plop;
1,968
ada
2
SMerrony/dgemua
aosvs/aosvs-file_io.adb
-- MIT License -- Copyright (c) 2021 <NAME> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, p...
1,969
ada
2
ytomino/web-ada
source/web-html.ads
<reponame>ytomino/web-ada package Web.HTML is -- input function Checkbox_Value (S : String) return Boolean; -- output type HTML_Version is (HTML, XHTML); generic with procedure Write (Item : in String); Version : in HTML_Version; procedure Generic_Write_In_HTML ( Item : in String; Pre : in Boole...
1,970
ada
0
strenkml/EE368
memsim-master/src/bram.ads
-- Package to provide information on how memories can be implemented in BRAM. -- This package relies on the Device package for information on BRAMs. package BRAM is -- Get the number of BRAMs that would be required for the -- specified memory aspect ratio. function Get_Count(width : Natural; ...
1,971
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b07a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b07a.ada -- C87B07A.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 -- unlimi...
1,972
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/drivers/nxp-pint.ads
private with NXP_SVD.INPUTMUX; with HAL.GPIO; package NXP.Pint is type Pint_PinInt is (PinInt_0, PinInt_1, PinInt_2, PinInt_3, PinInt_4, PinInt_5, PinInt_6, PinInt_7) with Size => 3; type Mode_Selection is (Pint_Edge, Pint_Level); type Edge_Selection is (Pint_Rising, Pint_Falling); type ...
1,973
ada
0
faelys/natools
tests/natools-chunked_strings-tests.ads
<filename>tests/natools-chunked_strings-tests.ads ------------------------------------------------------------------------------ -- Copyright (c) 2011-2013, <NAME> -- -- -- -- Permission to use, copy, modify, and ...
1,974
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/fmap.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
1,975
ada
30
Componolit/libsparkcrypto
tests/lsc_internal_test_sha1.adb
<filename>tests/lsc_internal_test_sha1.adb ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2018 Componolit GmbH -- Copyright (C) 2011, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary ...
1,976
ada
7
Fabien-Chouteau/Giza
src/giza-context.adb
<reponame>Fabien-Chouteau/Giza ------------------------------------------------------------------------------ -- -- -- Giza -- -- ...
1,977
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0005.ads
<filename>source/league/ucd/matreshka-internals-unicode-ucd-core_0005.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
1,978
ada
13
annexi-strayline/AURA
registrar-registration-unchecked_deregister_unit.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
1,979
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
examples/stm32f0/dma/main.adb
with STM32GD.Board; use STM32GD.Board; with STM32GD.USART; use STM32GD.USART; procedure Main is RX_Buffer : USART_Data (1 .. 16); RX_Count : Natural; begin Init; LED.Set; while True loop USART.DMA_Receive (10, RX_Buffer, RX_Count); LED.Toggle; if RX_Count > 0 then USART.DMA_...
1,980
ada
20
charlie5/lace
3-mid/impact/source/2d/orbs/dynamics/contacts/impact-d2-orbs-contact-solver.ads
<gh_stars>10-100 with impact.d2.orbs.Solid; package impact.d2.orbs.contact.Solver -- -- -- is type Solid_view is access all Solid.item'Class; type Manifold_view is access all collision.b2Manifold; type b2ContactConstraintPoint is record localPoint : b2Vec2; rA, rB : ...
1,981
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-tpi.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.TPI is pragma Preelaborate; --------------- -- Registers -- --------------- subtype TPI_ACPR_PRESCALER_Field is HAL.UInt1...
1,982
ada
76
yannickmoy/SPARKNaCl
tests/random.adb
<reponame>yannickmoy/SPARKNaCl with Ada.Numerics.Discrete_Random; package body Random with SPARK_Mode => Off is pragma Compile_Time_Warning (True, "This PRNG is not cryptographically secure."); package PRNG is new Ada.Numerics.Discrete_Random (Interfaces.Unsigned_8); Gen : PRNG.Generator; function...
1,983
ada
0
Letractively/ada-asf
src/asf-servlets.adb
<filename>src/asf-servlets.adb ----------------------------------------------------------------------- -- asf.servlets -- ASF Servlets -- 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 exc...
1,984
ada
4
davidkristola/vole
kv-avm-executable_lists.adb
with Ada.Unchecked_Deallocation; with Ada.Text_IO; with kv.avm.Log; use kv.avm.Log; package body kv.avm.Executable_Lists is use kv.avm.Control; use kv.avm.Executables; ----------------------------------------------------------------------------- procedure Free is new Ada.Unchecked_Deallocation(Executabl...
1,985
ada
4
ytomino/gmp-ada
source/gmp-generic_f.adb
package body GMP.Generic_F is function To_MP_Float (X : Long_Float) return MP_Float is begin return To_MP_Float (X, Precision); end To_MP_Float; function Value (Image : String; Base : Number_Base := 10) return MP_Float is begin return Value (Image, Base, Precision); end Value; function "+" (Right : MP_...
1,986
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/globe_3d.ads
<filename>Sources/Globe_3d/globe_3d.ads ------------------------------------------------------------------------- -- GLOBE_3D - GL - based, real - time, 3D engine -- -- Copyright (c) <NAME> 2001 .. 2012 -- SWITZERLAND -- Copyright (c) <NAME> 2006 .. 2008 -- AUSTRALIA -- -- Permission is hereby granted, free of ch...
1,987
ada
204
spr93/whitakers-words
src/words_engine/words_engine-explanation_package.ads
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
1,988
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array16_pkg.ads
package Array16_Pkg is function N return Integer; end Array16_Pkg;
1,989
ada
0
leomlr/sudoku_ada-jewl
src/JEWL/jewl-message_handling.ads
------------------------------------------------------------------------------ -- -- -- J E W L . M E S S A G E _ H A N D L I N G -- -- -- ...
1,990
ada
2
egustafson/sandbox
Ada/DataStructures/Containers/test_containers.adb
with Generic_Stack, Generic_Queue; with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Strings.Bounded; use Ada.Text_IO, Ada.Integer_Text_IO; procedure Test_Containers is package String80 is new Ada.Strings.Bounded.Generic_Bounded_Length(80); package Int_Stack is new Generic_Stack(Element_Type => Integer); package...
1,991
ada
0
McNeight/Ada_Drivers_Library
arch/RISC-V/SiFive/drivers/fe310-gpio.adb
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- ...
1,992
ada
20
charlie5/lace
3-mid/opengl/source/platform/glx/private/thin/glx.ads
with Interfaces.C, System; package GLX is use Interfaces; --------- -- Types -- -- XEventQueueOwner -- type XEventQueueOwner is (nil); for XEventQueueOwner use (nil => 0); pragma Convention (C, XEventQueueOwner); type XEventQueueOwner_Pointer is access all XEventQueueOwn...
1,993
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-mastop.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
1,994
ada
1
Hathoute/ENSEEIHT
PIM/TD3_Sous_Programmes/base_valide.adb
<filename>PIM/TD3_Sous_Programmes/base_valide.adb<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Lire_Entier is Base_MAX : constant Integer := 10 + 26; -- 10 chiffres ('0'..'9') + 26 lettres ('A'..'Z') -- Est-ce que la base est valide ? fun...
1,995
ada
2
zenharris/ada-bbs
src/extools.adb
<reponame>zenharris/ada-bbs<filename>src/extools.adb<gh_stars>1-10 package body Extools is protected Resource is entry Seize (Win : Window); procedure Release ; private Busy : Boolean := False; end Resource; protected body Resource is entry Seize (Win : Window) when not Busy i...
1,996
ada
10
LionelDraghi/smk
src/smk-smkfiles.ads
<reponame>LionelDraghi/smk<gh_stars>1-10 -- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ------------------------------------------------------------------...
1,997
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt11.adb
<reponame>best08618/asylo<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-O" } package body Opt11 is procedure Proc is R : Rec; begin R := (others => <>); end; end Opt11;
1,998
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imagef.adb
<filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imagef.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
1,999
ada
1
k01ek/notowar
notowar/a/Ada.ada
<gh_stars>1-10 with Text_IO; procedure No_To_WAR is begin Text_IO.Put_line("No to war!"); end No_To_WAR;