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
27,800
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr9.adb
-- { dg-do compile } package body Discr9 is procedure Proc (From : in R; To : out R) is begin To := R'(D1 => False, D2 => From.D2, Field => From.Field); end; end Discr9;
27,801
ada
0
Fabien-Chouteau/bb_pico_bsp
example/src/lvgl_demo.adb
with RP.Device; with BB_Pico_Bsp.LVGL_Backend; with BB_Pico_Bsp.LCD; with Lv.Tasks; with Lv.Hal.Tick; with lvgl_ada_Config; use lvgl_ada_Config; with Lv; use Lv; with Lv.Area; with Lv.Group; with Lv.Objx; use Lv.Objx; with Lv.Objx.Cont; with Lv.Objx.Tabview; with Lv.Objx.Page; with Lv.Objx.Slider; with Lv.Objx.Texta...
27,802
ada
4
reznikmm/torrent
source/torrent-metainfo_files.ads
-- Copyright (c) 2019-2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Finalization; with Ada.Streams; with League.IRIs; with League.String_Vectors; with League.Strings; package Torrent.Metainfo_Files is ...
27,803
ada
2
thindil/tashy2
tests/tk-menu-test_data.adb
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Ada.Environment_Variables; use Ada.Env...
27,804
ada
1
TNO/Dependency_Graph_Extractor-Ada
src/extraction-generic_instantiations.ads
with Extraction.Graph_Operations; private package Extraction.Generic_Instantiations is procedure Extract_Edges (Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context); end Extraction.Generic_Instantiations;
27,805
ada
5
erik/ada-irc
src/irc-bot.adb
<reponame>erik/ada-irc<gh_stars>1-10 with Ada.Text_IO; package body Irc.Bot is function Create (Server : String; Port : GNAT.Sockets.Port_Type; Nick : String := "adabot") return Connection is use GNAT.Sockets; C : Connectio...
27,806
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt61_pkg.adb
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt61_pkg.adb with Interfaces; use Interfaces; with Ada.Unchecked_Conversion; package body Opt61_Pkg is pragma Suppress (Overflow_Check); pragma Suppress (Range_Check); subtype Uns64 is Unsigned_64; function To_Int is new Ada.Unchecked_Conversion (U...
27,807
ada
2
thindil/tashy2
src/tcl-commands.adb
<gh_stars>1-10 -- Copyright (c) 2020-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 ap...
27,808
ada
1
charlie5/lace-alire
1-base/math/applet/test/modeller/launch_modeller_test.adb
with ada.Text_IO, float_Math.Geometry.d3.Modeller.Forge; procedure launch_modeller_Test is use ada.Text_IO, float_Math.Geometry.d3.Modeller.Forge; the_Modeller : polar_Model := polar_Model_from ("gaspra.tab"); begin put_Line ("Done."); end launch_modeller_Test;
27,809
ada
0
Letractively/ada-gen
src/gnat/prj-env.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,810
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/discriminant.adb
with Ada.Text_IO, Ada.Integer_Text_IO; use Ada.Text_IO, Ada.Integer_Text_IO; procedure Discrim1 is type SQUARE is array(INTEGER range <>, INTEGER range <>) of INTEGER; type LINEAR_TYPE is array(INTEGER range <>) of POSITIVE; type STUFF(List_Size : POSITIVE) is record ...
27,811
ada
3
charlie5/aIDE
applet/aide/source/palettes/aide-palette-of_pragmas.adb
<filename>applet/aide/source/palettes/aide-palette-of_pragmas.adb with AdaM.Comment, AdaM.raw_Source, AdaM.a_Type.enumeration_type, Glib, Glib.Error, Glib.Object, Gtk.Builder, Gtk.Handlers, Pango.Font, Ada.Characters.handling; with Ada.Text_IO; use Ada.Tex...
27,812
ada
30
jscparker/math_packages
arbitrary/extended_real.ads
<filename>arbitrary/extended_real.ads -- PACKAGE Extended_Real -- -- package Extended_Real provides: -- An arbitrary precision floating-point data type: e_Real. -- -- Lower limit on precision is 28 decimals. No upper limit is -- enforced. All internal arithmetic is done on 64-bit Integers, -- so it's most...
27,813
ada
192
rocher/Ada_Drivers_Library
arch/ARM/Nordic/svd/nrf52/nrf_svd-twi.ads
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notice, t...
27,814
ada
33
ytomino/drake
source/calendar/a-calnak.ads
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit with System.Native_Calendar; package Ada.Calendar.Naked is function To_Native_Time (T : Time) return System.Native_Calendar.Native_Time; function To_Time (T : System.Native_Calendar.Native_Time) return Time; pragma Pure_Func...
27,815
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3121a.ada
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3121a.ada -- CC3121A.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...
27,816
ada
30
jrmarino/AdaBase
testcases/driver_connections/pgsql/connect.ads
-- Used for all testcases for MySQL driver with AdaBase.Driver.Base.PostgreSQL; with AdaBase.Statement.Base.PostgreSQL; package Connect is -- All specific drivers renamed to "Database_Driver" subtype Database_Driver is AdaBase.Driver.Base.PostgreSQL.PostgreSQL_Driver; subtype Stmt_Type is AdaBase.Statemen...
27,817
ada
1
LaudateCorpus1/RosettaCodeData
Task/Move-to-front-algorithm/Ada/move-to-front-algorithm.ada
<gh_stars>1-10 with Ada.Text_IO; procedure Move_To_Front is subtype Lower_Case is Character range 'a' .. 'z'; subtype Index is Integer range 0 .. 25; type Table is array (Index) of Lower_Case; Alphabet: constant Table := "abcdefghijklmnopqrstuvwxyz"; type Number_String is array(Positive range <>) of Na...
27,818
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-valuen.ads
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
27,819
ada
1
Vovanium/stm32-ada
source/stm32-f4-rcc.ads
with Interfaces; package STM32.F4.RCC is pragma Preelaborate; -- CR type Clock_Control_Register is record HSION: Boolean; HSIRDY: Boolean; HSITRIM: Integer range 0 .. 2**5 - 1; HSICAL: Integer range 0 .. 2**8 - 1; HSEON: Boolean; HSERDY: Boolean; HSEBYP: Boolean; CSSON: Boolean; PLLON: Boolean; ...
27,820
ada
0
jquorning/CELLE
source/parser_fsm.ads
<gh_stars>0 -- -- 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 Sessions; with Parser_Dat...
27,821
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/taft_type1.adb
<reponame>best08618/asylo -- { dg-do run } with Taft_Type1_Pkg1; procedure Taft_Type1 is begin Taft_Type1_Pkg1.Check; end;
27,822
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_protected_p.ads
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_protected_p.ads package pointer_protected_p is type T; type Ptr is access protected procedure (Data : T); type T is record Data : Ptr; end record; end pointer_protected_p;
27,823
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_oalign.adb
<gh_stars>1-10 -- { dg-do run } with System.Storage_Elements; use System.Storage_Elements; with Oalign1, Oalign2; use Oalign1, Oalign2; procedure Test_Oalign is begin if Klunk1'Address mod Klunk1'Alignment /= 0 then raise Program_Error; end if; if Klunk2'Address mod Klunk2'Alignment /= 0 then rai...
27,824
ada
6
OneWingedShark/ada-probe
src/server.adb
<filename>src/server.adb with Ada.Text_IO; use Ada.Text_IO; with AWS.Default; with AWS.Server; with Hello_World_CB; procedure Server is WS : AWS.Server.HTTP; Port : Positive := AWS.Default.Server_Port; begin Put_Line("Call me on port" & Positive'Image(Port) & ", I will stop if you...
27,825
ada
24
svn2github/matreshka
source/amf/dd/amf-internals-dg_styles.adb
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,826
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_video_gstbasevideocodec_h.ads
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_video_video_h; with glib; with glib.Values; with System; limited with GStreamer.GST_Low...
27,827
ada
0
sebsgit/textproc
src/neuralnet-io.ads
with NeuralNet; package NeuralNet.IO is procedure save(nn: in NeuralNet.Net; path: in String); function load(path: in String; status: out Boolean) return NeuralNet.Net; end NeuralNet.IO;
27,828
ada
3
vasil-sd/ada-tlsf
tlsf/src/old/tlsf-allocator.adb
<filename>tlsf/src/old/tlsf-allocator.adb<gh_stars>1-10 with System.Storage_Elements; with TLSF.Config; with TLSF.Bitmaps; with TLSF.Mem_Blocks; with TLSF.Mem_Block_Size; -- use TLSF.Config; use TLSF.Bitmaps; package body TLSF.Allocator is package MBS renames Mem_Block_Size; package MB renames Mem_Blocks; s...
27,829
ada
33
persan/zeromq-Ada
src/zmq-pollsets.ads
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, <EMAIL> -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this s...
27,830
ada
2
morbos/Ada_Drivers_Library
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-anactrl.ads
<gh_stars>1-10 -- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.ANACTRL is pragm...
27,831
ada
0
mstewartgallus/linted
src/ada-core/src/linted.ads
<reponame>mstewartgallus/linted -- Copyright 2015 <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by appl...
27,832
ada
1,167
CandyROM/external_libncurses
Ada95/samples/sample-menu_demo-aux.ads
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
27,833
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/a-cofove.ads
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
27,834
ada
0
xuedong/mini-ada
tests/syntax/good/testfile-lexical-1.adb
<filename>tests/syntax/good/testfile-lexical-1.adb with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin put('''); end;
27,835
ada
81
My-Colaborations/ada-awa
awa/plugins/awa-mail/src/awa-mail-clients-files.ads
----------------------------------------------------------------------- -- awa-mail-clients-files -- Mail client dump/file implementation -- Copyright (C) 2012, 2014, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except...
27,836
ada
33
ytomino/drake
source/machine-w64-mingw32/x86_64/seh/s-unrase.adb
-- for ZCX (or SjLj, or Win64 SEH) pragma Check_Policy (Trace => Ignore); with Ada.Unchecked_Conversion; with System.Unwind.Representation; with System.Unwind.Searching; with C.unwind; separate (System.Unwind.Raising) package body Separated is pragma Suppress (All_Checks); use type C.unwind.Unwind_Action; fu...
27,837
ada
0
persan/a-taglib
tests/src/taglib-tests-main.adb
with GNAT.Exception_Traces; with GNAT.Traceback.Symbolic; with Ada.Text_IO; use Ada.Text_IO; with Ada.Command_Line; with Ada.Directories; procedure Taglib.Tests.Main is procedure Test (Name : String) is F : constant File := File_New (Name); T : constant Tag := F.Get_Tag; begin Put_Line (Name); ...
27,838
ada
3
TheSledgeHammer/2.11BSD
contrib/gnu/gdb/dist/gdb/testsuite/gdb.ada/pkd_arr_elem/failure.adb
<gh_stars>1-10 -- Copyright 2014-2020 Free Software Foundation, Inc. -- -- 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 ...
27,839
ada
1
TNO/Dependency_Graph_Extractor-Ada
tests/syntax_examples/src/test_call_filtering.adb
package body Test_Call_Filtering is type T is tagged null record; function P(Self : T) return T is begin return Self; end P; function Q(Self : T; I : Integer) return T is begin return Self; end Q; procedure Test is E : T; begin E := E.P.P; E := ...
27,840
ada
15
mgrojo/adalib
ada-execution_time.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, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-...
27,841
ada
0
optikos/oasis
source/oasis/program-elements-formal_discrete_type_definitions.ads
<reponame>optikos/oasis<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Formal_Type_Definitions; with Program.Lexical_Elements; package Program.Elements.Formal_Discr...
27,842
ada
192
rocher/Ada_Drivers_Library
boards/stm32_common/stm32f769disco/audio.ads
<reponame>rocher/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- ...
27,843
ada
0
skill-lang/adaCommon
src/skill-containers-maps.adb
<filename>src/skill-containers-maps.adb -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ skills vector container implementation -- -- |___/_|\_\_|_|____| by: <NAME>,...
27,844
ada
6
tsoding/ada-probe
src/freenode.adb
<filename>src/freenode.adb<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with Ada.Text_IO.Text_Streams; use Ada.Text_IO; with Ada.Streams; use Ada.Streams; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Command_Line; use Ada.Command_Line; with AWS.Default; with AWS.Net; use AWS; with AWS.Net.SSL; u...
27,845
ada
60
RREE/ada-util
src/sys/os-unix/util-streams-raw.adb
----------------------------------------------------------------------- -- util-streams-raw -- Raw streams (OS specific) -- Copyright (C) 2011, 2016, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complia...
27,846
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/errout.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,847
ada
0
PThierry/ewok-kernel
src/arch/socs/stm32f429/soc-rcc.adb
<filename>src/arch/socs/stm32f429/soc-rcc.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 ...
27,848
ada
20
charlie5/lace
1-base/lace/source/environ/lace-environ-paths.adb
with lace.Environ.OS_Commands, lace.Text.utility, posix.file_Status, posix.Calendar, shell.Directory_Iteration, lace.Text.all_Tokens, ada.Strings.fixed, ada.Characters.handling, ada.Directories, ada.Direct_IO, ada.Tags, ada.Text_IO, ada.IO_Exceptions; ...
27,849
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/i-leon3-irqmp.ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
27,850
ada
1
LaudateCorpus1/RosettaCodeData
Task/Pi/Ada/pi.ada
<filename>Task/Pi/Ada/pi.ada with Ada.Command_Line; with Ada.Text_IO; with GNU_Multiple_Precision.Big_Integers; with GNU_Multiple_Precision.Big_Rationals; use GNU_Multiple_Precision; procedure Pi_Digits is type Int is mod 2 ** 64; package Int_To_Big is new Big_Integers.Modular_Conversions (Int); -- constants...
27,851
ada
0
strenkml/EE368
memsim-master/src/parser-parse_ram.adb
<filename>memsim-master/src/parser-parse_ram.adb<gh_stars>0 with Memory.RAM; with Util; use Util; separate (Parser) procedure Parse_RAM(parser : in out Parser_Type; result : out Memory_Pointer) is latency : Time_Type := 1; burst : Time_Type := 0; word_size : Positive := 8; ...
27,852
ada
1
brucegua/moocos
tools/scitools/sample/mahjongg/display.ads
<filename>tools/scitools/sample/mahjongg/display.ads -------------------------------------------------------------------- --| Package : DISPLAY Version : 1.0 -------------------------------------------------------------------- --| Abstract : Provides a display object for the Mahjo...
27,853
ada
24
svn2github/matreshka
testsuite/amf/TN-225/test_225.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,854
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/vxaddr2line.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,855
ada
8
mhatzl/spark_unbound
src/spark_unbound-safe_alloc.adb
<gh_stars>1-10 with Ada.Unchecked_Deallocation; package body Spark_Unbound.Safe_Alloc with SPARK_Mode is package body Definite with SPARK_Mode is function Alloc return T_Acc is pragma SPARK_Mode (Off); -- Spark OFF for exception handling begin return new T; exception ...
27,856
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/init4.ads
<gh_stars>1-10 with Ada.Numerics; use Ada.Numerics; with System; package Init4 is type R1 is record F : Float; end record; for R1'Bit_Order use System.Low_Order_First; for R1'Scalar_Storage_Order use System.Low_Order_First; for R1 use record F at 0 range 0 .. 31; end record; type R2 is record ...
27,857
ada
5
jhumphry/auto_counters
src/kvflyweights/protected_refcounted_kvflyweights.ads
<gh_stars>1-10 -- protected_refcounted_kvflyweights.ads -- A package for ensuring resources are not duplicated in a manner similar -- to the C++ Boost flyweight classes. This package provides a task-safe -- implementation that uses reference counting to release resources when the -- last reference is released. Resource...
27,858
ada
0
djamal2727/Main-Bearing-Analytical-Model
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-stobfi.adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
27,859
ada
12
mgrojo/protobuf
source/runtime/pb_support-vectors.adb
-- MIT License -- -- Copyright (c) 2020 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, including without limitation -- the rights to use, copy, modify...
27,860
ada
52
onox/orka
orka/src/orka/interface/orka-strings.ads
-- 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 -...
27,861
ada
19
jquorning/ada-security
src/security.ads
----------------------------------------------------------------------- -- security -- Security -- Copyright (C) 2010, 2011, 2012, 2015, 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wit...
27,862
ada
1
vidkidz/crossbridge
llvm-gcc-4.2-2.9/gcc/ada/butil.adb
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,863
ada
3
JackShen1/parallel-calc
PDC-Lab5/src/main.adb
<filename>PDC-Lab5/src/main.adb ------------------------------------------------------ --| Labwork #5 | --| Ada. Rendezvous | ------------------------------------------------------ --| Author | <NAME>) Shendrikov | --| Group | ...
27,864
ada
15
AdaCore/training_material
extern/gnat_sdl/gnat_sdl2/src/xopintrin_h.ads
<filename>extern/gnat_sdl/gnat_sdl2/src/xopintrin_h.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package xopintrin_h is -- Copyright (C) 2007-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modi...
27,865
ada
24
svn2github/matreshka
testsuite/soap/soapconf-encoders.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,866
ada
11
reznikmm/ada_lsp
tests/lsp_test.adb
<gh_stars>10-100 -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.JSON.Objects; with League.JSON.Streams; with League.Strings.Hash; with LSP.Messages; with LSP.Message_Handlers; with LSP....
27,867
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/ada/exp_intr.ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
27,868
ada
2
morbos/Ada_Drivers_Library
boards/stm32f769_discovery/src/sdcard.ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
27,869
ada
0
JCGobbi/Nucleo-STM32G474RE
bb-runtimes/src/s-bbbosu__cortexa9.adb
<filename>bb-runtimes/src/s-bbbosu__cortexa9.adb<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
27,870
ada
7
best08618/asylo
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr33.adb
-- { dg-do run } procedure Discr33 is subtype Int is Integer range 1..100; type T (D : Int := 1) is record A : Integer; B : String (1..D); C : aliased Integer; end record; Var : T := (D => 1, A => 1234, B => "x", C => 4567); type Int_Ref is access all Integer; ...
27,871
ada
0
reznikmm/gela
source/nodes/program-nodes-attribute_references.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Lexical_Elements; with Program.Elements.Identifiers; with Program.Elements.Attribute_References; with Program.Element_Visit...
27,872
ada
0
Lucretia/old_nehe_ada95
bounding_volume/example.ads
<gh_stars>0 --------------------------------------------------------------------------------- -- Copyright 2004-2005 © <NAME> -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. -------------------------------------------------------...
27,873
ada
24
svn2github/matreshka
source/amf/uml/amf-internals-uml_operation_template_parameters.adb
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
27,874
ada
52
onox/orka
tests/src/avx2/test_simd_avx2_swizzle.adb
<filename>tests/src/avx2/test_simd_avx2_swizzle.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 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 -- ...
27,875
ada
6
jonashaggstrom/ada-canopen
tests/generic_table_test.adb
with AUnit.Assertions; use AUnit.Assertions; with ACO.Utils.DS.Generic_Table; package body Generic_Table_Test is pragma Assertion_Policy (Check); type Key_Type is new Character; subtype Test_Keys is Key_Type range 'a' .. 'z'; type Value_Type is new Positive; function Hashit (Key : Key_Type) return ...
27,876
ada
4
DNSCatcher/DNSCatcher
src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-unknown_parser.ads
<reponame>DNSCatcher/DNSCatcher -- Copyright 2019 <NAME> <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, including without limitation the -- rights to use...
27,877
ada
33
ytomino/drake
source/numerics/a-ngelfu.adb
<reponame>ytomino/drake with Ada.Float; with System.Long_Long_Elementary_Functions; package body Ada.Numerics.Generic_Elementary_Functions is subtype Float is Standard.Float; -- hiding "Float" package -- constants for Sinh/Cosh on high precision mode Log_Two : constant := 0.69314_71805_59945_30941_72321_214...
27,878
ada
81
twdroeger/ada-awa
awa/src/awa-events-configs.adb
<filename>awa/src/awa-events-configs.adb ----------------------------------------------------------------------- -- awa-events-configs -- Event configuration -- Copyright (C) 2012, 2013, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
27,879
ada
6
jonashaggstrom/ada-canopen
src/aco-nodes.adb
<gh_stars>1-10 package body ACO.Nodes is overriding procedure On_Event (This : in out Tick_Subscriber; Data : in ACO.Events.Handler_Event_Data) is begin This.Node_Ref.Periodic_Actions (T_Now => Data.Current_Time); This.Node_Ref.Od.Events.Process; end On_Event; overridin...
27,880
ada
60
RREE/ada-util
src/base/dates/util-dates-rfc7231.adb
<reponame>RREE/ada-util<filename>src/base/dates/util-dates-rfc7231.adb ----------------------------------------------------------------------- -- util-dates-rfc7231-- RFC7231 date format utilities -- Copyright (C) 2015, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 ...
27,881
ada
20
charlie5/lace
3-mid/opengl/source/lean/shader/opengl-shader.ads
with GL; package openGL.Shader -- -- Models an openGL shader. -- is type Item is tagged limited private; type Items is array (Positive range <>) of aliased Item; type View is access all Item'class; type Views is array (Positive range <>) of View; type Kind is (Vertex, Fragment); ---------...
27,882
ada
33
ytomino/drake
source/directories/machine-pc-linux-gnu/s-nadivo.ads
pragma License (Unrestricted); -- implementation unit specialized for Linux with C.sys.statfs; package System.Native_Directories.Volumes is -- File system information. pragma Preelaborate; subtype File_Size is Ada.Streams.Stream_Element_Count; type File_System is record Statistics : aliased C.sys....
27,883
ada
1
persan/A-gst
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_base_gstcollectpads2_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_gstpad_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with GStreamer.GST_Low_Level.gs...
27,884
ada
1
LaudateCorpus1/RosettaCodeData
Task/Inverted-index/Ada/inverted-index-2.ada
with Ada.Containers.Indefinite_Vectors; private with Ada.Containers.Indefinite_Hashed_Maps; generic type Source_Type (<>) is private; type Item_Type (<>) is private; with function Hash(Item: Item_Type) return Ada.Containers.Hash_Type is <>; package Generic_Inverted_Index is type Storage_Type is tagged pri...
27,885
ada
1
LaudateCorpus1/RosettaCodeData
Task/Case-sensitivity-of-identifiers/Ada/case-sensitivity-of-identifiers.ada
<gh_stars>1-10 with Ada.Text_IO; procedure Dogs is Dog : String := "Bernie"; begin Ada.Text_IO.Put_Line ("There is just one dog named " & DOG); end Dogs;
27,886
ada
5
Kidev/DemoAdaPhysics2D
src/demologic.adb
<filename>src/demologic.adb with HAL.Touch_Panel; use HAL.Touch_Panel; with STM32.Board; use STM32.Board; with STM32.GPIO; use STM32.GPIO; with STM32.User_Button; use STM32; with L3GD20; use L3GD20; with Circles; with Rectangles; with HAL.Bitmap; use HAL.Bitmap; with BMP_Fonts; package body DemoLogic is funct...
27,887
ada
1
LaudateCorpus1/RosettaCodeData
Task/100-doors/Ada/100-doors-2.ada
<filename>Task/100-doors/Ada/100-doors-2.ada with Ada.Text_Io; use Ada.Text_Io; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; procedure Doors_Optimized is Num : Float; begin for I in 1..100 loop Num := Sqrt(Float(I)); Put(Integer'Image(I) & " is "); if F...
27,888
ada
488
ouankou/rose
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/access_to_object.ads
<reponame>ouankou/rose package Access_To_Object is type Access_Type_1 is access Integer; type Access_Type_2 is access all Integer; type Access_Type_3 is access constant Integer; end Access_To_Object;
27,889
ada
0
hugovk/whitakers-words
src/tools/check.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
27,890
ada
1
LaudateCorpus1/RosettaCodeData
Task/Reverse-words-in-a-string/Ada/reverse-words-in-a-string-3.ada
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO, Simple_Parse; procedure Reverse_Words is function Reverse_Words(S: String) return String is Cursor: Positive := S'First; Word: String := Simple_Parse.Next_Word(S, Cursor); begin if Word = "" then return ""; else ...
27,891
ada
0
xuedong/mini-ada
tests/exec/record4.adb
<reponame>xuedong/mini-ada with Ada.Text_IO; use Ada.Text_IO; procedure Record4 is type R is record A, B: Character; end record; type S is record C: Character; D: R; E: Character; end record; V, W: R; X, Y: S; procedure PrintR(x: R) is begin Put('['); Put(x.A); Put(','); Pu...
27,892
ada
0
reznikmm/gela
source/nodes/program-nodes.ads
<reponame>reznikmm/gela<filename>source/nodes/program-nodes.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements; package Program.Nodes is pragma Preelaborate; type Node is abstract limited...
27,893
ada
1
brucegua/moocos
tools/scitools/conf/understand/ada/ada12/s-diflio.ads
<filename>tools/scitools/conf/understand/ada/ada12/s-diflio.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
27,894
ada
16
mgrojo/AdaID
test/adaid_tests.adb
-- File: testuuid.adb -- Description: Test suite for AdaID -- Author: <NAME> -- License: http://www.gnu.org/licenses/gpl.txt with AdaID; use AdaID; with AdaID.Generate; use AdaID.Generate; with Interfaces; use Interfaces; with AUnit.Assertions; use AUnit.Assertions; package body AdaID_Tests is -- Register the tes...
27,895
ada
0
patrickf2000/ada-asm
src/parser.ads
<reponame>patrickf2000/ada-asm<gh_stars>0 with Ada.Containers.Vectors; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Parser is -- Declare needed types type Parts is array (0 .. 3) of Unbounded_String; package Parts_Vector is new Ada.Containers.Vectors ( Index_Type => Natu...
27,896
ada
0
balintsoos/LearnAda
gyak/gyak1-2/eukl.adb
<reponame>balintsoos/LearnAda with Ada.Integer_Text_IO; procedure Eukl is A, B : Natural; Tmp: Natural; begin Ada.Integer_Text_IO.Get( A ); Ada.Integer_Text_IO.Get( B ); while B /= 0 loop Tmp := A mod B; A := B; B := Tmp; end loop; Ada.Integer_Text_IO.Put( A ); end Eukl;
27,897
ada
1
ekoeppen/STM32_Generic_Ada_Drivers
stm32f0/stm32gd-gpio-irq.ads
with STM32GD.GPIO.Pin; generic with package Pin is new STM32GD.GPIO.Pin (<>); package STM32GD.GPIO.IRQ is procedure Configure_Trigger (Event : Boolean := False; Rising : Boolean := False; Falling : Boolean := False); procedure Wait_For_Trigger; procedure Clear_Trigger; function Triggered return Boole...
27,898
ada
2
onox/evdev-ada
src/event_device.adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 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 -...
27,899
ada
1
Jellix/open_weather_map_api
src/open_weather_map.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 t...