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,300
ada
24
svn2github/matreshka
tools/aflex/doc/sample.adb
with Example; procedure Sample is begin Example.Sample; end Sample;
11,301
ada
32
robdaemon/AdaYaml
test/src/yaml-lexer-buffering_test.adb
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with AUnit.Assertions; use AUnit.Assertions; with Yaml.Source.File; with Utils; package body Yaml.Lexer.Buffering_Test is procedure Register_Tests (T : in out TC) is use AUnit.Test_Cases.Registr...
11,302
ada
2
reznikmm/webdriver
source/webdriver-remote-drivers.adb
<filename>source/webdriver-remote-drivers.adb -- Copyright (c) 2017-2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.JSON.Values; separate (WebDriver.Remote) package body Drivers is function "+" ...
11,303
ada
0
zdimension/tdinfo302
src/reversi.adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Numerics.Discrete_Random; procedure reversi is package Discrete_Random is new Ada.Numerics.Discrete_Random(Result_Subtype => Integer); use Discrete_Random; gen : Generator; etat : State; jeu : array ...
11,304
ada
0
jwarwick/aoc_2019_ada
day02/src/main.adb
<gh_stars>0 -- AOC, Day 2 with Ada.Text_IO; use Ada.Text_IO; with IntCode; procedure main is subtype Input_Int is Integer range 0 .. 99; function run_once(noun : in Input_Int; verb : in Input_Int) return Integer is begin IntCode.load_file("day2_input.txt"); IntCode.poke(1, Integer(noun)); IntCode.po...
11,305
ada
4
faelys/gela-asis
source/asis/spec/annex_c/ada-task_identification.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,306
ada
0
thierr26/ada-keystore
tools/keystore-verifier.adb
<reponame>thierr26/ada-keystore ----------------------------------------------------------------------- -- keystore-verifier -- Toolbox to explore raw content of keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
11,307
ada
12
jquorning/ada-asf
src/asf-components-widgets-selects.adb
----------------------------------------------------------------------- -- components-widgets-selects -- Select component with jQuery Chosen -- 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 compl...
11,308
ada
0
faelys/natools
generated/natools-s_expressions-printers-pretty-config-quoted_cmd.ads
package Natools.S_Expressions.Printers.Pretty.Config.Quoted_Cmd is pragma Preelaborate; function Hash (S : String) return Natural; end Natools.S_Expressions.Printers.Pretty.Config.Quoted_Cmd;
11,309
ada
2
thindil/tashy2
src/tk/tk-winfo.adb
-- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agre...
11,310
ada
26
damaki/libkeccak
src/common/keccak-util.adb
------------------------------------------------------------------------------- -- Copyright (c) 2019, <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: -- * Redistributions of s...
11,311
ada
1
Hathoute/ENSEEIHT
PIM/Projet/src/vecteur.adb
<reponame>Hathoute/ENSEEIHT with Ada.Unchecked_Deallocation; package body Vecteur is procedure Free is new Ada.Unchecked_Deallocation (Object => T_Vecteur_Array, Name => T_Vecteur_Access); procedure Initialiser(Vecteur: out T_Vecteur; Capacite: in Natural) is begin Vecteur.Elements := new T_Vec...
11,312
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/par-sync.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
11,313
ada
0
Tim-Tom/scratch
random-art/ada/src/Expressions.adb
<gh_stars>0 with Ada.Numerics.Elementary_Functions; package body Expressions is package Math renames Ada.Numerics.Elementary_Functions; -- Terminals pragma Warnings(Off, "formal parameter ""x"" is not referenced"); pragma Warnings(Off, "formal parameter ""y"" is not referenced"); function expr_x(x,y: Ex...
11,314
ada
15
AdaCore/training_material
courses/fundamentals_of_ada/labs/prompts/120_limited_types/timecards.ads
<filename>courses/fundamentals_of_ada/labs/prompts/120_limited_types/timecards.ads with Employee_Data; package Timecards is type Hours_Worked_T is new Integer; -- better implementation type Pay_T is new Integer; -- better implementation type Timecard_T is limited private; function Create (...
11,315
ada
0
JCGobbi/Nucleo-STM32H743ZI
SVD2ada/svd/stm32_svd-opamp.ads
<reponame>JCGobbi/Nucleo-STM32H743ZI<gh_stars>0 pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.OPAMP is pragma Preelaborate; --------------- -- Registers -- ---------------...
11,316
ada
30
jscparker/math_packages
disorderly/gamma_1_to_3.adb
<filename>disorderly/gamma_1_to_3.adb -- -- The following uses 32+ decimal digit rational polynomial -- approximations of the log_gamma function on [1,3], derived -- from John Maddock's extended precision -- (Boost Library) gamma function, so let's use the Boost License. -- Many thanks are due to <NAME>. -----...
11,317
ada
0
Fabien-Chouteau/ASFML
tests/thread/main.adb
<filename>tests/thread/main.adb with Ada.Text_IO; use Ada.Text_IO; with Sf.System.Thread; use Sf, Sf.System, Sf.System.Thread; with Sf.System.Sleep; use Sf.System.Sleep; with Thread_Func; procedure Main is Thread : sfThread_Ptr; TFunc : sfThreadFunc_Ptr := Thread_Func'Access; UData : String := "Hel...
11,318
ada
10
jrmarino/libsodium-ada
examples/symmetric_encryption/demo_ada.adb
<filename>examples/symmetric_encryption/demo_ada.adb with Sodium.Functions; use Sodium.Functions; with Ada.Text_IO; use Ada.Text_IO; procedure Demo_Ada is message : constant String := "From Russia with love."; cipherlen : constant Positive := Symmetric_Cipher_Length (message); begin if not initialize_sodi...
11,319
ada
30
jscparker/math_packages
linear_algebra/tridiag_tst_1.adb
-- Test Eigendecomposition of real valued square matrices. with Ada.Numerics.Generic_elementary_functions; with Tridiagonal; with Test_Matrices; with Text_IO; use Text_IO; procedure tridiag_tst_1 is type Real is digits 15; --type Real is digits 18; --Desired_Size_Of_Matrix : constant := 2291; --Desired_Size_...
11,320
ada
33
ytomino/drake
source/tasking/a-dynpri.ads
pragma License (Unrestricted); -- with System; -- with Ada.Task_Identification; -- See C.7.1 package Ada.Dynamic_Priorities is pragma Preelaborate; -- procedure Set_Priority ( -- Priority : System.Any_Priority; -- T : Task_Identification.Task_Id := Task_Identification.Current_Task); -- function Get_Prior...
11,321
ada
0
Letractively/ada-awa
awa/src/awa-wikis-writers-html.ads
----------------------------------------------------------------------- -- awa-wikis-writers-html -- Wiki HTML writer -- Copyright (C) 2011, 2012, 2013, 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...
11,322
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cb/cb2004a.ada
-- CB2004A.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,323
ada
2
timo-cmd2/Lovelace
sources/printer.ads
<reponame>timo-cmd2/Lovelace with Types; package Printer is function Pr_Str (M : Types.Lovelace_Handle) return String; end Printer;
11,324
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-tables-uml_constructors.ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
11,325
ada
1
ytomino/vampire
source/vampire-villages-advance.adb
<filename>source/vampire-villages-advance.adb -- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Calendar; with Ada.Containers.Generic_Array_Sort; with Ada.Numerics.Distributions; with Ada.Strings.Unbounded; with Vampire.Villages.Teaming; procedure Vampire.Villages.Advance ( Village : in out Village_Type; Now ...
11,326
ada
3
Fabien-Chouteau/ada-lvlg
src/lv-objx.ads
with Lv.Area; with Lv.Style; with Lv.Color; use Lv.Color; package Lv.Objx is type Obj_T is new System.Address; No_Obj : constant Obj_T := Obj_T (System.Null_Address); Anim_In : constant := 16#00#; Anim_Out : constant := 16#80#; Anim_Dir_Mask : constant := 16#80#; Lv_Max_Ancestor_Num : ...
11,327
ada
2
morbos/Ada_Drivers_Library
examples/shared/serial_ports/src/serial_io-nonblocking.ads
<filename>examples/shared/serial_ports/src/serial_io-nonblocking.ads ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- ...
11,328
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbin_h.ads
<gh_stars>1-10 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; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h; with GLIB; -- with GStreamer.GS...
11,329
ada
1
GauBen/Arbre-Genealogique
src/graphe.ads
<filename>src/graphe.ads -- Package Graphe -- Gère le stockage et la manipulation de graphes orientés. -- Généricité : -- Les sommets et les arêtes sont étiquetés par les éléments des types -- T_Etiquette_Sommet et T_Etiquette_Arete generic type T_Etiquette_Sommet is private; type T_Etiquette_Arete is private; p...
11,330
ada
192
rocher/Ada_Drivers_Library
testsuite/utils/src/wire_simulation.ads
<reponame>rocher/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, AdaCore -- -- ...
11,331
ada
3
charlie5/aIDE
applet/aide/source/editors/aide-editor-of_signed_integer_type.adb
<filename>applet/aide/source/editors/aide-editor-of_signed_integer_type.adb with aIDE.Editor.of_enumeration_literal, AdaM.a_Type.enumeration_literal, glib.Error, gtk.Builder, gtk.Handlers; package body aIDE.Editor.of_signed_integer_type is use Gtk.Builder, Glib, glib.Error...
11,332
ada
9
stcarrez/ada-search
src/search-analyzers-french.adb
----------------------------------------------------------------------- -- search-analyzers-french -- French document analysis -- Copyright (C) 2020 <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...
11,333
ada
0
Rajalakshmanan14/MyWorks
pendulum/pendulum.ads
generic type Float_Type is digits <>; Gravitation : Float_Type; package Pendulums is type Pendulum is private; function New_Pendulum (Length : Float_Type; Theta0 : Float_Type) return Pendulum; function Get_X (From : Pendulum) return Float_Type; function Get_Y (From : ...
11,334
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/ia32intrin_h.ads
<gh_stars>10-100 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package ia32intrin_h is -- Copyright (C) 2009-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 GN...
11,335
ada
1
ForYouEyesOnly/Space-Convoy
Sources/Library/vectors_conversions.ads
with Vectors_2D; use Vectors_2D; with Vectors_2D_I; use Vectors_2D_I; with Vectors_2D_N; use Vectors_2D_N; with Vectors_2D_P; use Vectors_2D_P; with Vectors_3D; use Vectors_3D; with Vectors_3D_LF; use Vectors_3D_LF; package Vectors_Conversions is function To_Vector_3D (V : Vector_3D_LF) return Vector_3...
11,336
ada
15
My-Colaborations/dynamo
src/gnat/prj-conf.ads
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
11,337
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_version.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_version.adb -- { dg-do run } with GNAT.Compiler_Version; procedure Test_Version is package Vsn is new GNAT.Compiler_Version; use Vsn; X : constant String := Version; begin if X'Length = 78 then -- 78 = Ver_Len_Max + Ver_Prefix'Length -- ...
11,338
ada
18
jquorning/ada-wiki
src/wiki-parsers-html-entities.ads
-- Generated by gen-ada-entities.pl latin1.ent symbol.ent special.ent private package Wiki.Parsers.Html.Entities is pragma Preelaborate; AELIG_NAME : aliased constant String := "AElig"; AACUTE_NAME : aliased constant String := "Aacute"; ACIRC_NAME : aliased constant String := "Acirc"; AGRAVE_N...
11,339
ada
0
VMika/Des_Ada
Des_Ada/src/concrete_handler/p_stephandler-outputhandler.ads
WITH P_StepHandler; USE P_StepHandler; WITH Ada.Strings.Unbounded.Text_IO; WITH P_StructuralTypes; USE P_StructuralTypes; WITH Ada.Sequential_IO; package P_StepHandler.OutputHandler is type OutputHandler is new T_StepHandler with private; type Ptr_OutputHandler is access OutputHandler; --- CONS...
11,340
ada
0
djgoku/RosettaCodeData
Task/Binary-digits/Ada/binary-digits.ada
<filename>Task/Binary-digits/Ada/binary-digits.ada with Ada.Text_IO; procedure Binary_Output is package IIO is new Ada.Text_IO.Integer_IO(Integer); function To_Binary(N: Natural) return String is S: String(1 .. 1000); -- more than plenty! Left: Positive := S'First; Right: Positive := S'Last;...
11,341
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/max_align.adb
-- { dg-do compile } procedure Max_Align is type Block is record X : Integer; end record; for Block'Alignment use Standard'Maximum_Alignment; type Block_Access is access Block; Ptr : Block_Access := new Block; begin null; end;
11,342
ada
33
ytomino/drake
source/strings/a-stzunb.ads
pragma License (Unrestricted); with Ada.Strings.Unbounded_Wide_Wide_Strings.Functions.Maps; with Ada.Strings.Wide_Wide_Maps; package Ada.Strings.Wide_Wide_Unbounded is pragma Preelaborate; -- type Unbounded_Wide_Wide_String is private; -- pragma Preelaborable_Initialization (Unbounded_Wide_Wide_String); subtyp...
11,343
ada
20
yannickmoy/spat
src/spat-entity.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, -- as published by Sam Hocevar. See the...
11,344
ada
52
onox/orka
orka/src/orka/implementation/orka-rendering-textures.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 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 -- -- http://www.apache.org/licenses/LICENSE-2.0 -...
11,345
ada
3
jwarwick/aoc_2020
day18/src/day.adb
<gh_stars>1-10 -- AoC 2020, Day 18 with Ada.Text_IO; package body Day is package TIO renames Ada.Text_IO; type Operation is (none, add, mult); function eval_op(op : in Operation; left, right : in Long_Integer) return Long_Integer is begin case op is when none => return 0; when add => return l...
11,346
ada
0
thieryw/snake_array_impl
snake_functions.ads
with snake_types,display ; package snake_functions is function are_same_coord(point1 : snake_types.Coordinates ; point2 : snake_types.Coordinates) return boolean ; function create_snake return snake_types.Snake ; procedure move_snake(s : in out snake_types.Snake ; dir : snake_types.Snake_dire...
11,347
ada
0
silentTeee/IBM-8b-10b-encoder
ibm_8b_10b_encoder.adb
--Copyright (c) 2019 <NAME> under the MIT License package body IBM_8b_10b_Encoder is type Encoder_Entry is record RD_Neg_Val: Ten_Bits; RD_Pos_Val: Ten_Bits; RD_Changes: Boolean; end record; type Decoder_Entry is record Key: Ten_Bits := 0; Value: Byt...
11,348
ada
0
yrashk/ada-util
src/base/commands/util-commands-parsers-gnat_parser.ads
<filename>src/base/commands/util-commands-parsers-gnat_parser.ads<gh_stars>0 ----------------------------------------------------------------------- -- util-commands-parsers.gnat_parser -- GNAT command line parser for command drivers -- Copyright (C) 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed u...
11,349
ada
1
fabiojna02/OpenCellular
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-dp_aux_ch.adb
<reponame>fabiojna02/OpenCellular<filename>firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-dp_aux_ch.adb<gh_stars>1-10 -- -- Copyright (C) 2015-2016 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 publ...
11,350
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_39.ads
<reponame>Tim-Tom/project-euler<gh_stars>0 package Problem_39 is procedure Solve; end Problem_39;
11,351
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35a07a.ada
<reponame>best08618/asylo<gh_stars>1-10 -- C35A07A.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 docume...
11,352
ada
1
LaudateCorpus1/RosettaCodeData
Task/Variable-length-quantity/Ada/variable-length-quantity.ada
<filename>Task/Variable-length-quantity/Ada/variable-length-quantity.ada with Ada.Containers.Vectors; with Ada.Text_IO; with Ada.Unchecked_Conversion; procedure VLQ is package Nat_IO is new Ada.Text_IO.Integer_IO (Natural); type Byte is mod 2**8; package Byte_IO is new Ada.Text_IO.Modular_IO (Byte); ty...
11,353
ada
0
fintatarta/eugen
src/Projects/eu_projects-nodes-partners.adb
<gh_stars>0 with Ada.Finalization; use Ada.Finalization; with Ada.Text_IO; use Ada.Text_IO; package body EU_Projects.Nodes.Partners is function Create (ID : Partner_Label; Name : String; Short_Name : String; Country : Country_Code; ...
11,354
ada
80
thindil/steamsky
src/ui/utils-ui.ads
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>> -- -- 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 3 of the License, or -- (at your option) any later version. -- -- This program is...
11,355
ada
1
Hathoute/ENSEEIHT
PIM/TP1_Algorithmique/argent_jules.adb
<reponame>Hathoute/ENSEEIHT<gh_stars>1-10 -- Demander l'age de Jules with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Argent_Jules is Age: Integer; -- Age de Jules Versements: Integer; -- Versements réalisés sur le compte de Jules begin -- Demander l'age d...
11,356
ada
89
treggit/sdlada
test/ttf.adb
<filename>test/ttf.adb with Ada.Command_Line; with Ada.Text_IO; with SDL; with SDL.Events.Events; with SDL.Events.Keyboards; with SDL.Log; with SDL.TTFs.Makers; with SDL.Video.Palettes; with SDL.Video.Surfaces; with SDL.Video.Windows.Makers; procedure TTF is W : SDL.Video.Windows.Window; Window_Surf...
11,357
ada
4
faelys/gela-asis
source/libgela/gela-embeded_links-caches.adb
<filename>source/libgela/gela-embeded_links-caches.adb ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- ...
11,358
ada
0
hgrodriguez/rp2040_zfp
src/rp2040_zfp.ads
package Rp2040_Zfp is end Rp2040_Zfp;
11,359
ada
0
e3l6/SSMDev
demo/adainclude/s-bbprot.adb
<reponame>e3l6/SSMDev<filename>demo/adainclude/s-bbprot.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
11,360
ada
26
damaki/libkeccak
src/common/gimli.ads
------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of s...
11,361
ada
1
LaudateCorpus1/RosettaCodeData
Task/Loops-For/Ada/loops-for.ada
for I in 1..5 loop for J in 1..I loop Put("*"); end loop; New_Line; end loop;
11,362
ada
2
SMerrony/dgemua
processor/processor-eclipse_pc_p.adb
<reponame>SMerrony/dgemua<gh_stars>1-10 -- MIT License -- Copyright (c) 2021 <NAME> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the ...
11,363
ada
19
jrcarter/Ada_GUI
stack_storage.adb
-- -- -- package Stack_Storage Copyright (c) <NAME> -- -- Implementation Luebeck -- -- Winter, 2003 -- -- ...
11,364
ada
286
auzkok/libagar
ada/gui/demo/customwidget.ads
<reponame>auzkok/libagar -------------------------------------------------- -- Example of a custom Agar widget class: -- -- -- -- AG_Object(3) -> AG_Widget(3) -> CustomWidget -- -------------------------------------------------- with Agar.Object; with Agar.Widget; use ...
11,365
ada
80
enfoTek/tomato.linksys.e2000.nvram-mod
tools-src/gnu/gcc/gcc/ada/5gosinte.ads
<filename>tools-src/gnu/gcc/gcc/ada/5gosinte.ads ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
11,366
ada
0
ytomino/gnat4drake
g-souinf.ads
pragma License (Unrestricted); with Ada; package GNAT.Source_Info is pragma Pure; function File return String renames Ada.Debug.File; function Line return Integer renames Ada.Debug.Line; function Source_Location return String renames Ada.Debug.Source_Location; function Enclosing_Entity...
11,367
ada
24
svn2github/matreshka
source/amf/tools/cmof2umlmof/cmof2umlmof.adb
<filename>source/amf/tools/cmof2umlmof/cmof2umlmof.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
11,368
ada
33
ytomino/drake
source/strings/a-sgugfu.adb
package body Ada.Strings.Generic_Unbounded.Generic_Functions is function Index ( Source : Unbounded_String; Pattern : String_Type; From : Positive; Going : Direction := Forward) return Natural is pragma Suppress (Access_Check); begin return Fixed_Functions.Index ( ...
11,369
ada
4
davidkristola/vole
test_avm.adb
with AUnit.Reporter.Text; with AUnit.Run; with avm_suite; use avm_suite; procedure test_avm is procedure Runner is new AUnit.Run.Test_Runner (Suite); Reporter : AUnit.Reporter.Text.Text_Reporter; begin Runner (Reporter); end test_avm;
11,370
ada
22
FardaleM/metalang
out/euler27.adb
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure euler27 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.S...
11,371
ada
5
HeisenbugLtd/flac-ada
sources/flac-headers-stream_info.adb
<reponame>HeisenbugLtd/flac-ada ------------------------------------------------------------------------------ -- 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, -- as p...
11,372
ada
0
fintatarta/protypo
src/API/protypo-api-field_names.adb
pragma Ada_2012; package body Protypo.Api.Field_Names is -------------- -- Is_Field -- -------------- function Is_Field (X : ID) return Boolean is Ignored : Field_Enumerator; begin Ignored := To_Field (x); return True; -- Yes, I know, it is not the best practice to use exception...
11,373
ada
33
ytomino/drake
source/environment/machine-w64-mingw32/s-naenva.adb
with System.Address_To_Constant_Access_Conversions; with System.Address_To_Named_Access_Conversions; with System.Storage_Elements; with System.Zero_Terminated_WStrings; with System.Debug; -- assertions with C.string; with C.winbase; with C.windef; with C.winerror; with C.winnt; package body System.Native_Environment_Va...
11,374
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-aes_generic-cbc.adb
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- @author <NAME> -- @date 2019-01-21 -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modifi...
11,375
ada
0
strenkml/EE368
memsim-master/src/memory-super.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Ada.Assertions; use Ada.Assertions; with Ada.Unchecked_Deallocation; with Ada.Numerics.Generic_Elementary_Functions; with Memory.Cache; use Memory.Cache; with Memory.SPM; use Memory.SPM; with Memory.Transform; use M...
11,376
ada
5
docandrew/troodon
include/freetype_config_integer_types.ads
<reponame>docandrew/troodon<filename>include/freetype_config_integer_types.ads<gh_stars>1-10 pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package freetype_config_integer_types is -- unsupported macro: FT_SIZEOF_INT ( 32 / FT_CHAR_BIT ) -- unsupported macro: FT_SIZEOF_LONG ...
11,377
ada
33
ytomino/drake
source/obj/notb.ads
<gh_stars>10-100 pragma License (Unrestricted); -- optional runtime unit with System.Unwind; package notb is pragma Preelaborate; Exception_Tracebacks : Integer with Export, Convention => C, External_Name => "__gl_exception_tracebacks"; procedure Call_Chain ( Current : in out System.Unw...
11,378
ada
0
Tim-Tom/project-euler
Ada/inc/Problem_30.ads
package Problem_30 is procedure Solve; end Problem_30;
11,379
ada
5
onox/dcf-ada
dcf/src/dcf-unzip-decompress-huffman.adb
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 1999 - 2018 <NAME> -- SWITZERLAND -- -- 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 limita...
11,380
ada
18
jquorning/ada-wiki
samples/render.adb
----------------------------------------------------------------------- -- render -- Wiki rendering example -- Copyright (C) 2015, 2016, 2020, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the ...
11,381
ada
0
Letractively/ada-util
src/util-beans-objects-maps.adb
----------------------------------------------------------------------- -- Util.Beans.Objects.Maps -- Object maps -- Copyright (C) 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 ...
11,382
ada
1
LaudateCorpus1/RosettaCodeData
Task/Sort-disjoint-sublist/Ada/sort-disjoint-sublist.ada
with Ada.Text_IO, GNAT.Bubble_Sort; use Ada.Text_IO; procedure DisjointSort is package Int_Io is new Integer_IO (Integer); subtype Index_Range is Natural range 1 .. 8; Input_Array : array (Index_Range) of Integer := (7, 6, 5, 4, 3, 2, 1, 0); subtype Subindex_Range is Natural range 1 .. 3; type Sub_A...
11,383
ada
0
Fabien-Chouteau/bb_pico_bsp
src/bb_pico_bsp-touch.ads
<reponame>Fabien-Chouteau/bb_pico_bsp<gh_stars>0 with HAL.Touch_Panel; package BB_Pico_Bsp.Touch is function Get_All_Touch_Points return HAL.Touch_Panel.TP_State; end BB_Pico_Bsp.Touch;
11,384
ada
65
PThierry/ewok-kernel
src/main.ads
<filename>src/main.ads procedure main; pragma export (c, main, "ewok_main");
11,385
ada
60
RREE/ada-util
src/base/log/util-log-locations.adb
<gh_stars>10-100 ----------------------------------------------------------------------- -- util-log-locations -- General purpose source file location -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
11,386
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/uc2.ads
-- { dg-do compile } -- { dg-options "-O" } with Ada.Unchecked_Conversion; package UC2 is subtype Word_Type is Integer range 0 .. 0; type Arr is array (1 .. Word_Type'Size) of Boolean; pragma Pack(Arr); function Conv is new Ada.Unchecked_Conversion (Source => Arr, Target => Word_Type); A : Arr; W ...
11,387
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_pkg.ads
package Atomic6_Pkg is type Int is new Integer; pragma Atomic (Int); Counter1 : Int; Counter2 : Int; Timer1 : Integer; pragma Atomic (Timer1); Timer2 : Integer; pragma Atomic (Timer2); type Arr1 is array (1..8) of Int; Counter : Arr1; type Arr2 is array (1..8) of Integer; pragma Atomic_Com...
11,388
ada
30
jrmarino/AdaBase
src/drivers/adabase-driver-base-mysql.ads
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with AdaBase.Interfaces.Driver; with AdaBase.Connection.Base.MySQL; with AdaBase.Statement.Base.MySQL; package AdaBase.Driver.Base.MySQL is package AID renames AdaBase.Interfaces.Driver; package ACM rena...
11,389
ada
4
reznikmm/torrent
source/torrent.adb
<filename>source/torrent.adb -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Torrent is ----------- -- Image -- ----------- function Image (Value : SHA1) return SHA1_Image ...
11,390
ada
0
eryjus/ada
tst/scanner2.ads
<filename>tst/scanner2.ads Чайковский Чайковский2
11,391
ada
9
stcarrez/ada-search
src/search-positions.ads
----------------------------------------------------------------------- -- search-positions -- Token positions -- Copyright (C) 2020 <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. -- Yo...
11,392
ada
11
reznikmm/ada_lsp
source/server/ada_lsp-documents.adb
<reponame>reznikmm/ada_lsp -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.String_Vectors; with League.Strings; with Ada_LSP.Completions; with Ada_LSP.Documents.Debug; package body Ada_...
11,393
ada
20
charlie5/lace
3-mid/opengl/source/platform/glx/opengl-screen.ads
<filename>3-mid/opengl/source/platform/glx/opengl-screen.ads package openGL.Screen -- -- Models an openGL screen. -- is type Item is tagged limited private; private type Item is tagged limited record null; end record; end openGL.Screen;
11,394
ada
0
JeremyGrosser/arm_cmsis_dsp
src/utils_h.ads
pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with arm_math_types_h; with sys_ustdint_h; package utils_h is INDEX_MASK : constant := 16#0000003F#; -- ../CMSIS_5/CMSIS/DSP/Include/dsp/utils.h:40 -- arg-macro: function SQ (x) -- return (x) * (x);...
11,395
ada
0
thierr26/ada-apsepp
src/apsepp-test_node_class-runner_sequential-create.adb
<gh_stars>0 -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Suite_Stub; function Apsepp.Test_Node_Class.Runner_Sequential.Create (Root_Node_Access : Test_Node_Access; Test_Reporter_Instance_Access : Test_Reporter_Access := ...
11,396
ada
0
pdibez/mundo-aspiradora
source/direccion.ads
<gh_stars>0 package direccion is type t_direccion is (Izquierda,Derecha); subtype t_posicion is t_direccion range Izquierda .. Derecha ; function direccion_opuesta(d : in t_direccion) return t_direccion; end direccion;
11,397
ada
30
Componolit/libsparkcrypto
src/shared/generic/lsc-aes_generic.ads
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- @author <NAME> -- @date 2019-02-21 -- -- Copyright (C) 2018 Componolit GmbH -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modifi...
11,398
ada
0
xuedong/mini-ada
tests/syntax/bad/testfile-return-2.adb
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin if 0=1 then Q(0); else Q(1); else Q(2); end if; end;
11,399
ada
0
mstewartgallus/linted
src/ada-xcb/src/xcb-xproto.ads
<reponame>mstewartgallus/linted -- Copyright 2015,2017 <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...