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
28,100
ada
5
alkhimey/Ada_Curve
src/main-determine_hovered_object.adb
<filename>src/main-determine_hovered_object.adb -- The MIT License (MIT) -- -- Copyright (c) 2017 <EMAIL> -- -- 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, inclu...
28,101
ada
33
ytomino/drake
source/interfaces/i-cwcpoi.ads
<filename>source/interfaces/i-cwcpoi.ads pragma License (Unrestricted); -- extended unit with Interfaces.C.Pointers; package Interfaces.C.WChar_Pointers is new Pointers ( Index => size_t, Element => wchar_t, Element_Array => wchar_array, Default_Terminator => wchar_t'Val (0)); -- The instan...
28,102
ada
0
Letractively/ada-ado
src/ado-sessions-factory.adb
----------------------------------------------------------------------- -- factory -- Session Factory -- Copyright (C) 2009, 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the Licens...
28,103
ada
0
patrickf2000/ada-asm
src/elf.adb
<reponame>patrickf2000/ada-asm<filename>src/elf.adb with Ada.Text_IO; with Ada.Containers.Vectors; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; with Utils; use Utils; package body Elf is -- Adds a symbol to the symbol table procedure elf_add_symbol(sym...
28,104
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3706c.ada
-- CE3706C.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...
28,105
ada
33
ytomino/drake
source/numerics/a-colors.adb
package body Ada.Colors is function modff (value : Float; iptr : access Float) return Float with Import, Convention => Intrinsic, External_Name => "__builtin_modff"; function sinf (X : Float) return Float with Import, Convention => Intrinsic, External_Name => "__builtin_sinf"; function cosf (X : ...
28,106
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/s-pooloc.ads
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
28,107
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-freqm.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.FREQM is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control A Register type FREQM_CTRLA_...
28,108
ada
1
XMoose25X/Advanced-Dungeon-Assault
Source/inventory_list.adb
<reponame>XMoose25X/Advanced-Dungeon-Assault with Ada.Integer_Text_IO; Use Ada.Integer_Text_IO; with Ada.Float_Text_IO; Use Ada.Float_Text_IO; with Ada.Text_IO; Use Ada.Text_IO; with display; Use display; with Unchecked_Deallocation; package body inventory_list is -- inventory system that stores items from i...
28,109
ada
52
onox/orka
orka_egl/src/egl-objects-devices.adb
<filename>orka_egl/src/egl-objects-devices.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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 -- -- ...
28,110
ada
24
svn2github/matreshka
tools/aflex/src/ccl.adb
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by <NAME> of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and this...
28,111
ada
33
ytomino/drake
source/strings/a-snmcfo.adb
<filename>source/strings/a-snmcfo.adb pragma Check_Policy (Validate => Disable); -- with Ada.Strings.Naked_Maps.Debug; with Ada.UCD.Case_Folding; with System.Once; with System.Reference_Counting; package body Ada.Strings.Naked_Maps.Case_Folding is use type UCD.Difference_Base; use type UCD.UCS_4; procedure D...
28,112
ada
33
ytomino/drake
source/directories/machine-w64-mingw32/s-nadivo.ads
pragma License (Unrestricted); -- implementation unit specialized for Windows with C.winnt; package System.Native_Directories.Volumes is -- File system information. pragma Preelaborate; subtype File_Size is Ada.Streams.Stream_Element_Count; type File_System is record Root_Path : C.winnt.LPWSTR := ...
28,113
ada
3
albinjal/ada_basic
tentaplugg_albin/180315/upg3/upg3.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Upg3 is function Count return Integer is S : String(1..3); C : Character; A, B : Integer; begin Get(S); Get(A); Get(C); Get(C); Get(B); return (B - A + 1); en...
28,114
ada
0
fintatarta/protypo
src/Internals/Backup/protypo-scanning.ads
with Ada.Strings.Maps.Constants; use Ada.Strings.Maps; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Readable_Sequences.Generic_Sequences; with Protypo.Tokens; private package Protypo.Scanning is Id_Charset : constant Character_Set := Constants.Alphanumeric_Set or To_Set ("_@"); Beg...
28,115
ada
1
LaudateCorpus1/RosettaCodeData
Task/Conditional-structures/Ada/conditional-structures-3.ada
<reponame>LaudateCorpus1/RosettaCodeData case Today is when Monday => Compute_Starting_Balance; when Friday => Compute_Ending_Balance; when Tuesday .. Thursday => Accumulate_Sales; -- ignore Saturday and Sunday end case;
28,116
ada
1
persan/spawn-manager
tests/src/spawn_manager-tests.ads
package Spawn_Manager.Tests is end Spawn_Manager.Tests;
28,117
ada
12
TUM-EI-RCS/StratoX
bug-reports/codepeer-units/src/unav.adb
package body unav with SPARK_Mode is function Get_Distance return Length_Type is darc : Unit_Type := 0.5; begin return 2.0 * EARTH_RADIUS * darc; end Get_Distance; end unav;
28,118
ada
0
SSOCsoft/Log_Reporter
src/ini-read_ini.ads
Function INI.Read_INI(File_Name : String) return INI.Instance;
28,119
ada
0
GLADORG/glad-cli
src/blueprint.ads
<gh_stars>0 with Ada.Directories; use Ada.Directories; package Blueprint is type Action is (Write, Delete, DryRun); function Get_Blueprint_Folder return String; procedure Process_File (Target : String; Search_Item : in Directory_Entry_Type; Todo: Action); procedure Iterate(Blueprint_Folder: String; Pat...
28,120
ada
20
charlie5/lace
4-high/gel/applet/demo/models/opengl_model/launch_opengl_model.adb
<reponame>charlie5/lace<filename>4-high/gel/applet/demo/models/opengl_model/launch_opengl_model.adb<gh_stars>10-100 with gel.Applet.gui_World, gel.Window.lumen, gel.Camera, gel.Forge, gel.Sprite, physics.Model, openGL.Model.any, float_Math, ada.Calendar, ada.Text_IO, ...
28,121
ada
0
reznikmm/slimp
source/slim-menu_models.adb
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Slim.Menu_Models is ----------- -- Child -- ----------- function Child (Self : Menu_Model'Class; Path...
28,122
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-systemcontrol.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.SystemControl is pragma Preelaborate; --------------- -- Registers -- --------------- subtype SystemControl_ICTR_INTLINES...
28,123
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85014c.ada
-- C85014C.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...
28,124
ada
1
persan/spawn-manager
src/spawn_manager-client.adb
with GNAT.Sockets; use GNAT.Sockets; with GNAT.Random_Numbers; with Ada.Directories; use Ada.Directories; with Ada.Command_Line; with GNAT.IO; package body Spawn_Manager.Client is Initialized : Boolean := False; Address : Sock_Addr_Type; Socket : Socket_Type; Server : Socket_Type; Channel ...
28,125
ada
1
LaudateCorpus1/RosettaCodeData
Task/Knights-tour/Ada/knights-tour-6.ada
with Knights_Tour, Ada.Command_Line; procedure Test_Fast is Size: Positive := Positive'Value(Ada.Command_Line.Argument(1)); package KT is new Knights_Tour(Size => Size); begin KT.Tour_IO(KT.Warnsdorff_Get_Tour(1, 1)); end Test_Fast;
28,126
ada
0
RREE/Ada_Drivers_Library
components/src/range_sensor/VL53L1X/vl53l1x.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2022 AdaCore -- -- -- -- ...
28,127
ada
1
Fabien-Chouteau/samd51-hal
src/svd/sam_svd-fpu.ads
<reponame>Fabien-Chouteau/samd51-hal<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.FPU is pragma Preelaborate; --------------- -- Registers -- --------------...
28,128
ada
1
ekoeppen/MSP430_Generic_Ada_Drivers
drivers/drivers.ads
<filename>drivers/drivers.ads pragma Warnings (Off); with Interfaces; use Interfaces; pragma Warnings (On); package Drivers is pragma Pure; end Drivers;
28,129
ada
24
svn2github/matreshka
source/amf/uml/amf-uml-templateable_elements.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
28,130
ada
0
optikos/oasis
source/oasis/program-elements-generic_procedure_declarations.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Element_Vectors; with Program.Elements.Defining_Names; with Program.Ele...
28,131
ada
1
procrastiraptor/euler
ada/euler22.adb
with Ada.Containers.Generic_Array_Sort; with Ada.Integer_Text_IO; with Ada.Text_IO; with Words; procedure Euler22 is function "<"(L, R: Words.String_Ptr) return Boolean is (L.all < R.all); procedure Sort is new Ada.Containers.Generic_Array_Sort( Index_Type => Positive, Element_Type => Words.String_P...
28,132
ada
0
Letractively/ada-awa
awa/src/awa-wikis-writers-html.adb
----------------------------------------------------------------------- -- awa-wikis-writers -- Wiki HTML writer -- Copyright (C) 2011, 2012, 2013, 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 complianc...
28,133
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-jobs/src/awa-jobs-modules.adb
<filename>awa/plugins/awa-jobs/src/awa-jobs-modules.adb ----------------------------------------------------------------------- -- awa-jobs-module -- Job module -- Copyright (C) 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use...
28,134
ada
16
mgrojo/AdaID
include/adaid-generate.ads
<filename>include/adaid-generate.ads ------------------------------------------------------------------------------- -- File: adaid-generate.ads -- Description: UUID Generation -- Author: <NAME> -- License: Simplified BSD License (see LICENSE) ----------------------------------------------------------------------------...
28,135
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto19_pkg1.ads
with Lto19_Pkg2; package Lto19_Pkg1 is type Arr is array (1 .. Lto19_Pkg2.UB) of Integer; type Rec is record A : Arr; I : Integer; end record; procedure Proc (R : Rec); end Lto19_Pkg1;
28,136
ada
80
thindil/steamsky
src/utils.adb
<reponame>thindil/steamsky -- Copyright 2017-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, ...
28,137
ada
263
jfouquart/synth
src/portscan-buildcycle-pkgsrc.ads
<filename>src/portscan-buildcycle-pkgsrc.ads -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package PortScan.Buildcycle.Pkgsrc is function build_package (id : builders; sequence_id : port_id; in...
28,138
ada
5
amvb/GUCEF
dependencies/agar/ada-core/agar-core-object.ads
with Agar.Core.Thin; with Agar.Core.Data_Source; with Interfaces; package Agar.Core.Object is subtype Object_Access_t is Thin.Object.Object_Access_t; subtype Object_Not_Null_Access_t is Thin.Object.Object_Not_Null_Access_t; subtype Object_Header_Access_t is Thin.Object.Object_Hea...
28,139
ada
24
svn2github/matreshka
source/web/tools/wsdl2ada/wsdl-generator.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
28,140
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-spim.ads
<gh_stars>100-1000 -- 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 ...
28,141
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-tables-umldi_metamodel-properties.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
28,142
ada
1
fabiojna02/OpenCellular
firmware/coreboot/src/mainboard/lenovo/t530/gma-mainboard.ads
<gh_stars>1-10 with HW.GFX.GMA; with HW.GFX.GMA.Display_Probing; use HW.GFX.GMA; use HW.GFX.GMA.Display_Probing; private package GMA.Mainboard is ports : constant Port_List := (DP1, DP2, DP3, HDMI1, HDMI2, HDMI3, Analog, Internal, others => Disabled); end GMA....
28,143
ada
1
selroc/Renaissance-Ada
src/tools/Dependency_Graph_Extractor/src/main.adb
<reponame>selroc/Renaissance-Ada with Ada.Calendar; with Ada.Command_Line; with Ada.Strings.Unbounded; with Ada.Text_IO; with GNATCOLL.VFS; with Command_Line; with Extraction; with GraphML_Writers; procedure Main is package GW renames GraphML_Writers; package SU renames Ada.Strings.Unbounded; package VFS re...
28,144
ada
2
egustafson/sandbox
Ada/gnat/hw.adb
<filename>Ada/gnat/hw.adb with TEXT_IO; use TEXT_IO; procedure HW is task HELLO; task WORLD is entry PRINT_NOW; end WORLD; -- -- -- End of type declairations. -- -- -- task body HELLO is begin PUT("Hello, "); WORLD.PRINT_NOW; end HELLO; ...
28,145
ada
45
alkalinin/raytracer
ada/src/lights.ads
<gh_stars>10-100 with Colors; use Colors; with Vectors; use Vectors; -- @summary Lights that shine onto a Scene package Lights is type Light_Type is private; -- Light_Type has a position and a color type Light_Array is array( Positive range <> ) of Light_Type; function Create_Light(Position: Vector; Colo...
28,146
ada
1
faelys/natools-web
generated/natools-static_maps-web-comments-item_elements.adb
<filename>generated/natools-static_maps-web-comments-item_elements.adb with Interfaces; use Interfaces; package body Natools.Static_Maps.Web.Comments.Item_Elements is P : constant array (0 .. 0) of Natural := (0 .. 0 => 1); T1 : constant array (0 .. 0) of Unsigned_8 := (0 .. 0 => 2); T2 : constan...
28,147
ada
0
kopfjager007/Amass
resources/scripts/misc/teamcymru.ads
<reponame>kopfjager007/Amass -- Copyright © by <NAME> 2017-2022. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -- SPDX-License-Identifier: Apache-2.0 name = "TeamCymru" type = "misc" function asn(ctx, addr, asn) if (addr == "") then return e...
28,148
ada
10
LionelDraghi/smk
src/smk-smkfiles.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 ...
28,149
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/myarray.adb
package body myarray is -- Vector addition function "+" (Left : in Vector; Right : in Vector) return Vector is Result : Vector (Left'Range) := Left; begin for I in Result'Range loop Result (I) := Result (I) + Right (I); end loop; return Result; end "+"; -...
28,150
ada
0
mstewartgallus/linted
src/ada-xkb/src/xkb.ads
<filename>src/ada-xkb/src/xkb.ads<gh_stars>0 -- Copyright 2015 <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 req...
28,151
ada
80
thindil/steamsky
tests/shipmodules-test_data.ads
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with AUnit.Test_Fixtures; package ShipModu...
28,152
ada
0
python36/0xfa
src/d0xfa.adb
<gh_stars>0 with ada.text_io; with ada.command_line; with ada.strings.fixed; with gnat.os_lib; with ada.containers.vectors; with numbers; use numbers; with strings; use strings; procedure d0xfa is use type ada.text_io.count; use type byte; use type word; PROGRAMM_NAME : constant string := "d0xfa"; file : ...
28,153
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-intman__vxworks.adb
<reponame>djamal2727/Main-Bearing-Analytical-Model ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
28,154
ada
3
Fabien-Chouteau/AGATE
src/traces/agate-traces__vcd.adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, <NAME> -- -- -- -- Redistrib...
28,155
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-btgbso.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
28,156
ada
1
zrmyers/VulkanAda
src/vulkan-math/gentype/vulkan-math-genutype.adb
<filename>src/vulkan-math/gentype/vulkan-math-genutype.adb -------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation f...
28,157
ada
88
VVCAS-Sean/OpenUxAS
src/ada/src/services/atbb/assignment_tree_branch_bound.ads
with Ada.Containers.Formal_Hashed_Maps; with Ada.Containers.Functional_Maps; with Ada.Containers; use Ada.Containers; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Assignment_Tree_Branch_Bound_Communication; use Assignment_Tree_Branch_Bound_Communication; w...
28,158
ada
14
JeremyGrosser/usb_embedded
src/usb-logging-device.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...
28,159
ada
30
jrmarino/AdaBase
src/interfaces/adabase-interfaces-driver.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with AdaBase.Statement.Base; with AdaBase.Logger.Facility; package AdaBase.Interfaces.Driver is type iDriver is interface; package ASB renames AdaBase.Statement.Base; package ALF renames AdaBase.Logg...
28,160
ada
6
jquorning/ada-el
regtests/el-expressions-tests.ads
<gh_stars>1-10 ----------------------------------------------------------------------- -- EL testsuite - EL Testsuite -- Copyright (C) 2009, 2010, 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with ...
28,161
ada
6
osannolik/ada-canopen
examples/linux/src/aco-drivers-socket.adb
with Ada.Exceptions; with ACO.Log; package body ACO.Drivers.Socket is use ACO.Log; overriding procedure Receive_Message_Blocking (This : in out CAN_Driver; Msg : out ACO.Messages.Message) is Frame : SocketCAN.Can_Frame; begin SocketCAN.Receive_Socket_Blocking (This.Socket, ...
28,162
ada
4
Lucretia/raytracer_challenge
src/features/steps/rtch-visuals-canvases-steps.adb
with Ada.Unchecked_Deallocation; with BDD.Asserts; use BDD.Asserts; package body RTCH.Visuals.Canvases.Steps is procedure Given_Canvas_C (Width, Height : Positive) is procedure Free is new Ada.Unchecked_Deallocation (Object => Canvas, Name => Canvas_Access); begin if C /= null then Free (C)...
28,163
ada
8
pvrego/adaino
project/src/avr-interrupts.adb
<reponame>pvrego/adaino<gh_stars>1-10 with System.Machine_Code; with AVR.USART; with AVR.TWI; with AVR.TIMERS.CLOCK; -- ============================================================================= -- Package body AVR.INTERRUPTS -- ============================================================================= package b...
28,164
ada
12
TUM-EI-RCS/StratoX
runtime/ravenscar-sfp-stm32f427/math/s-lidosq.adb
<reponame>TUM-EI-RCS/StratoX ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
28,165
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45632a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45632a.ada -- C45632A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimi...
28,166
ada
0
JeremyGrosser/arm_cmsis_dsp
src/arm_common_tables_h.ads
<filename>src/arm_common_tables_h.ads<gh_stars>0 pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with sys_ustdint_h; with arm_math_types_h; package arm_common_tables_h is -- unsupported macro: twiddleCoef twiddleCoef_4096 -- unsupported macro: ARMBITREV...
28,167
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/s-valint.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
28,168
ada
0
mgrojo/smk
src/smk-main-put_error.adb
-- ----------------------------------------------------------------------------- -- smk, the smart make -- © 2018 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
28,169
ada
0
M1nified/Ada-Samples
w8_timeout.adb
<filename>w8_timeout.adb select A.Z; or delay 5.0; Put("Komunikat"); end select;
28,170
ada
33
ytomino/drake
source/strings/a-suzsfu.ads
pragma License (Unrestricted); -- extended unit with Ada.Strings.Generic_Unbounded.Generic_Functions; with Ada.Strings.Wide_Wide_Functions; package Ada.Strings.Unbounded_Wide_Wide_Strings.Functions is new Generic_Functions (Wide_Wide_Functions); pragma Preelaborate (Ada.Strings.Unbounded_Wide_Wide_Strings.Functions...
28,171
ada
0
hergin/ada2fuml
test-resources/PrimitiveVariableTypes.ads
with Class1; use Class1; package PrimitivePropertyTypes is someInteger : Integer := 1; someNatural : Natural := 2; someBoolean : Boolean := False; someString : String(1 .. 5) := "hello"; someFloat : Float := 1.1; anotherFloat : Float; someClass1 : Class1.Class1; funct...
28,172
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-calclo.adb
<filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-calclo.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
28,173
ada
18
kraileth/ravenadm
src/repository.adb
<filename>src/repository.adb<gh_stars>10-100 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Unix; with Parameters; with HelperText; with File_Operations; with PortScan.Scan; with PortScan.Operations; with Ada.Characters.Latin_1; with Ada.Directories; with ...
28,174
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/vectors_4d.ads
<filename>Sources/Library/vectors_4d.ads -- -- Jan & <NAME>, Australia, July 2011 -- with Real_Type; use Real_Type; with Vectors_xD; pragma Elaborate_All (Vectors_xD); package Vectors_4D is type xy_Coordinates is (x, y, z, t); package Vectors_4Di is new Vectors_xD (Real, xy_Coordinates); s...
28,175
ada
1
LaudateCorpus1/RosettaCodeData
Task/Man-or-boy-test/Ada/man-or-boy-test-3.ada
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; procedure Man_Or_Boy is function Zero return Integer is ( 0); function One return Integer is ( 1); function Neg return Integer is (-1); function A (K: Integer; X1, X2, X3, X4, X5: access function return Integer) return Integer is M : I...
28,176
ada
0
My-Colaborations/dynamo
src/gen-commands-distrib.adb
----------------------------------------------------------------------- -- gen-commands-distrib -- Distrib command for dynamo -- Copyright (C) 2012, 2013, 2014, 2017, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ...
28,177
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/exp_util.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
28,178
ada
0
ytomino/gnat4drake
s-ficobl.adb
<gh_stars>0 package body System.File_Control_Block is function Stream (File : AFCB_Ptr) return Interfaces.C_Streams.FILEs is begin raise Program_Error; -- FILE * is not used in drake return Stream (File); end Stream; end System.File_Control_Block;
28,179
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/impunit.ads
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
28,180
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cforma.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
28,181
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_tag_gsttagmux_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; limited with GStreamer.GST_L...
28,182
ada
1
MicroJoe/ada_menu
menu.ads
with Ada.Strings.Unbounded; with Ada.Containers.Vectors; package Menu is -- More convenient way to access unbounded strings package SU renames Ada.Strings.Unbounded; -- Access to procedure to call for items type T_Func_Ptr is access procedure; -- An item in the menu type T_Item is record...
28,183
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array_bounds_test.adb
-- { dg-do run } with Ada.Streams; use Ada.Streams; procedure Array_Bounds_Test is One : constant Stream_Element := 1; Two : constant Stream_Element := 2; Sample : constant Stream_Element_Array := (0 => One) & Two; begin if Sample'First /= 0 then raise Program_Error; end if; if Sample...
28,184
ada
0
evgenijaZ/PP-labs
lab01/src/data.adb
with Ada.Integer_Text_IO; with Ada.Integer_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics; with Ada.Numerics.Discrete_Random; package body Data is protected body Mutex is entry Seize when not Owned is begin Owned := True; end Seize; Procedure Release is begin ...
28,185
ada
12
jquorning/ada-asf
src/asf-validators-numbers.adb
<filename>src/asf-validators-numbers.adb ----------------------------------------------------------------------- -- asf-validators-numbers -- ASF Number Validators -- Copyright (C) 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
28,186
ada
1
io7m/coreland-symbex
symbex-lex.adb
<filename>symbex-lex.adb with Ada.Wide_Characters.Unicode; -- GNAT Specific. -- with Ada.Text_IO; package body Symbex.Lex is package Unicode renames Ada.Wide_Characters.Unicode; -- -- Private subprograms. -- procedure Set_State (Lexer : in out Lexer_t; State : in State_Stage_t) is begin ...
28,187
ada
24
svn2github/matreshka
source/uaflex/generated/parser.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
28,188
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-valuators-sliders-horizontal.ads
<gh_stars>1-10 package FLTK.Widgets.Valuators.Sliders.Horizontal is type Horizontal_Slider is new Slider with private; type Horizontal_Slider_Reference (Data : not null access Horizontal_Slider'Class) is limited null record with Implicit_Dereference => Data; package Forge is functi...
28,189
ada
15
My-Colaborations/dynamo
src/asis/asis-expressions.ads
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT INTERFACE COMPONENTS -- -- -- -- ...
28,190
ada
0
Fabien-Chouteau/fsmaker
src/fsmaker-source.adb
with AAA.Strings; with GNAT.OS_Lib; use GNAT.OS_Lib; package body FSmaker.Source is ------------ -- Create -- ------------ function Create (Src : String) return Instance is Res : Instance; begin -- if AAA.Strings.Has_Prefix (Src, "http") then -- declare -- Proc :...
28,191
ada
33
ytomino/drake
source/containers/a-cobitr.ads
<filename>source/containers/a-cobitr.ads<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit with System; private package Ada.Containers.Binary_Trees is pragma Preelaborate; type Node; type Node_Access is access Node; type Node is limited record Left, Right, Parent : Node_Access; ...
28,192
ada
7
TUDSSL/TICS
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/uninit_array_pkg.ads
package Uninit_Array_Pkg Is type Rec is record B1, B2, B3, B4: Boolean; end record; type Arr is array (Boolean) of Rec; function F (R : Rec) return Integer; end Uninit_Array_Pkg;
28,193
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/pmmintrin_h.ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package pmmintrin_h is -- Copyright (C) 2003-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public L...
28,194
ada
0
mstewartgallus/linted
src/ada-core/src/linted-errors.ads
<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 required by applicable law or a...
28,195
ada
6
bosepchuk/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf51/nrf51_svd-amli.ads
<gh_stars>1-10 -- Copyright (c) 2013, 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: -- -- * Redistributions of source code must retain the above copyright notic...
28,196
ada
2
godunko/adawebui
examples/gl_cube/cube_demo.adb
<filename>examples/gl_cube/cube_demo.adb with Ada.Numerics.Generic_Elementary_Functions; -- with System.IO; with Web.HTML.Canvases; with Web.Strings; with Web.UI.Events.Mouse.Click; with Web.UI.GL_Widgets; with Web.Window; with OpenGL; with Cube_Programs; package body Cube_Demo is use type OpenGL.GLfloat; ...
28,197
ada
15
My-Colaborations/dynamo
src/asis/a4g-a_osint.ads
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
28,198
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/tests/bsp_verification/src/delays_nontasking.adb
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT BSP Test -- -- ...
28,199
ada
0
caqg/linux-home
.emacs.d/elpa/ada-mode-6.1.1/run_wisi_common_parse.ads
<reponame>caqg/linux-home -- Abstract : -- -- Common utilities for Gen_Run_Wisi_*_Parse -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free ...