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
29,700
ada
1
TNO/Dependency_Graph_Extractor-Ada
tests/syntax_examples/src/subprogram_unit.adb
with Deferred_Constant; procedure Subprogram_Unit is J : constant Integer := Deferred_Constant.I; begin null; end Subprogram_Unit;
29,701
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-stausa.adb
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
29,702
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-zchhan.adb
<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-zchhan.adb<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- --...
29,703
ada
0
Letractively/ada-awa
awa/plugins/awa-comments/src/awa-comments.ads
<reponame>Letractively/ada-awa<filename>awa/plugins/awa-comments/src/awa-comments.ads<gh_stars>0 ----------------------------------------------------------------------- -- awa-comments -- Comments module -- Copyright (C) 2009, 2010, 2011, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache Li...
29,704
ada
0
charlie5/playAda
gasp/source/mmi-applet-gasp.adb
<reponame>charlie5/playAda<gh_stars>0 with openGL.Palette, mmi.Camera.forge, mmi.Sprite, mmi.Events, lace.Observer, lace.event.Utility.local, ada.Unchecked_Deallocation; package body mmi.Applet.gasp is use Math; package std_Gasp renames standard.Gasp; gasp_world_Id :...
29,705
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/160_genericity_text/answers/swap_generics.adb
<reponame>AdaCore/training_material<gh_stars>10-100 package body Swap_Generics is procedure Swap_Generic (Value_1 : in out Data_Type; Value_2 : in out Data_Type) is Tmp : Data_Type; begin Tmp := Value_1; Value_1 := Value_2; Value_2 := Tmp; end Swap_Generic; end Swap_Generics;
29,706
ada
1
stcarrez/babel
src/babel-streams-cached.ads
<filename>src/babel-streams-cached.ads ----------------------------------------------------------------------- -- babel-streams-cached -- Cached stream management -- Copyright (C) 2014, 2015 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License");...
29,707
ada
15
My-Colaborations/dynamo
src/asis/asis-data_decomposition-set_get.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
29,708
ada
0
sciencylab/lagrangian-solver
AD_src/forward_ad.ads
with Numerics, Numerics.Sparse_Matrices; use Numerics, Numerics.Sparse_Matrices; package Forward_AD is type AD_Type is tagged private; type AD_Vector is array (Nat range <>) of AD_Type; function Var (X : in Real; I, N : in Nat; Dx : in Real := 1.0) return AD_Type; function Zero (N :...
29,709
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/prepcomp.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,710
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-taprop-dummy.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-taprop-dummy.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
29,711
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-polyhedral.adb
<filename>3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-polyhedral.adb with impact.d3.Vector; with impact.d3.graham_scan_2d_convex_Hull; with impact.d3.convex_hull_Computer, impact.d3.aabb_Util, ada.Unchecked_Deallocation; with Ada.Containers; with impact.d3.Containers; with impact....
29,712
ada
30
Componolit/libsparkcrypto
tests/util.adb
package body Util is Invalid_Input_Data : exception; --------- -- B2S -- --------- function B2S (Data : LSC.Types.Bytes) return String is use type LSC.Types.Byte; B, Nibble : LSC.Types.Byte; function Hex_Digit (D : LSC.Types.Byte) return Character is (case D is whe...
29,713
ada
2
thindil/tashy2
tests/tk-toplevel-toplevel_options_test_data.adb
<reponame>thindil/tashy2<filename>tests/tk-toplevel-toplevel_options_test_data.adb -- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sectio...
29,714
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-pehage.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,715
ada
2
rocher/TTS-Runtime-Ravenscar
examples/epoch_support.adb
package body Epoch_Support is Init_Time : constant Time := Clock + Milliseconds (1000); ----------- -- Epoch -- ----------- function Epoch return Time is (Init_Time); end Epoch_Support;
29,716
ada
0
mosteo/stopwatch
src/stopwatch.ads
<reponame>mosteo/stopwatch<gh_stars>0 private with Ada.Calendar; package Stopwatch is type Instance is tagged private; procedure Reset (This : in out Instance); function Elapsed (This : Instance) return Duration; procedure Hold (This : in out Instance; Enable : Boolean := True); -- Stop counting ti...
29,717
ada
33
ytomino/drake
source/tasking/machine-pc-linux-gnu/s-intnum.ads
pragma License (Unrestricted); -- implementation unit specialized for Linux with C.signal; package System.Interrupt_Numbers is pragma Preelaborate; First_Interrupt_Id : constant := C.signal.SIGHUP; Last_Interrupt_Id : constant := C.signal.NSIG - 1; -- SIGRTMAX (__libc_current_sigrtmax) = NSIG - 1 = 64...
29,718
ada
6
joffreyhuguet/LmcpGen
src/templates/ada/utilities.adb
<reponame>joffreyhuguet/LmcpGen package body Utilities is function LeftPad (Str: String; Level : Natural) return String is Padding: constant String (1 .. Width * Level) := (others => ' '); begin return Padding & Str; end LeftPad; end Utilities;
29,719
ada
0
fintatarta/eugen
src/Projects/eu_projects-times-time_expressions.ads
<filename>src/Projects/eu_projects-times-time_expressions.ads with Symbolic_Expressions; package EU_Projects.Times.Time_Expressions is type Symbolic_Duration is private; type Symbolic_Instant is private; type Symbolic_Instant_Array is array (Positive range <>) of Symbolic_Instant; function Min (L, R : Sy...
29,720
ada
1
LaudateCorpus1/RosettaCodeData
Task/Queue-Definition/Ada/queue-definition-12.ada
with Asynchronous_Fifo; with Ada.Text_Io; use Ada.Text_Io; procedure Asynchronous_Fifo_Test is package Int_Fifo is new Asynchronous_Fifo(Integer); use Int_Fifo; Buffer : Fifo; task Writer is entry Stop; end Writer; task body Writer is Val : Positive := 1; begin loop ...
29,721
ada
0
My-Colaborations/ada-ado
src/ado-sequences-hilo.ads
<filename>src/ado-sequences-hilo.ads ----------------------------------------------------------------------- -- ADO Sequences Hilo-- HiLo Database sequence generator -- Copyright (C) 2009, 2010, 2011, 2012, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License...
29,722
ada
26
damaki/libkeccak
src/common/keccak-generic_monkeywrap.ads
------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of s...
29,723
ada
2
reznikmm/webdriver
source/webdriver-remote.ads
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with WebDriver.Drivers; package WebDriver.Remote is function Create (URL : League.Strings.Universal_String) retu...
29,724
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt28.ads
-- { dg-do compile } -- { dg-options "-O2" } package Opt28 is function Full_Filename (Filename : String) return String; end Opt28;
29,725
ada
0
persan/a-libpcap
src/pcap_get_selectable_fd.ads
<reponame>persan/a-libpcap function loop (Self : Pcap_T ; Arg2 : int; Arg3 : Pcap_Handler; Arg4 : access Unsigned_Char) return Integer; function Dispatch (Self : Pcap_T ; Arg2 : int; Arg3 : Pcap_Handler; Arg4 : access Unsigned_Char) return Integer; fu...
29,726
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbpara__mpc5200.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
29,727
ada
0
My-Colaborations/ada-ado
src/model/ado-model.adb
----------------------------------------------------------------------- -- ADO.Model -- ADO.Model ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen.googlecode.com/s...
29,728
ada
33
ytomino/drake
source/nls/machine-w64-mingw32/s-naenen.adb
pragma Check_Policy (Trace => Ignore); with Ada.Exception_Identification.From_Here; with System.Address_To_Constant_Access_Conversions; with System.UTF_Conversions.From_16_To_32; with System.UTF_Conversions.From_32_To_16; with System.Zero_Terminated_WStrings; with C.winbase; with C.winerror; with C.winnt; package body ...
29,729
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sorting-algorithms-Merge-sort/Ada/sorting-algorithms-merge-sort-3.ada
<gh_stars>1-10 with Ada.Text_Io; use Ada.Text_Io; with Mergesort; procedure Mergesort_Test is type List_Type is array(Positive range <>) of Integer; package List_Sort is new Mergesort(Integer, Positive, List_Type); procedure Print(Item : List_Type) is begin for I in Item'range loop Put(Integ...
29,730
ada
0
ytomino/iconv-ada
source/iconv.ads
<reponame>ytomino/iconv-ada<filename>source/iconv.ads<gh_stars>0 with Ada.Finalization; with Ada.IO_Exceptions; with Ada.Streams; private with System; package iconv is pragma Preelaborate; -- get info function Version return String; pragma Inline (Version); -- renamed procedure Iterate (Process : not null ...
29,731
ada
0
skill-lang/adaCommon
src/skill-field_types-builtin-string_type_p.ads
<gh_stars>0 -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ implementation of builtin field types -- -- |___/_|\_\_|_|____| by: <NAME> ...
29,732
ada
18
jquorning/ada-wiki
src/wiki-render-wiki.adb
----------------------------------------------------------------------- -- wiki-render-wiki -- Wiki to Wiki renderer -- Copyright (C) 2015, 2016, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance ...
29,733
ada
1
Fabien-Chouteau/pygamer-simulator
src/simulator_assets.ads
-- Advanced Resource Embedder 1.1.0 with Ada.Streams; with Interfaces.C; package simulator_assets is type Content_Access is access constant Ada.Streams.Stream_Element_Array; type Name_Access is access constant String; type Format_Type is (FILE_RAW, FILE_GZIP); type Content_Type is record Name ...
29,734
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f1/stm32gd-rtc.ads
with STM32GD.Clock; with STM32GD.Clock.Tree; generic Clock : STM32GD.Clock.RTC_Source_Type; with package Clock_Tree is new STM32GD.Clock.Tree (<>); package STM32GD.RTC is subtype Second_Delta_Type is Natural range 0 .. (60 * 60 * 24); subtype Minute_Delta_Type is Natural range 0 .. (60 * 24); type Da...
29,735
ada
0
bracke/Meaning
source/Controller_Bugz.ads
with RASCAL.ToolboxQuit; use RASCAL.ToolboxQuit; with RASCAL.TaskManager; use RASCAL.TaskManager; with RASCAL.OS; use RASCAL.OS; with RASCAL.Bugz; use RASCAL.Bugz; package Controller_Bugz is type MEL_Message_Bugz_Query is new AMEL_Message_Bugz_Query with null record; t...
29,736
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_dist.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,737
ada
3
LCordial/github-rainbow
languages/ada.ada
<reponame>LCordial/github-rainbow<gh_stars>1-10 //28/03/2022 with Text_IO; use Text_IO; procedure hello is begin Put_Line("Hello world!"); end hello;
29,738
ada
9
alire-project/clic
example/src/clic_ex-commands-double_dash.adb
<filename>example/src/clic_ex-commands-double_dash.adb package body CLIC_Ex.Commands.Double_Dash is Upper_Case : aliased Boolean := False; ------------- -- Execute -- ------------- overriding procedure Execute (Cmd : in out Instance; Args : AAA.Strings.Vector) is begin if Upper_Case the...
29,739
ada
19
jrcarter/Ada_GUI
object.ads
<gh_stars>10-100 -- -- -- package Object Copyright (c) <NAME> -- -- Interface Luebeck -- -- Winter, 2002 -- -- ...
29,740
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/static_initializer5.ads
-- { dg-do compile } with Static_Initializer5_Pkg; use Static_Initializer5_Pkg; package Static_Initializer5 is type Derived is new Rec with record Target : Boolean; end record; Null_Derived : constant Derived := (Null_Rec with Target => False); end Static_Initializer5;
29,741
ada
33
ytomino/drake
source/containers/a-colili.adb
package body Ada.Containers.Linked_Lists is procedure Reverse_Iterate ( Last : Node_Access; Process : not null access procedure (Position : not null Node_Access)) is Position : Node_Access := Last; begin while Position /= null loop Process (Position); Position := Prev...
29,742
ada
1
LaudateCorpus1/RosettaCodeData
Task/Averages-Pythagorean-means/Ada/averages-pythagorean-means-3.ada
with Ada.Text_IO; with Pythagorean_Means; procedure Main is My_Set : Pythagorean_Means.Set := (1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0); Arithmetic_Mean : Float := Pythagorean_Means.Arithmetic_Mean (My_Set); Geometric_Mean : Float := Pythagorean_Means.Geometric...
29,743
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/geometry/opengl-geometry-lit_colored.ads
<filename>3-mid/opengl/source/lean/geometry/opengl-geometry-lit_colored.ads package openGL.Geometry.lit_colored -- -- Supports per-vertex color and lighting. -- is type Item is new openGL.Geometry.item with private; type View is access all Item'Class; function new_Geometry return View; ---------- --...
29,744
ada
0
sciencylab/lagrangian-solver
src/numerics-sparse_matrices.adb
<filename>src/numerics-sparse_matrices.adb package body Numerics.Sparse_Matrices is procedure Dense (Sp : in Sparse_Matrix; A : out Real_Matrix) is Offset_1 : constant Integer := A'First (1) - 1; Offset_2 : constant Integer := A'First (2) - 1; begin for X of A loop X := 0.0; en...
29,745
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/arm/nordic/nrf52/nrf52840/svd/i-nrf52-uicr.ads
-- -- Copyright (C) 2019, AdaCore -- -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code mu...
29,746
ada
6
godunko/adagl
sources/glew/opengl-contexts.adb
<reponame>godunko/adagl ------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- ...
29,747
ada
0
twdroeger/ada-awa
awa/regtests/awa-users-tests.adb
<filename>awa/regtests/awa-users-tests.adb ----------------------------------------------------------------------- -- files.tests -- Unit tests for files -- Copyright (C) 2009, 2010, 2011, 2012, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); --...
29,748
ada
1
charlie5/lace-alire
3-mid/opengl/applet/demo/camera/launch_camera_demo.adb
with openGL.Renderer.lean, openGL.Camera, openGL.Visual, openGL.Palette, openGL.Model.box.colored, openGL.Demo; procedure launch_Camera_Demo -- -- Exercise the camera. -- is use openGL, openGL.Model, openGL.Model.box, openGL.Palette, openGL.Math, ope...
29,749
ada
0
reznikmm/gela
source/nodes/program-nodes-qualified_expressions.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Qualified_Expressions; with Program.Element_Visitors; package Program....
29,750
ada
1
TNO/Rejuvenation-Ada
src/rejuvenation-match_patterns.ads
<gh_stars>1-10 with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Strings; use Ada.Strings; with Ada.Strings.Hash; package Rejuvenation.Match_Patterns is type Match_Pattern is tagged private; -- The class Match_Pattern represents a single occurrence of an AST pattern -- in an AST instance. An AST pattern...
29,751
ada
5
onox/dcf-ada
dcf/src/dcf-streams.adb
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 2008 - 2018 <NAME> (maintainer) -- 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 w...
29,752
ada
5
HeisenbugLtd/flac-ada
sources/flac-types.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam H...
29,753
ada
0
jhumphry/Ada_BinToAsc
src/tests/bintoasc-testable.adb
<reponame>jhumphry/Ada_BinToAsc -- BinToAsc_Suite.Misc_Tests -- Unit tests for BinToAsc -- Copyright (c) 2015, <NAME> - see LICENSE file for details with Ada.Characters.Handling; with AUnit.Assertions; package body BinToAsc.Testable is use Ada.Characters.Handling; use AUnit.Assertions; ------------------...
29,754
ada
7
98devin/ada-gba-dev
zfp-gba/gnat_user/s-alloca.ads
<filename>zfp-gba/gnat_user/s-alloca.ads -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. package System.Allocation is pragma Preelaborate; end System.Allocation;
29,755
ada
1
GambuzX/Pixy-SIW
pixy/src/host/pantilt_in_ada/specs/stdint_h.ads
<gh_stars>1-10 -- -- 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 ...
29,756
ada
2
thindil/tashy2
tests/tk-winfo-test_data-tests.ads
<filename>tests/tk-winfo-test_data-tests.ads -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Tk.Winfo.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Sta...
29,757
ada
1
bracke/brackelib
tests/src/tests.adb
<reponame>bracke/brackelib with AUnit.Reporter.Text; with AUnit.Run; with Container_Suite; use Container_Suite; procedure Tests is procedure Runner is new AUnit.Run.Test_Runner (Suite); Reporter : AUnit.Reporter.Text.Text_Reporter; begin AUnit.Reporter.Text.Set_Use_ANSI_Colors (Reporter, True); Runner (Rep...
29,758
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/i-cstrin.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
29,759
ada
6
yannickmoy/SPARKZumo
src/math/fixed_point_math.ads
pragma SPARK_Mode; generic type F is delta <>; package Fixed_Point_Math is function Sin (X : F) return F; function Cos (X : F) return F; -- function Sqrt (X : F) return F -- with Pre => X >= 0.0; end Fixed_Point_Math;
29,760
ada
6
gerr135/ada_gems
separation/src/data_storage.ads
<filename>separation/src/data_storage.ads<gh_stars>1-10 -- -- This module contains data storage type hierarchy. -- -- Copyright (c) 2019, <NAME> <<EMAIL>> -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS...
29,761
ada
52
onox/orka
orka/src/gl/implementation/gl-objects-textures.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2012 <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.org/licenses/LICENSE-2.0...
29,762
ada
4
faelys/gela-asis
source/asis/asis-gela-overloads-types.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
29,763
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/butil.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,764
ada
7
stcarrez/resource-embedder
src/are-generator-go.ads
----------------------------------------------------------------------- -- are-generator-go -- Generator for Go -- Copyright (C) 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- Y...
29,765
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/common/tools/fletcher16.adb
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- Module: CRC-8 -- -- Authors: <NAME> (<EMAIL>) -- -- Description: Checksum according to fletcher's algorithm with HIL; with Interfaces; use Interfaces; package body Fletcher16 with SPARK_Mod...
29,766
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-keyboard.ads
<filename>thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-keyboard.ads -- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C)...
29,767
ada
30
jscparker/math_packages
linear_algebra/tridiagonal.adb
--------------------------------------------------------------------------- -- package body Tridiagonal, symmetric matrix tridiagonalization -- Copyright (C) 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 ab...
29,768
ada
0
yannickmoy/spat
src/spat-log.adb
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the...
29,769
ada
5
jhumphry/auto_counters
src/counters/protected_counters.ads
-- protected_counters.ads -- Task safe counters for use with smart_ptrs -- Copyright (c) 2016, <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 notice and this permission notice appear in all cop...
29,770
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/comms/uxas-comms-transport-receiver-zeromq-addr_attr_msg_receivers.adb
<gh_stars>10-100 with ZMQ.Messages; with UxAS.Common.Configuration_Manager; package body UxAS.Comms.Transport.Receiver.ZeroMQ.Addr_Attr_Msg_Receivers is ---------------- -- Initialize -- ---------------- overriding procedure Initialize (This : in out ZeroMq_Addressed_Attributed_Me...
29,771
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32wl5x_cm0/stm32_svd-aes.ads
-- This spec has been automatically generated from STM32WL5x_CM0P.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.AES is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_DATATYPE_Field...
29,772
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Globe_3d/globe_3d-wire_frame.adb
pragma Warnings (Off); pragma Style_Checks (Off); with GLOBE_3D.Math; package body GLOBE_3D.Wire_frame is procedure Display_one (o : in out Wired_3D) is begin -- Call parent method: Display_one (Object_3D (o)); -- Display the wires: if o.wire /= null then GL.PushMatrix; GL.Translate (...
29,773
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sem_res.ads
<reponame>best08618/asylo<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,774
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95072b.ada
<reponame>best08618/asylo -- C95072B.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...
29,775
ada
8
flyx/OpenCLAda
src/interface/cl-contexts.ads
<filename>src/interface/cl-contexts.ads -------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- cop...
29,776
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/atomic1.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/atomic1.ads<gh_stars>1-10 -- { dg-do compile } package Atomic1 is type Arr is array (Integer range <>) of Boolean; type UA is access all Arr; U : UA; pragma Atomic (U); -- { dg-error "atomic access" "" { xfail mips*-*-* } } type R is record ...
29,777
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-groups-spinners.ads
package FLTK.Widgets.Groups.Spinners is type Spinner is new Group with private; type Spinner_Reference (Data : not null access Spinner'Class) is limited null record with Implicit_Dereference => Data; type Spinner_Kind is (Float_Spin, Int_Spin); package Forge is function Create...
29,778
ada
0
AdaForge/Advent_of_Code_2020
puzzle_05/src/puzzle_05.adb
procedure Puzzle_05 is begin null; end Puzzle_05;
29,779
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_colorbalance_h.ads
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_colorbalance_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.glib_2_0_glib_gli...
29,780
ada
15
AdaCore/training_material
courses/spark_for_ada_programmers/labs/source/070_type_contracts/important_dates.ads
package Important_Dates with SPARK_Mode => On is type Date_T is record Year : Positive := Positive'First; Month : Positive := Positive'First; Day : Positive := Positive'First; end record; type Calendar_T is private; procedure Add_Event (Calendar : in out Calendar_T; ...
29,781
ada
0
csb6/libtcod-ada
src/libtcod-maps.adb
with fov_h, Interfaces.C.Extensions; package body Libtcod.Maps is use fov_h, Interfaces.C, Interfaces.C.Extensions; subtype Limited_Controlled is Ada.Finalization.Limited_Controlled; procedure increment(x : in out X_Pos; d : X_Diff) is begin x := X_Pos(X_Diff(x) + d); end increment; function...
29,782
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_cat.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_cat.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
29,783
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95041a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95041a.ada<gh_stars>1-10 -- C95041A.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 ...
29,784
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-pm.ads
<filename>src/svd/sam_svd-pm.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.PM is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control A...
29,785
ada
3
stcarrez/ada-stemmer
src/lang/stemmer-romanian.adb
<gh_stars>1-10 -- Generated by Snowball 2.2.0 - https://snowballstem.org/ package body Stemmer.Romanian is pragma Style_Checks ("-mr"); pragma Warnings (Off, "*variable*is never read and never assigned*"); pragma Warnings (Off, "*mode could be*instead of*"); pragma Warnings (Off, "*formal parameter.*is n...
29,786
ada
1
charlie5/lace-alire
3-mid/physics/interface/source/private/box2d/box2d_physics-space.adb
with box2d_c.Binding, box2d_c.b2d_Contact, box2d_c.b2d_ray_Collision, box2d_physics.Shape, box2d_physics.Joint, c_math_c.Vector_3, c_math_c.Conversion, Swig, lace.Any, interfaces.C, ada.unchecked_Conversion; package body box2d_Physics.Space is use box2d_c.B...
29,787
ada
3
stcarrez/ada-css
src/css-comments.ads
<gh_stars>1-10 ----------------------------------------------------------------------- -- css-comments -- CSS comments recording -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with t...
29,788
ada
3
rogermc2/GA_Ada
ga_lib/src/c3ga.adb
<gh_stars>1-10 with Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with Maths; with Blade; with Blade_Types; use Blade_Types; -- with GA_Utilities; with Metric; package body C3GA is -- MV_Space_Dimension : constant Integer := 5; -- MV_Metric_Euclidean : constant Boolean := False; -- ...
29,789
ada
0
Fabien-Chouteau/COBS
src/cobs-queue-encoder.ads
<gh_stars>0 -- This unit provides a COBS encoder using lock-free BipBuffer (BBqueue). with BBqueue; package COBS.Queue.Encoder with Preelaborate is Min_Buf_Size : constant := 255; subtype Buffer_Size is BBqueue.Buffer_Size range 2 * Min_Buf_Size .. BBqueue.Buffer_Size'Last; -- The idea behind...
29,790
ada
15
My-Colaborations/dynamo
src/asis/asis-extensions-flat_kinds.ads
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
29,791
ada
1
zrmyers/VulkanAda
src/vulkan-math/vulkan-math-operators.ads
-------------------------------------------------------------------------------- -- 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 r...
29,792
ada
0
bracke/Meaning
source/RASCAL-WimpTask.adb
-------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
29,793
ada
0
corentingay/ada_epita
project/src/main.adb
with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with STM32.Board; use STM32.Board; -- with STM32.DMA2D; use STM32.DMA2D; with STM32.DMA2D_Bitmap; use STM32.DMA2D_Bitmap; with HAL; use HAL; with HAL.Bitmap; use HAL.Bitmap; -- We import the gameboy with g...
29,794
ada
4
davidkristola/vole
volem.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Command_Line; use Ada.Command_Line; with Ada.Streams.Stream_IO; with Ada.Exceptions; use Ada.Exceptions; with Interfaces; with kv.avm.Memories; with kv.avm.Assemblers; with kv.avm.Instances; with kv.avm.Machines; with kv.avm.Processors; with kv.avm.Registers; with kv.avm.Log...
29,795
ada
1
faelys/simple-webapps
generated/simple_webapps-commands-append_servers.ads
<filename>generated/simple_webapps-commands-append_servers.ads -- Generated at 2016-03-04 22:16:27 +0000 by Natools.Static_Hash_Maps -- from src/simple_webapps-append_servers-maps.sx package Simple_Webapps.Commands.Append_Servers is pragma Pure; type Endpoint_Command is (Endpoint_Error, Data_Path, ...
29,796
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/prompts/190_exceptions/main.adb
<filename>courses/fundamentals_of_ada/labs/prompts/190_exceptions/main.adb with Ada.Text_IO; use Ada.Text_IO; with Simple_Math; procedure Main is package Io is new Ada.Text_IO.Float_IO (Simple_Math.Float_T); function Get (Prompt : String) return Simple_Math.Float_T is begin Put (" " & Prompt...
29,797
ada
0
reznikmm/declarative-regions
source/regions/regions-contexts.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- private with Ada.Containers.Hashed_Maps; with Regions.Symbols; package Regions.Contexts is pragma Preelaborate; type Context is tagged limited private...
29,798
ada
1
ytomino/vampire
source/vampire-r3-register_page.adb
<gh_stars>1-10 -- The Village of Vampire by YT, このソースコードはNYSLです with Web.HTML; procedure Vampire.R3.Register_Page ( Output : not null access Ada.Streams.Root_Stream_Type'Class; Form : in Forms.Root_Form_Type'Class; Template : in String; Base_Page : in Forms.Base_Page; Village_Id : in Tabula.Villages.Village_Id := ...
29,799
ada
1
micahwelf/FLTK-Ada
src/fltk-images.ads
package FLTK.Images is type Image is new Wrapper with private; type Image_Reference (Data : not null access Image'Class) is limited null record with Implicit_Dereference => Data; type Scaling_Kind is (Nearest, Bilinear); type Blend is new Float range 0.0 .. 1.0; No_Image_Error, File_...