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
9,300
ada
12
TUM-EI-RCS/StratoX
software/hal/hpl/STM32/drivers/debug_stm32f4/stm32-debug.ads
<reponame>TUM-EI-RCS/StratoX -- Debug Exception and Monitor Control Register pragma Restrictions (No_Elaboration_Code); with Interfaces; use Interfaces; with System; package STM32.Debug is Debug_Core_Base : constant System.Address := System'To_Address (16#E000_EDF0#); -------------------- -- DEMCR_Re...
9,301
ada
0
skill-lang/adaCommon
src/skill-internal-file_parsers.adb
<gh_stars>0 -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ file parser implementation -- -- |___/_|\_\_|_|____| by: <NAME> ...
9,302
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal.adb
with impact.d3.Vector, impact.d3.Scalar, impact.d3.Transform, impact.d3.aabb_Util; package body impact.d3.Shape.convex.internal is function getImplicitShapeDimensions (Self : in Item) return math.Vector_3 is begin return Self.m_implicitShapeDimensions; end getImplicitShapeDimensio...
9,303
ada
0
DrenfongWong/tkm-rpc
specs/ada/common/tkmrpc-operations-cfg.ads
<filename>specs/ada/common/tkmrpc-operations-cfg.ads package Tkmrpc.Operations.Cfg is Tkm_Version : constant Operations.Operation_Type := 16#0000#; Tkm_Limits : constant Operations.Operation_Type := 16#0001#; Tkm_Reset : constant Operations.Operation_Type := 16#0002#; end Tkmrpc.Operations.Cfg;
9,304
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-rtc.ads
<reponame>rocher/Ada_Drivers_Library -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must...
9,305
ada
0
alexcamposruiz/dds-requestreply
examples/hello_world_request_reply2/src/primes.ads
package Primes is end Primes;
9,306
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-polyhedral_contact_clipping.adb
<reponame>charlie5/lace -- #include "impact.d3.collision.polyhedral_contact_Clipping.h" -- #include "BulletCollision/CollisionShapes/impact.d3.convex_Polyhedron.h" -- -- #include <float.h> //for FLT_MAX with Impact.d3.Vector; with Impact.d3.Transform; package body Impact.d3.Collision.polyhedral_contact_Clipping ...
9,307
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-mastop-irix.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,308
ada
0
joewing/arbitrary
arbitrary-log.ads
-------------------------------------------------------------------------- -- Arbitrary Precision Math Library: Logarithmic Functions -- <NAME> 20020320 <> 20020327 -------------------------------------------------------------------------- package Arbitrary.Log is function Exp(a : Arbitrary_Type) return Arbitrary_Ty...
9,309
ada
0
reznikmm/gela
source/oasis/program-elements-type_declarations.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.Definitions; with Program.Elements.Asp...
9,310
ada
0
Fabien-Chouteau/spdx_ada
src/spdx-licenses.adb
<reponame>Fabien-Chouteau/spdx_ada package body SPDX.Licenses is -------------- -- Valid_Id -- -------------- function Valid_Id (Str : String) return Boolean is begin return (for some I in Id => Str = Img (I)); end Valid_Id; ------------- -- From_Id -- ------------- function From...
9,311
ada
0
reznikmm/gela
examples/dump_tree/def_name.adb
<filename>examples/dump_tree/def_name.adb -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Characters.Conversions; with Ada.Command_Line; with Ada.Wide_Wide_Text_IO; with Program.Compilation_Unit_Vectors; ...
9,312
ada
0
Intelligente-sanntidssystemer/Ada-prosjekt
ADA_Project/src/sensor.adb
with NRF52_DK.Time; use NRF52_DK.Time; with HAL; use HAL; package body sensor is function Distance(TrigPin, EchoPin : NRF52_DK.IOs.Pin_Id) return Float is TimeNow : Time_Ms; --Maximum distance of sensor is 400cm = 23200uS. We add a 1ms margin on top of that DeadlineMicroseconds : constant Inte...
9,313
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l151/stm32_svd-exti.ads
-- This spec has been automatically generated from STM32L151.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.EXTI is pragma Preelaborate; --------------- -- Registers -- --------------- subtype IMR_MR_Field is HAL.U...
9,314
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/nested_subtype_byref.ads
package Nested_Subtype_Byref is procedure Check; end;
9,315
ada
1
LaudateCorpus1/RosettaCodeData
Task/Constrained-genericity/Ada/constrained-genericity-1.ada
with Ada.Containers.Indefinite_Vectors; package Nutrition is type Food is interface; procedure Eat (Object : in out Food) is abstract; end Nutrition; with Ada.Containers; with Nutrition; generic type New_Food is new Nutrition.Food; package Food_Boxes is package Food_Vectors is new Ada.Containers.I...
9,316
ada
1
Hathoute/ENSEEIHT
PIM/Projet/src/th.ads
with LCA; -- Définition de structures de données associatives sous forme de tables de hachage. generic type T_Cle is private; type T_Donnee is private; with function Hachage (Cle : in T_Cle) return Integer; package TH is package T_LCA_C is new LCA (T_Cle => T_Cle, T_Donnee => T_Donnee); type T_T...
9,317
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/private_with.ads
<gh_stars>1-10 -- { dg-do compile } private with Ada.Containers.Ordered_Maps; with Ada.Containers.Ordered_Sets; with Ada.Unchecked_Deallocation; package private_with is type String_Access is access String; package Index_Sets is new Ada.Containers.Ordered_Sets (Element_Type => Positive); procedure Fre...
9,318
ada
4
reznikmm/torrent
source/torrent-storages.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Containers.Bounded_Ordered_Maps; with Ada.Streams.Stream_IO; with League.Strings; with Torrent.Metainfo_Files; package Torrent.Storages is ...
9,319
ada
0
SKNZ/BezierToSTL
src/util/vecteurs.ads
<reponame>SKNZ/BezierToSTL with Liste_Generique; package Vecteurs is type Vecteur is array(Positive range<>) of Float; subtype Point2D is Vecteur(1..2); subtype Point3D is Vecteur(1..3); package Liste_Points is new Liste_Generique(Point2D); type Facette is record P1, P2, P3 : Point3D; ...
9,320
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cb/cb4007a.ada
<reponame>best08618/asylo -- CB4007A.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...
9,321
ada
1
meowthsli/veriflight_boards
cc3df4revo/src/usb/usb_handler.ads
<gh_stars>1-10 with Ada.Interrupts; with Ada.Interrupts.Names; package usb_handler is protected Device_Interface is pragma Interrupt_Priority; procedure Handler; pragma Attach_Handler (Handler, Ada.Interrupts.Names.OTG_FS_Interrupt); end Device_Interface; end usb_handler;
9,322
ada
0
reznikmm/gela
source/nodes/program-nodes-exception_renaming_declarations.adb
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Exception_Renaming_Declarations is function Create (Names : not null Program.Elements.Defining_Ident...
9,323
ada
24
svn2github/matreshka
source/uaflex/lib/uaflex-scanners.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
9,324
ada
1
LaudateCorpus1/RosettaCodeData
Task/Environment-variables/Ada/environment-variables-3.ada
with Ada.Wide_Wide_Text_IO; with League.Application; with League.Strings; procedure Main is function "+" (Item : Wide_Wide_String) return League.Strings.Universal_String renames League.Strings.To_Universal_String; begin Ada.Wide_Wide_Text_IO.Put_Line (League.Application.Environment.Value (+"HOM...
9,325
ada
0
thierr26/ada-apsepp
src/apsepp-test_reporter_class-stub-create.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. function Apsepp.Test_Reporter_Class.Stub.Create return Test_Reporter_Stub;
9,326
ada
1
reznikmm/network
source/network-addresses.adb
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Unchecked_Conversion; with Interfaces; with League.String_Vectors; with League.Regexps; with League.Text_Codecs; with League.Stream_Element_Vectors; package bod...
9,327
ada
0
Fabien-Chouteau/ASFML
tests/example/main.adb
<reponame>Fabien-Chouteau/ASFML -- This is the official SFML example converted to ASFML with Ada.Command_Line; with Sf.Window.Videomode; use Sf, Sf.Window, Sf.Window.Videomode; with Sf.Window.Event; use Sf.Window.Event; with Sf.Window.Window; use Sf.Window.Window; with Sf.Graphics.Color; use Sf.Graphics, Sf.Graphics...
9,328
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto5_pkg.ads
pragma Eliminate (p, d); package Lto5_Pkg is type t is tagged null record; procedure d (a : t); end;
9,329
ada
26
damaki/libkeccak
src/common/keccak-generic_parallel_sponge.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...
9,330
ada
20
yannickmoy/spat
src/spat-string_vectors.adb
<reponame>yannickmoy/spat<filename>src/spat-string_vectors.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 Publ...
9,331
ada
10
persan/gdnative_ada
src/gdnative-objects.ads
package GDNative.Objects is ------------ -- Object -- ------------ type Object is abstract tagged null record; function Initialize return Object is abstract; ---------- -- Node -- ---------- type Node is abstract new Object with null record; procedure Process (Self : in out Node; Delta_Time : in L...
9,332
ada
0
faicaltoubali/ENSEEIHT
Projects/Arbre_Genealogique/livrables/registre.ads
--Spécification du module registre with Ada.Strings.Unbounded ; use Ada.Strings.Unbounded ; generic Capacite : Integer ; package registre is Identifiant_Absent_Exception : Exception ; Identifiant_Present_Exception : Exception ; type T_Mois is (Janvier, Fevrier, Mars , Avr...
9,333
ada
15
jquorning/dynamo
src/gen-utils.ads
<gh_stars>10-100 ----------------------------------------------------------------------- -- gen-utils -- Utilities for model generator -- Copyright (C) 2010, 2011, 2012, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exc...
9,334
ada
6
mgrojo/COVID-19_Simulator
src/covidsimform.ads
with Qt; use Qt; package CovidSimForm is type Simulation_Engine is (Lancet, XPH_Pharmaceutical); covidsim_form : QWidgetH; procedure covidsim_form_init (parent : QWidgetH := null); procedure slot_change_simulation_engine (simulation_engine_beautiful_name : QStringH); pragma Convention (C, slot_chang...
9,335
ada
33
ytomino/drake
source/numerics/a-ngcoty.ads
<reponame>ytomino/drake<gh_stars>10-100 pragma License (Unrestricted); generic type Real is digits <>; package Ada.Numerics.Generic_Complex_Types is pragma Pure; type Complex is record Re, Im : Real'Base; end record; pragma Complex_Representation (Complex); type Imaginary is private; pragma...
9,336
ada
1
LaudateCorpus1/RosettaCodeData
Task/Loops-While/Ada/loops-while.ada
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Loops-While/Ada/loops-while.ada declare I : Integer := 1024; begin while I > 0 loop Put_Line(Integer'Image(I)); I := I / 2; end loop; end;
9,337
ada
0
reznikmm/gela
source/resolver/program-simple_resolvers.adb
<reponame>reznikmm/gela<gh_stars>0 -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Safe_Element_Visitors; package body Program.Simple_Resolvers is type Visitor (SR : not null Simple_Resolver_A...
9,338
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2201l.ada
-- CE2201L.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...
9,339
ada
3
stcarrez/ada-css
tools/css-analysis-classes.adb
----------------------------------------------------------------------- -- css-analysis-classes -- CSS Class Analysis -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License....
9,340
ada
81
fuzzysloth/ada-awa
awa/plugins/awa-tags/src/awa-tags-modules.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-tags-modules -- Module awa-tags -- Copyright (C) 2013, 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance w...
9,341
ada
0
sebsgit/textproc
src/databatch.ads
with Ada.Containers.Vectors; use Ada.Containers; with MathUtils; package DataBatch is pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); package VecPkg is new Ada.Containers.Vectors(Index_Type => Positive, ...
9,342
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-flash.ads
-- This spec has been automatically generated from STM32L5x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.Flash is pragma Preelaborate; --------------- -- Registers -- --------------- subtype ACR_LATENCY_Field is...
9,343
ada
6
gerr135/ada_gems
mixins/src/generic_mixin.ads
<gh_stars>1-10 with base_iface; use base_iface; generic type Base is tagged limited private; package generic_mixin is type Derived is new Base and The_Interface with null record; overriding procedure simple (Self : Derived); overriding procedure compound (Self : Derived); overriding pro...
9,344
ada
3
onox/orka-demo
src/physics/integrators-rk4.ads
package Integrators.RK4 is pragma Preelaborate; -- Runge Kutta order 4 integrator type RK4_Integrator is new Integrator with private; overriding procedure Integrate (Object : in out RK4_Integrator; Subject : in out Physics_Object'Class; T, DT : GL.Types.Double); overriding ...
9,345
ada
0
balintsoos/LearnAda
gyak/gyak4/sorok/sorok.ads
<filename>gyak/gyak4/sorok/sorok.ads package Sorok is subtype Elem is Integer; type Sor( Max: Positive ) is limited private; procedure Hiext( S: in out Sor; E: in Elem ); procedure Lopop( S: in out Sor; E: out Elem ); function Lov( S: Sor ) return Elem; function Is_Empt...
9,346
ada
0
skordal/databases
src/databases-utilities.ads
-- Databases - A simple database library for Ada applications -- (c) <NAME> 2019 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/databases/issues> -- vim:ts=3:sw=3:et:si:sta with Databases; package Databases.Utilities is -- Directly executes a statement and returns only the status: func...
9,347
ada
0
JCGobbi/Nucleo-STM32H743ZI
SVD2ada/svd/stm32_svd-fdcan.ads
<gh_stars>0 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.FDCAN is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CREL_DAY_Field is HAL.U...
9,348
ada
33
ytomino/drake
source/streams/a-titest.adb
<reponame>ytomino/drake package body Ada.Text_IO.Text_Streams is procedure Open ( File : in out File_Type; Mode : File_Mode; Stream : Stream_Access; Name : String := ""; Form : String) is NC_File : Naked_Text_IO.Non_Controlled_File_Type renames Controlled.Reference (F...
9,349
ada
0
persan/advent-of-code-2020
src/day-15/adventofcode-day_15-main.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_15.Main is begin Put_Line ("Day-15"); end Adventofcode.Day_15.Main;
9,350
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstaudiosink_h.ads
<gh_stars>1-10 pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstbaseaudiosink_h; -- limited -- with GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h; limited with G...
9,351
ada
1
aherd2985/Amass
resources/scripts/archive/archiveit.ads
-- Copyright 2017 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "ArchiveIt" type = "archive" function start() setratelimit(5) end function vertical(ctx, domain) scrape(ctx, {['url']=firsturl(domain)}) checkratelimit()...
9,352
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada05/s-bbseou.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
9,353
ada
13
annexi-strayline/AURA
build-hash_compilation_orders.adb
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
9,354
ada
2
Spohn/LegendOfZelba
adventure.adb
with ada.text_io; use ada.text_io; with screen; use screen; with NPC_PC; use NPC_PC; with enemy_bst; use enemy_bst; with intro; use intro; with w_gen; use w_gen; with list_lib; use list_lib; procedure adventure is ----------------------------------------------- -- Name: <NAME> -- <NAME> -- Date: 4/20/07 -- The ...
9,355
ada
1
LaudateCorpus1/RosettaCodeData
Task/Four-bit-adder/Ada/four-bit-adder-1.ada
<filename>Task/Four-bit-adder/Ada/four-bit-adder-1.ada type Four_Bits is array (1..4) of Boolean; procedure Half_Adder (Input_1, Input_2 : Boolean; Output, Carry : out Boolean) is begin Output := Input_1 xor Input_2; Carry := Input_1 and Input_2; end Half_Adder; procedure Full_Adder (Input_1, Input_2 : Boolean...
9,356
ada
0
fintatarta/eugen
src/Plugin_Tables/Examples/basic_example.ads
<reponame>fintatarta/eugen with Plugins.Tables; package Prova is type Pippo is abstract tagged null record; function Constructor (Params : not null access Plugins.No_Parameters) return Pippo is abstract; package Table_Int is new Plugins.Tables (Root_Plugin_Type => Pippo, ...
9,357
ada
0
fintatarta/protypo
src/API/protypo-api-engine_values-indefinite_vector_wrappers.ads
<filename>src/API/protypo-api-engine_values-indefinite_vector_wrappers.ads with Ada.Containers.Indefinite_Vectors; with Protypo.Api.Engine_Values.Engine_Value_Array_Wrappers; with Protypo.Api.Engine_Values.Engine_Value_Vectors; with Protypo.Api.Engine_Values.Handlers; -- -- ## What is this? -- -- This is a generic pa...
9,358
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/prj-ext.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,359
ada
0
lkujaw/felix
src/cstandio.ads
<reponame>lkujaw/felix ------------------------------------------------------------------------------ -- 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 w...
9,360
ada
22
FardaleM/metalang
out/prologin_template_intlist.adb
<reponame>FardaleM/metalang<gh_stars>10-100 with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure prologin_template_intlist is type stringptr is access all char_array; procedure ...
9,361
ada
81
fuzzysloth/ada-awa
awa/plugins/awa-votes/src/awa-votes-beans.adb
<filename>awa/plugins/awa-votes/src/awa-votes-beans.adb ----------------------------------------------------------------------- -- awa-votes-beans -- Beans for module votes -- Copyright (C) 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may n...
9,362
ada
9
onox/inotify-ada
examples/monitor.adb
<reponame>onox/inotify-ada -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2019 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache...
9,363
ada
33
persan/zeromq-Ada
examples/zmq-examples-multi_thread_server.adb
<filename>examples/zmq-examples-multi_thread_server.adb ------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, <EMAIL> -- -- -- -- Permission is hereby granted, free of ...
9,364
ada
0
jwarwick/aoc_2019_ada
intcode/src/intcode.ads
-- IntCode Interpreter with Ada.Containers; with Ada.Containers.Hashed_Maps; with Ada.Containers.Vectors; package IntCode is procedure load(s : String); procedure load_file(path : String); procedure eval; procedure append_input(val : Integer); function take_output return Integer; procedure poke(addr : Na...
9,365
ada
0
likai3g/afmt
src/fmt-string_argument.adb
package body Fmt.String_Argument is function UTF8_Length (Ch : Character) return Natural is begin case Character'Pos(Ch) is when 2#00_000000# .. 2#01_111111# => return 1; when 2#110_00000# .. 2#110_11111# => return 2; when 2#1110_0000# .. 2#1110_1111#...
9,366
ada
60
RREE/ada-util
src/core/strings/util-strings-formats.ads
----------------------------------------------------------------------- -- util-strings-formats -- String formatting helper -- Copyright (C) 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the L...
9,367
ada
4
ddugovic/words
tricks_package.ads
<reponame>ddugovic/words with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE; package TRICKS_PACKAGE is procedure SYNCOPE(W : STRING; PA : in out PARSE_ARRAY; PA_LAST : in out INTEGER); procedure TRY_TRICKS(W : STRING; PA : in out PARSE_ARRAY; PA_LAST ...
9,368
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/3wsocthi.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,369
ada
18
kraileth/ravenadm
src/port_specification-makefile.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Definitions; use Definitions; private with Ada.Text_IO; package Port_Specification.Makefile is -- This generates a makefile from the specification based on given parameters -- The variant must be "s...
9,370
ada
4
davidkristola/vole
kv-avm-frames.adb
<filename>kv-avm-frames.adb with Ada.Unchecked_Deallocation; with Ada.Unchecked_Conversion; with System; with kv.avm.memories; with kv.avm.Log; use kv.avm.Log; with kv.avm.Instances; with kv.avm.Messages; with kv.avm.Actor_Pool; with kv.avm.Executables; package body kv.avm.Frames is use Interfaces; use kv.avm....
9,371
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/5ftasinf.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,372
ada
5
docandrew/troodon
include/bits_types_sigset_t_h.ads
<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_u_sigset_t_h; package bits_types_sigset_t_h is -- A set of signals to be blocked, unblocked, or waited for. subtype sigset_t is bits_types_u_sigset_t_h.uu_sigset_t; -- /usr/include/bits/types/sigs...
9,373
ada
33
ytomino/drake
source/textio/a-lcteio.ads
pragma License (Unrestricted); with Ada.Numerics.Long_Complex_Types; with Ada.Text_IO.Complex_IO; package Ada.Long_Complex_Text_IO is new Text_IO.Complex_IO (Numerics.Long_Complex_Types);
9,374
ada
1
Kurinkitos/Twizy-Security
src/interface_utils.ads
<reponame>Kurinkitos/Twizy-Security with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package Interface_utils with SPARK_Mode is function Convert_C_Bool(input : in Extensions.bool) return Boolean with Global => Null; end Interface_utils;
9,375
ada
0
dpr1005/Tiempo-Real-Ejercicios
Practica 02/P02_Ficheros/obj/b__fich_1.adb
pragma Warnings (Off); pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__fich_1.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__fich_1.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body ada_main is E070 : Short_Integer; pragma Import (Ada, E070...
9,376
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-valuti.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
9,377
ada
0
Letractively/ada-asf
src/asf-components-utils-flush.adb
----------------------------------------------------------------------- -- components-utils-flush -- Flush javascript queue and response -- 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 com...
9,378
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-tposen.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
9,379
ada
12
TUM-EI-RCS/StratoX
software/hal/boards/common/tools/units-operations.ads
<reponame>TUM-EI-RCS/StratoX package Units.Operations with SPARK_Mode is -- instantiate some useful functions for the units. Cannot be done function Sum_Time is new Saturated_Addition (T => Time_Type); end Units.Operations;
9,380
ada
15
jquorning/dynamo
src/gen-artifacts-query.ads
----------------------------------------------------------------------- -- gen-artifacts-query -- Query artifact for Code Generator -- Copyright (C) 2011, 2012, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in co...
9,381
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32f40x/stm32_svd-sdio.ads
<gh_stars>1-10 -- This spec has been automatically generated from STM32F40x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.SDIO is pragma Preelaborate; --------------- -- Registers -- --------------- subtype POWER_...
9,382
ada
0
matzke1/rose
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element-paths.adb
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element-paths.adb with Asis.Elements; with Asis.Statements; package body Asis_Adapter.Element.Paths is ------------ -- EXPORTED: ------------ procedure Do_Pre_Child_Processing (Element : in Asis.Element; S...
9,383
ada
0
mstewartgallus/linted
src/ada-core/src/linted-controls.ads
<reponame>mstewartgallus/linted<gh_stars>0 -- Copyright 2015,2016 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless ...
9,384
ada
4
faelys/gela-asis
source/asis/asis-gela-overloads-walk.adb
<filename>source/asis/asis-gela-overloads-walk.adb ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http...
9,385
ada
22
FardaleM/metalang
out/loop_unroll.adb
<filename>out/loop_unroll.adb with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure loop_unroll is type stringptr is access all char_array; procedure PString(s : stringptr) is be...
9,386
ada
192
rocher/Ada_Drivers_Library
components/src/screen/ssd1306/ssd1306.adb
<filename>components/src/screen/ssd1306/ssd1306.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- ...
9,387
ada
0
reznikmm/gela
source/oasis/program-elements-formal_object_declarations.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Asp...
9,388
ada
7
stcarrez/resource-embedder
regtests/are-tests.adb
----------------------------------------------------------------------- -- are-tests -- Various tests for the are tool (based on examples) -- 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 complia...
9,389
ada
0
Letractively/ada-util
regtests/util-files-tests.adb
----------------------------------------------------------------------- -- files.tests -- Unit tests for files -- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance ...
9,390
ada
50
RainySummerLuo/OpenHappyHackingCalendar-Python
hacking-date/HackingDate.ada
with ada.calendar; with gnat.calendar.time_io; procedure HackingDate is begin gnat.calendar.time_io.put_time(ada.calendar.clock, "%Y-%m-%d"); end HackingDate;
9,391
ada
20
charlie5/lace
1-base/lace/source/events/mixin/lace-make_observer.ads
<reponame>charlie5/lace with lace.Event, lace.Response, lace.Observer; private with ada.Containers.indefinite_hashed_Maps, ada.Strings.Hash; generic type T is abstract tagged limited private; package lace.make_Observer -- -- Makes a user class T into an event Observer. -- is pragma re...
9,392
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
apps/rfm69_modem/host_message.adb
with Interfaces; use Interfaces; with STM32GD; with STM32GD.Board; use STM32GD.Board; with CBOR_Codec; with Utils; package body Host_Message is Sensor_Reading_Tag : constant Natural := 6; Voltage_Tag : constant Natural := 7; Temperature_Tag : constant Natural := 8; Humidity_Tag : constant ...
9,393
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/checks.adb
<filename>llvm-gcc-4.2-2.9/gcc/ada/checks.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
9,394
ada
1
damaki/cobs
tests/src/cobs_tests.adb
------------------------------------------------------------------------------- -- 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, inc...
9,395
ada
12
TUM-EI-RCS/StratoX
tests/variant-record/src/logqueue.ads
<filename>tests/variant-record/src/logqueue.ads with mylog; use mylog; package LogQueue with SPARK_Mode is protected type queue is procedure Put (msg : mylog.logmsg) with Pre => msg.typ in mylog.msgtype'Range; -- SPARK does not know that entry Get (msg : out mylog.logmsg); private ...
9,396
ada
79
Roldak/OpenGLAda
tests/gl/gl_test-immediate.adb
<gh_stars>10-100 -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.Buffers; use GL.Buffers; with GL.Immediate; use GL.Immediate; with GL.Fixed.Matrix; use GL.Fixed.Matrix; with GL.Types.Colors; use GL.Types; use GL.Fixed; with GL...
9,397
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f4/stm32f411xx/svd/stm32_svd-interrupts.ads
<filename>stm32f4/stm32f411xx/svd/stm32_svd-interrupts.ads -- This spec has been automatically generated from STM32F411xx.svd -- Definition of the device's interrupts package STM32_SVD.Interrupts is ---------------- -- Interrupts -- ---------------- -- PVD through EXTI line detection interrupt PVD ...
9,398
ada
0
thierr26/ada-apsepp
src/apsepp-test_event_class-impl.adb
<reponame>thierr26/ada-apsepp -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. package body Apsepp.Test_Event_Class.Impl is ---------------------------------------------------------------------------- package body Derivation is ------------------------------------...
9,399
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch6.adb
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch6.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...