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 |
|---|---|---|---|---|---|
10,000 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/drivers/nrf_common/nrf-spi_master.ads | <reponame>rocher/Ada_Drivers_Library
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018-2020, AdaCore --
-- ... |
10,001 | ada | 0 | optikos/oasis | source/nodes/program-nodes-record_definitions.adb | <filename>source/nodes/program-nodes-record_definitions.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Record_Definitions is
function Create
(Record_Token : ... |
10,002 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada12/g-table.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
10,003 | ada | 24 | svn2github/matreshka | source/xml/sax/matreshka-internals-xml-element_tables.ads | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
10,004 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/driversF1/stm32-dma.adb | <reponame>morbos/Ada_Drivers_Library<gh_stars>1-10
-----------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
10,005 | ada | 65 | PThierry/ewok-kernel | src/arch/socs/stm32f439/soc-devmap.adb | <filename>src/arch/socs/stm32f439/soc-devmap.adb
with soc.dma; use soc.dma;
package body soc.devmap
with spark_mode => off
is
function find_periph
(addr : system_address;
size : unsigned_32)
return t_periph_id
is
begin
for id in periphs'range loop
if periphs(id).add... |
10,006 | ada | 0 | bracke/Meaning | source/RASCAL-FileInternal.ads | <reponame>bracke/Meaning
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
10,007 | ada | 0 | Fabien-Chouteau/ASFML | include/sf-graphics-renderwindow.adb | <filename>include/sf-graphics-renderwindow.adb
--//////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will ... |
10,008 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-quantized_bvh.ads | with interfaces.c;
package impact.d3.collision.quantized_Bvh
--
-- The impact.d3.collision.quantized_Bvh class stores an AABB tree that can be quickly traversed on CPU and Cell SPU.
--
-- It is used by the impact.d3.Shape.concave.triangle_mesh.bvh as midphase, and by the btMultiSapBroadphase.
-- It is recommended ... |
10,009 | ada | 1 | f110/wing | third_party/universal-ctags/ctags/Units/parser-ada.r/ada-whitespaces-between-id-and-colon.d/input.adb | -- Taken from #2933 submitted by @koenmeersman
procedure Go is
begin
Loop_Label :
while True loop
declare
procedure Not_Tagged is
begin
null;
end Step_T;
begin
null;
end;
end loop Loop_Label;
end Go;
|
10,010 | ada | 0 | twdroeger/ada-awa | awa/plugins/awa-blogs/src/awa-blogs.ads | -----------------------------------------------------------------------
-- awa-blogs -- Blogs module
-- Copyright (C) 2011, 2014, 2015, 2018 <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... |
10,011 | ada | 4 | ytomino/gmp-ada | source/gmp.adb | <reponame>ytomino/gmp-ada
with C.string;
package body GMP is
function Version return String is
S : constant C.char_const_ptr := C.gmp.qqgmp_version;
Length : constant Natural := Natural (C.string.strlen (S));
Result : String (1 .. Length);
for Result'Address use S.all'Address;
begin
return Result;
end Ve... |
10,012 | ada | 3 | reznikmm/coroutines | source/coroutines.adb | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with System.Address_To_Access_Conversions;
with Interfaces.C;
with Coroutines.Polling;
package body Coroutines is
-- void * create_stack (int si... |
10,013 | ada | 0 | Louis-Aime/Milesian_calendar_Ada | Scaliger-Ada_conversion.ads | -- Julian.Ada_conversion, a sub-package of Julian.
-- This package focuses on conversion between the Julian time
-- i.e. duration and time expressed in fractional Julian days,
-- and Ada.Calendar duration and time data.
-- These routines are only usefull for implementations
-- where conversions to and from the Ada time... |
10,014 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/drivers/nrf_common/nrf-rtc.ads | <filename>arch/ARM/Nordic/drivers/nrf_common/nrf-rtc.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- ... |
10,015 | ada | 6 | jonashaggstrom/ada-canopen | src/aco-protocols-service_data-clients.ads | with ACO.OD_Types;
package ACO.Protocols.Service_Data.Clients is
type Client
(Handler : not null access ACO.CANopen.Handler;
Od : not null access ACO.OD.Object_Dictionary'Class)
is abstract new SDO with private;
function Get_Endpoint
(This : Client;
Server_Node : ACO.Me... |
10,016 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83f01a.ada | <gh_stars>1-10
-- C83F01A.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.... |
10,017 | ada | 0 | GLADORG/glad-cli | src/commands-generate.ads | with AAA.Strings; use AAA.Strings;
private with GNAT.Strings;
package Commands.Generate is
type Command is new Commands.Command with private;
overriding function Name (Cmd : Command) return CLIC.Subcommand.Identifier is
("generate");
overriding procedure Execute
(Cmd : in out Command; Args : AAA.Strings... |
10,018 | ada | 1 | simonjwright/Quaternions | src/generic_quaternions.ads | <reponame>simonjwright/Quaternions
generic
type Real is digits <>;
package Generic_Quaternions is
type Quaternion is record
W : Real;
X : Real;
Y : Real;
Z : Real;
end record;
function "-" (Q : Quaternion) return Quaternion;
function "+" (L, R : Quaternion) return Quaternion;
... |
10,019 | ada | 12 | TUM-EI-RCS/StratoX | software/lib/helper.ads | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Helper
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: Helper functions
--
-- ToDo:
-- [ ] Implementation
package Helper with SPARK_Mode is
generic
type Numeric_Type is range <>;
... |
10,020 | ada | 0 | Letractively/ada-gen | src/gnat/prj-pars.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
10,021 | ada | 0 | faelys/natools | src/natools-tests.ads | ------------------------------------------------------------------------------
-- Copyright (c) 2011, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
10,022 | ada | 30 | Componolit/libsparkcrypto | src/shared/generic/lsc-internal-aes-cbc.adb | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, <NAME>
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modif... |
10,023 | ada | 0 | hbarrientosg/cs-mp | 05_files/Practica5.adb | <reponame>hbarrientosg/cs-mp
with Text_Io,sequential_io,Direct_io;
with Ada.strings.unbounded;
use text_io;
use Ada.strings.unbounded;
procedure practica5 is
Type TDatos is record
Palabra:string(1..15);-- Este el tipo de dato que tiene el fichero de acceso directo
numero:Natural;
end record;
package ficheroSec i... |
10,024 | ada | 0 | chris-pie/aoc-2021 | day 3/day 3.adb | with Ada.Strings; use Ada.Strings;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers; use Ada.Containers;
with Ada.Containers.Vectors;
with Ada.Integer_text_IO;
procedure Main is
package Vector_Pkg is new Vectors(Index_Type => Natural,
... |
10,025 | ada | 0 | cortlandstarrett/mcada | model/mcada/templates/package/t.constraint.ada | <gh_stars>0
new \
|
10,026 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1012a4.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1012a4.ada
-- CA1012A4M.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
-- unli... |
10,027 | ada | 2 | thorstel/Advent-of-Code-2018 | day20/day20.adb | <reponame>thorstel/Advent-of-Code-2018<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
procedure Day20 is
type Position is record
X : Integer;
Y : Integer;
end record;
function Next_Pos (Pos : Position; Dir : Character) return Position is
begin
case Dir is
when 'N' => retur... |
10,028 | ada | 81 | My-Colaborations/ada-awa | awa/plugins/awa-comments/src/model/awa-comments-models.ads | <filename>awa/plugins/awa-comments/src/model/awa-comments-models.ads
-----------------------------------------------------------------------
-- AWA.Comments.Models -- AWA.Comments.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template use... |
10,029 | ada | 0 | bracke/Meaning | source/Controller_Help.ads | <filename>source/Controller_Help.ads
with RASCAL.OS; use RASCAL.OS;
package Controller_Help is
type TEL_ViewManual_Type is new Toolbox_UserEventListener(16#11#,-1,-1) with null record;
type TEL_ViewSection_Type is new Toolbox_UserEventListener(16#20#,-1,-1) with null record;
type TE... |
10,030 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Palindrome-detection/Ada/palindrome-detection-1.ada | <filename>Task/Palindrome-detection/Ada/palindrome-detection-1.ada
function Palindrome (Text : String) return Boolean is
begin
for Offset in 0..Text'Length / 2 - 1 loop
if Text (Text'First + Offset) /= Text (Text'Last - Offset) then
return False;
end if;
end loop;
return True;
end Palindro... |
10,031 | ada | 81 | twdroeger/ada-awa | awa/src/awa-users-services.ads | -----------------------------------------------------------------------
-- awa.users -- User registration, authentication processes
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
10,032 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-ref-man-2012.5/progs/arm_inp.ads | package ARM_Input is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the abstract definition of reading an input file
-- or other entity, and routines to lex the input entities.
--
-- ---------------------------------------
-- Copyright 2000, 2002, ... |
10,033 | ada | 0 | optikos/oasis | source/oasis/program-elements-formal_type_declarations.ads | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Identifiers;
with Program.Elements.Definitions;
with ... |
10,034 | ada | 3 | vasil-sd/ada-tlsf | bits/src/bitoperations.ads | package BitOperations
with SPARK_Mode, Pure, Preelaborate is
end BitOperations;
|
10,035 | ada | 0 | luk9400/nsi | list3/task2/src/rev.ads | <reponame>luk9400/nsi
package Rev with SPARK_Mode is
procedure Reve (S : in out String) with
SPARK_Mode,
Pre => S'First < Positive'Last / 2 and S'Last < Positive'Last / 2,
Post => (for all I in S'Range => S(I) = S'Old(S'First + S'Last - I));
end Rev;
|
10,036 | ada | 9 | Kidev/AdaPhysics2D | collisions.adb | package body Collisions is
function Collide(A, B : not null EntityClassAcc; Col : out Collision) return Boolean
is
begin
Col.A := A; Col.B := B;
return Dispatcher(A.all.EntityType, B.all.EntityType).all(Col);
end Collide;
function CircleOnCircle(Col : in out Collision) return Boolean
i... |
10,037 | ada | 0 | lkujaw/felix | examples/example1.adb | <filename>examples/example1.adb
------------------------------------------------------------------------------
-- 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 S... |
10,038 | ada | 0 | Letractively/ada-gen | src/gen-commands-info.adb | -----------------------------------------------------------------------
-- gen-commands-info -- Collect and give information about the project
-- Copyright (C) 2011, 2012, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this ... |
10,039 | ada | 1 | jrcarter/Image_Random | image_random.adb | <filename>image_random.adb
-- Image_Random: True random numbers from a digital camera
-- Copyright (C) 2020 by Pragmada Software Engineering
-- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses
--
-- 2020-09-01 Initial version
--
with Ada.Directories;
with Ada.Sequential_IO;
with... |
10,040 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-internals-tables-dd_reflection.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
10,041 | ada | 33 | ytomino/drake | source/nls/a-envenc.adb | <filename>source/nls/a-envenc.adb
package body Ada.Environment_Encoding is
-- implementation
function Is_Open (Object : Converter) return Boolean is
N_Object : System.Native_Environment_Encoding.Converter
renames Controlled.Reference (Object).all;
begin
return System.Native_Environment_... |
10,042 | ada | 1 | Roldak/OpenGLAda | deps/FreeTypeAda/src/ft-errors.ads | <reponame>Roldak/OpenGLAda
-- part of FreeTypeAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package FT.Errors is
pragma Preelaborate;
type Error_Code is
(Ok, Cannot_Open_Resource, Unknown_File_Format, Invalid_File_Format,
Invalid_Version, Lower_Module_V... |
10,043 | ada | 0 | csb6/libtcod-ada | src/generated/mersenne_h.ads | <filename>src/generated/mersenne_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions; use Interfaces.C.Extensions;
with mersenne_types_h;
with Interfaces.C.Strings;
package mersenne_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jic... |
10,044 | ada | 0 | mstewartgallus/linted | src/ada-pulse/src/pulse-mainloop-signal.ads | -- Copyright 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 required by applicable law or agreed to in writi... |
10,045 | ada | 5 | docandrew/troodon | src/main.adb | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Unchecked_Deallocation;
with Ada.Unchecked_Conversion;
with Interfaces.C.Strings; use Interfaces.C.Strings;
with Interfaces.C; use Interfaces.C;
with System; use System;
with Xlib;
with xcb; use xc... |
10,046 | ada | 80 | thindil/steamsky | tests/messages-test_data-tests.adb | <gh_stars>10-100
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up an... |
10,047 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | stm32l0/stm32l0x1/svd/stm32_svd-exti.ads | -- This spec has been automatically generated from STM32L0x1.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.EXTI is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- IMR_IM array
type IMR_IM_Field_A... |
10,048 | ada | 30 | jscparker/math_packages | linear_algebra/qr_symmetric_eigen_tst_1.adb | <reponame>jscparker/math_packages
-- Test Eigendecomposition of Real valued square matrices.
with Test_Matrices;
with QR_Symmetric_Eigen;
with Text_IO; use Text_IO;
procedure qr_symmetric_eigen_tst_1 is
type Real is digits 15;
--type Real is digits 18;
--Matrix_Size : constant := 7000;
--Matrix_Size : consta... |
10,049 | ada | 0 | aeszter/sharepoint2ics | src/convert.ads | <filename>src/convert.ads
with Ada.Text_IO;
with DOM.Core;
procedure Convert (Input : DOM.Core.Node_List; Output : Ada.Text_IO.File_Type);
|
10,050 | ada | 12 | TUM-EI-RCS/StratoX | runtime/ravenscar-sfp-stm32f427/gnarl-common/s-tpobmu.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
10,051 | ada | 33 | ytomino/drake | examples/protected_lf.adb | with Ada;
procedure protected_lf is
protected prot is
pragma Lock_Free;
procedure w (arg : Integer);
function r return Integer;
private
value : Integer := 0;
end prot;
protected body prot is
procedure w (arg: Integer) is
begin
value := arg;
end w;
function r return Integer is
begin
return va... |
10,052 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/solar_system/060_record_types/src/main.adb | <filename>courses/fundamentals_of_ada/labs/solar_system/060_record_types/src/main.adb
-----------------------------------------------------------------------
-- Ada Labs --
-- --
-- ... |
10,053 | ada | 0 | DrenfongWong/tkm-rpc | tests/tkmrpc-mock.ads | --
-- Copyright (C) 2013 <NAME> <<EMAIL>>
-- Copyright (C) 2013 <NAME> <<EMAIL>>
-- 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 retain the ... |
10,054 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/s-memory.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
10,055 | ada | 20 | charlie5/lace | 4-high/gel/source/remote/gel-remote.ads | package gel.Remote
--
-- Provides a namespace for remote GEL classes.
--
is
pragma Pure;
end gel.Remote;
|
10,056 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Abstract-type/Ada/abstract-type-3.ada | with Ada.Finalization;
...
type Node is abstract new Ada.Finalization.Limited_Controlled and Queue with record
Previous : not null access Node'Class := Node'Unchecked_Access;
Next : not null access Node'Class := Node'Unchecked_Access;
end record;
overriding procedure Finalize (X : in out Node); -- Removes the... |
10,057 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.1.3/wisitoken-parse-packrat.ads | <gh_stars>0
-- Abstract :
--
-- Types and operations for a packrat parser runtime.
--
-- References:
--
-- [ford thesis] Bryan Ford thesis http://bford.info/pub/lang/thesis
--
-- [langkit] AdaCore langkit https://github.com/adacore/langkit
--
-- [tratt 2010] http://tratt.net/laurie/research/pubs/papers/
--... |
10,058 | ada | 0 | joffreyhuguet/LmcpGen | ada/src/afrl/cmasi/afrl-cmasi-keyvaluepair.adb | package body afrl.cmasi.keyValuePair is
function getFullLmcpTypeName (this : KeyValuePair) return String is ("afrl.cmasi.keyValuePair.KeyValuePair");
function getLmcpTypeName (this : KeyValuePair) return String is ("KeyValuePair");
function getLmcpType (this : KeyValuePair) return UInt32_t is (CMASIEnum'Pos... |
10,059 | ada | 0 | eryjus/ada | tst/scanner5.ads | "Message of the day:"
""
" " "A" """"
"Characters such as $, %, and } are allowed in string literals"
"Archimedes said ""Εύρηκα"""
"Volume of cylinder (πr2h) = "
|
10,060 | ada | 0 | Hamster-Furtif/JeremyPlusPlus | src/utils.adb | <filename>src/utils.adb<gh_stars>0
with ada.Characters.Handling, utils, ada.Text_IO, ada.Integer_Text_IO, Ada.Calendar, botIO, montecarlo;
use ada.Characters.Handling, utils, ada.Text_IO, ada.Integer_Text_IO, Ada.Calendar, botIO, montecarlo;
package body utils is
procedure addToSet(card : in T_card ; set : in out T... |
10,061 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94007a.ada | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94007a.ada<gh_stars>1-10
-- C94007A.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 ... |
10,062 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/async_transfer_select.adb | <reponame>ouankou/rose<gh_stars>100-1000
procedure Async_Transfer_Select is
begin
select
delay 5.0;
null;
then abort
null;
end select;
null;
end Async_Transfer_Select;
|
10,063 | ada | 2 | stcarrez/jason | src/model/jason-projects-models.adb | <reponame>stcarrez/jason<gh_stars>1-10
-----------------------------------------------------------------------
-- Jason.Projects.Models -- Jason.Projects.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package... |
10,064 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbtime.adb | <filename>bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbtime.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
10,065 | ada | 13 | Fabien-Chouteau/GESTE | examples/racing/src/game_assets-tileset_collisions.ads | <gh_stars>10-100
with GESTE;
pragma Style_Checks (Off);
package Game_Assets.Tileset_Collisions is
Tiles : aliased constant GESTE.Tile_Collisions_Array :=
(
1 => ((False,False,False,False,False,False,False,False,False,False,False,False,False,False,False,False),
(False,False,False,False,False,... |
10,066 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/svd/stm32f103/stm32_svd.ads | -- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- STM32F103
package STM32_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
FSMC_Base : con... |
10,067 | ada | 0 | bracke/Meaning | source/RASCAL-MessageTrans.adb | <reponame>bracke/Meaning<gh_stars>0
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
10,068 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr21_pkg.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr21_pkg.adb
package body Aggr21_Pkg is
procedure Init (R : out Rec) is
begin
R := (A => 5, S => <>, N => 7);
end;
end Aggr21_Pkg;
|
10,069 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/g-expect.ads | <filename>tools-src/gnu/gcc/gcc/ada/g-expect.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
10,070 | ada | 88 | NotWearingPants/yes | yes.adb | with Ada.Command_line; use Ada.Command_line;
with Ada.Text_IO; use Ada.Text_IO;
procedure Yes is
begin
if Argument_Count >= 1 then
while (True) loop
Put_Line(Argument(1));
end loop;
else
while (True) loop
Put_Line("y");
end loop;
end if;
end Yes;
|
10,071 | ada | 192 | rocher/Ada_Drivers_Library | middleware/src/sdmmc/sdmmc_init.adb | <reponame>rocher/Ada_Drivers_Library<filename>middleware/src/sdmmc/sdmmc_init.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-... |
10,072 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/i-cpthre.ads | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
10,073 | ada | 25 | stcarrez/ada-keystore | tools/akt.adb | -----------------------------------------------------------------------
-- akt -- Ada Keystore Tool
-- Copyright (C) 2019, 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.
-- You may... |
10,074 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | boards/stm32f103_uext/stm32gd-board.adb | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<gh_stars>1-10
with STM32_SVD; use STM32_SVD;
with STM32_SVD.RCC;
with STM32_SVD.NVIC;
with STM32_SVD.GPIO;
with STM32_SVD.USB; use STM32_SVD.USB;
package body STM32GD.Board is
procedure Init is
begin
STM32_SVD.RCC.RCC_Periph.APB2ENR.AFIOEN := 1;
STM32_SVD... |
10,075 | ada | 1 | faelys/natools-web | generated/natools-static_maps-web-simple_pages-t.ads | -- Generated at 2017-03-10 17:26:29 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-simple_pages-maps.sx
function Natools.Static_Maps.Web.Simple_Pages.T
return Boolean;
pragma Pure (Natools.Static_Maps.Web.Simple_Pages.T);
|
10,076 | ada | 12 | jquorning/ada-asf | src/asf-locales.adb | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- asf-locales -- Locale support
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
10,077 | ada | 26 | damaki/libkeccak | src/common/keccak-generic_keccakf-byte_lanes.ads | <filename>src/common/keccak-generic_keccakf-byte_lanes.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 f... |
10,078 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c67005b.ada | -- C67005B.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... |
10,079 | ada | 0 | GLADORG/glad-cli | src/commands-generate.adb | <filename>src/commands-generate.adb
with Ada.Containers; use Ada.Containers;
with Ada.Directories; use Ada.Directories;
with Blueprint; use Blueprint;
with AAA.Strings; use AAA.Strings;
with Ada.Text_IO;
with Ada.Command_Line;
with Templates_Parser;
with CLIC.TTY;
with Filesystem;
with Commands;
package bod... |
10,080 | ada | 33 | ytomino/drake | source/calendar/a-exetim.ads | pragma License (Unrestricted);
-- with Ada.Task_Identification;
with Ada.Real_Time; -- use Ada.Real_Time;
package Ada.Execution_Time is
type CPU_Time is private;
CPU_Time_First : constant CPU_Time;
CPU_Time_Last : constant CPU_Time;
CPU_Time_Unit : constant :=
Duration'Delta; -- implementation-defin... |
10,081 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr37.ads | package Discr37 is
subtype Index is Integer range 0 .. 100;
type Root;
type Frame_Ptr is access all Root'Class;
type Arr is array (Index range <>) of Frame_Ptr;
type Root (Level : Index) is tagged record
S : Arr (0 .. Level);
end record;
type Derived (Level : Index) is new Root (Level) with null ... |
10,082 | ada | 0 | Letractively/ada-util | src/util-beans-factory.adb | -----------------------------------------------------------------------
-- Util.beans.factory -- Bean Registration and Factory
-- Copyright (C) 2009, 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wi... |
10,083 | ada | 0 | reznikmm/slimp | source/slim-messages-meta.adb | <reponame>reznikmm/slimp
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Text_Codecs;
with Slim.Message_Visiters;
package body Slim.Messages.META is
----------
-- Read --
----... |
10,084 | ada | 0 | csb6/libtcod-ada | src/generated/heapq_h.ads | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with sys_utypes_usize_t_h;
with System;
package heapq_h is
TCOD_HEAP_DEFAULT_CAPACITY : constant := 256; -- heapq.h:40
TCOD_HEAP_MAX_NODE_SIZE : constant := 256; -- heapq.h:41
-- BSD 3-Clause License
-- *
-- * Copyright... |
10,085 | ada | 0 | Lucretia/old_nehe_ada95 | thirdparty/adasdl/thin/adasdl/AdaSDL_image/showimage.adb |
--
-- SHOWIMAGE: Port to the Ada programming language of a test application for the
-- the SDL image library.
--
-- The original code was written in C by <NAME> http://www.libsdl.org.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Pub... |
10,086 | ada | 0 | DrenfongWong/tkm-rpc | specs/ada/server/ike/tkmrpc-operation_handlers-ike-isa_reset.ads | with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Operation_Handlers.Ike.Isa_Reset is
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type);
-- Handler for the isa_reset operation.
end Tkmrpc.Operation_Handlers.Ike.Isa_Reset;
|
10,087 | ada | 7 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-undesu.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
10,088 | ada | 0 | Lucretia/old_nehe_ada95 | thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/loopwave_callback.adb | <reponame>Lucretia/old_nehe_ada95<filename>thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/loopwave_callback.adb<gh_stars>0
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redist... |
10,089 | ada | 0 | TNO/Dependency_Graph_Extractor-Ada | src/extraction-graph_operations.adb | <gh_stars>0
with Extraction.Node_Edge_Types;
package body Extraction.Graph_Operations is
function Create_Graph_Context
(Graph_File : access GW.GraphML_File; Directory_Prefix : VFS.Virtual_File;
Project_Context : Utilities.Project_Context) return Graph_Context
is
begin
return Graph : Graph_Co... |
10,090 | ada | 10 | LionelDraghi/smk | src/smk-runs-strace_analyzer.adb | -- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache ... |
10,091 | ada | 0 | Tim-Tom/project-euler | Ada/src/Problem_26.adb | with Ada.Text_IO;
with PrimeUtilities;
package body Problem_26 is
package IO renames Ada.Text_IO;
procedure Solve is
type one_thousand is new Integer range 1 .. 1_000;
package Primes is new PrimeUtilities(one_thousand);
type cycle is new Integer range 0 .. 999;
type last_seen is new Intege... |
10,092 | ada | 0 | Letractively/ada-asf | regtests/asf-navigations-tests.adb | -----------------------------------------------------------------------
-- asf-navigations-tests - Tests for ASF navigation
-- Copyright (C) 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 with the L... |
10,093 | ada | 1 | mbirabhadra/RosettaCodeData | Task/Echo-server/Ada/echo-server-2.ada | with Ada.Text_IO;
with Ada.IO_Exceptions;
with GNAT.Sockets;
procedure echo_server_multi is
-- Multiple socket connections example based on Rosetta Code echo server.
Tasks_To_Create : constant := 3; -- simultaneous socket connections.
-------------------------------------------------------------------------------
... |
10,094 | ada | 0 | Fabien-Chouteau/fsmaker | src/fsmaker-commands-build.adb | with FSmaker.TOML;
package body FSmaker.Commands.Build is
-------------
-- Execute --
-------------
overriding
procedure Execute (This : in out Instance;
Args : AAA.Strings.Vector)
is
begin
if Args.Count /= 2 then
This.Failure ("takes exactly two arguments");... |
10,095 | ada | 3 | vasil-sd/ada-tlsf | tlsf/src/old/tlsf-block-proof.adb | <reponame>vasil-sd/ada-tlsf<gh_stars>1-10
with Ada.Containers.Formal_Hashed_Maps;
with Ada.Containers.Formal_Hashed_Sets;
with TLSF.Block.Types;
package body TLSF.Block.Proof with SPARK_Mode is
package body Formal_Model is
------------------
-- Find_Address --
------------------
... |
10,096 | ada | 0 | reznikmm/gela | source/oasis/program-elements-entry_body_declarations.ads | <filename>source/oasis/program-elements-entry_body_declarations.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Ident... |
10,097 | ada | 12 | jquorning/ada-asf | src/asf-components-widgets-gravatars.adb | <gh_stars>10-100
-----------------------------------------------------------------------
-- components-widgets-gravatars -- Gravatar Components
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
10,098 | ada | 24 | svn2github/matreshka | source/league/league-json-streams.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
10,099 | ada | 263 | jfouquart/synth | src/signals.ads | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
-- with Ada.Interrupts.Names;
package Signals is
-- package BRK renames Ada.Interrupts;
-- Returns True if Interrupt signal (control-C) has been detected
function graceful_shutdown_requested return Boo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.