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
11,200
ada
33
persan/zeromq-Ada
examples/zmq-examples-json_data.ads
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, <EMAIL> -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this s...
11,201
ada
0
VK9D/AttackSurfaceMappingTool
resources/scripts/archive/archivetoday.ads
<reponame>VK9D/AttackSurfaceMappingTool<filename>resources/scripts/archive/archivetoday.ads<gh_stars>0 -- Copyright 2017 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "ArchiveToday" type = "archive" function start() setratelim...
11,202
ada
1
jweese/Ada_Vent_19
lib/intcode-op.adb
package body Intcode.Op is use type Memory.Value; function Instruction_Size(Instruction: Code) return Natural is (case Instruction is when Add|Mul => 3, when Get|Put|Mrb => 1, when Jnz|Jz => 2, when Lt|Eq => 3, when Halt => 1); function Get_Code(V: Memory.V...
11,203
ada
30
jscparker/math_packages
polynomial/clenshaw/chebychev_tst_1.adb
with Clenshaw; with Chebychev; with gauss_quadrature_61; with chebychev_quadrature; with Text_IO; use Text_IO; with Ada.Numerics.Generic_Elementary_Functions; -- Use data structure in Chebychev to instantiate Clenshaw, and make -- Chebychev polynomials of the 2nd kind. -- Chebychev polynomials should be normalized ...
11,204
ada
3
vasil-sd/ada-tlsf
tlsf/src/old/tlsf-block-proof.ads
<gh_stars>1-10 with Ada.Containers.Functional_Vectors; with TLSF.Block.Types; use TLSF.Block.Types; with TLSF.Config; use TLSF.Config; package TLSF.Block.Proof with SPARK_Mode, Ghost is pragma Unevaluated_Use_Of_Old (Allow); package Formal_Model with SPARK_Mode, Ghost is use Ada.Containers; su...
11,205
ada
1
bracke/websitegenerator
src/generator-rssfeed.adb
<reponame>bracke/websitegenerator with Xmlhelpers; with Ada.Containers; package body Generator.Rssfeed is use Ada.Containers; use Ada.Characters.Conversions; package DIR renames Ada.Directories; function Create ( Posts : Document_Container.List; Targetpath : String; Site_Set : ...
11,206
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/elab2.ads
-- { dg-do compile } with Elab2_Pkg; use Elab2_Pkg; package Elab2 is type Num is (One, Two); type Rec2 (D : Index_Type := 0) is record Data : Rec1(D); end record; type Rec3 (D : Num) is record case D is when One => R : Rec2; when others => null; end case; end reco...
11,207
ada
2
thindil/tashy2
tests/tk-labelframe-test_data.ads
package Tk.Labelframe.Test_Data is end Tk.Labelframe.Test_Data;
11,208
ada
33
ytomino/drake
source/s-atacco.ads
pragma License (Unrestricted); generic type Object (<>) is limited private; package System.Address_To_Access_Conversions is pragma Preelaborate; type Object_Pointer is access all Object; pragma No_Strict_Aliasing (Object_Pointer); function To_Pointer (Value : Address) return Object_Pointer with Im...
11,209
ada
0
sciencylab/lagrangian-solver
src/numerics-sparse_matrices-eye.adb
separate (Numerics.Sparse_Matrices) function Eye (N : in Pos) return Sparse_Matrix is Result : Sparse_Matrix; use Ada.Containers; begin Result.Format := CSC; Result.N_Row := N; Result.N_Col := N; Result.X := RV_Package.To_Vector (1.0, Count_Type (N)); Result.I.Reserve_Capacity (Count_Type (N));...
11,210
ada
0
JeremyGrosser/synack_misc
src/lfsr.adb
-- -- Copyright (C) 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: BSD-3-Clause -- package body LFSR is function Next return Random_Type is N : Random_Type := State; LSB : Random_Type; begin loop LSB := N and 1; N := N / 2; N := N xor ((-LSB) and ...
11,211
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204e.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204e.ada -- C43204E.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...
11,212
ada
2
stcarrez/hestia
src/hestia-ports.adb
----------------------------------------------------------------------- -- hestia-ports -- Heat port control -- Copyright (C) 2017, 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. --...
11,213
ada
7
joffreyhuguet/qoi-ada
tests/src/stb-image.ads
<filename>tests/src/stb-image.ads<gh_stars>1-10 with System; with Interfaces.C; package STB.Image is function Load (Filename : String; X, Y, Channels_In_File : out Interfaces.C.int; Desired_Channels : Interfaces.C.int) return System.Address; function Writ...
11,214
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr8.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr8.adb<gh_stars>1-10 -- { dg-do compile } procedure aggr8 is type Byte is mod 2 ** 8; subtype two is integer range 1..2; -- type Sequence is array (1 .. 2) of Byte; type Sequence is array (Two) of Byte; type Block is record Head : S...
11,215
ada
1
TNO/Rejuvenation-Ada
src/rejuvenation-text_rewrites.ads
with Ada.Strings.Wide_Wide_Unbounded; use Ada.Strings.Wide_Wide_Unbounded; with Rejuvenation.Node_Locations; use Rejuvenation.Node_Locations; private with Langkit_Support.Text; package Rejuvenation.Text_Rewrites is type Text_Rewrite is tagged private; -- The class Text_Rewrite collects multiple text rewri...
11,216
ada
0
PyllrNL/Project_Euler_Solutions
Ada/problem_17/problem_17.ads
<filename>Ada/problem_17/problem_17.ads<gh_stars>0 with Test_Solution; use Test_Solution; with Ada.Text_IO; use Ada.Text_IO; package problem_17 is function Solution_1( Min, Max : Integer ) return Integer; procedure Test_Solution_1; function Get_Solutions return Solution_Case; end problem_17;
11,217
ada
1
mullikine/RosettaCodeData
Task/Holidays-related-to-Easter/Ada/holidays-related-to-easter.ada
<filename>Task/Holidays-related-to-Easter/Ada/holidays-related-to-easter.ada with Ada.Calendar.Arithmetic; with Ada.Calendar.Formatting; with Ada.Text_IO; procedure Main is use Ada.Calendar; use Arithmetic; function Get_Easter (Year : Year_Number) return Time is A : Integer := Year mod 19; B : In...
11,218
ada
24
svn2github/matreshka
source/league/league-characters.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
11,219
ada
4
bmsauer/termbox-ada
include/stdint_h.ads
<filename>include/stdint_h.ads<gh_stars>1-10 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with x86_64_linux_gnu_bits_types_h; package stdint_h is INT8_MIN : constant := (-128); -- /usr/include/stdint.h:126 INT16_MIN : constant := (-32767-1); -- /usr/include/stdint.h:127 ...
11,220
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnarl/s-reldel.ads
<reponame>JCGobbi/Nucleo-STM32G474RE<filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnarl/s-reldel.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) CO...
11,221
ada
0
Letractively/ada-gen
src/gen-commands.adb
<filename>src/gen-commands.adb ----------------------------------------------------------------------- -- gen-commands -- Commands for dynamo -- Copyright (C) 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
11,222
ada
4
faelys/gela-asis
source/asis/spec/annex_d/ada-synchronous_task_control.ads
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
11,223
ada
1
LaudateCorpus1/RosettaCodeData
Task/Mutual-recursion/Ada/mutual-recursion-2.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_Io; use Ada.Text_Io; procedure Mutual_Recursion is function M(N: Natural) return Natural; function F(N: Natural) return Natural; function M(N: Natural) return Natural is (if N = 0 then 0 else N – F(M(N–1))); function F(N: Natural) return Natura...
11,224
ada
0
damaki/EVB1000
src/stm32-bkp.ads
<reponame>damaki/EVB1000 -- This spec has been automatically generated from STM32F105xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with System; package STM32.BKP is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------ -- DR1_Register -- ...
11,225
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c38107b.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c38107b.ada -- C38107B.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...
11,226
ada
1
io7m/coreland-opengl-ada
opengl-check.ads
<gh_stars>1-10 package OpenGL.Check is GL_Error : exception; procedure State_OK (Message : in String := ""); procedure Raise_Exception (Message : in String); end OpenGL.Check;
11,227
ada
0
Brawdunoir/administrative-family-tree-manager
test_arbre_genealogique.adb
with Arbre_Genealogique; with Registre; with Ada.Text_IO; use Ada.Text_IO; use Arbre_Genealogique; use Registre; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; procedure Test_Arbre_Genealogique is procedure Tester_Initialiser(arbre1 : in out T_Arbre_Gen; reg : in out T_Registre) is CleYL : ...
11,228
ada
2
mgrojo/lsystem-editor
src/model/io/lse-model-io-text_file.ads
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and...
11,229
ada
1
zrmyers/VulkanAda
test/mat/vulkan-math-test_mat.adb
<reponame>zrmyers/VulkanAda -------------------------------------------------------------------------------- -- 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 ...
11,230
ada
0
thierr26/ada-apsepp
src/apsepp-test_node_class-suite_stub.adb
<reponame>thierr26/ada-apsepp<gh_stars>0 -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Private_Test_Reporter; package body Apsepp.Test_Node_Class.Suite_Stub is T_S_S : aliased Test_Suite_Stub; ----------------------------------------------...
11,231
ada
0
ekoeppen/MSP430_Generic_Ada_Drivers
apps/bootloader/main_direct.adb
<gh_stars>0 with System.Machine_Code; use System.Machine_Code; with System.Storage_Elements; use System.Storage_Elements; with System.Address_To_Access_Conversions; with System; use System; with Interfaces; use Interfaces; with MSPGD.Board; use MSPGD.Board; with MSP430_SVD; use MSP430_SVD; with MSP430_SVD.FLASH; use MS...
11,232
ada
0
kkirstein/proglang-playground
Ada/Benchmark/src/main.adb
<reponame>kkirstein/proglang-playground with Ada.Text_IO; use Ada.Text_IO; with Ada.Calendar; use Ada.Calendar; with Ada.Numerics.Big_Numbers.Big_Integers; use Ada.Numerics.Big_Numbers.Big_Integers; with Fibonacci; with Perfect_Number; with Primes; with Aux_Image; use Aux_Image; procedure Main is package Fib rena...
11,233
ada
1
selroc/Renaissance-Ada
src/examples/Rejuvenation_Workshop/src/Rejuvenation_Workshop.adb
<gh_stars>1-10 with AssignmentByIfExamples; with Default_Value; with Mismatch; with Prefix_Notation; pragma Unreferenced (AssignmentByIfExamples); pragma Unreferenced (Default_Value); pragma Unreferenced (Mismatch); pragma Unreferenced (Prefix_Notation); procedure Rejuvenation_Workshop is begin -- This project co...
11,234
ada
18
kraileth/ravenadm
src/portscan-tests.adb
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Package_Manifests; with PortScan.Log; with Parameters; with Unix; with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Exceptions; package body PortScan.Tests is package MAN renames Package_Manifes...
11,235
ada
24
svn2github/matreshka
source/league/codecs/matreshka-internals-text_codecs-windows1252.adb
<filename>source/league/codecs/matreshka-internals-text_codecs-windows1252.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,236
ada
1
Roldak/OpenGLAda
deps/FreeTypeAda/src/ft-glyphs.adb
<reponame>Roldak/OpenGLAda -- part of FreeTypeAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with FT.Errors; with FT.API.Glyphs; package body FT.Glyphs is use type Errors.Error_Code; procedure Check_Glyph (Object : Glyph_Reference) is begin if Object.Data...
11,237
ada
20
charlie5/lace
3-mid/impact/source/2d/dynamics/joints/impact-d2-joint-distance.ads
package impact.d2.Joint.distance -- -- A distance joint constrains two points on two bodies -- to remain at a fixed distance from each other. You can view -- this as a massless, rigid rod. -- is type b2DistanceJoint is new b2Joint with private; -- Distance joint definition. -- This requires defining a...
11,238
ada
0
joffreyhuguet/LmcpGen
ada/src/afrl/cmasi/afrl-cmasi-keyvaluepair.ads
<reponame>joffreyhuguet/LmcpGen with avtas.lmcp.types; use avtas.lmcp.types; with afrl.cmasi.object; use afrl.cmasi.object; with afrl.cmasi.enumerations; use afrl.cmasi.enumerations; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package afrl.cmasi.keyValuePair is type KeyValuePair is new afrl.cmasi.obj...
11,239
ada
1
micahwelf/FLTK-Ada
src/fltk-widgets-clocks-updated.adb
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Clocks.Updated is procedure clock_set_draw_hook (W, D : in System.Address); pragma Import (C, clock_set_draw_hook, "clock_set_draw_hook"); pragma Inline (clock_set_draw_hook); procedure...
11,240
ada
1
mosteo/ada-toml
src/toml.ads
with Ada.Finalization; with Ada.Strings.Unbounded; with Interfaces; package TOML with Preelaborate is pragma Warnings (Off); use type Ada.Strings.Unbounded.Unbounded_String; pragma Warnings (On); subtype Unbounded_UTF8_String is Ada.Strings.Unbounded.Unbounded_String; type Any_Value_Kind is (TO...
11,241
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-dp_info.ads
-- -- Copyright (C) 2015-2017 secunet Security Networks AG -- -- This program 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 2 of the License, or -- (at your option) any later version. -- -- ...
11,242
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sse_nolib.adb
<reponame>best08618/asylo -- { dg-do run { target i?86-*-* x86_64-*-* } } -- { dg-options "-O1 -msse" } -- { dg-require-effective-target sse_runtime } with Ada.Unchecked_Conversion; procedure SSE_Nolib is -- Base vector type definitions package SSE_Types is VECTOR_ALIGN : constant := 16; VECT...
11,243
ada
1
LaudateCorpus1/RosettaCodeData
Task/Arithmetic-Integer/Ada/arithmetic-integer.ada
<filename>Task/Arithmetic-Integer/Ada/arithmetic-integer.ada with Ada.Text_Io; with Ada.Integer_Text_IO; procedure Integer_Arithmetic is use Ada.Text_IO; use Ada.Integer_Text_Io; A, B : Integer; begin Get(A); Get(B); Put_Line("a+b = " & Integer'Image(A + B)); Put_Line("a-b = " & Integer'Image(A -...
11,244
ada
0
DrenfongWong/tkm-rpc
specs/ada/server/tkmrpc-contexts-esa.ads
with Tkmrpc.Types; package Tkmrpc.Contexts.esa is type esa_State_Type is (clean, -- Initial clean state. invalid, -- Error state. stale, -- ESA context is stale. selected, -- ESA is selected. active -- ESP SA is active. ); function...
11,245
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1311a.ada
-- CC1311A.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...
11,246
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada95/a-calend.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
11,247
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_25.ads
package Problem_25 is procedure Solve; end Problem_25;
11,248
ada
0
thierr26/ada-apsepp
src/_demo/output_sink_as_shared_instance/apsepp_demo_osasi_instance_controllers.adb
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Text_IO; with Ada.Tags; -- "With" the shared output sink instance access point package. with Apsepp.Output; -- "With" the generic instance creator package (useful to instantiate the -- Creator child package of Apsepp.Ou...
11,249
ada
0
Letractively/ada-util
src/util-log.ads
<gh_stars>0 ----------------------------------------------------------------------- -- Logs -- Utility Log Package -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file...
11,250
ada
192
rocher/Ada_Drivers_Library
arch/RISC-V/SiFive/drivers/fe310-uart.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- ...
11,251
ada
0
sebsgit/textproc
src/shapedatabase.adb
<reponame>sebsgit/textproc with PixelArray; with ImageIO; with ImageRegions; with ImageMoments; with ImageFilters; with ImageThresholds; with Morphology; with Histogram; with HistogramDescriptor; with Ada.Text_IO; with Ada.Containers.Vectors; with Ada.Strings.Fixed; with Ada.Strings.Unbounded; use Ada.Containers; wi...
11,252
ada
2,201
yangyangisyou/GildedRose-Refactoring-Kata
Ada/gilded_rose_tester.adb
<reponame>yangyangisyou/GildedRose-Refactoring-Kata with Ahven.Text_Runner; with Ahven.Framework; with Gilded_Rose_Tests; procedure Gilded_Rose_Tester is S : Ahven.Framework.Test_Suite := Ahven.Framework.Create_Suite("All"); begin Ahven.Framework.Add_Test(S, new Gilded_Rose_Tests.Test); Ahven.Text_Runner.Run(S);...
11,253
ada
1
bracke/websitegenerator
src/server.ads
<gh_stars>1-10 with AWS.Response; with AWS.Services.Page_Server; with AWS.Services.Directory; with AWS.Server; with AWS.Status; package Server is function Callback (Request : AWS.Status.Data) return AWS.Response.Data; procedure Start_Server; private end Server;
11,254
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-tigeli.adb
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
11,255
ada
15
My-Colaborations/dynamo
src/asis/asis-elements.adb
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
11,256
ada
0
bhayward93/Ada-Traffic-Light-Sim
icasrc/trafficlightswitcher.adb
with HWIF;use HWIF; with HWIF_Types; use HWIF_Types; --with Ada.Text_IO; use Ada.Text_IO; procedure TrafficLightSwitcher (dir : in Direction) is begin if Traffic_Light(dir) = 4 then --If Red Light. delay 1.0; Traffic_Light(dir) := 6; --Amber/Red delay 3.0; --Safety Req: Ambe...
11,257
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sorting-algorithms-Heapsort/Ada/sorting-algorithms-heapsort-3.ada
with Generic_Heapsort; with Ada.Text_Io; use Ada.Text_Io; procedure Test_Generic_Heapsort is type Days is (Sun, Mon, Tue, Wed, Thu, Fri, Sat); type Days_Col is array(Days range <>) of Natural; procedure Sort is new Generic_Heapsort(Natural, Days, Days_Col); Week : Days_Col := (5, 2, 7, 3, 4, 9, 1); begin ...
11,258
ada
0
wooky/aoc.kt
src/main/ada/2019/aoc-aoc_2019-day03.adb
with Ada.Containers.Vectors; with Ada.Text_IO; with GNAT.String_Split; package body AOC.AOC_2019.Day03 is type Wire_Segment is record Is_Horizontal: Boolean; Distance_Travelled : Integer; Time_Start : Integer; Stable, P1, P2 : Integer; end record; package Wire_Segment_Vectors is new Ad...
11,259
ada
0
JeremyGrosser/the_grid
src/console.ads
<reponame>JeremyGrosser/the_grid package Console is procedure Initialize; procedure Put (C : Character) with Export, Convention => C, External_Name => "putchar"; end Console;
11,260
ada
20
charlie5/lace
3-mid/opengl/private/freetype/source/freetype.ads
package Freetype -- -- A thick bindng to the 'Freetype' font library. -- is pragma Pure; Error : exception; type Vector_3 is array (Positive range 1 .. 3) of Float; end Freetype;
11,261
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/mdll-utl.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
11,262
ada
12
mgrojo/protobuf
source/compiler/compiler-file_descriptors.ads
<reponame>mgrojo/protobuf<filename>source/compiler/compiler-file_descriptors.ads -- MIT License -- -- Copyright (c) 2020 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software with...
11,263
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32l0/stm32gd-exti.ads
with Ada.Interrupts.Names; use Ada.Interrupts.Names; with STM32_SVD.EXTI; package STM32GD.EXTI is type External_Line_Number is (EXTI_Line_0, EXTI_Line_1, EXTI_Line_2, EXTI_Line_3, EXTI_Line_4, EXTI_Line_5, EXTI_Line_6, EXTI_Line_7, EXTI_Line_8, EXTI_Line_9...
11,264
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_aux.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
11,265
ada
4
davidkristola/vole
parse_test.adb
<gh_stars>1-10 -- This file is freely given to the Public Domain. -- with Ada.Command_Line; use Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; with Vole_Tokens; with kv.avm.Vole_Lex; with Vole_Lex_IO; with kv.avm.vole_parser; with kv.avm.vole_tree; with kv.avm.Tree_Dots; with kv.avm.T...
11,266
ada
33
ytomino/drake
source/directories/machine-w64-mingw32/a-dirinf.ads
pragma License (Unrestricted); -- AARM A.16(124.b/2), specialized for Windows private with C.windef; package Ada.Directories.Information is -- System-specific directory information. -- Version for the Microsoft(R) Windows(R) operating system. function Creation_Time (Name : String) return Calendar.Time; ...
11,267
ada
1
Kurinkitos/Twizy-Security
src/speedmodule.adb
<reponame>Kurinkitos/Twizy-Security<gh_stars>1-10 package body speedModule with SPARK_Mode is function speedtest(S : in Speed) return Boolean is begin if (0.0 <= S and then S <= 5.0) then return True; else return False; end if; end speedtest; end;
11,268
ada
4
MOUDDENEHamza/ENSEEIHT
1A/S5/PIM/tps/tp8solution/frequences_caracteres.adb
<reponame>MOUDDENEHamza/ENSEEIHT<filename>1A/S5/PIM/tps/tp8solution/frequences_caracteres.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with ABR; use ABR; -- Afficher la fréquence absolue des caractères d'une chaîne de caractère. procedure Frequenc...
11,269
ada
13
jrmarino/zstd-ada
Binding_Zstandard/zstandard.ads
<reponame>jrmarino/zstd-ada<gh_stars>10-100 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package Zstandard is pragma Pure; end Zstandard;
11,270
ada
7
stcarrez/mat
mat/src/parser/mat-expressions-parser_io.ads
----------------------------------------------------------------------- -- mat-expressions-parser_io -- Input IO for Lex parser -- 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 w...
11,271
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_check_gstbufferstraw_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; package G...
11,272
ada
24
svn2github/matreshka
source/league/matreshka-internals-regexps-engine-debug.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,273
ada
1
Scottx86-64/dotfiles-1
source/pkgsrc/lang/gcc34/files/4netbsdintnam.ads
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
11,274
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-stoufo.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
11,275
ada
4
ddugovic/words
english_support_package.adb
<gh_stars>1-10 package body ENGLISH_SUPPORT_PACKAGE is --use EWDS_DIRECT_IO; use TEXT_IO; package body EWDS_RECORD_IO is package INTEGER_IO is new TEXT_IO.INTEGER_IO(INTEGER); use PART_OF_SPEECH_TYPE_IO; use FREQUENCY_TYPE_IO; use TEXT_IO; use INTEGER_IO; SPACER : CHARACTER := ' ';...
11,276
ada
2
morbos/Ada_Drivers_Library
boards/OpenMV2/src/openmv.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
11,277
ada
0
fintatarta/protypo
src/lib/Readable_Sequences/readable_sequences-string_sequences.adb
<filename>src/lib/Readable_Sequences/readable_sequences-string_sequences.adb with Ada.Characters.Latin_9; package body Readable_Sequences.String_Sequences is procedure Fill_Position (Seq : in out Sequence) is use Ada.Characters.Latin_9; Old_Position : constant Cursor := Seq.Current_Position; ...
11,278
ada
20
charlie5/lace
4-high/gel/source/gel-rig.adb
with gel.Forge, gel.Conversions, physics.Model, openGL.Model.any, opengl.Palette, opengl.Program .lit_colored_textured_skinned, opengl.Geometry.lit_colored_textured_skinned, collada.Document, collada.Library, collada.Library.controllers, collada.Library.animation...
11,279
ada
0
optikos/oasis
source/oasis/program-elements-delta_constraints.ads
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Constraints; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Delta_Constr...
11,280
ada
0
RREE/Ada_Drivers_Library
components/src/screen/lcd/lcd_hd44780.adb
<reponame>RREE/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2022, AdaCore -- -- ...
11,281
ada
0
SKNZ/BezierToSTL
src/math.adb
with Ada.Numerics.Generic_Elementary_Functions; package body Math is package Float_Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Float); use Float_Elementary_Functions; function Hypot(P : Point2D) return Float is X : constant Float := abs P(P'First); Y : constant F...
11,282
ada
3
onox/orka-demo
src/planets.adb
<gh_stars>1-10 with Ada.Numerics.Generic_Elementary_Functions; package body Planets is package EF is new Ada.Numerics.Generic_Elementary_Functions (Orka.Float_64); function Get_Vector (Latitude, Longitude : Orka.Float_64) return Matrices.Vectors.Vector4 is Lon_Rad : constant Orka.Float_64 := Matr...
11,283
ada
0
btmalone/alog
tests/alog_suite.adb
------------------------------------------------------------------------ -- -- Copyright (c) 2018, <NAME> All Rights Reserved. -- -- 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 -- -- ...
11,284
ada
20
charlie5/lace
3-mid/opengl/source/opengl.adb
with ada.Strings.Hash, ada.unchecked_Conversion; package body openGL is ------------ -- Profiles -- function Profile return profile_Kind is separate; ----------- -- Vectors -- function Scaled (Self : in Vector_3; By : in Vector_3) return Vector_3 is begin retu...
11,285
ada
0
xuedong/mini-ada
tests/typing/bad/testfile-return-1.adb
with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure P is begin return 0; end; begin P; end;
11,286
ada
76
yannickmoy/SPARKNaCl
src/sparknacl-sanitize_boolean.adb
separate (SPARKNaCl) procedure Sanitize_Boolean (R : out Boolean) is begin R := False; -- Boolean'Pos (0) -- It seems an inspection point is not possible on R here, since -- it is passed by copy in a register -- pragma Inspection_Point (R); -- See RM H3.2 (9) -- Add target-dependent code here to ...
11,287
ada
33
ytomino/drake
source/s-initia.adb
<filename>source/s-initia.adb with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Storage_Pools.Overlaps; package body System.Initialization is pragma Suppress (All_Checks); type Object_Access is access all Object; for Object_Access'Storage_Pool use Storage_Pools.Over...
11,288
ada
0
dksmiffs/gnatmake-examples
cpp-main-big/src/ada-b/i_am_ada_too.ads
<reponame>dksmiffs/gnatmake-examples package I_Am_Ada_Too is procedure Ada_Procedure_Too; pragma Export (C, Ada_Procedure_Too, "ada_procedure_too"); end I_Am_Ada_Too;
11,289
ada
36
rewriting/tom
src/tom/library/sl/ada/failstrategy.ads
<filename>src/tom/library/sl/ada/failstrategy.ads with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage; package FailStrategy is type Fail is new AbstractStrategyCombinator and Object with rec...
11,290
ada
0
caqg/linux-home
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_corr.ads
with ARM_Output, ARM_Contents, Ada.Text_IO; package ARM_Corr is -- -- Ada reference manual formatter (ARM_Form). -- -- This package defines the text output object. -- Output objects are responsible for implementing the details of -- a particular format. -- -- -----...
11,291
ada
4
sparre/ALSA-binding
src/sound-mono.adb
<reponame>sparre/ALSA-binding -- 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 Interfac...
11,292
ada
60
RREE/ada-util
src/sys/encoders/util-encoders-base16.ads
<reponame>RREE/ada-util<gh_stars>10-100 ----------------------------------------------------------------------- -- util-encoders-base16 -- Encode/Decode a stream in hexadecimal -- Copyright (C) 2009, 2010, 2011, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "Li...
11,293
ada
24
svn2github/matreshka
source/amf/dd/amf-dg-linear_gradients.ads
<filename>source/amf/dd/amf-dg-linear_gradients.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,294
ada
4
faelys/gela-asis
tools/xml2ayacc/encoding/encodings-classes.adb
<reponame>faelys/gela-asis -------------------------------------------------------- -- E n c o d i n g s -- -- -- -- Tools for convertion strings between Unicode and -- -- national/vendor character sets. -- -- ...
11,295
ada
192
rocher/Ada_Drivers_Library
testsuite/tests/command_line/src/tc_cmd_builtins.adb
<filename>testsuite/tests/command_line/src/tc_cmd_builtins.adb with Ada.Text_IO; use Ada.Text_IO; with Command_Line; procedure TC_CMD_Builtins is Cmd_1 : aliased constant String := "help"; Cmd_2 : aliased constant String := "help echo"; Cmd_3 : aliased constant String := "echo -n test"; Cmd_4 : aliased c...
11,296
ada
65
mfkiwl/ewok-kernel-security-OS
src/arch/socs/stm32f439/soc-layout.ads
-- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <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...
11,297
ada
24
svn2github/matreshka
source/league/matreshka-internals-text_codecs.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
11,298
ada
4
faelys/gela-asis
source/asis/spec/ada-tags-generic_dispatching_constructor.ads
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
11,299
ada
6
yannickmoy/SPARKZumo
bsp/freedom_e310-G000/pwm.adb
<reponame>yannickmoy/SPARKZumo pragma SPARK_Mode; with Interfaces.C; use Interfaces.C; with Sparkduino; use Sparkduino; package body Pwm is Pwm_Resolution : constant := 8; procedure Configure_Timers is begin null; end Configure_Timers; procedure SetRate (Index : Pwm_Index; ...