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
6,000
ada
0
sourceryinstitute/rose-sourcery-institute
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/dot_asis_library/source/tool_2_wrapper_h.adb
<gh_stars>0 with Ada.Text_IO; with Interfaces.C; with Asis_Tool_2.Tool; with a_nodes_h.Support; package body tool_2_wrapper_h is package anhS renames a_nodes_h.Support; function tool_2_wrapper (target_file_in : in Interfaces.C.Strings.chars_ptr; gnat_home : in Interfaces.C.Strings.chars_ptr; ...
6,001
ada
30
Componolit/libsparkcrypto
src/ada/nullio/lsc-internal-io.adb
<reponame>Componolit/libsparkcrypto<filename>src/ada/nullio/lsc-internal-io.adb<gh_stars>10-100 ------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, <NAME> -- Copyright (C) 2010, secunet Security Networks AG -- All rights reser...
6,002
ada
24
svn2github/matreshka
tools/aflex/src/parser_tokens.ads
package Parser_Tokens is subtype YYSType is Integer; YYLVal, YYVal : YYSType; type Token is (End_Of_Input, Error, Char, Number, Sectend, Scdecl, Xscdecl, Whitespace, Name, Prevccl, Eof_Op, Newline, Prop, '^', '<', '>', ',', '$', '|', '/', '*', ...
6,003
ada
24
svn2github/matreshka
source/web/tools/a2js/webapi/html/webapi-ui_events-wheel.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
6,004
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/sdl_atomic_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_stdinc_h; with System; package SDL_atomic_h is -- arg-macro: procedure SDL_CompilerBarrier () -- __asm__ __volatile__ ("" : : : & "memory") -- arg-macro: procedure SDL_MemoryBarrierRelease () -- SDL_Compiler...
6,005
ada
0
likai3g/afmt
src/fmt-duration_argument.ads
<filename>src/fmt-duration_argument.ads with Fmt.Generic_Ordinary_Fixed_Point_Argument; package Fmt.Duration_Argument is new Fmt.Generic_Ordinary_Fixed_Point_Argument(Duration);
6,006
ada
33
kqr/qweyboard
src/backends/x11/xlib_h.ads
<reponame>kqr/qweyboard with System; with Interfaces.C; with Interfaces.C.Strings; with Interfaces.C.Pointers; package XLib_H is package C renames Interfaces.C; EXTENSION_MISSING, HARDWARE_PROBLEM : exception; GENERAL_X11_ERROR : exception; ENCODING_ERROR : exception; GenericEvent : constant C.Int := ...
6,007
ada
0
annexi-strayline/ASAP-INET
inet-ip-lookup.ads
------------------------------------------------------------------------------ -- -- -- Internet Protocol Suite Package -- -- -- -- -...
6,008
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/prj-com.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
6,009
ada
80
thindil/steamsky
tests/statistics-test_data-tests-statistics_container.ads
<filename>tests/statistics-test_data-tests-statistics_container.ads package Statistics.Test_Data.Tests.Statistics_Container is end Statistics.Test_Data.Tests.Statistics_Container;
6,010
ada
1
MatrixMike/AdaDemo1
testcase.adb
<reponame>MatrixMike/AdaDemo1<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; procedure testcase (i: Natural) is begin case i is when 0 => Ada.Text_IO.Put ("zero"); when 1 => Ada.Text_IO.Put ("one"); when 2 => Ada.Text_IO.Put ("two"); -- case statements have to cover all possible cases: when others => Ada.T...
6,011
ada
0
sebsgit/textproc
src/opencl/pixelarray-gpu.adb
<filename>src/opencl/pixelarray-gpu.adb with cl_objects; with opencl; with System; with System.Address_To_Access_Conversions; package body PixelArray.Gpu is pragma Warnings(Off); package Pixel_Buffer_Conv is new System.Address_To_Access_Conversions(Object => Pixel_Buffer); pragma Warnings(On); function G...
6,012
ada
33
ytomino/drake
source/calendar/required/a-caldel.ads
pragma License (Unrestricted); -- implementation unit required by compiler with Ada.Calendar.Naked; private with System.Native_Time; private package Ada.Calendar.Delays is -- required for delay statement by compiler (a-caldel.ads) procedure Delay_For (D : Duration); pragma Inline (Delay_For); -- renamed ...
6,013
ada
1
Hathoute/ENSEEIHT
PIM/TD1_Algorithmique/Racine_Carre/racine_carree_rang.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; -- Afficher une valeur approchée de la racine carréé d'un nombre réel procedure Racine_Carree_Rang is A: Float; -- le nombre dont on veut calculer la racine carrée Ran...
6,014
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b29a.ada
-- C87B29A.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...
6,015
ada
1
persan/A-gst
src/gstreamer.ads
package GStreamer is pragma Linker_Options ("-lgstreamer-0.10"); pragma Linker_Options ("-lgobject-2.0"); pragma Linker_Options ("-lgmodule-2.0"); pragma Linker_Options ("-lgthread-2.0"); pragma Linker_Options ("-lglib-2.0"); pragma Linker_Options ("-lxml2"); end GStreamer;
6,016
ada
0
reznikmm/markdown
sources/md/markdown-indented_code_blocks.ads
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Tags; with League.String_Vectors; with Markdown.Blocks; limited with Markdown.Visitors; package Markdown.Indented_Code_Blocks is type Indented_Code_Bloc...
6,017
ada
7
stcarrez/mat
mat/src/mat-consoles.ads
----------------------------------------------------------------------- -- mat-consoles - Console interface -- Copyright (C) 2014, 2015 <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. -- ...
6,018
ada
236
jquorning/septum
tests/src/sp-strings-tests.adb
with Ada.Characters.Latin_1; with Ada.Strings.Unbounded; with Trendy_Test.Assertions.Integer_Assertions; package body SP.Strings.Tests is package ASU renames Ada.Strings.Unbounded; use Trendy_Test.Assertions; use Trendy_Test.Assertions.Integer_Assertions; function "+" (S : String) return ASU.Unbound...
6,019
ada
0
persan/dds-requestreply
src/dds-request_reply-replier-impl.ads
with DDS.Request_Reply.Impl; private package DDS.Request_Reply.Replier.Impl is type Ref is limited new DDS.Request_Reply.Impl.Ref and DDS.Request_Reply.Replier.Ref with record null; end record; type Ref_Access is access all Ref; procedure Wait_For_Requests (Self : not null access Ref; ...
6,020
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-dmac.ads
<gh_stars>1-10 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.DMAC is pragma Preelaborate; --------------- -- Registers -- --------------- -- DMAC_CTRL_LVLEN array ...
6,021
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_1/src/hal.ads
<filename>courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_1/src/hal.ads ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCo...
6,022
ada
2
SMerrony/dgemua
vsemua.adb
-- MIT License -- Copyright (c) 2021 <NAME> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, p...
6,023
ada
0
reznikmm/gela
source/contexts/plain/program-error_listeners.ads
<reponame>reznikmm/gela<filename>source/contexts/plain/program-error_listeners.ads<gh_stars>0 -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package Program.Error_Listeners is pragma Pure; type Error_Listener is...
6,024
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-factories-uml_factories.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
6,025
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/get_targ.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
6,026
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt25_pkg2.ads
<reponame>best08618/asylo generic type Value is private; Init_Val : Value; package Opt25_Pkg2 is type Stack (Size : Natural) is private; function Default_Stack return Stack; private type Value_Array is array (Natural range <>) of Value; type Stack (Size : Natural) is record Store : Value_A...
6,027
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l0x3/stm32_svd-nvic.ads
-- This spec has been automatically generated from STM32L0x3.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.NVIC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype IPR0_PRI_0_Field is H...
6,028
ada
33
ytomino/drake
source/interfac.ads
pragma License (Unrestricted); package Interfaces is pragma Pure; type Integer_8 is range -(2 ** 7) .. 2 ** 7 - 1; -- 2's complement for Integer_8'Size use 8; type Integer_16 is range -(2 ** 15) .. 2 ** 15 - 1; for Integer_16'Size use 16; type Integer_32 is range -(2 ** 31) .. 2 ** 31 - 1; for Int...
6,029
ada
12
TUM-EI-RCS/StratoX
tests/failing-postcond/src/p4.ads
<filename>tests/failing-postcond/src/p4.ads<gh_stars>10-100 package p4 with SPARK_MODE is procedure foo; end p4;
6,030
ada
0
GLADORG/template-compiler
src/compiler-print.adb
pragma Ada_2012; package body Compiler.Print is ----------- -- Debug -- ----------- procedure Debug (S: Stream_Access; AST : List) is begin for E of AST loop if E.TheValue.Length > 0 then Wide_Wide_String'Write (S, E.TheToken'Wide_Wide_Image); Character'Write (S, ASCII.HT); X...
6,031
ada
9
ajnavarro/language-dataset
data/github.com/Componolit/jwx/ea388cb7e4620fadb6d244b28870b088910f712a/tests/jwx_json_tests.ads
<filename>data/github.com/Componolit/jwx/ea388cb7e4620fadb6d244b28870b088910f712a/tests/jwx_json_tests.ads -- -- \brief Tests for JWX.JSON -- \author <NAME> -- \date 2018-05-12 -- -- Copyright (C) 2018 Componolit GmbH -- -- This file is part of JWX, which is distributed under the terms of the -- GNU Affero General P...
6,032
ada
33
ytomino/drake
source/environment/machine-w64-mingw32/s-nacoli.adb
with System.Address_To_Constant_Access_Conversions; with System.Wide_Startup; -- force to be an unicode application with System.Zero_Terminated_WStrings; with C.winnt; package body System.Native_Command_Line is function Argument_Count return Natural is begin return Wide_Startup.wargc - 1; end Argument_C...
6,033
ada
80
thindil/steamsky
src/bases.ads
<filename>src/bases.ads -- Copyright 2016-2021 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or ...
6,034
ada
2
Lucretia/aplug
ladspa/src/ladspa.adb
<reponame>Lucretia/aplug package body LADSPA is overriding procedure Finalize (Self : in out Root_Descriptors) is C_Str : C.Strings.chars_ptr; begin C_Str := Self.Data.Label; C.Strings.Free (C_Str); C_Str := Self.Data.Name; C.Strings.Free (C_Str); C_Str := Self.Data.Maker; ...
6,035
ada
0
ekoeppen/MSP430_Generic_Ada_Drivers
msp430x2/msp430g2553/startup.adb
with System; with Interfaces; use Interfaces; with System.Storage_Elements; use System.Storage_Elements; with System.Machine_Code; use System.Machine_Code; with Ada.Unchecked_Conversion; package body Startup is WDTCTL : Unsigned_16 with Import, Address => System'To_Address (16#0120#); procedure Ada_Init with I...
6,036
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-icache.ads
<reponame>morbos/Ada_Drivers_Library<gh_stars>1-10 -- 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.ICache is pragma Preelaborate; --------------- -- Registers --...
6,037
ada
1
OneWingedShark/Risi
src/risi_script-types-internals.adb
Package Body Risi_Script.Types.Internals is Default_Hash_Key : Constant String := "0"; ---------------------- -- GENERIC BODIES -- ---------------------- Function To_Array(Value : X) return Risi_Script.Types.Internals.List.Vector is Package List renames Risi_Script.Types.Internals.List; Beg...
6,038
ada
4
sparre/ALSA-binding
src/record_stereo_wav.adb
-- The Beer-Ware License (revision 42) -- -- <NAME> <<EMAIL>> wrote this. As long as you -- retain this notice you can do whatever you want with this stuff. If we meet -- some day, and you think this stuff is worth it, you can buy me a beer in -- return. -- -- <NAME> with Ada.Text_IO, Ada.Text_IO.Text_Streams; w...
6,039
ada
1
LaudateCorpus1/RosettaCodeData
Task/Box-the-compass/Ada/box-the-compass.ada
with Ada.Text_IO; procedure Box_The_Compass is type Degrees is digits 5 range 0.00 .. 359.99; type Index_Type is mod 32; function Long_Name(Short: String) return String is function Char_To_Name(Char: Character) return String is begin case Char is when 'N' | 'n' => return Ch...
6,040
ada
4
ytomino/gmp-ada
source/gmp-f.ads
with GMP.Generic_F; generic package GMP.F renames GMP.Generic_F;
6,041
ada
0
python36/d0xfa
src/address.adb
package body address is function valid_value_for_pos_addr (value : word) return boolean is begin return even(value) and value /= 16#ffff#; end valid_value_for_pos_addr; procedure valid_addr_assert (addr : word) is begin if not valid_value_for_pos_addr(addr) then raise error_address_odd; end...
6,042
ada
0
usainzg/EHU
PMOO/ADA/Lab_1_2_Ada/probar_cines.adb
<reponame>usainzg/EHU<filename>PMOO/ADA/Lab_1_2_Ada/probar_cines.adb WITH Ada.Text_IO; USE Ada.Text_IO; WITH Salas, Cine; USE Salas; PROCEDURE Probar_Cines IS S1, S2, S3, S4, S5 : Salas.Sala; BEGIN S1 := Crear_Sala(" Ava ", 12,18); Modificar_Pelicula(S1, "FormaDAgua"); S2 := C...
6,043
ada
6
godunko/adagl
sources/glew/opengl-textures.adb
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- ...
6,044
ada
0
AdaForge/Advent_of_Code_2020
puzzle_22/src/puzzle_22.adb
procedure Puzzle_22 is begin null; end Puzzle_22;
6,045
ada
0
micahwelf/ada_launch
ada_launch.adb
<reponame>micahwelf/ada_launch<filename>ada_launch.adb<gh_stars>0 with GNAT.OS_Lib; package body Ada_Launch is function Current_Os return Os_Type is Detected_Os : Os_Type := Other_Os; function Windows_Test return Boolean is begin if Full_Name (Env.Value ("USERDRIVE", "C:") &...
6,046
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-timer.ads
-- 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 retain the above copyright notice, t...
6,047
ada
2
thindil/tashy2
src/tk/tk-image-photo.ads
-- Copyright (c) 2021 <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 -- -- Unless required by applicable law or agre...
6,048
ada
36
rewriting/tom
src/tom/library/sl/ada/identitystrategy.adb
<gh_stars>10-100 with VisitablePackage, EnvironmentPackage; use VisitablePackage, EnvironmentPackage; with Ada.Text_IO; use Ada.Text_IO; package body IdentityStrategy is ---------------------------------------------------------------------------- -- Object implementation -------------------------------------------...
6,049
ada
0
JeremyGrosser/synack_misc
src/crc.adb
<reponame>JeremyGrosser/synack_misc -- -- Copyright (C) 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- package body CRC is procedure Update (Data : Word) is Bits : constant Positive := Word'Size; MSB : constant Word := 2 ** (Bits - 1); begin Sum := Sum xor Data;...
6,050
ada
4
reznikmm/adaside
sources/ada_pretty-joins.ads
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- private package Ada_Pretty.Joins is type Join is new Node with private; function New_Join (Left : not null Node_Access; Right : not...
6,051
ada
6
My-Colaborations/ada-servlet
src/servlet-streams.ads
----------------------------------------------------------------------- -- servlet-streams -- Print streams for servlets -- Copyright (C) 2010, 2011, 2012, 2013, 2017, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file...
6,052
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto21_pkg2.ads
package Lto21_Pkg2 is procedure Proc; end Lto21_Pkg2;
6,053
ada
81
My-Colaborations/ada-awa
awa/src/model/awa-oauth-models.adb
----------------------------------------------------------------------- -- AWA.OAuth.Models -- AWA.OAuth.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen.go...
6,054
ada
24
svn2github/matreshka
source/amf/ocl/amf-internals-ocl_variable_exps.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
6,055
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-valcha.adb
<filename>gcc-gcc-7_3_0-release/gcc/ada/s-valcha.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,056
ada
33
ytomino/drake
source/image/required/s-wwdenu.adb
with System.Wid_Enum; package body System.WWd_Enum is function Wide_Width_Enumeration_8 ( Names : String; Indexes : Address; Lo, Hi : Natural; EM : WC_Encoding_Method := 1) return Natural is pragma Unreferenced (EM); begin return Wid_Enum.Width_Enumeration_8 (Names, I...
6,057
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/devices/stm32f42x/stm32-device.adb
<filename>arch/ARM/STM32/devices/stm32f42x/stm32-device.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- ...
6,058
ada
0
faelys/natools
src/natools-s_expressions-atom_buffers.ads
<filename>src/natools-s_expressions-atom_buffers.ads<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy...
6,059
ada
0
faelys/natools
src/natools-s_expressions-templates-dates.ads
------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
6,060
ada
0
thierr26/ada-apsepp
src/apsepp-test_event_class-generic_exception_mixin.ads
<filename>src/apsepp-test_event_class-generic_exception_mixin.ads<gh_stars>0 -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. generic type Parent is abstract new Test_Event_Base with private; package Apsepp.Test_Event_Class.Generic_Exception_Mixin is type Child_W_Exceptio...
6,061
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-wrstfi.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-wrstfi.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
6,062
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-suteio-shared.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
6,063
ada
204
spr93/whitakers-words
src/words_engine/words_engine-trick_tables.adb
<filename>src/words_engine/words_engine-trick_tables.adb<gh_stars>100-1000 -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there i...
6,064
ada
89
treggit/sdlada
test/clipboard.adb
<reponame>treggit/sdlada<filename>test/clipboard.adb with SDL; with SDL.Clipboard; with SDL.Log; with SDL.Video.Windows; with SDL.Video.Windows.Makers; procedure Clipboard is W : SDL.Video.Windows.Window; begin SDL.Log.Set (Category => SDL.Log.Application, Priority => SDL.Log.Debug); if SDL.Initialise = True...
6,065
ada
0
0xA1/pi-spi
spec/asm_generic_int_ll64_h.ads
<filename>spec/asm_generic_int_ll64_h.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package asm_generic_int_ll64_h is -- * asm-generic/int-ll64.h -- * -- * Integer declarations for architectures which use "long long" -- * for 64-bit types. ...
6,066
ada
3
albinjal/ada_basic
tentaplugg_albin/stonehedge/stone.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Command_Line; use Ada.Command_Line; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Stone is I: Integer; C: Character; begin --kollar om 2 argument finns if Argument_Count = 2 then --Tar in tecknet C := Argument(1)(1); --Omvandl...
6,067
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/sem_util.adb
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,068
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/biased_subtype.adb
<reponame>best08618/asylo -- { dg-do run } -- { dg-options "-gnatws" } procedure Biased_Subtype is CIM_Max_AA : constant := 9_999_999; CIM_Min_AA : constant := -999_999; type TIM_AA is range CIM_Min_AA..CIM_Max_AA + 1; for TIM_AA'Size use 24; subtype STIM_AA is TIM_AA range TIM_AA(CIM_Min_AA)..TIM_AA...
6,069
ada
5
leo-brewin/ada-lapack
tests/example04.adb
<filename>tests/example04.adb with Ada.Text_IO; with Ada.Text_IO.Complex_IO; with Ada.Numerics.Generic_Real_Arrays; with Ada.Numerics.Generic_Complex_Types; with Ada.Numerics.Generic_Complex_Arrays; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Numerics.Generic_Complex_Elementary_Functions; with Ada_Lapack...
6,070
ada
3
Fabien-Chouteau/atomic
src/atomic-unsigned_32.ads
<gh_stars>1-10 with Interfaces; with Atomic.Unsigned; package Atomic.Unsigned_32 is new Atomic.Unsigned (Interfaces.Unsigned_32);
6,071
ada
60
RREE/ada-util
src/base/commands/util-commands-parsers.ads
----------------------------------------------------------------------- -- util-commands-parsers -- Support to parse command line options -- Copyright (C) 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
6,072
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/crtdefs_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with stddef_h; with Interfaces.C.Strings; package crtdefs_h is --* -- * This file has no copyright assigned and is placed in the Public Domain. -- * This file is part of the mingw-w64 runtime package. -- * No warranty is given; ...
6,073
ada
7
stcarrez/resource-embedder
regtests/files/test-ada-7/src/test7.adb
<reponame>stcarrez/resource-embedder with Resources7; with Ada.Command_Line; with Ada.Text_IO; procedure Test7 is use Resources7; C : Content_Access := Get_Content ("config/test7.xml"); begin if C = null then Ada.Text_IO.Put_Line ("FAIL: No content 'config/test7.xml'"); Ada.Command_Line.Set_Exit_S...
6,074
ada
13
annexi-strayline/AURA
repositories.ads
<reponame>annexi-strayline/AURA<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Referenc...
6,075
ada
2
charlie5/cBound
tier-1/speech_tools/source/thin/speech_tools_c.ads
<gh_stars>1-10 -- This file is generated by SWIG. Please do *not* modify by hand. -- with swig; with interfaces.C; package speech_tools_c is -- EST_Wave -- subtype EST_Wave is swig.incomplete_class; type EST_Wave_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Wave; -- ...
6,076
ada
20
charlie5/lace
1-base/math/source/generic/pure/arithmetic/any_math-any_arithmetic.ads
<reponame>charlie5/lace generic package any_Math.any_Arithmetic is pragma Pure; pragma Optimize (Time); end any_Math.any_Arithmetic;
6,077
ada
1
annexi-strayline/ASAP-Unicode
unicode-case_folding-simple.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Unicode Utilities -- -- ...
6,078
ada
4
Fabien-Chouteau/ada-voxel-space
src/sdl_display.adb
with SDL; with SDL.Video.Windows; with SDL.Video.Windows.Makers; with SDL.Video.Surfaces; with SDL.Video.Palettes; use SDL.Video.Palettes; with SDL.Video.Pixels; with SDL.Video.Pixel_Formats; use SDL.Video.Pixel_Formats; with SDL.Video.Textures; use SDL.Video.Textures; with SDL.Video.Textures.Makers; with SDL.Video.Ren...
6,079
ada
0
faelys/natools
tests/natools-reference_tests-pools.adb
<filename>tests/natools-reference_tests-pools.adb ------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and ...
6,080
ada
0
Tim-Tom/project-euler
Ada/src/Problem_68.adb
<reponame>Tim-Tom/project-euler with Ada.Text_IO; package body Problem_68 is package IO renames Ada.Text_IO; -- They want 16 digit strings, so we know that every solution will -- have a 10 on the outside edge of one of the flanges, so we can -- always start there. subtype Digit is Positive range 1 ....
6,081
ada
5
Fabien-Chouteau/VirtAPU
src/virtapu.adb
with Interfaces; use Interfaces; package body VirtAPU is generic type Int_T is range <>; function To_Int (S : Sample) return Int_T with Inline; generic type UInt_T is mod <>; function To_UInt (S : Sample) return UInt_T with Inline; function Saturate (S : Sample) return Sample ...
6,082
ada
0
cborao/Ada-P4-chat
handlers.adb
<reponame>cborao/Ada-P4-chat --PRÁCTICA 4: <NAME> (Handlers.adb) with Ada.Text_IO; with Chat_Messages; with Chat_Procedures; with Ada.Strings.Unbounded; package body Handlers is package ATI renames Ada.Text_IO; package CM renames Chat_Messages; package CP renames Chat_Procedures; package ASU renames Ada.S...
6,083
ada
1
danva994/ASFML-1.6
include/sf-window-window.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 the authors be held liable for any damages a...
6,084
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cgaaso.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
6,085
ada
1
LaudateCorpus1/RosettaCodeData
Task/String-comparison/Ada/string-comparison.ada
with Ada.Text_IO, Ada.Strings.Equal_Case_Insensitive; procedure String_Compare is procedure Print_Comparison (A, B : String) is begin Ada.Text_IO.Put_Line ("""" & A & """ and """ & B & """: " & (if A = B then "equal, " elsif Ada.Strings.Equal_Case_Insensitive (A...
6,086
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/scn.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,087
ada
2
godunko/adawebui
source/web-ui-widgets-combo_boxes.adb
<filename>source/web-ui-widgets-combo_boxes.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
6,088
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/spark/afrl-cmasi-automationresponse-spark_boundary.adb
package body AFRL.CMASI.AutomationResponse.SPARK_Boundary with SPARK_Mode => Off is -------------------- -- Get_WaypointEntity_Set -- -------------------- function Get_WaypointEntity_Set (Response : AutomationResponse) return Int64_Set is L : constant Vect_MissionCommand_Acc_Acc := Response....
6,089
ada
1
LaudateCorpus1/RosettaCodeData
Task/Solve-the-no-connection-puzzle/Ada/solve-the-no-connection-puzzle-3.ada
Pragma Ada_2012; with Connection_Types; use Connection_Types; Function Connection_Combinations return Partial_Board;
6,090
ada
0
optikos/oasis
source/lexer/program-source_buffers.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Scanner_States; package Program.Source_Buffers is pragma Pure; type Source_Buffer is limited interface; -- Source_Buffer provi...
6,091
ada
0
reznikmm/gela
source/oasis/program-elements-select_statements.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Statements; with Program.Lexical_Elements; with Program.Elements.Select_Paths; with Program.Element_Vectors; package Program.Elements.Select_Stateme...
6,092
ada
76
yannickmoy/SPARKNaCl
src/sparknacl-pdebug.adb
with Ada.Text_IO; use Ada.Text_IO; package body SPARKNaCl.PDebug is On : constant Boolean := True; package I64IO is new Ada.Text_IO.Integer_IO (Integer_64); procedure DH16 (S : in String; D : in Normal_GF) is begin if On then Put_Line (S); for I in D'Range loop I64IO...
6,093
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-stopoo.adb
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
6,094
ada
0
joffreyhuguet/LmcpGen
ada/src/avtas/lmcp/avtas-lmcp-object.ads
with avtas.lmcp.types; use avtas.lmcp.types; package avtas.lmcp.object is type Object is tagged null record; type Object_Acc is access Object; type Object_Class_Acc is access Object'Class; function clone(this, that: Object_Acc) return Object_Acc is abstract; function "="(this, that: Object) ...
6,095
ada
0
caqg/linux-home
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_syn.ads
<reponame>caqg/linux-home package ARM_Syntax is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the database to collect the syntax summary and -- cross-reference. -- -- --------------------------------------- -- Copyright 2000, 2006, 2011 -- ...
6,096
ada
6
mosteo/yeison
src/yeison_experiments.adb
<reponame>mosteo/yeison with Ada.Text_IO; use Ada.Text_IO; package body Yeison_Experiments is ------------ -- Append -- ------------ procedure Append (L : in out List; I : Integer) is begin Put_Line ("Append Integer " & I'Image); end Append; ------------ -- Append -- ------------ ...
6,097
ada
0
mgrojo/swagger-ada
src/server/openapi-servers-operation.ads
<gh_stars>0 ----------------------------------------------------------------------- -- openapi-server-operation -- Rest server operation -- Copyright (C) 2017, 2018, 2022 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except ...
6,098
ada
192
rocher/Ada_Drivers_Library
middleware/src/audio/simple_synthesizer.ads
<reponame>rocher/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
6,099
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-win32.ads
<reponame>orb-zhuchen/Orb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...