id
int64
0
30.9k
extension
stringclasses
1 value
max_stars_count
int64
0
17k
max_stars_repo_name
stringlengths
7
106
max_stars_repo_path
stringlengths
5
136
text
stringlengths
9
1M
10,600
ada
1
michalkonecny/polypaver
examples/SPARK2005/packages/polypaver.ads
package PolyPaver is end PolyPaver;
10,601
ada
33
ytomino/drake
source/containers/a-cgcaso.ads
pragma License (Unrestricted); generic type Index_Type is (<>); type Element_Type is private; type Array_Type is array (Index_Type) of Element_Type; with function "<" (Left, Right : Element_Type) return Boolean is <>; procedure Ada.Containers.Generic_Constrained_Array_Sort ( Container : in out Array_Type...
10,602
ada
0
djgoku/RosettaCodeData
Task/Loops-For-with-a-specified-step/Ada/loops-for-with-a-specified-step-2.ada
for Step in Loop_Steps loop put(Step, 0); put(", "); end loop; put("who do we appreciate?");
10,603
ada
1
mokafiht/u2f_key_SDCC
src/cert.adb
M:cert S:G$__attest$0$0({383}DA383d,SC:U),D,0,0 S:G$__attest_size$0$0({2}SI:U),D,0,0 S:G$WMASK$0$0({37}DA37d,SC:U),D,0,0 S:G$RMASK$0$0({33}DA33d,SC:U),D,0,0 S:Fcert$__str_0$0$0({383}DA383d,SC:S),Z,0,0 S:Fcert$__str_1$0$0({37}DA37d,SC:S),Z,0,0 S:Fcert$__str_2$0$0({33}DA33d,SC:S),Z,0,0
10,604
ada
1
michalkonecny/polypaver
tools/SPARK2005/preprocessor/src/fp_detect.adb
with Ada.Wide_Text_IO; use Ada.Wide_Text_IO; with Ada.Characters.Handling; use Ada.Characters.Handling; with Asis; with Asis.Compilation_Units; with Asis.Elements; with Asis.Declarations; with Asis.Definitions; with Asis.Expressions; with Asis.Exceptions; package body FP_Detect is function Is_PP_Elem_Fn(Element :...
10,605
ada
20
charlie5/lace
3-mid/opengl/source/platform/egl/opengl-surface_profile.adb
<gh_stars>10-100 with eGL.binding; with openGL.Display.privvy; with Interfaces.C; package body opengl.surface_Profile is use openGL.Display.privvy, eGL, eGL.Binding, Interfaces; subtype egl_attribute_List is EGLint_array; function to_egl_Attributes (Desired : Qualities) return egl...
10,606
ada
0
btmalone/alog
aunit/aunit-test_results.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,607
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/system-solaris-sparc.ads
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,608
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/sender.ads
<reponame>ouankou/rose with Comm; package Sender is XFATAL : constant Comm.Errorcode_Type := Comm.Errorcode_Type(-2); procedure report(err : in Comm.Errorcode_Type); end Sender;
10,609
ada
0
Fabien-Chouteau/COBS
tests/src/testsuite-encode-basic_tests.ads
<gh_stars>0 private package Testsuite.Encode.Basic_Tests is procedure Add_Tests (Suite : in out AUnit.Test_Suites.Test_Suite'Class); end Testsuite.Encode.Basic_Tests;
10,610
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sort2.adb
<reponame>best08618/asylo -- { dg-do run } with sort1; procedure sort2 is begin if Sort1 ("hello world") /= " dehllloorw" then raise Program_Error; end if; end sort2;
10,611
ada
1
Jellix/open_weather_map_api
src/open_weather_map-api-service.adb
<reponame>Jellix/open_weather_map_api -------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, ...
10,612
ada
0
twdroeger/ada-awa
awa/src/awa-components-wikis.adb
----------------------------------------------------------------------- -- awa-components-wikis -- Wiki rendering component -- Copyright (C) 2011, 2012, 2013, 2015, 2016, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ex...
10,613
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/i-leon3.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
10,614
ada
0
balintsoos/LearnAda
gyak/gyak1-2/b__lnko.adb
pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__lnko.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__lnko.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body ada_main is pragma Warnings (Off); E74 : Short_Integer; pragma Import (Ada, E74, "...
10,615
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-storages/src/awa-storages.ads
<reponame>My-Colaborations/ada-awa ----------------------------------------------------------------------- -- awa-storages -- Storage module -- Copyright (C) 2012, 2015, 2016, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
10,616
ada
4
ytomino/yaml-ada
source/yaml-streams.adb
with Ada.IO_Exceptions; with Ada.Unchecked_Conversion; package body YAML.Streams is use type C.signed_int; -- parser function Read_Handler ( data : C.void_ptr; buffer : access C.unsigned_char; size : C.size_t; size_read : access C.size_t) return C.signed_int with Convention => C; function Read_Han...
10,617
ada
0
cborao/Ada-P3
chat_messages.ads
--PRÁCTICA 3: <NAME> (Chat_Messages.ads) with Lower_Layer_UDP; with Ada.Strings.Unbounded; package Chat_Messages is package LLU renames Lower_Layer_UDP; package ASU renames Ada.Strings.Unbounded; type Message_Type is (Init, Welcome, Writer, Server, Logout); procedure Init_Message (Server_EP: LLU.E...
10,618
ada
18
jquorning/ada-wiki
src/wiki-plugins-variables.ads
<reponame>jquorning/ada-wiki<filename>src/wiki-plugins-variables.ads ----------------------------------------------------------------------- -- wiki-plugins-variables -- Variables plugin -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License");...
10,619
ada
0
JCGobbi/Nucleo-STM32G474RE
SVD2ada/svd/stm32_svd-dmamux.ads
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.DMAMUX is pragma Preelaborate; --------------- -- Registers -- --------------- subtype C0CR_DMAREQ_ID_Field is HAL.UInt7...
10,620
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_mixerutils_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with System; with glib; with glib.Values; with System; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_mixerutils_h is -- GStreamer -- *...
10,621
ada
80
thindil/steamsky
tests/combat-test_data-tests-guns_container-test_data.adb
<gh_stars>10-100 -- 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. package body Combat.Test_D...
10,622
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/xnmake.adb
------------------------------------------------------------------------------ -- -- -- GNAT SYSTEM UTILITIES -- -- -- -- ...
10,623
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/g-exctra.adb
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,624
ada
33
ytomino/drake
source/strings/a-szmzco.ads
<reponame>ytomino/drake<filename>source/strings/a-szmzco.ads pragma License (Unrestricted); with Ada.Strings.Maps.Constants; private with Ada.Strings.Maps.Naked; private with Ada.Strings.Naked_Maps.Set_Constants; package Ada.Strings.Wide_Wide_Maps.Wide_Wide_Constants is pragma Preelaborate; -- extended -- T...
10,625
ada
3
charlie5/aIDE
applet/aide/source/editors/aide-editor-of_context.ads
<reponame>charlie5/aIDE<gh_stars>1-10 with AdaM.Context, gtk.Widget; private with gtk.Label, gtk.Frame, gtk.Box; package aIDE.Editor.of_context is type Item is new Editor.item with private; type View is access all Item'Class; package Forge is function to_context_Editor (...
10,626
ada
23
SMerrony/dashera
Src/display_p.adb
-- Copyright ©2021,2022 <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, publish, distri...
10,627
ada
3
FROL256/ada-ray-tracer
vector_math.ads
with Interfaces; with Ada.Numerics.Float_Random; with Generic_Vector_Math; use Interfaces; package Vector_Math is -- float math -- package Float_Math is new Generic_Vector_Math (float); function safe_tan(x : float) return float; function sign(x : float) return float; function pow(Left, Right : float) re...
10,628
ada
0
stcarrez/hyperion
src/model/hyperion-rest-models.ads
<gh_stars>0 -- Hyperion API -- Hyperion Monitoring API The monitoring agent is first registered so that the server knows it as well as its security key. Each host are then registered by a monitoring agent. -- -- The version of the OpenAPI document: 1.0.0 -- Contact: <EMAIL> -- -- NOTE: This package is auto gener...
10,629
ada
9
AntonMeep/parse_args
tests/parse_args_suite-parse_args_tests.adb
-- parse_args_suite-parse_args_tests.adb -- Unit tests for the Parse_Args project -- Copyright (c) 2016, <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear ...
10,630
ada
4
ytomino/gmp-ada
source/mpc-generic_c.ads
with MPFR.Generic_FR; with MPC.Root_C; generic with package Real_FR is new MPFR.Generic_FR (others => <>); with package Imaginary_FR is new MPFR.Generic_FR (others => <>); package MPC.Generic_C is pragma Preelaborate; function Rounding return MPC.Rounding; pragma Inline (Rounding); type MP_Complex is new ...
10,631
ada
33
ytomino/drake
source/environment/machine-apple-darwin/s-progra.adb
<gh_stars>10-100 with System.Zero_Terminated_Strings; with C.mach_o.dyld; with C.stdint; package body System.Program is use type C.signed_int; use type C.stdint.uint32_t; function Full_Name return String is -- use proc_pidpath instead of NSGetExecutablePath? Buffer_Length : aliased C.stdint.uint3...
10,632
ada
0
faelys/natools
src/natools-smaz_implementations-base_64.ads
------------------------------------------------------------------------------ -- Copyright (c) 2016, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
10,633
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48008c.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48008c.ada -- C48008C.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...
10,634
ada
20
charlie5/lace
2-low/collada/source/collada-library.ads
package collada.Library -- -- Provides a namespace and core types for the specific collada library child packages. -- is ---------- -- Sources -- type Source is record Id : Text; array_Id : Text; Floats : access float_Array; Texts : access Text_array; ...
10,635
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95073a.ada
<gh_stars>1-10 -- C95073A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein....
10,636
ada
0
fintatarta/eugen
src/Plugin_Tables/plugins-tables.ads
<reponame>fintatarta/eugen -- -- This package provides resources to handle dynamic "plugins" -- -- A plugin is an "object" that can be called dynamically at run-time to -- handle, for example, files with different format. A plugin will -- typically be a descendant of an abstract type that specifies the -- minimal ...
10,637
ada
20
charlie5/lace
3-mid/impact/source/2d/collision/shapes/impact-d2-shape.adb
package body impact.d2.Shape is function getKind (Self : in b2Shape'Class) return shape.Kind is begin return self.m_Kind; end getKind; end impact.d2.Shape;
10,638
ada
0
reznikmm/gela
source/nodes/program-nodes-package_body_declarations.ads
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Defining_Names; with Program.Elements.Aspect_Specifications; with Program.Element_Vectors; with Program.El...
10,639
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/exp0_eval.adb
-- { dg-do run } with Interfaces; use Interfaces; procedure Exp0_Eval is F_Count : Natural := 0; function F return Integer is begin F_Count := F_Count + 1; return 1; end F; function F return Unsigned_32 is begin F_Count := F_Count + 1; return 1; end F; R : constant In...
10,640
ada
0
mstewartgallus/linted
src/linted-drawer/src/linted-gpu.ads
-- Copyright 2016 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writi...
10,641
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/s-traceb.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,642
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/solar_system/adv_170_multiple_inheritance/answers/solar_system-graphics.ads
with Display.Basic; use Display.Basic; with Display; use Display; package Solar_System.Graphics is type Drawable_I is interface; procedure Draw(Drawable : Drawable_I; Canvas : Canvas_ID) is abstract; type Visible_Body_Decorator_T is abstract new Drawable_I and Still_Body_I with private; procedure Draw(D...
10,643
ada
15
mgrojo/adalib
ada-strings-wide_maps-wide_constants.ads
<filename>ada-strings-wide_maps-wide_constants.ads -- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 19...
10,644
ada
24
svn2github/matreshka
tools/parser_transformer/parser_extractor.ads
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,645
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tienio.ads
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tienio.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
10,646
ada
0
persan/dds-requestreply
tests/simple/src/dds-request_reply-tests-simple.adb
with GNAT.Exception_Traces; with GNAT.Traceback.Symbolic; package body DDS.Request_Reply.Tests.Simple is begin GNAT.Exception_Traces.Trace_On (GNAT.Exception_Traces.Every_Raise); GNAT.Exception_Traces.Set_Trace_Decorator (GNAT.Traceback.Symbolic.Symbolic_Traceback_No_Hex'Access); end DDS.Request_Reply.Tests.Simpl...
10,647
ada
1
charlie5/lace-alire
3-mid/opengl/source/lean/model/opengl-model-box-lit_colored.ads
<reponame>charlie5/lace-alire with openGL.Geometry, openGL.Font, openGL.Texture; package openGL.Model.Box.lit_colored -- -- Models a lit and colored box. -- -- Each face may be separately colored via each of its 4 vertices. -- is type Item is new Model.box.item with private; type View is access...
10,648
ada
0
fintatarta/eugen
src/Projects/eu_projects-node_tables.adb
<reponame>fintatarta/eugen<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; package body EU_Projects.Node_Tables is procedure Dump (T : Node_Table) is use Node_Maps; begin for Pos in T.Table.Iterate loop Put_Line (EU_Projects.Nodes.To_String(Key (Pos)) & ":"); end loop; end Dump; -...
10,649
ada
0
gonma95/RealTimeSystem_CarDistrations
devices1.ads
<filename>devices1.ads with Ada.Real_Time; use Ada.Real_Time; with ada.strings.unbounded; use ada.strings.unbounded; with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io; package devices1 is --------------------------------------------------------------------- ------ Access time for devices...
10,650
ada
20
charlie5/lace
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-multi_sphere.adb
<reponame>charlie5/lace with impact.d3.Vector; with impact.d3.collision.Proxy; with Ada.Containers; with impact.d3.Scalar; -- #include "impact.d3.Shape.convex.internal.multi_sphere.h" -- #include "BulletCollision/CollisionShapes/impact.d3.collision.Margin.h" -- #include "LinearMath/impact.d3.Quaternion.h" -- #incl...
10,651
ada
192
rocher/Ada_Drivers_Library
examples/shared/serial_ports/src/serial_io-streaming.adb
<filename>examples/shared/serial_ports/src/serial_io-streaming.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
10,652
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/enclosing_record_reference.adb
-- { dg-do compile } package body Enclosing_Record_Reference is R: aliased T; function F1 (x: integer) return T is begin return R; end; function F2 (x: T) return integer is begin return 0; end; function F3 (x: T) return T is begin return R; end; function F4 (x: intege...
10,653
ada
4
faelys/gela-asis
.build/ada/asis-gela-elements-clause.ads
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributio...
10,654
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_direct_io.adb
-- { dg-do run } with Ada.Direct_IO; procedure Test_Direct_IO is package BDIO is new Ada.Direct_IO (Boolean); use BDIO; FD : File_Type; begin Create (FD, Form => "shared=yes"); Reset (FD); Close (FD); end Test_Direct_IO;
10,655
ada
0
strenkml/EE368
memsim-master/src/test-ram.adb
<reponame>strenkml/EE368 with Memory.RAM; use Memory.RAM; package body Test.RAM is procedure Run_Tests is mem : RAM_Pointer := Create_RAM(latency => 100, burst => 1, word_size => 4, ...
10,656
ada
1
TNO/Dependency_Graph_Extractor-Ada
tests/syntax_examples/src/basic_subprogram_calls-child.adb
package body Basic_Subprogram_Calls.Child is function Child_F1 return Integer is begin return 42; end Child_F1; procedure Child_P1 is begin null; end Child_P1; end Basic_Subprogram_Calls.Child;
10,657
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-uml_parameters.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
10,658
ada
1,167
CandyROM/external_libncurses
Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads
<filename>Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- ...
10,659
ada
0
Tim-Tom/project-euler
Ada/inc/Rational.ads
package Rational is type Rat is private; function Create(num : in Long_Long_Integer; den : in Long_Long_Integer) return Rat; function Numerator(r : in Rat) return Long_Long_Integer; function Denomonator(r : in Rat) return Long_Long_Integer; function "+" (left, right: in Rat) return Rat; function "-"...
10,660
ada
20
charlie5/lace
1-base/math/source/generic/pure/geometry/trigonometry/any_math-any_fast_rotation.ads
<gh_stars>10-100 generic package any_Math.any_fast_Rotation is function to_Rotation (Angle : in Real) return access constant Matrix_2x2; private pragma Inline_Always (to_Rotation); end any_Math.any_fast_Rotation;
10,661
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/frame_overflow.adb
-- { dg-do compile } package body Frame_Overflow is function -- { dg-error "too large" } Set_In (Bitmap : Bitmap_T; Bitpos : Bitpos_Range_T) return Bitmap_T is Result: Bitmap_T := Bitmap; begin Result.Bits (Bitpos) := True; return Result; end; function -- { dg-error "too large"...
10,662
ada
33
ytomino/drake
source/strings/a-chacon.ads
<reponame>ytomino/drake pragma License (Unrestricted); private with System.UTF_Conversions.From_8_To_16; private with System.UTF_Conversions.From_8_To_32; private with System.UTF_Conversions.From_16_To_32; private with System.UTF_Conversions.From_16_To_8; private with System.UTF_Conversions.From_32_To_8; private with S...
10,663
ada
0
persan/a-vulkan
src/vulkan-low_level.ads
package Vulkan.Low_Level is end Vulkan.Low_Level;
10,664
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-lists.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
10,665
ada
1
Okasu/Byron
src/plugins/plugin-url.adb
with Scape; use Scape; with Ada.Characters.Conversions; use Ada.Characters.Conversions; with Ada.Strings.Wide_Wide_Unbounded; use Ada.Strings.Wide_Wide_Unbounded; with AWS.Client; use AWS.Client; with GNAT.Regpat; use Gnat.Regpat; with AWS.Response...
10,666
ada
24
svn2github/matreshka
tools/scanner_transformer/scanner_transformer.adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
10,667
ada
0
ytomino/iconv-ada
source/iconv.adb
<reponame>ytomino/iconv-ada with System.Address_To_Access_Conversions; with System.Storage_Elements; with C.errno; with C.iconv; with C.string; with iconv.Inside; package body iconv is use type Ada.Streams.Stream_Element_Offset; use type System.Address; use type C.signed_int; use type C.size_t; package char_ptr_...
10,668
ada
33
ytomino/drake
source/s-spstpo.adb
with System.Standard_Allocators; with System.System_Allocators; package body System.Storage_Pools.Standard_Pools is pragma Suppress (All_Checks); overriding procedure Allocate ( Pool : in out Standard_Pool; Storage_Address : out Address; Size_In_Storage_Elements : Storage_Elements.Storage_Count...
10,669
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/prepcomp.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,670
ada
1
jquorning/WeDo
source/decoration.adb
<filename>source/decoration.adb -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Symbo...
10,671
ada
33
ytomino/drake
source/a-tags.adb
<reponame>ytomino/drake<gh_stars>10-100 pragma Check_Policy (Trace => Ignore); with Ada.Exception_Identification.From_Here; with System.Address_To_Named_Access_Conversions; with System.Formatting.Address; with System.Shared_Locking; with System.UTF_Conversions.From_8_To_16; with System.UTF_Conversions.From_8_To_32; pac...
10,672
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46033a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46033a.ada -- C46033A.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...
10,673
ada
0
patrickf2000/ada-asm
src/elf.ads
<filename>src/elf.ads with Ada.Containers.Vectors; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; package Elf is -- The ELF types type byte is mod 2 ** 8; type Elf64_Half is mod 2 ** 16; type Elf64_Word is mod 2 ** 32; type Elf64_Sword...
10,674
ada
0
kochab/simulatedannealing-ada
Bitmaps/src/bitmaps.ads
<filename>Bitmaps/src/bitmaps.ads package Bitmaps is type Luminance is mod 2**8; end Bitmaps;
10,675
ada
1
ytomino/vampire
source/tabula-casts-load.adb
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Streams.Stream_IO; with Serialization.YAML; with YAML.Streams; with Tabula.Casts.Cast_IO; function Tabula.Casts.Load (Name : String) return Cast_Collection is begin return Result : Cast_Collection do declare File : Ada.Streams.Stream_IO.File_Type := Ad...
10,676
ada
0
PThierry/ewok-kernel
src/arch/socs/stm32f439/soc-dma.adb
-- -- 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...
10,677
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f0/stm32f051x/svd/stm32_svd-syscfg.ads
-- This spec has been automatically generated from STM32F0xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.SYSCFG is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CFGR1_MEM_MODE_Field is STM32...
10,678
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/freeze.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
10,679
ada
0
Fabien-Chouteau/libriscv
examples/simulator/src/libriscv-signature.adb
<reponame>Fabien-Chouteau/libriscv ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, <NAME> -- -- ...
10,680
ada
4
jquorning/Gauss
source/options.ads
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with GNAT.Strings; with Setup; package O...
10,681
ada
0
reznikmm/gela
source/nodes/program-nodes-quantified_expressions.adb
<filename>source/nodes/program-nodes-quantified_expressions.adb -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Quantified_Expressions is function Create (For_Token : not nu...
10,682
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-counters/src/awa-counters.ads
----------------------------------------------------------------------- -- awa-counters -- -- Copyright (C) 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. -- You may obtain a copy ...
10,683
ada
0
passlab/rexompiler
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.adb
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.adb package body Complex is function II return Complex is begin return Complex'(0.0, 1.0); end II; end Complex;
10,684
ada
24
svn2github/matreshka
source/league/ucd/matreshka-internals-unicode-ucd-core_0004.ads
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,685
ada
0
orb-zhuchen/Orb
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-fatgen.ads
<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-fatgen.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
10,686
ada
1
LaudateCorpus1/RosettaCodeData
Task/CSV-data-manipulation/Ada/csv-data-manipulation-2.ada
<reponame>LaudateCorpus1/RosettaCodeData package body CSV is function Line(S: String; Separator: Character := ',') return Row is (Length => S'Length, Str => S, Fst => S'First, Lst => S'Last, Nxt => S'First, Sep => Separator); function Item(R: Row) return String is (R.Str(R.Fst...
10,687
ada
1
annexi-strayline/ASAP-HEX
hex-modular_codec.adb
<filename>hex-modular_codec.adb ------------------------------------------------------------------------------ -- -- -- Generic HEX String Handling Package -- -- ...
10,688
ada
30
Componolit/libsparkcrypto
tests/lsc_test_ripemd160.adb
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that th...
10,689
ada
1
mullikine/RosettaCodeData
Task/Empty-program/Ada/empty-program.ada
procedure Empty is begin null; end;
10,690
ada
33
ytomino/drake
source/image/required/s-vallld.adb
<gh_stars>10-100 with System.Formatting.Literals.Float; with System.Value_Errors; package body System.Val_LLD is function Value_Long_Long_Decimal (Str : String; Scale : Integer) return Long_Long_Integer is Last : Natural := Str'First - 1; Result : Long_Long_Float; Error : Boolean; begi...
10,691
ada
1
LaudateCorpus1/RosettaCodeData
Task/Word-wrap/Ada/word-wrap-2.ada
package body Word_Wrap is procedure Push_Word(State: in out Basic; Word: String) is begin if Word'Length + State.Size >= State.Length_Of_Output_Line then Put_Line(State.Line(1 .. State.Size)); State.Line(1 .. Word'Length) := Word; -- may raise CE if Word too long State.Size := Wo...
10,692
ada
80
thindil/steamsky
src/missions.ads
<reponame>thindil/steamsky -- 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, ...
10,693
ada
24
svn2github/matreshka
source/amf/utp/amf-internals-utp_finish_actions.adb
<filename>source/amf/utp/amf-internals-utp_finish_actions.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
10,694
ada
3
jwarwick/aoc_2020
day08/src/vm.adb
with Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Fixed; use Ada.Strings.Fixed; package body VM is package TIO renames Ada.Text_IO; function instruction_index_hash(key : in Instruction_Index) return Hash_Type is begin return Hash_Type(key); end instruction_index_has...
10,695
ada
0
fuzzysloth/ada-awa
awa/plugins/awa-questions/regtests/awa-questions-modules-tests.adb
----------------------------------------------------------------------- -- awa-questions-modules-tests -- Unit tests for storage service -- Copyright (C) 2013, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in com...
10,696
ada
1
Jellix/open_weather_map_api
src/open_weather_map-api.ads
<filename>src/open_weather_map-api.ads -------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2,...
10,697
ada
0
Lucretia/old_nehe_ada95
thirdparty/adasdl/thin/adasdl/AdaSDL_mixer/sdl_mixer.adb
-- ----------------------------------------------------------------- -- -- ASDL_Mixer -- -- Binding to SDL mixer lib -- -- Copyright (C) 2001 A.M.F.Vargas -- -- <NAME> ...
10,698
ada
0
sciencylab/lagrangian-solver
src/numerics-abs_max_ia.adb
separate (Numerics) function Abs_Max_IA (Item : in Int_Array) return Integer is Result : Integer := 0; begin for N of Item loop Result := Integer'Max (Result, abs (N)); end loop; return Result; end Abs_Max_IA;
10,699
ada
2
morbos/Ada_Drivers_Library
arch/ARM/STM32/svd/stm32f103/stm32_svd-dma.ads
-- This spec has been automatically generated from STM32F103.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DMA is pragma Preelaborate; --------------- -- Registers -- --------------- -- DMA interrupt status regis...